[HOWTO]

What are you trying to achieve?
...
Enable Scheme REPL using Guile 2.2 on Fedora 31.
What have you tried?
...
I have installed guile, guile-devel , guile22, and guile22-devel on Fedora 31. Both guile and guile22 start up the 2.0 and 2.2 REPL, respectively. The Doom Emacs config doesn't recognize the Fedora 31 guile22 package and reads guile as the 2.0.14 package rather than the required 2.2 to work correctly. It fails to open with the error
helm-M-x-execute-commands: Geiser requires guile version 2.2 but detected 2.0.14
The REPL works correctly with MIT/GNU Scheme installed on Fedora 31 through copr snits/mit-scheme-c.
Additional information

Do you have screenshots/casts of this workflow in another editor or Emacs
distro? (If possible, include names of specific commands or functions from
other editors/emacs distros)
Do you have additional material or links to resources that could help clarify
what you are trying to do?

Is there a possible workaround using Emacs Lisp to modify the guile command in the ~/.doom.d/config.el?
System information

emacs   version    26.3
        features   XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LCMS2
        build      Nov 20, 2019
        buildopts  (--build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets --with-modules build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig)
        windowsys  x
        daemonp    server-running
doom    version    2.0.9
        build      HEAD -> develop 66b005aa1 2019-12-27 14:46:10 -0500
        dir        ~/.doom.d/
system  type       gnu/linux
        config     x86_64-redhat-linux-gnu
        shell      /usr/bin/zsh
        uname      Linux 5.3.16-300.fc31.x86_64 #1 SMP Fri Dec 13 17:59:04 UTC 2019 x86_64
        path       (~/.opam/default/bin ~/.nimble/bin ~/.rbenv/bin ~/.cargo/bin /usr/local/bin ~/.config ~/.local/bin ~/.opam/default/ ~/.nvm/versions/node/v13.1.0/bin ~/.rbenv/shims ~/opt/idea/bin ~/bin ~/.nimble/bin ~/anaconda3/bin ~/.rbenv/bin ~/.emacs.d/bin ~/.cargo/bin /usr/local/bin ~/.config ~/.local/bin ~/.nimble/bin ~/.rbenv/bin ~/.cargo/bin /usr/local/bin ~/.config ~/.local/bin ~/.nimble/bin ~/.rbenv/bin ~/.cargo/bin /usr/local/bin ~/.config ~/.local/bin ~/.cargo/bin /usr/local/bin /usr/bin /bin ~/bin /usr/local/sbin /usr/sbin ~/bin /usr/lib/jvm/java-11-openjdk-<IP_ADDRESS>-0.fc31.x86_64/bin ~/Documents/Projects/go/bin ~/.fzf/bin)
config  envfile    envvar-file
        elc-files  0
        modules    (:completion (company +childframe) (helm +fuzzy +childframe) :ui doom doom-dashboard doom-quit fill-column hl-todo modeline nav-flash ophints (popup +all +defaults) pretty-code treemacs vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold multiple-cursors rotate-text snippets :emacs (dired +icons) electric (ibuffer +icons) vc :tools (eval +overlay) flycheck (lookup +docsets) lsp magit :lang assembly (cc +lsp) crystal data emacs-lisp (go +lsp) (javascript +lsp) markdown nim ocaml (org +dragndrop +ipython +pandoc +present) php purescript (python +lsp) (ruby +lsp) (rust +lsp) scheme (sh +lsp) :config (default +bindings +smartparens))
        packages   (n/a)
        elpa       (n/a)

Hey @atmichalak, geiser exposes geiser-guile-binary that you can customize. It's just "guile" by default, but you can set it to "guile22" or whatever an executable is called, in your config.el:
(setq geiser-guile-binary "guile22")

The geiser package exposes the  geiser-guile-binary variable for choosing which guile binary you use. In order to use the guile22 binary, assuming its an executable in your path, you should be able to do the following.
(after! geiser
  (setq geiser-guile-binary (executable-find "guile22")))

I will consider this resolved. Let me know if that isn't the case and I'll reopen the issue.


modify switchboard dataloader and add more tests

Description:
use multi_ref
add tests for get_batch and get_precision_recall_metric
Reference Issues: #99

evluate & store_checkpoints should be tested


Getting the client_email missing error

