i construct cmake-gui question use in windows

hi
this is I pree configure then show there errors
CMake Error at D:/LIB/VTK/vtk-prefix/lib/cmake/vtk-8.2/vtkModuleAPI.cmake:140 (message):
Requested modules not available:
vtkGUISupportQtWebkit

Call Stack (most recent call first):
D:/LIB/VTK/vtk-prefix/lib/cmake/vtk-8.2/VTKConfig.cmake:143 (vtk_module_config)
CMakeLists.txt:91 (FIND_PACKAGE)
i install vtk8.2 version and add vtk_DIR .How slove this error?

Does your build of VTK have Webkit enabled?

Latest IGSIO master version is tested with VTK9. We don't actively maintain backward compatibility with VTK-8.2. If you want to use VTK-8.2 then you may need to go back to the IGSIO version of January 2021 of earlier.

Does your build of VTK have Webkit enabled?

Didn't notice this at the time，directly build project

Latest IGSIO master version is tested with VTK9. We don't actively maintain backward compatibility with VTK-8.2. If you want to use VTK-8.2 then you may need to go back to the IGSIO version of January 2021 of earlier.

thank you , i will reinstall olde version


bump Rust, no changes needed

Mostly to make sure https://github.com/rust-lang/rust/pull/60341 doesn't break us on macOS (Rust CI does not test tools on macOS).

Failure only on 32bit Windows... WTF.^^

I had to add some more special rules to allow pointer > 1-style comparisons.
I didn't bother doing this in full generality because hopefully @christianpoveda will have intptrcast finished sooner rather than later, and then we can talk about pretty much requiring that to be enabled to allow executing pre-main stuff...

@oli-obk does this look good to you?

lgtm


Detect which OmniSharp to launch (Mono or CoreCLR) for .csproj

With .NET Core projects moving from project.json to .csproj, new logic will be required to determine whether the Mono or CoreCLR version of OmniSharp should be launched.

Mono: .NET Framework or Unity projects
CoreCLR: .NET Core projects

This is potentially tricky as its possible for a folder to be opened in VS Code that contains both sorts of projects.

@DustinCampbell for PCL projects, do we want to use the .NET Core version? Or maybe look at the other projects in the directory and guess what is best?

I think we're going to need to poke around to figure out what's best. However, I can imagine several scenarios that are going to be really problematic. For example, an .sln file that contains some .csproj files that target desktop and some that target .NET Core.

Yup. Will there be functional differences if the project really is a PCL (only references contract assemblies supported by both)?

Well, define "PCL". If you mean the old-style PCL, it'll need to be launched on desktop. :smile:

The PCL projects that were created for VS 2015 which can target .NET Core and I believe recent versions of Mono also.

I'm starting consider moving fully to a Mono-based OmniSharp. I'm investigating mkbundle to see whether it might be viable.

This has been solved by using an embedded Mono runtime for OmniSharp. Now it's not necessary to detect which OmniSharp to launch. We only need to launch one.


Typing ~ in terminal results in 4~

Issue Type: Bug
Hello,
I have a keyboard with spanish layout.
When typing the ~ character (which in my case is Alt Gr + 4) in the terminal 4~ is printed. This only happens when I use the integrated terminal in vscode, and only with the ~, for example with the # which is Alt Gr + 3 does not happen

For example these examples are using windows terminal & cmd

VS Code version: Code 1.49.3 (2af051012b66169dde0c4dfae3f5ef48f787ff69, 2020-10-02T17:57:01.595Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 4.19.128-microsoft-standard

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3696)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.86GB (4.90GB free)

Process Argv
--crash-reporter-id f42cf393-2006-41d7-afa1-7a625b63925d

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 4.19.128-microsoft-standard

CPUs
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3695)

Memory (System)
5.80GB (2.86GB free)

VM
0%

Extensions (32)

Extension
Author (truncated)
Version

vscode-docker
ms-
1.6.0

remote-containers
ms-
0.140.1

remote-ssh
ms-
0.55.0

remote-ssh-edit
ms-
0.55.0

remote-wsl
ms-
0.44.5

vscode-remote-extensionpack
ms-
0.20.0

debugger-for-chrome
msj
4.12.11

material-icon-theme
PKi
4.3.0

material-theme
zhu
3.9.1

apex-pmd
chu
0.5.2

transformer
dak
1.9.0

vscode-eslint
dba
2.1.8

gitlens
eam
10.2.2

EditorConfig
Edi
0.15.1

json-tools
eri
1.0.2

prettier-vscode
esb
5.7.1

chat
kar
0.35.0

git-graph
mhu
1.26.0

vscode-autoprefixer
mrm
3.0.1

vsliveshare
ms-
1.0.2902

vsliveshare-audio
ms-
0.1.91

vsliveshare-pack
ms-
0.4.0

vscode-xml
red
0.13.0

salesforce-vscode-slds
sal
1.2.1

salesforcedx-vscode
sal
49.12.0

salesforcedx-vscode-apex
sal
49.12.0

salesforcedx-vscode-apex-debugger
sal
49.12.0

salesforcedx-vscode-apex-replay-debugger
sal
49.12.0

salesforcedx-vscode-core
sal
49.12.0

salesforcedx-vscode-lightning
sal
49.12.0

salesforcedx-vscode-lwc
sal
49.12.0

salesforcedx-vscode-visualforce
sal
49.12.0

Apparently, when typing using the Ctrl + Alt + 4 correctly types the ~
Checking the documentation. This is my configuration (i have omitted all the other mappings)
{
	"layout": {
		"name": "0000040A",
		"id": "",
		"text": "Spanish"
	},
	"rawMapping": {
		"Digit4": {
			"vkey": "VK_4",
			"value": "4",
			"withShift": "$",
			"withAltGr": "~",
			"withShiftAltGr": ""
		},
	}
}

Can you try toggle escape sequence logging and see what is being sent when you press altgr+4 vs ctrl+alt+4?
https://github.com/microsoft/vscode/wiki/Terminal-Issues#enabling-escape-sequence-logging

When pressing AltGr + 4

When pressing Alt + Control + 4

I have just installed Hyper terminal, as it also runs on xterm and has the same issue, do you want me to create this issue in the xterm repository?

@mnunezdm thanks, the screenshots are very useful 👍

I believe this is already fixed, can you see if you can reproduce in the Insiders build? Let us know if not.


Game Feedback

Hook won't look on through passthrough blocks.  With as small and the launch force is after a hook, it makes sense to put hook points on top of (or inside) passthrough blocks

The ledge code is pretty complex considering how minimal the rest of the engine is right now, and causes some issues: - walking between two ground with a 3 tile gap in between, you'll fall pretty low but get caught and pulled up - if you're jumping at a ledge, your upward momentum will be canceled - will trigger while jumping up to passthrough blocks if you have horizontal speed

The camera's pretty twitchy, especially with a gamepad.  I fiddled around a bit with the code: added a deadzone, made the distance relative to the joystick tilt strength

While editing, I'd love to see a way to switch between tile map editing and object editing, maybe holding a button, or can objects still be draggable while in tile mode?

I handed the controller to one of my kids while editing the level, but the mode switched between mouse and gamepad (otherwise placing blocks while they're still playing is really cool).  Could the mouse be limited to the game window?

Analog movement with gamepad?  Maybe just some momentum on the player while on the ground.

I'd like to use W to jump while using kb&m, but maybe I'm just weird like that

I sort of wonder if we need an aimer at all?  Maybe if the hook is used as an attack later

Hook should be shootable even when target isn't selected, if used for attack

Might be perfectionist of me, but the player blips a frame back when landing and I think when stopping

Pulling away from a wall should cancel the wall jump state

Pressing R has caused the level to reset to an older version before.

The biggest change I would like to try is boosting the momentum after hooking.  This would allow for way more placements for hooks, and I think launching yourself onto a platform would just feel really good.  Later upgrade could be something different (more boost, jump after hook, hook onto walls?).  As it is now, hooks must be placed very close to where the player is going to land, which is almost too obvious?  I'm not sure why exactly why that bugs me visually...  As it is, hooks can't even be placed under platforms.

Let me know if these should be explained in more detail, or if pictures or video would help!

Thanks for the feedback. Everything sounds pretty clear to me.
Please leave the code to us. If you do code changes locally, please leave them out of your level design branch and related commits, or if you want review and to add it, create a dedicated git branch and open a pull request on the repo.
The code you wrote looks like flash code. There is an idiomatic style for Godot's GDScript that we want to follow, along with our own guidelines. It's important for the code style to be consistent and to show good practices as we teach programming. Also, it'll be a lot faster for us to make changes to the code as we've all been using Godot for a while and know the codebase.

I'm writing the issues now. A few answers:

While editing, I'd love to see a way to switch between tile map editing and object editing

There is no way to do that built-in unfortunately, you have to click on a node in the scene tree to get out of the tilemap editing mode.

Analog movement with gamepad?

Gotta see, in the course I want us to talk about the challenges of offering a balanced experience with different controllers. While you can use a joystick to control a character's speed, you can't with the keyboard. At first the character had acceleration, I removed it some time ago because of that.

I sort of wonder if we need an aimer at all?

It's a debug tool for now, let's see later when more is in place. You can toggle its visibility off by clicking the eye next to the node in the Player scene.

Pressing R has caused the level to reset to an older version before.

R reloads the scene from the disk. You probably had not saved your level. Hot reload gives you a real-time preview of your changes in the game but it does not save your files. That way, if a change doesn't work, you can close the scene without saving.
If that happens again you can focus the editor, save the scene, focus on the game window and press R again. It should work. Otherwise, it might be an engine-side bug.

The biggest change I would like to try is boosting the momentum after hooking

We can try that. I still want to use a steering behavior to go to the hooking point as before I was using physics and the movement was too unreliable, there many corner cases.
Right now I'm using the arrive behavior, so the character slows down a little bit upon reaching the point. It gives you a few extra frames to “plan” the next hook. But we can preserve the velocity moving to the hooking point and give the character a fixed speed after reaching the target.

I'll get to it.
Issues:

#111
#112
#113
#114
#115
#116
#117
#118

Please leave the code to us. If you do code changes locally, please leave them out of your level design branch and related commits, or if you want review and to add it, create a dedicated git branch and open a pull request on the repo.

Completely understood, I kept a copy of the original files, I might be misunderstanding how separated a fork is from the original code.  I'd only use the code to help discuss if a smoother camera (not coded by me) would be better or not.  I'll make sure everything is original other than the level file.

It's a debug tool for now, let's see later when more is in place.

I mean more about having the player aim at all.  As in, just having the node light up if it's in range, and pressing hook always goes to the closest node that's still above the player.  I'm just thinking about how much extra control is the player given versus the added complexity.  How often could there be two nodes near the player at the same time?  Just food for thought, I try to be pretty minimalistic with the required complexity for core mechanics, then build from there.  But of course, that's up to you guys in the end.

R reloads the scene from the disk.

Ah, makes sense!

It gives you a few extra frames to “plan” the next hook

Right, I debating whether or not the extra speed would make chaining hooks too difficult.  But, if there's more movement there, the player would have more options for where to hook and launch too (choosing whether to launch to the left, right, or straight up), which makes the hook path less... predetermined?

About aiming with the stick vs auto-aim
I've tested auto-aim at first, hooking to the closest point. Even favoring hooks that are forward first, if the hook range is comfortable, I've ended going e.g. up instead of forward.
To me, having the aim on the left stick gives you a little more air control in particular, if you start to have branching paths mid-air with hooking points, things like these. But I don't know if these controls are intuitive or hard for other people.

Right, definitely gives the player more control, I'm just trying to do my due diligence discussing additional difficulty vs player agency.  If there were issues with it before, it's not a problem to just run with the manual aiming.

We've addressed or added issues for all the points above, closing this issue for now. Feel free to create a new issue to give feedback in a batch like that, or on Discord, or to create individual, specific issues if e.g. you stumble upon a new bug


To-do list

[x] Perform HTTPS certificate tests over both IPv4 and IPv6 and resolve IP addresses using Google API for it
[ ] Perform DPI test over IPv6
[ ] Refactor {http,https,dpi}_list: make it class
[ ] Write IP address updating function
[x] Make single EXE file for Windows (py2exe, pyinstaller?)
[ ] Write comments and usage instructions for all functions
[x] Remove isup checks from HTTPS tests
[x] Disable IPv6 checks if Teredo or 6to4 address detected

[x] Perform DPI test over IPv6

https://github.com/ValdikSS/blockcheck/commit/28c7b12762d74a1c4d0bb068157c0686bf253e47


Git stage commands are not queued

Does this issue occur when all extensions are disabled?: (not applicable)

VS Code Version: 1.56.2
OS Version: Win 2004

Steps to Reproduce:

This bug only occurs when your editor/machine is very slow so that things such as git stage take at least a few seconds.
Open a file with multiple changes
Select range A and "> stage selected range"
While the staging is happening, select range B and "> stage selected range"

Expected behavior:

After range A has been staged, range B will be staged, too.

Actual behavior:

Range B is never staged. You need to wait until range A is staged before you can stage range B.

This is the most informative issue I've seen about the recurrent dysfunction I experience with "Stage Selected Range" after repeated ventures into closed issues about similar behavior. I can confirm that there are times when, if I stage one chunk and then wait around for several seconds, eventually the chunk does get staged, but trying to stage multiple chunks leads to essentially no result.
It's worth pointing out that I experience this even when VS Code isn't slow in general, as I can do other functions within the IDE without experiencing any difference in speed. It is only the staging that is slow.

I don't remember the API details, but probably it's a problem that commands are handled asynchronously and do not carry the invocation context (i.e., the text selection) as an intrinsic state in themselves.


Missing Cursor in Outlook 2010 with +async-update and /gdi:hw

Hello
When connecting to a Server 2008 R2 Server with Office 2010,  when using the +async-update there is no cursor in Outlook.
A workaround is to additionally specify /gdi:sw , although there is a noticeable performance hit when scrolling in web browsers.
Hope this is of some use towards a possible bug,  I'm using the current master as of today.
Regards
James

My organization is having this exact same issue. If there still no resolution? We also use +async-update to stop the endless scrolling through cells in Microsoft Excel.

As my other issue is closed: #3338 . should we try to use this issue to try to solve. the issue is still around in freerdp 2.0 git as of last week. anything we an do to get this down? i will try to verify the +async.update option tomorrow, but today i tested it with the option and the behavior is the same.

Hello all,
some time ago I did a test branch to see if limiting the packets treated per loop would improve the input latency, would you mind give a try ?
https://github.com/hardening/FreeRDP/tree/limit_frames

@hardening  i will try.. one question: on which version of freerdp is it based on ? so i can see what other issues are not fixed 8-)..
thanks again for pointing me to this..

