Can't migrate Close Date

Is It possible to migrate close date like created date ?
I tried several ways but nothing worked

Hi, @AmitNaveh23  can you give more context what you are trying to accomplish?

Sure, I attached a screenshot.

When importing, the closed date is set to the current import time instead of the real closed date from Jira. It's also happening in "Closed by" which is set to my name (whoever is doing the import) instead of the real person who closed that bug in Jira

@AmitNaveh23. We have investigated this case and what we found was that ADO by default does not allow us to edit ClosedDate. On save it is using the server clock time and that is why you see the current Date time in the closed date field. As this is the default behavior in ADO we will keep it as it is for the time being.
About the "ClosedBy" field that one can be updated with the correct value from Jira when importing and that will be fixed in the next release.

Fixed from v.2.2.88

Fixed in 2.3.1.

Still doesn't work for me...
Should I configure something for it ?

@madkoo
I was able to do it by a script, updating work item with bypass_rules=True
result = wit_client.update_work_item(patch_document, itemId, project_name, validate_only=False, bypass_rules=True)
can it be done in your side?


How can I match the dropdown width to the parent input?

what requirements?

When creating a new issue:

https://github.com/Eonasdan/bootstrap-datetimepicker/blob/master/CONTRIBUTING.md


Unable to get cloudflare unbount DoT to work

I've come across a few things that occur when following this guide they are

When unbound is installed you are then unable to get the root.hint file or any of the DoH files. However stopping the unbound service after installing it ,and restarting the service after step 4 as per the guide is a work around. (sudo service unbound stop)

Downloading the cloudflared 32bit gives a 404 error. But is fixed by downloading from the officical github -> wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm .

After cloudflared-linux-arm is downloaded it needs to be renamed to cloudflared before the copy step is carried out. (mv cloudflared-linux-arm cloudflared)

After all of this I end with DoH working but not DoT (this is with or without alternative dns on pc) ->

I tried just having DoT configured and all I get is ->

At this point I have no idea what to do.
ps. I have followed this guide 6 or so months ago and it was working.
pps. I have tried the fix in the previous issue.

yes the link for 32bit is not working again 👎 .. ill will try 32bit cloudflared from github and re test everything...

Same problem for me .

Have you tried to change the web's browser setting (cf. other current open issue)? It seems to help in some cases. For me, that did the trick at least.

Same problem for me .

i try and resolve issue before christams.. this week is a critical week in my work and once thats over ill get in this

Have you tried to change the web's browser setting (cf. other current open issue)? It seems to help in some cases. For me, that did the trick at least.

well that could be the issue but i guess i have to test for my self and see ..

I've come across a few things that occur when following this guide they are
1. When unbound is installed you are then unable to get the root.hint file or any of the DoH files. However stopping the unbound service after installing it ,and restarting the service after step 4 as per the guide is a work around. (sudo service unbound stop)

2. Downloading the cloudflared 32bit gives a 404 error. But is fixed by downloading from the officical github -> wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm .

3. After cloudflared-linux-arm is downloaded it needs to be renamed to cloudflared before the copy step is carried out. (mv cloudflared-linux-arm cloudflared)