When I try to upload my app using the cli using following command
playup --auth /client_secret.json /app-release.apk
I get error like below:
assert.js:41
  throw new errors.AssertionError({
  ^

AssertionError [ERR_ASSERTION]: Missing required parameter client_email
    at new Publisher (/usr/local/lib/node_modules/playup/lib/index.js:27:27)
    at Publisher (/usr/local/lib/node_modules/playup/lib/index.js:25:12)
    at Object.<anonymous> (/usr/local/lib/node_modules/playup/cli.js:44:33)
    at Module._compile (module.js:624:30)
    at Object.Module._extensions..js (module.js:635:10)
    at Module.load (module.js:545:32)
    at tryModuleLoad (module.js:508:12)
    at Function.Module._load (module.js:500:3)
    at Function.Module.runMain (module.js:665:10)
    at startup (bootstrap_node.js:187:16)

As I provided the auth.json file generated from the console, I think client_email is not required. Please correct me if I am wrong.

@kevalpatel2106 client_email should be in your client_secret.json file.


migrate fun.js, dice.js, and buttermelon.js

added commands for /fun roll, rollf, rollold, 8ball, repost, mines, acronym, allthe, hbs, color, and hug, it is all javadoc'd unless I missed something, same with typescript and eslint. I've tested it on my bot, awaiting another to test on theirs.
questions:
should rollf and rollold stay?
is hug good? if not can it be changed or must it be disabled?
is repost good? having been there when it was disabled this should be a good fix now that it says it was from a command.

added buttermelon stuff

and I did /quote, so that should be all of the /fun subcommand made (and tested with medium rigor on my instance of icarus)

Hey sorry there hasn't bee much movement lately. I'll make an effort to test stuff this tuesday.

what should I do for the mines in the meantime? I'm thinking have the reply be the header and then split the rest based on calculated spots in the board * 2. also, the followup won't work because it has a header that makes the board non-continuous, as opposed to the nigh-continuousness of 2 consecutive messages.

I implemented such. I don't know on what timescale if ever they will fix it. it will cut off the ends if edgesize is greater than 99, but none of the current modes do that, and that would cause problems for mobile discord anyway.

...bobby?

oops...


Texture interpolation modes for transfer function

Adds a parameter to the OpenGL version of the transfer function that allows to choose between linear and nearest neighbor interpolation as texture parameters. That way, a transfer function can be easily used for category mapping.
Example: Grayscale texture, consisting of two control points, can be turned from linear to nearest neighbor, where texture size will set the number of categories.

/format


2552: display allocation and devices ordered for non vcap rbs

Context
Correct allocation not showing on "Your schools and colleges page"
Changes proposed in this pull request
Guidance to review

 LA users able to see allocations of all schools.

 Correct allocation not showing on "Your schools and colleges page"


Ability to write to file after server edit

Wondering if it's possible to write to a file when editing a server.
For example:

Stop a running server that uses a config file when starting.
Edit the server and once saving to write / update the server file.
Start the server again with an updated config

If it is currently supported can we have docs on it? If not can we see it implemented in future releases?

An endpoint exists for this already: https://speca.io/PufferPanel/pufferd/2.0#POST-server-id-reload
You can use the "Reload" button in the admin side of the server to trigger this call.

Do you mean this? If so that doesn't write to file. Accessed file from terminal and it hasn't been updated...

What kind of file do you refer to, a file within the server itself?

Yep so during install template I have something like this for example
          "type": "writefile",
          "text": "# License key for your server (https://keymaster.fivem.net)\nsv_licenseKey ${licensekey}\n",
          "target": "resources/server.cfg"
        }```

Then when you edit the server and save, I would like to update server.cfg with updated `licensekey` thats located in resources/server.cfg

That makes more sense now.

This handled now using a "pre" task. As part of run, you can configure it to run any command or operation that you want.


How make telepot faster in python 2

I have application with python 2 over 100 req per sec. every hour my app freeze a and need restart supervisor to work faster
I have about 4 sec  to 25 sec delay for every msg
how can make it faster?
I change sleep but nothing good happen!
# Keep the program running.
while 1:
    time.sleep(0.1)

Honestly, not being able to test telepot in such a heavy load, I cannot offer any useful suggestions.
Are you using a single handle() function to handle messages? If so, you are processing messages sequentially. Any blocking in the handle() function would delay handling of the next message. The delay will get longer and longer as messages accumulate.
If you are using the delegation mechanism, that means 100 threads may get spawned in a second. Is your machine powerful enough for that?

I use single handle
bot.message_loop({'chat': on_chat_message,
                  'callback_query': on_callback_query}, 0.05)
print 'Listening ...'

# Keep the program running.
while 1:
    time.sleep(0.1)

how can have delegation mechanism?

I used this and everythings goes perfect
http://telepot.readthedocs.io/en/latest/#maintain-threads-of-conversation

Cool. That's easy to fix.

I have problem again :(
after timeout, InlineKeyboardMarkup expired. how this happend?
after click, nothing comes to server

Hi could explain what you should do

my code:
bot = telepot.DelegatorBot(TOKEN, [
    (per_chat_id(), create_open(MessageCounter, timeout=10)),
])

bot.message_loop(run_forever='Listening ...')

I was create link like this
message_with_inline_keyboard = self.sender.sendMessage(InlineKeyboardMarkup(inline_keyboard=[[dict(text='profile', callback_data='/profile_%s' % user['_id'])]]))

everything works fine till this printed in my terminal

ERROR:root:on_close() called due to WaitTooLong:

seems link expired. on_callback_query receive nothing

I did not catch

after timeout, profile link not worked
I was created with InlineKeyboardMarkup

this happend and nothing sended to my server

I think per_chat_id() not return on_callback_query.

with this status everythings worked
but i think thats weird
bot = telepot.DelegatorBot(TOKEN, [
    (per_message(), create_open(MessageCounter, timeout=0.1)),
])

after update crashed after 3 hours :/
@nickoala what you think about this?

Well, just telling me "Crashed" does not really help me solve your problem.
The thing you said about inline keyboard not responding after timeout, it's a known problem in 8.3. I have fixed it in today's newest release, 9.0. But I have not time to update the docs. The only place you can see how it works is in the examples.
You also mentioned that timeout=0.1 seemed to fix the problem. That is extremely improbable. timeout is not meant to be used that way.
I suggest you try the following after updating to 9.0. Note that I changed MessageCounter to extend from ChatHandler (instead of UserHandler in your code):
from telepot.delegate import (
    pave_event_space, per_chat_id, per_callback_query_chat_id, create_open)

class MessageCounter(telepot.helper.ChatHandler):
   ......

bot = telepot.DelegatorBot(TOKEN, [
    pave_event_space()(
        [per_chat_id(), per_callback_query_chat_id()],
        create_open, MessageCounter, timeout=10, include_callback_query=True),
])

per_callback_query_chat_id() allows the inline keyboard's callback query to resurrect the same delegate, even after it times out.

include_callback_query=True tells MessageCounter to capture inline query belonging to the same chat, during its lifetime.

Good luck.

Thanks, everything work fine

I have made it even more convenient today (with version 9.1). Just do this:
from telepot.delegate import (
    per_chat_id, create_open, pave_event_space, include_callback_query_chat_id)

bot = telepot.DelegatorBot(TOKEN, [
    include_callback_query_chat_id(
        pave_event_space())(
            per_chat_id(), create_open, MessageCounter, timeout=10),
])

It's equivalent to what I suggested before, but the extra mundane stuff is encapsulated by include_callback_query_chat_id, so you don't have to worry about them.


Add: Movie Bangla [BD]

Channel Name
Movie Bangla
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
BD
Subdivision (optional)
No response
City (optional)
No response
Broadcast Area
c/BD
Languages
Bdn
Categories (optional)
Movies
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
No response
Logo
https://www.jagobd.com/wp-content/uploads/2016/02/moviebangla.jpg?x50681
Notes
No response

Please update your request:

category name should be in lowercase
language code must be in lowercase

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels


path_provider getLibraryDirectory() should be supported on Android

Maybe update the API reference to be explicit about not supporting this method on Android?
Could have saved me many hours debugging working code.

will just reference it here #41683 to keep the context

Well the problem isn't that the returned path changed, but that this method is not implemented for Android, while the documentation does not warn you.
From the pub changelog-tab:

1.3.0
Added iOS-only support for getLibraryDirectory.

While the API reference description says:

Path to the directory where application can store files that are persistent, backed up, and not visible to the user, such as sqlite.db.

For example the API reference for getExternalStorageDirectory acknowledges:

... this functionality is only available on Android.

This issue can be closed, since this method can't be supported on Android, and the API reference description already mentions this:

On Android, this function throws an UnsupportedError as no equivalent path exists.

Closing per @valconetti comment above


Camel Case is not reflected in repo filenames causing external ssh to fail

this is a follow up and bug report:
If I just create a new repo with camel case like RepoName the subsequent directory in the repo subdir is in lowercase. The UX passes Camel Case to the ssh string, when it should either lower case them, or simply perform a lower case in the desciption. If I use the external ssh server is looks for CamelCase when it should be looking for camelcase, causing I can't find repo error error".

Figured it out. Its really you can't have /bin/false as git's shell.


[RELEASE] v5.2

Final release in the 5.x line.
This release should be stable and support most things, but it cannot be guaranteed. Most effort to get the Colore project to an acceptable standard again will be put into the 6.0 release.
@njbmartin It is important you review this ASAP.
@WolfspiritM @roxaskeyheart If you guys are still active and interested in the Colore project I would be very interested in hearing your thoughts on the release and the future of the project.

@Sharparam Thanks for getting this ready! 👍
I'm still active and using Colore. I moved GameDog to the REST API but moved back to Colore as I don't trust that one for now (especially when it comes to speed I need to test more intense how capable the REST API is before completly moving over) and was hoping for a release soon to use it for GameDog (currently I've build the dev branch for test and preview builds to get ChromaLink working). Sooner or later I will move over to the REST API for at least most of my apps but I think it completely depends on the usecase. I think when it comes to speed, which is essential for Gameintegrations, Colore and C++ is still much faster then the REST API as it avoids all the HTTP and TCP overhead. While for tools and small apps the REST API might be better. So I think Colore is still very usefully as long as the C++ API is around (so probably forever) and when I get the time I will also help to keep Colore up to date for any upcoming changes.

The move to .NET Standard and release 6.0 should hopefully make it easier to contribute to Colore, as I will cut a lot of cruft out like the many conditionals for platform builds.
I would also like to abstract away the SDK implementation to make it possible to plug in different "backends" for Colore (Native SDK and REST API being supplied as NuGet packages).
I haven't decided how exactly those should be implemented. I'm leaning towards a DI/IoC solution with some factories provided for users that are not using IoC in their project.
var chroma = SdkFactory.Create();
chroma.Keyboard.SetAll(Color.Red);

// or
var chroma = RestFactory.Create();
chroma.Keyboard.SetAll(Color.Red);

// or with some kind of DI support
services.AddColore(ioc => ioc.AddSingleton<IApiImplementation, SdkApiImplementation>());
var chroma = services.GetService<IChroma>();
chroma.Keyboard.SetAll(Color.Red);

@WolfspiritM I'm playing around with .NET Standard support now, and some multi-targeting.
It's currently building for .NET Standard 1.3 and .NET Framework 4.5.1. This is quite a bump compared to our previously lowest supported framework 3.5. You can see the artifacts here: https://ci.appveyor.com/project/Corale/colore/build/artifacts
.NET Framework 3.5 is growing quite old so it would be nice to drop support for it, but I'm unsure if there are a lot of people using it and so would be depending on Colore supporting that version. What is the status in your case?

@Sharparam .NET Standard 1.3 sounds great.
I even moved to .NET 4.7 for GameDog and all my tools are 4.5.1 minimum.
I also think 3.5 is outdated and shouldn't be used anymore.
Even Windows 10 includes 4.6 by default.
Only thing I can think of that could cause trouble if 3.5 is not supported anymore is Unity but there is a REST API alternative for that.
I'm not sure if the "pluggable" backend is really needed. I think Colore should focus on the C++ side. I've already built a wrapper around the .NET Core/Standard REST API implementation which allows me to easily switch between that and Colore depending on what DLLs are loaded. I can make that public if you like.

@WolfspiritM Your DLL switching logic would be interesting to see!
The pluggable backend comes sortof as a bonus to something I've been wanting to do for a while: Decouple the Colore part from the SDK implementation. We've been unable to write a lot of unit tests because of this strong coupling with a bunch of static classes that call directly to the C++ SDK.

There was a lot to go through, so I took a look at each commit individually. Everything looks solid, with the only concern being CI reporting.

Thank you for the review @njbmartin! CI reporting will be running on all future stuff made after this release (it's currently active on the develop branch and any other branch from there).


fix: cl param name

Closes: #XXX
What is the purpose of the change
The param name for permissionless pool creation is wrong, which caused param change proposal confusion

On call, decided to deal with the incorrect name


Add experimental docker image

The main branch could act as an experimental branch for the latest development. It can be used on a test deployment.

We are doing this already, right @iTitus ?


Made featured studio more clear

Wrote "most recently" as it displays the most recently featured project.

Isn't current the same as most recent? If anything, current is less ambiguous because most recent could be interpreted as the most recent one before the one that is currently featured.

I just made this since all 5 of the featured studios are considered featured, while this one displays the first one on the list.


Hyperlink is not taking to correct Code Sample Microsoft CRM Web API Functions and Actions Sample (Client-side JavaScript)

[Enter feedback here]
In below Document the hyperlink for the Managed Solution Microsoft CRM Web API Functions and Actions Sample (Client-side JavaScript)
is not having the sample code file named Microsoft CRM Web API Functions and Actions Sample (Client-side JavaScript).zip in the routed page.

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

ID: 32c78d0d-5f67-3e73-4e13-a513d8a640c9
Version Independent ID: f5861189-cd3d-d9a2-5266-a526a2cd2109
Content: Web API Functions and Actions Sample (Client-side JavaScript) (Developer Guide for Dynamics 365 Customer Engagement)
Content Source: ce/customerengagement/on-premises/developer/webapi/web-api-functions-actions-sample-client-side-javascript.md
Product: d365ce-op
GitHub Login: @JimDaly
Microsoft Alias: jdaly

Thanks for your comment, @dynamixacademy. This issue has been assigned to the doc author for review.

@dynamixacademy
Thanks for reporting this.
The page located at /dynamics365/customerengagement/on-premises/developer/webapi/web-api-functions-actions-sample-client-side-javascript needs to be deleted and re-directed to the page here: https://docs.microsoft.com/power-apps/developer/data-platform/webapi/samples/functions-actions-client-side-javascript
The second page has been updated to the fact that our samples are now on Github, and the managed solution is now available here: https://github.com/microsoft/PowerApps-Samples/blob/master/dataverse/webapi/JS/WebAPIFunctionsAndActions/WebAPIFunctionsandActions_1_0_0_0_managed.zip
I will create a workitem to do this.


Add support for VRExperienceHelper to Sponza scene and add it to main babylonjs.com website

https://david.blob.core.windows.net/babylonjs/SponzaVR/index.html

Also add mansion VR demo

Mansion VR is now completed thanks to the last version of the VRHelper: http://playground.babylonjs.com/#JA1ND3#15


Add hosted by archive addon module

Includes:

REST endpoint:
admin/stores/maven/hosted/{repo}/compressed-content?ignoreBeforeRoot=xxx
java client module
Config to disable/enable
Some ftests

@jdcasey In new commits, I've changed to use stream in REST endpoint, and I removed the usage of temp zip file and temp files for all zip entries, and directly store all zip entry in to created hosted repo.
But there is one potential issue for performance. With new way, we can not use multi-thread for storing the content because of the ZipInputStream(zis) non-sharing. All zip entries are wrapped in one single zis, and I don't find a good way to share this zis in multiple thread. So maybe this will bring some performance problem when storing huge zip files.

retest this please


Fixed typo in image.md

You actually have to update it here: https://github.com/tensorflow/tensorflow/blob/8b5d9ed13f188662dde7cce75362cd2394bde40c/tensorflow/python/ops/image_ops.py#L115
then when we re-run our doc generation script, it will be fixed.

Oops, I've fixed and pushed it now.


Compatibility of cuda

Hi, I have a cuda version of 12.0. Can pull the image with me having such cuda version?

Hi, sorry for the late reply!
If you nvidia-smi output allows for a max version of at least CUDA 12.1, it should work, since it is CUDA in Docker.
Example:

If that is not the case, let me know, and I can create a Docker image with CUDA 12.0 that should work with SAM2.


Add another good example for RelativeDateConstant

The current good example seems to discourage the usage of a constant
completely. Add another good example to showcase how to continue using a
constant and have things working dynamically.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

@koic any reason this can't be merged?


Missing the css serving one component

Version
3.0.0-rc.3
Reproduction link
https://github.com/mailok/wired
Steps to reproduce

Create a project with @ vue/cli
Add Vuetify plugin
Create new component called Buttons.vue
Add 4 vuetify buttons to my component
I navigate to the component folder
I execute the command: vue serve Buttons.vue

What is expected?
I expected to see my component with its css.
What is actually happening?
My component is shown without css. My component consists of several buttons, something as simple as this:
<template>
  <div>
    <v-btn color="success">Success</v-btn>
    <v-btn color="error">Error</v-btn>
    <v-btn color="warning">Warning</v-btn>
    <v-btn color="info">Info</v-btn>
  </div>
</template>

but this component "v-btn" belongs to vuetify, and it is not showing as it should be. This same thing happens if I want to convert my component into a WebComponent, loses all the styles that come from vuetify

In the first image the component is shown when I run the full application:

This image shows how the component looks when it is served to him alone:

Vuetify does not include css in its components, they are all extracted in one separate css file. You will find that its imported in your main.js file (or in /plugins/vuetify.js ?)
When you run vue serve on your component directly, this css is not included. Because vue-cli can't know that you want it to be included.

@LinusBorg So this only works for isolated components with its own css?, It's a shame, thanks anyway.

vue-cli can't guess all the external CSS file you want it to include. It's not magical. 😸


Can't enroll in paid only courses

Mobile app defaults to audit mode. Need to redirect to web version if audit mode does not exist.


Minor composability etc docs changes

There's still stuff to do. This is just a semi-systematic replacement of some things that a find-in-files can find; still need to walk through the readmes and some of the docs more deliberately.

Tugboat has finished building the preview for this pull request!
Link:

https://pr5553-wiklqenwqqyystj1shvha50ueb4ddq67.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/608f082c61b6f8f44074fce8


Added benchmark for ChoEtl

Looks like this one is reading data differently than the others. From the GitHub Actions build:
 Group #1 (result JSON length = 946233):
   - Csv
   - CsvHelper
   - CsvTextFieldParser
   - Ctl_Data
   - Cursively
   - FastCsvParser
   - FluentCsv
   - HomeGrown
   - LumenWorksCsvReader
   - mgholam_fastCSV
   - Microsoft_VisualBasic_FileIO_TextFieldParser
   - NReco_Csv
   - ServiceStack_Text
   - string_Split
   - SoftCircuits_CsvParser
   - Sylvan_Data_Csv
   - TinyCsvReader

 Group #2 (result JSON length = 963835):
   - ChoEtl

Looks like this one is reading data differently than the others. From the GitHub Actions build:
 Group #1 (result JSON length = 946233):
   - Csv
   - CsvHelper
   - CsvTextFieldParser
   - Ctl_Data
   - Cursively
   - FastCsvParser
   - FluentCsv
   - HomeGrown
   - LumenWorksCsvReader
   - mgholam_fastCSV
   - Microsoft_VisualBasic_FileIO_TextFieldParser
   - NReco_Csv
   - ServiceStack_Text
   - string_Split
   - SoftCircuits_CsvParser
   - Sylvan_Data_Csv
   - TinyCsvReader

 Group #2 (result JSON length = 963835):
   - ChoEtl

Hmm... Not sure what to do then. Do you want to include it and say it doesn't parse files correctly? I could have done something wrong in setting it up I guess, but it did make it through a benchmark run.

Hmm... Not sure what to do then. Do you want to include it and say it doesn't parse files correctly? I could have done something wrong in setting it up I guess, but it did make it through a benchmark run.

Could it be an encoding issue.

Could it be an encoding issue.

Fixed this one.

Fixed this one.

Looks great, thanks!

Looks great, thanks!


Named export 'w3cwebsocket' not found. The requested module 'websocket' is a CommonJS module

(Issue reported by @jonnyparris and others in https://github.com/nuxt/nuxt.js/issues/14532)
Version
@nuxtjs/supabase: 0.1.19
nuxt: 3.0.0-rc.8
Reproduction Link
https://github.com/jonnyparris/bug-repro-nuxt3
Steps to reproduce

yarn generate (or yarn build and start server)

What is Expected?
What is actually happening?
Runtime fails with importing websocket which is an incompatible CommonJS package used by @supabase/supabase-js > @supabase/realtime-js
Solution
Quick workaround: (updated with solution of @matthewmaribojoc in https://github.com/nuxt/nuxt.js/issues/14532)
import { defineNuxtConfig } from 'nuxt'

// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
  build: {
    transpile: [process.env.NODE_ENV === 'production' ? 'websocket' : ''],
  }
})

There are several other solutions we can consider and I probably add a CJS fix to unenv that fixes this magically but I spotted we are using a library that is probably never used in server (SSR and Nitro) @supabase/realtime-js. We could avoid using supabase client in server by direct API or mock this specific module only for server.

Should be fixed in v0.1.22

Does this error occurs only on dev mode ? If yes, I think you are still adding the build: { transpile: ['websocket'] } in your nuxt.config.ts. You do not need it no more if you're using the last version of the module.

@larbish
This also happens with a minimal reproduction (needs your supabase url and key inside the .env file): https://stackblitz.com/edit/github-xlcv1j?file=app.vue

Thanks for the reproduction @mwohlan, indeed there was still an error on dev mode, it should be fixed in 0.1.23 ! Hope you confirm it's good for you 👍

I still get this error.
{
  "private": true,
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare",
    "lint": "eslint --max-warnings 0 .",
    "typecheck": "nuxt typecheck",
    "start": "NODE_ENV=production node .output/server/index.mjs"
  },
  "devDependencies": {
    "@nuxtjs/eslint-config-typescript": "^12.0.0",
    "@nuxtjs/supabase": "^0.3.4-beta.0",
    "@nuxtjs/tailwindcss": "^6.4.0",
    "@types/node": "^18.11.18",
    "eslint": "^8.33.0",
    "nuxt": "^3.2.3",
    "typescript": "^4.9.5",
    "vue-tsc": "^1.0.24"
  },
  "dependencies": {}
}

same here


HDFS-15922. Use memcpy for copying non-null terminated string.

strncpy reports a warning if the
destination string isn't null
terminated. Since we append a
custom character at the end ourselves,
the warning reported by stnrcpy is
valid, but not relevant.
Thus, we use memcpy to avoid this
warning.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 32s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 25s

trunk passed

+1 :green_heart:
compile
2m 47s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
2m 47s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
mvnsite
0m 29s

trunk passed

+1 :green_heart:
shadedclient
53m 29s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 16s

the patch passed

+1 :green_heart:
compile
2m 34s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
cc
2m 34s

hadoop-hdfs-project_hadoop-hdfs-native-client-jdkUbuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 generated 0 new + 52 unchanged - 8 fixed = 52 total (was 60)

+1 :green_heart:
golang
2m 34s

the patch passed

+1 :green_heart:
javac
2m 34s

the patch passed

+1 :green_heart:
compile
2m 35s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
cc
2m 35s

hadoop-hdfs-project_hadoop-hdfs-native-client-jdkPrivateBuild-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08 with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08 generated 0 new + 52 unchanged - 8 fixed = 52 total (was 60)

+1 :green_heart:
golang
2m 35s

the patch passed

+1 :green_heart:
javac
2m 35s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
0m 17s

the patch passed

+1 :green_heart:
shadedclient
13m 37s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
41m 44s

hadoop-hdfs-native-client in the patch passed.

+1 :green_heart:
asflicense
0m 34s

The patch does not generate ASF License warnings.

117m 53s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2827/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2827

Optional Tests
dupname asflicense compile cc mvnsite javac unit codespell golang

uname
Linux f525e1fcc389 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 350ea2f620f47e2652d52e1a72f9b477fb358e4c

Default Java
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2827/1/testReport/

Max. process+thread count
717 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-native-client U: hadoop-hdfs-project/hadoop-hdfs-native-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2827/1/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

This PR fixes some warnings reported as part of https://github.com/apache/hadoop/pull/2792 in CI run https://github.com/apache/hadoop/pull/2792#issuecomment-803448506


Opensubtitles.com : cannot find subtitles for movie show. Always have to type manually the name of the show

Hello,
Since OpenSubtitles.org has shut down its access, I switched to OpenSubtitles.com official add-on.
Only issue is that I have to always type via the manual search the name of the movie show, season and episode.
This does not happen with the other sources (integrated Elementum, or the old OpenSubtitles.org).
Is there some kind of integration that has to be adapted for Elementum to do it transparently ?
Thanks in advance for your help.
Running Elementum latest version 1.99

@jfhautenauven There is already an issue #952 that tracks OpenSubtitles migration.
Currently opensubtitles**.org** is in use.

@jfhautenauven

Is there some kind of integration that has to be adapted for Elementum to do it transparently ?

as far as i remember - no, there is no some specific "integration" for "external" OpenSubtitles.org addon.
so i guess in OpenSubtitles.com addon they do search somehow different from old ORG addon.


issue in advanced search under accountant module

[ ] recurring journal- remove search option from recurring journal

issue fixed !


[#3205] improve to read batch configuration

Codecov Report

Merging #3206 into master will increase coverage by 0.04%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #3206      +/-   ##
==========================================
+ Coverage   39.23%   39.28%   +0.04%
==========================================
  Files        2041     2041
  Lines       67166    67167       +1
  Branches     9330     9330
==========================================
+ Hits        26354    26384      +30
+ Misses      38212    38188      -24
+ Partials     2600     2595       -5

Impacted Files
Coverage Δ

...navercorp/pinpoint/web/batch/BatchJobLauncher.java
0% <ø> (ø)
:arrow_up:

...navercorp/pinpoint/web/batch/JobLaunchSupport.java
0% <0%> (ø)
:arrow_up:

...vercorp/pinpoint/web/batch/BatchConfiguration.java
0% <0%> (ø)
:arrow_up:

.../com/navercorp/pinpoint/profiler/context/Span.java
48.14% <0%> (-1.86%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
74.62% <0%> (-1.52%)
:arrow_down:

...m/navercorp/pinpoint/test/OrderedSpanRecorder.java
72.11% <0%> (ø)
:arrow_up:

...point/rpc/client/DefaultPinpointClientHandler.java
72.22% <0%> (+0.61%)
:arrow_up:

...corp/pinpoint/rpc/stream/StreamChannelManager.java
72.41% <0%> (+1.72%)
:arrow_up:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
85.36% <0%> (+2.43%)
:arrow_up:

.../profiler/sender/StandbySpanStreamDataStorage.java
76.27% <0%> (+3.38%)
:arrow_up:

... and 7 more

Continue to review full report at Codecov.

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


Multiple small test optimizations based on lib/bats/helper-function

Part of #156. At this point, the timing for ./go test under Bash 3.2.57(1)-release on my MacBook Pro with a 2.9GHz Intel Core i5 CPU and 8GB 1867MHz DDR3 RAM went from the following for the merge commit for #161:
  784 tests, 0 failures, 2 skipped

  real    4m16.466s
  user    2m1.907s
  sys     2m2.015s

to:
  real    3m2.408s
  user    1m31.395s
  sys     1m21.114s

Coverage increased (+0.06%) to 95.374% when pulling 65484ad1ba8cbe9bdda5f8fb9d93959f6aca73a9 on bats-function into 17ff46d4ff51e778f71c28985594be8565d5afa7 on master.


Q: rasch model implementation equation

logit of rasch model represented as $ability - difficulty$,
but src/torch_core/models.py/irt_model_1pl is implemented as + not minus

김대한 rasch에서는 - 로 제대로 주고 있음


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 1.13.97 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Disable http response egress - testing

Added in two test cases to ensure the proper error ensues when using the --no-http-egress flag for dumps and logs.

@kkeirstead, I think you included your commits from the prior change. I would recommend rebasing from main and skipping those commits so that only the test additions are in the PR. You can then force push the change to the remote branch.

@jander-msft Yep, I noticed that and was able to merge to avoid all the files from appearing as changed but it kept that commit history. I'll see if I can make it look like less of a mess.

I had some difficulty with figuring out how to do the rebase, so I ended up taking a more manual approach to addressing the out-of-place commits. This should have the same intended effect of cleaning things up - just a different way of getting there.

Looks like the old commits came back with the way I made my changes; will push again shortly to resolve this.


create/update all sql file

Like in 2.5.0 tar packages I've created a single sql schema file

Closed as out of date. Please reopen if you think that this PR is still relevant.


compatibility with this Custom Advancements

Is your feature request related to a problem? Please describe.
ability to hook stats such as str/dex/int/player level/class/skill maybe if possible to custom advancement plugin
Describe the solution you'd like
example scenario. a player allocated 100 str a custom advancement will be triggered and player will be given a reward based on custom advancement rewards for example a command to add in perms to a player to attain a secret class? maybe ? a secret skill ? add stat points to a player anything is possible if ever.
Describe alternatives you've considered
nothing really tried to find any active advancement plugins that are modular and active but there is non atm
link for their git
https://github.com/rowan-vr/CustomAdvancements
link for my request on their git
https://github.com/rowan-vr/CustomAdvancements/issues/69

Is your feature request related to a problem? Please describe. ability to hook stats such as str/dex/int/player level/class/skill maybe if possible to custom advancement plugin
Describe the solution you'd like example scenario. a player allocated 100 str a custom advancement will be triggered and player will be given a reward based on custom advancement rewards for example a command to add in perms to a player to attain a secret class? maybe ? a secret skill ? add stat points to a player anything is possible if ever.
Describe alternatives you've considered nothing really tried to find any active advancement plugins that are modular and active but there is non atm
link for their git https://github.com/rowan-vr/CustomAdvancements link for my request on their git rowan-vr/CustomAdvancements#69

have you asked them if they would implement this? It would have to be something they need to add to their code.


Automatically add Related ListViews to Detail View

Prioritize _detail.lists in #5 but we should be able to auto-detect if there is a relationships
This is specific to reverse lookups of 1-to-Many relationships

figured out sublists within a detail view... slight but in Customer detail _lists... currently pointing to Orders rather than I believe Sales Order

Fixed Customer sublist. Changed graphdl.yaml Customer._detail._lists - [SalesOrder]

Category & Customer are the only ones with Sublists explicitly defined, but if you look at the Schema you should be able to see all of the relationships ... and we want to detect sublists for all of those ... so all of these should have sublists:
Categories -> Product
Customer -> Sales Order
Employee -> Employee Territory -> Territory
Employee -> Sales Order
(Employee Territory and Order Detail are both sub-categories, so they should be hidden - I'll figure out the syntax for that)
Product -> Order Details -> Order
Region -> Territories
Shipper -> Sales Order
Supplier -> Products -> Order Details -> Sales Orders


[BUG] - Typescript error on extendVariants of Tabs component

NextUI Version
2.4.2
Describe the bug
import { extendVariants, Tabs } from '@nextui-org/react';

const CustomTabs = extendVariants(Tabs, {
  slots: {
    tabList: 'bg-white p-0',
    base: 'w-full bg-white rounded-lg overflow-hidden',
    tab: 'py-6',
    tabContent: 'font-medium text-gray-800',
  },
  defaultVariants: {
    variant: 'underlined',
    color: 'primary',
    classNames: {
      tabList: 'bg-white p-0',
      base: 'w-full bg-white rounded-lg overflow-hidden',
      tab: 'py-6',
      tabContent: 'font-medium text-gray-800',
    },
  },
});

export default CustomTabs;

Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
In slot part i don't have typescript issue but nothing change on UI
When i put classNames on defaultVariants the UI is changes but in code i have Typescript issue
Expected behavior

Screenshots or Videos
No response
Operating System Version
Windows
Browser
Chrome

@Aryan-mor  can you confirm which components you had this issue?

@Aryan-mor  can you confirm which components you had this issue?

All components that use classNames

I had the same problems with compoundVariants. Almost always, this method gives an error of non-existent keys. In other cases there is no error, but it just does not work. And only in Button I managed to get the result only if I pass the colors template. Looks like a global problem in the extendVariants method.
const Button = extendVariants(NextUiButton, {
  variants: {
    color: {
      default: '',
      primary: '',
      secondary: '',
      success: '',
      warning: '',
      danger: '',
    },
  },
  defaultVariants: {
    size: 'md',
    color: 'default',
  },
  compoundVariants: [
    // bordered / color
    {
      variant: 'bordered',
      color: 'default',
      class: 'bg-transparent border-default text-foreground', // Works only if color passed
    },
...

And also this
...
{
    isIconOnly: true, // Error: Type 'true' is not assignable to type '"true" | "false"'
    size: 'sm',
    class: 'min-w-6 h-6 w-6',
}
...


Database disk image is malformed from SQLite when using --num-processes > 0

Sorry to report this here, but maybe the source of the error is important.
I was using tilelite happily with --num-processes=4 rendering a map with .shp files. I switched to SQLite/Spatialite instead, and I am now getting this kind of errors:
<IP_ADDRESS> - - [17/Jul/2016 18:30:48] "GET /14/8351/5840.png HTTP/1.1" 500 -
Error on request:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
execute(self.server.app)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 167, in execute
for data in application_iter:
File "/usr/share/pyshared/tilelite.py", line 364, in call
mapnik.render(self._mapnik_map,im)
RuntimeError: SQLite Plugin: retrieving next row failed: database disk image is malformed
The sqlite files are read-only... Moreover, if i relaunch tilelite without --num-processes, I get all my rendered images without problems (albeit using only one core).
OS: Debian 8 with mapnik 2.2 on raspberry pi.

Mapnik builds a spatial index on first load, if it does not exist. It is likely this spatial index that is not getting written correctly. To workaround the problem I recommend:

Running first with --num-processes=1 to ensure that only one process tries to create a spatial index.
Running with Mapnik >= 2.3.x to ensure https://github.com/mapnik/mapnik/issues/2483 is not causing problems.
Or, pass auto_index=false to disable spatial indexing on first load.


codegen: Do the same workaround we do for template parameters with typename on aliases for decltypes we can't resolve.

r? @fitzgen

Actually, fitzgen was on vacation IIRC, want to review this @nox?

:umbrella: The latest upstream changes (presumably #414) made this pull request unmergeable. Please resolve the merge conflicts.

@emilio were you going to circle back to this?

Whoops, forgot about this, there you go :)

@bors-servo r=fitzgen
Will open an E-easy :)

:pushpin: Commit f4d4994 has been approved by fitzgen

:zap: Test exempted - status


Allow system user creation to be disabled

Fixes https://github.com/openmicroscopy/management_tools/issues/623#issuecomment-365995388
Tag: 2.0.4 or 2.1.0 depending on whether you see this as a feature or a bug-fix.

Seems low-enough impact. Happy to go for 2.0.4 if there are no objections.
A test for the False case would need to manually create a user? Do we want to consider prod-playbooks as valid tests for this repo?
cc: @sbesson @kennethgillen

Happy to see this as a 2.0.4. Is there some reference we can mention in the public role about the conditions where omero_server_system_user_manage should be set to False?

The only report I'm aware of is https://github.com/openmicroscopy/management_tools/issues/623#issuecomment-365995388 so I'd consider it a corner case for now, since the README is already quite dense.

I was tempted to put it under # Expert users only! until we had evidence of a wider issue but decided against.

Ok. Releasing as 2.0.4 then. I'm unsure what review process etc. is going to pick up the fact that this variable is not exactly what we want it to be. Issue or card seems like too much noise.

I would say prod-playbook passing run to be a valid test, yes @joshmoore.


fix: missing client capabilities and markdown descriptions

It seems monaco-yaml does not set clientCapabilities while calling getLanguageService, which is exported by yaml-language-server. This causes the doesSupportMarkdown in yaml-language-server always return undefined and makes the markdownDescription not being correctly rendered in the completion item.
However, I can see clientCapabilities is being set by the test helper in yaml-language-server with a constant imported from vscode-json-languageservice.
Similiar usage in jsonWorker in monaco-editor can be found here: https://github.com/microsoft/monaco-editor/blob/f6dc0eb8fce67e57f6036f4769d92c1666cdf546/src/language/json/jsonWorker.ts#L38
This pull request copied the clientCapabilities constant from vscode-json-languageservice to avoid introducing new dependencies.

Replaced by #250

I merged this commit manually.

@remcohaszing Cool, thanks. I could not decide which of the two PRs better fits this repo, but your choice helps.


Earth to Java Mobs

this is crashing out the game, even alone. here is a log in case it helps out!
https://mclo.gs/Ka7yGhB

no I am wrong hold up....

it wasn't it was the entity sorter I was using. Earth2Java doesn't like it...


Quoting pipe commands with wsl.exe

Windows build number:  10.0.17134.81
I'm not quite sure how to feed linux commands using pipes into wsl.exe
Example:
wsl.exe echo test | wc
wsl.exe "echo test | wc"
wsl.exe 'echo test | wc'
all fail, whereas
ubuntu.exe run "echo test | wc"
produces the desired output 1 1 5.
There is a comment in this issue trying to clear it up.
It claims that wsl.exe <cmd> internally calls ["/bin/bash", "-c", <cmd>],
but wsl /bin/bash -c "echo test | wc" produces correct output whereas the commands above do not.
I also tried escaping the double quotes without success.

wsl.exe echo test ^| wc

wsl.exe echo test ^| wc

+1 clever
You can also do:
wsl.exe /bin/bash -c "echo test | wc"

Maybe wsl.exe /bin/bash -c "echo test | wc" could be added to the documentation here:
https://docs.microsoft.com/en-us/windows/wsl/interop#run-linux-tools-from-a-windows-command-line
The document mentions

The Linux command following wsl.exe is handled like any command run in WSL. Things such as sudo, piping, and file redirection work.

which doesnt look like the case.
Also, wsl.exe echo test ^| wc doesn't work for me anymore.

wc : The term 'wc' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.
At line:1 char:27
wsl.exe echo Readme.md ^| wc
~~
CategoryInfo          : ObjectNotFound: (wc:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException

Thanks.

The Linux command following wsl.exe is handled like any command run in WSL. Things such as sudo, piping, and file redirection work.

Can't vouch for the documentation. Looking at the page you cite they seem to mean by 'piping' in the context of  cmd.exe. Complaint department for documentation improvements would be here.

wsl.exe echo Readme.md ^| wc
...for me anymore.

I can't say if that example ever worked;  it might have, I literally can't say and wouldn't deign to try an old version to find out. Whether it did or it didn't, well formed command is:
$ wsl.exe /bin/sh -c "cd /path/to/readme; echo ./Readme.md | wc"

Windows CLI arguments don't work like Unix CLI arguments; never have and never will. To pretend they do is a mugs game.

When you using powershell, escape character is ` instead of ^.

If you wanna save the ouput to a variable you have to again reuse ^ for the 2 characters ^| :
for /f %%i in ('wsl echo 7.8*1000/1 ^^^| bc') do set delaysound2=%%i


Possible to fix links? I moved the database to a new workspace and tried to reconnect it

Describe the issue
I moved my database to a different workspace, realized that it needed a new integration, and using Notero with the new integration. This didn't work and created duplicates of all the items.
I restored the database in original workspace and tried to reconnect Notero. This also made duplicates.
Is there a way to reset the links in Notero without copying and pasting them all?

@do-not-perceive-me, thanks for describing your issue. Would it be feasible to recreate the database in the new Notion workspace instead of copying over the existing database from the old workspace? Or do you have additional data associated with the old database that would be lost?
If you are able to create a fresh database in the new workspace, then I think you can maybe use the bulk sync approach to re-sync all of your Zotero items into the new database. I believe that would then update all of the existing links in Zotero to point to the pages in the new database.

The issue is that I have additional properties and notes within the original database. When I make a brand new database, they are all linked Zotero, but I've lost the page notes and other info.
Right now I've kept the duplicates and been slowly copying over the properties to the new/linked items but that's obviously a bit inconvenient.
I think in the future, I would make the Zotero linked database, and then relate those database items to a different database for writing notes or sorting them.
I'm not sure how easy it is to implement, but it would be really useful if you could manually change the Notion link in the Zotero item

That's great! Thanks so much for the tutorial. I had tried to edit the existing link, but didn't think to delete it and add a new one.


Script for converting conllu files into JSON train cli format

The script might be useful for training new models using UDs and the new train cli. Also, a parameter enables to add morphological information to tags so that the tagger learns more useful features in langs with not so rich UD tags.
Some things could be improved: such as getting real documents from the comments in the conllu file, or adding spans information.
The motivation for creating this script was training the Spanish model using the new train cli.

Thanks a lot for sharing – this looks great! Also nice to hear that the new train command is already proving useful 👍
We were actually thinking about adding another command like spacy convert in the upcoming v2.0 that takes care of the most common conversions. So if you don't mind, I'd work on integrating your script into spaCy? (We might even be able to include it in the next v1.7.4 release so people can test it before it's rolled out officially in v2.0.)

@ines that's great! Let me know if I could help on this. There are many things that could be improved.
Working with the new train cli went really well, great job!
Dani

@dvsrepo Thanks! Just added the a convert command and the current state of the script on the develop branch: https://github.com/explosion/spaCy/tree/develop
You can now do python -m spacy convert [input_file] [output_dir] [*settings]. Just tried it locally with a random .conll file from the Universal Dependencies repo and it worked very smoothly (only tested in Python 3.6, though). If it all works as expected, we'll merge it to master later – always happy about pull requests and improvements.
Btw, the general idea for the converters at the moment is to map them to specific file extensions in a converters dictionary. This makes it easier to add more converters in the future (or use the same for different extensions), and the user won't have to choose the right converter for their files.


extra brake line removed

unnecessary brake line removed

Extra break, not extra brake.
PR cancelled due bad commit subject.


Change log level for 'loading devices' message

Description:
The 'Loading [wireless] devices from Mikrotik ([ip address])' message
is incredibly spammy at the info log level, such that in the last 24
hours on my installation, that log message has appeared 6732 times,
versus 70 for every other log message. I've moved this message to the
debug log level as I don't believe it adds anything at the info level,
and makes it harder to diagnose other problems.
Related issue (if applicable): None
Pull request in home-assistant.io with documentation (if applicable): N/A
Example entry for configuration.yaml (if applicable):
N/A
Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hello @Xiol,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

9e9cc26afa9e25dea7af998c153b4dcbe85cc8ec - This commit has something that looks like an email address (dane.elwell@ukfast.co.uk). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:


Updates for next major release

[x] Simplify instance contexts
[x] Add MonadRec ExceptT instance (and others?)

:+1:

I think this is ready to review. /cc @natefaubion

We also needed the mtl instances for ExceptT. We had them for ErrorT, but not ExceptT.

Ah good point, thanks.

We actually should release this together with 0.7.4 since neither's CI build will pass without the other.

I've added module exports too. This is ready for review again.

I'll probably have to review tomorrow morning now, just trying to solve something for SD before bed.
Pretty excited for these (and the accompanying typechecker) updates :smile:

Looks great! I made a PR #50 targeting this branch that further simplifies some of the contexts that can now depend on superclass implications.


ESM support in extension .js

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.

Here is the diff that solved my problem:
diff --git a/node_modules/ts-paths-esm-loader/resolverFactory.js b/node_modules/ts-paths-esm-loader/resolverFactory.js
index 33f3420..959b978 100644
--- a/node_modules/ts-paths-esm-loader/resolverFactory.js
+++ b/node_modules/ts-paths-esm-loader/resolverFactory.js
@@ -3,10 +3,12 @@ import { pathToFileURL } from 'url'
 import { matchPath } from './matchPath.js'

 export const resolverFactory = (resolveTs) => {
-    return function (specifier, ctx, defaultResolve) {
-        const match = matchPath && matchPath(specifier)
-        return match
-          ? resolveTs(pathToFileURL(`${match}`).href, ctx, defaultResolve)
-          : resolveTs(specifier, ctx, defaultResolve)
-      }
-}
+  return function (specifier, ctx, defaultResolve) {
+    if (specifier.endsWith('.js')) {
+      const trimmed = specifier.substring(0, specifier.length - 3)
+      const match = matchPath(trimmed)
+      if (match) return resolveTs(pathToFileURL(`${match}.js`).href, ctx, defaultResolve)
+    }
+    return resolveTs(specifier, ctx, defaultResolve)
+  }
+};

This issue body was partially generated by patch-package.

@v0ldemar01 thanks for your issue and solution, please, take a look at the PR I created and try it on your project, it is supposed to add the support for js extension and keep the same behavior for other files, if you find that everything is ok, I will merge and publish it


Clarified hardware requirementsfor TPM

Removed reference to support for TPM 1.2

@Justinha, can you review this and merge it?

Working on it now.
Thanks!
Ed
From: Justin Hall<EMAIL_ADDRESS>Sent: Wednesday, August 1, 2018 1:44 PM
To: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: Ed Gallagher<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-itpro-docs] Clarified hardware requirementsfor TPM (#1382)
@Justinha requested changes on this pull request.
@egallaghhttps://github.com/egallagh Thanks for raising this. As we discussed in email, please change this to "beginning with Windows 10, version 1607. " And if you would be kind enough to submit any other corrections you know of, we really appreciate it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/windows-itpro-docs/pull/1382#pullrequestreview-142512299, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AS1uOOuDn8sZD56Ey01AlajU07nsGl8Zks5uMfbjgaJpZM4VnW2_.

Done. (I think 😊 )
Thanks
Ed
From: Justin Hall<EMAIL_ADDRESS>Sent: Wednesday, August 1, 2018 1:44 PM
To: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: Ed Gallagher<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-itpro-docs] Clarified hardware requirementsfor TPM (#1382)
@Justinha requested changes on this pull request.
@egallaghhttps://github.com/egallagh Thanks for raising this. As we discussed in email, please change this to "beginning with Windows 10, version 1607. " And if you would be kind enough to submit any other corrections you know of, we really appreciate it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/windows-itpro-docs/pull/1382#pullrequestreview-142512299, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AS1uOOuDn8sZD56Ey01AlajU07nsGl8Zks5uMfbjgaJpZM4VnW2_.


[Aerie-2118] Database Migration Script Prototype

Tickets addressed: AERIE-2118
Review: By commit
Merge strategy: Merge (no squash)

Description
I prototyped a migration strategy from our GitHub discussion on Database migration.
The PR has examples of database changes, up.sql are migrations, and down.sql are DB reverts. The idea is that each up/down.sql will have 3 sections:

Database changes - alteration to the database such as creation or deletion of tables, columns, etc.
Data Migration - any data that needs to be migrated to a new table should go here
Database Check - Any checks you can do with the database after the alteration is made. This is the first line of defense in preventing a corrupted database.

The migration script is a python CLI tool
./aerie_db_migration -h
usage: aerie_db_migration [-h] [-a] [-r] [-db DB_NAME]

Migrate an AERIE Database

optional arguments:
  -h, --help            show this help message and exit
  -a, --apply           apply all migration steps to all databases if one isn't provided
  -r, --revert          revert all migration steps to all databases if one isn't provided
  -db DB_NAME, --db-name DB_NAME
                        name of a specific DB to apply or revert all migration steps

If you want to run a manual mode you should run the script without any arguments:
Not Present means you haven't applied the migration to the database yet
./aerie_db_migration
#########################
Manual DB Migration Mode
#########################

0)

