S3: No connection to backend

Hi.
The backup works fine in local mode. The collection switch returns the correct information.
However when I try to use s3, files seem to be correctly loaded in s3 but then the collection switch returns BackendException: No connection to backend.
Here is my configuration file:
# Copyright (c) 2013 Toni de la Fuente.
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the Apache License as published by the Apache Foundation.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.
#
# Most recent information about this tool is available in:
# http://blyx.com/alfresco-bart
#
# Latest code available at:
# http://blyx.com/alfresco-bart
#
#########################################################################################
# alfresco-bart: ALFRESCO BACKUP AND RECOVERY TOOL
# Version 0.2
#########################################################################################
# ACTION REQUIRED:
# this file should contains passwords, please, set this file as read only
# for root (chmod 400 alfresco-bart.properties)
# Copy this file in you ALFRESCO_INSTALLATION_PATH/scripts.
#########################################################################################

## Logging
# Log configuration
LOG_DATE_FILES=`date +%F`
LOG_DATE_LOG=`date +%F-%X`
# Directory to left all Alfresco BART tasks logs with reports.
ALFBRT_LOG_DIR=/opt/alfresco/logs/bart
ALFBRT_LOG_FILE=${ALFBRT_LOG_DIR}/alfresco-bart-${LOG_DATE_FILES}.log

## Duplicity Setup ##
# If yes, please make sure you specify either PASSPHRASE, see INSTALL file.
ENCRYPTION_ENABLED=false
PASSPHRASE=xxx
DUPLICITYBIN=`which duplicity`
GZIP=`which gzip`

## Backup policies
# Number of days of every full backup (if not backup found it does a full)
FULLDAYS=30D
# Backup policies to apply all backups collections (retention and cleanup)
BACKUP_POLICIES_ENABLED=true
# Number of moths to remove all backups older than or backup retention period
CLEAN_TIME=3M
# After MAXFULL counter, all incrementals will be deleted and all full will be kept until CLEAN_TIME applies,
MAXFULL=6
# If you want to keep full backups of last 12 months but only with incremental in last 6 months
# you must set CLEAN_TIME=12M and MAXFULL=6
# Volume size in MB, default is 25MB per backup volume, consider reduce or increase it if you
# are doing tape backup (if a backup takes 60MB you will get 3 volumes, 25+25+10)
VOLUME_SIZE=25

# Alfresco root installation path. It has to be a real directory not a symlink
ALF_INSTALLATION_DIR=/opt/alfresco

# Alfresco alf_data path
ALF_DIRROOT=${ALF_INSTALLATION_DIR}/alf_data

# Duplicity log vervosity 0 Error, 2 Warning, 4 Notice, 8 Info, 9 Debug (noisiest)
# 0 recommended for production
DUPLICITY_LOG_VERBOSITY=4
BART_LOG_TAG=[BART-Loglevel$DUPLICITY_LOG_VERBOSITY]
GLOBAL_DUPLICITY_PARMS="-v${DUPLICITY_LOG_VERBOSITY} --volsize=${VOLUME_SIZE} --log-file=${ALFBRT_LOG_F

## Indexes Configuration
BACKUP_INDEX_ENABLED=false
# Alfresco index type, use solr or lucene
INDEXTYPE=lucene
# If Solr is selected, all Solr installation and config files will be included in your backup
INDEXES_DIR=${ALF_DIRROOT}/lucene
# If Lucene change to ${ALF_DIRROOT}/lucene
# SOLR or Lucene backup location
INDEXES_BACKUP_DIR=${ALF_DIRROOT}/backup-lucene-indexes
# If lucene add the apropiate location like ${ALF_DIRROOT}/backup-lucene-indexes
# If solr, please go to Alfresco Share Admin Console - Search Solr and set "Backups to
# keep to 1" in both Main and Archive
# Other that do a backup of the "backed up" indexes, to easy restore of your Solr
# indexes is recommendable to backup all configuration files but the live files,
# To enable Solr installation and configuration backup set next property

## DB Configuration ##
BACKUP_DB_ENABLED=true
# use mysql, postgresql or oracle
DBTYPE=mysql
LOCAL_BACKUP_DB_DIR=${ALF_DIRROOT}/alfresco-db-backup
# if you are using the bundle posgresql db, with next value it will include pg live files
# for easy restore. For remote, different or external db leave it as is.
LOCAL_DB_DIR=${ALF_DIRROOT}/postgresql
DATE_FILE=`date +%Y-%m-%d_%H%M%S`

# Global DB parameters
DBNAME=alfresco
DBUSER=alfresco
DBPASS=xxxxxxxxxxxxxx
DBHOST=localhost

# MySQL - Alfresco DB Configuration
MYSQL_BINDIR=/usr/bin
MYSQLDUMP_BIN=mysqldump

# PostgreSQL - Alfresco DB Configuration
PGSQL_BINDIR=${ALF_INSTALLATION_DIR}/postgresql/bin
PGSQLDUMP_BIN=pg_dump
# Add PGUSER and PGPASSWORD if required for your installation and you are not doing
# running BART as root.
PGUSER=
PGPASSWORD=${DBPASS}
# If you found problems to dump your Postgres DB try creating a file .pgpass with
# content "::::alfresco" without quotes, while alfresco is the password of your alfresco db
PGPASSFILE=${ALF_DIRROOT}/.pgpass
# Oracle - Alfresco DB Configuration
ORACLE_BINDIR=
ORASQLDUMP_BIN=exp

## ContentStore Configuration
BACKUP_CONTENTSTORE_ENABLED=true
ALF_CONTENTSTORE=${ALF_DIRROOT}/contentstore
# To exclude contentstore.deleted leave next value empty
ALF_CONTENSTORE_DELETED=
ALF_CACHED_CONTENTSTORE=
ALF_CONTENTSTORE2=
ALF_CONTENTSTORE3=
ALF_CONTENTSTORE4=
ALF_CONTENTSTORE5=

## Alfresco configuration and application files backup
# This backup includes deployments and configuration files excludes
# the ContentStore, Indexes and DB as above
BACKUP_FILES_ENABLED=true

## Backup type ##
# use s3, ftp, scp, local
BACKUPTYPE=s3

## LOCAL backup destination folder ##
# absolute path starting with /
LOCAL_BACKUP_FOLDER=/home/bastien/backup

## Amazon S3 information ##
AWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxxxxxxxxxxx
AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Upper case bucket name is not allow
S3FILESYSLOCATION="s3+http://my_bucket"
S3OPTIONS="--s3-use-new-style --s3-use-rrs"
S3_EUROPEAN_BUCKET=false # not used yet

## FTP Information ##
FTP_SERVER=
FTP_USER=
FTP_PASSWORD=
FTP_FOLDER=
FTP_PORT=21
FTPS_ENABLE=false

## SCP Information ##
# SSH shared keys required
SCP_SERVER=
SCP_USER=
SCP_FOLDER=

## Backup temp folder definition ##
TEMPFOLDERNAME="alfresco-backup-`date +%F-%s`"

## Recovery configuration
ENABLE_SINGLE_FILE_RECOVERY=false

# Temporary DB for recovery and get the phisical path of a single content.
REC_DBTYPE=mysql

# Recovery database must be already created but EMPTY! Alfresco-BART will recover your
# backup database and find the files for you, after this task the recovery database
# tables will be deleted.

# MySQL - Recovery DB Configuration ##
REC_MYDBNAME=alfresco_rec
REC_MYUSER=alfresco
REC_MYPASS=xxxxxxxxxxxxxxxxxxxx
REC_MYHOST=localhost
REC_MYSQL_BIN=/usr/bin/mysql
REC_MYSQLDUMP_BIN=/usr/bin/mysqldump

# PgSQL - Recovery DB Configuration ##
REC_PGDBNAME=alfresco_rec
REC_PGUSER=alfresco
REC_PGPASS=alfresco
REC_PGHOST=localhost
REC_PGSQL_BIN=/opt/alfresco/postgresql/bin/psql
REC_PGSQLDUMP_BIN=/opt/alfresco/postgresql/bin/pg_dump

# Oracle - Recovery DB Configuration ##
REC_ORADBNAME=alfresco_rec
REC_ORAUSER=alfresco
REC_ORAPASS=alfresco
REC_ORAHOST=localhost
REC_ORASQL_BIN=
REC_ORASQLDUMP_BIN=exp

Hi, this looks like a Duplicity configuration issue, see comment #6 here
https://bugs.launchpad.net/duplicity/+bug/1278529
Does it work?

