FAQ and .asmx support

The FAQs mention that asmx support should work - I'd be happy to discover I'm wrong, but from my tests on this regard, it seems that they do not.
A valid workaround is mentioned at https://www.milestonetg.com/blog/development/2018/02/17/adding-new-microsoft-extensions-to-legacy-wcf-and-asmx-web-services.html , i.e. use constructor chaining with the service locator:
    [WebService(Namespace = "http://com.github/ws/myheadspins/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    public class MyHeadSpinsWsAdapter : System.Web.Services.WebService
    {
        private ILogger log { get; }
        private MyBusinessService srvBusiness { get; }

        public MyHeadSpinsWsAdapter(): this(
            (ILoggerFactory)HttpRuntime.WebObjectActivator?.GetService(typeof(ILoggerFactory)),
            (MyBusinessService)HttpRuntime.WebObjectActivator?.GetService(typeof(MyBusinessService)))
        {

        }

        public MyHeadSpinsWsAdapter(ILoggerFactory loggerFactory, MyBusinessService srvBusiness)
        {
            log = loggerFactory.CreateLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
            this.srvBusiness = srvBusiness;
        }
...

We received this exception when running an asmx WebService with constructor injection.
System.MissingMethodException: No parameterless constructor defined for this object.
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at System.Web.Services.Protocols.ServerProtocol.CreateServerInstance()
   at System.Web.Services.Protocols.WebServiceHandler.Invoke()
   at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()

We also switched to using constructor chaining and manually injecting the services to get this going.

@nathanrobb Can you share your project or a minimal reproduction? This is something I'd like to fix. I believe it's doable by fiddling with the BuildProvider system in ASP.NET.

A minimal reproduction can be found at https://github.com/nathanrobb/AspNetDependencyInjectionWebServiceExample
Adding this project https://github.com/nathanrobb/AspNetDependencyInjectionWebServiceExample/commit/e33a532f63db9683002e2a7186db74a636da0326
This repo has a working WebForm page with constructor DI reachabe at:
http://localhost:56145/TestPage.aspx
And a currently working WebService with a default constructor workaround at:
http://localhost:56145/Test.asmx?op=HelloWorld
Removing the default constructor from the Test.asmx.cs class will cause the above request to fail with the MissingMethodException.
Hope this helps. Thanks.

This most likely is not an issue with the AspNetDependencyInjection library, but with ASP.NET itself.  Reading another article mentioning how to integrate Unity with WebForms dependency injection, near the end of the article it mentions where dependency injection can be used.  In this list, WebService class is not mentioned, and WebService does not derive from or implement any of the mentioned items in the list.
Internally, this works by ASP.NET calling the internal method of either  CreateNonPublicInstanceByWebObjectActivator or  CreatePublicInstanceByWebObjectActivator.  This will then use the WebObjectActivator to create the instance if one is available, or fall back to the  CreateNonPublicInstance or  CreatePublicInstance method if one is not available.  My guess is that ASP.NET does not make use of these methods when instantiating a WebService.  If this is the case, it would not be possible to use this project, or really any other project which adds dependency injection to ASP.NET by using WebObjectActivator, to integrate dependency injection into web services.  Thus, the only way to get dependencies into a web service would be to use the service locator pattern, which appears to be the workaround you chose to use.

It looks like WebService objects are created via Activator.CreateInstance:
        internal virtual void CreateServerInstance() {
            target = Activator.CreateInstance(ServerType.Type);
            WebService service = target as WebService;
            if (service != null)
                service.SetContext(context);
        }

https://referencesource.microsoft.com/#System.Web.Services/System/Web/Services/Protocols/ServerProtocol.cs,54

Thanks to everyone that contributed to the quest! I don't think there will ever be a more elegant way than constructor chaining, the reason I opened this issue was just to highlight the need to update the paragraph at https://github.com/Jehoel/AspNetDependencyInjection/blob/master/GETTING_STARTED.md#can-i-use-constructor-dependency-injection-with-asmx-files , where it says it's untested but should work. Unfortunately, it does not (but this library is awesome anyway!).

I've got an implementation of this almost done and working.
How it works is you'll need to add a <system.webServer><handlers> (or <system.web><httpHandlers> if you're still running IIS6 in 2021) which uses a custom subclass of ScriptHandlerFactory (which will be included in this project, eventually) which does some IL Emit jiggerypokery to work-around the fact that ServerProtocol's CreateServerInstance method is internal virtual - which then allows us to return an instance of WebService created using MEDI/ANDI instead of the immediate call to Activator.CreateInstance.
Gimmie a few more days to polish it off. My prototype implementation does look like it will be able to fully support async and non-async, and IRequiresSession and non-session WebService handlers.

 That is all.

My proof-of-concept is almost ready for a beta release for this (for support for ASMX files).
One last problem is the System.Web.Services.Protocols.ServerProtocol.CreateServerInstance() method - this method's hardcoded reference to Activator.CreateInstance(Type) is the reason why .asmx files and WebService types can't get constructor dependency injection.
The method is internal virtual so an external project can't subclass the ServerProtocol type and then override CreateServerInstance. I tried during it with a TypeBuilder but that failed at runtime as apparently the program-loader verifies internal access barriers are checked - huh! (I honestly thought access-modifiers didn't matter to it - and full-trust IL code could do anything...)

I decided to try using HarmonyLib and that seems to work - but I don't like the idea of adding it as a dependency to the main package, so I'll put ASMX support in a separate package.


Added a Twofish implementation.

As per issue #345, I've written a Twofish implementation which might be usable until someone provides a better one.

Hi @scottm73, here is what I have seen so far.
General checklist:

License is OK. It is an exact copy of the one in the aes.rs file (dual MIT Apache license).
Credits where given for the algorithm's author and to the author of a related implementation.
Test vectors were implemented and travis continuous integration tests are passing (yes, I opened the travis logs and they record the tests implemented here as passing).
Benchmark runs were implemented.
Code is very organized.
Pull request seems to integrate cleanly with existing code, with a minimal change to an existing file.

As I said before, I have no experience in programming in rust, so I did not check algorithm correctness or implementation caveats.

Thanks for looking over it Daniel.
On 31 May 2016 at 17:22, Daniel Araújo Miranda<EMAIL_ADDRESS>wrote:

Hi @scottm73 https://github.com/scottm73, here is what I have seen so
far.
General checklist:

License is OK. It is an exact copy of the one in the aes.rs file
(dual MIT Apache license).
Credits where given for the algorithm's author and to the author of
a related implementation.
Test vectors were implemented and travis continuous integration
tests are passing (yes, I opened the travis logs and they record the tests
implemented here as passing).
Benchmark runs were implemented.
Code is very organized.
Pull request seems to integrate cleanly with existing code, with a
minimal change to an existing file.

As I said before, I have no experience in programming in rust, so I did
not check algorithm correctness or implementation caveats.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DaGenix/rust-crypto/pull/361#issuecomment-222741859,
or mute the thread
https://github.com/notifications/unsubscribe/ABcPQ-CMOF2AvYnEFZpgNGXEFI3N5_tWks5qHGBegaJpZM4IUB9b
.


Inconsistent Output when Exporting Keras to Tensorflow

(Using Tensorflow 0.12 and Keras 1.1.1)
I'm exporting my Keras model for use in Tensorflow Serving as follows according to the TF Serving tutorial:
# Construct Keras model
model = Sequential()
model.add(Embedding(num_features, embedding_dims, input_length=3))
...
model.add(Dense(12, activation='softmax'))
model.compile(loss='sparse_categorical_crossentropy', optimizer='adam', metrics=['accuracy'])
model.fit(x, y, batch_size=32, nb_epoch=1)

# Export to Tensorflow
from tensorflow.python.saved_model import builder, tag_constants, utils, loader
sess = K.get_session()
saver = builder.SavedModelBuilder('output/dir/path')
signature = utils.build_signature_def(inputs={'embedding': utils.build_tensor_info(model.input)},
                                              outputs={'scores': utils.build_tensor_info(model.output)},
                                              method_name='tensorflow/serving/predict')
saver.add_meta_graph_and_variables(sess=sess, tags=[tag_constants.SERVING],
                                             signature_def_map={'predict': signature})
saver.save()

However, when I load and execute both Keras and TF models on the same sample embedding input (x=[[123, 456, 789]]), I get very different outputs:
Load Keras model
with open('output/keras/config') as r:
    model = model_from_json(r.read())
model.load_weights('output/keras/weights')
model.predict(x)

Keras Output
[[ 0.007, 0.008, 0.196, 0.189, 0.129, 0.100, 0.007, 0.099, 0.093, 0.153, 0.006, 0.007 ]]
Load Tensorflow model
from tensorflow.python.saved_model import loader
with tf.Session() as sess:
    loader.load(sess, [tag_constants.SERVING], 'output/dir/path')
    init_all_op = tf.global_variables_initializer()
    sess.run(init_all_op)
    sess.run('Softmax:0', feed_dict={'embedding_input_1:0': x})

TF Output
[[ 0.082, 0.085, 0.082, 0.078, 0.083, 0.083,, 0.088, 0.082, 0.078, 0.085, 0.081, 0.087 ]]
Any idea what could be going on here?

Does this still happen on Tensorflow 1.0.1 and Keras 1.2.2?

@jamiis I upgraded Keras to 1.2.2 and it solved this issue. Strange. Perhaps there was a bug? Closing the issue.


Export person.id in Reports

column title in exported file: Stamm-Nr.
(needed as a merge field in Word for mailings (e.g. as an identifier for postal returns))

Done. The number is now in the last column, which is asthetically not great. But the order can be changed manually if desired (there is now an "order" for each column),

But the order can be changed manually if desired (there is now an "order" for each column

This functionality is only shown in our test instance (but not the on productive instance.)


Adds bpm as this is required from routing release 0.180.0

From version 0.180.0 of routing release BPM is required. This is to add the BPM release to the upstream release to make it compatible.

@robbo10 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@robbo10 Thank you for signing the Contributor License Agreement!


Webpack generates separate chunks for each require and static import in split points

Webpack generates extraneous chunks for each module (be it image, stylesheet, js module, etc.) that is imported via static import or  require, only in split points.
Here is the Home component:
const Home = () => (

React boilerplate

Progressive Web App, Code Splitting, Server-Side Rendering, Hot Reloading

    {/* This `svg` ends up being in a separate chunk */}

)

It's a lazy-loaded route that bundles together with the js-logo.svg (highlighted):

But along with that, the js-logo.svg goes into a separate module as well:

Here is the Login component:
// The `login.scss` module ends up being in a separate chunk
import './login.scss'

const Login = () => (

Hey, I'am a dynamically loaded form

    <form action='/' styleName='form'>
      Name
      <input id='name' type='text' styleName='input' name='name' placeholder='Your name...' />
      Email
      <input id='email' type='email' styleName='input' name='name' placeholder='Your email...' />
      <button type='submit' styleName='submit'>Submit</button>
    </form>

)

It's a lazy-loaded component (not a route), here it's bundled together with the login.scss (highlighted):

And here the login.scss in a separate bundle:

When I just remove these extra chunks from the build folder manually, everything works fine, but potentially there can be a lot of assets required/imported in split points. It's possible to write a script that will remove the chunks, but webpack's manifest and the server bundle still contain some info about them (ids, hashes, etc), so it is not optimal. I guess, the only way to fix this is to make webpack ignore these files somehow.

Hi, have you seen @faceyspacey's approach? Here's a demo. He essentially solved SSR+HMR.

Hi, thanks for the response. Yeah, I've seen that, it's pretty cool. Well, I'am reinventing the wheel here :stuck_out_tongue_winking_eye:, I'am petty close, actually. It seems like webpack treats all modules imported in split points as dynamic chunks. I thought, maybe you know if there is a way to prevent this behaviour?

 More here.


Fun3d Interface Unsteady Iterate

fun3d flow and adjoint iterate calls seem to take in step number but we don't provide them
double check this

@bburke38  and I checked this, it turns out the fun3d_flow.iterate call does not need the step number as an input while the fun3d_adjoint.iterate method does need the step number as an input. We were doing this correctly before, no need for a PR as everything for this is good.


[BUG] demo instance : spanish caption for search box

Just trying out the online demo instance, and I noticed the search box says "Buscar". Took me a few moments to realize... that's spanish for "search" , not some type of road vehicle : )
Interestingly ,the other searchbox at the top of page shows "Search" as expected ! Both are shown here:

Interesting.. not seeing that on my computer

@SchrodingersGat the user might be Spanish speaking.
@fenugrec if you are / your current config is set to Spanish please go to the user settings and change the language to English.

Strangely if I set the language to spanish for the "reader" account, then I get the inverse problem

After changing the language you might need to hard-refresh the page as localisations for bootstrap table are buffered

@SchrodingersGat seems to work on my instance (latest)

@fenugrec can we close this? If you want to improve the Spanish translation we are happy to merge contributions here: https://crowdin.com/project/inventree

@SchrodingersGat the user might be Spanish speaking.

No, I should have specified, I am not hispanophone (just happen to know a few words) and have never set any computer, browser, or demo instance language settings. In fact I checked and ES isn't even listed in the settings pane of the demo

Ok, I clicked around in the demo, and I can only get this to appear when I select "Subcategories" as seen at the top left. If I go in Parts  , the text changes to the normal 'Search' string !

Can it be some of the server env "leaking" into the docker somehow and some strings getting translated differently ? This is so weird, if I go in the System Information pane everything is in english except the button which says "Cerrar" ( == Close, of course)

Can not reproduce:

All frontend server-side rendering is per-user per-session based so only the current user session can influence what language is used.

@matmair , tried "System information" ? instead of Version info which works normally here too

@fenugrec yes

Anything I can look at using the browser dev console to shed some light ?

@fenugrec not really. Please try to log out and back in and check if it is there anyway.

@fenugrec not really. Please try to log out and back in and check if it is there anyway.

Tried, no change. In a different browser (chromium, vs firefox earlier) I can't repro the issue...

Cannot reproduce any more today. I'll reopen if it pops up again...


What is the license for libmgsr?

Hi Howard
Would be possible to have an explicit license for this library?
regards, Luigi Pirelli

It is MIT, but you are correct there is no license in the repo.
https://github.com/hobu/mgrs/blob/master/setup.py#L56

How sorry I didn't realised
thank you

feel free to close the issue if you think that this way to explicit the license is enough
regards

feel free to close the issue if you think that this way to explicit the license is enough

It probably isn't enough for the lawyers.


[Reviewed] [Health] Simplify the description

Don't show in changelog

This is missing a lot of important information.  Is there a wiki page for this?

One will be added to link the resource bar page.
What are the information that must be added on the wiki?

I'm closing this PR because its changes have been merged with this other PR:

https://github.com/GDevelopApp/GDevelop-extensions/pull/1171


Luis build failed: Cannot read property 'error' of undefined

We are getting the below error when we are trying to Start the Bot Composer v2.1.2.
Sorry, something went wrong with publishing. Try again or exit out of this task.
Luis build failed: Cannot read property 'error' of undefined

Hi @ykr22 ,
I need some more information from you regarding your issue.

Is this a new bot, or an existing bot?
Are you attempting to publish a bot with new LUIS resource or an existing one? You can no longer create LUIS resources
Any other details about your bot.

its old bot and using older LUIS. its working some times and sometime getting unknown error

This issue is commonly seen when Composer is used behind a proxy, VPN, or on a machine with strict organizational network controls. Does this apply to your situation as well?

Closing this issue due to inactivity.

It applies to my situation, what can I do to remediate this?


Feat: Display No items cart in cart page

ISSUE NO: #630

If it's not good, please reassign me I will do it better

@RitiChandak please review!


New logging clutters output

The rehauled logging module tends to clutter output, see, for instance
import scanpy as sc
sc.settings.verbosity = 2
adata_sc = sc.datasets.pbmc68k_reduced()
sc.pp.neighbors(adata_sc)

which produces

First step: removed logging of asctime, which we never had before: https://github.com/theislab/scanpy/commit/4650568cf61d8a654e64abd1ec0807e19423f1ff

Second step: reverted things that were logged at a level equal or higher than 4 to debug.
The only thing that remains is to reformat the time output, which now displays many useless digits after the seconds comma [and fix all other places in which similar things happened].
https://github.com/theislab/scanpy/commit/a37efc71876f1cd9ace1165d7f774e390d30343d

Thank you!

step: removed logging of asctime, which we never had before

I took that from your logging code in the data science bowl notebook, but I agree: People should add {asctime} to all formatting themselves if they use scanpy in some non-interactive code. We should document how to do that.

Second step: reverted things that were logged at a level equal or higher than 4 to debug.

Good! FYI: I changed the log levels because the initial version of the overhaul only allowed timing information in info.

fixed in 709bafb8ed600daf5f9ee995a0dc845ac1e7e605


Adding project info table

@sebastienblanc  can you review/merge ?

@sebastienblanc @matzew Maybe add the another sections:

Documentation
Development
Questions?
Found a bug?

:+1:


Update dependencies

Codecov Report

Merging #28 (f0f60df) into master (c4ac7e9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #28   +/-   ##
=======================================
  Coverage   99.64%   99.64%
=======================================
  Files          23       23
  Lines         834      834
=======================================
  Hits          831      831
  Misses          3        3

Continue to review full report at Codecov.

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


assets wizard enhancment

add unit quantity for assets wizard
add date atribute and selector for assets wizard
add brand on tools asset table
change kas assets to kas bank assets
nomor, nama, nomor rekening, nominal

this commit fixed this issue.


Add --regex

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

Project coverage is 100.00%. Comparing base (c239656) to head (1139c50).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines          277       298   +21
=========================================
+ Hits           277       298   +21

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


[exporter-metrics-otlp-proto] Add browser support

Is your feature request related to a problem? Please describe.
Currently both @opentelemetry/exporter-trace-otlp-proto and @opentelemetry/exporter-logs-otlp-proto offer browser support, but @opentelemetry/exporter-metrics-otlp-proto does not. We should also add support for it to @opentelemetry/exporter-metrics-otlp-proto.
Describe the solution you'd like
Add browser support to @opentelemetry/exporter-metrics-otlp-proto. #4097 is a prerequisite for that.
Additional context

discovered that this feature is missing while investigating #4044

I'm actually working on this as part of a major exporter refactoring.

Not stale. A draft for this is included in #4415


Support Mapping of positional Operands

A new attribute could be used to map positional operands much like Options are mapped.
Something like:
[Operand(
    Position = 1,
    [ParameterDefaultBehaviour],
    [ParameterDefaultValue])]

closed by 7353dbe77c1198f93624136b327adcb95ab96229


Support EN-IN and TH-TH

Fixes #514
This PR is ready for review.
Risk
This PR makes minor API changes.
Testing Plan
Added new enums to existing unit tests and tested successfully
Summary
Edited:

LanguageTests.java
Language.java

CLA

[X] I have signed the CLA

Codecov Report

Merging #562 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             develop     #562      +/-   ##
=============================================
+ Coverage      39.74%   39.74%   +<.01%
  Complexity      2253     2253
=============================================
  Files            310      310
  Lines          13782    13784       +2
  Branches        1431     1431
=============================================
+ Hits            5477     5479       +2
  Misses          8106     8106
  Partials         199      199

Impacted Files
Coverage Δ
Complexity Δ

.../com/smartdevicelink/proxy/rpc/enums/Language.java
100% <100%> (ø)
7 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

I did this one https://github.com/smartdevicelink/sdl_android/pull/538

Close as duplicate


Remove print from code

I suggest to remove all print("bla bla bla") from the code (I'm talking about python files, prints can be OK in jupyter).
Use warnings if the print is a warning that gets triggered just if certain conditions are met.
Use the appropriate warning type (e.g., UserWarning, DeprecationWarning, ...) so users can silence or catch them if they need to.
Use logging if you want to add debugging statements. No need to use if statements in the code (e.g., no need if debug: ..., it's the user that decides the logging level depending on their needs. You just have to decide the appropriate level of the messages ("DEBUG", "INFO", ...)

After resolving this, issue #26 is no longer relavant

Sounds good. Good practice is to use model level loggers:
import loggin
import xarray as xr
...

LOGGER = logging.getLogger(__name__)

def seaduck_function(a, b, c):
    LOGGER.info("bla bla bla")
    LOGGER.debug("bla bla bla")

BTW, it's the 3rd time I realize that D and F are dangerously close to each other on the keyboard.
So just be aware that if I ever write "seaduck".replace("d", "f"), it's a typo!!!!

Just did


Error: failed to get namespace of current context: context with name "/Users/userid/.kube/config" not found

echo $SHELL
/bin/zsh

switcher version
Switch:
		version     : v0.6.0
		build date  : 2021-12-15
		go version  : go1.17.4
		go compiler : gc
		platform    : darwin/amd6

switch gke_foo-europe-west1
Error: failed to get namespace of current context: context with name "/Users/userid/.kube/config" not found

grep context -A1 /Users/userid/.kube/config
contexts:
- context:
    cluster: gke_foo-europe-west1
--

when I run only switch, the context is listed without issue.
What I'm doing wrong ?

What I'm doing wrong ?

Probably nothing as this is possibly a bug. It seems to be related to the recently introduced namespace switching functionality.
I will get back to it when finding some time (hopefully next week).
Thanks for reporting already.
Does switch and then checking out the context via the fuzzy search work for you?

Also you could post a sanitized version of this kubeconfig + your switch-config.yaml

after the run switch the fuzzy search works and I can select the context without issue.
Not working:  `switch -d
switch -d context1
deleted context context1  from /Users/userid/.kube/.switch_tmp/config.4004739986.tmp

Works only if I run switch -d and then I select the context.
Not working `switch .`
> switch
switched to context "context1".
>k get namespace
NAME              STATUS   AGE
default           Active   760d
> switch
switched to context "context2".
>k get namespace
NAME              STATUS   AGE
default           Active   601d
> switch .
Error: failed to set namespace "default": failed to set namespace "default": context with name "/Users/userid/.kube/config" not found

the kubeconfig is quite a default configuration without any directories and for some reason switch-config.yaml is not even present in the ~/.kube/
 ls -al ~/.kube/
total 56
drwxr-xr-x    7 userid  staff    224 21 Feb 14:56 .
drwxr-xr-x+ 100 userid  staff   3200 21 Feb 15:50 ..
-rw-r--r--    1 userid  staff    666 21 Feb 16:06 .switch_history
drwx------   16 userid  staff    512 21 Feb 16:07 .switch_tmp
drwxr-x---    4 userid  staff    128 20 Feb 14:45 cache
-rw-------@   1 userid  staff  24166 21 Feb 14:48 config
drwxr-xr-x    6 userid  staff    192 21 Feb 11:46 switch-state

ls -al ~/.kube/switch-state/namespace
total 8
drwxr-xr-x  3 userid  staff   96 21 Feb 09:35 .
drwxr-xr-x  6 userid  staff  192 21 Feb 11:46 ..
-rw-r--r--  1 userid  staff   69 21 Feb 09:35 context1

grep switch ~/.zshrc
source /usr/local/bin/switch.sh

the kubeconfig is quite a default configuration without any directories and for some reason switch-config.yaml is not even present in the ~/.kube/

ok thanks, just wanted to check if there is any custom config presents.

Works only if I run switch -d and then I select the context from fuzzy search

That is expected as switch -d only works on the local copy of the kubeconfig file. So in your case , the context is only deleted from the temporary file, not the original kubeconfig.
I ll have a look at that namespace issue, sorry for the inconvenience.

Sorry for the delay. I think I have found the problem, but it would be nice if you could test it on your system.
This is the commit.
You can use the from source installation method described here.
Thanks a lot!

Hi @danielfoehrKn
thanks for the fix
$ switch -v
Switch:
		version     : v0.6.1
		build date  : 2022-03-31
		go version  : go1.17.6
		go compiler : gc
		platform    : darwin/amd64

both of these 2 commands are working now!
$ switch gke_foo-europe-west1
switched to context "gke_foo-europe-west1".

$ switch -

are you going to look into this?
$ switch -d context1
deleted context context1  from /Users/userid/.kube/.switch_tmp/config.4004739986.tmp

are you going to look into this?

What is the problem here? For the output I can see that the context was removed - mind you, removed from the temporary kubeconfig file. It will not be removed from the original kubeconfig file.
To remove the context from the original kubeconfig file, you need to do export KUBECONFIG=./my-original and then run switch -d context1

@danielfoehrKn thanks!


Switch to the Bitnami Ruby base image.

Unlike the community Ruby images, the Bitnami images are updated daily with security patches. They're based on minideb, which is very similar to debian-slim but (again) is updated daily with security patches.
This makes our builds faster and our images less bloated because we don't have to run apt-get upgrade, which is poor practice because all the previous versions of packages are still there in the lower layers of the image. Running package updates as part of the container build essentially just adds stuff on top and hides any replaced/deleted files from the layers above).
Also more improvements to build time and output size:

Stop running apt-get upgrade now that we're using an up-to-date base image.
Avoid installing "suggested" and "recommended" dependencies of Debian packages; we weren't using any of them.
Prune the list of Debian packages which we're explicitly installing.
Remove yarn; we're only using it in tests.
Avoid installing gem documentation; it doesn't belong in production images.
Only run apt-get update once and reuse the output in the second stage. (Once we have our own base/builder images this will go away anyway.)
Speed up the build by increasing parallelism, including for gems written in C. (Typical GDS laptops have 12 threads. GH Actions only gives 2 cores, but the extra parallelism doesn't seem to hurt.)

Next steps after this are to define our own builder and base images and do something about caching, which together should drastically speed up builds (which we'll be glad of when we have to patch one of the common gems in a hurry) as well as improving maintainability of these Dockerfiles. Then to apply the changes across the rest of the estate.
Tested: built by running the Deploy workflow on GitHub for this branch, deploys and runs fine on the integration cluster.
Rollout: requires https://github.com/alphagov/govuk-jenkinslib/pull/95

Turns out we have a test that unintentionally asserts that we're using the Docker Community images for Ruby 😅


Improve integration coverage for jobset integration

What would you like to be added:
The integration tests for JobSet are very basic. We should have more coverage around queuing multiple jobsets, preemptions, eviction due to timeout, etc.
A simple E2E test would be useful as well.
Why is this needed:
As an important investment for k8s, we need to ensure the jobset integration has the highest level of coverage possible.
Completion requirements:
This enhancement requires the following artifacts:

[ ] Design doc
[ ] API change
[ ] Docs update

The artifacts should be linked in subsequent comments.

@danielvegamyhre @kannon92 can any of you take this?

I'd also like to help after the TTL cleanup feature

I also have capacity to help if they are currently unavailable

@dejanzele go ahead, it would be much appreciated

As part of the test cases, it would be good to include jobs that have multiple resources, and use both parallelism and replicas.

/assign

/remove-lifecycle stale

@dejanzele are you still working on this?

/remove-lifecycle stale

@alculquicondor currently I don't have capacity in the following couple of weeks due to other work so I'll unassign myself. If it is still unassigned when I get more capacitiy, I will revisit this.
/unassign

/assign

/remove-lifecycle stale

@highpon any progress on that?

@mimowo
Sorry, I am not able to start this task at this time.
I remove my assignment.

/unassign


Not getting correct lat lon

Hi, I'm getting a wrong Lat Lon for this MGRS "04QEJ 97987 90670".
The correct lat/lon is "21.61643, -158.05325", but I'm getting
"20.79987937710965, -158.99999999999997"
Is there something that I am missing?

I am running into some challenges as well and I noticed that this gets better when you remove the spaces in the coordinate
### Test
mgrs_sample_coord = "04QEJ9798790670"
mrgs_to_dd(mgrs_sample_coord)

output
('21.616', '-158.053')

Whitespace causes it to ignore characters after a valid MGRS:
>>> mgrs.MGRS().toLatLon("17SMB8287460719 is an Odd place")
(37.593380583269465, -81.19399653530921)
>>> mgrs.MGRS().toLatLon("Bad company, I can't deny\nBad, bad company, 'til the day I die")
(-81.90657174926099, 180.0)

Hey @hobu - I believe it would be useful to update the README with some examples of the MGRSPrecision parameter.
I suggest the following edits:
You can also control the precision of the MGRS grid with the MGRSPrecision
arguments in .toMGRS().
MGRSPrecision takes an integer as input, ranking from 0 to 5, 5 being the most precise conversion.

MGRSPrecision=5: 1m precision (10 digits: 5 for easting and 5 for northing)
MGRSPrecision=4: 10m precision (8 digits: 4 for easting and 4 for northing)
MGRSPrecision=3: 100m precision (6 digits: 3 for easting and 3 for northing)
MGRSPrecision=2: 1km precision (4 digits: 2 for easting and 2 for northing)
MGRSPrecision=1: 10km precision (2 digits: 1 for easting and 1 for northing)
MGRSPrecision=0: 100km precision (no digits for easting and northing, just the grid letters)

Example
5 vs 0 MGRSPrecision setting::
>>> m = mgrs.MGRS()
>>> c = m.toMGRS(latitude, longitude, 5)
>>> c
'15TWG0000049776'

>>> m = mgrs.MGRS()
>>> c = m.toMGRS(latitude, longitude, 0)
>>> c
'15TWG'

I believe it would be useful to update the README with some examples of the MGRSPrecision parameter.

Please make a pull request proposing something.


webui.py didn't use pose guider but actually loaded it?

https://github.com/zjp-shadow/CharacterGen/blob/main/2D_Stage/webui.py#L194
            out = self.validation_pipeline(prompt=prompts, image=imgs_in.to(weight_dtype), generator=generator,
                                        num_inference_steps=timestep,
                                        camera_matrixs=camera_matrixs.to(weight_dtype), prompt_ids=prompt_ids,
                                        height=val_height, width=val_width, unet_condition_type=unet_condition_type,
                                        pose_guider=None, pose_image=pose_imgs_in, use_noise=use_noise,
                                        use_shifted_noise=use_shifted_noise, **validation).videos

It seems pose_guider is loaded but never used during inference

This is because we cannot estimate the height of the character input by the user very well. In the demo, we turn it off by default. You can turn it on manually. :)


How big  size gleam support if the file type is CSV in HDFS ?

We have  2048M data in HDFS per file,  gleam support?

yes.


[RN 0.57.0] Warning: Switch: onTintColor is deprecated, use trackColor instead (but trackColor does not exist)

[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 High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 30.88 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 9.6.1 - ~/.nvm/versions/node/v9.6.1/bin/node
Yarn: 1.9.4 - ~/.nvm/versions/node/v9.6.1/bin/yarn
npm: 6.4.0 - ~/.nvm/versions/node/v9.6.1/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
IDEs:
Android Studio: 3.1 AI-173.4907809
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: 16.5.0 => 16.5.0
react-native: 0.57.0 => 0.57.0
npmGlobalPackages:
react-native-cli: 2.0.1
Description
I just upgraded to 0.57.0 and am getting a warning whenever I use a Switch with the onTintColor property. The yellow box complains that onTintColor is deprecated and that I need to use trackColor. However, when I use trackColor the color property is not passed to the switch and the switch's color does not change.
Reproducible Demo
Init a project and use a Switch component with a onTintColor. E.g.:
<Switch
    onTintColor={"blue"}
    value={true}
/>

You will get notified that onTintColor is deprecated and the switch will have a blue "on" color. Now when you use this code:
<Switch
    trackColor={"blue"}
    value={true}
/>

You will no longer be notified of a deprecated property but the switch will not change color. Also if you are using typescript you will be notified that this property does not exist.

So it turns out in the new update trackColor needs to be an object in the form of: {false: color, true: color}. So I had to write:
<Switch
    trackColor={{true: "blue", false: null}
    value={true}
/>

And that fixed my issue.

Although the documentation shows what the new value needs to look like it would be nice if the description for trackColor explicitly pointed it out or the prop could throw a warning that the propType is incorrect.

Also "thumbTintColor" warning indicates that it's deprecated ("use _thumbColor instead"), but documentation still use thumbTintColor (https://facebook.github.io/react-native/docs/next/switch#thumbtintcolor)

+1 @voidstarfire : same compiler error

@voidstarfire I did this to avoid typescript errors for now:
const props = { trackColor: { true: trackColor, false: null } }
return <Switch {...props} />

@Jakst thanks for the tip but I tend to avoid hacks otherwise the project gets full of them and when something is really failing because of some fundamental change your compiler can't help.
Perhaps I should do a PR for fixing the typings. (It's the only class lol epic fail)

trackColor props is fixed in this PR
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/29477/files


[Bug] nx-flutter: inferred tasks aren't working

Plugin Name
create-nx-flutter
Nx Report
Node   : 20.2.0
OS     : darwin-arm64
npm    : 9.6.6
nx (global)    : 19.2.0
nx             : 19.2.0
@nx/js         : 19.2.0
@nx/workspace  : 19.2.0
@nx/devkit     : 19.2.0
@nrwl/tao      : 19.2.0
typescript     : 5.4.5
Registered Plugins:
@nxrocks/nx-flutter
Community plugins:
@nxrocks/nx-flutter : 9.0.2
Expected Behaviour
running
nx run-many -t test

should run tests on all flutter modules

dependencies between flutter modules should show up in the graph

Actual Behaviour
this is what happens
 NX   Successfully ran target test for 0 projects (20ms)

despite having projects in the workspace.
Steps to reproduce the behaviour
# create the workspace
npx create-nx-workspace@latest

# enter the workspace
cd the-workspace

# install nx-flutter plugin
npm install @nxrocks/nx-flutter --save-dev

# create a flutter project
npx nx g @nxrocks/nx-flutter:project

# try running tests or any other command supported by nx-flutter
nx run-many -t test

Hi @danielesegato
Thanks for using the plugin and for reporting this.
Can you please share me the content of your .env file (if present at root) and your nx.json + project.json files please?

Sure.
there's no .env file at the moment, it's a new project - mostly empty.
The nx.json in the root of the workspace:
{
  "extends": "nx/presets/npm.json",
  "$schema": "./node_modules/nx/schemas/nx-schema.json",
  "plugins": [
    {
      "plugin": "@nxrocks/nx-flutter",
      "options": {
        "analyzeTargetName": "analyze",
        "cleanTargetName": "clean",
        "formatTargetName": "format",
        "testTargetName": "test",
        "doctorTargetName": "doctor",
        "assembleTargetName": "assemble",
        "attachTargetName": "attach",
        "driveTargetName": "drive",
        "genL10nTargetName": "gen-l10n",
        "installTargetName": "install",
        "runTargetName": "run",
        "buildAarTargetName": "build-aar",
        "buildApkTargetName": "build-apk",
        "buildAppbundleTargetName": "build-appbundle",
        "buildBundleTargetName": "build-bundle",
        "buildIosTargetName": "build-ios",
        "buildIosFrameworkTargetName": "build-ios-framework",
        "buildIpaTargetName": "build-ipa"
      }
    }
  ],
  "targetDefaults": {}
}

And a project.info file in a module at apps/poc relative directory
{
  "name": "apps/poc",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "apps/poc/src",
  "tags": []
}

this is what was generated by the plugin, I just changed the name of the project to match the folder

Hi,
can you try changing the name to simply poc in project.json ?
I'm not sure "apps/poc" is valid. What matters to find the files is the "sourceRoot".

I've created a new project to test this out.
Run this command from the route:
npx nx g @nxrocks/nx-flutter:project

and chose these options:
✔ What name would you like to use? · foo
✔ What package name would you like to use? · foo
✔ What is the project about? · Testing NX-Flutter
✔ Which type of Flutter project would you like to create? · app
✔ Are you using Flutter Version Manager (fvm)? (y/N) · true
✔ What should be the project name and where should it be generated? · foo @ foo
✔ Which platforms would you like to use? · android, ios
✔ Which Android language would you like to use? · kotlin
✔ Which iOS language would you like to use? · swift
⚙ Generating project configuration...
Generating Flutter project with following options : --project-name=foo --org=foo --description="Testing NX-Flutter" --android-language=kotlin --ios-language=swift --template=app --platforms="android,ios" ...
Executing command: fvm flutter create --project-name=foo --org=foo --description="Testing NX-Flutter" --android-language=kotlin --ios-language=swift --template=app --platforms="android,ios"  foo
Creating project foo...
Resolving dependencies in `foo`...
Downloading packages...
Got dependencies in `foo`.
Wrote 74 files.

All done!

still getting 0 projects run when trying to run a target.
I've also tried renaming the project just "poc" but that didn't help either.

Hi @danielesegato
Thanks for your  response. I will have a closer look this weekend and let you know.
Stay tuned

Hi @danielesegato
Sorry for the delay.
This should be fixed now in the latest version of the create-nx-flutter.
If you've already generated your workspace, you can simply update the version of @nxrocks/nx-flutter package in the nx.json to latest version (i.e  9.0.3)  and run any  nx command ( for example ./nx reset && ./nx graph)
If the version of package, in the nx.json  is set to latest (default setting),  simply delete the node_modules folder within the .nx/installation folder. Then  run any  nx command ( for example ./nx reset && ./nx graph).
Either action should force the download of the right version of underlying  @nxrocks/nx-flutter plugin, that contains the fix.
Enjoy!

Thanks @tinesoft yes I can confirm some of the tasks are now running.
I did npm upgrade to update to the latest version.
Is it expected for build-aar to not run in flutter modules? (it only tried to run on the app module which doesn't have android libraries)
(is there a way to specify if I want to use FVM or not via environmental flag? it would be useful to disable FVM on CI)

Thanks for the updates.

Is it expected for build-aar to not run in flutter modules? (it only tried to run on the app module which doesn't have android libraries)

build-aar is only available when building for android platform.

(is there a way to specify if I want to use FVM or not via environmental flag? it would be useful to disable FVM on CI)

Right now, no.  fvm is automatically used (instead of regular flutter) when it is found on the path. This is not configurable at the moment, but I agree, this can/should be configurable.
In the meantime, if you don't have fvm on your CI/CD, but just regular flutter binary, it should be good already

Hi @tinesoft I'm sorry, there's still some target not working:
npx nx run-many -t gen-l10n

produces:
 NX   Successfully ran target gen-l10n for 0 projects (15ms)

the same happen with, for example, the assemble target.

Hi @danielesegato
Inferred tasks depends on the type of  project (template) your have generated, the target platforms you've chosen , etc...
The related code can be found here https://github.com/tinesoft/nxrocks/blob/0e2ae881800f72b450b5a1d5fb4e4491fcee50f8/packages/nx-flutter/src/utils/plugin-utils.ts#L68
Some of the values, are read at runtime from the .metadata file that is present at the root of each flutter project.
Can you show me the content of those files ?

Hi,
You might be right about the gen-l10n and assemble  tasks. I 'll review the conditions for all tasks.
As for the poc project (which is of template app), I'm surprised it was not picked when you run npx nx run-many -t gen-l10n...
Can you try running npx nx gen-l10n poc  directly ?

Here it is @tinesoft
$ npx nx gen-l10n apps/poc --verbose

 NX   Cannot find configuration for task apps/poc:gen-l10n

Error: Cannot find configuration for task apps/poc:gen-l10n
    at ProcessTasks.createTask (/Volumes/sourcecode/[redacted]/node_modules/nx/src/tasks-runner/create-task-graph.js:156:19)
    at ProcessTasks.processTasks (/Volumes/sourcecode/[redacted]/node_modules/nx/src/tasks-runner/create-task-graph.js:23:39)
    at createTaskGraph (/Volumes/sourcecode/[redacted]/node_modules/nx/src/tasks-runner/create-task-graph.js:194:21)
    at createTaskGraphAndValidateCycles (/Volumes/sourcecode/[redacted]/node_modules/nx/src/tasks-runner/run-command.js:62:63)
    at /Volumes/sourcecode/[redacted]/node_modules/nx/src/tasks-runner/run-command.js:85:27
    at handleErrors (/Volumes/sourcecode/[redacted]/node_modules/nx/src/utils/params.js:9:30)
    at runCommand (/Volumes/sourcecode/[redacted]/node_modules/nx/src/tasks-runner/run-command.js:83:52)
    at Object.runOne (/Volumes/sourcecode/[redacted]/node_modules/nx/src/command-line/run/run-one.js:53:59)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async handleErrors (/Volumes/sourcecode/[redacted]/node_modules/nx/src/utils/params.js:9:24)

regarding the gen-l10n command it should only be available on projects and modules that have generation anabled and the l10n.yaml file I believe.
for the assemble one I'm not sure.

Hm. For me it is still not working. I've tried several commands, but it always states: Cannot find configuration.
I'm using the latest 9.1.1 version of this plugin.
I did the same as the author, as i had an existing workspace and just wanted to add the flutter subproject.
# install nx-flutter plugin
npm install @nxrocks/nx-flutter --save-dev

# create a flutter project
npx nx g @nxrocks/nx-flutter:project

Hi @denny99 ,
Can you make sure that you're using at least version v9.1.2: https://github.com/tinesoft/nxrocks/releases/tag/nx-flutter%2Fv9.1.2?
Try removing node_modules, then reinstalling them.
As for this:

I've just named the project flutter-app. This caused a lot of trouble with flutter as the name included a -. So i had to recreate it with an underscore (flutter_app)

can you open another ticket, with reproduction steps?

Nope sorry. Still the same issue.

Hum,
the issue seems specific to your setup....
can you provide more information about your workspace? how you created it?  the files/folders  structure?
better yet, if you can  share a minimum reproductible project, that would be great

npx<EMAIL_ADDRESS>
 NX   Let's create a new workspace [https://nx.dev/getting-started/intro]

✔ Where would you like to create your workspace? · flutter-repro
✔ Which stack do you want to use? · none
✔ Package-based monorepo, integrated monorepo, or standalone project? · integrated
✔ Set up CI with caching, distribution and test deflaking · skip
✔ Would you like remote caching to make your build faster? · skip

cd flutter-repro/

npm i -D @nxrocks/nx-flutter

nx g @nxrocks/nx-flutter:project flutter-app

 NX  Generating @nxrocks/nx-flutter:project

✔ What package name would you like to use? · com.example
✔ What is the project about? ·
✔ Which type of Flutter project would you like to create? · app
✔ Are you using Flutter Version Manager (fvm)? (y/N) · false
✔ Which platforms would you like to use? · android, ios
✔ Which Android language would you like to use? · kotlin
✔ Which iOS language would you like to use? · swift

nx clean flutter-app

 NX   Cannot find configuration for task flutter-app:clean

Pass --verbose to see the stacktrace.

It is basically the same as the author described it. It does not matter if i use nx 18 oder 19

Ok thanks for the complementary information.
I'll try to have another look at today.
Stay tuned!

I just tried your exact steps, and could not reproduce the issue...

Can you show me the content of your nx.json, project.json and .env(if present). ?
Also, regarding your previous response

This error is normal, because the flutter project name is "flutter_app" (note the underscore,  so that the name matches Dart naming convention), whereas the nx project name is the one you provided ("flutter-app").  So you must use the later to run nx commands on it.

Then i'm kinda confused. I've tried pnpm as well but it does not make any difference.
My Flutter Version is: Flutter 3.22.3
And here are my nx and project json files
nx.json
project.json

Can you try clearing Nx cache with nx reset  and retry the  command?
If it still doesn"t work, I'm afraid I cannot assist you more without accessing your code, or at least a minimal repro project  showing the issue...

Here you go
https://github.com/denny99/nxrocks
pnpm i or npm i. Does not matter.
nx clean flutter-app will result in no target found.
The NX UI in Webstorm does not show any targets either

Thanks for the repro project, it will help a lot finding and fixing the issue.
I'll have a look tonight, stay tuned!

OK, the problem is now fixed.
Simply update the plugin to latest version (v9.2.0) and you should be good.
Tested on your repro project above
$

Thanks awesome!


Website shows v4.1 series as latest

When I visit https://getbootstrap.com/ , even with hard refresh, I still only see version 4.1.

We'll handle the dropdown issue of the versions in older docs in #28115.
I couldn't reproduce any issues with an outdated Bootstrap homepage, it was probably some aggressive browser caching which was causing this back when this was reported.


Use entire card surface to open play card/expanded view

rather than a small button in the bottom left corner, use the entire card surface as the hit area for the expanded view to play card.

The primary card click action is to open the Card Config sheet for the card (it is recommended that you set Monarch as your Card Config sheet). However, this action is easily modified via the API via a hook.
The standard play button is not intended as the way to view a card though, so if the goal is to view a card full sized you just need to use Monarch as the Card sheet as mentioned above.

ah cool.... an API you say?! let me give that a shot. A desugner trying to
code... what could go wrong?
Thanks for the examples. (and great mod)
On Thu, Feb 24, 2022 at 12:09 AM Josh Olsen @.***>
wrote:

The primary card click action is to open the Card Config sheet for the
card (it is recommended that you set Monarch as your Card Config sheet).
However, this action is easily modified via the API via a hook
https://github.com/zeel01/monarch#clickMonarchCard.
The standard play button is not intended as the way to view a card
though, so if the goal is to view a card full sized you just need to use
Monarch as the Card sheet as mentioned above.
—
Reply to this email directly, view it on GitHub
https://github.com/zeel01/monarch/issues/46#issuecomment-1049304987, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVHG6TAFRKVCDU46CYFCVDU4VSJ3ANCNFSM5PFXIMSA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


add actual causality notebook

add a notebook that uses ExplainCauses to implement the Halpern-Pearl modified definition of actual causality.

Closing as the notebook is being moved to another PR that targets the most recent branch containing the newest code for explainable reasoning.


Feature Request:  hardcode_no_ct algorithm

Feature Idea
The hardcode_no_ct algorithm will be implemented as a function. As referred in the documentation, this will be used to hardcode a value.
Algorithm Description - Mapping a hardcoded value to a target SDTM variable that has no terminology restrictions.
Example mappings -
FA.FASCAT = ‘COVID-19 PROBABLE CASE’
CM.CMTRT = ‘FLUIDS’
CM.CMCAT = 'GENERAL CONCOMITANT MEDICATIONS'
function call
hardcode_no_ct(raw_dataset,
raw_variable,
target_sdtm_variable,
target_hardcoded_value,
target_dataset,
merge_to_topic_by )

Input:
raw_dataset - R dataframe. Usually, the raw dataset.
raw_variable - A Character string. Name of the variable in the raw dataset
target_sdtm_variable - A Character string. Name of the SDTM variable that has to be derived
target_hardcoded_value - A Character string. The hardcoded text.
target_dataset - Optional parameter. This is the  target_dataset that was created in the previous step.
merge_to_topic_by - Optional parameter. A vector with the string that will be used to merge to the target_dataset
Output:
A dataframe with oak_id_vars and target_sdtm_variable if target_dataset & merge_to_topic_by are not provided
target_dataset with one additional variable target_sdtm_variable
Relevant Input
sdtm spec

study_number
raw_source_model
raw_dataset
raw_dataset_ordinal
raw_dataset_label
raw_variable
raw_variable_label
raw_variable_ordinal
raw_variable_type
raw_data_format
raw_codelist
study_specific
annotation_ordinal
mapping_is_dataset
annotation_text
target_sdtm_domain
target_sdtm_variable
target_sdtm_variable_role
target_sdtm_variable_codelist_code
target_sdtm_variable_controlled_terms_or_format
target_sdtm_variable_ordinal
origin
mapping_algorithm
entity_sub_algorithm
target_hardcoded_value
target_term_value
target_term_code
condition_ordinal
condition_group_ordinal
condition_left_raw_dataset
condition_left_raw_variable
condition_left_sdtm_domain
condition_left_sdtm_variable
condition_operator
condition_right_text_value
condition_right_sdtm_domain
condition_right_sdtm_variable
condition_right_raw_dataset
condition_right_raw_variable
condition_next_logical_operator
merge_type
merge_left
merge_right
merge_condition
unduplicate_keys
groupby_keys
target_resource_raw_dataset
target_resource_raw_variable

lp_study
e-CRF
MD1
27
Concomitant Medications
MDRAW
Medication
3
LongText
$200
NA
FALSE
1
FALSE
CM.CMTRT
CM
CMCAT
Grouping Qualifier
NA
NA
10
CRF
HARDCODE_NO_CT
NA
GENERAL CONCOMITANT MEDICATIONS
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA
NA

raw_datasaet = MD1

oak_id
raw_source
patient_number
MDRAW

1
MD1
PATNUM
BABY ASPIRIN

2
MD1
PATNUM
CORTISPORIN

3
MD1
PATNUM
ASPIRIN

4
MD1
PATNUM
DIPHENHYDRAMINE HCL

5
MD1
PATNUM
PARCETEMOL

6
MD1
PATNUM
VOMIKIND

7
MD1
PATNUM
ZENFLOX OZ

8
MD1
PATNUM
AMITRYPTYLINE

9
MD1
PATNUM
BENADRYL

10
MD1
PATNUM
DIPHENHYDRAMINE HYDROCHLORIDE

11
MD1
PATNUM
TETRACYCLINE

12
MD1
PATNUM
BENADRYL

13
MD1
PATNUM
SOMINEX

14
MD1
PATNUM
ZQUILL

raw_variable = "MDRAW"
target_variable = "CMCAT"
target_dataset = cm_inter - Let's assume CMTRT, CMINDC variables are already derived and CMCAT is the third variable being processed

oak_id
raw_source
patient_number
CMTRT
CMINDC

1
MD1
PATNUM
BABY ASPIRIN
NA

2
MD1
PATNUM
CORTISPORIN
NAUSEA

3
MD1
PATNUM
ASPIRIN
ANEMIA

4
MD1
PATNUM
DIPHENHYDRAMINE HCL
NAUSEA

5
MD1
PATNUM
PARCETEMOL
PYREXIA

6
MD1
PATNUM
VOMIKIND
VOMITINGS

7
MD1
PATNUM
ZENFLOX OZ
DIARHHEA

8
MD1
PATNUM
AMITRYPTYLINE
COLD

9
MD1
PATNUM
BENADRYL
FEVER

10
MD1
PATNUM
DIPHENHYDRAMINE HYDROCHLORIDE
LEG PAIN

11
MD1
PATNUM
TETRACYCLINE
FEVER

12
MD1
PATNUM
BENADRYL
COLD

13
MD1
PATNUM
SOMINEX
COLD

14
MD1
PATNUM
ZQUILL
PAIN

merge_to_topic_by - oak_id_vars
Relevant Output
Option 1 - When the function call is
hardcode_no_ct(
raw_dataset = MD1,
raw_variable = "MDRAW",
target_sdtm_variable = "CMCAT",
target_hardcoded_value = "GENERAL CONCOMITANT MEDICATIONS",
target_dataset = cm_inter,
merge_to_topic_by = c("oak_id","raw_source","patient_number"))

output dataset from the function

oak_id
raw_source
PATIENT_NUM
CMTRT
CMINDC
CMCAT

1
MD1
PATNUM
BABY ASPIRIN
NA
GENERAL CONCOMITANT MEDICATIONS

2
MD1
PATNUM
CORTISPORIN
NAUSEA
GENERAL CONCOMITANT MEDICATIONS

3
MD1
PATNUM
ASPIRIN
ANEMIA
GENERAL CONCOMITANT MEDICATIONS

4
MD1
PATNUM
DIPHENHYDRAMINE HCL
NAUSEA
GENERAL CONCOMITANT MEDICATIONS

5
MD1
PATNUM
PARCETEMOL
PYREXIA
GENERAL CONCOMITANT MEDICATIONS

6
MD1
PATNUM
VOMIKIND
VOMITINGS
GENERAL CONCOMITANT MEDICATIONS

7
MD1
PATNUM
ZENFLOX OZ
DIARHHEA
GENERAL CONCOMITANT MEDICATIONS

8
MD1
PATNUM
AMITRYPTYLINE
COLD
GENERAL CONCOMITANT MEDICATIONS

9
MD1
PATNUM
BENADRYL
FEVER
GENERAL CONCOMITANT MEDICATIONS

10
MD1
PATNUM
DIPHENHYDRAMINE HYDROCHLORIDE
LEG PAIN
GENERAL CONCOMITANT MEDICATIONS

11
MD1
PATNUM
TETRACYCLINE
FEVER
GENERAL CONCOMITANT MEDICATIONS

12
MD1
PATNUM
BENADRYL
COLD
GENERAL CONCOMITANT MEDICATIONS

13
MD1
PATNUM
SOMINEX
COLD
GENERAL CONCOMITANT MEDICATIONS

14
MD1
PATNUM
ZQUILL
PAIN
GENERAL CONCOMITANT MEDICATIONS

Option 2 - When used without merging
hardcode_no_ct(
raw_dataset = MD1,
raw_variable = "MDRAW",
target_sdtm_variable = "CMCAT",
target_hardcoded_value = "GENERAL CONCOMITANT MEDICATIONS")

Output dataset

oak_id
raw_source
PATIENT_NUM
CMCAT

1
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

2
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

3
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

4
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

5
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

6
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

7
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

8
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

9
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

10
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

11
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

12
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

13
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

14
MD1
PATNUM
GENERAL CONCOMITANT MEDICATIONS

Reproducible Example/Pseudo Code
library(sdtm.oak)
library(dplyr)

cm <- cm_daw_data |>
  # Derive topic variable
  assign_no_ct(
    raw_dataset = MD1,
    raw_variable = MDRAW,
    target_sdtm_var = CMTRT
  )  |>
  assign_no_ct(
    raw_dataset = MD1,
    raw_variable = MDIND,
    target_sdtm_var = CMINDC,
    merge_to_topic_by = c("oak_id","raw_source","patient_number")
  ) |>
hardcode_no_ct(
raw_dataset = MD1,
raw_variable = "MDRAW",
target_sdtm_variable = "CMCAT",
target_hardcoded_value = "GENERAL CONCOMITANT MEDICATIONS",
target_dataset = cm_inter,
merge_to_topic_by = c("oak_id","raw_source","patient_number"))

Option 2 - Just to derive CMCAT

cm <- cm_daw_data |>
hardcode_no_ct(
raw_dataset = MD1,
raw_variable = "MDRAW",
target_sdtm_variable = "CMCAT",
target_hardcoded_value = "GENERAL CONCOMITANT MEDICATIONS")

@ramiromagno - Please take a look. If this is ok, I will create similar requirements for assign_ct, assign_no_ct

@rammprasad : Thank you for the examples. I've quickly prepared some draft code for hardcode_no_ct() in PR https://github.com/pharmaverse/sdtm.oak/pull/41. The idea is to quickly get your feedback on the gist of it to see if it aligns with the expected functionality. If I got it right, then I can create assertions for argument checking, and polish the code here and there, and make a proper PR.

@ramiromagno - Please take a look. If this is ok, I will create similar requirements for assign_ct, assign_no_ct

Yes, this is perfect. Please do the same for assign_ct() and assign_no_ct().


Antiquia Lost [PCSE01147]

App summary

App name: Antiquia Lost
App serial: PCSE01147
App version: 1.00

Vita3K summary

Version: v0.1.5
Build number: 2692
Commit hash: https://github.com/vita3k/vita3k/commit/067135d2
CPU backend: Dynarmic

Test environment summary

Tested by: gymzatan
OS: Windows 11
CPU: AMD Ryzen 7 5800H
GPU: AMD Radeon(TM) Graphics
RAM: 16 GB

Issues
Game stays at the loading screen.
Screenshots

Log
vita3k.log
Recommended labels

Intro
unity

Vita3K summary

Version: v0.1.6
Build number: 2842
Commit hash: https://github.com/vita3k/vita3k/commit/0a6ef4d9
CPU backend: Dynarmic

Test environment summary

Tested by: othmanead
OS: Windows 11
CPU: Intel i5-10300H
GPU: RTX 3060 mobile
RAM: 16 GB

Issue:
Game plays with no issues
Screenshots:
Vita3K summary

Version: v0.1.6
Build number: 2842
Commit hash: https://github.com/vita3k/vita3k/commit/0a6ef4d9
CPU backend: Dynarmic

Test environment summary

Tested by: othmanead
OS: Windows 11
CPU: Intel i5-10300H
GPU: RTX 3060 mobile
RAM: 16 GB

Issue:
Game plays with no issues
Screenshots:
Log
Recommended labels

Playable

Log
vita3k.log
Recommended labels

Playable


Add data from Slack to Wizard News

The News app in Wizard provides a summary of key events in the ETL repository over the past 7 days. This summary is generated from all PRs stored in MySQL.
It would be interesting to apply this concept to all communication in Slack and see if we can generate useful summaries. For example, we could track dataset updates, article or insight changes, projects, bugs, and more. Since many of our apps already send data to Slack (e.g., GitHub updates, bug reports), Slack essentially functions as our communication "data warehouse."
Risks
This could become pretty expensive. We pay $0.35 for News summary which includes just Github activity. We should think carefully about what to include there and what not.
If we store Slack data in MySQL, we have to make sure it's excluded from Datasette public.

On the cost side, I don't see the cost increasing that much. Even if it was 10x, it'd still cost less than 5$ per day. But maybe I'm missing something, and it could be a larger increase?

But maybe I'm missing something, and it could be a larger increase?

I have no idea to be honest, I was just surprised that just github PRs cost $0.35. I expect that Slack contains much more information (that doesn't have to translate into size though).

@Marigold From what I quickly inspected, the current system prompt includes much of our documentation. Haven't checked the exact number of tokens, but I could imagine it being 95% documentation + 5% GitHub PRs. Knowing this, I think that the additional cost of Slack messages wouldn't be that high.

Could be a good cooldown project, or something for over Xmas.


Hyperscript support

I would like to add support for hyperscript templates similar to js scripts using the following syntax
hyperscript Name(params){
// hyperscript definition here
}

and be able to use it inline only on _ attributes. It pairs very well with Htmx

Is this something that is available in other templating languages that support htmx/hyperscript? My personal opinion is that you should be able to write htmx and hyperscript code as similarly to the hyperscript docs as possible.
Maybe a good solution for now is to create a string function?
func Name(params) string {
	return `
		// hyperscript definition here
`
}

A string function can suffice. However, if there are parameters to consider, they should be processed during runtime. The hyperscript template solution simply outputs the resulting string to the io.Writer. The generation process manages all other tasks, including converting structs into formatted string objects.
One additional advantage is syntax highlighting. Writing the script within a string impacts readability.

I believe writing htmx and hyperscript code should closely resemble the guidelines provided in the hyperscript documentation.

I don't perceive using a distinct template for hyperscript script definitions as a deviation from the hyperscript documentation. This approach maintains context and offers improved code organization, preventing excessive verbosity in one template.

Is this feature present in other templating languages that accommodate htmx/hyperscript?

I'm uncertain about its availability in other languages, but I don't view this as a strong counterpoint.

You're correct.
I suppose the primary advantage is syntax highlighting.
I mistakenly believed it might offer significant runtime processing benefits, but after thinking a little bit more, those seem minimal. Thank you for your insights; I'll be closing this for now.

You're correct.
I suppose the primary advantage is syntax highlighting.
I mistakenly believed it might offer significant runtime processing benefits, but after thinking a little bit more, those seem minimal. Thank you for your insights; I'll be closing this for now.


Alpha Firmware 1.6.104075014 can leave the device unresponsive

The alpha firmware in 1.6.104075014 in the nuget package can leave the Kinect in an unresponive state on Linux. We are working on a fix.
To recover remove the USB cable and attach again. Unfortunately AzureKinectFirmwareTool -r does not help recover the device when in this state.
This is a rare case that only happens when running on Linux.

We now have 1.6.108079014 out in Beta form - https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/1093.


Check if secret exists before trying to access or manipulate it

Hi, I think it would be suggestive to check if the array index is set in the secure() and unsecure() function before trying to manipulate it. Otherwise there wil be errors, if not all model fields are updated at once.
Instead of:
foreach ($this->secrets ?: [] as $secret) {
    $this->attributes[$secret] = $this->encrypter($key)->encryptString($this->attributes[$secret]);
}

it would be better to do so:
foreach ($this->secrets ?: [] as $secret) {
    if( isset( $this->attributes[$secret] ) ){
        $this->attributes[$secret] = $this->encrypter($key)->encryptString($this->attributes[$secret]);
    }
}

So it doesn't mind whether a specific model attribute is set or not.

Sorry for reply this late. Yes, it would be better if to only encrypt the exists attributes. It has just been fixed. Thanks for this suggestion!


NO-JIRA Adding rule to avoid files leaking on the main folder

We had to fix a few cases where data folder was being created outside of the ./target output.
This is just to avoid re-ocurrence of that.

lots of failures (some tests are still leaving data behind).
Let me fix them as part of this PR.

this is now ready!

@jbertram since you worked on this task before, can you merge this one please?

Nice one!


feat: Support scan latest revision for replicationController from Dep…

…loymentConfig
In OCP, there is a kind called DeploymentConfig, which manages the replicationController, and as we have revisionHistory for Deployments, similarly there are revision history for Deployment Config as well. Due to which many replication contollers will be present in the cluster. We dont want to scan them as they are not active resource. So as part of this change, I have added following change

consider "OPERATOR_CONFIG_AUDIT_SCANNER_SCAN_ONLY_CURRENT_REVISIONS" env var to limit scanning of old replication controller
ingore pods created from deploymentConfig

Close #1351

lgtm 🚀


Use docker-archive for source container images

The oci-archive is currently not supported by pub.

OSBS-8464

Signed-off-by: Luiz Carvalho<EMAIL_ADDRESS>Maintainers will complete the following section:

[x] Commit messages are descriptive enough
[x] "Signed-off-by:" line is present in each commit
[x] Code coverage from testing does not decrease and new code is covered
[x] JSON/YAML configuration changes are updated in the relevant schema
[x] Changes to metadata also update the documentation for the metadata
[x] Pull request includes link to an osbs-docs PR for user documentation updates
[x] New feature can be disabled from a configuration file

release note:

use docker-archive instead of oci-archive for source container images to support integration with third party tools

But line 44 still says img_metadata = get_exported_image_metadata(output_path, IMAGE_TYPE_OCI_TAR) -- is that right?


Microsoft Exchange Security - On-Premises - Correct bad XPath

Change(s):

Update a Data Collection Rule as XPath was not correct

Reason for Change(s):

Logs not collected after DCR deployment

Version Updated: No
Testing Completed:

Yes, XPath tested in a dev environment

Hi @v-atulyadav, @v-shukore,
Why this PR verification is too long ? It's 1 DCR file where XPath is corrected, nothing more, nothing requiring testing, reproduction or anything more.

Hi @v-shukore, I don't see anymore you comment on the "transformkql", but we put "source" on it, and we have added "transformKql" because we saw that "CustomRules" is not selected in the DCR graphically if this information is missing.


stored procedure with output parameter

Please, I need to call a stored procedure that returns me an output parameter, as the call would be implemented.

See Dapper docs

For anyone searching the repo for this particular issue:
Here's a direct link to the Stored Procedure information located in the dapper docs:
https://github.com/StackExchange/Dapper/blob/master/Readme.md#stored-procedures


Update README.md

Addes reference to readme

@tstorek do you have a new link of your self? The link of you is outdated

@djs0109 you can either use my linkedin profile: https://www.linkedin.com/in/thomas-storek/
or my github account: https://github.com/tstorek as you prefer.


Fails on import from stream to ETABS V19

So I uploaded a portion of my building from Revit 2021 to my speckle stream. Opened ETABS v19 to receive this stream into ETABS. It fails and produces the following log. (Attached). Let me know if you need anything else from me to debug this into more depth
Failed log.txt
.

hi @melsawy93 , can you check that it's still failing in the beta release of ETABS ? thanks


Refactor Sink trait

Fix #751

@alexcrichton I've pushed another commit fixing up futures-util.

@aturon

I guess the key question to me is whether we can expect start_send to always be able to give you the value back on an error, in which case the Sink trait should probably continue to use a wrapper around the error type.

@carllerche said in #751:

IMO the current start_send API is pretty unusable in practice. The primary reason is that it is impossible to return the send item in all cases that are non trivial. The poll_ready strategy has been what I've been using and has been working quite well in practice.

@cramertj ok, that's good enough for me :-)

Merged!

@aturon @cramertj
yes, it should definitely not be assumed that, once a value is sent, it can always be returned on error. poll_ready lets you have a pretty good idea that the value is accepted, however there is is always the possibility of a race. For example, poll_ready() returns Ready, the channel closes, then start_send is called. In this case, start_send will error.
Now, some Sink implementations are able to always guarantee that the value can be returned on error. In those cases, the implementations are free to include the send value.
enum SendError<T> {
    Closed(Option<T>), // Must be option to handle returning this on `poll_ready`.
    // other variants
}

impl<T> Sink for Sender<T> {
    type Item = T;
    type Error = SendError<T>;
}

This is probably roughly what @cramertj did (but I didn't look in detail).
The implementation can document that T will always be returned when the error is generated from start_send, but the main point is that the decision is left up to the implementation.


Consider buffering, aggregation, and configurable Flush interval

The default highest-resolution retention period for graphite is 10 seconds, but it is configurable in graphite.
If you emit a metric from this fluent-plugin-graphite any faster than every 10 seconds, multiple values for the same metric may reach Graphite at any given 10-second timespan, and only the last value would take hold and be persisted - so your data would immediately be partially lost.
To fix that, simply ensure your flush interval is at least as long as the highest-resolution retention.
See more here

Hi, I guess that this issue can fix by convert to buffered output plugin from current implementation which is called non-buffered output plugin.
Does anyone want to send patch to convert buffered output plugin?

Ah, wait.
Simply converting buffered output plugin does not solve this issue.
Using https://github.com/tagomoris/fluent-plugin-flowcounter to record aggregation before using fluent-plugin-graphite solves your use case for aggregation?

Yes, that is is what I ended up doing, but then my only option was to pick 1 minute unit, so my flush interval is courser than 10 seconds. Metrics take longer to arrive, and there are a few other minor issues.

BufferedOutput will set flush interval to 60 seconds by default.
And you can set arbitrary interval greater than 10 seconds in config with flush_interval parameter when this plugin converted to buffered output plugin.
https://github.com/studio3104/fluent-plugin-graphite/pull/11/files#diff-b1fd7b4c3f191881845209220c5a6e02R55 ensures at least as long as the highest-resolution retention.


Fix azure-ml clamav scanning

The azure-ml image build is frequently failing to perform clamav scanning:
#35 [clamav 3/4] RUN touch /clamupdate.log &&     chown clamav:clamav /clamupdate.log &&     freshclam --log=/clamupdate.log
#35 0.093 ERROR: Problem with internal logger (UpdateLogFile = /clamupdate.log).
#35 0.094 ERROR: initialize: libfreshclam init failed.
#35 0.094 ERROR: Initialization error!
#35 0.095 ERROR: Can't open /clamupdate.log in append mode (check permissions!).
#35 ERROR: process "/bin/sh -c touch /clamupdate.log &&     chown clamav:clamav /clamupdate.log &&     freshclam --log=/clamupdate.log" did not complete successfully: exit code: 2

As far as I can tell, this last happened on this build 9 days ago: https://github.com/rstudio/rstudio-docker-products/actions/runs/2734854690
The error itself has been noted as early as 2005 so it seems to be common occurrence. The problem for us is that it seems to happen randomly, making it the worst type of bug. The most recent discussion I found noted that the logs are by default written with the ownership clamav:adm. I'm currently attempting to modify the way we're logging freshclam and clamscan to be closer to the default methods. Unfortunately, I have not been able to replicate the bug locally though.

@colearendt any thoughts on this?

After further discussion, Ian mentioned that he has a PR to switch to build things in a subdir which should always have the right permissions.


Error Cannot find module 'strip-ansi'

after update sailsjs 0.10 to 0.11, im run command sails lift show error :
how to fix it?
error: ** Grunt :: An error occurred. **
error:
------------------------------------------------------------------------
Aborted due to warnings.
Loading "jst.js" tasks...ERROR
>> Error: Cannot find module 'strip-ansi'
Warning: Task "jst:dev" not found.
------------------------------------------------------------------------

error: Looks like a Grunt error occurred--
error: Please fix it, then **restart Sails** to continue running tasks (e.g. watching for changes in assets)
error: Or if you're stuck, check out the troubleshooting tips below.

error: Troubleshooting tips:
error:
error:  *-> Are "grunt" and related grunt task modules installed locally?  Run `npm install` if you're not sure.
error:
error:  *-> You might have a malformed LESS, SASS, CoffeeScript file, etc.
error:
error:  *-> Or maybe you don't have permissions to access the `.tmp` directory?
error:      e.g., `/Users/Ahmadina/Sites/HamidReza/i/.tmp` ?
error:
error:      If you think this might be the case, try running:
error:      sudo chown -R 501 /Users/Ahmadina/Sites/HamidReza/i/.tmp

Because you're trying to upgrade sails I think this might be a problem with your currently installed packages. Have you tried removing your node_modules folder. (cleaning the npm cache) and re-installing your node packages?
cd /path/to/your/sails/folder
rm -r node_modules
npm cache clean
npm install

thank u ;)

Como você está tentando atualizar as velas, acho que isso pode ser um problema com seus pacotes instalados atualmente. Você já tentou remover sua pasta node_modules (limpando o cache npm) e reinstalar seus pacotes de nós?
cd /path/to/your/sails/folder
rm -r node_modules
npm cache clean
npm install

Obrigado! isso funcionou para meu projeto mesmo usando o yarn.

uninstall node
delete npm/node/nodemodule folder from c drive
install again


bug intersect_count function query error fix

Proposed changes
Issue Number: close https://github.com/apache/doris/issues/27954

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

add desc to describe the problem

run buildall

run buildall

run buildall

run buildall

run buildall


Can’t received xlm coin my hotbit wallet

1day ago I transferred xlm coin WazirX to hotbit wallet but I can’t received for hotbit wallet so kindly solved this issue immediately
my transection is: 3bd7e29ca5351224ec0fc227b8472ffe2edc0ece305871f93328ea2995f5b80a

WazirX wallet transactions is successful but I can’t received hotbit wallet


Process type validation after changes in Procfile

After a major rewrite, we scaled down the processes we no longer use to 0 and updated the Procfile before deploying.
When I try to release, I am getting this error:
-----> Creating release...
remote: Error deploying app release: validation_error: Requested formation includes process types that do not exist in release. Invalid process types: [pontiacActivities, pontiacDecider, dailyHandler]
To https://git.prod-us-east-1.flynn.nexus.bazaarvoice.com/stg-seller-ratings-display.git
 ! [remote rejected] HEAD -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.prod-us-east-1.flynn.nexus.bazaarvoice.com/stg-seller-ratings-display.git'

Even though those processes do not exist in the Procfile and are no longer running:
~ flynn -c prod-us-east-1 -a stg-seller-ratings-display ps
ID                                                TYPE               STATE  CREATED         RELEASE
ip101005530-704139a3-8974-4f52-a711-2299ec4ad6cb  scaler             up     12 minutes ago  5f50309e-a303-4eb4-b932-79c7277f17b3
ip101005530-138d8d70-b055-461f-82cf-57b954a42ddf  deploymentHandler  up     12 minutes ago  5f50309e-a303-4eb4-b932-79c7277f17b3

This is definitely a bug. As a temporary workaround you could leave placeholder process types in the Procfile.

We ended up deleting and redeploying which worked, but we would prefer not to have to do that in the future


My file suddenly dissapeared

Issue Type: Bug
I have no idea what is going on so I don't have much to say. My files on vscode suddenly all dissapear in workspace, before that, they are all stored in my local
VS Code version: Code 1.67.1 (da15b6fd3ef856477bf6f4fb29ba1b7af717770d, 2022-05-06T12:37:03.389Z)
OS version: Windows_NT x64 10.0.26100
Restricted Mode: No

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 1805)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.73GB (21.58GB free)

Process Argv
C:\Users\brian\OneDrive\Máy tính\knn_machine_learning.ipynb --enable-proposed-api TabNine.tabnine-vscode --crash-reporter-id d2fbbaff-7285-47f8-aa41-86c453ad9696

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

algopython
Alg
20241210.135312.0

code-runner
for
0.12.2

vscode-pull-request-github
Git
0.42.0

python
ms-
2022.8.1

vscode-pylance
ms-
2023.1.10

jupyter
ms-
2022.4.1021342353

jupyter-keymap
ms-
1.1.0

jupyter-renderers
ms-
1.0.9

tabnine-vscode
Tab
3.76.0

vscode-java-debug
vsc
0.49.0

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624

What was the full path of the folder you had stored your sources at? Fine to obfuscate elements of the path that would otherwise reveal information that you don't want to make public.


[jade/pug] Support for HTML comments

Hello, @aeschli,
This PR is fix for https://github.com/Microsoft/vscode/issues/3202.
Before fix:

After fix:

Coverage remained the same at 61.877% when pulling 10681be90e575296abd8570b1c276ebab4f8eb41 on mrmlnc:fix-3202 into 756ff7882340320cffe04cd525c6ce60bf440f8b on Microsoft:master.

Can you make the pull request at https://github.com/davidrios/jade-tmbundle? We'd like to stay in sync with that and will update our grammar as soon davidrios/jade-tmbundle has updated.
Sorry for that extra work, your help is really appreciated!

@aeschli, fixed by https://github.com/davidrios/jade-tmbundle/commit/d148229016ded80ee78e4f086da3bbe377c56de3

@aeschli, just want to clarify: the upcoming release will not contain updates Jade grammar?


How does it work?

Thanks for creating this project! I'm curious how it works - specifically, what makes it affect the list of extractors that yt-dlp can see. Could you point me to the piece of code (or setup configuration) that extends an already installed yt-dlp binary, adding new code? I could use this monkey-patching capability in other projects too.

The yt-dlp binary is not changed. As Python is a highly dynamic language, we make use of imported python objects and alter them at runtime. You can take a look at ytdlp_plugins/patching.py for the methods we use.

@flashdagger Thanks! I guess my question is: if I run yt-dlp, what makes this library get pulled in at runtime?

If you run yt-dlp no third party code will get pulled in. That's why this project has it's own executable ytdlp-plugins. That's where the plugins are injected.

Nie ma za co 😄


Export as PNG does not copy the Dark theme when exporting.

Reproduction:

Toggle to dark mode.
Try creating a simple text or anything.
Select the Content.
Right-click and click on the export as PNG.

ScreenShot
1- The content on canvas.

2- The exported Image

Export theme (which can be toggled in the Export dialog from main menu) is separate from UI theme. But we're getting enough complaints we'll likely be changing this.

Closing this issue as it got solved using this, Thanks


Error on exporting applications without release

Hi,
I've just created an application, set some environment variables and exported it without any release:
flynn create myapp

Set the environment variables on the dashboard.
flynn export -f myapp.tar

This results in this error:

error retrieving artifact: GET https://controller.flynn.smfhq.com/artifacts/: httpclient: raw req: unexpected status 401

The tar itself looks fine though. And importing it works just fine.

@philiplb what version of the CLI are you using (i.e. flynn version)?

v20160512.0

Can you update to the latest version with flynn update? I believe this bug has been fixed.

Cool. Will do as soon as it hits the stable channel. :)

@philiplb This is in the CLI, which doesn't have a separate stable channel, and should be backwards compatible, is there a reason you're running an older version? If there are compatibility issues with older clusters that you've encountered, we'd like to fix them.


Write reference documentation for modes and effects

We should give the users basic concepts for modes and effects so they can correctly define their modes, hopefully with the assistant of effect information provided in the plugin.

Is this different than https://github.com/informalsystems/quint/issues/407 ?

It is not, my bad. Closed in favor of #407

No worries. We could have closed this one too, as it has a better description.  :) I'll update that with your note.


Logstash 6 support

Missing logstash 6 scrapped data

Hi @piotrkochan!
Are there metrics available in Logstash 6 that's missing, or is the exporter not compatible with the API in LS6? I haven't had the time to try the LS6 RC yet.
Also, PR:s are very welcome!

There was some data missing but I'm not sure about incompatibility

@piotrkochan: What metrics are you referring to? I did a quick test with a LS6 container, and there does not seem to be any incompatibilities at least.

@christoe Dead letter queue metrics would be nice :) Thank you for this exporter.

Ok, looking into this a bit more makes me realize that there are incompatibilities with LS6. After introducing multiple pipelines (https://github.com/elastic/logstash/commit/bed8b8a0849f22c323db64b532ab9f7d87388f94) pipeline metrics will not work in the exporter. I will look into the issue.

There's a new version/tag available (0.1.1) that should solve the multi-pipeline issue + as a bonus, add DLQ metrics.


Retry policies not supported

Bug description
ISTIO documentation suggests that multiple retry policies are supported (https://istio.io/docs/reference/config/networking/v1alpha3/virtual-service/#HTTPRetry) and points to this article (https://www.envoyproxy.io/docs/envoy/latest/configuration/http_filters/router_filter#x-envoy-retry-on) for supported policies. Specifying 5xx, retriable-4xx and retriable-status-codes do not work. Error is returned when deploying a virtual service with these policies.
Expected behavior
Retry policies outlined https://www.envoyproxy.io/docs/envoy/latest/configuration/http_filters/router_filter#x-envoy-retry-on should be supported.
Steps to reproduce the bug
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: ratings-route
spec:
  hosts:
  - customer-api.demo.svc.cluster.local
  http:
  - route:
    - destination:
        host: customer-api.demo.svc.cluster.local
    retries:
      attempts: 3
      perTryTimeout: 2s
      retryOn: gateway-error,connect-failure,refused-stream, 5xx

Version (include the output of istioctl version --remote and kubectl version)
version.BuildInfo{Version:"1.1.1", GitRevision:"2b1331886076df103179e3da5dc9077fed59c989", User:"root", Host:"7077232d-4c6c-11e9-813c-0a580a2c0506", GolangVersion:"go1.10.4", DockerHub:"docker.io/istio", BuildStatus:"Clean", GitTag:"1.1.0-17-g2b13318"}
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:25:46Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
How was Istio installed?
Via Helm charts by following default installation instructions.
Environment where bug was observed (cloud vendor, OS, etc)
docker-for-desktop local cluster
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

Found a problem, spaces are not supported. I assumed that " 5xx" would be trimmed to "5xx". My apologies.


Warning showing up for Normal event alert

Rancher versions: 2.0 master 2/28
Steps to Reproduce:

Create a Normal Event alert on node

Results:  Warning showing up in dev tools

This warning will not affect the functionality.  It is due to that targetEvent has a field named type. I will change this field name latter.

The targetWorkload also has a type field, which also needs to be changed even though it doesn't cause a warning by accident.

Version - 2.0 master 3/26
Verified fixed


Cannot install vgo in archlinux

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10 linux/amd64

What operating system and processor architecture are you using (go env)?

$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/alpha/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/alpha/works"
GORACE=""
GOROOT="/home/alpha/go"
GOTMPDIR=""
GOTOOLDIR="/home/alpha/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build654345631=/tmp/go-build -gno-record-gcc-switches"

What did you do?
run go get -u golang.org/x/vgo

What did you expect to see?
vgo has been installed

What did you see instead?
# archive/tar
/home/alpha/go/src/archive/tar/stat_atim.go:14:36: statAtime redeclared in this block
	previous declaration at /home/alpha/go/src/archive/tar/stat_actime1.go:14:36
/home/alpha/go/src/archive/tar/stat_atim.go:18:36: statCtime redeclared in this block
	previous declaration at /home/alpha/go/src/archive/tar/stat_actime1.go:18:36

Your go installation is messed up. You likely have two copies of different versions of Go on top of each other.
Once you fix that, then you can install vgo. I recommend nuking your Go install and starting over.

Thx man !


add support for contexts parameter

Add support for the contexts parameter. This parameter can be used to pass contexts (e.g. qa or production environment) to the liquibase action in github workflows.

New github actions for liquibase are available here. They support all command parameters. Please update your workflow and report any issues here.