2.0 of course, 1.1 is not developed or maintained actively :)

@hardening : just downloaded and compiled a static version with the following options:
#!/bin/bash
cmake
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_C_FLAGS="$RPM_OPT_FLAGS"
-DCMAKE_INSTALL_PREFIX=/opt/freerdp
-DCMAKE_SKIP_INSTALL_RPATH=ON
-DSTATIC_CHANNELS=OFF
-DWITH_ALSA=OFF
-DWITH_FFMPEG=ON
-DWITH_GSTREAMER_0_10=ON
-DWITH_GSTREAMER_1_0=OFF
-DWITH_PULSE=ON
-DWITH_SSE2=ON
-DBUILD_SHARED_LIBS=OFF
it looks better as the system comes back after a time.. so the loop isn´t infinite with the scrolling anymore.it takes 20-30 seconds till it ends the scrolling.  is there a way i can check that your patch is doing something... will check also youtube video if it has some bad behaviors on "normal" video refresh and also if remotefx is enabled..
for this test i have used just those command line:
/tmp/xfreerdppatched2 /f /v:desktopfarm08.dillinger.de
thx so far for help

@ropetry you can try to lower the value here (let's say 5 instead of 10):
https://github.com/hardening/FreeRDP/commit/00fdc456df3303f592409577bc2c8fd0c117bed7#diff-a8013058ed4679c2ebad5273167deebaR235
I think the best approach would probably be to limit the time spend in that function instead of counting packets...

@hardening What is the loop exactly for? This works quite fine without this blocking while in transport.c...

@hardening : did some more tests and still haven´t found an issue. did you try to get this included in master. perhaps with a "command line argument" option to enable it ?
+1 and thanks so far..

Cross Reference for pull request which fixes this for me. on my thinclients.
#3364

Closing as fixed.


offline use of google fonts

Fixes #4837

Codecov Report

Merging #4872 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4872      +/-   ##
==========================================
+ Coverage   37.22%   37.25%   +0.02%
==========================================
  Files         305      305
  Lines       45043    45043
==========================================
+ Hits        16769    16781      +12
+ Misses      25839    25825      -14
- Partials     2435     2437       +2

Impacted Files
Coverage Δ

models/repo_list.go
56.37% <0%> (-1.35%)
:arrow_down:

models/repo_indexer.go
55.08% <0%> (+2.96%)
:arrow_up:

modules/indexer/repo.go
69.84% <0%> (+5.55%)
: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 668a477...b4fbf3d. Read the comment docs.


Refactor resume functionality to support other resources

These changes remove the coupling between the resume functionality and abridged accounts. Mappings are added for both abridged accounts and small-full accounts in this pull-request, with the potential for other resources to be added in future.

Closing; superseded by other changes.


Add defer operator

https://github.com/effector/patronum/issues/329

My suggestion is to write test(s)
And small motivation text(aka your case for example for explanation for other potential users)
P.S. yes I know that defer is a common practice but still applicable example will be very much appreciated

Added default pull request template to help making new operator


Adding AJO Entity Tags in Schema

Adding AJO Entity Tags support for Journey/Campaigns

@chetanmeh

@mjasrotia @prabhum2 Could you please review?

@mjasrotia could you please merge it as well.


Move vars.less to main.less

Tiny first step towards consolidation of our somewhat sprawling less code

We could also possibly remove this entirely and use the colors directly, or only have it a variable in inset.less. The intention of its location was to evaluate it for moving into the contents of https://github.com/cfpb/design-system/blob/main/packages/cfpb-core/src/vars.less, but using the color variables directly is probably clearer. It possibly was set up this way to support theming.


If minifier_cmd fails, include output in fail msg

The output is likely to include helpful information.
In my case: Output before change:
       Minibundle: Bundling js assets:         Minibundle: js/main.js   Liquid Exception: Bundling js assets failed with exit status 1, command: r.js -o baseUrl=js name=main out=stdout in index.html
Output after change, which contains information crucial to continue debugging the problem:
       Minibundle: Bundling js assets:         Minibundle: js/main.js   Liquid Exception: Bundling js assets failed with exit status 1, command: r.js -o baseUrl=js name=main out=stdout output: Tracing dependencies for: main Uglifying file: main.build.js Error: TypeError: process.stdout.setEncoding is not a function at Object.config.out (/usr/local/lib/node_modules/requirejs/bin/r.js:31077:36) in index.html
Thanks for a nice plugin btw.

Build fails because of a unit test that fails, I'll fix that and add a test for my code if you think my change is reasonable.

The current plugin implementation expects the minifier to output errors to STDERR, which is visible in the terminal. But I understand that some minifiers might output errors to STDOUT. It makes sense to include a part of minifier's STDOUT output in the plugin's error message.
So, I think this is a good idea. But I wouldn't include the whole minifier STDOUT output, because it might be possible for a minifier to produce valid output before outputting its error message. How about including the last max 100 lines or so of the output? That should include enough useful information for debugging.
I plan to update the project's tests for Jekyll 3 when I get the time.

Sounds reasonable. I have now truncated the output to include just the 5000 last chars of output. Test cases also modified and added.
I went with 5000 chars instead of 100 lines because of ease of implementation. 5000 chars should be enough for a big stack trace for example.

Build passes locally for me but fails on ci server. Yay. I'll investigate when I get time. I probably have to spam new commits with different approaches and see what works...
Anyways, eager to hear your comments on my last commit.

Thanks! I clarified logging (Jekyll and Liquid remove newlines from exceptions) and made file reading to be more memory efficient. I'll be busy with other things the rest of the week, but when I'll get the time, I'll test these changes more and merge them to master if everything's ok.

I merged the changes are into the master branch, thanks!

No problem, my pleasure. Thanks for improving the code


Google Backup: "Couldn't sign you in"

When using the windows installer and setting up the wallet the first time, I selected Google Drive as the backup option. After I put in my email address, I get an error from Google.

This is the error I receive: "Google Couldn't sign you in. This browser or app may not be secure. Learn more. Try using a different browser. If you're already using a supported browser, you can refresh your screen and try again to sign in."
See attached picture.

Expected Behavior

I should be able to put in my Google account password and back up to my Google account.
Actual Behavior

The Zap app times out on the Google log in screen and goes straight to my wallet. When I go the "Profile" screen -> "Node Info", "Backup Method" is listed as "Google Drive", even though I never actually was able to put in my password for the backup method.
Possible Fix

I am unable to backup to my Google Drive and I am unable to change the backup method under the "Profile" -> "Node Info" screen.
Steps to Reproduce

Install software

Setup new wallet

Select Google Drive as backup option

Enter email address

Receive error from Google about insecure browser

Context

Trying to setup my back location to Google Drive and right now I do not have a backup setup.
Your Environment

Zap version: 0.6.2-beta
Operating System and version: Windows 10 Home - Version 1909 - OS Build 18363.836
Google Chrome: Version 83.0.4103.61 (Official Build) (64-bit)

Hi, this is already fixed in the master branch and will be included in the next release. Thanks.


Chapter 3 notebooks pdf error

When using the Chapter 3 notebooks:
GitHub Sample Application - Part 2.ipynb
GitHub Sample Application - Part 3.ipynb
GitHub Sample Application - Part 3.ipynb
The cell containing:
display(load_commit_activity("ibm-watson-data-lab","pixiedust")["pdf"])

Results in this error:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-4-3e8155c0f313> in <module>()
----> 1 load_commit_activity('ibm-watson-data-lab','pixiedust',cell_id='1dd3de3332e142b9a1161b1d2a537648',nostore_pixiedust='true',aggregation='SUM',chartsize='100',handlerId='lineChart',keyFields='week',logx='false',logy='false',rendererId='bokeh',rowCount='500',valueFields='total',nostore_cw='1098',nostore_vh='978',showchrome='true',org_params='nostore_pixiedust',nostore_bokeh='false')

TypeError: load_commit_activity() got an unexpected keyword argument 'cell_id'

The solution is to split that statement like this:
pdf = load_commit_activity("ibm-watson-data-lab","pixiedust")["pdf"]
display(pdf)

Were you able to continue on past this? I was trying to follow along in the book and noticed this same issue, but now I can't seem to display the chart.


Fixes and dependencies updates

fix cytoscape-cose-bilkent lib version and dependency
replace/remove non esm modules with esm versions
remove useless node-sass dependency
fix errors on closing some dialogs by clicking on popup backdrop

TODO (possibly after merge): update nlp/admin/web/package-lock.json.
@vsct-jburet would you merge as-is, or squash (not forgetting to keep commit author rkuffer), or cherry-pick groups of commits?


PHOENIX-5181 support Math sin/cos/tan functions

@yanxinyi overall looks good. I think the offline discussions we had regarding precision and rounding errors are the main points of concern. Can you add tests that reflect such cases?

Offline synced with @ChinmaySKulkarni about the precision issue, and Phoenix PDecimal class already takes care of it. Other similar Math functions, such as power, implemented the same way as I do, but
@twdsilva can we have your input here, thanks.

Can you add some IT's that test the grammar as well? @yanxinyi

@karanmehta93 added IT tests

Offline discussed with @karanmehta93, used @Parameters feature for better code quality in unit test functions as he suggested.

@karanmehta93 , were there any other changes you wanted to the trig function feature?


Security: Cross Site Scripting in Text Fields

Description of bug
Security: Cross Site Scripting in Text Fields
Steps to reproduce
When a remote user updates his proifle (biography* section for an example) on the platform containing an A element with a JavaScript payload in the href attribute, the application fails to sanitize the parameter and successfully decodes the value allowing the JavaScript execution when the element is clicked by anyone able to view the biography section.

Go to user profile try to edit any field while Chrome profiler is open
Right click on request and Copy the request as PowerShell
Replace the one of the fields value with this (for example biography) <a%20href=%26%23x6a%3b%26%23x61%3b%26%23x76%3b%26%23x61%3b%26%23x73%3b%26%23x63%3b%26%23x72%3b%26%23x69%3b%26%23x70%3b%26%23x74%3b%26%23x3a%3b%26%23x61%3b%26%23x6c%3b%26%23x65%3b%26%23x72%3b%26%23x74%3b%26%23x28%3b%26%23x31%3b%26%23x29%3b>clickme</a>
Send the request

To exploit the vulnerability, this must be submitted using a proxy, as the web interface will sanitize the inputted data in the user's browser, the html entity is uploaded successfully, but the JavaScript attribute value is sanitized.
It should also be taken into consideration that, despite the sanitization put in place in the user's browser, HTML Injection is still possible.
Current behavior
Html and JavaScript tags entered in (Biography*) field is rendered in the browser
Expected behavior
Html and JavaScript tags entered in Biography field are sanitized and not rendered as-is in the browser
Screenshots

Affected version
This vulnerability has been tested 9.10.2
Affected browser

[X] Chrome
[X] Firefox
[X] Safari
[X] Internet Explorer 11
[X] Microsoft Edge (Classic)
[X] Microsoft Edge Chromium

@armaganpekatik please note security related items should be addressed following the posted security policy for this repository.


if {! [module-info mode whatis] } stanza can cause a Tcl cmd execution failed

Version: Current 1.5 doesn't fix this as yet
Issue:  Running a
module show some_module_name
can generate a
pgplot/5.3.1(87):ERROR:102: Tcl command execution failed: if {! [module-info mode whatis] } {

before displaying the lines in the stanza.
Issue seems to be that if some EnvVars aren't set then the module-info mode whatis
command bombs.
Potential Solution:  Replace the  if {! [module-info mode whatis] }  with a set of module-info mode  some_mode_value clauses that don't tickle the issue.
Makes the test a bit longer, but tidies up the failure.

It's the second set of curly brackets that is failing, not the "if test".  TCL modules just does a poor job of error reporting, as it just reports the whole block where the error occurs rather than at finer granularity.
It's the $env() commands in setenv that are the problem, as they produce an error if the environment variable does not exist, as opposed to say giving a blank like bash would do.
The issue we have is that $env(COMPILER) is used when the module is loaded, since the same software might be compiled under the intel or gcc compilers.  It would be misleading to a user if $env(COMPILER) evaluated to anything other than a placeholder if $COMPILER doesn't exist in the environment.  I've thought about being able to print a placeholder for each $env() but not sure how to implement it.

This works in principle:
if { [module-info mode display] } {
set MAALI_LOADED_PRGENV $env(MAALI_LOADED_PRGENV)
set COMPILER $env(COMPILER)
set COMPILER_VER $env(COMPILER_VER)
set CRAY_CPU_TARGET $env(CRAY_CPU_TARGET)
set CRAY_OS_VERSION $env(CRAY_OS_VERSION)
} else {
set CRAY_CPU_TARGET $env(CRAY_CPU_TARGET)
etc
}
setenv       MAALI_PGPLOT_HOME /group/pawsey0001/reaper/software/cle60up05/apps/$MAALI_LOADED_PRGENV/$CRAYOS_VERSION/$COMPILER/$COMPILER_VER/$CRAY_CPU_TARGET/pgplot/5.2

module show pgplot

setenv           MAALI_PGPLOT_HOME /group/pawsey0001/reaper/software/cle60up05/apps/$env(MAALI_LOADED_PRGENV)/6.0.4/$env(COMPILER)/$env(COMPILER_VER)/$env(CRAY_CPU_TARGET)/pgplot/5.2
prepend-path     LD_LIBRARY_PATH /group/pawsey0001/reaper/software/cle60up05/apps/$env(MAALI_LOADED_PRGENV)/6.0.4/$env(COMPILER)/$env(COMPILER_VER)/$env(CRAY_CPU_TARGET)/pgplot/5.2/

though would need to sort out CRAY_OS_VERSION as that's already internally set.  Need different smarts for non-cray too.


Disable GravityController while Seated

closes #5

@EgoMoose I did not update the included .rbxl file with this code.  LMK if I need to do that as well.


Create ForexTrading_Demo

Good.
I have a suggestion: similar to the other PR, only one file should be changed.


Syntactic recursive constraint evaluation for equations/simplifications

Here, in this analysis: https://gist.github.com/jberthold/fc7b27699c1708cb34aceb1c8e4ec381#indeterminate-conditions-in-jumps, we've identified that perhaps recursive constraint evaluation for equational side conditions would help to avoid aborts in many cases.
In fact, it seems that the vast majority of the cases actually are #rangeUInt(W, X) predicates, which always simplify down to 0 <=Int X andBool X <Int (2 ^Int W) (as a macro, so the backend will not see the #rangeUINt or the ^Int symbols.
These constraints (0 <=Int X and X <Int ...), should always show up exactly syntactically in the existing path condition. So rather than full recursive equation evaluation, we can have a much faster first pass which may result in many pruned paths (and thus no need to invoke SMT solver or old backend in those cases). We can still later (if deemed necessary) have full recursive constraint evaluation for equations, but if the faster pass results in pruning a branch, then we are done and don't need that extra work.
What I propose to try: instantiate the equations conjuncts with the substitution from the LHS of the equation applying, and ese if each conjunct shows up exactly syntactically in the current path condition already. If all of them do show up exactly syntactically in the current path condition, then the equations side conditions are valid and the equation can be applied. We still need to apply all the logic about priorities of equations and multiple equations applying, but it should unlock more very simple simplificatinos directly in th ebooster, for example these ones: https://github.com/runtimeverification/evm-semantics/blob/1349ef9203534b80bd52577637060ceb5d4e0d24/kevm-pyk/src/kevm_pyk/kproj/evm-semantics/lemmas/bitwise-simplification.k#L56

https://github.com/runtimeverification/hs-backend-booster/compare/main...433-syntactically-filter-requires implements  this idea. Tests with KEVM proofs did not show any changed behaviour in the log files, though (might need re-testing).


UserDefinedTypeName needs to be address payable

My contract has the following constructor
import "./Negotiator.sol";

constructor(Negotiator _negotiator) public {
        owner = msg.sender;
        negotiator = _negotiator;
}

function() public payable {
  revert("Cannot send ether");
}

I'd like to use web3.eth.abi.encodeParameters to encode my constructor parameters.
With solidity-parser-antlr, I'm getting the following result for my contract's constructor parameters however:
[ { type: 'Parameter',
    typeName: { type: 'UserDefinedTypeName', namePath: 'Negotiator' },
    name: '_negotiator',
    storageLocation: null,
    isStateVar: false,
    isIndexed: false } ]

The solidity documentation states that when a fallback function is available on the contract, then the Contract Type should be converted to an address payable.

Hi Tim, the process of getting the actual type behind a type name is called type resolution. To resolve types in your case you would need to find any imports, parse those files into ASTs and then go looking for contracts/interfaces matching the names you want to resolve. Then include the payable qualifier if there is a fallback function in that contract.
You would need to perform this pass before your calls to web3.eth.abi.encodeParameters.

Check this out and let me know if this works for you: solidity-type-resolver


Provide a normalized mode for Kade shaders

Operating System

[ ] Windows
[ ] macOS
[X] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] PlayStation 5
[ ] Xbox
[ ] Web Browsers

What feature would you like to be added?
Currently one can use texel or pixel mode. However, most tutorials on shaders out there work with normalized vectors. So something like this:
//kage:unit normalizedpixels

I tried to do the conversion myself but it doesn't work:
//kage:unit pixels

func Fragment(_ vec4, fragcoord vec2, _ vec4) vec4 {
	curnorm := norm(fragcoord)
	newpx := pixelize(curnorm)
	return imageSrc0UnsafeAt(newpx)
}

func pixelize(norm vec2) vec2 {
	return vec2(norm.x*Resolution.x, norm.y*Resolution.y)
}

func norm(pix vec2) vec2 {
	return vec2(pix.x/Resolution.x, pix.y/Resolution.y)
}

This should just display the unmodified image.
Why is this needed?
By providing a builtin (correct) normalized pixel mode on could easier follow tutorials and try examples.
Thanks a lot,
Tom

Isn't what you want //kage:unit texels?

Oh, so you want to have [0, 1] values for destination regions. Unfortunately this is difficult as a destination image is on a big texture atlas. It is possible to pass a destination image size as uniform variables, but this prevents batching. I think I don't introduce a new mode.

Hi, thanks for answering this. Yes, texel mode was indeed what I wanted :)