QUIT MANUAL MODE...

1)

Database: AerieScheduler
No migration steps

2)

Database: AerieMerlin
No migration steps

3)

Database: AerieCommanding
VERSION        NAME                   SOURCE STATUS  DATABASE STATUS
1664478381304  rename_mission_column  Present        Not Present
1664478481307  add_column_expand_to   Present        Not Present

4)

Database: AerieUI
No migration steps

Which DB would you like to apply migrations to (0-4):

To apply all migration steps automatically per database run the command:
./aerie_db_migration -a

To revert all migration steps automatically per database run the command:
./aerie_db_migration -r

To target a specific database to apply all the migration steps automatically run the command:
./aerie_db_migration -a -db AerieCommanding

Verification
One migration step was to change column mission has been renamed to missions with no loss of data

Applying the revert changed the name back to mission without loss of data

The second migration step was to add a new column 'expand_to'

Documentation
We should probably capture this PR as a way to document a migration
Future work
Apply this strategy to CD and AWS

Couple of thoughts:

We could make a top-level db-migrations/ directory to place this migration script under, that way it's not cluttering up the repo.'s root directory. Not sure if this prototype is meant to just be merged for this PR or exist as a de-facto migration script though. I guess if it's supposed to exist and be maintained we should put it under a db-migrations/ directory.

