Non-Nullable Property Code Snippet Sharing?

I created a snippet for non-nullable property declarations, is there a way to share this?
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets  xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
	<CodeSnippet Format="1.0.0">
		<Header>
			<Title>NonNullableProperty</Title>
			<Shortcut>NonNullProp</Shortcut>
			<Description>Code snippit for setting non nullable property</Description>
			<Author>IntelliTect - Meghan Woodford</Author>
			<SnippetTypes>
				<SnippetType>Expansion</SnippetType>
			</SnippetTypes>
		</Header>
		<Snippet>
			<Declarations>
				<Literal>
					<ID>DataType</ID>
					<ToolTip>Property type</ToolTip>
					<Default>int</Default>
				</Literal>
				<Literal>
					<ID>PropertyName</ID>
					<ToolTip>Property name</ToolTip>
					<Default>MyProperty</Default>
				</Literal>
			</Declarations>
			<Code Language="csharp">
				<![CDATA[private $DataType$? _$PropertyName$;
        public $DataType$ $PropertyName$ {
            get => _$PropertyName$!;
            set => _$PropertyName$ = value ?? throw new ArgumentNullException(nameof(value));
        }]]>
			</Code>
		</Snippet>
	</CodeSnippet>
</CodeSnippets>

I don't think we have an IntelliTect snippet repo, but several of us share our dotfiles on GitHub (https://github.com/SteveByerly/dotfiles, https://github.com/adamskt/danja-zown, Kevin has his in OneDrive)  Additionally, there are things that inherit from CodeFixProvider in https://github.com/IntelliTect/CodingGuidelines/tree/master/IntelliTect.Analyzer/IntelliTect.Analyzer/CodeFixes

I think we should look at adding snippets to these repos. I have moved away from R# so have found myself wanting these more and more.

As per discussion we need to do the following:

Create new VSIX package to distribute/update snippets
Create new build pipeline for VSIX
Create new release pipeline for VSIX

Need to determine appropriate output location. Consider Visual Studio Marketplace place as a first choice option, Azure artifacts or GitHub would be secondary choices.

Document/automate getting started process for developing snippets/VISX

This has been added to snippets. https://github.com/IntelliTect/IntelliTect.Snippets


Improve documentation on when the chat client is ready

note: the FAQ URL mentioned at the beginning of the template is dead.
Bug Report
Code
The following commit work-arounds this issue: https://git.cartooncraft.fr/osufrlive/bot/-/commit/3e62cc7f8e03becb0cefc8bd4e1854e313c9c29e
Expected behavior
Being able to join channels manually right after connection, without necessarily using client options (tl;dr leaving it to the lib user).
Actual Behavior
Fails after reaching a 10 seconds timeout.
Environment

Version: 4.5.5
Node version: v14.16.0 & v16.2.0
Operating system: Arch Linux, Alpine (inside Docker)

onConnect is too early since it's before authentication. Please use the onRegister event instead.
Leaving this open since the events could use some better documentation (in the main docs, not the reference part).

In the new docs this is now sufficiently explained IMO.


Getting an error that it cant grab passwords

Traceback (most recent call last):
File "main.py", line 61, in
File "getpass.py", line 168, in getuser
ModuleNotFoundError: No module named 'pwd'

dont know how to fix it

same problem...

Will look into it.

Closed, should work with the new main.py file.


Can i use model obtained from Custom object detection training in tensorflowjs?

@OlafenwaMoses I want help with implementing a yolov3 custom trained model to tensorflowjs.

ImageAI in custom model training generates two files model.h5 and detection_config.json which by the looks of things could be imported to tensorflowjs.
It hard to help more without actually learning tensorflowjs and writing all code for you. But if you have more questions on ImageAI side feel free to ask.
If is solved the issue please close it.

@nachiketmore99 You might find this useful.
https://www.tensorflow.org/js/tutorials/conversion/import_keras

@nachiketmore99 You might find this useful.
https://www.tensorflow.org/js/tutorials/conversion/import_keras


How to compile/install ?

Hi,
I've been looking around but fail to find a step-by-step way to compile and install SFZero. Is there such a thing somewhere ?
Best,
Olivier

I wish I could recall if I compiled or if dev had a binary at the time, perhaps OSX Mountain Lion - which was less picky about location of audio plugins - but on a laptop I no longer use. however, SFZero was an excellent plugin, I used with Reaper DAW. In the unlikely chance the laptop operates again, I will try to find out.

It would be awesome.


Namespace access policy

What is the purpose of the namespace access policy (RootManageSharedAccessKey)? Or in other words, what is the difference between using Access Policies at the hub scope and at the namespace scope?

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

ID: b6772544-9a3d-c24c-cdc4-0ffc7cab680f
Version Independent ID: 78f6255c-4195-bd81-cac8-78afe3dae716
Content: Notification Hubs Security
Content Source: articles/notification-hubs/notification-hubs-push-notification-security.md
Service: notification-hubs
GitHub Login: @jwargo
Microsoft Alias: jowargo

@dcbrown16, Thanks for the question! We are taking a look into this and will get back to you soon.

RootManageSharedAccessKey is like a master key. You can control the entire namespace with this key like managing the hubs inside it. Hub level scope only lets you manage that resource alone. If you are an admin then you can hold onto the RootManageSharedAccessKey. If you have developers working for you and developing different modules, you can decide to share a hub level key with send or listen access.

Thanks @mrkarMSFT and @AjayKumar-MSFT.
We got some additional internal information that clarified that you can't send notifications to a whole namespace, so the access policy at the namespace level would be for listing, creating, deleting hubs within that namespace.
It seems like this distinction could be made clearer within the documentation, so I'll leave this open to let you consider if you want to do that.

@spelluru Do you mind taking a look at this from an update standpoint?

@dcbrown16, Thanks for sharing more details, we had been discussing on this internally and have assigned the issue to a content author to review further and update the document as appropriate.

@dcbrown16, We have made the appropriate changes in the document, so we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion. Thanks again for sharing your feedback.

Thank you!


Adding dragmap parity checking script

Copy over from PR in prod-pipes.
We are wanting to investigate the parity between different versions of dragmap used between NAGIM and our own pipeline.
This involves taking a nagim vds (or equivalent matrix table) and a vds produced by our pipeline, converting them to a bi-allelic matrix table and running hl.concordance() on them. This function produces three outputs discussed in Hail docs here.
In building this script I produced a nagim vds from nagim-produced gvcf files and a new vds produced from gvcf files produced from our pipeline.
See output of this script here that produced output in this directory: gs://cpg-tob-wgs-test/dragmap_parity/v2/
Note: the nagim file in main that will be used is not a vds but a MatrixTable, produced quite a while ago, and it being on main I am unable to test whether this script works with that file.

Worked inside this repo 😊
https://batch.hail.populationgenomics.org.au/batches/479169/jobs/1


Roll Flutter Engine from 39fb4581cff2 to 91f7070dc870 (1 revision)