Note that, even with the texel mode, the value range might not be [0, 1] as images on a big texture atlas in general.


stm32l0x power management

Adding power management for STM32L0.
There is a version of GPIO handling described in #19434 however I wonder if that really is the right way to go. GPIO settings for soc low power modes are  closely tied to SoC code and more specifically to power modes themselves. Perhaps a possible solution could be to set all GPIOs into analog input state and then to define some of them in the individual power-states to be ignored?
What do you think?
I've been able to achieve low power state on L0 with minimal disruption by saving GPIO state just before entering deep sleep, setting them all to analog in and then restoring the state upon waking up.
References:
Power Management Infrastructure (#14307)

The stm32L0 soc has a LPTIM that can run during the stop mode and exit the low power mode, like the stm32wb55.


[FRG] Remove requirement of “report group” column in data

When trying to add a header/detail/footer, it appears that unless you provide a groupBy, it will break every record into its own group.
A workaround is to add a "report_group":1 to every row in the data, but it’d be really nice to be able to create reports without requiring a group.

Unless we are missing something, I just tested this, adding a " Page Header " and a " Page Footer ".  Increased your data items to have enough to generate several pages and it printed this:

Never added any group to the repor.


Design QA: Device Details Page

Merging in a few lines from #9851
Mini toast style

[ ]  Add new mini toast style (view on figma)
[ ]  Make sure the min-height on the mini toast card is 32px

Merging in more lines from #9851
Module cards
Change the size of the img of the module to 60x54px
Change the 'firmware update' toast in all of the module cards to be the new mini toast style
Change the h/s 'module is too hot' toast in to be the new mini toast style
Change the pipette 'POC missing' toast in to be the new mini toast style
Change the pipette 'POC needed' toast in to be the new mini toast style
Change the pipette 'POC recommended' toast in to be the new mini toast style

First round design qa #10611

#10730 first round design qa

Seems that this has been solved byt https://github.com/Opentrons/opentrons/pull/10732 and https://github.com/Opentrons/opentrons/pull/10771


New version: Microsoft.PowerShell version <IP_ADDRESS>

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Resolves #102530

cc @anamnavi Would suggest adding the optional Documentation field in the locale file to make the manifest more complete (I don't want to add it in a review comment as that blocks the PR merge process if you don't resolve the comment 🫠)
If the PR gets merged before that, would you mind if I add it in a separate PR?
Documentations:
- DocumentLabel: Product Documentation
  DocumentUrl: https://learn.microsoft.com/powershell
- DocumentLabel: FAQ
  DocumentUrl: https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md

That PR will not be merged due to Internal-Error-Dynamic-Scan.

Oops! What it will be merged before the comments?


Add support for Application Only Auth

This is related to issue #150
I've finished the great work done by @steven-haddix by, as requested, (1) documenting the DO_NOT_TRACK_THIS_DEVICE param for installed apps, and (2) tweaking the last two fromApplicationOnlyAuth tests to run on the browser.
On number 2, I've had to update Babelify as I was getting the following error:
Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.3". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel. while parsing file: /Users/alex/dev/snoowrap2/test/snoowrap.spec.js

Babelify showed as the culprit in the stack trace and updating it solved the issue. (All fromApplicationOnlyAuth tests show green in the browser now).
Note: I've left my package-lock.json out (sorry, always confused as to when this has to be committed)

@SpyTec it seems @not-an-aardvark is fine with the changes, I've resolved the conversations... If you approve the changes, I was curious about when we would have the updated package on npm?
Also, I'm very interested in contributing to OS projects so if you guys need a hand do let me know :)

Sure, lets merge.

I was curious about when we would have the updated package on npm?

This is something @not-an-aardvark gets around to when he has time, as he has the publish key :)