Not sure how thorough we should / have to be with our testing for this since it's a prototype but I'd say just make sure to post a diff of the altered tables in the "Verification" section of this PR when you get the chance ☺ Alternatively we could write a couple small tests with Python's unittest module. Assuming this script will reside within some db-migrations/ directory we could also write a minimal build.gradle with a test task that would be picked up by the top-level build.gradle. Happy to help with any of this!

Couple of thoughts:

We could make a top-level db-migrations/ directory to place this migration script under, that way it's not cluttering up the repo.'s root directory. Not sure if this prototype is meant to just be merged for this PR or exist as a de-facto migration script though. I guess if it's supposed to exist and be maintained we should put it under a db-migrations/ directory.

Not sure how thorough we should / have to be with our testing for this since it's a prototype but I'd say just make sure to post a diff of the altered tables in the "Verification" section of this PR when you get the chance ☺ Alternatively we could write a couple small tests with Python's unittest module. Assuming this script will reside within some db-migrations/ directory we could also write a minimal build.gradle with a test task that would be picked up by the top-level build.gradle. Happy to help with any of this!

Edit: would be kind of cool to write a unit test that applies a migration (or multiple), reverts the migration(s), and then asserts that the resultant SQL is at least semantically identical.

I agree with putting the migration stuff under db-migration/
I think this folder would be a good place to add additional scripts to verify database states. I am probably going to pass on writing a unit test as the verification script should be written on actual migrations and not these prototype up/down.sql as they are so simple and verified by eyes. I think if a migration is very complicated then a script should be written to do a database check.