https://github.com/flutter/engine/compare/39fb4581cff2...91f7070dc870
2023-11-20<EMAIL_ADDRESS>Roll Skia from c9943f14039f to 3876e576a38e (3 revisions) (flutter/engine#48246)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


OCPBUGS-35817: LVMCluster shows Failed if it could not create any VGs

/jira refresh

/hold

/retest


Add checks to CI

A proper CI of a Rust library would tipically expect to contain as minimum a cargo check and a cargo clippy execution.

I've added the chore label to track these types of internal improvements that are not library enhancements (covered by improvements label).

@all-contributors please add @JustBobinAround  for code

@all-contributors please add @JustBobinAround for code


added flexbox Helpers

I added Flexbox helpers as i am using them quiet a lot.
merge and update the extension  asap,
thank you🥰

@Alii-isk thanks for your contribution!

@Alii-isk thanks for your contribution!

thank You for the extension its really useful


Text File

Output will return only in json format? Is there any way to return the output in text file format?

The API returns json, what's done later is up to the user :)
You just need to take the value of interest from API call result, and save it to a text file.
I'm not actively using ocr.space anymore, and the code here is pretty old. But if you need more assistance, please let me know.

thank u


Perks minsing Ranger

and when i select the perks

when i put the perks the perks work ! but there is the perks remains in the category of preks

and when I click again on the perks it becomes white again like in the second picture

here I tried to give the most information on the bug

The missing perk in question is "Ranged weapon mastery".

@Snaacky this issue can be closed was fixed in #173


エラー集

プロダクトの入力例となりそうなエラー文を収集する
対象外

syntax error

# npx create-next-app@latest --typescript
...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "14.3.0"
error Found incompatible module.

https://docs.python.org/3/tutorial/errors.html#exceptions
>>> 10 * (1/0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: division by zero

>>> 4 + spam*3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'spam' is not defined

>>> '2' + 2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: can only concatenate str (not "int") to str

>>> l = 100
>>> l.append(200)

Traceback (most recent call last):
 File "/Users/mbp/Documents/my-project/python-snippets/errors.py", line 2, in <module>
  l.append(200)
AttributeError: 'int' object has no attribute 'append'

'''
ActionView::Template::Error (Missing partial public_activity/post/_created with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/home/benjamin/Desktop/stukbook/app/views"
"/home/benjamin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/bundler/gems/twitter-bootstrap-rails-d3776ddd0b89/app/views"
"/home/benjamin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/devise-4.2.0/app/views"
):
55:
56:         Recent Activity
57:
58:             <%= render_activities(@activities) %>
59:
60:
61:
'''

Ruby on Rails
ActionView::Template::Error (Missing partial public_activity/post/_created with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:
  * "/home/benjamin/Desktop/stukbook/app/views"
  * "/home/benjamin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/bundler/gems/twitter-bootstrap-rails-d3776ddd0b89/app/views"
  * "/home/benjamin/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/devise-4.2.0/app/views"
):
    55:

    56:
Recent Activity

    57:

    58:             <%= render_activities(@activities) %>
    59:

    60:

    61:

Rails
NoMethodError in Articles#index

undefined method `each' for nil:NilClass"

Rails
routing error
No route matches [GET] "post/new"

> docker compose run --rm web bash yarn -v
node:internal/modules/cjs/loader:988
  throw err;
  ^

Error: Cannot find module '/usr/src/app/web/yarn.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
    at Function.Module._load (node:internal/modules/cjs/loader:833:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:22:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

> docker compose run --rm web bash which yarn
/usr/local/bin/yarn

> docker compose run --rm web bash yarn -v
node:internal/modules/cjs/loader:988
  throw err;
  ^

Error: Cannot find module '/usr/src/app/web/yarn.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
    at Function.Module._load (node:internal/modules/cjs/loader:833:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:22:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

> docker compose run --rm web bash -c "yarn"
yarn install v1.22.19
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.54s.

> docker compose run --rm web bash -c "yarn -v"
1.22.19

web_1  | ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000
web_1  | Error: Could not find a production build in the '/usr/src/app/web/.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
web_1  |     at NextNodeServer.getBuildId (/usr/src/app/web/node_modules/next/dist/server/next-server.js:169:23)
web_1  |     at new Server (/usr/src/app/web/node_modules/next/dist/server/base-server.js:58:29)
web_1  |     at new NextNodeServer (/usr/src/app/web/node_modules/next/dist/server/next-server.js:70:9)
web_1  |     at NextServer.createServer (/usr/src/app/web/node_modules/next/dist/server/next.js:140:16)
web_1  |     at async /usr/src/app/web/node_modules/next/dist/server/next.js:149:31

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/local/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.10/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
  File "/usr/local/lib/python3.10/site-packages/uvicorn/server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.10/site-packages/uvicorn/server.py", line 67, in serve
    config.load()
  File "/usr/local/lib/python3.10/site-packages/uvicorn/config.py", line 479, in load
    self.loaded_app = import_from_string(self.app)
  File "/usr/local/lib/python3.10/site-packages/uvicorn/importer.py", line 24, in import_from_string
    raise exc from None
  File "/usr/local/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/src/app/web/./main.py", line 2, in <module>
    from fastapi import (
ImportError: cannot import name 'BaseModel' from 'fastapi' (/usr/local/lib/python3.10/site-packages/fastapi/__init__.py)

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/local/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.10/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
  File "/usr/local/lib/python3.10/site-packages/uvicorn/server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.10/site-packages/uvicorn/server.py", line 67, in serve
    config.load()
  File "/usr/local/lib/python3.10/site-packages/uvicorn/config.py", line 479, in load
    self.loaded_app = import_from_string(self.app)
  File "/usr/local/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/src/app/web/./main.py", line 11, in <module>
    error_name_pattern = re.compile("+[e|E]rror*")
  File "/usr/local/lib/python3.10/re.py", line 251, in compile
    return _compile(pattern, flags)
  File "/usr/local/lib/python3.10/re.py", line 303, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/usr/local/lib/python3.10/sre_compile.py", line 764, in compile
    p = sre_parse.parse(p, flags)
  File "/usr/local/lib/python3.10/sre_parse.py", line 950, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
  File "/usr/local/lib/python3.10/sre_parse.py", line 443, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
  File "/usr/local/lib/python3.10/sre_parse.py", line 668, in _parse
    raise source.error("nothing to repeat",
re.error: nothing to repeat at position 0

npm ERR! code EAI_AGAIN
web_1     | npm ERR! syscall getaddrinfo
web_1     | npm ERR! errno EAI_AGAIN
web_1     | npm ERR! request to https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz failed, reason: getaddrinfo EAI_AGAIN registry.yarnpkg.com
web_1     |
web_1     | npm ERR! A complete log of this run can be found in:
web_1     | npm ERR!     /root/.npm/_logs/2022-10-17T06_44_04_738Z-debug-0.log
web_1     | e_2202_web_1 exited with code 1

Traceback (most recent call last):
  File "/usr/local/bin/mypy", line 8, in <module>
    sys.exit(console_entry())
  File "/usr/local/lib/python3.10/site-packages/mypy/__main__.py", line 15, in console_entry
    main()
  File "mypy/main.py", line 95, in main
  File "mypy/main.py", line 174, in run_build
  File "mypy/build.py", line 187, in build
  File "mypy/build.py", line 270, in _build
  File "mypy/build.py", line 2867, in dispatch
  File "mypy/build.py", line 3244, in process_graph
  File "mypy/build.py", line 3322, in process_fresh_modules
  File "mypy/build.py", line 2087, in load_tree
  File "mypy/nodes.py", line 398, in deserialize
  File "mypy/nodes.py", line 3658, in deserialize
  File "mypy/nodes.py", line 3599, in deserialize
  File "mypy/nodes.py", line 275, in deserialize
  File "mypy/nodes.py", line 3073, in deserialize
  File "mypy/nodes.py", line 3658, in deserialize
  File "mypy/nodes.py", line 3599, in deserialize
  File "mypy/nodes.py", line 275, in deserialize
  File "mypy/nodes.py", line 843, in deserialize
  File "mypy/types.py", line 189, in deserialize_type

  File "mypy/types.py", line 1996, in deserialize
KeyError: 'unpack_kwargs'

Traceback (most recent call last):
  File "/usr/src/app/web/test_main.py", line 3, in <module>
    from .main import app
ImportError: attempted relative import with no known parent package

pre-commit設定時にエラーが出た
$ vim .git/hooks/pre-commit

$ git commit -m "URLの正規表現を作成した"                                                                                [feature/#22_remove_file_path_and_URL]
hint: The '.git/hooks/pre-commit' hook was ignored because it's not set as executable.
hint: You can disable this warning with `git config advice.ignoredHook false`.
[feature/#22_remove_file_path_and_URL 25c0acb] URLの正規表現を作成した
 1 file changed, 2 insertions(+)

実行権限をつけたら良い chmod 755 .git/hooks/pre-commit

Python
File "/usr/src/app/web/main.py", line 41, in __main__.parse_error
Failed example:
    asyncio.run(parse_error(ErrorContents(**error_text_query)))
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python3.10/doctest.py", line 1346, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest __main__.parse_error[1]>", line 1, in <module>
        asyncio.run(parse_error(ErrorContents(**error_text_query)))
    NameError: name 'error_text_query' is not defined


Damage Immunities not being detected if copied from D&D Beyond

I just noticed, that the import of a monster with damage immunities from D&D Beyond not works as expected.
The immunities will be completely empty even though the monster has a immunity.
As an example, see the Elder Brain Dragon here: https://www.dndbeyond.com/monsters/elder-brain-dragon
Because of copyright issues, I won't be able to paste the statblock into this Issue, hope the link is enough.

Fixed in v1.2.9. Thanks for reporting it.


click event is not working in input controlls

{
field: "claimID", width: 35, checkboxSelection: true, enableRowGroup: false, suppressFilter: true, suppressSorting: true, suppressMenu: true,
cellStyle: { 'text-align': 'center' }, suppressResize: true,
cellClass: ['white'],
headerCellRenderer: function(){
return '';
},
cellRenderer: function (params) {
if (params.value != undefined) {
if (params.data != null && params.data != undefined) {
checkboxSelection: false;
}
}
}
},

when iam applying from outside of the grid, those controlls could work.

i don't  understand the questions. if you think something is wrong with ag-Grid, please provide a plunker. if you are looking for help using ag-Grid, then please use stack overflow or our members forum (for customers). thanks.


Use of folder parameter for email/query folders does not work in v4.x

Unfortunately a change in the underlying O365 module has broken access to folders using the folder parameter in v4.x of the O365 integration. It is not a simple process to downgrade to the previous 3.x version because of some underlying file changes. If you only need the Inbox folder, do not configure the folder parameter.
So as to workaround and enable other folders you should do the following things:

Modify manifest.json so the O365 line reads O365==2.0.21 instead of 2.0.22.
Do not enable todo_sensors in your configuration.yaml

The fix for this is awaiting this PR - https://github.com/O365/python-o365/pull/885

Fixed by - https://github.com/RogerSelwyn/O365-HomeAssistant/releases/tag/v4.0.0b4


Alternative configuration for windows servers.

How would a alternative configuration on Windows Task Manager for:
* * * * * cd /path/to/project && php jobby.php 1>> /dev/null 2>&1

I'm concerned about the performance of a script running every time.

Why not just set the cronjob to run every hour instead of every minute? (assuming you dont need the minute resolution)
0 * * * * cd /path/to/project && php jobby.php 1>> /dev/null 2>&1

Yes, if you're concerned with performance, then you can of course run it less frequently. But then your jobs could run up to an hour later than in their schedule.
But I wouldn't be concerned with performance. If no jobs are schedule to run, it's a very small program. And jobby ensures that scripts do not start if they're already running.


tf.keras with dataset operates much slower without persistence mode

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.13.1 (from Anaconda)
Python version: 3.6.8 (Anaconda)
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10.0
GPU model and memory: Titan Xp 12 Gb

You can collect some of this information using our environment capture script
You can also obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the current behavior
I am training a straightforward Keras stacked LSTM model, using model.compile and model.fit. When I train using nvidia-smi with persistence mode off, GPU utilization is at ~5-10% and training ETA goes up 3x. When I turn on persistence mode, GPU utilization goes to 60% and stays there.
Describe the expected behavior
I would like this code to work without needing to enable persistence mode.
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
I can if deemed necessary.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


Some carto errors are written to stdout not stderr

In version v0.14.0 these errors are written to stdout:
. "carto: no input files ('carto -h or --help' for help)"
. "carto: please pass either a .mml file or .mss file"
. "carto: file does not exist: '" + input + "'"
Carto then immediately exits
I think the above errors should be using console.error() rather than console.log() so the messages are sent to stderr rather than stdout.
Interestingly git commit 19ac7b2fb072217a90edc081508a87d1c4111e40 attempts to fix this but I believe not quite fixing all cases properly.

fixed in edfb7ed


pandas_exercises/04_Apply/Students_Alcohol_Consumption/Exercises_with_solutions.ipynb Step 5. Capitalize

In step 5, the exercise question says to create a function to capitalize on strings. The function applied is x.upper(). Isn't it supposed to be x.capitalize(), as a capitalizing string means to make the first character as uppercase and rest as lowercase?
Step 5. Create a lambda function that captalize strings.
captalizer = lambda x: x.upper()

Expected:
Step 5. Create a lambda function that captalize strings.
captalizer = lambda x: x.capitalize()

You are correct. I updated the exercise. Thank you!


Asking about code

I am trying to reproduce the project and having difficulties understanding the code. Let this issue be the thread where I am asking anything about the project.
First question.
I see this code to produce outputs of Discriminator model:
    def forward(self, x):
        h = self.main(x)
        out_src = self.conv1(h)
        return h, out_src

I see that out_src is used in training, but I am not finding h used anywhere. What is h here? And how is it used in the project?
Thank you.

I appreciate your interest. The h is not being used in the project. I left it here for debugging purposes.

On Nov 25, 2022, at 7:31 AM, Zaki Indra @.***> wrote:
I am trying to reproduce the project and having difficulties understanding the code. Let this issue be the thread where I am asking anything about the project.
First question.
I see this code to produce outputs of Discriminator model:
def forward(self, x):
    h = self.main(x)
    out_src = self.conv1(h)
    return h, out_src

I see that out_src is used in training, but I am not finding h used anywhere. What is h here? And how is it used in the project?
Thank you.
—
Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/mahfuzmohammad/HealthyGAN/issues/4__;!!IKRxdwAv5BmarQ!drBvJjiqS7g6U2bjdvW-OMyNEAiA5jhTW_ypjagB5Jh9fR6qOkslzmUrxqyHZeR02NsffpLS2pvPwzYq75K4tTw$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABZNI4XUI7DIXDQIV2EXRNLWKDEVBANCNFSM6AAAAAASLMADYQ__;!!IKRxdwAv5BmarQ!drBvJjiqS7g6U2bjdvW-OMyNEAiA5jhTW_ypjagB5Jh9fR6qOkslzmUrxqyHZeR02NsffpLS2pvPwzYq4ZBWmo4$.
You are receiving this because you are subscribed to this thread.

Thank you for responding to my questions. I have another question.
What is the purpose of crop_top and central_crop? Is there any specific reason of why the percentage of `crop_top' was set to 0.15?

These are some utility functions to remove white spaces from the images. These are dataset-specific.

On Dec 5, 2022, at 8:29 AM, Zaki Indra @.***> wrote:
Thank you for responding to my questions. I have another question.
What is the purpose of crop_top and central_crop? Is there any specific reason of why the percentage of `crop_top' was set to 0.15?
—
Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/mahfuzmohammad/HealthyGAN/issues/4*issuecomment-1337577456__;Iw!!IKRxdwAv5BmarQ!fJHVOE-BRajUR2iCOCtzAZBWBidooIerXbJqvHiic1XPH2XqamA6js0fmCcsrSQ0d-AV8bZ_H8dr1sfsNJEd0Ag$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABZNI4V2HNKXOGYY37AMRPLWLYC4JANCNFSM6AAAAAASLMADYQ__;!!IKRxdwAv5BmarQ!fJHVOE-BRajUR2iCOCtzAZBWBidooIerXbJqvHiic1XPH2XqamA6js0fmCcsrSQ0d-AV8bZ_H8dr1sfsXxaiueU$.
You are receiving this because you commented.


Update _index.en.md

fixed typo
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for your contribution @kayuapi , I just added a minor comment to it. Please take a look and let me know if you have any questions.


networkmanager: cleanup

Motivation for this change
NetworkManager was updated in #16412 .

Upstream dropped the dependency on avahi-autoipd
There were a few unused things in the expression
Upstream is working on replacing dbus_glib with gio's native dbus support. NM itself (and some plugins) can be built without dbus_glib. But if you want libnm-glib (deprecated) you still need dbus_glib. Since nm-applet still used libnm-glib we have to build the legacy api :disappointed:

Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cc @obadz

thanks :+1:

I think this is causing this test failure http://hydra.nixos.org/build/37088330
Though not sure why this test isn't showing in hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents

@obadz: I think the test was already failing here: http://hydra.nixos.org/build/37072853
If you click on the input change, it seems my change is not involved.
Also networkmanager isn't even included in the test, is it?


OpenSearch endpoints

Razor documentation
MDN documentation
Response format
We'll likely need different endpoints for each supported language. Additionally, since the item name XIVAPI query will occur on my server, we'll need to get an API key to avoid being rate-limited. Alternatively, we can try to use some other item name query API.

We might be able to quietly hijack https://www.garlandtools.org/api/search.php?text=wool&lang=en for the time being, but I think we'll eventually need to set up an actual lookup here.

To keep things lightweight, this might be able to be migrated to a separate logical service written in Go or something.

Or in Rust with askama.

Change of plans, just adding a bit to the frontend that prefills the search bar and does a search.
Reference code: https://gist.github.com/cking/7c183b42eb1dc7a49a4d4d7048add89b

I noticed that mogboard already has an OpenSearch metadata file in its public directory, I just need to expose that through nginx.


Allow to review one's video

No need to automatically play the video in mute. But allow clicking the video to play it in large screen with sound.

Fixed

It doesn't work for me

Moreover there is some weird cursor down and three points instead of the play icon.

Fixed. It was too small and the drop handler was restarting the video on click.


Q about brain_generator constructor prior_means variable when prior_distributions='uniform'

This is a question, not an "issue".
When the brain_generator constructor is called with prior_distributions='uniform', the documentation says the  prior_means variable can be set to:

a sequence of length 2, directly defining the two hyperparameters: [min, max] if prior_distributions is uniform

Don't a min and max need to be defined for each of the K classes?

Not necessarily, if all the K classes have the same min and max, then you can just specify those two values as a list to prior_means.


V should be run with GC on

It’s quite strange to compare implementations when other languages clear allocated memory (spending time on this), but V does not:
==113615== Memcheck, a memory error detector
==113615== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==113615== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==113615== Command: ./nqueen
==113615==
2279184
==113615==
==113615== HEAP SUMMARY:
==113615==     in use at exit: 277 bytes in 6 blocks
==113615==   total heap usage: 7 allocs, 1 frees, 1,301 bytes allocated
==113615==
==113615== LEAK SUMMARY:
==113615==    definitely lost: 277 bytes in 6 blocks
==113615==    indirectly lost: 0 bytes in 0 blocks
==113615==      possibly lost: 0 bytes in 0 blocks
==113615==    still reachable: 0 bytes in 0 blocks
==113615==         suppressed: 0 bytes in 0 blocks
==113615== Rerun with --leak-check=full to see details of leaked memory
==113615==
==113615== For lists of detected and suppressed errors, rerun with: -s
==113615== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Moreover, without GC, V has memory leaks even in simple programs [1], which makes comparing speed without GC even more strange, unless of course language adherents want to look better than they really are (which V has been doing since the very beginning of its existence).
[1] https://n-skvortsov-1997.github.io/reviews/#manual-memory-management

Yes, I totally agree! I think Petr is right about V, it should be fixed 👍
After posting this text in the comments you will receive 100 rubles on your bank account. Don't forget to delete this part of the message.

Ok, I think adding GC back is fair.

Now V has GC enabled and also reads N from command-line arguments. Almost no changes in performance.

ah, it looks like the commit that added this flag had no impact, so adding it back didn't change anything

I know some people have complained about V, but I am quite impressed by it through this benchmark exercise. When I get time, I will port sudoku and bedcov to V and see how it feels to write V given more complex tasks.

I know some people have complained about V, but I am quite impressed by it through this benchmark exercise. When I get time, I will port sudoku and bedcov to V and see how it feels to write V given more complex tasks.

Yep, V is very cool, I really love it syntax


Navigation does not work in non chromium browsers.

#19 broke internal links, the url updates, but the UI does not. So you need to refresh after nav to get the right page.

Astro release that fixes it.


feat: update SDK generated code, add rtmp broadcast call endpoints

Updating SDK.
Add 3 new methods for call rtmp broadcasts

Closing in favor of #39


FR: header Increment start at level 2

Is Your Feature Request Related to a Problem? Please Describe.
Within the core config you can now specify the title to be inlined within your note.  This removes the need of the "File Name Heading" option.  This has a side effect where Header Increment doesn't see a level 1 heading anymore and will convert level 2 headings to level 1.   I want to keep the Header Increment option enabled since it adds a lot of value, but also would like to use the default Obsidian setting for the title.
Describe the Solution You'd Like
Is it possible to add an option to check if the obsidian title option is set, and if header increment is set to start heading levels at 2?

I believe that this is a duplicate of #412 . Please let us know if this is different.

Opps, I didn't see it when I searched, sorry about that.  I'll go ahead and close this ticket.


[Question/request] Navigation bar tweak...

Is it possible to align a "li" object to the bottom of "sidebar-menu"? If so, how?

Yeah,
You can give the <li> item this css:
position: absolute;
bottom: 0;
left: 0;
right: 0;


Factorio build isn't allowed with allowUnfree set.

Issue description
It appears the allowUnfree handling is broken somehow for at least the Factorio derivation.
root@lenovo /e/nixos (master)> nixos-rebuild switch -j 8
building Nix...
building the system configuration...
error: Package ‘factorio-alpha-0.15.34’ in /nix/store/cw6xscxg5y6vriyc2brg05h23vk3yj64-nixos-17.09.1813.bf3dbc2b38/nixos/pkgs/games/factorio/default.nix:90 has an unfree license (‘unfree’), refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

(use ‘--show-trace’ to show detailed location information)
root@lenovo /e/nixos (master) [1]> nix-repl '<nixpkgs>' '<nixpkgs/nixos>'
Welcome to Nix version 1.11.15. Type :? for help.

Loading ‘<nixpkgs>’...
Added 7870 variables.

Loading ‘<nixpkgs/nixos>’...
Added 5 variables.

nix-repl> config.nixpkgs.config.allowUnfree
true

Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
17.09.1756.c99239bca0 (Hummingbird)
Nix version: (run nix-env --version)
nix-env (Nix) 1.11.15
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
"17.09.1813.bf3dbc2b38"
Sandboxing enabled: (run grep build-use-sandbox /etc/nix/nix.conf)
build-use-sandbox = false

This broke a day ago for me and I've not changed the Factorio or unfree config in at least a month.

What's double weird about this is that on another machine I get a login failed error.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Did you do a) or b) ?

@FRidh a) As you can see from the bottom of the big shell listing.

Right, I figured out this was because of the way I tried to reference it within one nix file which was imported into the file that defined the unfree config.


Highlight created repository count

I would like it to be possible to highlight the number of repositories a user has created, not the ones he has forked. Indeed, some users fork hundreds of repositories without making any changes to them, and this distorts a little bit the number of repositories.
Actually, the number is the forks + the created repositories. It would be nice if the number of created repositories were highlighted and the number of forks and if the number of forks was put a little bit in the background.
Example URL:

https://github.com/user

I kinda like this idea, but you can already determine those counts using the Type dropdown:

Oh, you're right. Couldn't we do something more visible? Like, for example, when you hover over the span, it displays something like this? (and when you're now hovering it, it displays the fork + owned repository count)

Since we already show the “Source” repos by default, it would make sense to update that number in the sidebar to only count those.
The global search has a counter widget, we might be able to use that so that this feature can be implemented as easily as
tabNumber.replaceWith(<counter query="...."/>) // I don’t remember the widget name actually

That's a good point! I didn't notice that :)

No longer applies since there are no counters anymore, but refer to https://github.com/sindresorhus/refined-github/pull/3286


Yosys plugin generating incorrect ZeroExtends

When using the Churchroad Yosys plugin, I'm seeing that there are multiple ZeroExtends that aren't correct. Consider the following module:
module my_module(
    input a,
    input b,
    output[1:0] o,
);
    assign o = {a, b};
endmodule

Running yosys -m $CHURCHROAD_DIR/yosys-plugin/churchroad.so -q -p "read_verilog -sv my-module.v; prep -top my_module; pmuxtree; write_lakeroad" yields:
; wire declarations
; a
(let v0 (Wire "v0" 1))
; b
(let v1 (Wire "v1" 1))
; o
(let v2 (Wire "v2" 2))

; cells
; TODO not handling signedness
(let v3 (Op1 (ZeroExtend 2) v1))
; TODO not handling signedness
(let v4 (Op1 (ZeroExtend 2) v0))
(union v2 (Op2 (Concat) v3 v4))

; inputs
(let a (Var "a" 1))
(IsPort "" "a" (Input) a)
(union v0 a)
(let b (Var "b" 1))
(IsPort "" "b" (Input) b)
(union v1 b)

; outputs
(let o v2)
(IsPort "" "o" (Output) o)

; delete wire expressions
(delete (Wire "v0" 1))
(delete (Wire "v1" 1))
(delete (Wire "v2" 2))

v2, which is the output of the module, is being assigned the concatenation of v3 and v4, each of which are respectively a and b zero-extended to be of bitwidth 2. This means that we're unioning two things of different bitwidth!

I'll try to dig into this a little bit tonight!

The bug is here:
https://github.com/uwsampl/churchroad/blob/cb9195421c4c58070a4b964cd5636b8198250750/yosys-plugin/churchroad.cc#L1558-L1559
Basically, we're extending the inputs before the concat, which is useful e.g. when implementing things like Add and And (i.e. ops where the inputs and output are all the same bitwidth), but Concat does not have the same behavior. It's output bitwidth is the sum of its input bitwidths. thus, the inputs don't need to be extended to match the output bitwidth.


Small simplification of kubernetes.PrintList

Use reflect instead of big type switch that was prone to errors.
This should prevent future errors, where we forgot add new type to that git  switch.

Coverage increased (+0.3%) to 46.942% when pulling 9c90273628ebb3faab7267d83f1747a865659a32 on kadel:simplify-printlist into 6e260bab0bcc604fc907da2f15522ee2cf5ffb21 on kubernetes-incubator:master.

Coverage increased (+0.3%) to 47.007% when pulling 3cf6866dd0301a88568fe5c43822c360e36fc2ec on kadel:simplify-printlist into 4b3094d8acb5af5c676b92cdcd7530c925372841 on kubernetes-incubator:master.


MVP of AP-ALB demo with wireguard for private networking

refs:

MVP of AP-ALB demo with at least one Virtual Private Network #20
ALB v0.8.x and clustering related options #17
About Wireguard:

https://www.wireguard.com/
https://courses.csail.mit.edu/6.857/2018/project/He-Xu-Xu-WireGuard.pdf
https://lists.zx2c4.com/pipermail/wireguard/2017-November/001896.html

Ansible Role: https://github.com/mawalu/wireguard-private-networking

We will use for the first clustered demo as VPN implementation Wireguard. And the external Ansible role very likely will be https://github.com/mawalu/wireguard-private-networking.
Note: the Wireguard role (like the Consul external role) are not part of AP-ALB, and are used on demo just as example. Wireguard is not considered as production-ready / enterprise friendly than other VPN solutions, and merging Wireguard inside AP-ALB would make the full AP-ALB not production-ready (considering high standards). AP-ALB just should work very fine with private networking, and since I really want to make working demos, we will do with this one.

This seems to affect #34. By using the https://github.com/githubixx/ansible-role-wireguard on https://github.com/fititnt/ansible-linux-ha-cluster it conflict with AP-ALB/HAProxy (only on Debian 10).
root@ap-foxtrot-debian10:~# apt install haproxy=2.0.\*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '2.0.11-1' (Debian:unstable [amd64]) for 'haproxy'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 haproxy : Depends: libcrypt1 (>= 1:4.1.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@ap-foxtrot-debian10:~# apt install haproxy=2.0.*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '2.0.11-1' (Debian:unstable [amd64]) for 'haproxy'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 haproxy : Depends: libcrypt1 (>= 1:4.1.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@ap-foxtrot-debian10:~# apt policy haproxy
haproxy:
  Installed: 2.0.11-1~bpo10+1
  Candidate: 2.0.11-1~bpo10+1
  Version table:
     2.0.11-1 90
         90 http://deb.debian.org/debian unstable/main amd64 Packages
 *** 2.0.11-1~bpo10+1 100
        100 http://haproxy.debian.net buster-backports-2.0/main amd64 Packages
        100 /var/lib/dpkg/status
     1.8.19-1+deb10u1 500
        500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
     1.8.19-1 500
        500 http://asi-fs-n.contabo.net/debian buster/main amd64 Packages

Done on https://github.com/fititnt/ansible-linux-ha-cluster.
Actually, is even possible to implement cross-platform clusters (see #34). Very interesting.


fix(collapseSamePrefixes): missing collapse when prefix did not match from beginning

Description
The previous implementation only compared prefixes of files/folders with all previous names at once.
Now, the algorithm walks incrementally from the previous folder name to try to find a prefix match.
Prefix matcher implementation:
Previous:
A/B/C/X -> X.startsWith("ABC")?

New:
A/B/C/X -> X.startsWith("C"), X.startsWith("BC"), X.startsWith("ABC)?

Also updated and added missing docs in README.
Linked Issues
Fixes #546
Additional context
The algorithm is now O(n^2) but folder depths of components are not as deep as to cause trouble (hopefully).

Will add a perf optimization:
Only try to match if parentFolder is matched inside current fileOrFolderName.

My perf optimization didn't make sense.
This PR should be good to go.


Unable to use other plugins that use D3D9

With the new shaderpatch released, I am unable to use other plugins that use a D3D9.dll for effects such as Reshade. Is this intentional?

Yes and no.
Shader Patch presents itself as being Direct3D 9 to the game but does not use it. And it only implements the specific D3D9 functionalty the game needs, so trying to run general D3D9 applications against Shader Patch would result in SP fast failing (intentional crashing) the instant it used something it didn't support.
So that's the yes answer, it's intentional in the sense Shader Patch wants to use (and does) features provided by Direct3D 11 and as a result warps the game's calls to do just that. This incidentally breaks anything else that wants to come along and hook the game's Direct3D 9 calls.
But now for the no answer. Shader Patch doesn't take any special action to attempt to block other things hooking graphics API functions. The key thing is it uses Direct3D 11, so whatever you're wanting to use in addition to it must target Direct3D 11.
In your case Reshade targets all graphics APIs (more or less). Now I don't use Reshade or anything like them (they're far too overbearing for me) but I think all you have to do is rename the Reshade dll to d3d11.dll and it'll just work. I could be wrong though.
I think there is still one last snag though, if Reshade still tries to hook D3D9 as well as D3D11 it could very well crash the game. If this does happen it isn't anything I can fix and is a problem with Reshade's hooking logic.

Interesting. If that's the case with Reshade like you said about renaming Resahde to "d3d11.dll" than I should use the Reshade Directx 11 dll instead of the D3D9 dll. Thank you for the reply though, I understand why you don't use Reshade, it hasn't been good in recent years.

I decided to uninstall Reshade and another plugin I was using and an older shaderpatch,  but now when I use the newest shaderpatch the game just crashes right away. I don't even get to the title screen. The shader patch log just says
"Shader Patch log started. Shader Patch version is v1.0.0-rc.4
[ERROR]   07:06:07 Failed to create Direct3D 11.2 device!"
Last I checked I

That's weird. I assume you're aware of the Windows 10 requirement (end of the first paragraph, probably should've made it more obvious) Shader Patch has? What GPU are you using? It's possible I've poorly selected the minimum required D3D feature level.

That could be the issue, I don't use Window 10 I use Windows 7. My GPU is a GTX 1080. The older Shader Patch works but not the new one.

Yeah the OS is definitely the problem here.
The Extended Security Updates offer for Windows 7 seems to be targeted at enterprise customers (they've only announced it for Pro licenses and higher) and I'd guess will likely have a price point to match. Given that the people that I'd expect to be interested in SP will typically be running on a personal device support for Windows 7 will still end at the end of the year for them.
But in any event it's kind of moot. As you discovered Shader Patch already depends on and uses features from Windows 8 and Windows 10. Working around these missing features is possible but after a conversation with folks on the Discord server and factoring in the impending end of support for Windows 7 I decided that it wasn't worth the (non inconsequential) time investment.
I am really sorry that this means you're unable to use SP; since I'd love another user (or perhaps more correctly, hate to lose one). But it is what is; Windows 7 is just outdated now sadly.

I understand, I don't know when support for Windows 7 will end but it will end eventually unlike Windows 10 which will just get updates from now on. I don't see myself upgrading to Windows 10 in the future, most likely I would upgrade to Linux because of Windows 10's layout being strange to me and the intrusive addons/spyware it has. If they would have an option to have Windows 10 function similar to Windows 7 and have the same UI than I may switch to it, but it doesn't have that. I've seen Linux have a feature like this. But the biggest issue I have with Windows 10 is that it doesn't always work with older games and almost every game I play is old such as Star Wars Battlefront 2 (Windows 10 updates often break older games even if they are working). Many older games I play I've seen users have issues with Windows 10 or 8, issues ranging from memory issues to just not even launching. But thank you for helping me out and taking time out of your schedule to reply to me. I just have one last question. Is it possible for Shader Patch to implement Soft Particles or Dynamic Shadows? I ask this because there is another plugin that someone has made for a game from 2004 which has these two features and more, but I guess in the end it all depends on the game's engine.

I've never personally had a major issue with playing an old game on Windows 8 or Windows 10. (Any more so than I did with Windows 7.) But yeah there's nothing wrong with saying Windows is no longer for you and grabbing a Linux distro.

Is it possible for Shader Patch to implement Soft Particles or Dynamic Shadows? I ask this because there is another plugin that someone has made for a game from 2004 which has these two features and more, but I guess in the end it all depends on the game's engine.

Now you'll have to clarify what you mean by "Dynamic Shadows" because SWBFII already has shadows, and they seem reasonably dynamic to me. But I absolutely have thought about adding soft particles. The only big thing that worries me about adding them in some form is that it'd mean having to bind the depth buffer for reading, which can make all subsequent uses of the depth buffer slower for the rest of the frame. But we'll see maybe in a future version it'll be added as a feature that can be switched on or off.

I thought the shadows were a bit static, in a way that some objects that you expect to cast a shadow don't cast a shadow. Also I thought the shadows in SWBFII were built into the models themselves. Some games I've seen also have shadows just like this, where the shadows are built into the models. One of the games that I play which has Dynamic Shadows as a mod will cast the shadows more accurately based on the model, it won't use the shadow that is already built into the model. But your right I don't think shadows are really needed that much now. I think the two best features that can make Battlefront 2 look even better would be some type of SSAO and Soft Particles (maybe DOF or Motion Blur), but these two are also the most difficult I imagine since they involve the depth buffer.


Tokio support

Plans to switch from mio to tokio?
This would make scaproust play nice with the async ecosystem(also compiling the code throws a lot of deprecation warnings).

I've been scratching my head about this for quite some time now (see the TODO.MD file) and I think this really needs to be done, for a lot of reasons. The problem is:

I don't see yet how to implement load-balancing and fair queuing with tokio the way they are in nanomsg. That's because mio readiness events are not exposed via tokio.
I almost don't have time at the moment for side projects and switching to tokio is a big change.

When I'll have some time, I will probably create a new library over tokio rather than changing scaproust. It will probably be closer to mango and less like the original C API.


Unit tests and improved code base.

80+% code coverage.
Generally refactored the codebase. Improved code style, removed dead code, simplified the code.
Performance improved.
- Usage of new simpler algorithm inside the adapter.
- View holder pattern added for ad views.

Current coverage is 77.91% (diff: 77.77%)

No coverage report found for master at 51f5ab7.

Powered by Codecov. Last update 51f5ab7...d2cef68


Allow to mark unreachable code as excluded from code coverage

I have this code:

// Make sure all ranges are valid
assertFn(() => {
	function validatePosition(pos: Position, lines: string[]): boolean {
		if (pos.lineNumber < 1 || pos.lineNumber > lines.length) { return false; }
		const line = lines[pos.lineNumber - 1];
		if (pos.column < 1 || pos.column > line.length + 1) { return false; }
		return true;
	}

	function validateRange(range: LineRange, lines: string[]): boolean {
		if (range.startLineNumber < 1 || range.startLineNumber > lines.length + 1) { return false; }
		if (range.endLineNumberExclusive < 1 || range.endLineNumberExclusive > lines.length + 1) { return false; }
		return true;
	}

	for (const c of changes) {
		if (!c.innerChanges) { return false; }
		for (const ic of c.innerChanges) {
			const valid = validatePosition(ic.modifiedRange.getStartPosition(), modifiedLines) && validatePosition(ic.modifiedRange.getEndPosition(), modifiedLines) &&
				validatePosition(ic.originalRange.getStartPosition(), originalLines) && validatePosition(ic.originalRange.getEndPosition(), originalLines);
			if (!valid) { return false; }
		}
		if (!validateRange(c.modified, modifiedLines) || !validateRange(c.original, originalLines)) {
			return false;
		}
	}
	return true;
});

range.startLineNumber < 1 || range.startLineNumber > lines.length + 1 should never happen, thus code coverage marks it as red.
However, when using code coverage as signal of how well the code is tested, this is causing a false positive.
Is there a way to tell the code coverage system that this is okay? Basically to exclude it from coverage?
I like how sqlite solved this in 7.2. Coverage testing of defensive code, by introducing ALWAYS.
This is also an interesting read.

We use istanbul for coverage, and they have comments you can use for this: https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md
I think this should be left up to coverage tools / extensions to do rather than something in VS Code, since we don't know how to interpret the grammar of arbitrary languages (what would 'ignore the next statement' mean?)


Value of z_lens with too much precision causes error

pyHalo version: 0.2.8
Python version: 3.11.6
Operating System: Ubuntu 23.10

Description
Unexpected error when creating a CDM realization using the pyHalo.preset_models.CDM method.
I was tabulating properties of CDM realizations across different host halo masses / lens redshifts and came across an unexpected error.
It appears that including too many decimal places when specifying a z_lens value causes a crash.
For example:
realization = CDM(z_lens=0.333,z_source=2, sigma_sub=0.3,log_mlow=8,log_mhigh=9,LOS_normalization=0.0,log_m_host=13.18888)
crashes
But
realization = CDM(z_lens=0.33,z_source=2, sigma_sub=0.3,log_mlow=8,log_mhigh=9,LOS_normalization=0.0,log_m_host=13.18888)
executes fine
traceback
Exception Traceback.txt
This problem can be worked around by using np.round to round the value of z_lens before passing to CDM, but I figured this issue could be quite confusing to encounter.

Hi @cgannonucm, yes thanks for pointing this out. It's true that due to some settings hard-coded in pyHalo there can be rounding errors that cause division by zero if one specifies lens redshifts to more than two decimal places of precision. I plan on fixing this issue in the next pypi release


all tables responsive

Made all tables responsive for all devices and browsers

This is OK to close since the v1 frontend is going away soon in favor of https://github.com/mikeghen/goalz-app (currently private repo)


[master] Bump Mesos to nightly master fd362da

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Changelog:
https://github.com/apache/mesos diff
https://github.com/dcos/dcos-mesos-modules diff

[ ] Test Results: [link to CI job test results for component]

[ ] Code Coverage (if available): [link to code coverage report]

All failures are due to https://jira.mesosphere.com/browse/DCOS_OSS-3558 will override them now.

@mesosphere-mergebot override-status teamcity/dcos/test/aws/cloudformation/simple https://jira.mesosphere.com/browse/DCOS_OSS-3558

@mesosphere-mergebot override-status teamcity/dcos/test/aws/onprem/static https://jira.mesosphere.com/browse/DCOS_OSS-3558

@mesosphere-mergebot override-status teamcity/dcos/test/azure/arm https://jira.mesosphere.com/browse/DCOS_OSS-3558

@mesosphere-mergebot override-status teamcity/dcos/test/dcos-docker/static https://jira.mesosphere.com/browse/DCOS_OSS-3558

@mesosphere-mergebot bump-ee

Your pull request's branch is not based on the most recent version of master. Please rebase your changes against this repo's master branch.

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot bump-ee

Your pull request's branch is not based on the most recent version of master. Please rebase your changes against this repo's master branch.

@mesosphere-mergebot bump-ee


SLES 15 clarity

The documentation specifically calls out SLES 11 & 12.
Now that SLES 15 is out - can that call out be made whether it is supported or not.
Link for reference:
https://docs.microsoft.com/en-us/azure/automation/automation-update-management?source=docs#clients
SUSE Linux Enterprise Server 11 (x86/x64) and 12 (x64)
Thank you,
Ryan

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

ID: db47901d-1664-058d-9407-47e932dc9661
Version Independent ID: e90ec9ee-e7da-4f19-248f-4c825aaa8b9f
Content: Azure Automation Update Management overview
Content Source: articles/automation/automation-update-management.md
Service: automation
Sub-service: update-management
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@rymcklve, Thanks for the question! We are taking a look into this and will get back to you soon.

Assigning @MGoedtel for visibility, review and document enhancement consideration.

@rymcklve - Support for newer versions of an operating system is based on the product team and if they have performed whatever validation(s) are required to verify that version is supported with the feature.  I have not received any input from the PMs that SLES 15 is supported at this time.  Once I do, the article will be updated accordingly.  I'll also bring this up with them this week when I meet with them.  #please-close since this isn't a documentation issue.


What is the easiest way to set custom icons in django_adminlte_theme?

What is the easiest way to set custom icons in django_adminlte_theme? I obviously want every app to have its own icon. Do you think it is worthwhile storing the icon choices in the database? Or in the settings so that it is even easier to adapt django_adminlte_theme?

I @johanovic, can give me a little more detail regarding which icons you are referring to?

Closing due to inactivity. Feel free to reopen.


Change attached and detached lifecycle hooks in key-nav mixin

Changed for mounted and destroyed respectively to fix not working arrow keys navigation.

Hello,
I've always wondered why vue-devtools doesn't have support for arrow keys navigation in component tree view. I've decided to check it out in code and it looks like it was already there - the only problem was that it was still using removed lifecycle hooks (attached and detached). After changing to mounted and destroyed keys navigation works like charm.
Hope this could be merged and thank you for all the hard work you put into Vue.js!

woah, totally missed this one upgrading to 2.0! thanks!


Update liquid dependency

liquid is now in 3.0, with github-pages using 2.6.
when using github-pages with jekyll-slim, you get:
Bundler could not find compatible versions for gem "liquid":
  In snapshot (Gemfile.lock):
    liquid (= 2.6.2)

  In Gemfile:
    github-pages (>= 0) ruby depends on
      liquid (= 2.6.2) ruby

    github-pages (>= 0) ruby depends on
      jekyll (= 2.4.0) ruby depends on
        liquid (~> 2.6.1) ruby

    jekyll-slim (>= 0) ruby depends on
      sliq (>= 0) ruby depends on
        liquid (~> 2.5.5) ruby

I had updated dependencies, and I'll appreciate if you'll check if it works good. Check this out: https://github.com/dmitryzuev/sliq/tree/feature-versions-update
Add this to your Gemfile:
gem 'sliq', git: 'git@github.com:dmitryzuev/sliq.git', branch: 'feature-versions-update'
I had also made pull request to this repo: #3

that should be github: 'dmitryzuev/sliq' since we can't access your private git URL.
thanks for the update @dmitryzuev!


Emojis got question marks and shrinked in size

Environment
Windows build number: 18363
Windows Terminal version: 0.11.1121.0

I have "Oh My Posh" module and Cascadia Code PL set as default font

Steps to reproduce
Windows key + Period key. Type in some emoji
Expected behavior
I do expect that when you type in some emoji it will actually show them in the line without any question markings and they all be in the same size.  Further you will see the screenshot about the subject.
Actual behavior

Most of the emojis are question marked in the line;
Particular emojis are clearly smaller than other.

It's PowerShell 5.1

This looks like a /dupe of #900 and https://github.com/PowerShell/PSReadLine/issues/1329


Make File Now Accepts Multiple Flags

Fixes #112.

Just to be clear, this allows for a --dropdata, --nodebug or both flags and works as excepted?

Correct. You can specify either flag or both, and it will work as expected either way.


 Should I close it and open a new one or can you fix it?

You can force push in that branch

Try to merge from master and don't mind the extra commits.. we are squashing our PRs anyway!

Rebased on master to fix the commit and conflict issues.

But force push could be avoided, to not ruins OP local branches..

Force push doesn't ruin anything. You can git pull --rebase and you're all set.


Wireless - my adb device is disconnected when removing usb

https://forums.oculusvr.com/community/discussion/67294/adb-wireless-scrcpy-adb-device-disappears-on-usb-disconnect
its like that but im on windows

Is your device an Oculus Go?

its asus ze552kl sir

What if you first disconnect usb, then adb connect?

it seems when i plug the usb and adb devices my device is available and when unplug its gone.

Just follow those steps in -> http://codetheory.in/android-debug-bridge-adb-wireless-debugging-over-wi-fi/


feat(turnloadbalancer): add possibility to add annotations

This PR adds the possibility to add annotations to the turn service.
One use case for this is e.g. to specify a external-dns.alpha.kubernetes.io/hostname annotation for external-dns.

lgtm!


PARQUET-1227: Thrift crypto metadata structures

@ggershinsky could you please copy the changes by @zivanfi and me in #94? It looks like they are not copied over to the C++ thrift files.

@nandorKollar , @zivanfi certainly, this is on my todo list for early next week (need to prepare changes in another C++ PR first).

@thamht4190 , the Parquet Thrift with encryption support has been merged in parquet-format. There have been a number of changes (such as use of unions instead of enums) - please take this into account in the PR475. Once done, we'll start the Java-C++ encryption interoperability tests.


error during building strongbox-npm-metadata on windows

[ERROR] Failed to execute goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:1.0.0-alpha4:generate (default) on project strongbox-npm-metadata-jackson: Execution default of goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:1.0.0-alpha4:generate failed: Unrecognised URI, can't resolve this: file://C:buildsstrongbox-npm-metadata2strongbox-npm-metadata-jackson/target/generated-resources/META-INF/common.schema.json: For input string: "buildsstrongbox-npm-metadata2strongbox-npm-metadata-jackson" -> [Help 1]

I don't know how to create a pull request, so here is a fix:
1771.txt

Hi @gmlag ,
Thanks for reporting this!
Could you please paste the complete output of your mvn --version? What version of Windows are you running this on?
You can also have a look at these links:

https://strongbox.github.io/developer-guide/getting-started.html
https://strongbox.github.io/developer-guide/git/rebase-vs-merge.html

In order to create a pull request, you need to fork the repository and fix it in a branch in your repository and then open a pull request against our repository once it's done.
@sbespalov : How do you find the proposed fix?

I would wait for PR to say something :)

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)                                                                                Maven home: C:\builds\APPS\apache-maven-3.6.3\bin..                                                                                Java version: 1.8.0_232, vendor: Azul Systems, Inc., runtime: C:\Program Files\Zulu\zulu-8\jre                                                                                Default locale: en_GB, platform encoding: Cp1252                                                                                OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

replaceAll method treat strings as regexp's, so it won't work for windows paths.
but changing replaceAll() -> replace() doesn't solve all the problems and to make it work on all platform it's better to use standard class to build file URI, instead of manual string construction

I would strongly recomment upgrading to the latest versions of Maven 3.x and JDK8.

https://github.com/strongbox/strongbox-npm-metadata/pull/13

@gmlag ,
Thanks for reporting this and for proposing a fix! This was fixed differently by @AricMonary in #1932 (via strongbox/strongbox-parent#119).


plot

following from #14 implement Plot

I have this working correctly in a notebook, I am just waiting for a cascade of merges so that I don't have to keep resolving conflicts which I create by writing scripts in parallel rather than in series.


GA4 raw data format can break google / organic gclid fix

It seems that Google has started sometimes setting source and medium values to google / organic when a visitor clicks an ad.
This breaks the code that we use to fix google / cpc source/medium values that are mis-attributed to google / organic in the stg_ga4__events file.
detect_gclid as (
    select
        * except (event_source, event_medium, event_campaign),
        case
            when (page_location like '%gclid%' and event_source is null) then "google"
            else event_source
        end as event_source,
        case
            when (page_location like '%gclid%' and event_medium is null) then "cpc"
            else event_medium
        end as event_medium,
        case
            when (page_location like '%gclid%' and event_campaign is null) then "(cpc)"
            else event_campaign
        end as event_campaign
    from include_event_key

Here's a graph of raw event counts by day with a page_location containing 'gclid' by medium for one site:

This image shows source and medium appearing in the event_params.key fields. The values are truncated to protect private data, but the values for source / medium are 'google / organic'.

I've confirmed that this is an issue on older GA4 properties.
I know we don't like adding variables whenever we can avoid it, but I think the fix has to be that we add a variable like use_google_ads_manual_utm_for_attribution and if that's true then we use event_source, event_medium etc... in stg_ga4__events and otherwise default to automatically setting source / medium when a gclid is detected.
We also need to verify that manually tagged UTMs from Google Ads set the source / medium to the tagged values rather than google / organic.
What are your thoughts? Are any of you working on a site that manually tags UTMs from Google Ads?
@adamribaudo @willbryant

It occurs to me now that I think about it that we don't need a variable.
We can just do something like this:
        case
            when (page_location like '%gclid%' and event_medium is null) then "cpc"
            when (page_location like '%gclid%' and event_medium = 'organic') then "cpc"
            else event_medium
        end as event_medium,

@dgitis in my affected GA4 dataset, I see the campaign value is also set to "organic". Are you seeing similar?
If so, would the resolution then also update the campaign case statement so campaign gets the same conversion to "(cpc)? Something like this?...
detect_gclid as (
    select
        * except (event_source, event_medium, event_campaign),
        case
            when (page_location like '%gclid%' and event_source is null) then "google"
            else event_source
        end as event_source,
        case
            when (page_location like '%gclid%' and event_medium is null) then "cpc"
            when (page_location like '%gclid%' and event_medium = 'organic') then "cpc"
            else event_medium
        end as event_medium,
        case
            when (page_location like '%gclid%' and event_campaign is null) then "(cpc)"
            when (page_location like '%gclid%' and event_campaign = 'organic') then "(cpc)"
            else event_campaign
        end as event_campaign
    from include_event_key

Yes, my answer was incomplete. Your code should resolve this issue completely.
Feel free to clone the dbt-GA4 repository, create a branch, make your changes, publish the branch and then submit a PR. You'll get credit that way for your contribution. It's a good first contribution.

The fix seems straight-forward, thanks. I'm just a little hung up on whether it's appropriate to override the medium to cpc when the URL has utm_medium=organic. Does anyone know why this behavior changed?

The issue is with medium=organic and not utm_medium=organic. Before, Google used to have medium=null and then would set the medium to organic based on its server-side rule set.
Now they seem to be moving the attribution logic client-side, so a visit from Google Ads with no UTM codes is sometimes set to null and sometimes set to organic where our CPC fix currently only fixes the when the medium is null. I believe this happened when Google started setting source and medium fields on the session_start and first_visit events.
I do understand your hesitation with overriding UTM codes. This fix would override utm_medium=organic because that will then set medium=organic, but it shouldn't be an issue in practice as no one can add UTM codes to legitimate organic traffic and this only overrides the medium when a gclid is present.
If you want, I can add logic to extract the UTMs in the case statement and use those first, but I think it won't change anything in practice as it seems unlikely that anyone would want to set the UTM to organic on Google Ads traffic.
It occurs to me that the test in the PR needs to be changed to test against original_page_location rather than page location. I'll fix that now.


allow airgapped switch network instances

Somehow this had fallen off the truck; used to work a while back.

@rvs @nordmark how may look such test?

I think all you need to do @sadov is to create an Eden config according to the specification that this PR addressed -- you can also take a look at the commercial controller and what configs it creates when asked for an airgapped switch network.

I added 'none' type of uplink into https://github.com/lf-edge/eden/pull/593, so, will wait for merge.
@rvs do we have any plan of tagged version of EVE (with this commit) to update it inside Eden?

do we have any plan of tagged version of EVE (with this commit) to update it inside Eden?

well, this is in master -- hence getting released on the next train (6.5.0) that is expected to happen tomorrow @giggsoff


[Bug] Receive Saved relays! green message too often

The message appears when relays are not changed, and the relay list is emptied.
Version 1.114.0., Firefox 127.0.2, MacOS Sonoma 14.5 on Intel.  Problem persists after I've disabled all other brower extensions.

This is a known issue. Mostly an annoyance, but still a bug.
Will try to fix it for next release. In case some other dev wants to look into it: it's due to the fact that the relays list in theis auto-saved on each change. And loading a profile is technically changing this list on the screen, hance firing the save, hence displaying the message. We should not do this if the list has not change, or if it's the first load or something like this.


ISPN-16802 Reduce javadoc warnings

https://issues.redhat.com/browse/ISPN-16802
Pretty big PR with the intent to greatly reduce the Javadoc warnings our build generates.
Some warnings are impossible to remove (e.g. the use of Unsafe)

Build is green

I have normalized all the resp commands using the following format:
CMD

@see CMD
@since X.Y

I've also removed redundant docs, unless the command deviates from the redis implementation.

LGTM, restarted CI.

Integrated into main, thanks @tristantarrant !


Fossam cloud details fix

get rid of gcp attributes, it can blow up the grains
move extra details to their own try-except so we're guaranteed to get the limited details even if there's a problem with the return values of the extra details
add azure extra details, prohibitive to correlate these details through other methods due to less than stellar api design.

Tested on available aws, gcp, and azure instances.


Unable to get route to work in Openshift 4.6

I have installed the ArgoCD Operator 0.0.14 on OCP 4.6.6 and then an ArgoCD instance. If I choose "Insecure = False" and "Route = True" it creates a passthrough route which enables access to ArgoCD but you need to accept the insecure warning.
If you select "Insecure = True" instead (and "Route = True")  it creates an edge route but you cannot access ArgoCD and will get a ERR_TOO_MANY_REDIRECTS.
I have tried various combinations with "Ingress Enabled = True" or not, manually created routes but not yet found a working combination which enables access without having to accept an insecure connection. What am I  missing?

It seems you need to pick the options you want when you create ArgoCD, you cannot change, at least some of them, once created. So when I choose "Insecure = False" and "Route = True" at the time it is installed it works. If I choose just "Route = True" and realize later that I need "Insecure = False" it will not work, this "--insecure" flag will not be added to the argocd-server command (but the route will change to edge).

Hello @tormig-softronic apologies, this does indeed look like a bug, I've just opened PR #220 to address this bug and hopefully we'll get a release out shortly.
Thanks for your patience.

Hello @tormig-softronic apologies, this does indeed look like a bug, I've just opened PR #220 to address this bug and hopefully we'll get a release out shortly.
Thanks for your patience.

This feature is released and available in the latest versions. Please upgrade.


fix: No arrow for the knowledge panel page

Will fix #1817

Codecov Report

Merging #1854 (bc52cc7) into develop (2ea0da3) will decrease coverage by 1.77%.
The diff coverage is 9.84%.

@@            Coverage Diff             @@
##           develop   #1854      +/-   ##
==========================================
- Coverage     8.86%   7.09%   -1.78%
==========================================
  Files          161     174      +13
  Lines         6623    7869    +1246
==========================================
- Hits           587     558      -29
- Misses        6036    7311    +1275

Impacted Files
Coverage Δ

...h_app/lib/cards/category_cards/abstract_cache.dart
0.00% <0.00%> (ø)

...p/lib/cards/category_cards/asset_cache_helper.dart
0.00% <0.00%> (ø)

...p/lib/cards/category_cards/raster_async_asset.dart
0.00% <0.00%> (ø)

...oth_app/lib/cards/category_cards/raster_cache.dart
0.00% <0.00%> (ø)

..._app/lib/cards/category_cards/svg_async_asset.dart
0.00% <0.00%> (ø)

...smooth_app/lib/cards/category_cards/svg_cache.dart
0.00% <0.00%> (ø)

...th_app/lib/cards/data_cards/image_upload_card.dart
0.00% <0.00%> (ø)

...es/smooth_app/lib/cards/data_cards/score_card.dart
4.34% <0.00%> (-0.42%)
:arrow_down:

...t_cards/knowledge_panels/knowledge_panel_card.dart
0.00% <0.00%> (ø)

...knowledge_panels/knowledge_panel_element_card.dart
0.00% <0.00%> (ø)

... and 120 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 d957755...bc52cc7. Read the comment docs.

Added some clearer description to https://github.com/openfoodfacts/smooth-app/issues/1817

I'm adding a p0 to this one.
it would probably be more intuitive to have horizontal arrows >

Likeso:

@M123-dev Since you have a better understanding of how everything is implemented in the app, could you maybe try to fix this issue?


Refactor API initialization into common LoggingSystem class

This refactors ProviderUtil, LogManager, and ThreadContextMapFactory to all rely on a common LoggingSystem class for initialization. This should make it easier to continue refactoring the API to avoid using static state. This also provides a potential integration point for more sophisticated PropertyEnvironment implementations.
This also updates the API version to 3.0.0, but that's only tangentially related.
Edit: related to https://cwiki.apache.org/confluence/display/LOGGING/API+Initialization

The latest build failure is a ConcurrentModificationException in ServiceRegistry, so this can be related to the change.

Oh damn, that means I need to re-add the code for fixing ServiceRegistry to use a reentrant form of computeIfAbsent since ConcurrentHashMap doesn't support reentrancy.


Incomplete

The mongodb install didn't work, and there is nothing to do with Node.js in the article. The postgresql install worked, though

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

ID: 08481e1e-9a3c-35f1-874a-a1d77e5b64a6
Version Independent ID: 5ebf0c79-5675-e869-35fb-f71b91db08b0
Content: Get started connecting Node.js apps to a database
Content Source: hub/nodejs/databases.md
Product: dev-environment
Technology: windows-nodejs
GitHub Login: @mattwojo
Microsoft Alias: mattwoj

@carltonsmith Sorry that you've had trouble. Could you help me understand what didn't work for you in the MongoDB install process and determine whether this is an issue requiring an update to the docs?

Closing this issue as the install appears to work fine for me. @carltonsmith -- If you have a chance to provide more details about what's not working, I can do my best to help and make any necessary update to this guidance.


ion-segment with ion-refresher will not work properly

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ ] 3.x
I'm submitting a ...  (check one with "x")
[ ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
if i put the ion-refresher in individual segment, it will not work or applied to whole page or not scrolling.
in short pull to refresh is not working inside the ion-segments.
Expected behavior:
ion-refresher work in individual segment
Steps to reproduce:

Related code:
Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
global packages:
@ionic/cli-utils : 1.4.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.4.0

local packages:
@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.4.0
@ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms               : android 6.2.3
Ionic Framework                 : ionic-angular 3.3.0

System:
Node       : v6.10.3
OS         : Linux 3.13
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed
npm        : 3.10.10

Hello, thanks for opening an issue with us! Would you be able to provide a plunker that demonstrates this issue? Thanks for using Ionic!

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!


Watch to run ghcid

There's nothing people wouldn't do for the watch.

Nice :

:+1:

@charleso helper message look ok?

:guitar:


nmea_serial_driver ,no data when I run rostopic echo /fix

I received these message after I run rosrun nmea_navsat_driver nmea_serial_driver

[WARN] [1528961811.402985]: Received a sentence with an invalid checksum. Sentence was: "\x00\x00\x00\xbey\xf2\x00\x0f'\x00\x00\x12\x19&;\x00\x00\x00\x00\x00\x00\x00\x00\xf4\xa1\xb5b\x01\x04\x12\x00P\xf9;\x16\x1a\x00\x0f'\x1a\x00\x0f'\x0f'\x0f'\x0f'\xf3b\xb5b"

And then I don't find anything after I run rostopic echo -c /fix

It looks like you're running your GPS device in some kind of binary mode. This package only supports NMEA string output.

I was/am dealing with a similar issue.  Originally, I was getting output like that above, so I tried looking at the output directly from the port (cat /dev/ttyUSB0), but the process returned immediately with no output.  Next, I tried screen /dev/ttyUSB 57600 and received readable output:
$GPGSV,3,3,09,36,,,*75
$GPRMC,155741.400,A,4129.2735,N,07538.4695,W,0.60,170.45,140918,,,A*75
$GPVTG,170.45,T,,M,0.60,N,1.11,K,A*3D
$GPGGA,155741.600,4129.2735,N,07538.4694,W,1,5,2.10,486.1,M,-33.8,M,,*68
$GPGLL,4129.2735,N,07538.4694,W,155741.600,A,A*45
$GPGSA,A,3,06,12,02,17,09,,,,,,,,2.31,2.10,0.97*07

After using the screen command, I am able to see the same output from cat /dev/ttyUSB0.  Clearly, the baud rate was the issue there.  I confirmed this by reattaching the USB (reinitializing the port), then issuing:
stty -F /dev/ttyUSB0 57600
cat /dev/ttyUSB0

The output was correct (as above).
Having confirmed proper setup of the serial port, I once again tried nmea_serial_driver:
rosrun nmea_navsat_driver nmea_serial_driver _baud:=57600

The serial output is still not parsed correctly, though:
[WARN] [1536941034.749468]: Received a sentence with an invalid checksum. Sentence was: 'T,,M,0.35,N,0.65,K,A*3F'

After grabbing a random end portion of a NMEA sentence, the process hangs.
I suspect there are other aspects of the serial port that aren't properly configured or are reconfigured by nmea_serial_driver (possibly inadvertently).  I will investigate further and open a separate issue if warranted.  Otherwise, it suffices to say that serial port settings are the issue with output like the OP.


Unresolved imports always remain for third party packages

Issue Type: Bug
When starting a fresh project:

create a venv
set the venv to active, my settings are:

{
    "python.pythonPath": "venv/bin/python3"
}

install some packages, I've installed smart_open, requests, and pandas

code runs fine, it can find the packages as they are installed on the venv

Extension version: 2020.3.71659
VS Code version: Code 1.44.1 (a9f8623ec050e5f0b44cc8ce8204a1455884749f, 2020-04-11T01:47:00.296Z)
OS version: Darwin x64 19.3.0

Here's my warnings along with the venv clearly selected...

This also happens when you try and import an adjacent module. I'm not even creating packages, I just have a directory with two python modules, and trying to import one from the other, same error.


Run SST init is not response

I try to init sst for my remix project. But I stuck in Installing prociders... steps. Please help me check it

can you run with --verbose and show logs

@thdxr Here is my logs
✓  Using: aws

time=2024-03-27T19:30:58.222+07:00 level=INFO msg="creating project" name=remix-app-sst-deployment
time=2024-03-27T19:30:58.222+07:00 level=INFO msg="copying template" path=templates/remix/files/sst-env.d.ts
time=2024-03-27T19:30:58.223+07:00 level=INFO msg="copying template" path=templates/remix/files/sst.config.ts
time=2024-03-27T19:30:58.223+07:00 level=INFO msg=patching file=package.json
⠋  Installing providers...time=2024-03-27T19:30:58.234+07:00 level=INFO msg="esbuild building"
⠙  Installing providers...time=2024-03-27T19:30:58.361+07:00 level=INFO msg="esbuild built" outfile=/Users/mba0101/Personal-Source/remix-app-sst-deployment/.sst/eval/eval-1711542658234.mjs
time=2024-03-27T19:30:58.361+07:00 level=INFO msg="evaluating config"
time=2024-03-27T19:30:58.414+07:00 level=INFO msg="config evaluated"
time=2024-03-27T19:30:58.414+07:00 level=INFO msg="installing platform"
⠹  Installing providers...time=2024-03-27T19:30:58.439+07:00 level=INFO msg="installing deps"
time=2024-03-27T19:30:58.439+07:00 level=INFO msg="writing package.json"
time=2024-03-27T19:30:58.445+07:00 level=INFO msg="adding dependency" name=aws
time=2024-03-27T19:30:58.445+07:00 level=INFO msg="fetching deps"
⠏  Installing providers...

what OS are you using?
can you try going into the .sst/platform folder and running  ~/.config/sst/bin/bun install

I believe I ran into a similar issue (been a few days) where it hung on bun install due to 'unzip' not being installed on my Ubuntu box.

the latest version of sst does not need unzip, it installs bun natively
to start fresh @hungds99 can you delete ~/.config/sst and try the latest version of sst?

@thdxr It works. But it removes vite from run dev scripts
- "dev": "remix vite:dev",
+ "dev": "sst dev remix dev"

yep we're tracking that seperately


[WIP] Bugfix/issue 12

PR is mean to resolve issue #12

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (72e4ab5) 92.09% compared to head (67d9652) 92.09%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   92.09%   92.09%
=======================================
  Files           4        4
  Lines        1227     1227
=======================================
  Hits         1130     1130
  Misses         97       97

Flag
Coverage Δ

ctests
92.09% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Resolves issue #15 and should resolve #12


Parse support for PostgreSQL show run-time parameter

Hello,
I`m working on a project which needs to parse several PostgreSQL specific queries, and among them we need to parse Set statements and Show statements.
But it seems the actual version of the grammar does not support show statements in the form:
show variable;
show all;
Is this grammar support expected to enter in the next release?
Would you accept a pull request for this if needed?

PR would be wellcome. As you may know souce code conventions are tested while building.

+1 this would be very useful for me too

Tested in version 2.0 and still seems to be an open issue
Actual Behavior
Exception parsing Postgresl SQL "show transaction_isolation" or "show DateStyle"
net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "transaction_isolation" <S_IDENTIFIER>
at line 1, column 6.
Was expecting:
"COLUMNS"

at net.sf.jsqlparser.parser.CCJSqlParser.generateParseException(CCJSqlParser.java:20872)
at net.sf.jsqlparser.parser.CCJSqlParser.jj_consume_token(CCJSqlParser.java:20722)
at net.sf.jsqlparser.parser.CCJSqlParser.Show(CCJSqlParser.java:667)
at net.sf.jsqlparser.parser.CCJSqlParser.SingleStatement(CCJSqlParser.java:189)
at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:70)
at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:36)
at com.gs.qubits.calcite.demos.SqlParser.main(SqlParser.java:44)