Hi thanks for the answer.
I don't really understand how to implement this comment in my case...
I tried gsettings set org.gnome.DejaDup.S3 bucket cav78, but it returns:
No such schema 'org.gnome.DejaDup.S3'...
Could you help me to understand? This is an new area to me :(

What version of Duplicity do you have installed? I have seen this bug is fixed in v0.7.01 (2015/01/11). YOu also can try with s3+http://my_bucket/somedir instead. If not, try updating Boto, is the python library that allows Duplicity to talk to S3.

Yes I saw that there is a more recent version.
I am using the available package for ubuntu: Installed: 0.6.23-1ubuntu4.1
I don't know how to upgrade... and if this is safe. What do you think?

Oh and I forgot to mention that I tried with setting up a directory and this didn't help.

I haven't upgrade it yet but it looks like there are stable packages for ubuntu here https://launchpad.net/~duplicity-team/+archive/ubuntu/ppa

Thank you so much for your help... !
I have succesfully updated duplicity.
Now the message is similar but not 100%:
======================= BACKUP COLLECTION FOR INDEXES lucene ======================
BackendException:
./alfresco-bart.sh: line 741:  : command not found
=========================== BACKUP COLLECTION FOR DB mysql ==========================
BackendException:
========================== BACKUP COLLECTION FOR CONTENTSTORE =========================
BackendException:
============================== BACKUP COLLECTION FOR FILES ============================
BackendException:

can you post the command you type? you have disabled lucene backup in config...

I have also been getting the BackendException: No connection to backend error with duplicity.
I noticed that s3cmd had stopped working for me too with the following error...
# s3cmd ls ERROR: S3 error: 403 (RequestTimeTooSkewed): The difference between the request time and the current time is too large.
It turns out the system time on my vagrant box was 3 days in the past. Forcing a time update seemed to fix both s3cmd and duplicity!

@vialcollet @paulmaunders Please, take a look at the pull request number #17 S3 bucket config sample improvement.
I hope it is useful

@toniblyx I believe this is not a problem with the script it self, but with the format used to setup the connection to S3.
Please, review my pull request, and if you accept it, I believe this issue can be closed.

Issued solved with the merge of pull request #17


add vk-layer-introspect

It can be used to validate the introspection functions or generate the
manifest file for a layer library.
$ ./vk-layer-introspect build/layers/libVkLayer_core_validation.so
{
    "file_format_version": "1.0.0",
    "layer": {
        "api_version": "1.0.13",
        "description": "LunarG Validation Layer",
        "implementation_version": "1",
        "instance_extensions": [
            {
                "name": "VK_EXT_debug_report",
                "spec_version": "2"
            }
        ],
        "library_path": "./libVkLayer_core_validation.so",
        "name": "VK_LAYER_LUNARG_core_validation",
        "type": "GLOBAL"
    }
}

cherry-picked and pushed to master


Lambda indent assignment

I've rebased this. It's now very simple.

thanks!! I managed to do so internally but this will let me re-import more easily.
we're now debating internally whether it's a good idea.
The original reason for this block-like behavior was to write functions whose bodies are scoped, and them to still look like functions. But assigning lambdas to variables feels like there's no reason they look like functions...

Our motivation here is DSLs (and at Google that means protobufs!)
val foo = fooProto {
  bar += barProto {
    zip = 1
    zap = 0
    qux = quxProto {
      zop = 3
    }
  }
}

Interesting!
Ok, I'll update on our discussions. I applied it to our repo and got some stuff I didn't like on first glance, but I'm unfamiliar with the context it's used internally.


Add HTML Title

No html titles currently. Definitely need those.

Temporarily added single title shared across all pages.


When the user gets help for a category without any commands an error gets raised.

Because commands that the user cannot run are automatically hidden some categories can have no available commands, this causes issues when trying to send a non-existent page.
Traceback (most recent call last):
  File "C:\Users\D\AppData\Roaming\Python\Python39\site-packages\discord\ext\commands\core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "C:\Users\D\AppData\Roaming\Python\Python39\site-packages\discord\ext\commands\help.py", line 853, in command_callback
    return await self.send_cog_help(cog)
  File "C:\Users\D\AppData\Roaming\Python\Python39\site-packages\pretty_help\pretty_help.py", line 354, in send_cog_help
    await self.send_pages()
  File "C:\Users\D\AppData\Roaming\Python\Python39\site-packages\pretty_help\pretty_help.py", line 297, in send_pages
    await self.menu.send_pages(self.context, destination, pages)
  File "C:\Users\D\AppData\Roaming\Python\Python39\site-packages\pretty_help\menu.py", line 103, in send_pages
    message: discord.Message = await destination.send(embed=pages[0])
IndexError: list index out of range

If the pages are empty the bot should just return without sending anything like it currently does for unavailable commands.

Could you give a reproducible example?

from discord.ext import commands
from pretty_help import PrettyHelp

bot = commands.Bot('!',help_command=PrettyHelp())

class category(commands.Cog):
    @commands.command()
    @commands.dm_only()
    async def command(self, ctx):
        await ctx.send('hi')

bot.add_cog(category())

when the command is ran in a guild both !help and !help command work as expected, but !help category fails

@stroupbslayen I was able to reproduce this error. If I find time later I might make a pr to fix it

The way the default discord.py help menu handles these is to just send the footer, I guess we could do the same thing here. It's an easy fix. Thoughts?

I mean it might make more sense to hide commands users can't run from bot_help/cog_help/group_help, but if they explicitly ask for help with the hidden command still send it.
So like:
!help  # doesn't show hidden command
!help Cog  # doesn't show hidden command
!help group  # still doesn't show hidden command
!help group hidden_command  # shows help

This might be better as an option though

I mean it might make more sense to hide commands users can't run from bot_help/cog_help/group_help, but if they explicitly ask for help with the hidden command still send it.
So like:
!help # doesn't show hidden command
!help Cog # doesn't show hidden command
!help group # still doesn't show hidden command
!help group hidden_command # shows help

I disagree with this, generally commands are put behind walls for a reason.

Updated so the bot will just respond with the footer in this situation.


svelte-adapter-static: "404 Internal Error" with trailing index.html in URL

Describe the bug
My app is using svelte-adapter-static with the trailingSlash option set to 'always', so each route is a folder containing its own index.html. I use a static server so no SSR, but prerender is set to true in +layout.js.
It works fine when I navigate to /my-route or /my-route/, however when I explicitly navigate to /my-route/index.html, I get a 404 error (from the start-xxxxxxxx.js hydration script). Why is that? Because of the way my static server is configured, I usually need to explicitly set the URL with a trailing index.html, but it seems to break the hydration script.
Thank you very much!
Reproduction
https://stackblitz.com/edit/sveltekit-404-index-html?file=src/routes/my-route/+page.svelte
Logs
No response
System Info
System:
    OS: macOS 12.4
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 1.86 GB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.2.0 - ~/.nvm/versions/node/v18.2.0/bin/node
    npm: 8.9.0 - ~/.nvm/versions/node/v18.2.0/bin/npm
  Browsers:
    Chrome: 105.0.5195.125
    Firefox: 101.0.1
    Safari: 15.5
  npmPackages:
    @sveltejs/adapter-static: ^1.0.0-next.43 => 1.0.0-next.43
    @sveltejs/kit: ^1.0.0-next.483 => 1.0.0-next.483
    svelte: ^3.50.1 => 3.50.1
    vite: ^3.1.1 => 3.1.1

Severity
blocking all usage of SvelteKit
Additional Information
No response

Can you share what static server you are using?

I have no idea, it is beyond my control... All I know is that I need to explicitly add index.html to the URL in order for iframe integration to work.
But regardless of which static server I am using, suffixing the URL of a route with index.html should not break the page, should it? For example, using Surge:

https://lesechos-test-2.surge.sh/mix-electricite/ [WORKS]
https://lesechos-test-2.surge.sh/mix-electricite/index.html [BREAKS]

(though now that I think about it you might run into https://github.com/sveltejs/kit/issues/7244, if you have a +page.server.js alongside the +page.svelte, because SvelteKit will try and fail to write my-route/index.html and my-route/index.html/__data.json. hmm)

This is working as designed — each page should have a single unambiguous URL, otherwise SEO suffers and things get weird with relative links. You can explicitly add the index.html to routes, like so...
-src/routes/my-route/+page.svelte
+src/routes/my-route/index.html/+page.svelte

...and /my-route/index.html will work (but /my-route won't). Does that solve your case?

I guess it solves my case, but it just feels weird... I get it that best practices dictate that you shouldn't explicitly use index.html in a URL in 2022, for SEO reasons or whatever, but svelte-adapter-staticmight be used to generate code for legacy static servers that may consider /route.html, /route and /route/index.html to be the same, as it used to be with static vanilla HTML. Especially since a index.html file actually exists.
In my personal case, I need to explicitly set index.html in the URL in order to pass query parameters to the page, which is used within an iframe. For some reason, https://myurl.com/route?foo=bardoesn't work, but https://myurl.com/route/index.html?foo=bar does.
Anyway, thank you for the reply.


Why is the project retired?

Since 3 march the readme states that Ratio.js is retired, and links to two BigNumber libraries (which aren't alternatives at all, they can't represent most fractions like 1/3, 2/7, etc). Why is the project retired?

Support. https://github.com/LarryBattle/Ratio.js/issues/57#issuecomment-76654615

Thanks for the clarification.
You could put a message "looking for someone to take over the project" instead ;)

done


create a server with PSK support

Hi I am new to this library and SSL in general, apologize in advance. I've been trying to create a server using pydtls that will support PSK. I have a client that tries to establish a PSK connection, but whenever it tries to talk to my server, i just get an error of ssl3_get_client_hello:no shared cipher. How can i do this?
I have an existing client that uses Pydtls and establishes a connection with a server already using PSK so I assumed I should be able to make my own Server that can take connections using PSK cipher.

Is there some any restriction with pydtls to what cipher suites can be used? I can make successful connections to my server if i don't set ciphers = "PSK" in ssl.wrap_socket after calling do_patch(). But if I set ciphers="PSK" it fails, even though my client (also using pydtls) is requesting ciphers="PSK", and I can observe in wireshark that they are valid cipher suites. It seems there is a restriction on the server side when trying to use a cipher suite of PSK?


[Bug] The fields in the API pane don't revert to their original size when they lose focus

Steps to reproduce

Go to the API pane in the Appsmith editor
Type a very long URL in the URL field. Optionally, type a long text in the input fields for query params or header params.

Observation
The fields expand vertically to show the complete text when it's in focus. When the input field loses focus, it doesn't go back to it's original size.
Expected behaviour
When an input field loses focus, it should go back to it's original size.

@Nikhil-Nandagopal  Why we can not see the issue , this link requires a login and over login it says you don't have access? A lot of issues are having no description but this link only .
Please help me understand this.

@Jain-Sanchit Sorry that you faced this issue. We migrated a lot of issues from our internal tracker on Notion to Github which caused these Notion links to appear instead of complete description. For now, please tag @prapullac , @Nikhil-Nandagopal or me incase you'd like more details for any issue. We'll furnish more details as possible.
Apologies for this less-than-ideal experience till we figure out a more holistic fix.

@Jain-Sanchit i've updated this so you can pick it up if you like

Hey @hetunandu @Nikhil-Nandagopal is this already claimed by someone? If not I can give it a try.
Thanks

@ThakurKarthik  go for it!

@hetunandu I'm unable to reproduce this issue. Can you please confirm if this issue is still valid?

Verified the issue


Added Documentation for WithMatchOnlyWholeWord

 Issue by LokiMidgard
Tuesday Oct 20, 2015 at 16:39 GMT
Originally opened as https://github.com/Wyamio/Wyam.Web/pull/9

LokiMidgard included the following code: https://github.com/Wyamio/Wyam.Web/pull/9/commits

 Comment by daveaglick
Tuesday Oct 20, 2015 at 19:33 GMT

Awesome, thanks! I'm going to go ahead and close this PR without merging, but I'll add the changes to the develop branch (just to save you from having to rebase the PR). Commits to master trigger an automated rebuild and publish, and since this functionality won't be available until the next release, we don't want it going live yet.

 Comment by LokiMidgard
Tuesday Oct 20, 2015 at 19:43 GMT

Ok I remember it for the next time. Maybe you could change the edit button on your site so it edits the page in the develop branch.
  Edit This Page

to
 Edit This Page

actually I'm not sure if this works ;)

 Comment by daveaglick
Tuesday Oct 20, 2015 at 19:56 GMT

Good call - that should do the trick. Making the change now.
As it turns out, a lot of the pages on the site are going to get automatically generated with the next release anyway. You'll still be able to edit pages in the Getting Started, Knowledgebase, and Community sections like we can now, but pages in the Modules and API sections are going to come from code analysis and XML code comments instead (see Wyamio/Wyam#70 for context). That should make it much easier to keep track of module and API changes instead of having to keep a bunch of Markdown files in sync.


Create Update-Timezone-AGIXT.sh

Create Update-Timezone-AGIXT.sh

Привет! Я ценю усилия, но docker-composeдля этого файлы не нужно модифицировать. Вы можете просто добавить строку в свой .env файл с вашим часовым поясом.
Например:
TZ=America/New_York

But why can’t this happen automatically then?  Do you think everything needs to be done manually?  Why do I need to manually edit the files every time?  You yourself are a supporter of process automation.  Or do you think there is only one time zone, America?  I did this in such a way as not to interfere with the main program code, and get the current server's time zone automatically, and set it.  If you want a proper solution, you need to add similar functionality to the main AGiXT.sh script, AGiXT.ps1.  So that the user does not even think about this issue, and everything happens automatically.  I don't understand your stubbornness on this issue, I just don't want to manually edit the files every time I update or reinstall AGIXT.  Why do I need these complications as an ordinary user?  I made an option to the best of my qualifications, which definitely does not disrupt the operation of AGIXT and is not implemented into its code.  If you can do it better and more gracefully, then do it yourself, I will be only glad.  You claim to welcome any positive contribution to AGIXT, yet immediately resist adding new features when all you have to do is accept them.  What should I do then?  I can take the time to build this functionality into the main AGiXT.sh script, but is it worth doing, what if you again say that this is not necessary?  Then you can make a code that adds a line with the server time zone to the .env file.  But again, I already doubt that you will approve of this, and it turns out that I will waste time and effort in vain.

You would only have to set the environment variable once, but since you know the more proper places and way to set this, I would say that you are correct that adding to AGiXT.sh and/or AGiXT.ps1 would be more correct than a new file if this was to be automated away. For anyone on Linux, this is already automated because Linux sets the env var TZ and the container would inherit it.

You would only have to set the environment variable once, but since you know the more proper places and way to set this, I would say that you are correct that adding to AGiXT.sh and/or AGiXT.ps1 would be more correct than a new file if this was to be automated away. For anyone on Linux, this is already automated because Linux sets the env var TZ and the container would inherit it.
No, you're wrong.  What you describe does not happen to me.  Otherwise, I wouldn’t bother with this and wouldn’t create this script.  Manjaro Linux latest version


(PUP-10373) Update Version Range parsing mechanism

Version Ranges are now separated by comma and insensitive to the place
and ammount of space characters used.

Eh, I thought the original was an implementation of a SemVer standard? It needs to be 100% backwards compatible which I don't think this PR is.
Also a regexp \s matches more than just space (i.e. ' ' now in the added call to tr.
Is it expected that the string form should retain the comma? With this implementation it will not I think. If changed to use , instead of space then serialization will also be affected. Hence - must be very very careful and ensure 100% backwards compatibility. If parsing and string representation is asymmetrical that should be explained (i.e. "allows , as separator but does not output this when later serialized".
Is this change really needed? It looks cosmetic in nature.
If really needing some other standard string representation it seems better to have that as a separate function, or as some option format-flag to new for the version data types.

@hlindberg I think this is a big misunderstanding. This has nothing to do with Semantic Puppet.
The changes in this PR are necessary to support version ranges for the gem provider where ranges are separated by comma. All further implementation regarding this will be done under PUP-10295.

CLA signed by all contributors.

The problem we want to solve with this PR is that it looks we already support some kind of ranges for the gem provider (while I have not tested this) and we wanted to change the implementation to use respective format.
Still, loosing SemVer compatibility may not be the way to go.
@luchihoratiu , could we check exactly what kind of ranges are we supporting for gem provider, and maybe having specific parser to 'translate' them could be better solution

@luchihoratiu doh, sorry - I did not read carefully enough - I mistook this for a change in the parsing of versions used by the Puppet data types.
To some degree my comment about backwards compatibility should still apply though - but maybe that is not a concern. Anyway - sorry for the noise.


Add missing package form installer

Without this running blockchaindb yields:
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.4/trace.py", line 858, in
main()
File "/usr/lib/python3.4/trace.py", line 804, in main
t.runctx(code, globs, globs)
File "/usr/lib/python3.4/trace.py", line 510, in runctx
exec(cmd, globals, locals)
File "/usr/local/bin/bigchaindb", line 9, in
load_entry_point('BigchainDB==0.1.4', 'console_scripts', 'bigchaindb')()
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/init.py", line 549, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/init.py", line 2542, in load_entry_point
return ep.load()
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/init.py", line 2202, in load
return self.resolve()
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/init.py", line 2208, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.4/dist-packages/BigchainDB-0.1.4-py3.4.egg/bigchaindb/commands/bigchain.py", line 14, in
from bigchaindb.processes import Processes
File "/usr/local/lib/python3.4/dist-packages/BigchainDB-0.1.4-py3.4.egg/bigchaindb/processes.py", line 9, in
from bigchaindb.web import server
ImportError: No module named 'bigchaindb.web'

Current coverage is 84.69%

Merging #120 into develop will increase coverage by +84.69% as of b22ead8

@@            develop    #120   diff @@
=======================================
  Files             0      18    +18
  Stmts             0     869   +869
  Branches          0       0
  Methods           0       0
=======================================
+ Hit               0     736   +736
  Partial           0       0
- Missed            0     133   +133

Review entire Coverage Diff as of b22ead8

Powered by Codecov. Updated on successful CI builds.

@crazyquark thanks a lot!

@crazyquark I forgot to ask you to get your permission to include your contributions in our code before merging.
To do that, we need you to agree to our Contributor License Agreement (CLA). To do that, please read the "Individual Contributor Agreement" linked-to at https://www.bigchaindb.com/cla/, fill in the form, and submit it. We'll get an email notification. We'll send you a long random string, which we'll ask you to copy to these comments, as evidence. Again, the link is:

https://www.bigchaindb.com/cla/

thanks!

Hi @crazyquark , we reverted this PR in PR #144 for the following reasons:

We shouldn't have merged it before we got you to agree to our Contributor License Agreement (CLA), and you didn't agree to it after we asked.
We found a more general solution to the problem that this PR solved: we now use find_packages instead (see PR #144 ).

We appreciate your offer to help out, but we must respect your copyright. Before we can merge your code in the future, we'll have to get you to agree to our CLA.


CUPP

Traceback (most recent call last):
File "/opt/fsociety/tools/cupp/cupp.py", line 50, in
years = config.get('years', 'years').split(',')
File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
raise NoSectionError(section)

ConfigParser.NoSectionError: No section: 'years'

@Manisso

Please report this at https://github.com/Mebus/cupp this appears to be a tool error.


Async Test Environment API

Do you want to request a feature or report a bug?
Feature request
What is the current behavior?
The API for test environments is written with the constraint that the test environment must be able to get its global ready synchronously (see the code here)
What is the desired behavior?
It'd be nice if the API was added to in order to allow the test environment to be constructed asynchronously.
Here's my use case: I'm trying to use NW.js to create an environment which opens an isolated browser window for each test. In NW.js, if you use nw.Window.open to open a new browser window, it is opened asynchronously. So it's not possible to open a window and set up its global for jest synchronously.
Here's the code I tried to use within the environment constructor:
nw.Window.open(config.testURL, (win) => {
  const global = this.global = win.window;
  installCommonGlobals(global, config.globals);
  this.moduleMocker = new mock(global);
  this.fakeTimers = new FakeTimers(global, this.moduleMocker, config);
});

This doesn't work because the callback argument to nw.Window.open is called asynchronously, so once jest gets to this line, it tries to install the console onto the environment's global, which isn't set up yet.

Yeah, we should do this. Make an async "setup" function in both TestEnvironment's and wait for it in the code. If you can send a PR tomorrow, we can include it into Jest 20.

Not promising I can have a PR in by tomorrow, but...
Do you want to use an async setup function instead of the current synchronous constructor, or in addition to? The former would be a breaking change. Since you are bumping the major version to 20 anyway (and this api is not commonly used), that would not be a very big deal, but I wanted to confirm.

Ideally we would change it to async, in v20 or v21. If we can't get it into 20, we may release a minor version with 2 possible ways, along with proper depreciation warning.

I would keep the constructor, you can't get rid of a constructor anyway and add the setup function as an optional hook. If the function is present, call it and wait for the promise to resolve. If it isn't there, just do what we do now.


Change format of the prompt in Extractor?

Is it possible to change the format of the prompt to have the context before the question in the Extractor class for a text generation model?

Thank you for your help. Could you provide an example of how this can be done using workflow? I'm having trouble passing results from Embeddings to the Template task for LLM.

@davidmezzetti I checked the documentation and currently it doesn't look like there is a way to pass results from previous action to the next action while taking in additional inputs in the config.yml.
Could you please take a look?
Any help is appreciated.
writable: true
LLM:
   path: google/flan-t5-large

embeddings:
  path: sentence-transformers/multi-qa-mpnet-base-dot-v1
  content: true

workflow:
  search:
    tasks:
      - action: search
      - task: template
        template: |-
          {Context}
          {Question}
        action: LLM

Thank you for the reference.
Could you explain what the application parameter refers to in the wikisearch.py file?

Never mind. I got it working. Thank you for your help!


4.4 prereq script does not comply with documentation.

Hello!
The 'prereq.sh' script at line 170 does not create test job inside cp4aiops namespace as pointed in IBM Cloud Pak for AIOps Documentation.
Manually adding entitlement key pull secret in default namespace allow 'prereq.sh' to run, but does not really check installation compliance due to this mismatch.
It's possible to fix either CloudPak documentation or this script?
Thanks!

Hi @leleobhz -- based on the details you mentioned, this situation would occur if you did not run the script in the project namespace (cp4aiops).
As the documentation of the prereq script indicates, you need to confirm you are in the project namespace before running the tool. That way, the script will create the test job and run properly in general.
Could you please confirm whether you ran the script after running the oc project command as listed in the linked documentation above? If not, please retry.

Hi @leleobhz -- based on the details you mentioned, this situation would occur if you did not run the script in the project namespace (cp4aiops).
As the documentation of the prereq script indicates, you need to confirm you are in the project namespace before running the tool. That way, the script will create the test job and run properly in general.
Could you please confirm whether you ran the script after running the oc project command as listed in the linked documentation above? If not, please retry.

Hello!
Project wasn't selected and while this is pointed in the script documentation, it's not pointed on Aiops documentation, leading to a  misunderstood. This is the reason I wrote may script or IBM documentation be changed or clarified.
Also, project selection may affect afterwards oc-based commands, so this may lead to further usage issues.

@siyer-123 @lsalazar1 Can the utility and documentation be updated to actively provide the namespace (project) for which the check is being executed for?

For our 4.5.0 IBM Docs, we can make the namespace more visible. In 4.5.1 however, I can implement the following:

A check to ensure the script is not running in default namespace
Allow the user to pass in a param to indicate which namespace to use

For our 4.5.0 IBM Docs, we can make the namespace more visible. In 4.5.1 however, I can implement the following:

A check to ensure the script is not running in default namespace
Allow the user to pass in a param to indicate which namespace to use

I suggest you do not allow default namespace unless explicitly declared on command line param - to avoid mistakes and also allow any kind of test that need to be made on default namespace (Eg. AiOPS installed in AllNamespaces mode).
Also, thank you for you attention to this details!

Hi @leleobhz , just an FYI we've adjusted some things on our end based on your feedback:

I've pushed a PR to update our 4.5.1 prereq script. This new iteration of the script now has a check to ensure the script is running in a non-restricted namespace like default. You can find that PR here. You may pass in a -n option with the namespace as a parameter to force the script to run in the namespace you want to deploy CP4AIOPS
I've worked with our doc team to ensure that -n option is also documented in our official docs. See here

How does this look? Any questions?

Hello @lsalazar1 !
These changes sounds good to me! Thanks you so much by your attention to this issue!


RichTextField is not working, throwing javascript console error

Issue Summary
When I declare RichTextField it does not render as wysiwyg editor in wagtail admin, but instead throws a javascript error.
Steps to Reproduce

In model use:

class MyDocument(AbstractDocument):
    content = RichTextField()
    (...)

Go to wagtail admin, content is not rendering as wysiwyg editor

Technical details

Python version: 3.8.1
Django version: 3.2.3
Wagtail version: 2.13

I believe this was fixed in 2.13.3: #7268. When reporting bugs, please make sure you're testing against an up-to-date Wagtail version.


DSN configuration with environment variable

In many deployment environments the configuration of the DSN with environment variable is helpful and should be added to the documentation.

Thanks!


Getting some fixture related errors during the mirror phase in server console

See below. There is also a deprecation error, which probably isn't related. Not sure.
=> App running at: http://localhost:3000
W20141228-17:32:19.607(-5)? (STDERR) connections property is deprecated. Use getConnections() method
W20141228-17:32:19.888(-5)? (STDERR) [sanjo:jasmine]: The file "/Users/shrop/Projects/www/collections/posts.js" has syntax errors. [TypeError: Cannot call method 'insert' of undefined]
W20141228-17:32:19.907(-5)? (STDERR) [sanjo:jasmine]: The file "/Users/shrop/Projects/www/server/fixtures.comments.js" has syntax errors. [TypeError: Cannot call method 'count' of undefined]

Closing since this is being worked on in #40


Container inspect and start + unit tests

PR for #46 implemented and unit tested Container.inspect and Container.start. Left puzzle for continuing implementation.

Job #56 is now in scope, role is REV

@0crat assign @llorllale

@0crat assign @llorllale  (here)

@amihaiemil This pull request #56 is assigned to @llorllale/z, here is why. The budget is 15 minutes, see §4. Please, read §27 and when you decide to accept the changes, inform @amihaiemil/z (the architect) right in this ticket. If you decide that this PR should not be accepted ever, also inform the architect.

Manual assignment of issues is discouraged, see §19: -5 points just awarded to @amihaiemil/z

@llorllale I gave you the REV role. I think this will catch some mistakes I make and also help you learn the architecture better :D

@llorllale I wrote more unit tests and left a puzzle for integration tests.
About refactoring of HTTP calls, yes, should be done eventually (I also noticed we already have a little duplication, especially with reading the Json payload). But I am not sure what you have in mind about it, could you open an Issue and explain in more detail?
And yes, UnexpectedResponseException would be a RuntimException, mostly because users may be sure that the calls will be succesful (container exists, can be started etc), it makes no sense to polute their code with try/catch always.

@amihaiemil

it makes no sense to polute their code with try/catch always.

But Container.start() declares a checked exception (IOException)...

@llorllale Yes, but IOException is another story; as I said above, that is for networking problems. Receiving a 404 response from Container.inspect() for instance, is not a networking problem, that's how the API works since the Container was not found anymore... we just don't know how to handle that situation so we throw an exception.
They try/catch for IOException, but it should be clear what is its purpose. If we make UnexpectedResponseException extend IOException, then they will have to check the type of IOException in every catch and make sure it's not actually a valid, but unexpected response. Makes sense now? :D

@amihaiemil left a couple more comments

Makes sense now?

I understood you from the start, we just happen to disagree, but that's OK.

@llorllale fixed the null; throws ISE same as start(), for now. I also added more tests for those statuses :)

@amihaiemil just one more minor comment and we're golden

@rultor merge it

@rultor merge it

@amihaiemil Done! FYI, the full log is here (took me 2min)

Order was finished: +15 points just awarded to @llorllale/z

The job #56 is now out of scope

Payment to ARC for a closed pull request, as in §28: +10 points just awarded to @amihaiemil/z


Hero9 GPS accuracy

Hello @dnewman-gpsw ,
Not sure this is the right place to report on this, as it might be hardware related or anecdotal (a bad unit). Let me know if you want this sent somewhere else.
I noticed my HERO9 was struggling with the GPS data and decided to run some tests side by side with the HERO8. I posted the results here: https://community.gopro.com/t5/GoPro-Telemetry-GPS-overlays/Hero-9-for-telemetry/gpm-p/724365#M635
To sum up, the HERO9 seems to lose any GPS accuracy after some seconds, although it still reports good Fix and Precision values (at least for some data samples).
It might just be my unit, so unless a firmware update that fixes this is expected I will try to get it replaced and test it again.

We are investigating the GPS precision issues.  I have included your analysis in the bug report.

Thanks. I talked to other owners that seem to have a good unit, GPS-wise

Update: After talking to many users, the problem seems very widespread. I could only find a couple of users with good GPS samples. Either they got good hardware and the rest of the units have some issue, or they were lucky when recording their videos (in my experience 3%-8% of video files have close to usable GPS data), which could indicate that this is solvable with a firmware update.
I suppose you can't comment on whether it's a firmware or a hardware issue.
Thank you.

I'm still following the issue. No idea yet why this is.

Hey,
I'm just pinging for an update.
Facing the same issue, and so far no clew wheter this is going to be fixed or not.
If needed I can provide more data and samples

We have confirmed the issue and are looking for a good firmware (update) to address it.

Looking forward to the new firmware to address this problem.

Hi,
Joining the conversation as well to hear about the fix. None of my videos report telemetry/gps data even when gos has been always enabled.

I'm closing this ticket as it is not a bug related to the GPMF-parser.


make ui::setItem async

show ui first and then incrementally add items onData arrives
This was original behavior I first implemented, but removed for simplify overhaul make easier

I once did async set Item at very early phase of narrow, but removed, now I'm OK without async until it really getting necessary.


Remove table access references in explainer

Changing the explainer to reflect the change in API shape, removing table access API and references.
There will be a subsequent PR to remove references in the spec document as well at a later date.

We've heard from partners that this alternative does not provide a lot of value, and may in fact be
counter-productive, because intended use-cases of this API subsume font data parsing tasks and
require re-assembling the tables into a whole.

Does this mean that vendors looking to port existing software packages to the web already have font parsing code that generates data structures that the rest of the code already knows how to use and so including a font parser in the browser isn't useful to those vendors?


Bug 495 card should be added to all tagged decks not just the first one

I have a change which fixes #495, allowing a card to be added simultaneously to multiple decks if the note is tagged with multiple valid deck tags.
This does lead to some questionable behavior, where if a user tags the same note with #parentTag and #parentTag/childTag, then the cards in that note will be single-counted in the #parentTag/childTag deck (which is fine), but double-counted in the #parentTag deck (which seems weird, but hey it's what they've literally asked for by doing that).
Example of what I mean
Here's the contents of the note:

and here's the resulting UI from this plugin when you use the 'cram flashcards in this note' command:

I'm not sure if this is how we want the plugin to behave, or if we would perhaps like to make it configurable by having a setting that determines what happens in this situation. I'm open to suggestions, as I haven't been using the obsidian-spaced-repetition plugin personally for very long so I don't have a good feel for what makes sense here.

This does lead to some questionable behavior, where if a user tags the same note with #parentTag and #parentTag/childTag, then the cards in that note will be single-counted in the #parentTag/childTag deck (which is fine), but double-counted in the #parentTag deck (which seems weird, but hey it's what they've literally asked for by doing that).

Yeah, this approach would break a few things like the counting as you've mentioned and we'd have the card in multiple decks, so if we review it the first time in deck A, the same card will show up later in the same review session (in deck A/B).
We'll probably need to rewrite parts of this plugin to use hash(cardText) as IDs to make it easier to remove/pick/update the same card in multiple decks

Any chances to check this merge conflicts @MostlyArmless ? This PR looks really really promising...

Sure I'll take a look tonight.

Hi @4Source
Yes, if actually been quite involved, but I'm at the tail end. I'm hoping to release a beta version in the next couple of days. Will you be able to test and give me feedback?

I think that should be possible. I'll wait for the release. Will you mark this here when the time comes?

Hi @4Source @MostlyArmless @pikatwinky (and anyone else)
I have completed the update but would appreciate beta testing and feedback before I finalise the PR.
The draft PR together with the updated code is available at:
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/834
Cheers
Ronny

Hi @MostlyArmless have you had a chance to look at https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/834?
After all your good work with this PR, I want to make sure you are happy with the final result.
Cheers
Ronny

This has been superseded by #834, which was based on the refactored code base.


How to choose discrete gpu on optimus laptop?

Hi,
I have a laptop with an integrated Intel GPU and a discrete Nvidia GPU. I have set up the Nvidia driver to work with x11docker, but how do I make applications in a container actually use the Nvidia card and not the Intel one?

Hi,
I am not exactly sure.
AFAIK tools like bumblebee set some environment variables.
If those variables are set in the container environment, too, it might work. (x11docker option --env.)
Does x11docker already install the NVIDIA driver in container?

I found it out yesterday. The container does install the Nvidia driver, yes.
What I did was set the same environment variables as this script (originally part of the nvidia-prime arch linux package): https://github.com/archlinux/svntogit-packages/blob/packages/nvidia-prime/trunk/prime-run
Setting these variables in the container makes applications run on the Nvidia card.
By the way: With Nvidia 490 supporting GBM as well as Gnome 41 having support for Nvidia's GBM path, x11docker now works with Wayland and Xwayland, even on Nvidia!

Thank you for the feedback! Great that you already found a solution.
x11docker could set these variables if present in the environment and option --gpu is set.
So prime-run x11docker --gpu [...] would work immediately.

By the way: With Nvidia 490 supporting GBM as well as Gnome 41 having support for Nvidia's GBM path, x11docker now works with Wayland and Xwayland, even on Nvidia!

Interesting news. However this works only for the case Gnome>=41 and Nvidia>=490?
It does not work for other desktop environments?

The latest commit adds prime-run support.
Running prime-run x11docker --gpu [...] should work now.
Please update and run a test.

Interesting news. However this works only for the case Gnome>=41 and Nvidia>=490? It does not work for other desktop environments?

I bet it works on any Wayland compositor that uses Nvidia's GBM implementation. Right now I think that is KDE and Gnome (unsure about Sway and other Wlroots based ones).

The latest commit adds prime-run support.
Running prime-run x11docker --gpu [...] should work now.
Please update and run a test.

This works, thank you!
One thing though: Is there any way to bypass the fact that you need to have the same username inside the container as on the host for the GPU to work? This happens both for my integrated GPU and discrete GPU. When not using prime-run having a different username leads to software rendering (llvmpipe), while with prime-run nothing works.

One thing though: Is there any way to bypass the fact that you need to have the same username inside the container as on the host for the GPU to work?

The container user chosen with option --user should make no difference.
Only with options --weston, --kwin and --hostwayland the container user must be the same as the host user. This is because the wayland socket resides in XDG_RUNTIME_DIR that is owned by the host user.
X sockets (including those of Xwayland) reside in /tmp/.X11-unix and are not bound to specific users.
In which setup does --gpu not work for you (command example)?

I have added a check for NVIDIA>=470.x and Xwayland>=21.1.2 that should support Wayland and Xwayland setups with NVIDIA cards.

One thing though: Is there any way to bypass the fact that you need to have the same username inside the container as on the host for the GPU to work?

This should not happen and I'd still be interested to hear more about this. Can you give me an example?

One thing though: Is there any way to bypass the fact that you need to have the same username inside the container as on the host for the GPU to work?

The container user chosen with option --user should make no difference. Only with options --weston, --kwin and --hostwayland the container user must be the same as the host user. This is because the wayland socket resides in XDG_RUNTIME_DIR that is owned by the host user. X sockets (including those of Xwayland) reside in /tmp/.X11-unix and are not bound to specific users.
In which setup does --gpu not work for you (command example)?

Sorry for the late reply, totally forgot about this!
My command is:
x11docker --network=host -i -g --share=ros --env TERM=${TERM} --init --hostdisplay --group-add={video,render} --sudouser <image>

Thank you for responding!

My command is:
x11docker --network=host -i -g --share=ros --env TERM=${TERM} --init --hostdisplay --group-add={video,render} --sudouser

I've tested this with:
x11docker --network=host -i -g  --env TERM=${TERM} --init --hostdisplay --group-add={video,render} --sudouser x11docker/check bash

GPU acceleration works well here. Is this really an example where GPU does not work for you?

Side notes:

You do not need to set options --init and --group-add={video,render}. x11docker sets them automatically.
--network=host should only be used if there is an urgent need to do so.

No, you are right. I meant to have --user=RETAIN, not --sudouser.

Thank you, I found a bug! Though, it caused to fail X access independent from --gpu.
It is fixed now in latest master version. --gpu --user=RETAIN works now.


Implement plugin activation message

Summary
Implements the plugin activation message according to the designs shared at #2853
Relevant Technical Choices

For testing & review purposes only: This PR currently includes a small theme switcher. Double click on the message to switch between light and dark theme.
This way we can get a better sense for which works best. Also, theoretically we can keep both themes and do A/B testing in the future.
This switcher will be removed before merge.
The original design does not work on a 15 inch screen. I took some liberty to make some assets smaller, and to add some responsive design to the whole thing.
Ensures that all clicks to links within the message can be tracked.

To-do

[ ] Implement Get Started story (#2845)
[ ] Remove theme switcher once settled for a theme.
[ ] Visual fine tuning
[ ] Storybook

User-facing changes
Implements a new plugin activation message, check screenshots below:

Small Screen (Smartphone)

Small Tablet

Large Tablet

Desktop

Testing Instructions

Deactivate plugin.
Activate plugin.
Verify that all links work (except for Get Started story!)
Verify that images are clickable too
Verify that plugin activation message is responsive
On smaller screens, a "See sample story" link is displayed below the "Launch the editor"  button

Fixes #2853

There are some issues with RTL. I am not for if we officially support this, but this feels like a simple fix.

This is looking great, some small nit picks and RTL support. Otherwise 👍

Thanks a lot @spacedmonkey! I believe I addressed all reported issues now.


Gradient checkpointing issue when running QLoRA finetuning

Finetuning the mpt-7b and mpt-30b using qlora gives the error "ValueError: MPTForCausalLM does not support gradient checkpointing.". Is there a way to fix this?

are these lines of codes what is needed to make it work? cekal's amendment seems to work on the 7b version:
https://huggingface.co/cekal/mpt-7b-peft-compatible/commit/a5eab52c1c61c1d50a4e01428949f6ff90c73c48
But not sure if it works fully as intended. Could someone in MosaicML check this? Thanks


What my issue when I run train.py

whats my issue is:

1 my 'make' in lib was:
python setup.py build_ext --inplace    running build_ext skipping 'boxes/bbox.c' Cython extension (up-to-date) skipping 'boxes/cython_anchor.c' Cython extension (up-to-date) skipping 'boxes/cython_bbox_transform.c' Cython extension (up-to-date) skipping 'boxes/nms.c' Cython extension (up-to-date) skipping 'nms/cpu_nms.c' Cython extension (up-to-date) skipping 'nms/gpu_nms.cpp' Cython extension (up-to-date) rm -rf build sh make.sh make[1]: Entering directory /home/king/Documents/macqueen/FastMaskRCNN/libs/datasets/pycocotools python setup.py build_ext --inplace running build_ext rm -rf build make[1]: Leaving directory /home/king/Documents/macqueen/FastMaskRCNN/libs/datasets/pycocotools /home/king/Documents/macqueen/FastMaskRCNN/libs

I don't know whether it is right

and when i run the train.py I get the error:

`
Traceback (most recent call last):
File "train/train.py", line 187, in
train()
File "train/train.py", line 100, in train
is_training=True)
File "train/../libs/datasets/dataset_factory.py", line 18, in get_dataset
image, gt_boxes, gt_masks = coco_preprocess.preprocess_image(image, gt_boxes, gt_masks, is_training)
File "train/../libs/preprocessings/coco_v1.py", line 23, in preprocess_image
return preprocess_for_training(image, gt_boxes, gt_masks)
File "train/../libs/preprocessings/coco_v1.py", line 38, in preprocess_for_training
lambda: (image, gt_boxes, gt_masks))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 1710, in cond
orig_res, res_t = context_t.BuildCondBranch(fn1)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/control_flow_ops.py", line 1613, in BuildCondBranch
r = fn()
File "train/../libs/preprocessings/coco_v1.py", line 35, in
lambda: (preprocess_utils.flip_image(image),
File "train/../libs/preprocessings/utils.py", line 170, in flip_image
return tf.reverse(image, axis=[1])
TypeError: reverse() got an unexpected keyword argument 'axis'
`

looks like you're on a wrong TF version, which version are you on?

I have meet the similarity problem, my TF version is 1.1.0,

see:
https://www.tensorflow.org/api_docs/python/tf/reverse

i have same problem.did you  solved it?


The tree status is not kept van switching from attributes to events and back in history view

When using the history view, the status is of the tree is not retained when switching from the attributes to events and back.
Screencast from 09-20-2022 05:53:10 AM.webm

Hey team! Please add your planning poker estimate with Zenhub @LauraStordeur @matborowczyk

This requires to store the state which is quite complex and the expand all buttons can fix this.


@pollyjs/ember - Sourcemap support

Sourcemaps should be included.
Feedback given within #12

Running into issues where ember-cli isn't concatting the map files correctly.  I believe it's related to https://github.com/babel/babel/issues/6008.  When I did the sourcemaps forced into assets the lines were not mapping correctly.  I suspect because of the amd shim around the UMD module.
Blocked on the above.  Treating as a dependency issue and closing as will not fix for now.


seo: add robots.txt

Pull Request Test Coverage Report for Build 935

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 934:
0.0%

Covered Lines:
41

Relevant Lines:
41

💛  - Coveralls


Extend GADGET_TRACE_MAP() and fix TODO

This PR extends the GADGET_TRACE_MAP() macro to provide more information and by using it fix a TODO in the code.

gadgets: Extend GADGET_TRACE_MAP()
gadgets: Dot not rely on BTF map type

@alban @flyth do you have any comments about this PR?


Travis CI doesn't run unit tests

The relevant fragment of travis script looks like this:
script:
  - sbt -J-XX:ReservedCodeCacheSize=128m "$SCRIPTED_TEST"

I believe we should add sbt test in front of running scripted tests.

I should probably rename that variable to $SBT_COMMAND or something.
https://github.com/sbt/sbt/blob/d06b49d66dc3f594e8b385b0e2a020a49c62e059/.travis.yml#L18-L19
    - SCRIPTED_TEST="safeUnitTests"
    - SCRIPTED_TEST="otherUnitTests"

Oh yes, I see where I got confused. Let me see what unit tests are being ran.

Ok, so it runs most of units tests but not from compileInterfaceProj. Is that a simple omission in safeProjects?
lazy val safeProjects: ScopeFilter = ScopeFilter(
  inProjects(mainSettingsProj, mainProj, ivyProj, completeProj,
    actionsProj, classpathProj, collectionProj, compileIncrementalProj,
    logProj, runProj, stdTaskProj, compilerProj),
  inConfigurations(Test)
)

I'm guessing it is an omission.

PR coming.

o wow. It's actually failing too:
[info] DependencySpecification
[info] x Extracted source dependencies from public members
[error]  Set('E, 'A, 'G, 'B, 'D) is not equal to Set('E, 'A, 'G, 'B, 'C, 'D) (DependencySpecification.scala:29)
[error] Expected: ...'B, '[C, ']D)
[error] Actual:   ...'B, '[]D)

Yes, that's how I discovered it.

Fixed by #2358


Identify wireframing tool (Figma?)

Starting with the possibility of using Figma, explore & describe what would be our path to use this for publishing re-usable design-tied-to-code components.

Of note to this is a status update in a bcgov/figma repo that I accidentally found:

Project Status
(Sep 8, 2020) - Lifecycle: Dormant

This project is unlikely to progress because:

My current work isn't requiring me to create wireframes.
Most designers working on B.C. Government applications are not using Figma.
A review of wireframing tools conducted by the Government Digital Experience Division recommended against Figma due to some of the terms in its User Agreement.
A Privacy Impact Assessment was completed by the Ministry of Health for Adobe XD, making it easier for B.C. Government designers to adopt and get a proper licence for Adobe XD.
I still ❤ Figma, but will archive this repo for now. If you are interested in resurrecting this work, contact me at<EMAIL_ADDRESS>

Let's see if we can find out more about this in particular:

A review of wireframing tools conducted by the Government Digital Experience Division recommended against Figma due to some of the terms in its User Agreement

https://teams.microsoft.com/l/message/19:76c9d23576164ac88020b300bf89a167@thread.skype/1642632894732?tenantId=55bc71c2-5150-4ff8-bbcd-d94bc32bf20c&groupId=6436d3c5-125c-471e-94ee-72c0a6862346&parentMessageId=1642632894732&teamName=Button Home&channelName=General&createdTime=1642632894732
Thread for documenting figma decision


No VB Examples

Microsoft Docs example for VB are getting scarce. Not sure why, VB is still as revelant as C# if not more so. Some docs do offer the opportunity to switch languages for the examples, however they are few and far inbetween. Tons of apps out there are still VB and new ones are still being developed using VB. Please provide examples for documention in both popular languages.
Makes it harder to learn new technologies with examples using code containing a superfluous and terse language base with excessive characters that has no function. Don't get me started on variables that are case sensitve. Not a bright idea.

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

ID: 9c8be815-df51-dc77-fb5b-ccfa7f742e10
Version Independent ID: 353c54e3-b7c9-fcdd-ca71-2a11beab19fd
Content: Code First to a New Database - EF6
Content Source: entity-framework/ef6/modeling/code-first/workflows/new-database.md
Product: entity-framework
Technology: entity-framework-6
GitHub Login: @ajcvickers
Microsoft Alias: avickers

This issue has been closed because EF6 is no longer being actively developed. We are instead focusing on stability of the codebase, which means we will only make changes to address security issues. See the repo README for more information.


Folding into a Value that is inside a tuple fails with UnMapData error when using value.zero()

What Git revision are you using?
v1.0.7-alpha
What operating system are you using, and which version?
Linux / Ubuntu
Describe what the problem is?
I have this file:
use aiken/transaction/value.{Value}
use aiken/list

test foldl_value_test1() {
  let val1 = value.from_lovelace(1000000)
  let val2 = value.from_lovelace(2000000)
  let foo = fn (i: Value, acc: (Value,Int)) {
    let (v,int) = acc
    (value.add(i,v),int + 1)
  }
  list.foldl([val1,val2],foo,(value.zero(),0)) == (value.from_lovelace(3000000),2)
}

test foldl_value_test2() {
  let val1 = value.from_lovelace(1000000)
  let val2 = value.from_lovelace(2000000)
  let foo = fn (i: Value, acc: (Value,Int)) {
    let (v,int) = acc
    (value.add(i,v),int + 1)
  }
  list.foldl([val1,val2],foo,(value.from_lovelace(0),0)) == (value.from_lovelace(3000000),2)
}

These tests are identical in that they fold a list of Value into a (Value,Int) where the Value is the total value and the Int is the size of the list. The only difference between the two tests is that the first one uses value.zero() to initialize the Value accumulator while the second one uses value.from_lovelace(0). Running these two tests with aiken check results in:
Compiling aiken-lang/stdlib main (/home/user1/Documents/aiken/foldl_test/build/packages/aiken-lang-stdlib)
    Compiling fallen-icarus/foldl_test 0.0.0 (/home/user1/Documents/aiken/foldl_test)
      Testing ...

    ┍━ foldl ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    │ FAIL [mem:  21064, cpu:  7261673] foldl_value_test1
    │ PASS [mem: 128722, cpu: 46281134] foldl_value_test2
    ┕━━━━━━━━━━━━━━━━━━━━━━ 2 tests | 1 passed | 1 failed

/home/user1/Documents/aiken/foldl_test/validators/foldl.ak

  × foldl_value_test1 failed
  help: ┍━ left ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┑
        │ Failed to deserialise PlutusData using UnMapData: │
        │                                                   │
        │ Con(                                              │
        │     Data(                                         │
        │         Array(                                    │
        │             [],                                   │
        │         ),                                        │
        │     ),                                            │
        │ )                                                 │
        ┕━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┙

        should be equal to

        ┍━ right ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┑
        │ (con pair<data, data> [#a140a1401a002dc6c0,#02]) │
        ┕━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┙

Summary
    1 error, 0 warnings

The first test fails due to an UnMapData error while the second one succeeds. This error only seems to occur if the Value is inside another data structure when it is being folded into. For example, the following test works fine:
test foldl_value_test3() {
  let val1 = value.from_lovelace(1000000)
  let val2 = value.from_lovelace(2000000)
  let foo = fn (i: Value, acc: Value) {
    value.add(i,acc)
  }
  list.foldl([val1,val2],foo,value.zero()) == value.from_lovelace(3000000)
}

The return type here is just Value.
What should be the expected behavior?
It should work using value.zero() regardless of nesting.

Fixed in commit bfd2a50a6bfb0fb346f8e4982201fe8ec703e357


expandable exercise and submission feedback is shown everywhere

feedback for submission is stored in the corresponding file
exercise in the list is expandable to list the submissions
adds submission count
adds icons based on the status
implement listeners to dynamically change visuals representing the state (icons, font colors etc.)


wait_for_certificate_issued input not waiting until the certificate is issued

Describe the Bug
First time applying my Terraform stack ends in:
Error: creating ELBv2 Listener (arn:aws:elasticloadbalancing:eu-central-1:128840427886:loadbalancer/app/XXX/9202ae7b846a2e1c): UnsupportedCertificate: The certificate 'arn:aws:acm:eu-central-1:128840427886:certificate/e7050367-4b27-4582-8157-3fa96710fccd' must have a fully-qualified domain name, a supported signature, and a supported key size.

after waiting some minutes the next apply show the change of the validation:
module.acm.module.acm_request_certificate.aws_acm_certificate.default[0] has changed
  ~ resource "aws_acm_certificate" "default" {
        id                        = "arn:aws:acm:eu-central-1:128840427886:certificate/e7050367-4b27-4582-8157-3fa96710fccd"
      ~ status                    = "PENDING_VALIDATION" -> "ISSUED"
      + tags                      = {}
        # (7 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

The next apply was sucessfully completed .
I have set wait_for_certificate_issued = true
it should not prevent this ?

@tbpoetke The input uses this resource aws_acm_certificate_validation and we are limited by the inputs of this resource.
https://github.com/cloudposse/terraform-aws-acm-request-certificate/blob/6cce676a316326f3e91edfb53afce4a29c68cba7/main.tf#L49-L53
We have considered using an outside sleep but it would be better to improve the above resource in the aws provider than to put in a custom sleep.


test: remove redundent config tests

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#156  👈
#155
#137 : 1 other dependent PR (#138 )
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ArniStarkware and the rest of your teammates on  Graphite

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

Project coverage is 51.28%. Comparing base (31d798d) to head (67eba04).

Additional details and impacted files
@@                            Coverage Diff                             @@
##           arni/config/mempool_node/update_config     #156      +/-   ##
==========================================================================
- Coverage                                   52.09%   51.28%   -0.81%
==========================================================================
  Files                                          20       20
  Lines                                         741      741
  Branches                                      741      741
==========================================================================
- Hits                                          386      380       -6
- Misses                                        337      341       +4
- Partials                                       18       20       +2

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


Livebook 0.10.0 hangs on Windows with mixed installation

Local Elixir:
Erlang/OTP 25 [erts-13.0.4] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns]
Elixir 1.14.4 (compiled with Erlang/OTP 25)
Livebook Elixir:
Erlang/OTP 26 [erts-14.0.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit:ns] [win32]
Elixir
1.15.2
Phoenix
1.7.5
Livebook
0.10.0
Upon initial connection to a local node, terminal threw:
/AppData/Local/Livebook/rel/lib/livebook-0.10.0/ebin/Elixir.Livebook.Runtime.Evaluator.IOProxy.beam failed: :badfile

11:23:11.492 [error] beam\beam_load.c(190): Error loading module 'Elixir.Livebook.Runtime.Evaluator.IOProxy':
  This BEAM file was compiled for a later version of the runtime system than the current (Erlang/OTP 25).
  To fix this, please re-compile this module with an Erlang/OTP 25 compiler.
  (Use of opcode 182; this emulator supports only up to 180.)

Since then Livebook does not execute any code neither connect to a local node.

This is expected. As of v0.10, you can only connect to nodes running on Erlang/OTP 26 or later and Elixir v1.15.2 or later.

I have added the Erlang/Elixir info to the attached node page.


how to set max tokens and temperature

Verify latest release

[X] I verified that the issue exists in the latest chatgpt release

Verify webapp is working

[X] I verify that the ChatGPT webapp is working properly for this account.

Environment details
how to set max tokens and temperature
Describe the Bug
how to set max tokens and temperature

const api = new ChatGPTAPI({ completionParams: { temperature: 0.5 }, maxResponseTokens: 50 })

Note: you can set any OpenAI params in completionParams.
Note: we're overriding max_tokens right now depending on how large your context window and prompt are, so maxResponseTokens will override that.


_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 56s
the patch passed

+1 :green_heart:
compile
0m 28s
the patch passed

+1 :green_heart:
javac
0m 28s
the patch passed

+1 :green_heart:
shadedjars
5m 11s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 25s
hbase-client in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
1m  6s
hbase-client in the patch passed.

22m 52s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1641/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1641

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux e6bcad087a11 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 7313b4f5aa

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1641/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-client.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1641/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-client.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1641/1/testReport/

Max. process+thread count
267 (vs. ulimit of 12500)

modules
C: hbase-client U: hbase-client

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1641/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 32s
Docker mode activated.


When I click on Dashboard the Dashboard stopped and then after sometime it crashed

Dev Home version
0.1201.442.0
Windows build number
10.0.22621.3374
Other software
OS Build Version: 10.0.22621.3374.amd64fre.ni_release.220506-1250
.NET Version: .NET 8.0.1
Steps to reproduce the bug
Go to Dashboard.
Expected result
It should load the empty Dashboard.
Actual result
Dev Home crashed.
Included System Information
CPU: Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz
Physical Memory: 11.89GB (1.92GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHome_0.1201.442.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHome_0.1201.442.0_x64__8wekyb3d8bbwe
Microsoft.DevHomeMicrosoftGameDevExtension_0.400.435.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_0.1200.442.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeAzureExtension_0.700.442.0_x64__8wekyb3d8bbwe
9932MartCliment.WingetUIWidgets_<IP_ADDRESS>_x64__g91dtg5srk15g
Widget Service:
MicrosoftWindows.Client.WebExperience_523.11500.0.0_x64__cw5n1h2txyewy
A picture

Duplicate of #2401


Samsung air conditioner not supported?

Hello,
Your readme states that this works on more OEM devices from midea.
I tried it on a Samsung device and it did not work
I installed md-smartng via docker and discover command always stated device not found.
Is there other way to test or it does not support Samsung at all?

What Android/iOS app does your Samsung device use?
Did you use --network=host for the Docker container?

Hello,
Yes I used that command.
It uses Samsung smart things

Hm..then I'd guess the device isn't compatible.
I examined the SmartThings APK and wasn't able to find any msmart references. Another sign this device is incompatible.
Can you find the WiFi kit/dongle? Midea compatible dongles are usually OSK-105 or OSK-103.

Hello, thank you for the reply.
Maybe I shouldn't have raised this issue.
I don't see any external dongle it's integrated on the AC... Maybe on some sort of integrated board, but I did not, and don't know how to, open the carcass and iam affraid to do so.
It's model is AR12TXFCAWKNEU it has NASA protocol.
But I don't know more. Probably it isn't supported.
Thanks anyway

Thanks for the info. Sorry this doesn't work for you.


New package: Kmers v0.1.0

Registering package: Kmers
Repository: https://github.com/BioJulia/Kmers.jl
Created by: @SabrinaJaye
Version: v0.1.0
Commit: f8ea398015fa384728c611b900d639ba46f73036
Reviewed by: @SabrinaJaye
Reference: https://github.com/BioJulia/Kmers.jl/commit/f8ea398015fa384728c611b900d639ba46f73036#commitcomment-75624004
Description: In development: Kmer types and methods for julia

Kmers are a fundamental genomics datatype and concept, in no way related to Timers. I don't think it will do any good to rename a fundamental concept.


Anoosha_foodon_03

Terms for GRDI

I'm a little puzzled why the foodon_product_import.ofn file has its classes loosing their names, now just having ID's - this is making for a much bigger diff than would be necessary.  Did protege look odd at top-level when changes were saved? Maybe in a zoom we can quickly go over the save action to see why?

Oh yes, I was wondering the same, but then I thought that maybe because I've opened .ofn format first time in my protege and these might be the recent changes. I even tried redoing the changes a couple of times but foodon_product_import.ofn had the same issue every time.
I'm on campus, so in case you are planning to come to campus today, then we can meet before the lab meeting. Otherwise, just let me know when you're free to chat on zoom, I can talk anytime.

Are you working on foodon_product_import.ofn directly?  or are you working on foodon-edit.ofn and saving that, with changes percolating out to foodon_product_import.ofn .  The latter should be the way to go.  The former would, if alone cause many labels to be forgotten that were defined in  foodon-edit.ofn  I bet.

Right, then probably that's the issue because I was working directly on foodon_product_import.ofn. Okay, I am going revert those changes and will try the latter option. I'll let you know.
Thanks alot!!

It's working fine now. Sorry for all the trouble.
I am closing this pull request, so to avoid any errors. I'll generate a new one in the next couple of hours.
Thank you, Damion!!

Ok. FYI, you could copy the  foodon_product_import.ofn and foodon-edit.ofn as is in your branch to a new branch of master, then make one tweak on foodon-edit.ofn, and resave, and that would correct all the labels in foodon_product_import.ofn without you having to do any other edits.

Okay, I didn't know that, it's super helpful.
Noting it down for future edits as well. Thank you.


Drop cap float causes layout problems under a certain size

Given the following content:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<sile class="book" papersize="6in x 9in">


Add more sensors for main.uri, based on the context, i.e public or not

Create 2 new sensors: main.uri.mapped.public and main.uri.mapped.subnet

Build failed with:
GitHub pull request #378 to apache/brooklyn-server
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-eu2 (Ubuntu ubuntu ubuntu-eu docker) in workspace /home/jenkins/jenkins-slave/workspace/brooklyn-server-pull-requests
java.io.IOException: Failed to mkdirs: /home/jenkins/jenkins-slave/workspace/brooklyn-server-pull-requests

@tbouron can you kick this off again (e.g. by doing something like git commit --amend && git push --force branch)

Changes look good, and low risk to me! Eye-baling the code, I don't see how they could cause any problems or build failures.

@aledsage Force pushed, Jenkins is still complaining with the same error message. Something wrong on Apache Infra?

I've checked this branch out locally, to check it. Merging now (as jenkins builds is not managing to even try to build this).


Fix offload double issue by using float

Existing Sample Changes
Description
The main change is to fix an error where now Gen9 GPU offload no longer support double. (changed code to float instead).
Also modified compile script so that script won't attempt to run code if compile failed.
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[x ] Bug fix (non-breaking change which fixes an issue)
[x ] Implement fixes for ONSAM Jiras for ONSAM-1513

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x ] Command Line
[x ] oneapi-cli
[x ] When compiling the compliler flag "-Wall -Wformat-security -Werror=format-security" was used

It's been a few weeks. Is there anything I can do to get this approved?


web request block that allows all methods (GET, POST, PUT, DELETE, etc)

currently we only have Get. We should either have blocks for each, or support all methods on one block.

there are probably some opportunities here in thinking about how to consume/provide HTTP streams.


[FEATURE] Show dependent .dlls

Is your feature request related to a problem?
No
Describe the solution you'd like
I have some .dlls in a seperate project in my solution. When I reference these .dlls in my .csproj filde dependensee should show them in the dependency graph.
Describe alternatives you've considered
None
Additional context
For example Zenject does not offer a nuget-package so one has to download Zenject as .dlls and reference them in you project themself. DependenSee is not able to detect such a dependency. It looks like this in my .csproj-file:
...
<Reference Include="Zenject, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null">
        <HintPath>..\Zenject\Zenject.dll</HintPath>
</Reference>
...

Yep that looks about right. Will work on adding this to the next release.
Unfortunately no timeline yet.
Will update here when ready.

This is now fixed in 1.2.2
Please run dotnet tool update DependenSee --global to update.
Note that with this update, .NET Framework projects will start showing referenced BCL DLLs (i.e System, Microsoft.CSharp) as well.
Thanks for using DependenSee ♥

Can not wait to try it out, thank you


Remove the auto translation disclaimer

Update the docfx.json metadata to remove the auto translation disclaimer.

Docs Build status updates of commit b8310c3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

DocsLegal/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Option additions

A few additions I've found useful. Of note:

expect is inspired by Option.expect in Rust, to get more useful error messages.
orElse was originally named as such because or was a reserved keyword. In rescript it no longer is, and orElse carries a slightly different meaning (lazy construction) for those coming from Rust. It therefore seems like a good idea to use or for this and reserve orElse to conform to, or at least not conflict with, the Rust convention.

I'd also like to rename mapWithDefault and getWithDefault to mapOr and getOr because I think they're needlessly verbose as-is, but I know this would be a controversial change and has much wider impact so I've kept it out for now.

I like expectExn

Ok, let's do it like this:
Like this comment if you want it to be called expect.

And this if you want it to be called getExnWithMessage.

And this if you want it to be called getExnWithMessage.

I think this name is more coherent with the other functions, could also be called getExnWithMsg to make it shorter.

Naming-wise I prefer flatten to flat. That was one on my tentative list of missing functions. I'll try to get my list together in next 24 hours so we can discuss.

Didn't see this until tonight. Please see #85
I've surveyed F#, OCaml, Belt, fp-ts and think there are a lot of holes to fill. I'm putting together a proposal.

Please beware it's not a goal for this project to cover that ground. That's better done in another standalone library.

I’m confused about the goal. Cover what ground? F# doesn’t go crazy with their standard library and I think we’re missing some basic commonly used things. Fp -ts is a bit much - don’t understand a lot of the functional type classes. How about you see what I propose and let me know if it is too much.

From: Gabriel Nordeborn @.>
Sent: Tuesday, March 7, 2023 4:10:59 AM
To: rescript-association/rescript-core @.>
Cc: jmagaram @.>; Comment @.>
Subject: Re: [rescript-association/rescript-core] Option additions (PR #57)
Didn't see this until tonight. Please see #85https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frescript-association%2Frescript-core%2Fissues%2F85&data=05|01||89ebbb323a984fc5cf5608db1f0503dd|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638137878620563032|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=92hFRNszPvWe%2F2n6q5OMLMMcOwo7Qgs%2F%2FBgwq15ZdhE%3D&reserved=0
I've surveyed F#, OCaml, Belt, fp-ts and think there are a lot of holes to fill. I'm putting together a proposal.
Please beware it's not a goal for this project to cover that ground. That's better done in another standalone library.
—
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frescript-association%2Frescript-core%2Fpull%2F57%23issuecomment-1458063750&data=05|01||89ebbb323a984fc5cf5608db1f0503dd|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638137878620563032|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2BFf0l7Kq2jggfHMWFyS4wUU1nDFEmYI9grlZ6YCxC2I%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADLZYS3LVQ5XFIOZTCC7TWTW24QVHANCNFSM6AAAAAAVBAPU4Y&data=05|01||89ebbb323a984fc5cf5608db1f0503dd|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638137878620563032|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=UYS3oOiJBv3EiGw5lfUC38%2FdX4XfnyXZ9Mu4qjENaF4%3D&reserved=0.
You are receiving this because you commented.Message ID: @.***>

Small thing - when I switched from JavaScript I was happy to see the word "keep" instead of "filter" because it made it super clear what's happening. I still find it a bit confusing whether I am filtering stuff IN or OUT. Shorter word too. I'm not going to fight that battle though. "filter" is the word used almost everywhere and getting people over from JavaScript is the priority.

Ok see the issue for lots of ideas... https://github.com/rescript-association/rescript-core/issues/85

And this if you want it to be called getExnWithMessage.

I think this name is more coherent with the other functions, could also be called getExnWithMsg to make it shorter.

I don't know if we need these "withMessage" or "expect" features, regardless of what they are called. But I'm curious why we don't use optional labeled parameters instead so we don't pollute the namespace with tons of overrides. let getExn: (t<'a>, ~message: string=?) => 'a.

Optional labeled parameters cannot be put at the end, due to currying. If on function application ~message is omitted, it's not clear whether the intent is to fully apply it, or if it should return a function to later apply the missing ~message argument.

Forgive me if I'm not understanding, but why not...
 let getExn: (~message: string=?, t<'a>) => 'a

I just tried it as both these flavors it returns an int, no warnings.
let x = Some(4)->getExn
let y = Some(4)->getExn(~message="wow!")

Sure, that's a good alternative, though it is a bit more verbose. This style also won't work with bindings. This isn't a binding, of course, but if we're aiming for a consistent style that does work with bindings then this isn't it.
Another minor benefit of the expect name is that it sort of guides the user to a certain style of message that tends to yield more information to the developer trying to figure out why it happened. See the Rust documentation for example.

The first impression of @cknitt was this was for testing. Me too. It sounds very much like assert. I do not expect a name like expect to return a value. Those links @zth passed around used a message parameter on getExn so that means to me people think it is a natural place to put it. I prefer getExnMessage or getExnMsg Not trying to beat a dead horse here but wanted to speak my truth before this goes live.

Ok, adding an optionally labelled argument might actually be the best bet here in my opinion (let getExn: (~message:string =?, option<'a>) => 'a. One problem I see with that is that it will break existing code that does:
someOptArray->Array.map(Option.getExn)

...but. One goal of Core is to be "uncurried by default"-ready, and I believe that the above code would work as is in uncurried by default (cc @cristianoc).
@glennsl @cknitt what do you think?

Relevant for option design too: https://github.com/rescript-lang/rescript-compiler/issues/5628
Depending on whether new syntax is introduced, more patterns could be expressible natively.

I think it's fine. But I still think expect is better, because it's shorter and more explicit about intent. And it has precedent in Rust, where as far as I know no-one has confused production code for being unit tests when encountering it.

Our pattern is to group the getters together getUnsafe, getOr, getExn and I think we should stick to that pattern. I don't agree the intent is clearer calling it expect because it breaks the pattern and because the term is similar to assert. To me it is weird that Rust does what it does because they group things with unwrap.... They did originally have an unwrap_expect! I also thought part of our pattern was using Exn to clearly indicate when an exception can be thrown.
https://stackoverflow.com/questions/66362625/why-is-rusts-expect-called-expect
Eventually I want the Option module to have lots of functions inspired by other languages - Rust even as Option.xor. I don't think we need to worry about too many functions polluting the Intellisense menu and we don't need to hide this feature inside an optional parameter if it is useful. I'm happy to have this feature. I think it is less important than things like concat, reduce, exists, map2.
If we had a labeled optional argument at the end, must the label be used after the curry change? Because then we're still adding ~message=... or ~msg=... and it gets verbose. If not this seems like the best way to go - just type a custom message if you want one.
If someone really want this feature now here are some naming ideas and you can see how it fits in.
  let getOr: (t<'a>, 'a) => 'a
  let getOrWith: (t<'a>, unit => 'a) => 'a // proposed lazy form
  let getUnsafe: t<'a> => 'a

  let getExn: t<'a> => 'a

  let getExnWith: (t<'a>, string) => 'a
  let getExnWithMessage: (t<'a>, string) => 'a
  let getExnWithMsg: (t<'a>, string) => 'a
  let getExnMsg: (t<'a>, string) => 'a
  let getExnMessage: (t<'a>, string) => 'a
  let getOrMessageExn: (t<'a>, string) => 'a
  let getOrMsgExn: (t<'a>, string) => 'a
  let expect: (t<'a>, string) => 'a
  let expectExn: (t<'a>, string) => 'a


Jenkins server is showing error ..How can i fix it?

While plugins are downloading i will disturb that then its showing like attach below..

Hi prasadsai,
1.Delete JENKINS_HOME/plugins/pluginname.jpi.disabled for the respective plugins
2.Restart jenkins service

Hi prasadsai,
1.Delete JENKINS_HOME/plugins/pluginname.jpi.disabled for the respective plugins
2.Restart jenkins service
Bro..
Its not resolved, i forgot the plugins names .Even i check the logs of jenkins i not able to reslove issue

hi,
once try this out:
cd /var/lib/jenkins/plugins
ls -la | grep disable
remove plugins which are disabled

hi, prasadsai
restart the jenkins server.
if resolved this issue please close the issue


Make returning execution data via signed URL optional

Signed-off-by: Katrina Rogan<EMAIL_ADDRESS>TL;DR
Signed URLs in get execution data calls are deprecated, like here. This PR introduces a config option to disable computing them for get execution data responses and defaults to omitting them altogether.
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[ ] Smoke tested
[x] Unit tests added
[x] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
fixes https://github.com/flyteorg/flyte/issues/1796
Follow-up issue
NA

PTAL @pmahindrakar-oss


Class weights

Hello,
I have an issue with the distribution of classes. I have 4000 negative bags and 500 positive bags and it always predicts as negative. I would like to add the class_weight parameter, but the parameters for the mi-SVM are limited.
Thanks!

Hi @mpourreza, yes, unfortunately this functionality is not currently implemented. I won't have any availability to make these changes, but if you or someone else adds the functionality and creates a pull request, I can merge it into the repo.


Folder Tree Hidden

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T17:16:27.618Z)
OS Version: Linux x64 4.10.0-32-generic
Extensions:

Extension
Author (truncated)
Version

html-snippets
abu
0.1.0

vscode-intelephense-client
bme
0.7.2

php-intellisense
fel
1.5.1

Go
luk
0.6.63

laravel-blade
one
1.8.1

laravel5-snippets
one
1.3.4

vscode-proto3
zxh
0.1.2

(2 theme extensions excluded)

Steps to Reproduce:

File > Open Folder > /var/www/targetFolder
Title is opened but folder tree is not visible

I have tried:

Open via command line inside the folder, same result.
sudo chown -R $USER:www-data /var/www/targetFolder no changes.
Disable all extensions & open again, same.
Current permission is 755, tried 777 & still the same.

Dev tools:

Reproduces without extensions: Yes

Maybe the same issue as #33148?

Yes, I can confirm that it's the same issue, I can open specific file inside but couldn't make any changes.

@chrmarti looks like the call to find is failing

I have the same problem on Windows 10 using Visual Code 1.15.1 with no extensions.
A folder, "my_folder" opens in the sidebar and all files and subfolders are visible as normal.
On opening my_folder later at some apparently random occasion my_folder opens but no files or subfolders are visible in the sidebar.
I know my_folder is open, because at the very top of VS code you can see the "VS Code logo - my_folder - Visual Studio Code". But there are no files or subfolders visible in the sidebar.
This behaviour is the same if you right click on my_folder and open with VS Code or if you open my_folder from the "File" drop down menu.
If I right click on a file inside my_folder to open a single file, the file opens in the side bar ok as normal.
If I change my_folder in Windows Explorer to, say, "my_folder_2", then my_folder_2 will open successfully in VSCode and show all the files in the sidebar.
It would appear that VS Code  "remembers" the initial folder, my_folder, and chooses not to display the contained files and subfolders.
However after opening and closing my_folder_2 some number of times, the behaviour of not showing the files and subfolders in the sidebar for my_folder_2 happens again.
Now VSCode "remembers" both my_folder and my_folder_2 and doesn't display the files and subfolders in the sidebar.
This process of renaming folders, temporarily being able to see the contained files and subfolders with VSCode remembering these "invisible" folders can be repeated for new folder names.
I hope this helps in isolating the bug.

Tracking as #33148