Good deal! Thanks Ryan. That makes sense.

Closing as this prototype is complete. @Mythicaeda is working on more instructions/deliverables for our migration process.


Chaotic Feat:Sign up and Sign in page

Describe your chaotic idea
The signup page will redirect to signin page and vice versa.
default structure of the page will be horizontal
Add Screenshots or Sketches
NA
Confirm

[X] I understand that my idea will add to the chaos and I'm okay with it
[X] I agree to follow this project's Code of Conduct
[X] I want to work on this feature
[X] I'm GSSOC'24 Extd registered Contributor
[X] I'm Hacktoberfest registered Contributor

Go ahead 🚀
Note:

provide a default skethc/design for your task later

You can start working!

Are you working on it?

@Sakshamp19 ??


commonjs

Instead of using ESM modules, you should also be able to use require CommonJS modules.
import chalk from "chalk"

or
const chalk = require('chalk')

currently only the first one works

https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c


Failure to provision Intel NUC model which has an SDXC slot

 Front conversations

This issue was moved to resin-os/resinos#67


merge: GO:0040023 and GO:0007097

Based on their text definitions, these should be merged, as the top
def is subsumed by the bottom one:
~~ is_a GO:0040023 ! establishment of nucleus localization [DEF: "The directed movement of the nucleus to a specific location within a cell."]