Expected Behavior
Expected to parse to a statement
https://www.postgresql.org/docs/11/sql-show.html
Steps to Reproduce the Problem
String sql = "show transaction_isolation";
Statement expr = CCJSqlParserUtil.parse(sql);

Specifications

Version: 1.4 & 2.0

Long living issue finally fixed. Could you check it? I deployed the actual snapshot.

Thanks, appreciate the quick fix (from when I hit the issue).  I just tested from master and it resolved the issue I was seeing.


[WIP] add cloudevents client to publish resource spec and subscribe to status

ref: https://issues.redhat.com/browse/OCM-4933
This PR tries to add cloudevent client to Maestro, so that maestro can publish resource, subscribe to resource status and resync resource status from work-agent(s).

/hold Workong the integration tests for this.

Appended test results:
#  make test && make test-integration
CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go install -ldflags="" ./cmd/maestro
OCM_ENV=testing gotestsum --format short-verbose -- -p 1 -v  \
	./pkg/... \
	./cmd/...


Correct class name in Autocomplete

Which package has an issue?
@yamada-ui/react
Package Version
1.3.9
Description
Corrected the following class names according to BEM

ui-autocomplete__item__icon

fix to ui-autocomplete__item-icon

ui-autocomplete__item__group-label

fix to ui-autocomplete__group-label