Also, I'm very interested in contributing to OS projects so if you guys need a hand do let me know :)

We have quite a few issues open, you can pick anyone of them and start working - just remember to make a comment in it that you're working on it so people know. When ready, submit a PR :)
Also, we use Gitter chat for instant messaging

@alexerhardt I keep getting invalid request when I do installed requester test.
I created an an installed-only app on Reddit, copied over the id to installed_app_client_id and tried running it. Am I missing something?

Will be able to check this in detail in about ~6h...
I now get the following in the last two tests:
AssertionError: expected [ Array(2) ] to have a length of 1 but got 2
    at Context.it (test/snoowrap.spec.js:258:74)

When they used to be in the green... Maybe my creds have run stale as I haven't touched this in a couple weeks.
What exactly do you get?
Also, to make sure, we're talking describe('.fromApplicationOnlyAuth', ...)?

The error I'm getting:
  1) snoowrap
       .fromApplicationOnlyAuth
         returns a snoowrap instance for a valid installed requester:
     Error: API Error: invalid_request
      at /home/spytec/Documents/JavaScriptProjects/snoowrap/dist/snoowrap.js:383:15

The error you found is due to how Reddit works, if there's sticky posts it will include those as well. So if you request 1 post, it will add the stickied posts as well if they exist, so you'd end up with 3 in total.
Changing the test to this will fix that one:
expect(await newRequester.getHot('redditdev', {limit: 1})).to.have.length.above(0).and.at.most(3);

Were you able to check? :)

Issue revolves around deviceId. I was getting invalid_request - bad device_id.
It seems like it needs to be a UUID and is required, please correct me if I'm wrong.
In any case, finding this out is difficult or my searching skills aren't as good. We should document this as well

Sorry, I wasn't able to check this out... I literally went to bed straight after work.
Yes, there are requirements for deviceId, from the Reddit

Overworking doesn't sound healthy! :P
And thanks, I forgot about the old Reddit source code docs. I'll add in a check for this to make sure people know what they're doing wrong

Any instructions how to use this?

Any instructions how to use this?

See https://not-an-aardvark.github.io/snoowrap/snoowrap.html#.fromApplicationOnlyAuth__anchor

Any instructions how to use this?

See https://not-an-aardvark.github.io/snoowrap/snoowrap.html#.fromApplicationOnlyAuth__anchor

