Atleast one panel should be visible always.

We should have atleast one panel in window to look at. User should not be able to hide all panels.
and one more thing, should we change css for hidden panels?
Plz check and tell if I can work on these?

@sachinlamba There's no problem in hiding all the panels. Users can always toggle them back on :). So, according to me working on this will just increase some conditional statements. I don't think it's worth the time you gonna spend on it.
If you're willing to contribute. We have a lot of outstanding issues you can look at.
@QuincyLarson, @systimotic  I think this should be closed.

I think this should be further discussed instead of dismissed beacause of "too much work" or "it's good enough". The current interface with navigation links in the top bar having the function to show/hide panes is not intuitive. Some extra visual cue should better indicate their function.
Additionally the name of the panes on the react challenges (as seen in the OP post) is not clear. One of the panes is called "index". What does this mean? Yeah, if we think about it is probably the file name "index.js", but is is not intuitive and does not make sense to have the file name in this context.

@zelite This issue is about allowing users not to hide all the panes.
The issue you're referring to is totally different. It's about the intuitiveness of the workspace. I request you to please open another issue where this discussion will be directed and please mention the changes you would like to see in the workspace. Screenshots will be helpful. Thanks ;).

I think it's all part of the same issue that the panes hiding behaviour is not intuitive. Hiding all panes without an intuitive way to make them reappear seems confusing. That's why I said it should be discussed. I don't know what the ideal solution is. I am by no means a UX expert (or even UX amateur), but I feel there should be made an effort to find a better solution.

@zelite Okay - If you want to discuss it here. We'll do. What kind of behavior would you like to see?

Instead of forcing one panel to be visible, we should just have a "no panels are visible" graphic. Kind of like how you look at a document and it says "this page is intentionally blank."
Here's what JSBin looks like if you close all its panels:

I've updated the title of this issue to reflect this.

One thing I've thought about adding is some sort of motivational quote that changes on every challenge. That way if campers get stuck, they can close the tabs, see it, and get a boost of motivation :)
We could load this the same way we load "challenge completed" quotes: https://github.com/freeCodeCamp/freeCodeCamp/blob/c6487c6dabd4a678ce8256444a913ab228949a37/server/utils/resources.json

@QuincyLarson Amazing Idea - We should do that quote thing. It'll be kind of an easter egg for our campers. ;)

@vkWeb Agreed! A motivational easter egg! Would you be interested in helping with this? We need to build a list of good motivational quotes, and then write the logic to display them in a large font in the background when all panels are closed.

@AustinTice How is everything going?

It would be super cool to have a real easer egg. Something totally freaky but educational related. Something not easy to find that would spread through the grapevine like wildfire once someone did catch it.  (Strange combination of keys, clicking a certain area of the screen with a particular key or two held down at the same time, etc).  The easter egg could be something cool like a fireworks animated graphic, something scary like a creepy monster that zooms in and goes boo in your face, or something cool like the ability to change the color scheme just for your account.  What about randomizing it so when people find out there's something they have to hunt for the exact spot to click but they know it's there? Simple enough to find it but not the same every time. Hope that's not too off topic but I saw vkWeb idea about an easter egg and it made me think of the stuff I heard about from back in the day (space invaders easter egg in some program I hear one time).

@AustinTice Have you had a chance to work on this? Your concept looks solid - are you planning to implement it?

@QuincyLarson, @vkWeb: Forgive me for my late reply. I have up to this point not been able to figure out how to implement this functionality. I would suggest that it be taken on by another member. My studies have kept me quite busy during this time, and I have not had as much time as I wished to thoroughly dive into react. I don't mind to continue working on it, but due to the fact it has been a considerable amount of time, I don't see myself finding the solution without a bit of help.

@AustinTice OK - thanks for confirming. This is now open for anyone who's seriously interested in tackling it. Please leave a note here so we know you're working on it.
We'd like to implement this like in @AustinTice's mockup here:
https://user-images.githubusercontent.com/16217050/34599525-72833cf8-f1b8-11e7-8a1f-bae9fa28044b.gif

Hi all, I really like this idea and would like to take a crack at implementing it. I'll do my best to follow @AustinTice's mockup, and will reach out if I run into any problems along the way!

@scissorsneedfoodtoo Awesome! Great to hear from you. Yes - we would love for you to take a crack at implementing this!

@QuincyLarson, great to hear from you too! Looking forward to working on this and getting some feedback soon.

@scissorsneedfoodtoo Great! Please keep us posted on your progress :)


Use less aggressive filtering for small datasets

Closing, because the parameter can be changed using upstream logic.


"MEMBER" approving a payment is taking money from their paypal account

Only the host should be able to approve and the money should only come out of the host's paypal account.
In production, I was able to approve an expense on OpenCollective group and the money went from my personal paypal account, rather than the company paypal account.

Fixed this as part of the migration.


Cleaning and refactoring classes and systems

checking for code smells and decoupling everything if possible
also adding design patterns and following principles if we missed something from before

D o n e !


Update Cats to 0.9 [DO NOT MERGE]

Waiting on

Circe: https://github.com/circe/circe/pull/548
Catbird (not in progress)

The core circe project's out, but not circe-jackson. I've got to step away from the computer for an hour, but will get it published immediately after that.

Thanks @travisbrown! Are there any plans on releasing catbird for Cats 0.9 today as well? Just let me know if there anything I can help with.

Oh, sorry—catbird's been updated since Sunday night: https://github.com/travisbrown/catbird/releases/tag/v0.11.0

Okay, circe-jackson is published, so you should be able to update both circe versions and catbird and have everything work!

Thanks a lot @travisbrown!


FR: PrettyGCODE plugin intergration

Hi Gaston,
Can you please add a windows for the pretty code plugin?

That would be gorgeous!


Create a script to deploy WMAgen in a virtual env. replicating the Docker image runtime env.

Impact of the new feature
WMAgent
Is your feature request related to a problem? Please describe.
Yes, two in particular:

T0 team are not planning to move to a docker based deployment, so we will have to provide a base similar to what we get through the Docker image inside a well defined environment, such that T0 team can continue from there on with building the rest of the deployment procedures related to the T0 code alone
We need a flexible development setup that would allow us to test runtime code, which should also serve as a major part of  a complete debugging tool set.

Describe the solution you'd like
A single script, which is supposed to

Recreate the environment as set  in the Dockerfile file from the CMSKubernetes repository
Run the install.sh script inside a previously created virtual environment, so that it is all preserved as set from above at  runtime as well

Describe alternatives you've considered
None. We better own this part of the deployment process and let  T0 team deal only with the part that concerns T0 code.
Additional context
it is an extension to these tow issues:
https://github.com/dmwm/WMCore/issues/11564
https://github.com/dmwm/WMCore/issues/8797
and may be considered as part of the bigger meta issue here as well:
https://github.com/dmwm/WMCore/issues/11314

@germanfgv As we shortly discussed in our WMCore meeting, I added you as a co-assignee of this issue and reduced the QPrio from High to Medium. This way you or anybody from T0 may test it in your own pace so we do not exert any pressure. I have kept myself as still assigned to the issue, just in case, some quick bug fixing or minor  debugging/development is required from WMCore side.
FYI: @klannon @amaltaro

@todor-ivanov Todor, given that this issue got demoted to medium priority this quarter and that there is no current effort in the proposed PR https://github.com/dmwm/WMCore/pull/11624, I am moving this back to the ToDo queue and unassigning you from this. Once this becomes a priority again, we can resume working on this.
Please let me know if there is any reason not to do so and/or if I am missing anything important though.


Feature: Support SurrealDB

SurrealDB is a great fit for Gitness, as it can act as a file based storage alternative to SQLite or a full blown database and an alternative to Postgres. While it is early days for both projects, I think it would be great to start new deployments of Gitness with SurrealDB and for users who use Gitness with Surreal they'll have an easy time scaling up from file based Surreal to distributed Surreal as their usage of gitness scales.
Currently there is a Go library for Surreal: https://github.com/surrealdb/surrealdb.go

thanks for the suggestion, however, we are not looking to expand database support at this time.


GH-28 Added javax.activation to default xjcLibts

Solves GH-28
Works for both openjdk 11.0.7 and 1.8.0_252.

Ran into the same issue, and this would indeed do the trick!

@benmccann can we get this merged?


Making Request and Response compatible with PSR-7

I'm sure we alle heard about PSR-7.
Most frameworks nowadays uses this standard or provides some kind of bridge to allow use it.
I think it would much extend ease to use Aerys by being compatible with PSR-7. I'm thinking here about routing and middlewares especially.
Would that be even possible with aerys?

Looks like all the discussions about this haven't been inside an issue here.
Well, the quick answer is: no.

The long answer: There are multiple issues, apart from performance:

getBody(): returns a StreamInterface, as well as withBody(StreamInterface). StreamInterfaces expect the whole data to be present ahead of time (or in a file), but you cannot dynamically update the Stream after sending data. So, when the server code would call StreamInterface::getContents(), you get that data present at that time. Applies also to request - we'd need to buffer the whole thing first. So good luck implementing a long stream of data with this.
getUploadedFiles() uses UploadedFileInterface … there is no such thing in Aerys. if you use Aerys\parseBody() on the body, you get the files as normal keys with a few metadata (like content-type or filename) [which is what files really are] - and in Aerys responder callables are started when the
When a request arrives, the responder is immediately invoked after headers. Then the responder may decide e.g. on how big the request data may be, again, this will not work with streams.
Additionally, also for implementation reasons (allowing the incremental parsing) we do not understand the concept of array keys. Keys with the same name are put into an one-dimensional array.

There have been suggestions to handle streams separately - but then there are still the differences regarding files or array keys....
Basically: PSR-7 is inherently designed for synchronous contexts.
You can throw away all the advantages of async and build a function wrapping your callable to convert from and to Aerys Request and Response objects - that'll be (apart from being slower) actually fine for a large part of the routes (no files, no streaming) - but not all. It means - buffering everything first, then calling the responder, and then sending all at once. We need to provide our implementation for the use cases which need it.
In a normal web application, you can simply choose to not use PSR-7 for a specific case, e.g. if you need streaming, then you just print as data arrives and ignore PSR-7 for that single script.
If we'd use PSR-7 by default in Aerys, you have no real way to go back to a fully featured version; while you should be able to convert the Aerys implementation to PSR-7.
You could write your own implementation of Aerys\Router which will use PSR-7. If it solves all your needs…
But for the before mentioned reasons, we cannot provide PSR-7 natively here.


[Frontend] Changing the language should cause the page to refresh

Additionally, the app should detect the browser language and load those translations

Closed by #51


Warning: unknown call: "relay:check"

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
React Native Environment Info:
System:
OS: macOS 10.14.1
CPU: x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 36.70 MB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 8.11.2 - /usr/local/bin/node
Yarn: 1.6.0 - ~/.yarn/bin/yarn
npm: 5.6.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
Build Tools: 23.0.1, 24.0.1, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 27.0.3, 28.0.2, 28.0.3
API Levels: 21, 22, 23, 24, 25, 26, 27, 28
IDEs:
Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: ^16.6.1 => 16.6.3
react-native: ^0.57.5 => 0.57.5
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
react-native: 0.49.2
Description
When I run the app this warning unknown call: "relay:check" is given right on the beginning, in both ios and android emulators