ui-autocomplete__item__group

fix to ui-autocomplete__group

ui-autocomplete__field__input

fix to ui-autocomplete__input

Please be careful of the following when working

Create the changeset with major.
Please derive a new branch from the v2.0 branch and create a pull request for the v2.0 branch, not the main branch, as we plan to release the product in v2.0.0.

Link to Reproduction
No response
Steps to Reproduce

Go to '...'
Click on '...'
Scroll down to '...'
See error

Browser
None
Operating System

[X] macOS
[X] Windows
[X] Linux

Do you know how to fix the issue?
None
Are you willing to participate in fixing this issue and create a pull request with the fix?
None
Additional Information
No response

I would like to challenge this issue.

@sacky3105
Hi, thanks for the comment.
It looks like a PR has already been created :(

This issue is closed.


Build statically without containers

What type of PR is this?
/kind ci
What this PR does / why we need it:
We should be able to build a static binary without having a need for an additional container image.
Which issue(s) this PR fixes:

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

None

Codecov Report

Merging #705 (05bbfc8) into main (5f55d52) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 05bbfc8 differs from pull request most recent head 9adcd2d. Consider uploading reports for the commit 9adcd2d to get more accurate results

@@           Coverage Diff           @@
##             main     #705   +/-   ##
=======================================
  Coverage   32.84%   32.84%
=======================================
  Files          13       13
  Lines        1093     1093
  Branches      401      402    +1
=======================================
  Hits          359      359
  Misses        460      460
  Partials      274      274

This is way closer to our actual package build env, PTAL @haircommander @rphillips.

lgtm

/lgtm


Astria: Send or Receive ISRs for state transitions over ABCI

To enable Optimint to check for fraudulent state transitions a node needs to be able to compare the ISRs given to it by the current block producer to those it generates when executing the state transitions itself. The ISRs from the block producer will be given to Optimint in block headers while the generated ISRs will be in the Cosmos-SDK.
Optimint needs to either give cosmos-sdk the block producer's ISRs or it needs to receive the generated ISRs back from the cosmos-sdk.
Depends on:

[ ] https://github.com/celestiaorg/cosmos-sdk/issues/127

@Manav-Aggarwal Please link to Tendermint proto changes.

Handled by: https://github.com/celestiaorg/rollmint/pull/567


Client tweening failing consistently

Issue with networking code that made it so that only the first player to join a server (and sometimes not even that) sees the client tweens. Being remedied internally, will push to experimental soon.

Here's a video of multiple instance tweens working with multiple players.
https://user-images.githubusercontent.com/44583181/232254080-a08024aa-175c-4eaa-97a6-cc9dff0bef52.mp4

Ultrasonic's fix was much more clean than mine, and preserves existing functionality. Thank you for the contribution!


As an editor I need to be able to add a colour background to the QUOTE component to display the quote as part as of a module.

This component was tailered for news articles, so needs to be changed for other pages.

One way of solving this (if we know that the only thing that should differ between the news's quote and the topic page's quote is the background colour) could be by using the pattern filter Sven originally introduced for the iframe component, removed later by this commit

@BirteThornquist

@adneforslund For news articles there shall not be a background color for the Quote component. For news we don't use background colors in general, except for the Fact Box.

Fix the quote symbol for dark bg

@meols Could you please take a look at this?
For news articles: No background colour options in Sanity and no colour on the web

On topic pages: Able to choose a colour and create a module using for instance text block and quote.

@meols @wenche Approved. Nice work!