Furthermore, the transport rules don't appear to be consistently
applied. For example, "nuclear migration along a microtubule" is
considered a subclass of transport:

~is_a GO:0006810 ! transport
~~is_a GO:0046907 ! intracellular transport
~~~is_a GO:0030705 ! cytoskeleton-dependent intracellular transport
`is\_a GO:0010970 \! microtubule-based transport
`~is_a GO:0072384 ! organelle transport along microtubule
```~~is_a GO:0030473 ! nuclear migration along microtubule ***

However, "nuclear migration" itself is not a subtype of
transport. This is fairly odd.

Reported by: cmungall

Original Ticket: [geneontology/ontology-requests/8980](https://sourceforge.net/p/geneontology/ontology-requests/8980)

I don't see why these two terms shouldn't be merged. In fact I would propose a three-way merge with 'GO:0051647 nucleus localization'
For 'nuclear migration' & 'establishment of nucleus localization':
'nuclear migration' is the only sub-type of 'establishment of nucleus localization'. The other term we have is cell-type and process specific: establishment of oocyte nucleus localization involved in oocyte dorsal/ventral axis specification
So, unless there are objections I will merge and keep 'nuclear migration' as the main label.
References:
PMID:10725321
PMID:24563363
I'll look at the annotations for 'nucleus localization' and suggest something.

@pgaudet, sure, please roll into your next set of edits.  Thank you.

The merge is OK, but we have used child terms  like
"microtubule polymerization based movement"
As these terms are directed movement, I think they should probably  be a type of transport?

Hi @hattrill
To do this I need to first deal with the children terms. I am trying to understand the difference between ‘establishment of localization to x’ and ‘transport to x’. (looking at issue https://github.com/geneontology/go-ontology/issues/9189)
GO:0040023 ! establishment of nucleus localization has two children

GO:0030722  establishment of oocyte nucleus localization involved in oocyte dorsal/ventral axis specification (3 EXP flybase annotation)
— GO:0007312   oocyte nucleus migration involved in oocyte dorsal/ventral axis specification (about 30 annotations)

Are these two terms really different ? I tried to look at the annotations for GO:0030722  establishment of… but I couldn’t see that the proteins localize the nucleus, I might have missed something.
Do you think these can be merged ?
Thanks, Pascale

Not sure .....they sound equivalent, but I'll have a look either today or tomorrow.
"I tried to look at the annotations for GO:0030722 establishment of… but I couldn’t see that the proteins localize the nucleus, I might have missed something."
......I assume that it doesn't matter where the proteins localize but the organelle itself.

Can't see any difference in the ways that the terms have been used. Go ahead a merge away!

Hello again @hattrill
I just noticed that the parent of these two occyte nuclear migration terms, 'oocyte nucleus localization involved in oocyte dorsal/ventral axis specification' has the same definition as the two other terms.
GO:0051663 'oocyte nucleus localization involved in oocyte dorsal/ventral axis specification'
The directed movement of the nucleus to a specific location within a cell during the establishment and maintenance of the dorsal/ventral axis of the oocyte.
-- GO:0030722 'establishment of oocyte nucleus localization involved in oocyte dorsal/ventral axis specification'
The directed movement of the nucleus to a specific location within the cell during the establishment and maintenance of the dorsal/ventral axis of the oocyte. In the insect oocyte, for example, the nucleus is repositioned to a dorso-anterior position.
---- GO:0007312 	'oocyte nucleus migration involved in oocyte dorsal/ventral axis specification'
The directed movement of the oocyte nucleus within the cell as part of the establishment and maintenance of the dorsal/ventral axis of the oocyte. An example of this is found in Drosophila melanogaster.
Localization should have meant 'migration' OR 'maintenance of location'. Do you want to check whether these should be moved to the 'nuclear migration...' term?
There is a small number of FlyBase IMP annotations:
Q9VEX5 | Asun | PMID:24333177
P42271 | gammaTub37C | PMID:21852952
A0A0B4K682 | jvl | PMID:21989913
A0A0B4K6H8 | jvl | PMID:21989913
A0A0B4K6X6 | jvl | PMID:21989913
Q6NNB4 | jvl | PMID:21989913
Q7KSJ6 | jvl | PMID:21989913
Q960P5 | jvl | PMID:21989913
Q9VFG3 | jvl | PMID:21989913
A1ZBL5 | par-1 | PMID:16753562
A1ZBL7 | par-1 | PMID:16753562
A1ZBL9 | par-1 | PMID:16753562
E1JGM9 | par-1 | PMID:16753562
E1JGN0 | par-1 | PMID:16753562
Q6NPA6 | par-1 | PMID:16753562
Q7K9Q9 | par-1 | PMID:16753562
Q7YU80 | par-1 | PMID:16753562
Q8IGD5 | par-1 | PMID:16753562
Q8MQR8 | par-1 | PMID:16753562
Q95T80 | par-1 | PMID:16753562
Q95U75 | par-1 | PMID:16753562
Q963E5 | par-1 | PMID:16753562
Q963E6 | par-1 | PMID:16753562
Q9V8V7 | par-1 | PMID:16753562
Q9V8V8 | par-1 | PMID:16753562
Thanks, Pascale

Moved most: oocyte nucleus localization involved in oocyte dorsal/ventral axis specification to oocyte nucleus migration involved in oocyte dorsal/ventral axis specification.
(and dumped par-1 as evidence quite weak)


Dan/rm eol workflow

:nut_and_bolt: Description: What code changed, and why?
Workflow is EOL. This PR removes it from the repo.
NOTE that this is a minimum effort version of workflow removal. Depending on whether anyone is actually using it still, we may need additional effort to provide a good experience
:chains: Related Resources
https://blog.chef.io/new-chef-automate-functionality-and-end-of-life-impacts

I'm gonna put this one on hold for now. There could possibly be some unfortunate outcomes if we merge this prior to the 2.1 release. Here are some concerns we should be thinking about when we finish this:

If there are customers still using workflow and they plan to "get by" on EOL'd Automate for a while because they haven't built the replacement thing yet, and we merge this removal prior to the 2.1 milestone release, then those customers would be at risk of losing workflow functionality in a patch upgrade. This wouldn't violate any commitments we've made, but still not the best experience.
What will we do with the workflow configuration? In particular, there may be saved configuration state within the deployment service's database, and customers could potentially have some config baked into automation/scripts/etc.
Will we clean up databases and files automatically if the user upgrades a system with workflow enabled? Contrarily we might refuse to upgrade until the user affirms they are ok with that data being deleted(?)


Firestore Complex Types handling

In https://github.com/wovalle/fireorm/pull/56 we started re-exporting class-transformer's @Type Decorator to be able to cast Firestore GeoPoint fields. That solution is far from final and was only meant as a temporary workaround.
The way Typescript works, types are not available at runtime. If you want to cast Firestore's complex types into your custom classes, you need to tell Typescript the class it should cast it to... via a Decorator.
This issue is more of an exploration in this topic. More information is needed to fully implement a flexible solution.
Acceptance criteria:

[ ] Explore each of the Firestore Data Types, create unit tests for complex types.
[ ] Get rid of class transformers @Type
[ ] Create a new Decorator (@Transform?) to store field's type-casting information and (probably) some constraints.
[ ] The new decorator MUST provide a way to call custom constructors and let the owner of the class "construct" its object. This is to get rid of the current limitation in which in order to parse a GeoPoint, you must provide a class with public latitude and longitude fields
[ ] The new Decorator MUST enforce the user to provide a way to serialize and deserialize data. How we will be able to store an object with a custom GeoPoint class if we don't now how to serialize it back?

Hi @wovalle - we're running into this issue in validating complex data types using nested classes with fireorm. Is there an update on this issue? Is there anything that we can help with?

Hi @wovalle - we're running into this issue in validating complex data types using nested classes with fireorm. Is there an update on this issue? Is there anything that we can help with?

Hey @ericliu121187, somehow I missed this notification.
Sadly there are no updates, I haven't had time to tackle this issue. What are you trying to accomplish?

Hi @wovalle , no worries. Let’s say we are creating a Post document via fireorm.
await getRepository(Post).create(
  Post.create({
    // ...data
  }),
);

@Collection(‘posts’)
export class Post {
  @Expose()
  @IsString()
  public readonly id!: string;
  /**
   * Metadata
   */
  @Expose()
  @IsObject()
  public readonly metadata!: Readonly<{
    author: Readonly<{
      name: string;
    }>;
    data: Readonly<{
      entities: Readonly<{
        hashtags?: readonly unknown[];
        urls?: readonly unknown[];
        tags?: readonly unknown[];
      }>;
      description: string;
    }>;
  }>;

  static create(
    data: Partial<Post>,
  ): Post {
    return plainToClass(Post, data);
  }
}

Am I correct in saying that the nested values in  metadata would not be validated?
If not, do you have any suggestions in how we could validate it? Writing a custom validator isn't ideal here bc we want to work with classes to add custom methods to values + ideally, the validation would be recursive out-of-the-box.
What are your thoughts here?

Not an expert with validation but I think they won't be validated. In my case I'd try to flatten more the structure to have simple fields that can be easily validated.

Hello guys. Is there any progress with this one?

@hondem Not on my end. We decided to punt on validating nested data. My instinct is that there could be 2 approaches.
A. Fireorm can validate recursively
B. Writing a custom validator

Any update on this?


Follow-up visits with your PAP specialist gives you the opportunity

grammar

'give' seems better. Closing pull request.


Student finance form finder: update partial for deadlines

The deadlines partial is inaccurate at the moment - there are four dates the deadline can be counted from. We work it out on the ticket...
https://govuk.zendesk.com/agent/tickets/1198210

@stwalsh: thank you for the PR. You can follow it up in this trello card


Add CI/CD for PyPI Package and Django Application

Description: Implement a Continuous Integration and Continuous Deployment (CI/CD) pipeline for our Python package hosted on PyPI and our Django web application. The pipeline should automate the process of testing, building, and deploying both the package and the application, ensuring a seamless and efficient workflow.
Tasks:

[x] Set up a GitHub Actions workflow for the Python package:

Run unit tests and linting checks on every push and pull request.

Build and publish the package to PyPI automatically on new releases.

[x] Set up a GitHub Actions workflow for the Django application:

Run unit tests, linting checks, and security scans on every push and pull request.

Deploy the application to the chosen hosting platform (e.g., Heroku, AWS, or GCP) automatically on new releases.

[x] Configure notifications to alert the development team about the status of the CI/CD pipeline, including any failed tests or deployment issues.

[x] Update project documentation to include information about the CI/CD pipeline, its requirements, and its usage.

[x] Provide training and support to the development team on how to effectively utilize the CI/CD pipeline and troubleshoot any issues that may arise.

By completing these tasks, we will significantly improve the development and deployment process for both our Python package and Django application, ensuring higher quality and more reliable releases.

Closes #12


Freeze on a non-master branch?

I'm trying out straight and as the second thing to try (after installing a plain package) was to let straight install a package I previously had checked out by hand and loaded by (use-package drupal-mode :ensure t) (I contribute once in a while).
I got an error because the master branch is out of date, but checking the develop branch and letting straight rebuild works a charm.
But when I freeze versions, straight insists that the package isn't pushed, even though the local develop branch is up to date with the remote.
Shouldn't it be quiet about that, maybe just warn that some projects is using a non-master branch and carry on?

Does specifying :branch "develop" in the recipe fix the problem? i.e.
(use-package drupal-mode
  :ensure t
  :recipe (:type git
           :files ("drupal-mode.el" "drush-make-mode.el" "drupal")
           :host github
           :repo "arnested/drupal-mode"
           :branch "develop")))

That's the purpose of :branch.

Silly me, makes sense that it should be part of the recipe. Would be nice if one could override just the branch of the recipe rather than copying the whole recipe supplied from melpa?

@xendk https://github.com/raxod502/straight.el/issues/113#issuecomment-317617786 🙂

@vyp Aha! Thanks, I'll close this as a duplicate then.

See also https://github.com/raxod502/straight.el/issues/116 in particular. And note that you don't have to literally copy from MELPA; you can use M-x straight-get-recipe.


Revisit resume/end/error/expired conversation stories

Note to investigator
Find out all permutations of the resume/end/error/expired over REST API and Web Socket.
Related issues

#118 Resume conversation after calling botConnection.end()
#101 "Token expired" signal is not fired on Web Socket route
#103 Generate a new token using existing conversation ID
#94 End conversation does not really stop the polling or Web Socket
#90 Backoff stories

HTTP 429/400 - we will back off
HTTP 404 - fatal, we will stop

#75 End conversation does not really stop Web Socket
#9 Resume conversation and how to renew expired token
https://github.com/Microsoft/BotFramework-WebChat/pull/1880 Wiring up for reconnect UI

Do we have an update on this issue? How to end the conversation / chat using direct line v3 web chat?


auto-balance toggle off

While toggling off the auto-balance feature the physics bodies associated with hands does not stay at places

Hmm... I've noticed that issue. I'll fix it in the next update.

Alright, it should be fixed now. Thanks for pointing this out. Feel free to let me know if you come across any other issues. 👍


Support for clipping paths

Hi,
Is it possible to implement something like the clipPath tag in SVG with the current API?
Something like the attached image.
Thanks!

I need this too. May be stencil buffer can be used instead of render to separate FBO? At least without AA.

Hi, I also needed this feature to render Rive animation files. They use clip paths extensively. So implemented it in my for fork of nanovg: https://github.com/fabioarnold/nanovg-zig/pull/13
Here's a short demo:
https://github.com/memononen/nanovg/assets/473672/007baf48-deb4-479b-b7ff-a8b33d69bfaf
Unfortunately, my fork is partially rewritten in zig (zig is also a C/C++ compiler, allowing me to do this). But maybe this could still be helpful as a reference. I use the stencil buffer to achieve this. The clip path is stenciled like a normal non-convex path (incrementing and decrementing) and then transferred to the highest bit (0x80) using a cover fill. When filling or stroking a normal path, fragments without this bit are then discarded.
The API usage is as follows:
vg.beginPath();
vg.circle(0, 0, 110);
vg.clip(); // Use paths recorded since `beginPath` up to this point as clip path. Every path that follows can be part of fill/stroke.
vg.rotate(t);
vg.rect(-100,-100, 200,200);
vg.fill(); // Fill rect path, clipped by circle

However, I later discovered that in Skia and HTML5 canvas the clip path is part of the current state can be saved and restored. There's no function to clear the current clip (except by restoring).
I like the simplicity of my current approach, but I'm thinking of changing the behavior to match the canvas/Skia approach.
Any thoughts?
PS: It would also be possible to implement an even-odd fill rule by masking with 0x1 when drawing the cover fill (#598). I haven't implemented this yet because all my Rive test files use the non-zero fill rule.


Update Node.js 8.2.1, Yarn 0.27.5

Closing, as there are official Node.js images available at https://hub.docker.com/r/arm32v7/node/


RegBack no longer an option

"Copy all the hives from the Regback folder" is no longer an option as this helpful feature was removed in 1803, unless the user has overridden it beforehand.

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

ID: 6fc264df-cbd1-ac1f-3926-841fcab7dc31
Version Independent ID: 67c2aea4-0d28-3d8e-e935-8af05291c94e
Content: Advanced troubleshooting for Windows boot problems - Windows Client Management
Content Source: windows/client-management/advanced-troubleshooting-boot-problems.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Thanks. We need to add a note, maybe even [!IMPORTANT] , about this detail on the page:

https://support.microsoft.com/en-gb/help/4509719/the-system-registry-is-no-longer-backed-up-to-the-regback-folder-start

@illfated . Will you create PR in this issue for adding note

Thank you for asking. Yes, I was thinking about it, but I am also still thinking about where in the page that note can be placed to be useful enough for all readers of that page.
Then again, I guess it could be just as simple as starting a PR to add the note, then wait for feedback from the MS Docs team regarding where it fits best and if I need to move it from the place I pick as my suggestion. (As you probably have noticed, I am a bit hesitant to start working on something, if I don't know exactly what it needs to look like before I start. Similar forms of reluctancy are also known as "procrastination" or "indecision" or "indecisiveness".

@illfated . Actually this article is needs to be updated with related screenshots. including the withthe actual commands.
Also article should be included note section and support section. because this article is useful to all the. Windows 10 home users.
I can supply the screenshots.

OK, sounds like you have a better idea than me what needs to be done here. If you want to, feel free to start a PR to improve the page.
If the PR will contain a lot of changes, maybe you want to open it as a Tentative PR (gray PR symbol instead of green) until you feel that it is ready for publising.
Also: maybe the PR title could be something like Client Management: update Advanced troubleshooting

Upon your feedback, We have updated the content with relevant changes accordingly via PR #8089


AvoidUsingPositionalParameters is flagging simple "echo"s

Steps to reproduce
Write-Host Done with projects.

Expected behavior

To prevent this rule from being too noisy, this rule gets only triggered when there are 3 or more parameters supplied.

https://github.com/PowerShell/PSScriptAnalyzer/blob/1.21.0/docs/Rules/AvoidUsingPositionalParameters.md#description
Actual behavior

Environment data
Can't, I'm using GitHub Actions. They claim 1.21.0:
https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md#powershell-modules

@TWiStErRob looks like you may be missing quotes around "Done with projects." this should resolve the issue since it is being read as three positional parameters rather than one

Huh, that makes sense, but it's still a false positive, right?


Release Google.Cloud.Memcache.V1 version 2.3.0

Changes in this release:
No API surface changes; just dependency updates.

Created release for Google.Cloud.Memcache.V1-2.3.0


Email campaign tutorial

What changed? Why?
Added new tutorial for creating email campaigns
Notes to reviewers
How has it been tested?

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


Possibility to distinguish ErrMissingDriver

AFAIU the only errors exposed by the client are these. Is it possible to also distinguish ErrMissingDriver error? In our opinion handling this error differently is common as can be seen here.

It seems like a generally useful thing to have. I'm a little surprised we aren't propagating some kind of standard machine-readable codes here (whether the set from gRPC or otherwise).

This is currently an example of missing driver, and the gRPC error code is Unknown.
✘  se7entyse7en in ~/Projects/.go-workspace/src/github.com/src-d/engine (master)  $ go run ./cmd/srcd/main.go parse uast .travis.yml                                             [01/04/19 | 18:38:01.045]
Error: could not stream: rpc error: code = Unknown desc = could not parse: rpc error: code = Unknown desc = unexpected error: runtime failure: missing driver for language "yaml"```