I am experiencing this issue with react-native-windows as well.
versions in package.json
"react-native": "0.57.2",
"react-native-windows": "0.57.0-rc.0",

react-native-debugger version:
v0.7.21

Same with 0.57.6
React Native Environment Info:
System:
OS: macOS 10.14.1
CPU: (4) x64 Intel(R) Core(TM) i5-6360U CPU @ 2.00GHz
Memory: 469.06 MB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.12.0 - /usr/local/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.4.1 - ~/.npm-packages/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 26, 27, 28
Build Tools: 26.0.1, 26.0.2, 27.0.3, 28.0.2, 28.0.3
System Images: android-26 | Google Play Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.1 => 16.6.1
react-native: 0.57.6 => 0.57.6

This seems to be related to https://github.com/facebook/react-devtools/issues/1233

You disable the yellow box for this warning like this:
YellowBox.ignoreWarnings(['unknown call: "relay:check"']);
Probably something which has to be fixed in the devtools.

@servocoder

warning unknown call: "relay:check" related to this issue (just for linking purposes): https://github.com/jhen0409/react-native-debugger/issues/291

Crash can be unrelated to above warning. And should be reported to react-native-debugger repo I think. Also I think nothing can be done without additional info. Did the crash a native or javascript, what is stack trace? Did newly generated application crashes? Also reproducible repo on github can be very helpful (not for me... I don't use react-native-debugger so will not try to fix this, sorry).

It looks like the issue reported in the OP has been fixed in a release of the standalone React Native Debugger application
https://github.com/jhen0409/react-native-debugger/issues/291#issuecomment-447794470


Git Bash as terminal freezes constantly

Issue Type: Bug
When I'm using GitBash it randomly freezes.
Steps to reproduce consistently (Others other ways too).

Set Git Bash as default terminal
Open a new terminal
Type something to confirm its working
Click the + icon to add a new terminal
Type something in that new terminal
Click bin icon for the new terminal to delete it
Can no longer type in the first terminal

Extra info - I've installed oh my zsh in my git bash following this guide but this bug only affects vscode, doesnt affect the Git Bash or the Windows Terminal App
https://www.youtube.com/watch?v=SE1UtrtH9mo
VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:28.252Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

When this happens, can you toggle the shared process and see if there's a log stating the pty has been disconnected?

There's no change stating that and there's also no in the process explorer

Interesting, I have essentially the same setup as @gwte and experienced Git Bash freezing in both VSCode & with Windows Terminal.
Happened just as I was updating my git bash to use oh-my-zsh following these instructions, but unsure if the freezing was started just before the switch to zsh.
The common thread seems to be git bash & zsh, and not necessarily VS Code.

@Anduh thanks for the investigation.

I have essentially the same setup as @gwte and experienced Git Bash freezing in both VSCode & with Windows Terminal.

That suggests it's an issue with conpty, so closing this as we cannot control that. When it's fixed in conpty, it will be fixed in VSCode.

I have opted out of conpty with:
Terminal › Integrated: Windows Enable Conpty
Whether to use ConPTY for Windows terminal process communication (requires Windows 10 build number 18309+). Winpty will be used if this is false.
And can still reproduce the issue.

@Anduh thanks for the investigation.

I have essentially the same setup as @gwte and experienced Git Bash freezing in both VSCode & with Windows Terminal.

That suggests it's an issue with conpty, so closing this as we cannot control that. When it's fixed in conpty, it will be fixed in VSCode.

@meganrogge would it be possible to think about a workaround?
If https://github.com/microsoft/terminal/issues/1810 is the cause, there has been no progress there for over a year...
This is a really annoying issue, that hampers VS Code usage on what I believe is quite common setup for developers on Windows.

Yeah, a workaround would be great, the "opt out of conpty" didn't work for me either.
Considering trying out WSL as a workaround.


Enable Ctrl+C to stop the GUI

Also helps address #64.
Now any program that uses the GUI will terminate correctly when Ctrl+C is pressed. I also realized I was duplicating code to start the GUI and moved it to a utility.

In testing, it does kill the GUI with Ctrl+C  :+1:  but I get this error, too:
python3 examples/demo.py -->
[robot] Navigating to bedroom
^CTraceback (most recent call last):
  File "/home/andy/python-virtualenvs/pyrobosim/lib/python3.10/site-packages/pyrobosim/gui/main.py", line 22, in <lambda>
    timer.timeout.connect(lambda: None)
KeyboardInterrupt
Aborted (core dumped)
(pyrobosim)

I'll push a comment about catkin-pkg then merge this.

The catkin thing is because it's actually used by colcon! See e.g.
https://github.com/colcon/colcon-ros/issues/118


cpu_adam cuda is missing or is incompatible with installed torch, only cpu ops can be compiled!

i can train on cpu, but get error when train with deepspeed,
i got the warning and errors as following:
[WARNING]  cpu_adam cuda is missing or is incompatible with installed torch, only cpu ops can be compiled!
Using /home/sushuting/.cache/torch_extensions/py38_cu117 as PyTorch extensions root...
Traceback (most recent call last):
File "/nvme/nvme0//anaconda3/envs/py3/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/nvme/nvme0//anaconda3/envs/py3/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/nvme/nvme0//github/clip/examples/AltCLIP/altclip_finetuning.py", line 67, in
trainer.train(model=model, train_dataset=dataset, collate_fn=cifar10_collate_fn)
File "/nvme/nvme0//github/clip/flagai/trainer.py", line 566, in train
lm_loss, _ = self.train_step_pytorch(
File "/nvme/nvme0//github/clip/flagai/trainer.py", line 705, in train_step_pytorch
optimizer.step()
File "/nvme/nvme0//anaconda3/envs/py3/lib/python3.8/site-packages/torch/optim/optimizer.py", line 280, in wrapper
out = func(*args, **kwargs)
File "/nvme/nvme0//anaconda3/envs/py3/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_co
ntext
return func(*args, **kwargs)
File "/nvme/nvme0//anaconda3/envs/py3/lib/python3.8/site-packages/deepspeed/ops/adam/cpu_adam.py", line 150, in step
assert p.device == device, f"CPUAdam param is on {p.device} and must be 'cpu', make "
AssertionError: CPUAdam param is on cuda:0 and must be 'cpu', make sure you enabled 'offload_optimizer': 'cpu' in your ZeRO config
.

@susht3 can you please provide a reproducer for this error?
Share the output of ds_report as well. Thank you

@susht3 can you please provide a reproducer for this error?
Share the output of ds_report as well. Thank you

I had a similar issue, described here https://github.com/microsoft/DeepSpeed/issues/3613#issuecomment-1726016406

@kiddyboots216 - just adding here, the issue was resolved by increasing the total memory, however the original issue would be best resolved by seeing the ds_report and ds_config.


NCD - Progress Report - Acute Illness [2h]

Issue
The acute illness pane on the progress report should be exactly like the acute illness progress report. It should have any current acute illnesses and then the option to view past acute illnesses.

To Do:

pull over the acute illness pane design and logic from the acute illness progress report.

@adamhstewart Depoyed to Nutrition env for QA

https://nutrition-ihangane.pantheonsite.io/
QA Review
Found issues and questions:

The title of the section on the NCD progress report is called Active Diagnosis, not Acute Illness. Is that a problem?

Checked and approved:

Progress reports look the same for NCD and Acute illness encounters.

Acute illness history pane in NCD encounter
Acute illness encounter

The title of the section on the NCD progress report is called Active Diagnosis, not Acute Illness. Is that a problem?

@jeanette-pelizzon seems this is correct as is, can you clarify?

It is correct in the screenshot. Moving to Acceptance Testing.
// @adamhstewart


Adding ability to set an ID on each ad tag

Hi @sublet
Why do you need to have a custom ID?

We have a header bidding solution provided by AppNexus that is tied into the DIV ids.
When we first published our site we realized we were just getting regular programatic ads, but nothing from our bidding partners.  AppNexus informed us of the issue and I was able to test and confirm that adding the ability to add ID's worked.


Android/Turn display of notifications on/off within app

We make use of the following setting in our ios app:
FirebasePushNotificationManager.CurrentNotificationPresentationOption=None/Alert
We handle the onreceive event always but it's useful to turn display of the notification off in some circumstances.
Is there a corresponding way to do this on Android (short of using a custom UI)?
Thank you.

Now is possible by setting FirebasePushNotificationManager.DefaultNotificationChannelImportance in Android


Enable blog again

@n1ghthouse told me they had a random date error with the blog, but maybe the content.config.ts was configurated differently than the goat HiDeoo himself did it in his blog (need to parse context):
import { defineCollection } from 'astro:content';
import { docsSchema } from '@astrojs/starlight/schema';
import { docsLoader } from "@astrojs/starlight/loaders";
import { blogSchema } from 'starlight-blog/schema';

export const collections = {
  docs: defineCollection({
    loader: docsLoader(),
    schema: docsSchema({
      extend: (context) => blogSchema(context),
    }),
  }),
};

Tested, does fix the issue at hand. Like was the problem with the content config.


gorm:association_autoupdate:false does not save reference on has many association

Your issue may already be reported! Please search on the issue track before creating one.
What version of Go are you using (go version)?
go version go1.11 darwin/amd64
Which database and its version are you using?
sqlite3, SQLite version 3.16.2 (same with postgres)
Please provide a complete runnable program to reproduce your issue. IMPORTANT
Need to runnable with GORM's docker compose config or please provides your config.
package main

import (
	"github.com/jinzhu/gorm"
	_ "github.com/jinzhu/gorm/dialects/sqlite"
)

type User struct {
	gorm.Model
	FirstName string
	Places    []Place
}

type Place struct {
	gorm.Model
	Name   string
	UserID uint
}

var db *gorm.DB

func main() {
	db, err := gorm.Open("sqlite3", "test.db")
	if err != nil {
		panic("failed to connect database")
	}
	defer db.Close()

	// Migrate the schema
	db.AutoMigrate(&User{})
	db.AutoMigrate(&Place{})

	db.LogMode(true)

	place := Place{Name: "Bar Berlin"}
	err = db.Create(&place).Find(&place).Error
	if err != nil {
		panic(err)
	}

	// Find ID from last created Place
	p := Place{}
	db.Last(&p)

	// create a new Place with only the ID without other attributes
	refPlace := Place{}
	refPlace.ID = p.ID
	user := User{
		FirstName: "Morty",
		Places:    []Place{refPlace},
	}
	err = db.Set("gorm:association_autoupdate", false).Create(&user).Error
	if err != nil {
		panic(err)
	}
}

Referencing: http://gorm.io/docs/associations.html#Skip-AutoUpdate
i would expect, that the Place is updated with the user_id reference but it does not:
(main.go:37)
[2018-10-04 13:09:58]  [0.72ms]  INSERT INTO "places" ("created_at","updated_at","deleted_at","name","user_id") VALUES ('2018-10-04 13:09:58','2018-10-04 13:09:58',NULL,'Bar Berlin','0')
[1 rows affected or returned ]

(main.go:37)
[2018-10-04 13:09:58]  [0.32ms]  SELECT * FROM "places"  WHERE "places"."deleted_at" IS NULL AND "places"."id" = '23'
[1 rows affected or returned ]

(main.go:43)
[2018-10-04 13:09:58]  [0.22ms]  SELECT * FROM "places"  WHERE "places"."deleted_at" IS NULL ORDER BY "places"."id" DESC LIMIT 1
[1 rows affected or returned ]

(main.go:47)
[2018-10-04 13:09:58]  [0.41ms]  INSERT INTO "users" ("created_at","updated_at","deleted_at","first_name") VALUES ('2018-10-04 13:09:58','2018-10-04 13:09:58',NULL,'')
[1 rows affected or returned ]

removing .Set("gorm:association_autoupdate", false) does set the user_id reference but also updates other attributes. like name
(main.go:53)
[2018-10-04 13:33:24]  [0.62ms]  INSERT INTO "users" ("created_at","updated_at","deleted_at","first_name") VALUES ('2018-10-04 13:33:24','2018-10-04 13:33:24',NULL,'Morty')
[1 rows affected or returned ]

(main.go:53)
[2018-10-04 13:33:24]  [0.24ms]  UPDATE "places" SET "created_at" = '0001-01-01 00:00:00', "updated_at" = '2018-10-04 13:33:24', "deleted_at" = NULL, "name" = '', "user_id" = '30'  WHERE "places"."deleted_at" IS NULL AND "places"."id" = '34'

Any update on this issue ?

i think that fixed the problem:
https://github.com/jinzhu/gorm/pull/2207


Making button center Aligned in a contact us page

Feature request:
Center Alignment of button
Is your feature request related to a problem? Please describe. (optional):
Please refer to the screenshot:

Describe the solution you'd like:
Please refer to the following screenshot:

Describe alternatives you've considered:
A clear and concise description of any alternative solutions or features you've considered.
Describe how this feature will be useful to our readers:
Will Improve UI.
Additional context:
Screenshots are already provided.

Note:

If you want to work on an issue, you should check if it has already been assigned to anyone.

If this is a valid Issue. I would like to work on this one. Could you assign me Please. I am a GSSOC Participant. Thanks.

@DeepanshiD what do you think about alignment of button?

@Naman-1234 the edit one should also start from the beginning. For example the padding of mail icon is 4px from top in box, so it should be same for edit/pencil icon
CC: @vaishali614

@Naman-1234 Alignment of button on the left is fine.
CC @vaishali614


Nav tick values ignore discontinuity

#701

This is a problem with the discontinuity provider not reconciling with the default time format. We're getting weird formats because the date is being clamped when a tick coincides with a weekend. In this PR I'm generating the tick values without discontinuity which seems to do what we want:


Rename dt css class

The class name comes from its original usage for showing a destination account with a tag and making the tag a different color and smaller ex. someaddress:42942.
It now now used in multiple places just to make things smaller when a field is very long in the simple tab view.  A name like long would be better.
It is used in the NFT transactions for offer and token ids.

Instead of using the dt class we are going to implement better wrapping of long values.


RFC: Avoid persisted fetch queries hashing in the browser. Compile it at build time! ☺

Summary
Avoid persisted fetch queries hashing in the browser. Compile it at build time! ☺
Proposed Solution
As stated here https://github.com/apollographql/apollo-link-persisted-queries#build-time-generation:

If you want to avoid hashing in the browser, you can use a build script to include the hash as part of the request. Then you pass a function to retrieve that hash when the operation is run. This works well with projects like this which uses webpack to generate the hashes at build time.
If you use the above loader, you can pass { generateHash: ({ documentId }) => documentId } to the createPersistedQueryLink call.

What do you think, awesome guys?

I'm not sure if this would actually have a large impact given that the cost of hashing these queries should be rather small. We haven't even added caching for those hashes yet, because of that.
If GraphQL Code Generator, which already has support for urql, supports this though, this could be done using the existing API 🤔

cost of hashing these queries should be rather small

It can be costly on small devices.
Please.
☺

I mean essentially this is already possible with the generateHash option, if your gql compile time for queries already includes a hash you can use that.


Example Value content-type set as json in spring fox 2.8.0 version

Version - springfox-swagger-ui v2.8.0 & springfox-swagger2 v2.8.0

Question -

I am using spring-fox (above version) in spring-boot 1.5. In swagger-ui.html I am seeing the Example Value is defaulted to application/xml however, I would like to select application/json as default while page loading. Is there anywhere it can be done via Docket configuration? Sample spring boot controller code and screenshot below.
@PostMapping(value = "/capture", produces = { "application/json", "application/xml" }, consumes = {
			"application/json", "application/xml" })
	ResponseEntity<?> capture(
			@ApiParam(value = "Capture request", required = true) @Valid
			@RequestBody PaymentProcessorRequest paymentProcessorRequest)

There is no way to do that. Would be a great feature request in Swagger-ui

Good to know @dilipkrish. Will raise a feature request Swagger-ui. Thanks

I've created feature request: https://github.com/swagger-api/swagger-ui/issues/5347

I've created similar issue with PR but connected with Docket configuration: https://github.com/springfox/springfox/issues/3062


Example with and() operator needed.

Have no clue how to use it and no examples anywhere in java.
All what I found is this test case:
Parser parser = of('a').and();
assertSuccess(parser, "a", 'a', 0);
assertFailure(parser, "b", "'a' expected");
assertFailure(parser, "");

But this does not show how to combine different rules using this operator.
For example, I know "\n" is both whitespace() and "\n", how can I test this using this operator?
of("\n").and() ????? whitespace()

The and() operator behaves like a positive lookahead in regular expressions: it parses and returns the input, but does not consume it. This means the next parser will start at the beginning again.
In your case
of("\n").and().seq(whitespace())

will return a list with two times the same "\n" character, once from the of("\n").and() and once from the whitespace(). That said, the example doesn't make much sense because of("\n") is a subset of whitespace(), so the operator is not necessary.
An actual example is the Smalltalk grammar given in https://github.com/petitparser/java-petitparser/blob/45ffbd197cfda5f0dfb043ecfa0da2619355bbec/petitparser-smalltalk/src/main/java/org/petitparser/grammar/smalltalk/SmalltalkDefinition.java#L124. This parser will accept constructs that ends in "|" or "]", but if it is a "]" it does not consume it and let it be consumed by the caller.

Yes, I saw Smalltalk samples, but I am too yank and cannot read that.
The sample was simplified.
My real-world case is(if to follow logic above):
Parser space = of("\n").not().seq(whitespace());
Parser parser = space.star();

So it ate all the whitespace except the new line character. Is that true?

Yes, that's correct.


Google translate 503 Forbidden

I started today re-using this software after about 6 months and it seems Google now detects the automated requests. Please take a look at the following repo which generates the missing token needed for the detection.
https://github.com/matheuss/google-translate-token

What is the reason for closing this issue?

translate-shell has that TK-generating facility back in 2015, just no longer used or updated, since we found a token-free API that Google generously allows anyone to use so far, within reasonable limits.
If your intention is to benefit from a so-called "free Google Translate API", then you've probably channeled the issue to the wrong place. You should report such issues in your mentioned repository, in case they can function no more.
TK is not really an API key since you don't pay for it. Google can still kick you out if you automate too much or too fast, so to say.

I can't help you circumvent Google's rate limits. Sorry about that.

Look, mate, I think you are pretty rude. But that is fine, inteligent people do that mistake very often. I did read your website and unfortunatelly did not find any article on soft skills, probably is not a topic which is of any interest to you.
I just tried to report a possible improvement or a coding issue, because I am pretty sure you have one.
For example, translate-shell gets forbidden pretty quickly by Google.
Using the following URL does not have the same forbidden state from Google as translate-shell does.
https://translate.google.com/translate_a/single?client=at&dt=t&dt=ld&dj=1&ie=UTF-8&oe=UTF-8&q=
I am using the exact same shell of the same machine.

Dear Adrian,

Look, mate, I think you are pretty rude.

Sorry, didn't mean to hurt your feelings so easily. My apologies.

I did read your website and unfortunatelly did not find any article on soft skills, probably is not a topic which is of any interest to you.

Sorry about this, but I did not read any of your article on soft skills as well. Should people always write about soft skills to prove they have those?

because I am pretty sure you have one.

Again, I am deeply sorry if this issue annoys you a lot.
Please feel free to seek help in other places. Or to pay for Google API to get things done -- To my knowledge, that's the only way you can do it legally, without violating their TOS. I am also sorry about that, but there's nothing much I can help here.
Cheers.
Mort

Just for your convenience, I found several other projects that claim to offer free unlimited Translate APIs and are still actively maintained until very recently. I can't say I'm endorsing any of these, but please make sure to check them out.

https://github.com/yixianle/translate-api
https://github.com/ssut/py-googletrans
https://github.com/Stichoza/google-translate-php


PAAS-7923 v2.15.16

Jira Tickets included in PR are:

PAAS-7923: Pull in latest docker cookbook version

As a PaaS Engineer, I want to use the latest version of the docker cookbook which removes the dependency on compat-resource

Acceptance:
- Pull in git tag v2.15.16 of the docker cookbook

test this please

test this please

test this please


[frontend] - add span links on synthetic requests

Related to #329
Changes

Creates a new trace if the inbound request has a synthetic_request=true baggage (from load generator)
The new trace is linked to the inbound load generator trace using span links

[x] Appropriate CHANGELOG.md updated for non-trivial changes

Depends on #331

I put together this branch: https://github.com/honeycombio/opentelemetry-demo/tree/baggage-end-to-end which combines #331 and #332

After starting it, go to Jaeger UI, and look for traces to the paymentservice (might take a minute before one appears)
This trace will have a app.synthetic_requests=true attribute on the frontend root span, and a app.payment.charged=false attribute on the paymentservice "charge" span. (also note the trace root has a link to the load generator trace).
Stop just the load generator.  From a new terminal window run docker compose stop loadgenerator
Using the app UI, place an order for a product
Return to Jaeger UI, and look for the trace you just created with the paymentservice
This trace will have a root span that comes from your browser telemetry.sdk.language=webjs.  There will be no attribute on this span or the subsequent frontend span about a synthetic request.
The paymentservice "charge" span will have app.payment.charge=true attribute for orders placed using a web browser.

@puckpuck can you resolve conflicts?


Drowsiness Detection using Python and YOLO

Updated Project on Drowsiness Detection using PyTorch, YOLOv5 and OpenCV libraries

@durbar2003 run each cell of your notebook  and add snaps of results in your  readme.md file ...

okay


Return a list of images, instead of just the count

Thank you, tagged 1.2.0 for release. Sorry this took 2 YEARS to merge!


"outline report" doesn't work

"Outline Report" from report types doesn't work. it has internal problem with tone argument.
The problem occurs whether you use the tone argument in "researcher = GPTResearcher(query, report_type, tone)" or not.
here the relevant Traceback
Traceback (most recent call last):
  File "C:\Users\elcha\researcher_streamlit1\app.py", line 222, in <module>
    report = asyncio.run(get_report(prompt, report_type_dict[report_type], tone))
  File "C:\Users\elcha\researcher_streamlit1\app.py", line 52, in get_report
    report = await researcher.write_report()
  File "C:\Users\elcha\resercher_streamlit\.venv\researcher_streamlit1\Lib\site-packages\gpt_researcher\master\agent.py", line 207, in write_report
    report = await generate_report(
  File "C:\Users\elcha\resercher_streamlit\.venv\researcher_streamlit1\Lib\site-packages\gpt_researcher\master\actions.py", line 428, in generate_report
    content = f"{generate_prompt(query, context, report_source, report_format=cfg.report_format, tone=tone, total_words=cfg.total_words)}"

TypeError: generate_outline_report_prompt() got an unexpected keyword argument 'tone'

Code of mine function get report is
async def get_report(query: str, report_type: str, tone) -> str:
    researcher = GPTResearcher(query, report_type, tone)
    research_result = await researcher.conduct_research()
    report = await researcher.write_report()
    return report

Pushed a fix please try again thank you!


Installing FES2014 with conda, Looking for incompatible packages

Hi, I would like to migrate to FES2014 and I am trying to install it with conda on my system.
Unfortunately the command:
conda install pyfes -c fbriol
GIVE:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:

feature:/linux-64::__glibc==2.31=0
feature:|@/linux-64::__glibc==2.31=0

Your installed version is: 2.31
Honestly, I have no Idea about the issue.
May you suggest any solutions?
I have also tried cmake with no success since make -j give the following:
fatal error: uthash.h: No such file or director
Thanks
Giova

Hi,
I have exactly the same problems installing pyfes on Ubuntu22.04. Conda gives the reported error (just with glibc==2.35 instead).
In order to build the library myself I needed to install the uthash libs manually (sudo apt install uthash-dev). After that, building and installing with the default options (as given in the install instructions) works. However, if I try build to the python lib as well ( -DBUILD_PYTHON=ON) I get the following output:
$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local -DBUILD_PYTHON=ON
-- FES version: 2.9.4
-- Build type: RELWITHDEBINFO
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- Found Python3: /usr/bin/python3.10 (found version "3.10.6") found components: Interpreter Development Development.Module Development.Embed
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so (found version "3.10.6")
CMake Error at CMakeLists.txt:192 (add_subdirectory):
  The source directory

    /home/username/tmp/test_tide/aviso-fes-2.9.4/third_party/pybind11

  does not contain a CMakeLists.txt file.

CMake Error at python/CMakeLists.txt:16 (pybind11_add_module):
  Unknown CMake command "pybind11_add_module".

-- Configuring incomplete, errors occurred!
See also "/home/username/tmp/test_tide/aviso-fes-2.9.4/build/CMakeFiles/CMakeOutput.log".
See also "/home/username/tmp/test_tide/aviso-fes-2.9.4/build/CMakeFiles/CMakeError.log".

I have attached the two files but I couldn't find anything there that helped me solve the problem.
CMakeError.log
CMakeOutput.log
Is this a bug or did I do something wrong?

I also have nearly the same problem. I got the error when trying to install via conda:
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:

pyfes

Current channels:

https://conda.anaconda.org/fbriol/osx-arm64
https://conda.anaconda.org/fbriol/noarch
https://conda.anaconda.org/conda-forge/osx-arm64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/osx-arm64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-arm64
https://repo.anaconda.com/pkgs/r/noarch

I used conda search pyfes, but only found pyfesom

Hi, I followed hints from this: https://github.com/kvos/CoastSat.slope/issues/21
"So, the answer was pretty easy, here is the answer from the FES14 issue:
Try to update your conda environment (conda update --all -c conda-forge) then reinstall the library (conda install pyfes -c fbriol -c conda-forge)
This did the trick. By the way, the latest FES version runs on python 3.9"
by Alerovere
and I created a new env using python 3.9 or newer and then I upgraded to latest Conda. That works for me. You should try that!
@njuMarineGeoscience @G4occhi @ludwigus

conda update --all -c conda-forge

Thank you @datpthus , I tried this but still got the same error

I did not find pyfes or fbriol in my anaconda navigator, is it the problem?

@njuMarineGeoscience hi, what I did is pretty simple:

I remove current conda version from my computer and re-install the latest conda version
I create a new env (e.g. fesenv) using python 3.9 or above ( I tested with python 3.10 is OK). And then I run conda install pyfes -c fbriol -c conda-forge. That worked for me.

I know others also found difficult to install FES2014 but perharps I was lucky. However, could you try that?

@njuMarineGeoscience : for the latest Conda version 2.4.2 I can find pyfes package (2.9.4) from Anaconda Navigator. So, I really think that you should re-install Conda.

@datpthus Thank you! I think maybe pyfes does not support the MAC M1 chip. The file size of the anaconda installation package for the M1 was quite a bit smaller than for Intel, that's why I did not find pyfes. I just tried to download the intel version on my M1 MAC, and it worked! I don't understand, but now I have pyfes installed.

@njuMarineGeoscience thats great!

Hello everyone! I am writing this comment to sum up my experience about installing fes2014, and I hope my experience can help people who have difficulties installing pyfes.
First of all, my computer system is Windows 11, the version of Anaconda is 2023.07-2, and the version of python in 'base' environment is 3.11.4.
The first try is in the 'base' environment. I typed 'conda update --all -c conda-forge' just as @datpthus said. Here, you'd better run Anaconda Prompt as administrator. About one hour later, it displayed:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Maybe you will cost fewer time in this step, because my download speed is slow. And then I typed 'conda install pyfes -c fbriol'. After a long wait , it ddisplayed:
Specifications:

pyfes -> python[version='>=3.10,<3.11.0a0|>=3.9,<3.10.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0']
Your python: python=3.11
So I thought maybe pyfes was not compatible with python 3.11. In this website 'https://anaconda.org/fbriol/pyfes/files', I found the latest version of pyfes was named 'pyfes-2.9.5-py310h2e52968_0.tar.bz2', so I confirmed that I should try in python 3.10.

In the second try, I runned Anaconda Prompt as administrator, and typed 'conda create python310 python=3.10' to create a new environment. Then I typed 'conda update --all -c conda-forge', and it displayed as above. Lastly, I typed 'conda install pyfes -c fbriol', and it displayed:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
To confirm pyfes is installed, I typed 'conda list', and I found pyfes 2.9.4 inside.
Thank you to the seniors for your valuable experience!

@xxxzzzz32
Hello, I should have installed successfully, but when I run the program I get this error.

I guess that you installed sucessfully in cmd or anaconda prompt, but you get this error in jupyter notebook. Therefore, maybe the environmnt in jupyter doesn't have installed pyfes. Maybe you should change the environment in jupyter.
---- Replied Message ----
| From | @.> |
| Date | 09/30/2023 14:14 |
| To | @.> |
| Cc |<EMAIL_ADDRESS>|
| Subject | Re: [CNES/aviso-fes] Installing FES2014 with conda, Looking for incompatible packages (Issue #19) |
@xxxzzzz32
Hello, I should have installed successfully, but when I run the program I get this error.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

This question is out of date. Please use the most recent version of this software. You can install it from Conda.


Validations and error messages for run script

Adds some validations and error handling for the run script. Handles:

[x] User entering a tag without the "v" prefix by adding it for them
[x] User entering a tag that is syntactically correct but not pointing to a real release
[x] User entering version that is syntactically incorrect

Fixes https://github.com/civiform/civiform/issues/5140

@rockycodes yep, ran it locally and observed all code paths. Let's hold of on merging until the current deploy turbulence is resolved


Versioning update

Changes proposed in this pull request:

Avoid double copy of static libs on Win
Store version in one place (makefile.ver)
Example and samples link to non-versioned Win library file

http://intel-ci.intel.com/eb29d248-aa67-f15f-9f85-8cdcd4b723a1

http://intel-ci.intel.com/eb2b1892-3925-f13a-b398-8cdcd4b723a1

http://intel-ci.intel.com/eb2d7b23-61a0-f18b-b3f6-8cdcd4b723a1

@napetrov @rlnx @SmirnovEgorRu, do you have any comments?

There are failures in module-files check
88c88
< DAL_MINOR_BINARY=0

DAL_MINOR_BINARY=1

There are failures in module-files check
88c88
< DAL_MINOR_BINARY=0

DAL_MINOR_BINARY=1

Fixed by excluding of DAL_MINOR_BINARY and DAL_MAJOR_BINARY in check: http://intel-ci.intel.com/eb2f06bf-1781-f1f6-a458-8cdcd4b723a1

http://intel-ci.intel.com/eb2f1098-0ccd-f18f-bafb-8cdcd4b723a1


Using a custom AMI doesn't work

The documentation refers to an image field but setting this field in the iterative_cml_runner provider gives an error
│ Error: Computed attribute cannot be set
│
│   with iterative_cml_runner.runner,
│   on main.tf line 32, in resource "iterative_cml_runner" "runner":
│   32:   image = "helloworld"

Since it is specified as Computed: true
https://github.com/iterative/terraform-provider-iterative/blob/82d1b6047b728084d8b235e69f181ae608309db8/iterative/resource_runner.go#L92
Setting it in iterative_machine provider seems to work, but then I don't see how to do that in the cml-runner script which is using iterative_cml_runner here:
https://github.com/iterative/cml/blob/4fd2d8b866aed63dd15a5073f9dfafdb51c13544/src/terraform.js#L88

Allowing custom images for the iterative_cml_runner resource looks like a shoot in the foot. We're relying on a specific image to perform some operations, and if users specify an arbitrary image, things may (and will) break.
Nevertheless, this is easier to fix with code than documentation: we can allow to override teh default image but consider it unspecified behavior.


how to make an aync call parallely before proxy to another server?

Top pick emailed question:
I have a bunch of requests need to call at 1 time(Async) and proxy the result to another server How can I do that?

For this answer:
Currently link function module subrequest is only supporting sequential call (sync), and it is still under beta version.
I will recommend you try to use aio threads to pass request into your apps layer, and make async(future) call in your apps. After that add the result into headers input for proxy request purpose.
Assume that you are using c++ application linking, there are many async http client in c/c++.  such as
Boost.Asio
backcurl
restclient-cpp.
void oneBunchOfRequest(ngx_link_func_ctx_t* ctx) {
   //  ( "Async calling");
	http.AsyncCall(.........);

 // Request done, add to header for next request
ngx_link_func_add_header_in(ctx, "myResult", strlen("myResult"), result->data, result->len);
ngx_link_func_add_header_in(ctx, "myResult2", strlen("myResult2"), result2->data, result2->len);
ngx_link_func_add_header_in(ctx, "myResult3", strlen("myResult3"), result3->data, result3->len);

 if you are proxy route to another, do not make response content, that's all!!

}

location /oneBunchRequestAndRoute {

 ngx_link_func_call 'oneBunchOfRequest';

proxy_pass http://xxxxxxxxxx;
}


OCI labels

See https://github.com/openmicroscopy/omero-server-docker/pull/25
This is primarily unifying the labels for our top-level production Docker images. Also acknowledging the GitHub organization transfer from openmicroscopy to ome for both repository (all existing links should be redirecting) /cc @manics

Matches my understanding of omero-server/25. :+1:

@manics pushed


Why is a working code segment no longer working?

The code below worked a few days ago. Now it does not work. I am successfully identifying the faces I wish ro use to set boundary conditions, but now the assign_symmetry function is ignored.
obj_name = Cell[cellnum]

faces = obj_name.faces_on_bounding_box

sym_name1 = "sym1-cell" + str(cellnum)
sym_name2 = "sym2-cell" + str(cellnum)
sym_name3 = "sym3-cell" + str(cellnum)
face_id1 = faces[7]
face_id2 = faces[8]
face_id3 = faces[2]
aedtapp.assign_symmetry(face_id1, symmetry_name=sym_name1, is_perfect_e=False)
aedtapp.assign_symmetry(face_id2, symmetry_name=sym_name2, is_perfect_e=False)
aedtapp.assign_symmetry(face_id3, symmetry_name=sym_name3, is_perfect_e=False)

I traced into "aedtapp.assign_symmetry" and found "_functionhandler_wrapper (user function)." Instead of returning "result", it returned "false".
The question now is why "if not settings.enable_error_handler" is not returning true.
If I select a face manually and record the script I get the followin script:
import ScriptEnv
ScriptEnv.Initialize("Ansoft.ElectronicsDesktop")
oDesktop.RestoreWindow()
oProject = oDesktop.SetActiveProject("TEST")
oDesign = oProject.SetActiveDesign("test11")
oModule = oDesign.GetModule("BoundarySetup")
oModule.AssignSymmetry(
[
"NAME:Sym1",
"Faces:="		, [22],
"IsPerfectE:="		, False
])
Is there a way to bypass pyaedt and access the AssignSymmetry method directly?

I'm now trying to generate a simple program to focus on the assign_symmetry issue.
Here's what I've written so far.
"""Test"""
%% Imports
import os
import pyaedt
from pyaedt import desktop
from pyaedt import Hfss
new_project = create_new_project =r'C:\Jims Files\PYScripts\test'
pyaedt.Hfss(projectname=new_project, designname="test1)",solution_type="Eigenmode")
version = "2022.2"
aedtapp: Hfss=Hfss()
non_graphical = os.getenv("PYAEDT_NON_GRAPHICAL","False").lower() in ("true","1","t")
%% Code
X1 = 0.0
Y1 = 0.0
X2 = 100.0
y2 =  50.0
cell_points = [[X1,Y1,0.0],[X1,Y2,0.0],[X2,Y2,0.0],[X2,Y1,0.0],[X1,Y1,0.0]]
cell_name = cell
Cell = aedtapp.modeler.create_polyline(cell_points,segment_type=["Line","Line","Line","Line"],cover_surface=True,name=cell_name)
Cell_outer = aedtapp.modeler.sweep_along_vector(cell_name,[0.0,0.0,75.0])
obj_name = Cell
faces = obj_name.faces_on_bounding_box
aedtapp.release_desktop()
print("End of script")
Initially, I was debugging typos. When I got that cleaned up I run into a major snag.
I get an error message saying there is no module named 'pyaedt'.
C:\Users\jpott\PycharmProjects\pythonProject1\venv\Scripts\python.exe C:\Users\jpott\PycharmProjects\pythonProject1\main.py
Traceback (most recent call last):
File "C:\Users\jpott\PycharmProjects\pythonProject1\main.py", line 5, in
import pyaedt
ModuleNotFoundError: No module named 'pyaedt'
Process finished with exit code 1
This has been working in my larger code. What is going on?

Hi @jpotter0,
I think the issue is you are passing an ID, but the method expects a list of IDs, please see the documentation:
https://aedt.docs.pyansys.com/API/_autosummary/pyaedt.Hfss.assign_symmetry.html#assign-symmetry
About bypassing pyaedt, yes you can combine both, for example, if you have:
app = Hfss()
oDesign = app.odesign
And then use the same recorded commands.
Finally, regarding the installation, for now, PyAEDT is not integrated into the AEDT installation, so the only way is using pip install pyaedt, so you need to install it on your Python interpreter.
Let me know if it is clear.
Samuel

Samuel,
Thanks for the response.
I have tried putting more than one ID in the list
with the same result. I have also found that
enclosing a single item in brackets works if a
list is required. The code as is generates no
error messages. It is simply ignored. It returns
False instead of a result. The real mystery is
that I swear it worked at one time exactly as
written. something has turned off its ability to respond to assign_symmetry.
I will try your suggestion to access the AEDT script.
Best regards,
Jim
At 01:45 AM 11/28/2022, you wrote:

Hi @.***,
I think the issue is you are passing an ID, but
the method expects a list of IDs, please see the documentation:
https://aedt.docs.pyansys.com/API/_autosummary/pyaedt.Hfss.assign_symmetry.html#assign-symmetryhttps://aedt.docs.pyansys.com/API/_autosummary/pyaedt.Hfss.assign_symmetry.html#assign-symmetry
About bypassing pyaedt, yes you can combine both, for example, if you have:
app = Hfss()
oDesign = app.odesign
And then use the same recorded commands.
Finally, regarding the installation, for now,
PyAEDT is not integrated into the AEDT
installation, so the only way is using pip
install pyaedt, so you need to install it on your Python interpreter.
Let me know if it is clear.
Samuel

Reply to this email directly,
https://github.com/pyansys/pyaedt/issues/2043#issuecomment-1328725889view
it on GitHub, or
https://github.com/notifications/unsubscribe-auth/AKX7QMDT7HUHMXCNRWMFJFLWKRWKZANCNFSM6AAAAAASL6MY6Eunsubscribe.
You are receiving this because you were
mentioned.Message ID: @.***>

@jpotter0 Please could you try to create a simple code for trying to reproduce the error (open HFSS, create a box, and create symmetry)? If it fails, please share it here and I will debug it.

Samuel,
I have exactly such a code. I will send it in a
minute. I am trying out the access to the AEDT methods,
Jim
At 02:06 AM 11/28/2022, you wrote:

@.*** Please
could you try to create a simple code for trying
to reproduce the error (open HFSS, create a box,
and create symmetry)? If it fails, please share it here and I will debug it.

Reply to this email directly,
https://github.com/pyansys/pyaedt/issues/2043#issuecomment-1328749964view
it on GitHub, or
https://github.com/notifications/unsubscribe-auth/AKX7QMDU3HNHTRPECBCSYRLWKRY2ZANCNFSM6AAAAAASL6MY6Eunsubscribe.
You are receiving this because you were
mentioned.Message ID: @.***>

James M. Potter, PhD, President
JP Accelerator Works, Inc.
2245 47th Street
Los Alamos, NM 87544
TEL:<PHONE_NUMBER>

Samuel,
A test code is attached. I had been messing with it and had to restore it.
Jim
At 02:06 AM 11/28/2022, Samuel Lopez wrote:

@.*** Please
could you try to create a simple code for trying
to reproduce the error (open HFSS, create a box,
and create symmetry)? If it fails, please share it here and I will debug it.

Reply to this email directly,
https://github.com/pyansys/pyaedt/issues/2043#issuecomment-1328749964view
it on GitHub, or
https://github.com/notifications/unsubscribe-auth/AKX7QMDU3HNHTRPECBCSYRLWKRY2ZANCNFSM6AAAAAASL6MY6Eunsubscribe.
You are receiving this because you were
mentioned.Message ID: @.***>

"""Script for IHDTL HFSS design using PyAEDT."""
%% Imports
import math
import os
import pyaedt
from pyaedt import Desktop
from pyaedt import Hfss
%% Code
new_project = create_new_project = r'C:\Jims Files\PY Scripts\TEST.aedt'
pyaedt.Hfss(projectname=new_project, designname="test1", solution_type="Eigenmode")
ersion = "2022.2"
aedtapp: Hfss = Hfss()
###############################################################################
Set non-graphical mode
non_graphical = os.getenv("PYAEDT_NON_GRAPHICAL", "False").lower() in ("true", "1", "t")
###############################################################################
Launch AEDT
~~~~~~~~~~~
Launch AEDT 2022 R2 in graphical mode.
d = Desktop("2022.2", non_graphical=False, new_desktop_session=True)
###############################################################################
Launch HFSS
%% Codesettings
x1 = 0.0
y1 = 0.0
x2 = 100.0
y2 = 75.0
z1 = 50.0
cell_points = [[x1, y1, 0.0], [x2, y1, 0.0], [x2, y2, 0.0],[x1, y2, 0.0], [x1, y1, 0.0]]
cell_name = "cell"
Cell = aedtapp.modeler.create_polyline(cell_points, segment_type=["Line", "Line", "Line", "Line"],
cover_surface=True, name=cell_name)
Cell1 = aedtapp.modeler.sweep_along_vector(cell_name, [0.0, 0.0, z1])
obj_name = Cell
faces = obj_name.faces_on_bounding_box
sym_name1 = "sym1-cell"
sym_name2 = "sym2-cell"
sym_name3 = "sym3-cell"
face_id1 = faces[0]
face_id2 = faces[2]
face_id3 = faces[3]
aedtapp.assign_symmetry(face_id1, symmetry_name=sym_name1, is_perfect_e=False)
aedtapp.assign_symmetry(face_id2, symmetry_name=sym_name2, is_perfect_e=False)
aedtapp.assign_symmetry(face_id3, symmetry_name=sym_name3, is_perfect_e=False)
aedtapp.release_desktop()
print("End of script")

HI @jpotter0,
I have detected a bug for Eigenmode solution type, I will fix the bug. Once it is fixed, you just need to:
sym_name1 = "sym1-cell"
sym_name2 = "sym2-cell"
sym_name3 = "sym3-cell"
face_id1 = faces[0]
face_id2 = faces[2]
face_id3 = faces[3]
aedtapp.assign_symmetry([face_id1, face_id2, face_id3], symmetry_name=sym_name1, is_perfect_e=False)

Samuel,
Maybe that's why it worked before. At first, while creating the geometry, the solution method defaulted to modal. When I got closer to wanting to run the solver, I paid more attention to setting up the filename and the design names.
I'm looking forward to getting the fix.
Best regards,
Jim
On November 28, 2022 4:13:47 AM MST, Samuel Lopez @.***> wrote:

HI @jpotter0,
I have detected a bug for Eigenmode solution type, I will fix the bug. Once it is fixed, you just need to:
sym_name1 = "sym1-cell"
sym_name2 = "sym2-cell"
sym_name3 = "sym3-cell"
face_id1 = faces[0]
face_id2 = faces[2]
face_id3 = faces[3]
aedtapp.assign_symmetry([face_id1, face_id2, face_id3], symmetry_name=sym_name1, is_perfect_e=False)
--
Reply to this email directly or view it on GitHub:
https://github.com/pyansys/pyaedt/issues/2043#issuecomment-1328903202
You are receiving this because you were mentioned.
Message ID: @.***>
--
James M. Potter, PhD, President
JP Accelerator Works, Inc.
2245 47th Street
Los Alamos, NM 87644

TEL:<PHONE_NUMBER>
Sent from my Android device with K-9 Mail.

@jpotter0
Using the batch file is just run:
pyaedt_with_IDE.bat -u
About the repo, please contact Alex Moody, and he could help you because it is not pyaedt related.

Samuel,
My update is to v0.6.28
How to I get v0.6.30?
Jim
At 11:15 AM 11/28/2022, you wrote:

@.***
Using the batch file is just run:
pyaedt_with_IDE.bat -u
About the repo, please contact Alex Moody, and
he could help you because it is not pyaedt related.

Reply to this email directly,
https://github.com/pyansys/pyaedt/issues/2043#issuecomment-1329536876view
it on GitHub, or
https://github.com/notifications/unsubscribe-auth/AKX7QMDLEMQIVHOINPUWBGLWKTZCJANCNFSM6AAAAAASL6MY6Eunsubscribe.
You are receiving this because you were
mentioned.Message ID: @.***>

James M. Potter, PhD, President
JP Accelerator Works, Inc.
2245 47th Street
Los Alamos, NM 87544
TEL:<PHONE_NUMBER>


Create Game from Home - 2 buttons - private/public

resolved in https://github.com/sopra-fs23-group-37/client/pull/217/commits/8d288560e072efbc8d5d755c81c901d4eefbacb9


The C++ module failed to load while attempting to initialize the default appdomain.

Hi,
I have a problem with running test with mixed assemblies native and managed.
In Test Explorer tab from Visual Studio, There is no problem.
If I try to run test in AxoCover tab from Visual Studio, test fails due to exception System.TypeInitializationException: The type initializer for '' threw an exception, with inner exception "The C++ module failed to load while attempting to initialize the default appdomain."
What is the difference when it runs from testhost.exe and from AxoCover.Host-x64.exe?
Thanks

Could it be that you C++ code is x86? In which case you would need to change the platform in AxoCover settings.

It could be also caused by the fact that the tests in AxoCover do not execute in the default appdomain.

My C++/CLI dlls is targeted at x64 and platform in AxoCover's Test settings is also x64.
At first i face the problem, test was also failed in Test Explorer tab.
After searching, i found out this document.
https://developercommunity.visualstudio.com/content/problem/169359/ccli-dll-is-initialized-in-wrong-appdomain.html
So i modified the code that having static field with gcroot in a C++/CLI dlls, then test was passed.
But in AxoCover tab, after C++/CLI dll loaded, finding managed dll only in a directory that AxoCover.Host-x64.exe exists, not in my test dlls exist.
Now, i'm making a batch file that using OpenCover and ReportGenerator to confirm the code coverage and it has no problem.
Any help?
thanks in advance.

To validate the above theory you could try to set the PATH environment variable on your machine to include the directory of your DLL, and restart Visual Studio and try if it works with AoxCover. If it does please tell me and I will make the change, if not we look for another solution.

I did what you said, but nothing's changed. So it seems to be an issue not related to PATH environment var. When C++/CLI DLL loaded, maybe new AppDomain is being created for some reason. And i think this is probably a Visual Studio bug. I will try to find out more for myself.
Thank you anyway.

Could you create a minimalistic sample project for me, which I could check to reproduce the error you encounter?
I never used AxoCover with mixed mode DLLs so far, so this is an uncharted territory for the engine.

(AxoCover runs tests in separate AppDomain, if this is the issue, I could try to add the setting - this might be simple or not so simple depending on the test framework. Which test framework do you use?)

This is a minimalistic sample project that i first encounter.
TestDemo.zip

Thanks, I will take a look over the weekend.

For the tests to run in VS you need a runsettings file to be specified for running in x64 mode, I used this:
runSettings.zip


sched/pthread/join: refactor pthread join to support join task

Summary
sched/pthread/join: refactor pthread join to support join task

add support to join main task

| static pthread_t self;
|
| static void *join_task(void *arg)
| {
|   int ret;
|   ret = pthread_join(self, NULL);          <---  /* Fix Task could not be joined */
|   return NULL;
| }
|
| int main(int argc, char *argv[])
| {
|   pthread_t thread;
|
|   self = pthread_self();
|
|   pthread_create(&thread, NULL, join_task, NULL);
|   sleep(1);
|
|   pthread_exit(NULL);
|   return 0;
| }

Detach active thread will not alloc for additional join, just update the task flag.
Remove the return value waiting lock logic (data_sem),
the return value will be stored in the waiting tcb.
Revise the return value of pthread_join(), consistent with linux
e.g:
Joining a detached and canceled thread should return EINVAL, not ESRCH

   https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_join.html

   [EINVAL]
      The value specified by thread does not refer to a joinable thread.

NOTE:
This PR will not increase stack usage, but struct tcb_s will increase by 32 bytes.
Impact
Depends on: https://github.com/apache/nuttx-apps/pull/2329
N/A
Testing
rv-virt:ksmp64
sim/citest
ostest/usrsocktest/scanftest/getprime

Very nice @anchao !
Please test also with osperf and let us know what was the impact before and after this change

Very nice @anchao ! Please test also with osperf and let us know what was the impact before and after this change

@acassis osperf results as below, performance has no impact
Testing on Tricore TC397 300M
Before this PR:
nsh> osperf
OS performance args: count:100, detail:false
==============================================================
Describe                                Max        Min        Avg
pthread-create                        32000      27000      27840
pthread-switch                        15000      14000      14850
context-switch                        15000      14000      14880
hpwork                                16000      15000      15060
poll-write                            28000      26000      26890
semwait                               15000      14000      14070
sempost                               14000      13000      13920

Apply this PR:
nsh> osperf
OS performance args: count:100, detail:false
==============================================================
Describe                                Max        Min        Avg
pthread-create                        31000      26000      26540
pthread-switch                        15000      14000      14930
context-switch                        15000      14000      14850
hpwork                                16000      15000      15150
poll-write                            27000      26000      26540
semwait                               15000      14000      14090
sempost                               15000      14000      14030

@masayuki2009 san, could you please help to review this PR? Thank you!
This PR depends on:
https://github.com/apache/nuttx-apps/pull/2329

@masayuki2009 san, could you please help to review this PR? Thank you!
This PR depends on: apache/nuttx-apps#2329

@anchao
I'll try this PR later today.

@anchao
Do you know why the Build / Linux (sim-01) fails?

@anchao Do you know why the Build / Linux (sim-01) fails?

OK. I understand that ci-test needs  https://github.com/apache/nuttx-apps/pull/2329.

OK. I understand that sim:citest needs https://github.com/apache/nuttx-apps/pull/2329.
I confirmed that this PR works with the above PR in apps.

OK. I understand that sim:citest needs apache/nuttx-apps#2329.
I confirmed that this PR works with the above PR in apps.

@masayuki2009 Thanks very much for your review!


Assembly orders and calculation of availability for the reservation

Hello,
On a sales order with an assembly order, when the pick is registered and the warehouse shipment is not yet posted, it seems that the quantity for the components of the assembly order is taken into account twice for the calculation of the unavailable quantities in the reservation function.
For example
We have a sales order with the item 10035E and an assembly order was created for this item with the component 10035.
When the warehouse pick is registered, the quantity to use for the assembly is placed in the « To-assembly bin code » and is taken into account for the calculation of unavailable quantities (Qty. Allocated In Warehouse).

But the quantity is still reserved for the assembly order on ledger entries and is also taken into account for the calculation of unavailable quantities (Total Reserved Quantity).

Please, could you confirm us that there is a problem in the calculation of the availability for the reservation ?

Thank you for your feedback, but this channel is for extensibility and event requests. We cannot process functional of hotfix requests here. Can you please raise your concerns via regular support channel and create collaboration or hotfix request?


Upgrade ArgoCD to v2.0.4. Bitnami Redis image as default.

This PR updates ArgoCD from v1.8.7 to v2.0.4.
This PR also switches the default Redis image to bitnami/redis. The official image is still supported.
Fixes #18.

@simu Where would you but the note about supporting library/docker and bitnami/docker images?
The changelog or a new entry under references/parameters.adoc would be the most logical to me.

@simu Where would you but the note about supporting library/docker and bitnami/docker images?
The changelog or a new entry under references/parameters.adoc would be the most logical to me.

I'd just add a note in the section for parameter images in the component documentation.


[release-4.11] OCPBUGS-20662: CVE-2023-44487: bump golang.org/x/net to v0.17.0

cc @openshift/storage

/retest

/retest

/label backport-risk-assessed

/lgtm

CI result looks good.
Verified with golang.org/x/net v0.17.0 in go.mod file
/label cherry-pick-approved
/label qe-approved

/jira refresh

/jira refresh


Have a visualizer for product data & mark that data is for testing purposes

Can reuse Rik Smithies's visualizer, or create a new one.
The visualizer should clearly display that the data is "Work in progress".

I checked the EMA IG and looks like MedicinalProductDefinition.status is not occupied by any other meaningful content, and could be used to express that the data is for testing purposes.
Of all the resources, RegulatedAuthorization seems to be the only one where .status has a specific meaning. Please don't overwrite it there.
@costateixeira and @joofio please talk to eachother and decide who does what in this issue and assign accordingly.

@rlindstrm, correct me if I'm wrong: I think that the "mark that data is for testing purposes" part should be accomplished at the FHIR level. I think that all resources have a "status" attribute where you can have as a value "active", "draft", etc...

Not sure what you mean by FHIR level. Like a level higher than status of the resource? Or you mean the status?
I don't really care anyway. We just agreed to have it SOMEWHERE, all suggestions are welcome.  :)
But it's important to know that RegulatedAuthorization.status is used for the status of marketing authorisation. It is not metadata for the resource, but semantically relevant bit of data. So this one must not be changed.

I actually meant the "status". I'm simply saying that the information about the maturity of data should be in the data itself, and not just a banner in the visualizer front-end saying "this data is just for playing around".

Yes, absolutely agreed.

Visualiser uses this request to bundle the resources:
http://fhir.hl7.pt/fhir/MedicinalProductDefinition?_revinclude=RegulatedAuthorization:subject&_revinclude=PackagedProductDefinition:package-for&_revinclude=AdministrableProductDefinition:form-of&_include:iterate=AdministrableProductDefinition:manufactured-item&_revinclude:iterate=Ingredient:for&_format=json&_id=mp-6747a4bfd435b641b93387c863011a5d
If I understand correctly _include:iterate=AdministrableProductDefinition:manufactured-item collects all the Manufactured Items referenced in the Administrable Product resource. This is not a good place for retrieving this data, as this reference is not present in IDMP and is generally not present in the NCA data either (we had the reference in UFIS data, that's why it worked well with those examples).
The best place to search for Manufactured Items is the package.

Marketing authorisation holder name comes from Organization resource which is not present in the bundle. Please include if possible.

I'd also like to change some labels on the template, starting from
Combined pharmaceutical dose form: {{ mpd.combinedPharmaceuticalDoseForm.coding[0].display }}
where I'd like to use the term "Authorised dose form" instead (see Known Issues for explanation).
But there other tiny things I'd like to correct in labels, so I'm not sure if you want the list or if I should just write them in the template. @costateixeira

Visualiser uses this request to bundle the resources: http://fhir.hl7.pt/fhir/MedicinalProductDefinition?_revinclude=RegulatedAuthorization:subject&_revinclude=PackagedProductDefinition:package-for&_revinclude=AdministrableProductDefinition:form-of&_include:iterate=AdministrableProductDefinition:manufactured-item&_revinclude:iterate=Ingredient:for&_format=json&_id=mp-6747a4bfd435b641b93387c863011a5d
If I understand correctly _include:iterate=AdministrableProductDefinition:manufactured-item collects all the Manufactured Items referenced in the Administrable Product resource. This is not a good place for retrieving this data, as this reference is not present in IDMP and is generally not present in the NCA data either (we had the reference in UFIS data, that's why it worked well with those examples). The best place to search for Manufactured Items is the package.

@rlindstrm the references are fixed (they were already somewhat handled in the template layout, but the query was indeed incorrect.
As for the Orgs, is there an example of a product that has an org for which there is an Organization resource?
For the other tiny things - i'll publish the template and we can use that for adding issues. Or a email, or a document, or a comment here...

All the bundle examples in the IG use Organization resource.
Joao's data also uses Organization, because it's written in the profile.
The main reason for this solution is that I didn't know how else to profile it. There is an open question about it in the profile fsh file, which we can revisit if having a separate Organization resource seems too much (we only need the identifier and the name).

The point is whether the resoluções are on the server. For example
Cefuroxim does reference an organization but there are no Organization
resources in Hugh 's server.
On Mon, 26 Dec 2022, 17:06 Rutt Lindström, @.***> wrote:

All the bundle examples in the IG use Organization resource.
Joao's data also uses Organization, because it's written in the profile.
The main reason for this solution is that I didn't know how else to
profile it. There is an open question about it in the profile fsh file,
which we can revisit if having a separate Organization resource seems too
much (we only need the identifier and the name).
—
Reply to this email directly, view it on GitHub
https://github.com/hl7-eu/unicom-ig/issues/60#issuecomment-1365288142,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3HUUGCIS75CJKACXVPJVDWPHGADANCNFSM6AAAAAASRXCMJM
.
You are receiving this because you were mentioned.Message ID:
@.***>

I'm not sure if it was a question or an answer.
In UFIS we did not have Organization resources. In IG we always have, and they are also present in the bundle-examples, even if it's not maybe necessary.

ok. What do we want to see about the organization?
On Mon, Dec 26, 2022 at 6:48 PM Rutt Lindström @.***>
wrote:

I'm not sure if it was a question or an answer.
In UFIS we did not have Organization resources. In IG we always have, and
they are also present in the bundle-examples, even if it's not maybe
necessary.
—
Reply to this email directly, view it on GitHub
https://github.com/hl7-eu/unicom-ig/issues/60#issuecomment-1365304108,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3HUUHASILXETIHSXT4FHLWPHK7VANCNFSM6AAAAAASRXCMJM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Name and identifier(s)

Dear @costateixeira
You wrote in the email that it's fixed, but I have no idea how I could use it.
I've been using it here http://<IP_ADDRESS>:8084/
Is that under your control? Can you update it please?

I know you haven't updated the visualiser yet, but here's another anomaly. This is from browser's Network tab:

So... Basically, when I search for one product, I actually get another one in the visualiser. You can try it out on this link, but it seems to apply to all products at the moment:
http://<IP_ADDRESS>:8084/apps/visualiser/index.html?url=http://fhir.hl7.pt/fhir/MedicinalProductDefinition/mp-45f0935e8c6afee1cac2e42562b88f23

I was debugging the visualizer (the recursive packaging has been a pain).
Will continue to update and fix as soon as I can
On Sun, Jan 1, 2023 at 1:55 PM Rutt Lindström @.***>
wrote:

I know you haven't updated the visualiser yet, but here's another anomaly.
This is from browser's Network tab:
[image: image]
https://user-images.githubusercontent.com/112903984/210171004-33fe10c3-107b-45d8-909f-967defc8c69a.png
So... Basically, when I search for one product, I actually get another one
in the visualiser. You can try it out on this link, but it seems to apply
to all products at the moment:
http://<IP_ADDRESS>:8084/apps/visualiser/index.html?url=http://fhir.hl7.pt/fhir/MedicinalProductDefinition/mp-45f0935e8c6afee1cac2e42562b88f23
—
Reply to this email directly, view it on GitHub
https://github.com/hl7-eu/unicom-ig/issues/60#issuecomment-1368436295,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3HUUDIKIN2PS4JI7ZJ3Y3WQF5D7ANCNFSM6AAAAAASRXCMJM
.
You are receiving this because you were mentioned.Message ID:
@.***>

The first version of near-functional visualiser is here: https://hl7-eu.github.io/unicom-ig/branches/template-work/Bundle-001-Agen5mg-EE-FullProduct.html
There's some template work to be done to beautify things up.
Out of 36 products that we have in the IG, there are 5 that don't open in the visualiser. I believe it does not like points in the Bundle id (or possibly in any other id).
@costateixeira If that is an expected behaviour, then it's not difficult to get rid of points in all the id's. If that is something you want to investigate, then here are the ones that don't open (example number and MPD id):
003   CefuroximStragen-1.5g-Powder-SE-IS-MedicinalProductDefinition
006   Yaz-0023mg-tablet-SE-AJ-MedicinalProductDefinition
007   Jangee-0.02mg-3mg-Film-coated-tablet-EE-MPD
008   Jangee-0.03mg-3mg-Film-coated-tablet-EE-MPD
010   Clexane-60mg-0.6ml-solinj-EE-MPD

Dots in the bundle name do mess up the entire thing. Eventually there
should be a way to make it work but I have no ideas
On Sat, 21 Jan 2023, 18:33 Rutt Lindström, @.***> wrote:

The first version of near-functional visualiser is here:
https://hl7-eu.github.io/unicom-ig/branches/template-work/Bundle-001-Agen5mg-EE-FullProduct.html
There's some template work to be done to beautify things up.
Out of 36 products that we have in the IG, there are 5 that don't open in
the visualiser. I believe it does not like points in the Bundle id (or
possibly in any other id).
@costateixeira https://github.com/costateixeira If that is an expected
behaviour, then it's not difficult to get rid of points in all the id's. If
that is something you want to investigate, then here are the ones that
don't open (example number and MPD id):
003 CefuroximStragen-1.5g-Powder-SE-IS-MedicinalProductDefinition
006 Yaz-0023mg-tablet-SE-AJ-MedicinalProductDefinition
007 Jangee-0.02mg-3mg-Film-coated-tablet-EE-MPD
008 Jangee-0.03mg-3mg-Film-coated-tablet-EE-MPD
010 Clexane-60mg-0.6ml-solinj-EE-MPD
—
Reply to this email directly, view it on GitHub
https://github.com/hl7-eu/unicom-ig/issues/60#issuecomment-1399295110,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3HUUGSDNDISJ42RNSXM4TWTQMYLANCNFSM6AAAAAASRXCMJM
.
You are receiving this because you were mentioned.Message ID:
@.***>

I worked on template-work branch:

removed decimal points from ids
did some prettying on templates, added some elements that were missing
made a separate file for Ingredient
the build fails on build.fhir.org, but I understood that this is expected at this point. It built in my computer.

@costateixeira
I struggled with Ingredient a lot. Two things were missing /not working on your template, and I could not get them work either:

reference strength (I added the block, but it only recognises if the reference strength is present in the data, but doesn't show real data). Please help me find what I'm missing.
administrable product ingredients. I tried several ways, but they just don't want to appear. :)

Done, I guess. Shall we close or wait until fhir.build also accepts our choices?
Also, a page in the IG is being written about the visualiser. Or it was being written yesterday. Who knows how it will continue. I would untie the page writing task from this issue.

Agree to close if it is acceptable for now, and the page is a separate task
On Mon, Jan 23, 2023 at 5:39 PM Rutt Lindström @.***>
wrote:

Done, I guess. Shall we close or wait until fhir.build also accepts our
choices?
Also, a page in the IG is being written about the visualiser. Or it was
being written yesterday. Who knows how it will continue. I would untie the
page writing task from this issue.
—
Reply to this email directly, view it on GitHub
https://github.com/hl7-eu/unicom-ig/issues/60#issuecomment-1400647114,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3HUUHGOMLWXRRTHQNZ4VDWT2X3FANCNFSM6AAAAAASRXCMJM
.
You are receiving this because you were mentioned.Message ID:
@.***>


Not working on Simulator Android 6.0

Thanks for your great lib,
But I don't see it works on simulator android 6.0.
Any help, please?
Thanks

I didn't support x86, only arm. So you can test on a real phone.

Thanks for reply,
I tried on a OnePlus phone with Android 6.0 but nothing happened.
I'm using gradle and this line of code in application
Watcher.run(this, "http://www.google.com", true);

How about other phones, this library does not support all the phones.

Tried this one too, but same problem
HTC Desire 610 540 x 960 pixels (~234 ppi pixel density) Android 4.4.2
Does it work on Android > 5.0 ?

It seems not work on Android > 5.0

Ya... I'm looking for a workable solution on latest Android versions and found this
http://stackoverflow.com/questions/18692571/how-can-an-app-detect-that-its-going-to-be-uninstalled
not tried yet, but will let you know if It works.
Please, update your good lib if you fixed this issue. Thanks.

It will be nice if you make a pr.

@njt28 Were you able to get something working on Android>5.0 ?

@prikshitg1 : use this repo.
https://github.com/cnzx219/android-uninstall-feedback

@njt28 lib not working >5.0?

Not work.

@Coolerfall  how to fix?

I'm afraid I have no idea now.

ok tkank


Test

Test needs to be removed.

.gitignore line 10 at r1 (raw file):

TEST
#101110011

print (hello)
Code snippet:
Test


update openapi and skd due to updated knative

What this PR does / why we need it:
Due to the knative is updated in the PR #251 , there are some changes in the knative and also has updates in kfservce_type.go, so we need to update the openapi, swagger file and python client.
Which issue(s) this PR fixes :
Fixes #249
Special notes for your reviewer:
Here It is worth mentioning that: since the URL in the KFServiceStatus refer toapis.URL in knative/pkg, and that's aliased from net.url, we must to include the net.url while generete openapi, so I hacked to add // +k8s:openapi-gen=true in the ${GOROOT}/src/net/url/url.go (No better way so far).
Release note:

This change is

/assign @yuzisun
Please help to review once you get chance, thanks a lot!

Perhaps relying on the conditions instead is better. I want to be able to
use the conditionset that they provide. I don't see how observed generation
is useful. Is it worth reaching out to knative and seeing what it's for?
On Fri, Aug 2, 2019, 6:42 AM Dan Sun<EMAIL_ADDRESS>wrote:

@yuzisun commented on this pull request.
In hack/update-openapigen.sh
https://github.com/kubeflow/kfserving/pull/272#discussion_r310136763:

@@ -22,17 +22,38 @@ if [ -z "${GOPATH:-}" ]; then
export GOPATH=$(go env GOPATH)
fi

-# Update kative files to add +k8s:openapi-gen=true to workaround the knative types cannot be load.
-# TBD @jinchihe: This should be updated from knative (PR: https://github.com/knative/pkg/pull/510).
-sed -i '/^type Condition struct {/i // +k8s:openapi-gen=true' vendor/github.com/knative/pkg/apis/condition_types.go
-sed http://github.com/knative/pkg/apis/condition_types.go-sed -i '/^type VolatileTime struct {/i // +k8s:openapi-gen=true' vendor/github.com/knative/pkg/apis/volatile_time.go
+if [ -z "${GOROOT:-}" ]; then

export GOROOT=$(go env GOROOT)
+fi

+# Below hacks are to add "// +k8s:openapi-gen=true" for some dependencies.
+# The knative related hacking can be removed once upgraded (knative/pkg/pull/510).
+knative_condition_file="vendor/github.com/knative/pkg/apis/condition_types.go"
+knative_volatile_file="vendor/github.com/knative/pkg/apis/volatile_time.go"
+knative_url_file="vendor/github.com/knative/pkg/apis/url.go"
should we create our own url type ? Looks it generates a bunch of fields
that we do not need.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubeflow/kfserving/pull/272?email_source=notifications&email_token=AATXLCG5HCA4QI76LLB3Q73QCQ2TXA5CNFSM4IH4UKG2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCANLDEI#pullrequestreview-270184849,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATXLCBMU4JTUNL2B3DFDQTQCQ2TXANCNFSM4IH4UKGQ
.

@yuzisun @ellis-bigelow Checked in knative, the observedGeneration is is the 'Generation' of the Service that was last processed by the controller. For example, I created the kservice, the Genareate and observedGeneration are 1, and applied to changed something, the Genareate and observedGeneration are 2.
[root@jinchi1 ~]# kubectl get ksvc helloworld-go -o yaml
apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
  ...
  creationTimestamp: 2019-08-05T01:42:02Z
  generation: 2
  name: helloworld-go
   ...

status:
   ...
  observedGeneration: 2
   ...

Personally I suggest to keep the current implement, since no impacts and not sure if that's useful for kfserving in the future although it doesn't seem very useful right now. Comments?

Perhaps relying on the conditions instead is better. I want to be able to use the conditionset that they provide. I don't see how observed generation is useful. Is it worth reaching out to knative and seeing what it's for?
…

we actually need to use knative status duck type otherwise the condition propagation won't work properly.  I am not sure what's involved to just rely on conditions.

we actually need to use knative status duck type otherwise the condition propagation won't work properly. I am not sure what's involved to just rely on conditions.

@yuzisun @ellis-bigelow if so, I created the new ticket #278 to trace handling the observedGeneration. Let's keep that as implemented of SDK and CRD defination, and address that in seprated ticket. Thanks.

/retest

Cool. Sounds like a good conclusion for now

@ellis-bigelow @johnugeorge @jinchihe by introducing apis.URL to status, we have to create this hack since that struct is deep in go standard library(https://github.com/golang/go/blob/a2f5d644d3a2903a82e527e3bca2c4bdff1d0750/src/net/url/url.go#L359) and we can not add openapi annotation, I'd suggest create our simplified URL struct without unnecessary fields such as userinfo which pull in a lot of other unrelated fields. WDYT ?

@ellis-bigelow @johnugeorge @jinchihe by introducing apis.URL to status, we have to create this hack since that struct is deep in go standard library(https://github.com/golang/go/blob/a2f5d644d3a2903a82e527e3bca2c4bdff1d0750/src/net/url/url.go#L359) and we can not add openapi annotation, I'd suggest create our simplified URL struct without unnecessary fields such as userinfo which pull in a lot of other unrelated fields. WDYT ?

@yuzisun After investigation, I think that's better to rollback to string for URL since if we ceate our URL struct, that's hard to assign with net.url (cannot sure no issue in the future). And there is a String function in the knative.dev/pkg/apis.URL, we can use that and transfer to string and kfservice.
Since the topic is related with other issue than updating sdk, will send separated PR to update that. Thanks.

/hold
For two things:

waiting for #289 merged, and update the PR accordingly.
the knative has been upgraded to 0.8, will handle SDK accordingly.

@jinchihe you can remove all the hacks now :)

@jinchihe you can remove all the hacks now :)

@yuzisun Yes, you are right!

@yuzisun Sorry.. I made a mistake while trying to rebase, and caused the PR closed, frustrated basing due to changed laptop.. I will try the send another PR to upgrade this.


Check takes too long for large commits/PRs

Maybe set an upper limit (100?) to the number of files to be checked per commit. Otherwise it runs for hours and we exceed our quota of 2000 min/month.

added a (soft) limit


Models not saved properly?

When I load a model from the database, change the value of its fields, save it to the database, then load it again, fields still have the previous (non-edited) values.

Can I see the reproducable code?

final Model_Selector selector = mDatabase.selectFromModel();

Model model = selector.value();
model.setField(newFieldValue);
mDatabase.relationOfModel().inserter(OnConflict.REPLACE, true).execute(model);

model = selector.value();
// model.getField() == oldFieldValue

I got it to work. Should have set withoutAutoId to false if my model already existed in the database. My bad!

👍
It could be problems that Update interface is confusing. Will improve the interface. Thanks.


Test Emscripten build in CI

We should test the Emscripten build in CI and fail if the generated artifact differs from the commit.

I wonder if there's any way to gate this step by file - e.g. if you change any file in build or out. Otherwise I'm worried about build times, since Travis would have to download Emscripten and clone the core H3 lib to run the build, and it could be slow.

You might be able to set Travis CI to cache the Emscripten install: https://docs.travis-ci.com/user/caching/

Fixed in #14, thanks @nrabinowitz


Question about Validate

I have an access token from auth0 (RS256) that correctly validates in jwt.io.  But no matter what I try in the Jwt.validate, I always get invalid back.
Your docs say that the second parameter to Jwt.validate is the public or private key.  I am attempting to use the public key (because of the asymmetric nature or RS256).
Is the public key just the public key or do I have to do an RSA256 or base64 decode/encode of the key before passing it to the validate function?
Do I need to include the -----BEGIN CERTIFICATE----- before and after the key?
Thanks for any information.

@kershnerd your PublicKey should be a .pem:
-----BEGIN PUBLIC KEY-----
MIIBIjANBg.........................
-----END PUBLIC KEY-----

After that you have to create an instance of java.security.PublicKey with it.
See discussion #89 :-)
Cheers.


[1.12.2] Vanilla Health Bar

When I play using this mod I have only the vanilla health bar no matter what I do even if I force render rpg hud bar. I will include the modlist and while they are not currently in the mod file I also use tinkers construct and tinkers leveling.

This is caused by mantle.
Find this in the config of this mod:
``    # Prevent the render event of this element. This might disable features of other mods.   §cActivate this if another mod renders §csomething you don't want §cand can't disable it otherwise §cWARNING: Might disable other things, too
B:prevent_event_health=false
and set false to true. This should fix your issue.


 I'd like to try to get this fixed upstream in OpenMMTools, but for now here's a hack that makes it less unpleasant to work with the CLI.

This is ready for review and comment. Without review, I will merge this after at least 24 hours, no sooner than Tue 11 Jun 00:00 GMT (Mon 10 Jun 19:00 my local).


Installing Divi theme as a Composer package

Hello!
I'm trying to develop a Composer plugin that facilitates
composer require elegantthemes/divi

using ET's update API endpoint: https://www.elegantthemes.com/api/api.php
Could you support me or should I r3verse engineer Divi theme to learn how that API works?
My recent Composer plugin is for installing Envato themes (e.g. Avada) and plugins simply as Composer packages: https://packagist.org/packages/szepeviktor/composer-envato

Were you ever successful at this. I am looking for a way to install DIVI via composer?

Hello Tamer!
This is all I have https://github.com/ffraenz/private-composer-installer/issues/47


Stalls on "find dependencies" w/ node warning: Recursive process.nextTick detected

Alright so here is the behavior, I created a new project, it installed wonderfully, I open up my project, I build/run simulator. everything works great, I make one change and hit Cmd + R, it reloads, GREAT! I make a second change, I hit reload and it gets stuck. From this point on I don't know how to get myself in a good state. I can kill everything and start it back up again and it works but now from this point on any edits will spam my logs then pause on  <START> find dependencies and it will always timeout from this point on.
Logs: https://gist.github.com/JAStanton/170ca0afd47db6d3bdf8
Screenshot:

System info, Osx 10.10.5, XCode 7.0,

What version of Node are you using? (We support only 2.0 and up.)

➜  ~  node -v
v0.10.38

Upgrade your Node (4.0 preferred) and this should be fixed.

Yup, I did, then dropped my node_modules directory and re-ran npm install then npm start and it worked great :) Thanks!

Thanks, this helped me as well. Simply re-installing from nodejs.org did the trick.


DateInRegion object returning garbage day value

Suddenly DateInRegion Object returns wrong day.
Ex.
let today = Date.dateInRegion()

previously  :- today.day  - > return todays date that is  31
currently  :- today.day  - > returning some garbage date like 132323
may be it is after updating lib ,..
why this so ? is there any change in library.
please update on this ASAP.

Hi,
There is not any func called Date.dateInRegion.
Current functions return correct values:
let today_dr = DateInRegion()
let today_d = Date()
print("current day from DateInRegion: \(today_dr.day)") // current day from DateInRegion: 10
print("current day from Date: \(today_d.day)") // current day from Date: 10

Same results from debugger.
Are you sure you have compiled SwiftDate without optimizations? (see GCC_OPTIMIZATION_LEVEL for your current Debug release).


Improvement/x86-support

Initial support for x86 assembly (no changes to other functionality). I've tried to follow the same style used in the x86_64 assembly code. There is still further work to do, e.g. more test cases and things to ensure everything is working correctly. I also want to do some refactoring of the assembly code, that might be next on the cards...

Hi! Thanks , again.
I see you add a new test file (test_x86_jit.py) and remove the original copyright.
As far as I know you can add yourself but you have to keep the original exactly as it is in the project's license. Any comment on this?
Cheers,
C

Hi Christian,
I have no idea - I'm no lawyer ;-) I just figured because it was essentially a new file that I started from scratch I would update the copyright banner for that particular file to reflect the year and author.
I don't really care either way, so I reverted to the same copyright banner that is in the other source files.
Please let me know if there are any other issues with the pull request.
Regards,
Adrian

Hi Adrian,
Neither do I ;-) I wasn't sure so I asked. Thanks for adding it back, though.
Regarding your changes, I think they are fine so I'll merge them right away.
Cheers,
Christian