I'm getting an invalid grant error from the API. I tried adding grantType but it doesn't change anything. Looked through the compiled code of snoowrap and it looks like this is the response from the API and the grantType is send with the request.
(node:16264) UnhandledPromiseRejectionWarning: Error: API Error: invalid_grant - undefined
    at D:\Programming\JavaScript\Reddit\node_modules\snoowrap\dist\snoowrap.js:389:15
    at tryCatcher (D:\Programming\JavaScript\Reddit\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (D:\Programming\JavaScript\Reddit\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (D:\Programming\JavaScript\Reddit\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (D:\Programming\JavaScript\Reddit\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (D:\Programming\JavaScript\Reddit\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (D:\Programming\JavaScript\Reddit\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (D:\Programming\JavaScript\Reddit\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (D:\Programming\JavaScript\Reddit\node_modules\bluebird\js\release\async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (D:\Programming\JavaScript\Reddit\node_modules\bluebird\js\release\async.js:15:14)
    at processImmediate (internal/timers.js:464:21

@KonradLinkowski could you create a separate issue for it and include a reproducer in it?


[bug] [ERR_MODULE_NOT_FOUND]: Cannot find module<EMAIL_ADDRESS>

Link to minimal reproducible example
...
Summary
im using next js pages router and got this error when deploy on vercel
got error on UI  This Serverless Function has crashed.
and in logs:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module<EMAIL_ADDRESS>imported from<EMAIL_ADDRESS>at new NodeError (node:internal/errors:405:5)
at finalizeResolution (node:internal/modules/esm/resolve:332:11)
at moduleResolve (node:internal/modules/esm/resolve:1029:10)
at moduleResolveWithNodePath (node:internal/modules/esm/resolve:876:12)
at defaultResolve (node:internal/modules/esm/resolve:1255:79)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:404:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:373:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:250:38)
at ModuleWrap. (node:internal/modules/esm/module_job:76:39)
at link (node:internal/modules/esm/module_job:75:36) {
url<EMAIL_ADDRESS>code: 'ERR_MODULE_NOT_FOUND',
page: '/login'
}
locally all works fine
Vercel CLI 37.7.1
List of related npm package versions
"@reown/appkit": "1.1.0",
"@reown/appkit-adapter-wagmi": "^1.1.0",
"@tanstack/react-query": "^5.52.2",
"@wagmi/connectors": "5.1.9",
"@wagmi/core": "2.13.4",
"viem": "2.21.4",
"wagmi": "2.12.9",
"next": "^14.2.5",Ï

https://github.com/reown-com/appkit/tree/main/examples/next-wagmi-pages-router
Please upload a minimal reproducible example


HideUtilityClassConstructor generates private constructor for java records

I've created this config
---
type: specs.openrewrite.org/v1beta/recipe
name: com.fprochazka.Experiments
recipeList:
  - org.openrewrite.java.cleanup.HideUtilityClassConstructor: { }

and then executed that over my project that uses a lot of records. It added private constructors to almost every single one, it skipped only those that had additional non-static methods.

@fprochazka Thanks for another detailed issue regarding Java 17 records!


"pull once" images break when removed

After an image with pull: once is removed with dobi IMAGE:rm (or any invocation of the rm task, the image cannot be pulled again. This is caused by the .dobi state file showing an active image ID and a valid "last pulled" time. The image ID and "last pulled" time should be cleared if the rm task succeeds.

Pull request incoming that resolves this bug


New logo for NuGet, docs etc. #75

Rights to the image hereby assigned to GitHub, Inc.

Thanks! I may have our creative team take a pass at this too if they have time.

New logo published in https://github.com/Haacked/Scientist.net/issues/75#issuecomment-249728083


feat: example of using multi providers

There is a very good post on how to use them, show a brief example in the app.

Closed by #41.


Fb azure changes 01

Accepting my own changes to update my fork to handle updates to the Azure provider. There were a few name changes, and the way retention is handled in diagnostic settings.

merged


Remove the vertex on ol.interaction.Modify deactivation

fixes #5953

tests added, thanks for any review

Thanks for the review


Add support for nvim-tree.lua

i noticed that the melange colors are weird in nvim tree when it is loaded in init.lua using
vim.cmd('colorscheme melange')

loaded in init.lua

loaded after init using :colorscheme melange

can this be solved?

Reading the nvim-tree.lua docs:

Syntax highlighting uses g:terminal_color_ from colorschemes, fallbacks to ugly colors otherwise.

So the problem is likely that melange doesn't set these variables explicitly.


Add CIS Microsoft 365 Foundations to v1.5.0 (08-31-2022). Closes #30

Checklist

[ ] Issue(s) linked

@madhushreeray30 could you please update the docs to reflect the changes for CIS v1.5.0?


How to index all locally installed packages?

I'd like to index not just the package I'm working on, but also the rest of the packages in the stack.yaml's snapshot, as well as the packages in extra-deps.
Is there a way to do this, perhaps what haskell-code-explorer.mfix.io does?

Is there a way to do this, perhaps what haskell-code-explorer.mfix.io does?

In order to index packages for haskell-code-explorer.mfix.io, I wrote a stack script (https://docs.haskellstack.org/en/stable/GUIDE/#script-interpreter) that downloads, builds and indexes a subset of packages from a Stackage snapshot. I plan to release that script (I need to clean it up a bit first).

I'd like to index not just the package I'm working on, but also the rest of the packages in the stack.yaml's snapshot, as well as the packages in extra-deps.

I think the easiest way is to write a simple shell script.
For example, this command downloads the source code of all dependencies of a stack project to PATH:
stack ls dependencies | tr " " - | xargs -i stack unpack {} --to PATH

This command tries to build (and index) each package in PATH with stack using RESOLVER (e.g., lts-13.13):
for p in PATH/*; do (cd "$p" && stack init --resolver=RESOLVER --force && stack build && PATH_TO_HASKELL_CODE_INDEXER -p .); done

(It should work for most packages except for ghc, base, ghc-prim, etc.)

Sweet, that worked. I've got an example up here: https://github.com/seagreen/hermetic/tree/master/explore
Some thoughts:

Like you warned it doesn't work for base. How'd you get base indexed for haskell-code-explorer.mfix.io?

It copies in this premake stack.yaml instead of using stack init:
resolver: lts-13.0
allow-newer: true

The project being indexed uses lts-13.0, so I know that's right without having to run stack init. And without the allow-newer I had a lot of packages fail to build due to a restrictive upper bound on QuickCheck. I'm guessing LTS 13 has a setting in there to override them, which is why they work together in that LTS but don't work when trying to build them individually. I didn't look into it deeply though because since I already know those packages work together I can set allow-newer.

The application consists of two local packages, hermetic and json-relay. I placed all their dependencies in a deps directory, but decided to index those two in place, because if I copied them to deps it would be easy to let them get out of sync as the project develops. In order to use haskell-code-server with both deps and those two local packages I used this PR: https://github.com/alexwl/haskell-code-explorer/pull/31
You can see how this worked in action here: https://github.com/seagreen/hermetic/blob/669504a346b2d99f90100527bca10e681ac9e695/explore/serve

I used cabal-install (cabal executable) and globally installed GHC to build base. Building base requires certain system libraries and tools that are checked during the configuration step (e.g., cabal configure -f integer-gmp). Some libraries may need to be installed manually.

I'm guessing LTS 13 has a setting in there to override them, which is why they work together in that LTS but don't work when trying to build them individually.

It seems to be the case. For example, LTS 13.0 contains QuickCheck-<IP_ADDRESS> and text-<IP_ADDRESS>, and at the same time build component tests of text-<IP_ADDRESS> package depends on QuickCheck >= 2.7 && < 2.11 (the upper bound is too restrictive).
Now, I see that copying stack.yaml with allow-newer:true is a better approach than using stack init command.

Thanks for the working example!
I like the new feature (PR #31).

I like the new feature (PR #31).

Glad you like it. Thank you for fixing the PR!

I used cabal-install (cabal executable) and globally installed GHC to build base. Building base requires certain system libraries and tools that are checked during the configuration step (e.g., cabal configure -f integer-gmp). Some libraries may need to be installed manually.

Ah, interesting. I'll take a stab at this sometime and update my example.

@alexwl

For example, this command downloads the source code of all dependencies of a stack project to PATH:

stack ls dependencies | tr " " - | xargs -i stack unpack {} --to PATH
This command tries to build (and index) each package in PATH with stack using RESOLVER (e.g., lts-13.13):
for p in PATH/*; do (cd "$p" && stack init --resolver=RESOLVER --force && stack build && PATH_TO_HASKELL_CODE_INDEXER -p .); done
(It should work for most packages except for ghc, base, ghc-prim, etc.)
I do not understand this approach. When a project is built, all dependencies are already built. Why do you want to explicitly download all sources and build them again?

@rikvdkleij
The indexer uses GHC API (http://hackage.haskell.org/package/ghc-8.6.1) to collect information from Haskell AST (Abstract Syntax Tree). The only way to get an AST of a Haskell module is to initialize a GHC API session (https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/api) and to load a source file using setTargets or addTargets function (http://hackage.haskell.org/package/ghc-8.6.1/docs/GHC.html#v:setTargets).
Each already-built dependency is a collection of interface (.hi) files (https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/iface-files) and object files. It is not impossible to get an AST from an interface file (there is a project https://gitlab.haskell.org/ghc/ghc/wikis/hie-files that should fix it in new versions of GHC).


Mac OS release CI workflow fails: "can't find crate for core"

I'm trying to run the release CI workflow and only Mac OS fails with this error:
error[E0463]: can't find crate for `core`
  |
  = note: the `aarch64-apple-darwin` target may not be installed
  = help: consider downloading the target with `rustup target add aarch64-apple-darwin`

error[E0463]: can't find crate for `compiler_builtins`

For more information about this error, try `rustc --explain E0463`.
error: could not compile `cfg-if` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
Error: Process completed with exit code 101.

I'm puzzled because the workflow seems to be installing the aarch64-apple-darwin target here:
     - name: Install rust toolchain for Apple Silicon
        uses: dtolnay/rust-toolchain@master
        with:
          toolchain: stable
          targets: aarch64-apple-darwin

That's quite strange. I don't have access to a Mac right now, but triggered CI to try to reproduce: https://github.com/NiklasEi/bevy_game_template/actions/runs/7153182125/job/19479340418
Is your project code available?

@NiklasEi Yea here it is: https://github.com/bonsairobo/megadodge_mayhem

The compile error is gone when you delete your rust-toolchain.toml. I guess that the target is installed for a different rust version than the one you request in the toolchain file, but I don't really understand it.

I would consider this closed as it seemed to be a miss-configuration through the rust-toolchain.toml file.
Feel free to re-open if you see something that should be done about it in the template.

I guess, although it's no uncommon for projects to commit a rust-toolchain.toml. Maybe there is a way to exclude it from the CI workflow.

I will close this again. I found a couple of other rust actions that can install from rust-toolchain.toml, but they are all small and seem to require the file (e.g. https://github.com/dsherret/rust-toolchain-file, https://github.com/mkroening/rust-toolchain-toml). I think for the average user of this template it is simpler to not use a rust-toolchain.toml. If you need it, please change the action to one that supports/requires it.


Further improve Norwegian language support

This PR both fixes some of the translations for the Norwegian locale and adds support for disabling capitalization on buttons for languages where it just looks funky.

Please pull from staging instead of new-design


Can't see the link to the installation instruction

Can you provide a link to the installation instructions for this build?

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

ID: afdf6b9f-3d73-a1f2-4b57-684c07cacdab
Version Independent ID: d9f4a048-6942-e360-933c-e4d11f4b56bb
Content: Release Notes for Raspberry Pi 3B+ - Windows IoT
Content Source: windows-iotcore/release-notes/Insider/RPi3BP.md
Product: windows-iot
GitHub Login: @zeeshanfurqan
Microsoft Alias: zeeshanf

This has been fixed. Thank you!


Fixes ash's feed URL

Sorry, for some reason I was not informed of this PR and only now saw it.
@rba what should be done to make this live?


Update jQuery dependency version

does slick support jquery 3.3.1?
why I can't work on Jquery 3.3.1
only support

<script
  type="text/javascript"      src="//code.jquery.com/jquery-migrate-1.2.1.min.js"    ></script>

@nick1190
I tested it, and slick does seem to work with jQuery 3.3.1. Note that the example index.html file in this repo uses $(document).on('ready', function() { .... }) which no longer is supported in jQuery 3. See https://jquery.com/upgrade-guide/3.0/#deprecated-document-ready-handlers-other-than-jquery-function

@FreeFull
Thanks very  much
I change $(document).on('ready', function() { .... }) to $(document).ready(function(){.......})
and it 's work now


Code Quality Fix - Constructors call non overridable method

DevFactory is committed to improving code quality and advancing open source. Our team contributes their time to researching and identifying areas for code quality improvement in open source projects. We identified a fix for NanoHTTPD.
This pull request is focused on resolving occurrences of Sonar rule squid:S1699 - “Constructors should only call non-overridable methods”. You can find more information about the issue here: https://dev.eclipse.org/sonar/rules/show/squid:S1699
Please let me know if you have any questions. There is more to come.
Christian Ivan
DevFactory - Code Cleanup Team

Forgive me for my harshness but you're not fixing anything. NanoHTTPD (and NanoWSD) are meant to be integrated into other software, which means everything being overrideable is a feature. If the person using it has a reason to override methods, even those called in constructors, he can, and if not the default works pretty well. In making methods final you are instead breaking that feature which we have been discussing over time how to keep and maintain properly.
In fact, NanoWSD is only possible because it can easily override the way NanoHTTPD interprets the HTTP protocol by default.
This goes out to both you and @javedanski: I'm just another contributor in this project, which I have been using for about 2 years now, and I don't mean to discourage you or anything, but I honestly think you have no idea what you're doing. I mean, I've checked your github accounts (which are fairly new) and all I see you doing is hopping from repo to repo, running their code against some automated tool that compares code against some other team's standards -- standards that most projects don't need -- and then shoot in every direction: whatever the tool tells you it's wrong you try to fix it and rush a PR titled as a "code quality fix", when you don't even know what is happening or even worse WHY it is an issue. That seriously troubles me: how can you fix something if you don't know why it's broken?? In all your shoot-in-every-direction-in-hopes-to-kill-something efforts you seem to be harming the project more than you're helping (and that's why you should focus on the project and not on whatever tools you use).
For example:

This (#258) breaks more than it fixes.
#259 adds a nullcheck, but knowing the project if in any situation there's a null coming in in that location then you have bigger problems at the data source. If the data source is fine you'll never get a null there because more data is expected after that string.
#260 as I mentioned in the issue itself, is a "fix" that uses CPU power and memory to fix a non-issue.
#256 & #257 were already rejected (I haven't read, but can only assume for good reasons given what I've seen so far)
#255 was accepted, but it really shouldn't. Honestly, just like #259, if you have nulls there then you have bigger problems somewhere else. Just another case of you treating and hiding the symptoms and not caring for the true cause.

TL;DR: If you're going to contribute to a project, take the time to really understand how it works internally, how it all flows. Otherwise you're just wasting your time and the team's time, and NanoHTTPD's team is already spread too thin and with little time to waste on such things.
@ritchieGitHub, @elonen: for the reasons stated above, I would like to see #255 reverted. "Yoda conditions" are fugly and in this case they're hiding nulls coming from elsewhere that should never be null, therefore treating the symptoms and not the cause, and making issues that may arise from it much harder to track down. It's up to you guys, but I've presented my reasoning.

@LordFokas I concur for 90% with your statement! These code analysis are good tools but have to be tuned to the project, and fixing a rule is in most cases not just adding a is-null somewhere, but the why question must be solved first and that can only be answered after a more thorough code review.  As for #255, I think that's one of the "correct" rules, and would keep the PR. @elonen ?

@LordFokas @elonen lets discuss this further in this thread even when I close this issue because in our case it is completely wrong.


Simple Room controller features

Develop all routes for Room controller :

Getting all rooms
Getting room(s) by id
Getting room(s) by number
Getting room(s) by name

Associated tests

Don't forget to return correct codes when encountering errors (empty result when not found ...)

#7 #6 Are exatc duplicates, whould close them all at once and try to use a generic interface for some function (See getRoomByNumber, getRoomById examples as they do not relay respect the dry principle). Maybe using generics could help.


go 1.18 follow up

Description
Bump go version for static check, update generated files.
Checklist

[ ] Investigated and inspected CI test results
[ ] ~Unit test and regression tests added~
[ ] ~Evaluated and added CHANGELOG entry if required~
[ ] ~Determined and documented upgrade steps~
[ ] ~Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

If any of these don't apply, please comment below.

/retest-required

I'd stick to making only necessary changes. It seems to be accepted by our CI

@rukletsov I think it's fine to change formatting. If we do not do this then this changes will randomly appear when someone runs gofmt on file and commit it.


J2ObjC MAC Algorithm support

Hi, I have a question regarding j2objc's (jre_emul) support for translating java.security providers, services and algorithms, more specifically the support of the MAC (Message Authentication Code) algorithm (HMac256 to be precise). In the documentation, as well as the generated Mac.h header file, it is stated that during the instancing of the MAC algorithm, all the available providers (retrieved by Security.getProviders()) are iterated to find the one that supports the MAC algorithm.
When using Objective-C classes translated by j2objc, the listed providers are only J2ObjCSecurity and CertPathProvider, and neither has support for the mentioned MAC services (algorithms). I can see in the wrapper code implementation of the J2ObjCSecurity provider that, unlike MessageDigest, Signatures, KeyFactory etc. the MAC services are not even listed and no MAC algorithms are added.
Does the 2.8 j2objc release not have included wrapper implementation support for MAC algorithms? And if so, is it possible to add it somehow manually - to the existing release binaries or by adding additional corresponding java implementation classes to the source code and then building the binaries manually? Thanks :D

There isn't support for MAC algorithms, j2objc's IosSecurityProvider lists everything that is included.
Since java.security and its sub-packages is supported, you can follow the normal Java way of adding an independent security provider (which is what IosSecurityProvider does). For the provider, you can use Bouncy Castle which j2objc translates without issue (it's just really big).
An easier approach is to add support for this algorithm to IosSecurityProvider and implement it using the new crypto APIs in iOS. Here's a StackOverflow answer that shows an implementation. If you contribute a pull request adding this to the j2objc project, you'll be a hero to future developers. 👍

Thank you for the suggestions and explanation. I will try that and keep you posted. 👍

This GitHub Gist demonstrates accessing CommonCrypto's CCHmac function from Java.


Implement BroadcastCommand.cs

Working in kevin/AdminCommand

Broadcast Command works successfully across all rooms from an Admin.


IDVA6-1390: Implement language selection functionality

Add language selector in top navigation
Implement language switching logic in Express middleware
Create LANGUAGE_CONFIG with supported languages (English and Welsh)
Add SCSS styles for language selector
Update app.ts to handle language selection and URL modification
Introduce new type definition for language configuration

This change introduces multi-language support to the application, allowing users to switch between English and Welsh. The language selector is added to the top navigation, and the necessary backend logic is implemented to handle language switching and URL modifications.

CI: No security warnings found


improve #377: support more ways of connecting to the database.

Closes #377.

Testing on my UAT server indicates this works well with external DBs with SSL enabled. Ideally, we'd like to provide a certificate, but the implementation here works well for us.


[crash] [MTRBaseClusterThermostat initWithDevice:endpoint:queue:]_block_invoke

Problem
SHA aa9457e6b94b735076dff6297176183bf9780177
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x8020000000000030 -> 0x0000000000000030 (possible pointer authentication failure)
Exception Codes: 0x0000000000000001, 0x8020000000000030
VM Region Info: 0x30 is not in any region.  Bytes before following region:<PHONE_NUMBER>8
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->
      commpage (reserved)<PHONE_NUMBER>-7000000000 [384.0G] ---/--- SM=NUL  ...(unallocated)
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [234]

Triggered by Thread:  4

Thread 4 Crashed ↩::   Dispatch queue: com.csa.matter.framework.controller.workqueue
0   Matter                        	       0x1a1bacc7c __58-[MTRBaseClusterThermostat initWithDevice:endpoint:queue:]_block_invoke + 64 (connectedhomeip/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm:42062)
1   Matter                        	       0x1a1bacc6c __58-[MTRBaseClusterThermostat initWithDevice:endpoint:queue:]_block_invoke + 48 (connectedhomeip/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm:42062)
2   libdispatch.dylib             	       0x1e22372d0 _dispatch_client_callout + 20 libdispatch/src/object.m:560)
3   libdispatch.dylib             	       0x1e2246c50 _dispatch_sync_invoke_and_complete_recurse + 64 (libdispatch/src/queue.c:1023)
4   libdispatch.dylib             	       0x1e22466d0 _dispatch_sync_f_slow + 172 (libdispatch/src/queue.c:1780)
5   Matter                        	       0x1a1bacbb0 -[MTRBaseClusterThermostat initWithDevice:endpoint:queue:] + 224 (connectedhomeip/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm:42060)

2022-08-04 12:37:04.0850 -0700 default 0x0101d 0x0 homed[234] (Matter): 🟢 [1659641824080] [234:4125] CHIP: [EM] Flushed pending ack for MessageCounter:194090099 on exchange 59484i
2022-08-04 12:37:04.0937 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824089] [234:3078] CHIP: [CTL] Response Time: PFvPvsE+1989230764
2022-08-04 12:37:04.0962 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824091] [234:3078] CHIP: [DMG] SendReadRequest ReadClient[0x155e808d0]: Sending Read Request
2022-08-04 12:37:04.0964 -0700 default 0x00c06 0x0 homed[234] (Matter): 🔵 [1659641824092] [234:3078] CHIP: [IN] Prepared secure message 0x1558c9568 to 0x00000000983BF68E (10)  of type 0x2 and protocolId (0, 1) on exchange 59485i with MessageCounter:72284453.
2022-08-04 12:37:04.0965 -0700 default 0x00c06 0x0 homed[234] (Matter): 🔵 [1659641824092] [234:3078] CHIP: [IN] Sending encrypted msg 0x1558c9568 with MessageCounter:72284453 to 0x00000000983BF68E (10) at monotonic time:<PHONE_NUMBER>01E956 msec
2022-08-04 12:37:04.0969 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824092] [234:3078] CHIP: [DMG] MoveToState ReadClient[0x155e808d0]: Moving to [AwaitingIn]
2022-08-04 12:37:04.1563 -0700 default 0x00c06 0x0 homed[234] (Matter): 🔵 [1659641824152] [234:3078] CHIP: [EM] Received message of type 0x5 with protocolId (0, 1) and MessageCounter:194090100 on exchange 59485i
2022-08-04 12:37:04.1563 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824152] [234:3078] CHIP: [EM] Found matching exchange: 59485i, Delegate: 0x155e808d0
2022-08-04 12:37:04.1566 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824152] [234:3078] CHIP: [EM] Rxd Ack; Removing MessageCounter:72284453 from Retrans Table on exchange 59485i
2022-08-04 12:37:04.1566 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824152] [234:3078] CHIP: [EM] Removed CHIP MessageCounter:72284453 from RetransTable on exchange 59485i
2022-08-04 12:37:04.1572 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824152] [234:3078] CHIP: [EM] Sending Standalone Ack for MessageCounter:194090100 on exchange 59485i
2022-08-04 12:37:04.1573 -0700 default 0x0101d 0x0 homed[234] (Matter): 🟢 [1659641824152] [234:4125] CHIP: [CTL] Response Time: PFvPvsE+1989230764 0.064706 seconds
2022-08-04 12:37:04.1573 -0700 default 0x00c06 0x0 homed[234] (Matter): 🔵 [1659641824152] [234:3078] CHIP: [IN] Prepared secure message 0x16d4e12b8 to 0x00000000983BF68E (10)  of type 0x10 and protocolId (0, 0) on exchange 59485i with MessageCounter:72284454.
2022-08-04 12:37:04.1573 -0700 default 0x00c06 0x0 homed[234] (Matter): 🔵 [1659641824153] [234:3078] CHIP: [IN] Sending encrypted msg 0x16d4e12b8 with MessageCounter:72284454 to 0x00000000983BF68E (10) at monotonic time:<PHONE_NUMBER>01E993 msec
2022-08-04 12:37:04.1575 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824153] [234:3078] CHIP: [EM] Flushed pending ack for MessageCounter:194090100 on exchange 59485i
2022-08-04 12:37:04.1624 -0700 default 0x0101d 0x0 homed[234] (Matter): 🟢 [1659641824158] [234:4125] CHIP: [CTL] Response Time: PFvPvhE+2192660888
2022-08-04 12:37:04.1650 -0700 default 0x0101d 0x0 homed[234] (Matter): 🟢 [1659641824160] [234:4125] CHIP: [DMG] SendReadRequest ReadClient[0x153fdbbb0]: Sending Read Request
2022-08-04 12:37:04.1652 -0700 default 0x0101d 0x0 homed[234] (Matter): 🔵 [1659641824160] [234:4125] CHIP: [IN] Prepared secure message 0x158914e68 to 0x00000000983BF68E (10)  of type 0x2 and protocolId (0, 1) on exchange 59486i with MessageCounter:72284455.
2022-08-04 12:37:04.1653 -0700 default 0x0101d 0x0 homed[234] (Matter): 🔵 [1659641824160] [234:4125] CHIP: [IN] Sending encrypted msg 0x158914e68 with MessageCounter:72284455 to 0x00000000983BF68E (10) at monotonic time:<PHONE_NUMBER>01E99B msec
2022-08-04 12:37:04.1657 -0700 default 0x0101d 0x0 homed[234] (Matter): 🟢 [1659641824161] [234:4125] CHIP: [DMG] MoveToState ReadClient[0x153fdbbb0]: Moving to [AwaitingIn]
2022-08-04 12:37:04.2216 -0700 default 0x00c06 0x0 homed[234] (Matter): 🔵 [1659641824217] [234:3078] CHIP: [EM] Received message of type 0x5 with protocolId (0, 1) and MessageCounter:194090101 on exchange 59486i
2022-08-04 12:37:04.2216 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824217] [234:3078] CHIP: [EM] Found matching exchange: 59486i, Delegate: 0x153fdbbb0
2022-08-04 12:37:04.2217 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824217] [234:3078] CHIP: [EM] Rxd Ack; Removing MessageCounter:72284455 from Retrans Table on exchange 59486i
2022-08-04 12:37:04.2217 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824217] [234:3078] CHIP: [EM] Removed CHIP MessageCounter:72284455 from RetransTable on exchange 59486i
2022-08-04 12:37:04.2224 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824218] [234:3078] CHIP: [EM] Sending Standalone Ack for MessageCounter:194090101 on exchange 59486i
2022-08-04 12:37:04.2224 -0700 default 0x0101d 0x0 homed[234] (Matter): 🟢 [1659641824218] [234:4125] CHIP: [CTL] Response Time: PFvPvhE+2192660888 0.060024 seconds
2022-08-04 12:37:04.2225 -0700 default 0x00c06 0x0 homed[234] (Matter): 🔵 [1659641824218] [234:3078] CHIP: [IN] Prepared secure message 0x16d4e12b8 to 0x00000000983BF68E (10)  of type 0x10 and protocolId (0, 0) on exchange 59486i with MessageCounter:72284456.
2022-08-04 12:37:04.2225 -0700 default 0x00c06 0x0 homed[234] (Matter): 🔵 [1659641824218] [234:3078] CHIP: [IN] Sending encrypted msg 0x16d4e12b8 with MessageCounter:72284456 to 0x00000000983BF68E (10) at monotonic time:<PHONE_NUMBER>01E9D4 msec
2022-08-04 12:37:04.2227 -0700 default 0x00c06 0x0 homed[234] (Matter): 🟢 [1659641824218] [234:3078] CHIP: [EM] Flushed pending ack for MessageCounter:194090101 on exchange 59486i
2022-08-04 12:37:04.2262 -0700 default 0x0101d 0x0 homed[234] (Matter): 🟢 [1659641824221] [234:4125] CHIP: [CTL] Response Time: PFvPvhE+1665476950
2022-08-04 12:37:04.2263 -0700 default 0x0101d 0x0 homed[234] (Matter): 🟢 [1659641824221] [234:4125] CHIP: [DMG] SendReadRequest ReadClient[0x153fdbbb0]: Sending Read Request
2022-08-04 12:37:04.2265 -0700 default 0x0101d 0x0 homed[234] (Matter): 🔵 [1659641824222] [234:4125] CHIP: [IN] Prepared secure message 0x158914e68 to 0x00000000983BF68E (10)  of type 0x2 and protocolId (0, 1) on exchange 59487i with MessageCounter:72284457.
2022-08-04 12:37:04.2266 -0700 default 0x0101d 0x0 homed[234] (Matter): 🔵 [1659641824222] [234:4125] CHIP: [IN] Sending encrypted msg 0x158914e68 with MessageCounter:72284457 to 0x00000000983BF68E (10) at monotonic time:<PHONE_NUMBER>01E9D8 msec
2022-08-04 12:37:04.2273 -0700 default 0x0101d 0x0 homed[234] (Matter): 🟢 [1659641824222] [234:4125] CHIP: [DMG] MoveToState ReadClient[0x153fdbbb0]: Moving to [AwaitingIn]
2022-08-04 12:37:04.2364 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🟢 [1659641824232] [234:3078] CHIP: [CTL] Shutting down the commissioner
2022-08-04 12:37:04.2364 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🟢 [1659641824232] [234:3078] CHIP: [CTL] Shutting down the controller
2022-08-04 12:37:04.2365 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🟢 [1659641824232] [234:3078] CHIP: [IN] Expiring all sessions for fabric 0xa!!
2022-08-04 12:37:04.2365 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🟢 [1659641824232] [234:3078] CHIP: [IN] SecureSession[0x155809f30]: MarkForEviction Type:2 LSID:20779
2022-08-04 12:37:04.2365 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🔵 [1659641824232] [234:3078] CHIP: [SC] SecureSession[0x155809f30]: Moving from state 'kActive' --> 'kPendingEviction'
2022-08-04 12:37:04.2366 -0700   error 0x00c06 0x3252 homed[234] (Matter): 🔴 [1659641824232] [234:3078] CHIP: [DMG] Time out! failed to receive report data from Exchange: 59487i
2022-08-04 12:37:04.2370 -0700 default 0x00c07 0x3252 homed[234] (Matter): 🟢 [1659641824232] [234:3079] CHIP: [CTL] Response Time: PFvPvhE+1665476950 0.010831 seconds
2022-08-04 12:37:04.2386 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🟢 [1659641824234] [234:3078] CHIP: [IN] SecureSession[0x155809f30]: Released - Type:2 LSID:20779
2022-08-04 12:37:04.2387 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🔵 [1659641824234] [234:3078] CHIP: [FP] Forgetting fabric 0xa
2022-08-04 12:37:04.2387 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🔵 [1659641824234] [234:3078] CHIP: [TS] Pending Last Known Good Time: 2022-08-04T19:33:53
2022-08-04 12:37:04.2388 -0700 default 0x00c06 0x3252 homed[234] (Matter): PersistentStorageDelegate Sync Get Value for Key: g/lkgt
2022-08-04 12:37:04.2390 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🔵 [1659641824234] [234:3078] CHIP: [TS] Previous Last Known Good Time: 2022-08-04T19:33:53
2022-08-04 12:37:04.2391 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🔵 [1659641824234] [234:3078] CHIP: [TS] Reverted Last Known Good Time to previous value
2022-08-04 12:37:04.2391 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🟢 [1659641824234] [234:3078] CHIP: [CTL] Shutting down the System State, this will teardown the CHIP Stack
2022-08-04 12:37:04.2391 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🟢 [1659641824234] [234:3078] CHIP: [IN] SecureSession[0x158b58e10]: Released - Type:2 LSID:20777
2022-08-04 12:37:04.2391 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🟢 [1659641824234] [234:3078] CHIP: [DMG] IM WH moving to [Uninitialized]
2022-08-04 12:37:04.2391 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🟢 [1659641824234] [234:3078] CHIP: [DMG] IM WH moving to [Uninitialized]
2022-08-04 12:37:04.2391 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🟢 [1659641824234] [234:3078] CHIP: [DMG] IM WH moving to [Uninitialized]
2022-08-04 12:37:04.2391 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🟢 [1659641824234] [234:3078] CHIP: [DMG] IM WH moving to [Uninitialized]
2022-08-04 12:37:04.2391 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🟢 [1659641824234] [234:3078] CHIP: [DMG] All ReadHandler-s are clean, clear GlobalDirtySet
2022-08-04 12:37:04.2394 -0700 default 0x00c06 0x3252 homed[234] (Matter): 🔵 [1659641824235] [234:3078] CHIP: [BLE] CancelConnection
2022-08-04 12:37:04.2394 -0700   error 0x00c06 0x3252 homed[234] (Matter): 🔴 [1659641824235] [234:3078] CHIP: [DL] Inet Layer shutdown
2022-08-04 12:37:04.2394 -0700   error 0x00c06 0x3252 homed[234] (Matter): 🔴 [1659641824235] [234:3078] CHIP: [DL] BLE shutdown
2022-08-04 12:37:04.2394 -0700   error 0x00c06 0x3252 homed[234] (Matter): 🔴 [1659641824235] [234:3078] CHIP: [DL] System Layer shutdown

Apple reference: rdar://98142314

This is no longer showing up in crashes.

This was fixed by https://github.com/project-chip/connectedhomeip/pull/21504


nixos-install from CD should not require network access

A CD-based installation should NOT require network access.
Currently, it downloads plenty of stuff from the network.

@shlevy @edolstra  I am doing some installation testing for various partitioning schemes using nixos-graphical-16.03.503.3f96280-x86_64-linux.iso . Not doing anything interesting, two disk raid root partition, fdisk, etc. and am seeing the following repeatedly pulled from the network.
https://gist.github.com/seanjensengrey/549af54ccb45c187aeaa60d5ac7a91b5
I am super new to Nix, but is there a way for me to merge these into the CD image or provide a local mirror?

Note: this repository is obsolete and you should use https://github.com/NixOS/nixpkgs instead.
There is a way. Probably not well documented, but maybe https://nixos.org/wiki/Creating_a_NixOS_live_CD#adding_additional_software_to_the_image can point you in the right direction...

Great. I'll checkout the link. I didn't set any repos, just what was preconfigured in the above .iso
My configuration.nix https://gist.github.com/seanjensengrey/b69ffddbc668e127b1946d4c147e0bcb

Nothing actionable here. We provide minimal cd with a explicit purpose of being minimal. We can't ship all software on it.

No one asked for 'all software', just an install ISO that doesn't pull from the network in the base case.
How does one go about building their own ISO with extra packages?
In my case it is 22 packages, like sudoers, sudo, udev-rules, etc. It is all in the gist.

http://nixos.org/nixos/manual/index.html#sec-building-cd


OpenStack Cinder Initial Commit

OpenStack Cinder
This commit introduces Cinder.

This change is

@alanmeadows I have not been able to confirm Ceph Operation as I do not currently have access to a cluster with Ceph Support. However, I think it should be operational as this mirrors both Glance, and borrows liberally from Stackanetes Ceph Templates.

No problem @intlabs, I can verify early tomorrow morning, and pending that LGTM! Nice work.

This has been "validated" in our openstack-helm full stack lab with a few minor updates requested of @intlabs.  I eagerly await our gating tests getting setup (in progress) to avoid this type of validation.
+--------------------------------------+-----------+--------+------+-------------+----------+-------------+
|                  ID                  |   Status  |  Name  | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+--------+------+-------------+----------+-------------+
| 0f57e259-bf9d-4743-a871-d9ed5e393f40 | available | test50 |  1   |      -      |  false   |             |
| 70683904-5364-4268-aa08-e0a126b04d97 | available | test10 |  1   |      -      |  false   |             |
+--------------------------------------+-----------+--------+------+-------------+----------+-------------+


Development: Convert exercise e2e tests to Playwright

Checklist
General

[X] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[X] I chose a title conforming to the naming conventions for pull requests.

Client

[X] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[X] I followed the coding and design guidelines.
[X] I documented the TypeScript code using JSDoc style.

Motivation and Context

This pull request is part of series of PRs for converting all e2e tests to Playwright. We want to switch from Cypress to Playwright for the future of E2E testing of Artemis, because Cypress puts most of its features behind a paywall and drops support for Sorry Cypress, while Playwright has features like test parallelization out of the box for free and works well with Currents (former Sorry Cypress).
Description

Converts exercise e2e tests to Playwright.
Steps for Testing

Customize Playwright using playwright.env file to fit your local setup, though current configuration should work for default Artemis setup.
Run tests in your local machine where Artemis is set up. Tests can be run as follows:

Navigate to src/tests/playwright
Run npm install && npm run playwright:setup && npm run playwright:test
Confirm that all tests pass

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked

Review Progress

Performance Review

[ ] I (as a reviewer) confirm that the client changes (in particular related to REST calls and UI responsiveness) are implemented with a very good performance
[ ] I (as a reviewer) confirm that the server changes (in particular related to database calls) are implemented with a very good performance

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

@coderabbitai review


No response from server when using mobile data to stream rtsp

Hi pedro,
I am encountering a problem. When I stream rtsp using WiFi, all streaming is normal. However, when I use mobile 4G network to stream rtsp, after like 10s, "DisplayService: No response from server" pop up and the stream failed. It would be great if you could suggest the direction for investigation. Thank you so much.

I haven't log "No response from server" in DisplayService.

Can you tell me the callback received?
In case that you receive onConnectionFailed, can you tell me String reason value?
Are you sure that you have access to server from mobile data? can you test it using a ping or similar?

Yes, it is callback from onConnectionFailed. The string reason is "No response from server".
I can access the server from mobile data and ping the server.
But when using mobile data, at first it was streaming smoothly, after like 10s, the stream stop with onConnectionFailed reason "No response from server"

Ok,
This means that isAlive method fail for some reason.
Can you share me a logcat?
Can you check this method to know if you have checkServerAlive enabled and to know the line that return false?
RTSP:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/rtsp/src/main/java/com/pedro/rtsp/rtsp/RtspClient.kt#L323
RTMP:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/rtmp/src/main/java/com/pedro/rtmp/rtmp/RtmpClient.kt#L230

Thanks for the idea. After setting the checkServerAlive to false, the "No response from server" error did not appear.
But there is always "CommandsManager: read error", the log is attached. Do you have any idea why? Thanks in advance.
log.txt

You can ignore that. The library try to read from server each 2s to know if server send any command and execute it.
This means that you are not receiving anything so you can ignore it.
Anyway, I'm interested to know where is the error in isAlive method instead of only skip it.
Where is the error? here:
val connected = connectionSocket?.isConnected ?: false

Or here:
val reachable = connectionSocket?.inetAddress?.isReachable(5000) ?: false

Check nullability step by step to know if it is the problem and check isConnected / isReachable to know if it is returning false.

I have physically relocated the server without any change in setting. But now I dont get the "No response from server even if checkServerAlive is enabled.


Modified network to accept multi channel images

Added changes from the recent commit concerning the bug in the initial_block


Existing content is not replaced when node is yielded

Take this example where a child component yields it's #header to the header in the parent component:
// Child component
behaviors: {
  '#header': {
    '$yield': '#title'
  }
},
tree: `<node id="header"><h1>Title</h1></node>`

// Parent component
tree: `
  <user:child>
    <node id='header">

Different title

  </node>
</user:child>`

The content from the child #header is not replaced by the content from the parent. Instead both
s are rendered.
Linguistically, at least, it would make better sense if when a node is directed to yield it completely hands over responsibility for what is rendered inside to the node it is yielding to.

@djgrant Thanks for bringing this to our attention. I'll look into this today.


Remove --atomic flag

Motivation

Solution

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Updated the changelog

Codecov Report

Merging #154 (85ec047) into main (fd66f8a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #154   +/-   ##
=======================================
  Coverage   42.72%   42.72%
=======================================
  Files          14       14
  Lines        4899     4899
=======================================
  Hits         2093     2093
  Misses       2806     2806

Flag
Coverage Δ

test
42.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 fd66f8a...85ec047. Read the comment docs.


Add test coverage for track 2 specific features

PR: https://github.com/Azure/azure-sdk-for-net/pull/6562


New markdown editor breaks anchor tags

For Bug Reports

BookStack Version: v0.16
PHP Version: PHP 7.0.15-0ubuntu<IP_ADDRESS>
MySQL Version: mysql  Ver 14.14 Distrib 5.7.17, for Linux (x86_64) using  EditLine wrapper

Expected Behavior
On previous versions of Bookstack, using the Markdown editor, I was able to use sparing amounts of HTML when needed. Thus far, it had only been anchor tags, such as <a name="blah" />. Using these on long documents, I was able to link to the tags to allow the reader to jump among topics.
Actual Behavior
According to the release notes, v0.16 switched markdown editors to Markdown-IT. Unfortunately this does not appear to support any HTML tags. Any time I edit a page with anchor tags, or create a new page, the HTML code is displayed as-is.

If there's a workaround, or if you can be persuaded to switch back or offer the option of choosing our markdown flavor, I'd greatly appreciate it.

Hi @lxtv,
My apologies, I did not realise that markdown-it had that behavior by default.
Looking at the documentation for markdown-it, HTML can easily be enabled. I've marked this as a priority bug to be part of a bug-fix release this coming weekend.

Oh great, thanks for the quick response. In the meantime, I did find a workaround: copying the tags from the sidebar navigation. This works because all my tags are associated with headers. But it'll be good to have the flexibility of HTML back.

but still html is not working after enabling it :cry:


Rules (and cask removals) regarding registration walls and vendorless downloads)

Refs #8664 and https://github.com/caskroom/homebrew-unofficial/pull/36.
Closes #8681.
Closes #8664.

:+1: thanks for putting all the work you have into this!


Additional parameters for group dispatchers

Description
Dispatchers: moveintogroup, moveoutofgroup and movewindoworgroup currently support directional parameters.
It could be beneficial for these dispatchers to accept an address parameter, allowing specific management of windows in and out of groups via hyprctl. This could provide a tailored workflow experience within hyprland's framework.
Additionally, it could be useful to have further management of the dispatcher: changegroupactive with the possibility of selecting between grouped windows in a style similar to the management of workspaces, ie. Mod+Shift+2 to select the second window in a group.
Thanks all

Additionally, it could be useful to have further management of the dispatcher: changegroupactive with the possibility of selecting between grouped windows in a style similar to the management of workspaces, ie. Mod+Shift+2 to select the second window in a group.

you can already pass index to that dispatcher

Additionally, it could be useful to have further management of the dispatcher: changegroupactive with the possibility of selecting between grouped windows in a style similar to the management of workspaces, ie. Mod+Shift+2 to select the second window in a group.

you can already pass index to that dispatcher

Oops, missed that one! Thanks for letting me know!!


Adding watermark to existing (uploaded) image

I have an OpenCard web project. Want to apply a watermark to all images.
$imagePath = "blabla.jpg";
//Adding watermark
Image::load($imagePath)->watermark($watermarkImage)
In my view:
<img src="<?= imagePath ?>"
At the end, it does not take any effect.
What is wrong?

Make sure to call the save method. Take a look at our docs for a few examples.

Oo yeah. Cool. Is there any saveAs function? I didn't see on documentation


Is is possible to update the cache in the background to avoid cache misses?

How would one add functionality to automatically update the cache when items expire and are evicted? The reason I ask is because I'd like to avoid a cache miss and rather just have it return the expired item; as it updates the value in the background. I can see this update kicked off either directly after noticing a cache miss, or by actively monitoring the next item to expire. Possibly an item with a value populating delegate could be stored in the cache, but this delegate would be called out-of-scope as it's called in a background thread, this would cause problems. So how is it possible to update the cache in the background to avoid a cache miss? I also realize that avoiding a cache miss on a first time call is different that subsequent calls.

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

ID: 13f5f8f9-18dd-9c12-9ed1-fcc6b44ba7fd
Version Independent ID: 640b4f36-5886-7b69-1c95-cfc8574a02fd
Content: Cache in-memory in ASP.NET Core
Content Source: aspnetcore/performance/caching/memory.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@JunTaoLuo Any ideas?

I think you are looking for the PostEvictionCallback functionality: https://github.com/aspnet/Caching/blob/ee13d634568fc5348e09fc090fab40233b1107cc/src/Microsoft.Extensions.Caching.Abstractions/CacheEntryExtensions.cs#L82-L121. Note that this is only available for MemoryCache and not available for DistributedCache

If you have a cache miss, that may be because the expired or was removed due to memory pressure. If you are anyway going to add it again, why not simply use CacheItemPriority.NeverRemove   so that it is not removed ?

Thanks, that is a good suggestion! I also thought of having 2 entries with different expiration dates. But this is better. However I still need a background thread to update the cache. I have found a solution that seems to address the problem. I’m still a little worried about the threading and potential locking issues. I haven’t fully tested this solution, but I did add it to my Stackoverflow post.

From: timemaster67<EMAIL_ADDRESS>Sent: Tuesday, July 24, 2018 1:57:21 PM
To: aspnet/Docs
Cc: Carlo J. Bos; Author
Subject: Re: [aspnet/Docs] Is is possible to update the cache in the background to avoid cache misses? (#7716)
If you have a cache miss, that may be because the expired or was removed due to memory pressure. If you are anyway going to add it again, why not simply use CacheItemPriority.NeverRemove so that it is not removed ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/Docs/issues/7716#issuecomment-407532000, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJiNBL12rru_gIzeXrYRkf6ZlSv2dK5zks5uJ3whgaJpZM4VZUHh.

fixed in #7792

Is there any suitable replacement for UpdateCallback attribute found in System.Runtime.Caching in Microsoft.Extensions.Caching.Memory? UpdateCallback takes care of updating the cache in the background and during the process of cache update, application threads will continue to serve old cached object.


method get() isn't working with own column

Hi,
I have a model with own key: true column.
for example:
var User=db.define('user',{
iduser: {type: 'serial',key: true},
column2: {type: 'text'},
column3: {type: 'date',time: true},
});
I try use get method
User.get(4,function(err,user){console.log(user.column2)});
And i get the error
TypeError: Cannot read property 'column2' of undefined
I try also modify my model
var User=db.define('user',{
iduser: {type: 'serial',key: true},
column2: {type: 'text'},
column3: {type: 'date',time: true},
},{
id: "iduser"
});
and db.settings.set("properties.primary_key", "iduser");
Thanks for help
Marcin

``

sorry, i use db.close() method in bad line and the connection with db has been disconnected. Then get method have no results


Bloxstrap Menu not opening

i search for the bloxstrap menu and it doesn't show up, only with the actual app itself to open up roblox. (https://prnt.sc/Jq2D3Cy9uRL-)
after reinstalling bloxstrap many times the menu wont appear.

Instead of using the search utility, try looking it for it by scrolling down through the application list.

Instead of using the search utility, try looking it for it by scrolling down through the application list.

yeah I found it now, thank you for the help.


Allow imports/enriches of other entities

[ ] import publishers from crossref
[ ] import funders from crossref
[ ] import greater entities from doaj

#75 duplicate


Fix scroll failed when touch  tab of some phones like XiaoMi 5Plus.

the scroll no work because of e.nativeEvent.contentOffset.x  and this._nextOffset are not  exactly equal when touch  tab of some phones like XiaoMi 5Plus.
_handleScroll e.nativeEvent.contentOffset.x 1178.1817626953125 this._nextOffset 1178.1817932128906

Thanks for the PR. Can you fix the lint error so I can merge? You can run yarn run format to fix the linting issues.


Include Python Source

I would like to see Python source included in this extension.

Are you using the PTVS Python extension?
What I'm seeing is that with the extension enabled, CommentsPlus also works for python source.

It seems to be working OK now.
I am getting an error when I load a python program but
it seems to be unrelated to Comments Plus.

OK. I'll close this issue, then.


"dragonfire" "closed unexpectedly"

@hwpplayer1 it seems like you have insufficient free memory to run Dragonfire. "min 2 GB free memory"