@se7entyse7en true, here is the relevant place where this gets exposed protocol/service.go#L127 and here is how the client works this around bblfshctl/cmd/driver_install.go#L343
@creachadair do you have any insights on what's the best way to propagate these though gRPC? gRPC metadata or something else?

@se7entyse7en true, here is the relevant place where this gets exposed protocol/service.go#L127 and here is how the client works this around bblfshctl/cmd/driver_install.go#L343
@creachadair do you have any insights on what's the best way to propagate these though gRPC? gRPC metadata or something else?

For errors, I would recommend we try to use https://godoc.org/google.golang.org/grpc/status to construct error responses, and set appropriate codes. The *Status type has a code that we can use (probably codes.NotFound in this case), and if necessary we can attach extra details that will be propagated in the response.
On the client side, the client can use status.FromError to retrieve the *Status value, and inspect the code, message, and/or details.
The exact API varies by language—what I described above uses the Go libraries—but the status mechanism is common to gRPC.

@se7entyse7en true, here is the relevant place where this gets exposed protocol/service.go#L127 and here is how the client works this around bblfshctl/cmd/driver_install.go#L343
@creachadair do you have any insights on what's the best way to propagate these though gRPC? gRPC metadata or something else?

For errors, I would recommend we try to use https://godoc.org/google.golang.org/grpc/status to construct error responses, and set appropriate codes. The *Status type has a code that we can use (probably codes.NotFound in this case), and if necessary we can attach extra details that will be propagated in the response.