4. After all of this I end with DoH working but not DoT (this is with or without alternative dns on pc) ->
   ![Capture](https://user-images.githubusercontent.com/15659183/144603760-7745702c-8d3c-416e-8491-3201c876c80f.PNG)
   I tried just having DoT configured and all I get is ->
   ![Capture2](https://user-images.githubusercontent.com/15659183/144604035-ea48c50a-415a-4a96-bcdc-13bd0c9f91c1.PNG)
   At this point I have no idea what to do.
   ps. I have followed this guide 6 or so months ago and it was working.
   pps. I have tried the fix in the previous issue.

same issue for me with https://<IP_ADDRESS>/help and i even tried older version unbound 1.13.1  and no luck.. But its confirmed unbound is working from https://dnssec.vs.uni-due.de/ and terminal commands test validation  :
dig sigfail.verteiltesysteme.net @<IP_ADDRESS> -p 5335
dig sigok.verteiltesysteme.net @<IP_ADDRESS> -p 5335

The first command should give a status report of SERVFAIL and no IP address. The second should give NOERROR plus an IP address. (From https://docs.pi-hole.net/guides/dns/unbound/#test-validation)
So i dont know if it could be the website https://<IP_ADDRESS>/help or browsers cause recently with firefox and chrome  i see from https://www.cloudflare.com/ssl/encrypted-sni/ TLS 1.3 is on by default so i really can't tell..I'll try a whole different method for DOT and see but for now i guess unbound still works but ill find another way

created a help wanted issue for now so closing..
and i updated cloudflare 64bit setup guide


video tag not transforming sources

So when running the development server if I load in an image let's say ../assets/myimage.png when I inspect element I see the path gets transformed to /static/img/myimage.png; however, when I do the same thing with a video tag
<video src="../assets/image2.png">
    <source src="../assets/myvid.mp4" type="video/mp4"  />
</video>

Neither the video src not the actual video source get's transformed to the correct path

There aren't currently any loaders set up for video extensions, only images and fonts. A PR would be welcome though.

I am about to start using vue.js for a video app, hopefully this gets resolved soon.

@chovy You're welcome to submit a PR if it's urgent for you. Videos (or any other file type) can also still be referenced as static assets.

I'd be happy to when I get to that part. I haven't started yet so I don't know what the PR would contain.

@chrisvfritz wouldn't it be enough to add this to the loaders config:
{
  test: /\.mp4$/,
  loader: 'file',
}

@LinusBorg It seems to be working only issue is now it throws errors trying to load scss files

Yeah, my code was a bit thrown together from the top of my head, but the assignment inside of an object definition was not a bright moment.
You have to do something that looks more like this I think:
// all of those requires for the webpack configs
// at the top of the file are here. Insert this right after:
var vue-loaders = utils.cssLoaders().html = 'html?attrs[]=img:src&attrs[]=video:src&attrs[]=source:src'

module.export = {
  // other weboack configs
  vue: {
    // the template auto-generates the css loaders.
    // since we want to change the default loader for HTML,
    // we have to add it to that object.
    loaders: vue-loaders,
    postcss: [
      require('autoprefixer')({
        browsers: ['last 2 versions']
      })
    ]
  }
}

@LinusBorg Still loading scss error. Here is how my webpack config file looks like:
https://gist.github.com/rodzzlessa24/035bcc241b3974bccc3970d291ffa446

That's strange error. Can I see the component? Are you linking to a scss file in the template or something?
can you console.log the "vue-loader" variable?

vue-loader log:
html?attrs[]=img:src&attrs[]=video:src&attrs[]=source:src Listening at http://localhost:8080
And I am importing a .scss file in most my components but even the ones that I'm not I still get the error:
Component:

<template>

        HONOR THE CRAFT.DRINK RESPONSIBLY.

        Terms of Use | Privacy Policy | Linking Policy | Contact Us

        Lorem ipsum dolor sit amet

</template>

Error pertaining to that component:
ERROR in ./src/components/FooterBar.vue
Module not found: Error: Cannot resolve module 'scss' in /Users/rodrigo/work/src/gitlab.fg/brownforman/tourapp/src/components
 @ ./src/components/FooterBar.vue 2:0-219

I see. My code was junk, sorry My Javascript missed some brackets I think.
var vue-loaders = (utils.cssLoaders()).html = 'html?attrs[]=img:src&attrs[]=video:src&attrs[]=source:src'

If that does not work, do the long way:
var vue-loaders = utils.cssLoaders())
vue-loaders.html = 'html?attrs[]=img:src&attrs[]=video:src&attrs[]=source:src'

What the hell, I realized my one-liner was crap, but why is that last thing not working?
Maybe rename it to "vueLoaders" - bad idea to use hyphens in variable names

So I tried the one-liner did not work then I did this
var vueLoaders = (utils.cssLoaders())
vueLoaders.html = 'html?attrs[]=img:src&attrs[]=video:src&attrs[]=source:src'

and now I'm getting these errors lol
ERROR in ./src/components/FooterBar.vue
Module not found: Error: Cannot resolve module 'html' in /Users/rodrigo/work/src/gitlab.fg/brownforman/tourapp/src/components
 @ ./src/components/FooterBar.vue 8:19-247

@rodzzlessa24
You can just add transformToRequire option like this:
  vue: {
    loaders: utils.cssLoaders({ sourceMap: useCssSourceMap }),
    postcss: [
      require('autoprefixer')({
        browsers: ['last 2 versions']
      })
    ],
    transformToRequire: {
      video: 'src',
      source: 'src'
    }
  }

See there: http://vue-loader.vuejs.org/en/options.html

The latest solution proposed by @Zhangdroid works perfectly. Thanks !


Add some builtin types + utilities for constructing and working with them

Add PBuiltinString, representing plutus core strings. Alongside instances and utilities for constructing terms of it.
Add PUnit, representing plutus core unit. Alongside instances and utilities for constructing terms of it.
Add PEq and POrd instances for PBuiltinByteString
Add preadByteStr for reading hex strings as a PBuiltinByteString term.
Add Semigroup and Monoid instances for PBuiltinByteString and PBuiltinString terms.

Notes

Should add some tests for these
Probably add PIsString, PSemigroup, PMonoid typeclasses and use those instead.

Probably add PIsString, PSemigroup, PMonoid typeclasses and use those instead.
We don't need to do this AFAICT.

Probably add PIsString, PSemigroup, PMonoid typeclasses and use those instead.

We don't need to do this AFAICT.

We don't, yes. But perhaps it'd be more consistent with the existence PEq and POrd. It hardly matters though.

We don't, yes. But perhaps it'd be more consistent with the existence PEq and POrd. It hardly matters though.

In the case of PEq and POrd, these are actually needed. You can not implement Ord and Eq for these types, because the result isn't a Bool, but rather a Term s PBool.


[WIP] Use pin-project instead of unsafe_[un]pinned

Improve the pin-projection related ergonomics.
This is a work in progress. Blocked on https://github.com/taiki-e/pin-project/pull/12.
TODO: Explain what code pin-project generates.

Closing -- This PR is outdated. pin-project don't plan to put the features linked to this PR in the next version. In the next version, we will stick to making pin-projection safer (see https://github.com/taiki-e/pin-project/issues/21).


mapping of contributors other than main Creator

As https://github.com/american-art/DMA/issues/2 shows, there are roles different from main Creator or Artist: eg Engraver.
The mapping should specify how to map such roles.
BM does that with production sub-events:

https://confluence.ontotext.com/display/ResearchSpace/BM+Association+Mapping+v2#BMAssociationMappingv2-TranslatedCodeinSubEvents
https://confluence.ontotext.com/display/ResearchSpace/BM+Association+Mapping+v2#BMAssociationMappingv2-ProductionAssociationCodes

The contributor role is mapped to an event type, eg in this case P2_has_type aat:300053225 "Engraving"

Here's how we could map Engraving for museums that have a single creator per object (DMA's data satisfies this constraint, which I find strange, but it is highly denormalized...)
<object/4326693> P108i_was_produced_by <object/4326693/production>.
<object/4326693/production> a E12_Production;
  P2_has_type aat:300053225; # Engraving
  P14_carried_out_by <constituent/TimothyCole>.

If there can be several constituents (one main Artist and some Contributors), it could be eg:
<object/4326693> P108i_was_produced_by <object/4326693/production>.
<object/4326693/production> a E12_Production;
  P9_consists_of <object/4326693/production/Engraving>.
<object/4326693/production/Engraving> a E12_Production;
  P2_has_type aat:300053225; # Engraving
  P14_carried_out_by <constituent/TimothyCole>.

A decision still needs to be made whether to use <object/4326693/production> as the main production event by Artist, or whether to make a separate node (eg <object/4326693/production/main>).


about model and code

Thank you for your outstanding work. I am also very interested in this paper and the diffusion model. I wonder when the source code and the specific training model can be made public. 3q

It will be available by the end of this month. Thanks for your interest and patience.


Cpp compiling error: expected primary-expression before 'char'.    _Generic macros problem

Describe the bug
Compile error if use call  LOG_DBG(...)  from cpp code.
Error example:
error: expected primary-expression before 'char'.
To Reproduce
Simple try compile cpp file with code:
// Type your code here, or load an example.
// C program to illustrate macro function.
#include <stdio.h>
#define geeks(T) _Generic( (T), char: 1, int: 2, long: 3, default: 0)
int main(void)
{
// char returns ASCII value which is int type.
printf("%d\n", geeks('A'));
// Here A is a string.
printf("%d",geeks("A"));

return 0;

}
You can test it on different compilers her. I found that clang from 3.5 cpp support  _Generic - but result different if compile c file.
https://godbolt.org/z/jf1o41co5
Expected behavior
Impact
Logs and console output
../zephyr/include/sys/cbprintf_internal.h:75:4: error: expected primary-expression before 'char'
75 |    char * : 1,
|    ^~~~
../zephyr/include/sys/util_internal.h:67:26: note: in definition of macro '__DEBRACKET'
67 | #define __DEBRACKET(...) VA_ARGS
|                          ^~~~~~~~~~~
../zephyr/include/sys/util_internal.h:59:2: note: in expansion of macro '__GET_ARG2_DEBRACKET'
59 |  __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
|  ^~~~~~~~~~~~~~~~~~~~
../zephyr/include/sys/util_internal.h:56:2: note: in expansion of macro '__COND_CODE'
56 |  __COND_CODE(_ZZZZ##_flag, _if_0_code, _else_code)
|  ^~~~~~~~~~~
../zephyr/include/sys/util_macro.h:133:2: note: in expansion of macro 'Z_COND_CODE_0'
133 |  Z_COND_CODE_0(_flag, _if_0_code, _else_code)
|  ^~~~~~~~~~~~~
../zephyr/include/sys/cbprintf_internal.h:110:2: note: in expansion of macro 'COND_CODE_0'
110 |  COND_CODE_0(NUM_VA_ARGS_LESS_1(VA_ARGS),
|  ^~~~~~~~~~~
../zephyr/include/sys/util_loops.h:1075:2: note: in expansion of macro 'Z_CBPRINTF_IS_PCHAR'
1075 |  fixed_arg0(x)
|  ^~~~~~~~~~
../zephyr/include/sys/util_loops.h:28:2: note: in expansion of macro 'Z_FOR_EACH_EXEC'
28 |  z_call(0, x, fixed_arg0, fixed_arg1)
|  ^~~~~~
../zephyr/include/sys/util_loops.h:31:2: note: in expansion of macro 'Z_FOR_LOOP_1'
31 |  Z_FOR_LOOP_1(z_call, sep, fixed_arg0, fixed_arg1, ##VA_ARGS)
|  ^~~~~~~~~~~~
../zephyr/include/sys/util_loops.h:36:2: note: in expansion of macro 'Z_FOR_LOOP_2'
36 |  Z_FOR_LOOP_2(z_call, sep, fixed_arg0, fixed_arg1, ##VA_ARGS)
|  ^~~~~~~~~~~~
../zephyr/include/sys/util_loops.h:23:53: note: in expansion of macro 'Z_FOR_LOOP_3'
23 |     _57, _58, _59, _60, _61, _62, _63, _64, N, ...) N
|                                                     ^
../zephyr/include/sys/util_loops.h:1078:2: note: in expansion of macro 'Z_FOR_EACH_ENGINE'
1078 |  Z_FOR_EACH_ENGINE(Z_FOR_EACH_EXEC, sep, F, _, VA_ARGS)
|  ^~~~~~~~~~~~~~~~~
../zephyr/include/sys/util_macro.h:371:2: note: in expansion of macro 'Z_FOR_EACH'
371 |  Z_FOR_EACH(F, sep, REVERSE_ARGS(VA_ARGS))
|  ^~~~~~~~~~
../zephyr/include/sys/cbprintf_internal.h:95:3: note: in expansion of macro 'FOR_EACH'
95 |  (FOR_EACH(Z_CBPRINTF_IS_PCHAR, (+),  VA_ARGS))
|   ^~~~~~~~
../zephyr/include/sys/cbprintf_internal.h:112:7: note: in expansion of macro 'Z_CBPRINTF_HAS_PCHAR_ARGS'
112 |    (((Z_CBPRINTF_HAS_PCHAR_ARGS(VA_ARGS) - skip) > 0)))
|       ^~~~~~~~~~~~~~~~~~~~~~~~~
../zephyr/include/sys/cbprintf.h:92:2: note: in expansion of macro 'Z_CBPRINTF_MUST_RUNTIME_PACKAGE'
92 |  Z_CBPRINTF_MUST_RUNTIME_PACKAGE(skip, VA_ARGS)
|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../zephyr/include/logging/log_msg2.h:400:6: note: in expansion of macro 'CBPRINTF_MUST_RUNTIME_PACKAGE'
400 |  if (CBPRINTF_MUST_RUNTIME_PACKAGE(_cstr_cnt, VA_ARGS)) {
|      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../zephyr/include/logging/log_msg2.h:429:3: note: in expansion of macro 'Z_LOG_MSG2_CREATE2'
429 |   Z_LOG_MSG2_CREATE2(_try_0cpy, _mode, 1, _domain_id, _source,
|   ^~~~~~~~~~~~~~~~~~
../zephyr/include/logging/log_core.h:315:3: note: in expansion of macro 'Z_LOG_MSG2_CREATE'
315 |   Z_LOG_MSG2_CREATE(!IS_ENABLED(CONFIG_USERSPACE), _mode,
|   ^~~~~~~~~~~~~~~~~
../zephyr/include/logging/log_core.h:330:2: note: in expansion of macro 'Z_LOG2'
330 |  Z_LOG2(_level,
|  ^~~~~~
../zephyr/include/logging/log.h:71:25: note: in expansion of macro 'Z_LOG'
71 | #define LOG_DBG(...)    Z_LOG(LOG_LEVEL_DBG, VA_ARGS)
|                         ^~~~~
../modules/libcpp/zephyr/global_allocator_overloads.cpp:13:5: note: in expansion of macro 'LOG_DBG'
13 |     LOG_DBG("size = %u -> %p", (unsigned)size, ptr);
|     ^~~~~~~
Environment (please complete the following information):

OS:  Windows
Toolchain :gcc version 10.2.1 20201103 (release) (GNU Arm Embedded Toolchain 10-2020-q4-major)
Commit SHA : SHA-1: a379196b48ede6c9e1b308c5ed92e1ce20bec94e

Additional context

Maybe the same issue as #34495

Yes, same issue. Fix in #34527

Closing this as a duplicate.


Properly apply right alignment when appendTo is used

When appendTo is used and the dropdown is right-aligned the positioning is off
because it is calculated relative to the window instead of the specified container.

@RobJacobs, can you review this please?  Thanks.

@vasilak Having a plunk demonstrating the problem is extremely helpful to us.  That being said, I created a demo plunk here that uncovers another issue with the append-to element alignment - the top alignment is off.  In the dropdown scope.$watch('isOpen' function we could do some refactoring to call the $position.positionElements better (with the proper alignment) to take care of this issue and potentially implement auto positioning.  I'll create a PR for this shortly.

Apologies - I should have asked @vasilak to adhere to the issue template.  In the future, please do not summarily delete the template because you don't want to go through the work required.  The template is there to make helping you faster.  As a result, @RobJacobs had to put forth the time to figure out what was going on here.
In the future, issues entered that do not adhere to the template that are believed by the enterer to be bugs will be closed without further action.

Sorry guys, you 're right.
I will make sure to adhere to the template in the future.


Add multi-os support to Rancher OCI machine driver

Currently, the Rancher OCI machine driver only supports Oracle Linux.  I've had multiple requests to support other operating systems.
Since RKE/RKE2 has support for multiple operating systems, the machine driver should allow the user to specify any valid platform image.

Support added here: https://github.com/rancher-plugins/rancher-machine-driver-oci/commit/29bba89501753921f74debec55671d9342781160
Available in OCI node driver v1.3.0+


Permission Matching Query Does Not Exist

http://pastie.org/10560637
I'm getting this error when I try to signup as a new user in my local test environment. I'm not sure what I can look at or do to try to fix? I'm using Userena 1.4.1 if that helps.

Sorry, after some more googling I found the FAQ's for Userena. After I ran ./manage.py check_permissions, things seem to be working now. Sorry about that.


API draft

https://petstore.swagger.io/?url=https://raw.githubusercontent.com/fpob/rhub-api/api-draft/src/openapi/openapi.yml

@team Just a thought for team discussion, when it came to QL (which RHub is not), we specifically chose to not delete (most) objects rather enable/disable them for the purpose of retaining history.  So for example, we would issue a patch to change an object property from enabled to disabled.  I suppose it really depends upon what code is actually executed within the delete call to the API but I'm taking it at face value that a delete will be performed from the DB.  Should RHub be concerned with maintaining history and if so, what information should be preserved?

@team Just a thought for team discussion, when it came to QL (which RHub is not), we specifically chose to not delete (most) objects rather enable/disable them for the purpose of retaining history. So for example, we would issue a patch to change an object property from enabled to disabled. I suppose it really depends upon what code is actually executed within the delete call to the API but I'm taking it at face value that a delete will be performed from the DB. Should RHub be concerned with maintaining history and if so, what information should be preserved?

the deletion endpoints should be there for sure, how it's actually handled is an implementation detail and shouldn't leak through the API, if deleted for real or tagged or anything
and so the deletion itself is for further discussion, noted for the next dev meeting

Overall looks good, but as @brhatiga mentioned. We should keep record in the database and simply add a boolean field to enable/disable


Support Arbitrary User IDs for OpenShift (Logger and VideoRecorder: mc)

mc: <ERROR> Unable to save new mc config. mkdir /.mc: permission denied
Similar to https://github.com/aerokube/selenoid-images/issues/36

Fixed. Will be released in 1.5.1.


Fix json.load(cmd.stdout) regression

Fixes #166
TODO

[x] Create repro case
[ ] Fix bug

This was fixed by https://github.com/pulumi/pulumi-command/pull/251.


README suggestion: Refer to config.middleware.insert_before

Hi!
As a new user of the gem, following instructions, it can be confusing if other middlewares take action before rack-healthcheck can show status.
If, in Rails, placed before ActiveRecord::Migration::CheckPending it works fine.
     # Healthcheck
     config.middleware.insert_before ActiveRecord::Migration::CheckPending, Rack::Healthcheck::Middleware

Would you like a PR with this change?

Hi, yeah sure, can you open it?
thanks for the suggestion.

I've updated the PR to include named placement. I hope this satisfies most usage of the Gem within Rails. Perhaps <details> & <summary> blocks would help make the document shorter at the cost of lazy scanning.


Test for notification feature

This PR implement the test for the notification feature introduced by https://github.com/coreos/rkt/pull/2826
Fixes https://github.com/coreos/rkt/issues/3198

@alepuccetti the build fails

Yes that it is a good idea. I will do a check every second this should do
the trick.
Still the failures should be unrelated to this. I will investigate.
On Tuesday, September 20, 2016, Alban Crequy<EMAIL_ADDRESS>wrote:

@alban commented on this pull request.
In tests/rkt_notify_test.go https://github.com/coreos/rkt/pull/3227:

conn, err := sd_dbus.New()

if err != nil {

t.Fatal(err)

}

imageFile := getInspectImagePath()

image, err := filepath.Abs(imageFile)
if err != nil {

t.Fatal(err)

}
// we need to add --silent-sigterm so inspect terminates correctly and the
// transient service exits successfully so it disappears from the list of
// units
sleepTime := 3
opts := fmt.Sprintf("-- --silent-sigterm --notify --sleep=%d", sleepTime)

So the sleep time in line 57 and line 94 are not related and don't need to
have the same value. I don't think they should use the same variable then.
It seems racy in line 94 if rkt is slow to start the app. Instead of a
single sleep + a single ListUnit, you could check the status regularly
until you get the expected state, with a timeout. There is an example in
TestRktStop
https://github.com/coreos/rkt/blob/master/tests/rkt_stop_test.go#L98
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/coreos/rkt/pull/3227, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGRc7_tps22sH8SWSVmMJi7SygJfrecYks5qr_iDgaJpZM4KBhcD
.

--
Alessandro Puccetti

@alepuccetti just a gentle ping on this to get a feel about the current status, do you think it is possible you'll make it this week?

do you think it is possible you'll make it this week?

@s-urbaniak sorry, I cannot make it for the end of the week, LinuxCon is taking all my free time.

@alepuccetti no problem, bumping to next release then

This fell a bit under the radar, but is actually needed, assigning to the next release.


Desktop app | Start implementing

Decided to use Lorca because of easy implementation with HTML

Implemented list mods feature (Just the names). Next features coming are:

Images / descriptions / version / authors numbers for mods in the list.
Quick filter / search for mods by text.
Delete / Enable / Disable / Install mod.
Browse global mods.
Automatically create a mod-pack.


Remove archived file from central directory

It would be great if the library supported file removal from the central
directory and compress of a new file to a specific file index. This would let
us overwrite a single file content with new data without wasting memory.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 6 Jun 2014 at 4:35

3 years have passed and still no function to remove the file ?

5 years have passed and still no function to remove the file ?

Closed because not a bug (feature request)


Support Guzzle 7

drop support for other php version except for 7.4 and 8
drop support for other guzzle versions except for guzzle 7
add ci workflow

@rossriley
this pr contains breaking change (guzzle 7)
v3 is using "maknz/slack": "^1.7"
so this pr once merged can be tagged as 2.0.0.

@rossriley
this pr contains breaking change (guzzle 7)
v3 is using "maknz/slack": "^1.7"
so this pr once merged can be tagged as 2.0.0.


Cleanup work for ESSD ms

See #22 - this PR addresses most (but not all) of those things.

Sounds good.


GithubFunction data connector unclear Post Deployment Steps

Describe the bug
The docs for GithubFunction data connector are unclear or there are missing files
To Reproduce
Steps to reproduce the behavior:

Go to 'https://github.com/Azure/Azure-Sentinel/tree/master/DataConnectors/GithubFunction#post-deployment-steps'

1. There are two json files (ORGS.json and lastrun-Audit.json) in Function Dependencies folder
I am not sure what is referred to by "Function Dependencies" folder, and I am not able to find any orgs.json or lastrun-audit.json files anywhere.
I tried manually creating the orgs.json file and add it to github-repo-logs, but I am getting some hard to read errors during the function execution and nothing is stored.

@sreedharande Please review

@audunsolemdal - Please follow the steps

Navigate to https://github.com/Azure/Azure-Sentinel/tree/master/DataConnectors/GithubFunction

Under "Function Dependencies" folder you will find ORGS.json and lastrun-Audit.json

Please let me know, if you need any additional information

@audunsolemdal - are you able to resolve this issue??


Update eslint to v6.6.0 and eslint-plugin-github to v3.2.1

Closes #153 by superseding it

Thanks so much @XhmikosR !!


possible to make menu absolute?

hi,
i would like to have the menu absolute that the main Content is not pushed aside.
is this possible (just for the menu when i hover it - the slim-menu is good as it is)?

Hello,
That feature is not available for the main sidebar. Sorry for the inconvenience!


[BUG] Formatting Issue Displaying Grouped Tasks

First, a super useful plugin! Nice work!
Overview
When using the plugin to generate a list of files that have tasks, the output indents the tasks incorrectly, causing Obsidian not to recognize them as tasks
Reproduction procedure
TASK
where contains(file.path, "<a_folder_with_multiple_files_that_have_tasks>")
AND !completed
group by file.name

Dataview is able to render this correctly

Since dataview-publisher only outputs the execution results of Dataview's tryQueryMarkdown, it is likely a problem with Dataview.
It seems that unnecessary indentation occurs when using group by.
Ideally, you should ask dataview to fix the output format.
We will also consider detecting and correcting the indentation in dataview-publisher.
Thank you

@JasonSooter

the odd thing is that Dataview's output renders correctly at the top as shown in the screenshots above

Dataview doesn't output markdown strings (plaintext), but uses preact to render the data.
ref. https://github.com/blacksmithgu/obsidian-dataview/blob/6d9030ef1df9c3f310f42e3502149dc71792dc4d/src/ui/views/task-view.tsx#L177-L197

This element seems to be the culprit
Removing that block / element causes them to render correctly

I think that's correct.
It should be displayed correctly if you delete the leading space ( ) characters.
However, not all leading space characters are unnecessary, so I'm having trouble figuring out how to determine this.


CODE RUB: AIModelClientServiceException Class Update v2.10.1

Updated AIModelClientServiceException class by removing constructors in which the error message was hard coded in. Updated all relevant service files to include message.

Closing Pull Request. Resolving in PR #547.


Craftspout support

turns out that my previous error was due to too much TNT :(
SS cant handle craftspout/spout packets tho.
LOG(preparing spawn area and cant keep up removed):
SimpleServer -- Copyright (C) 2011 SimpleServer authors (see CONTRIBUTORS)
This program is licensed under The MIT License.
See file LICENSE for details.
>> Starting SimpleServer 8.3.4 stable
161 recipes

17 achievements

2011-10-02 17:17:29 [INFO] Starting minecraft server version Beta 1.8.1
2011-10-02 17:17:29 [INFO] Loading properties
2011-10-02 17:17:29 [INFO] Starting Minecraft server on <IP_ADDRESS>:25567
2011-10-02 17:17:31 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1069-g3379f08-b1188jnks (MC: 1.8.1)
2011-10-02 17:17:45 [INFO] Spout <IP_ADDRESS>3 has been initialized
2011-10-02 17:17:45 [INFO] Preparing level "Castle"
2011-10-02 17:17:45 [INFO] Default game type: 1
2011-10-02 17:17:49 [INFO] Preparing start region for level 0 (Seed:<PHONE_NUMBER>099548111)
2011-10-02 17:18:08 [INFO] Preparing start region for level 1 (Seed: -8852288755558793660)
2011-10-02 17:18:25 [INFO] WorldEdit 4.6 enabled.
2011-10-02 17:18:25 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
2011-10-02 17:18:27 [INFO] [NoLagg] Auto-save field bound to 'u'!
2011-10-02 17:18:27 [INFO] NoLagg version 1.25 is enabled!
2011-10-02 17:18:35 [INFO] [Regios] - v3.6_1.0 - Permissions not detected, defaulting to OP
2011-10-02 17:18:42 [INFO] [Regios] - v3.6_1.0 - Initialising SQL tables...
2011-10-02 17:18:43 [INFO] [Regios] - v3.6_1.0 - [4] Regions loaded from database
2011-10-02 17:18:45 [INFO] [AU][Regios] You are running the latest version of Regios.
2011-10-02 17:18:45 [INFO] [Regios] Loaded world configuration and protection for 2 worlds successfully!
2011-10-02 17:18:46 [INFO] [mcMMO] Using Bukkit Permissions.
2011-10-02 17:18:46 [INFO] Loading Config File...
2011-10-02 17:20:41 [INFO] mcMMO version 1.1.16 is enabled!
2011-10-02 17:20:41 [INFO] mcMMO is keeping usage stats an. To opt-out for whatever bizarre reason, check plugins/stats.
2011-10-02 17:20:43 [INFO] [HeroicDeath] 1.11.2 enabled.
2011-10-02 17:20:43 [INFO] Server permissions file permissions.yml is empty, ignoring it
2011-10-02 17:20:44 [INFO] Done (17.944s)! For help, type "help" or "?"
[SimpleServer] Wrapper listening on <IP_ADDRESS>:25565 (connect here)
[SimpleServer] Note: <IP_ADDRESS> means all IP addresses; you want this.
[SimpleServer] IP Connection from <IP_ADDRESS>!
2011-10-02 17:21:45 [INFO] fread2281 [/<IP_ADDRESS>:49566] logged in with entity id 465 at ([Castle] -254.68718475733868, 69.0,<PHONE_NUMBER>446655)
2011-10-02 17:21:49 [INFO] Reading data
2011-10-02 17:21:52 [INFO] [Spout] Successfully authenticated fread2281's Spoutcraft client. Running client version: <IP_ADDRESS>9
2011-10-02 17:21:52 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
2011-10-02 17:21:53 [INFO] New max size: 484
2011-10-02 17:21:53 [INFO] New max size: 784
[SimpleServer] java.io.IOException: Unable to parse unknown ServerStream packet 0xffffffa0 for player fread2281 (after 0xffffffc3
[SimpleServer] ServerStream error handling traffic for <IP_ADDRESS> (ffffffc3)
[SimpleServer] java.io.EOFException
[SimpleServer] PlayerStream error handling traffic for <IP_ADDRESS> (b)
2011-10-02 17:22:45 [INFO] Connection reset
[SimpleServer] Socket Closed: <IP_ADDRESS>
2011-10-02 17:22:45 [SEVERE] java.net.SocketException: Connection reset
2011-10-02 17:22:45 [INFO] fread2281 lost connection: disconnect.endOfStream
stop
[SimpleServer] Stopping Server...
2011-10-02 17:23:10 [INFO] CONSOLE: Stopping the server..
2011-10-02 17:23:10 [INFO] Stopping server
2011-10-02 17:23:10 [INFO] NoLagg disabled!
2011-10-02 17:23:10 [INFO] [Regios] v3.6_1.0 - Closing SQL connections...
2011-10-02 17:23:10 [INFO] [Regios] v3.6_1.0 - Regios disabled.
2011-10-02 17:23:10 [INFO] mcMMO was disabled.
2011-10-02 17:23:10 [INFO] [HeroicDeath] 1.11.2 disabled.
2011-10-02 17:23:10 [INFO] Saving chunks
[SimpleServer] Server stopped successfully!

Yeah, also having an issue with SpoutCraft clients.

@The-PC-Tech-Guy: I think you made the right choice. I would only recommend combining CraftBukkit with SimpleServer for servers with very few and simple plugins like WorldEdit or maybe a simple trading system.

I've always viewed SimpleServer as a wrapper for people who (like me) can't stand Bukkit and instead would like a permissions system and a few more features without the hassle of complicated Bukkit configurations. Plus, I just can't support Bukkit in any way knowing that they basically have violated Mojang's only real no-no by releasing what amounts to the vanilla server's source code.


added Hacktoberfest Countdown

I solved the issue #5.

Would you be so kind to add the "hacktoberfest-accepted" label, if you like the solution?

Hey it would be great if you could make a separate js file for the countdown and also include some styling for it.

Shure. Give me few minutes.

Hey it would be great if you could make a separate js file for the countdown and also include some styling for it.

How do you imagine the styling?

Hey it would be great if you could make a separate js file for the countdown and also include some styling for it.

How do you imagine the styling?

Hey thats completely upto you, you could add it like a header or any other thing as it pleases along with appropriate styling

I added the countdown to the image. Maybe you dont like the color or the font.


added abhis.blog

I've stuck the icon on the homepage.
Loving the webring, so many cool websites/people. Let me know if I meet the criteria. Ty

The website is too new in its current state, and the projects are documented offsite, so you don't have any content page at the moment, you need 10 for the webring :) Feel free to open another PR when the website is further down the line.


CI/CD of apache/fineract is broken

The "CI/CD" from https://github.com/apache/fineract/ to demo.fineract.dev broke, a while ago.
https://demo.fineract.dev/fineract-provider/actuator/info shows the server is currently still at rev 97aa107 from 2021-07-08.
@ptuomola and @awasum have privately emailed me about this, but I've not yet had the time to look into it.
Today I'm creating this issue to public record finally investigating what's blocking this from working again.

Hello @vorburger - great to hear from you!
Just FYI - I've removed the Github workflow that used to push to fineract.dev from the Fineract repository, as it was spamming everyone with emails about workflow failures.
So when you have time to look into this, just restore it in Github so that you can investigate the failures...

Hello @vorburger - great to hear from you!

Same here!! How you keep at it is a motivation for me to sort this out... 😄

removed the Github workflow that used to push to fineract.dev from the Fineract repository, as it was spamming everyone with emails about workflow failures.

Totally fair! So FTR https://github.com/apache/fineract/commit/4522b71dfd11a885d7d5165f81e6d80db37e65ed can be reverted - once it works again.
https://github.com/apache/fineract/actions doesn't immediately show the failures anymore, but status = failure filter does...

So when you have time to look into this, just restore it in Github so that you can investigate the failures...

https://github.com/apache/fineract/actions/runs/1219125759 has an:

ERROR: (gcloud.beta.builds.triggers.run) INVALID_ARGUMENT: source.revision must be specified to run this trigger

I don't suppose by any chance you @ptuomola or @awasum happen to have already looked into this error message? (Looks like the gcloud CLI arguments changed.)

just restore it in Github so that you can investigate the failures...

I can probably first to get it working manually locally again. Just need a quiet moment to remember exactly how I had set this up... 😃

I don't suppose by any chance you @ptuomola or @awasum happen to have already looked into this error message? (Looks like the gcloud CLI arguments changed.)

I tried looking into it, but unfortunately https://cloud.google.com/sdk/gcloud/reference/beta/builds/triggers/run does not mention any such argument, so wasn't sure if this was something that was wrong in the trigger definition (which I can't see) or in the command line. I played around with the arguments for a while but didn't really make any progress...

I can probably first to get it working manually locally again.

So if I locally run gcloud beta builds triggers run deploy-demo (from here) then it actually reproduces that source.revision error.
PS: It needs my personal credentials, of course; I can't really see how I could make this publicly available (and let any push), unfortunately.

locally run gcloud beta builds triggers run deploy-demo then it actually reproduces that source.revision error.
https://cloud.google.com/sdk/gcloud/reference/beta/builds/triggers/run does not mention any such argument

There's a --branch argument - and that seems to be it, I (locally) seem get further when I add that! Something is currently running (slow!)... I got to stop for today; I'll pick this up some future evening.
BTW https://cloud.google.com/sdk/gcloud/reference/beta/builds/triggers/run also ends with "This command is currently in BETA and may change without notice." - I guess we noticed, LOL. 😈

moment to remember exactly how I had set this up...
wasn't sure if this was something that was wrong in the trigger definition (which I can't see)

Right, so deploy-demo is indeed a trigger definition in a Git repo that I current still keep private which has a bunch of scripts that make https://www.fineract.dev "tick". I've never shared them publicly mostly out of a concern for not being willing to "support" them (other than for running fineract.dev).

Fixed! https://demo.fineract.dev/fineract-provider/actuator/info is now at 5532f84 from 2021-09-11 - that was manual.
https://github.com/apache/fineract/pull/1870 re-enables the GitHub action that automates future updates again (as it was).
Done.


added a sanity check on the returned round value

Louis from EPFL raised the fact that we don't validate rounds returned from servers to be the ones that we have requested, e.g. if a user requests round 100, but the server returns round 50, it will be happily validated by all the client libs.
I've raised a PR to drand-rs to try and remediate this... though I may have butchered some of your tests while doing so :) feel free to add on top of this for anything that's not to your liking!

Triggering CI automated test while I'm reviewing the PR locally.

Thanks for the report, and the proposal fix. I propose an alternative fix in 73d0eff
The difference are as follow:

Gate the use of time behind #[cfg(feature = "time")], as it's not supported on all architectures, specifically wasm32-unknown-unknown.
Perform the round check within the get_from_str instead of independently in get and latest.
Gating latest behind #[cfg(feature = "time")] in favor of keeping latest method signature simple. For non compatible architecture, users can use RandomnessBeaconTime on the client side. While /public/latest is convenient, it's overall unsafe, and is used only when the client is configured to not perform any validation.
Moving all the tests to get(round) instead of latest to not be time dependent.
To test latest, creates a mock chain information which genesis time is inferred from the current time.

If that's ok with you, I can do a diff of 73d0eff with the current head of this branch.

I'm not fussy about contributor attribution, happy to go with your fix as-is! thank you for the fast turnaround!

Thanks for the contribution. I've merged it in a co-authored commit in #14.


Add SmartPlug Devices (Sonoff/Ikea/Silvercrest)

Hello,
May I ask you to add following SmartPlugs from Sonoff, Ikea and Silvercrest to your nice plugin?
They all work fine through Tahoma App.
Here some information from the log:
Sonoff S26R2ZB Smart Plug, ZigBee

Sonoff SP1 - DB Cams,zigbee://2014-2386-6039/55609/1,StatefulOnOff,OnOff,zigbee:OnOffComponent
Sonoff SP1 - DB Cams,zigbee://2014-2386-6039/55609/1,StatefulOnOff,OnOff,zigbee:OnOffComponent
Device 'Sonoff SP1 - DB Cams' NOT controlled by tahoma yet

Ikea TRÅDFRI Smart Plug

StkD IkTf 1,zigbee://2014-2386-6039/2692/1,StatefulOnOff,OnOff,zigbee:OnOffComponent
StkD IkTf 1,zigbee://2014-2386-6039/2692/1,StatefulOnOff,OnOff,zigbee:OnOffComponent
Device 'StkD IkTf 1' NOT controlled by tahoma yet

SilverCrest Smart Plug (Lidl)

StkD SilCr 3 Flurlampe,zigbee://2014-2386-6039/9064/11,StatefulOnOff,OnOff,zigbee:OnOffComponent
StkD SilCr 3 Flurlampe,zigbee://2014-2386-6039/9064/11,StatefulOnOff,OnOff,zigbee:OnOffComponent
Device 'StkD SilCr 3 Flurlampe' NOT controlled by tahoma yet

Many thanks
Ingelumer

Hello,
I will attempt to add them tomorrow. I’ll provide you with two files: tahoma.py and get_devices.py to replace in your “tahoma” folder. Could you please test to see if everything is working properly?
Additionally, could you provide information on what the Sonoff S26R2ZB Smart Plug, ZigBee, Ikea TRÅDFRI Smart Plug, and SilverCrest Smart Plug (Lidl) are? (Are these plugs?)
And could you tell me if you use the Pypi version or the Github version ?
Thank you.

thank you so much, works like a charm now :-)
Yes I confirm these devices are plugs, here are the links:
Sonoff S26R2ZB Smart Plug, ZigBee
Ikea TRÅDFRI Smart Plug
SilverCrest Smart Plug (Lidl)


Can't  move story between projects

Seems like if I set the project_id for some story it fails to update the resource: it tries to PUT the story on a nested route under the new project_id, which will fail with a 404 since that story doesn't belong to that project.
Is there any know workaround for this or it'll require some tweaking on the Story object?

Moving a story between projects is not supported. Pull requests welcome.
On Tue, Apr 26, 2016 at 12:26 PM Fuad Saud<EMAIL_ADDRESS>wrote:

Seems like if I set the project_id for some story it fails to update the
resource: it tries to PUT the story on a nested route under the new
project_id, which will fail with a 404 since that story doesn't belong to
that project.
Is there any know workaround for this or it'll require some tweaking on
the Story object?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/dashofcode/tracker_api/issues/68

@forest cool! shouldn't be difficult to implement. I'll see if I can come up with something tonight.


Totally not working Instant ID

Not sure what happened, but starting from today Instant ID not integrating the face, just generating the promt. Yesterday with all the same settings all was going perfect.

For my part, I have the faces but it seems that the prompt is not particularly taken into account. If I want a line art style, I'll have my face almost "normal" and the "drawing" for the rest. However, it works on the demos.

I'm not sure what's going on, could you provide more infos?


confused with source code like path

since ramada has defined some base function like ifElse、always、not, but when I look at path code, it look like:
var path = _curry2(function path(paths, obj) {
  var val = obj;
  var idx = 0;
  while (idx < paths.length) {
    if (val == null) {
      return;
    }
    val = val[paths[idx]];
    idx += 1;
  }
  return val;
});
export default path;

and if we defined like it :
var path = _curry2(function path(paths, obj) {
  let val = obj
  return ifElse(
    always(undefined)
  )(
    () => val
  )(
    any(path => not(val = prop(path)(val)))
  )(paths)
});

what about this definition mode ?

Ok, I got the point is that performance, right?
Thinking of this condition, If both they have the same performance(of course this is just a hypothesis)，Do second definition mode better than first one right?
Tthanks for your answer.

Great, Thanks for your answer.
Sorry to use ifElse not correctly, since it copy from my personal library moy. Anyway, I prefer the recursion: definition mode.

It maybe solved with Array.prototype.some and give it index to judge.
but now, since I am new in ramada, if I define a function like this:
const isRamda = obj => compose(equals('ramda'), prop('name'))(obj) ? 'great' : 'not bad'

or define like this:
const isRamda = ifElse(
  compose(equals('ramda'), prop('name'))
)(
  always('great')
)(
  always('not bas')
)

Should I use ifElse or ?: ?

English is not good

in this particular case you may want to not use a lib at all, since the only thing that is varying is obj, and the internal composition is not buying you much:
const isRamda = obj => obj.name === 'ramda' ? 'great' : 'not bad'

Yes, I just give a simple example, just want When to use ifElse?

When to use ifElse is actually somewhat tricky.  There are a number of Ramda functions which make for nicely readable alternatives to their plain ES5 techniques but add little value in the days of ES6.
One can always write
const myFunc = (x, y) => condition(x, y) ? ifTrue(x, y) : ifFalse(x, y)

in place of
const myFunc = ifElse(condition, ifTrue, ifFalse)

and I would recommend it for many cases, especially if the functions are used only here.
But if any of the parameters (condition, ifTrue, or ifFalse) is reused elsewhere, the already shorter version using ifElse becomes the obvious choice.
Often point-free coding involves the trade-offs between code that is more explicit and code that more expressively demonstrates the interconnections between functions.
This:
const collatz = (n) => (n % 2 === 0) ? (n / 2) : (3 * n + 1)

is very explicit.  You know how the result will be calculated based on the input value.
This version, however, explicitly describes how certain functions are to be combined:
collatz = ifElse(isEven, half, triplePlusOne)

But it's based on having reusable functions to work with.
There is no correct answer about when you should choose one over another.  It will depend on both your preferences about style and on your specific current need.


[BUG] packet queue is empty, aborting

Describe the bug
I guess it is a mechanism, which detects some unused sockets and closes them.
To Reproduce
Steps to reproduce the behavior:

run mistnet-yolov5 example with several clients (4 in my case)
when the server uses the CPU to train the feature dataset, it usually needs a long time, and some clients will generate the bug message, which is similar to timeout.

Expected behavior
[INFO][05:12:15]: [Client # 4] Contacting the central server.
[INFO][05:12:15]: [Client # 4] Connecting to the server at http://<IP_ADDRESS>:30496.
[INFO][05:12:15]: [Client # 4] Connected to the server.
[INFO][05:12:15]: [Client # 4] Waiting to be selected.
packet queue is empty, aborting
[ERROR][06:12:20]: packet queue is empty, aborting
OS environment (please complete the following information):

Ubuntu
20.04

Please try to add ping_timeout in the server section in your configuration file. The default value for ping_timeout is 360 (seconds), try to set it to a longer and more appropriate value for your experiment.

Thanks, it seems this parameter is necessary for all cases. Closed.


[Android] No static field preferences of type I in class Lcom/facebook/react/R$xml

App runs fine but crashes whenever I try to open Dev Settings. Same case when run on emulator and on device
from adb logcat
java.lang.NoSuchFieldError: No static field preferences of type I in class Lcom/facebook/react/R$xml; or its superclasses (declaration of 'com.facebook.react.R$xml' appears in /data/app/****/base.apk)
react-native-cli: 1.0.0
react-native: 0.28.0
watchman: 4.6.0
Developing on latest OSX
If there's any more info you guys need, just let me know. I'll continue to debug this in the meantime. Thanks!

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/android-no-static-field-preferences-of-type-i-in-class-lcomfacebookreactrxml
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.


Another Epic

an epic for the night theme project

do-not-edit-start-codetree-epic-issues
Issues in this epic:

Title
Milestone
Assignees
Stage
State

 Create a new issue #1
Sprint 1
N/A
backlog
Open

do-not-edit-end-codetree-epic-issues


Update TeachingTip to use XamlRootChanged_revoker

There is an issue with the XamlRoot Changed event handler that results in the C++/WinRT auto_revoker not working as expected. This had the effect that the event handler was not being revoked in TeachingTip and when the XamlRoot.Changed event fired, we would raise the event on a potentially deleted TeachingTip. This is causing crashes in apps.
The solution is to use a custom implementation of XamlRootChanged_revoker.
The underlying issue with the XamlRoot.Changed event is tracked by OS Bug 21302432.

/azp run


Push all the logic currently inside main.go into Kurtosis-managed code

If we have the custom data be a string and we make the user parse it inside their testsuite, we standardize the Dockerfile and main.go file so the user won't have to modify them

Done for as much as we can

Done for as much as we can


fix doc visibility of re-exported exported macro_rules macros

In sub rama crates such as rama-http I have doc-hidden exported macro_rules macros such as rama_http::service::web::match_service. These show up in the rama-http docs but they do not show in rama where rama_http::service is re-exported as rama::http::service.
This results also in the 404: https://ramaproxy.org/docs/rama/http/service/web/macro.match_service.html
From page https://ramaproxy.org/docs/rama/http/service/web/index.html
Asked in rust programming language discord but they didn't seem to know either
So will have to file a bug instead...

rust bug ticket: https://github.com/rust-lang/rust/issues/129982

Removing this from 0.2 as the resolution speed is dependent on the rust team.


Question: Is it possible to use Spectre.Console to render to string?

Is your feature request related to a problem? Please describe.
Spectre.Console is amazing, but I'm not found a good way to combine it with ITestOutputHelper, and other ILogger and similar interfaces. I wish to use it with those at least by writing compatibility layer, but I want render to string for it.
Describe the solution you'd like
I'd like to be able to render to string. With and without colors, because of all the issues with Ansi colors.
Describe alternatives you've considered
Probably there is something like this somewhere in docs or issues, but I wasn't been able to find.
Additional context
ITestOutputHelper fundamentally incompatible with live elements. Due to how it connects to CI/CD and not allows to rewrite lines.

Please upvote :+1: this issue if you are interested in it.

Found that I can do it like this:
    using var writer = new StringWriter();
    var console = AnsiConsole.Create(new AnsiConsoleSettings
    {
      Ansi = AnsiSupport.No,
      ColorSystem = ColorSystemSupport.NoColors,
      Out = new AnsiConsoleOutput(writer)
    });

Works for me, I think. Now I want to figure out how to make those settings global in a best way.

You can also use the TestConsole in the Spectre.Console.Testing package that was designed for this.

@patriksvensson 'TestConsole' not named like something I should use outside of tests. This gonna cause confusion.

Oh, I was under the impression that you wanted to use it for tests.

I want to use it for tests too, TestConsole definetly sounds great. Thanks for info. I just wanted to use it not only for tests, because this package is really great at making verbose logs

Ok, just make sure you take a dependency on IAnsiConsole in your code if you want to be able to test it.


How to use deepgo2 to predict functions from multifasta file without GPU

Hi @leechuck @coolmaksat @ferzcam
I was checking out the deepgo2 paper and wanted to know if there is a way to run predictions on our custom protein multifasta file using deepgo2 without GPU.

Hi,
Sorry for the late reply, it runs on cpu, there is a parameter (--device/-d) in predict.py script. However, it might take a long time to get the ESM2 embeddings.


Fix for random state passing

FEDOT-related fix for reproducibility of optimiser (now only runs from GOLEM() class take the seed into account)

Hello @nicl-nno! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file golem/utilities/utilities.py:

Line 1:1: F401 'logging' imported but unused

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

Project coverage is 71.41%. Comparing base (68706be) to head (3799d8c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #269      +/-   ##
==========================================
- Coverage   72.88%   71.41%   -1.47%
==========================================
  Files         140      140
  Lines        8338     8337       -1
==========================================
- Hits         6077     5954     -123
- Misses       2261     2383     +122

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


[Snyk] Upgrade com.google.auto.value:auto-value-annotations from 1.10 to 1.10.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade com.google.auto.value:auto-value-annotations from 1.10 to 1.10.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released a month ago, on 2022-11-17.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Folded in https://github.com/flyteorg/flytekit-java/pull/176


Export feature matrix

I'd like to be able to export the final feature matrix that autogluon creates.  For example, in the tabular case I'd like to see if I can replicate the model performance using a synthetic dataset created from a tabular GAN model. Is this possible?

This is technically possible, but it depends on what level of preprocessing we are talking about.
Preprocessing in Tabular works at different stages:
Stage 1: The generic preprocessing stage which does automated FE, type inference, ngram generation, etc. This is then passed to the training logic as the 'synthetic dataset' which models are trained with.
Stage 2: Stacker preprocessing stage. This effectively is the same as Stage 1, but with the OOF (Out of Fold) predictions of lower layer stacker models added as features to the dataset.
Stage 3: Then there is the model specific preprocessing. Each ML model does an additional preprocessing stage to get the data in its preferred form. For the NN, this is converting the data to an MXNet representation, for LightGBM, it is converting it to a lgb.Dataset(), for KNN, it is dropping categorical columns and imputing NaNs.
For stage 1 (Generic preprocessing), this is trivial to add for both training data and test data.
For stage 2 (Stacker preprocessing), this is trivial to add for test data. For training data it is complex because between stage 1 and 2, AutoGluon has the ability to drop rows from the training set it views as 'invalid' (and in future for subsampling huge datasets). If you are ok with the training data returned to you missing some amount of rows, this is an easy add (effectively it would return to you the input dataset to the next stacker layer if one were to be trained), otherwise is becomes significantly more complex to implement. It is still possible, although it would be a mash up of OOF prediction generated data (non-bagged inference) and inference-time generated data (bagged inference).
For stage 3 (Model specific preprocessing), this is trivial to add for test data. For training data it shares all the same complexities with stage 2. Furthermore, the output of this stage is highly specialized to the particular model, and likely not very useful to the user who wishes to make their own custom model from the data.
Which of stage 1, stage 2, and stage 3 are you interested in? Is there anything that you are looking for that I missed?

I gave this a shot and have created #431 which should enable the retrieval of feature matrices for stage 1 and 2 as described above. I will notify you when it has been merged. Let me know if this addresses your request!

Thanks!

Hi @braaannigan,
I believe I have added the functionality you requested.
As an example code:
predictor = task.load('my_predictor/')
test_data = task.Dataset('test.csv')
test_data_transformed = predictor.transform_features(test_data)
test_data_transformed_with_lightgbm_l1_features = predictor.transform_features(test_data, model='lightgbm_l1') # If you are using stacking and want the inputs to a particular stacker model
test_data_labels_transformed = predictor.transform_labels(test_data[LABEL])
test_data_labels_original = predictor.transform_labels(test_data_labels_transformed, inverse=True)
train_data_transformed, train_data_labels_transformed = predictor.load_data_internal(dataset='train')
val_data_transformed, val_data_labels_transformed = predictor.load_data_internal(dataset='val') # Only for non-bagged
train_data_transformed_with_out_of_fold_stack_features = predictor.transform_features(base_models=[{list of base model names for your stacker}])

your_new_stacker_model = your_new_stacker_model_func.fit(X_train=train_data_transformed_with_out_of_fold_stack_features, y_train=train_data_labels_transformed)
your_new_normal_model = your_new_normal_model_func.fit(X_train=train_data_transformed, y_train=train_data_labels_transformed, X_val=val_data_transformed, y_val=val_data_labels_transformed)

test_data_transformed_stacker_input = predictor.transform_features(dataset=test_data, base_models=[{list of base model names for your stacker}])

test_data_transformed_pred_proba = your_new_stacker_model_func.predict_proba(test_data_transformed_stacker_input)

test_data_pred_proba = predictor.transform_labels(test_data_transformed_pred_proba, inverse=True, proba=True)

your_model_test_score = predictor.evaluate_predictions(y_true=test_data_labels_original, y_pred=test_data_pred_proba) # Must have used one of the pred_proba metrics, such as logloss or AUC)

Let me know how it works for your use case and if anything is missing from this implementation.

Hi @Innixma that works great, thanks!  Will let you know if the GAN approach is useful for my problem


Web Development - HTML, CSS and JavaScript courses

Fixes Issue #133

Description: Added frontend web development resources.

Resource URL: https://www.youtube.com/watch?v=EerdGm-ehJQ
https://www.youtube.com/watch?v=G3e-cpL7ofc

Checklist:
Before submitting your pull request, ensure that you have completed the following tasks:

[x] I have carefully reviewed and adhered to the contributing guidelines before creating this pull request.
[x] I followed the prescribed PR title template.

Thank you @rahul-p19!


selec doc update

@byronhulcher told me some tips about working with select behaviors. just added them to the documentation

👍  nice!


Bug: Call delete on Model with where can not get delete id(s) in afterDelete callback

PHP Version
8.1
CodeIgniter4 Version
4.4.3
CodeIgniter4 Installation Method
Manual (zip or tar.gz)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
fpm-fcgi
Database
MySQL 8.0
What happened?
Call delete on Model with where can not get delete id(s) in afterDelete callback
Steps to Reproduce
Database:
+----+-----------+----------------+----------------+----------------+---------------+
| id | name      |  created_at    | updated_at     | deleted_at     |rec_status     |
+----+-----------+----------------+----------------+----------------+---------------+
| 1  | 12345     | 2023-12-07 ... | 2023-12-07 ... |                | A             |
+----+-----------+----------------+----------------+----------------+---------------+
| 2  | 12345     | 2023-12-07 ... | 2023-12-07 ... |                | A             |
+----+-----------+----------------+----------------+----------------+---------------+

In Model:

class MY_Model extends \CodeIgniter\Model
{
    protected $afterDelete = ['set_rec_status'];

    protected function set_rec_status($data){
        if($data['purge'] == false){
            $ids = is_array($data['id'])? $data['id'] : [$data['id']];
            foreach($ids as $id){
                $this->allowCallback(false)->update($id, ['rec_status'=>'R']);
            }
        }
    }
}

In Controller:
$model->where('name', '12345')->delete();

Expected Output
+----+-----------+----------------+----------------+----------------+---------------+
| id | name      |  created_at    | updated_at     | deleted_at     |rec_status     |
+----+-----------+----------------+----------------+----------------+---------------+
| 1  | 12345     | 2023-12-07 ... | 2023-12-07 ... |2023-12-07 ...  | A             |
+----+-----------+----------------+----------------+----------------+---------------+
| 2  | 12345     | 2023-12-07 ... | 2023-12-07 ... |2023-12-07 ...  | A             |
+----+-----------+----------------+----------------+----------------+---------------+

It should delete both record in database and it did,
but rec_status is not set to R.
We found that $data['id'] is empty when framework call our callback function,
so that our callback function can not set or do more things with those data.
Anything else?
No response

This is not a bug, although it should be better explained in the user guide.
The $id for the callback is set via a method parameter. In this case: delete($id). If you don't use the method this way, you won't be able to use $data['id'] in the callback function.

How about this? #8324

How about this? #8324

Thank you.
It make id more clear!


Fix IPFS sync at end of run

it seems to not send the latest status updates
at end of run form is not reactivated

Fixed by changing the debounce of the file watcher. No idea why. This needs to be looked at in the future.


Added finalizer to default hash function.

See https://github.com/Tessil/robin-map/issues/73

Thanks for the contribution.
The change looks good but I'm a bit worried about the backward compatibility and the risk of changing the performance of existing projects. We're applying the finalizer by default no matter the type of T, the std lib or the GrowthPolicy.
I wonder if we should instead provide the tsl::hash as utility but keep the default class Hash = std::hash<Key> and put a note in the README.

Finalizer is not applied on MSVC, i.e. it is only applied on libstd-c++ and libc++.
It is maybe OK to ignore it with prime size policy: I can add this tweak if you want.
In my opinion, if you don't enable finalizer by default and keep default size policy as "power of two", then it is incorrect to say that tsl map is drop-in replacement for std::unordered_map (or other hash map implementations) and that no expertise is required to use it. And you should certainly static_assert against using pointers as keys then, because this is the case where this issue almost always happens.
If you have some specific benchmarks in mind, I can run them.
There should be little difference on large hash tables (since they are memory-limited).
And if the results of some benchmark changes a lot, then I would argue that the previous results are a lie in a sense. Reliably spreading elements across table to provide O(1) average time complexity is the main feature of hash table. It is not fair to compare an implementation which does not have this feature with implementations which do.


Fields: field value-function parameters are empty

json2csv (version 4.3.3)
Expected behaviour:
When using fields parameter and including a value with a callback function the parameter 'label' should receive the label of the field in the row.
Version 4.3.3:
label is undefined
Version 4.2.1 last tested here):
label has fieldname as expected

Could you add a small code snippet to replicate the issue?

I think I've understood. The problem is that the second argument of the callback function, field, should have a property called label that includes the label, right?

Fix released in v4.3.4

Sorry, was offline for a few days. Thanks, fixed my problem.


adding subset and remap functionality

Remapping and subsetting tests were also added. Files needed for both are created during the tests.

@mike-w-wilson Did you test this locally (doing a local run) and on dataproc? I believe the configs have to change, and for dataproc, we would either have to upload the additional remap and subset files to gs, or include them to the --files.


Compiling server with a webpack instead of babel-node script

Wouldn't that be more real-life like? I can submit a pull in a weekend ;)

I still keep looking very much forward to your awesome PR 😄

Thanks for reminder, already did so ;)


prepare deployment step is very slow

Symptoms
The prepare deployment step during a deployment is very slow.
Analysis
When some deployments are with cloud-config and some are without, then the time to gather and parse all the needed data (manifest, parsing it and doing some network checks) increases. This depends on the number of deployments and network configs which are managed by the BOSH director.
Mitigations
Don't mix deployments with cloud-config and without.
Identified Issues
Deployment times increase significantly.

can you provide more information about timing? which parts do you think are
taking long time? is it trying to iterate over bunch of ips in a big range
(tries to do that in this type of heterogeneous env)?
On Thu, Nov 30, 2017 at 6:26 AM, Beyhan Veli<EMAIL_ADDRESS>wrote:

Symptoms
The prepare deployment step during a deployment is very slow.
Analysis
When some deployments are with cloud-config and some are without, then the
time to gather and parse all the needed data (manifest, parsing it and
doing some network checks) increases. This depends on the number of
deployments and network configs which are managed by the BOSH director.
Mitigations
Don't mix deployments with cloud-config and without.
Identified Issues
Deployment times increase significantly.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cloudfoundry/bosh/issues/1847, or mute the thread
https://github.com/notifications/unsubscribe-auth/AALV94MobxRtJOV3Os46zw0OdJbGg5niks5s7rsTgaJpZM4QwoSC
.

yes, it is iterating over all non cloud config manifests to get the reserved ips and compute the reserved ranges. Here is an example log for how long it takes (I have removed the reserved ip ranges):
D, [2017-12-01T12:05:22 #22912] [task:1487595] DEBUG -- DirectorJobRunner: reserved ranges
D, [2017-12-01T12:05:22 #22912] [task:1487595] DEBUG -- DirectorJobRunner: (0.038069s) SELECT * FROM "deployments" WHERE ((("deployments"."id" NOT IN (SELECT "deployments_configs"."deployment_id" FROM "configs" INNER JOIN "deployments_configs" ON ("deployments_configs"."config_id" = "configs"."id") WHER
I, [2017-12-01T12:21:03 #22912] [task:1487595]  INFO -- DirectorJobRunner: Following networks and individual IPs are reserved by non-cloud-config deployments: ...
D, [2017-12-01T12:21:03 #22912] [task:1487595] DEBUG -- DirectorJobRunner: reserved ranges ...

chatted with @voelzmo today. possible slowness due to https://github.com/cloudfoundry/bosh/blob/6e743b8db05bf9656a6686eb84764da923559ad7/src/bosh-director/lib/bosh/director/deployment_plan/global_network_resolver.rb#L48. let's comment out this method (since it's purely for debugging) and see what are the times.

We saw multiple SELECT * FROM "instances" in  the task trace log during prepare deployment, which takes between 0.5 - 1 seconds. The reason for these expensive SQL queries is caused by the creation of the LocalDnsEncoder, which is described in more detail in this tracker comment.
We are thinking about reusing the LocalDnsEncoder for all instance_plans of a deployment, which would increase the performance of bosh deployment with a large number of instances (>100) by a large factor.
Any thoughts about this?

I think it would be optimal for there to be a single LocalDnsEncoder which is shared across the deploy process. It might be a little messy trying to pass it through everywhere, but from your investigations it sounds like it would be worth the performance improvements.
Are there any concerns about threading/concurrency and the singleton behaviors?

Seems related to: https://www.pivotaltracker.com/story/show/159469692


MongoDB instrumentation - Provide additional data for dbStatementSerializer function

dbStatementSerializer  allows us to override the default statement serializer. the default serializer replaces the values of the statement object with ? to prevent leakage of sensitive information. I want to change this behavior and keep the whole statement object in the span only if the operation is running on certain db collections
Describe the solution you'd like to see
Have access to dbCollection in dbStatementSerializer function

@osherv I can open a PR for it


Set up S3 configuration variables for frontend [refs #7734]

See also dpla/frontend#46

This is the referenced issue:  https://issues.dp.la/issues/7734
Per personal conversations, this is good to merge.