Cool it's exactly what we are already using so far on the lower daemon level inside the bblfshd, but without propagating this to the clients.
The thing is - we would still need to have error string parsing inside bblfshd, in order to get this condition as, as one can see in the second link, when this happens the only thing we get from Docker API underneath is errcode.ErrorCodeUnauthorized + an error message string.
If everyone  thinks that it's a good idea to do so - I'll be happy to look a bit deeper and submit a PR exposing it later this Q.
\cc @dennwc

The thing is - we would still need to have error string parsing inside bblfshd, in order to get this condition as, as one can see in the second link, when this happens the only thing we get from Docker API underneath is errcode.ErrorCodeUnauthorized + an error message string.

Unfortunately, that is sometimes the only available solution. We can write a function to do the translation to canonical codes in one place for this particular API, so that at least we have a seam for fixing regressions from upstream. The important thing from the client's perspective is that they should get reasonably standard error codes for things, and a message they could debug from. 🙂
Obviously parsing stderr is never ideal, but for messages that are generated programmatically it's usually at least possible to bound the set of possible responses. And of course we can always fall back to codes.Unknown as we do now, for cases we can't detect—that at least preserves the API on our side.

Separately: An error like ErrCodeUnauthorized probably translates to PermissionDenied in the gRPC canonical codes. https://godoc.org/google.golang.org/grpc/codes has fairly detailed comments about the intended semantics of each code. The reason I mention this is that it can affect gRPC retry semantics.


Start drawing the line without zero value

The first point of the line seems to be always zero and this gives a vertical line connected to the first datapoint. Your example with increased numbers:

Another example with a little more data:

The dataset used:
 [value: 100.25, xAxis: 1.0, value: 103.12, xAxis: 2.0, value: 108.0, xAxis: 3.0, value: 103.06, xAxis: 4.0, value: 103.0, xAxis: 5.0, value: 106.25, xAxis: 6.0, value: 108.0, xAxis: 7.0, value: 105.25, xAxis: 8.0, value: 107.69, xAxis: 9.0, value: 108.62, xAxis: 10.0, value: 107.0, xAxis: 11.0, value: 109.0, xAxis: 12.0, value: 110.0, xAxis: 13.0, value: 112.75, xAxis: 14.0, value: 113.5, xAxis: 15.0]
The line between the two fist points of the chart is not vertical here because I started my labels at 1,
How can I avoid displaying the first zero value to get a readable chart?

What version of the package are you using?
On Sat, Jun 15, 2019, 11:03 PM synw<EMAIL_ADDRESS>wrote:

The first point of the line seems to be always zero and this gives a
vertical line connected to the second datapoint. Your example with
increased numbers:
[image: 1]
https://user-images.githubusercontent.com/12034394/59558813-78019680-8fea-11e9-8ac6-7d42b2ec95ca.png
Another example with a little more data:
[image: 2]
https://user-images.githubusercontent.com/12034394/59558816-91a2de00-8fea-11e9-9da0-fefc44eff395.png
The dataset used:
[value: 100.25, xAxis: 1.0, value: 103.12, xAxis: 2.0, value: 108.0,
xAxis: 3.0, value: 103.06, xAxis: 4.0, value: 103.0, xAxis: 5.0, value:
106.25, xAxis: 6.0, value: 108.0, xAxis: 7.0, value: 105.25, xAxis: 8.0,
value: 107.69, xAxis: 9.0, value: 108.62, xAxis: 10.0, value: 107.0, xAxis:
11.0, value: 109.0, xAxis: 12.0, value: 110.0, xAxis: 13.0, value: 112.75,
xAxis: 14.0, value: 113.5, xAxis: 15.0]
The line between the two fist points of the chart is not vertical here
because I started my labels at 1,
How can I avoid displaying the first zero value to get a readable chart?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aeyrium/bezier-chart/issues/5?email_source=notifications&email_token=ABFL3UDN3XHFDBICSOSXXP3P2W3Q7A5CNFSM4HYQJ3B2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZXE5QQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABFL3UHDUW4EFFJGZ3Y6G5LP2W3Q7ANCNFSM4HYQJ3BQ
.

1.0.7: I was late. Tried with 1.0.8 and the vertical line problem is fixed. Now I still have to figure out how to display an y axis that does not start from zero to get a readable chart