System.DllNotFoundException : Unable to load shared library 'Rpcrt4' on Ubuntu 18.04.4

Hi! Amazing work on this new nuget package!
I've only come across this error which is thrown on linux (Ubuntu 18.04) when trying to call .SaveChanges() straight after a .AddObject(). Same code works fine on a Windows 10 machine.
       //service here implements IOrganizationService
        using (var ctx = new XrmServiceContext(service))
        {
            ctx.AddObject(new Account() { Name = "Test account" });
            ctx.SaveChanges();

            var account = ctx.CreateQuery<Account>()
                        .ToList()
                        .FirstOrDefault();
        }

System.DllNotFoundException : Unable to load shared library 'Rpcrt4' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libRpcrt4: cannot open shared object file: No such file or directory Stack Trace: at Microsoft.Xrm.Sdk.Client.NativeMethods.UuidCreateSequential(Guid& ptrGuid) at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.CreateSequentialGuid() at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.SetNewId(Entity entity) at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.TraverseEntityGraph(Entity entity, Action1 onEntity, Action3 onLink, IEnumerable1 path)+MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.GetSaveChangesResult(SaveChangesResultCollection results, Entity entity) at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.GetChangeRequestsFromChangedTree(SaveChangesResultCollection results, Entity entity, IEnumerable1 path, IList1 circularLinks)+MoveNext() at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.GetChangeRequests(SaveChangesResultCollection results, Entity entity)+MoveNext() at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.SaveChanges(SaveChangesOptions options) at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.SaveChanges()

Thanks for the report,  We have identified the issue in an underlying library we are using and are working on a fix for it now.

We have pushed the fix for this into the <IP_ADDRESS>-Alpha nuget package that is deploying now,  Please do check the release notes as we also updated a number of discovery related operations.,

@MattB-msft  Awesome! I've tried now and it works perfectly with a few tests I had. Thanks a mill


zephir/parser/libtool: No such file or directory

I follow the instructions for installing zephir:
apt-get install re2c libpcre3-dev
Clone the repo
./install -c
Run zephir, output shows 0.9.3a-dev
Then I browse to phalcon on branch 2.1.x and run: zephir build --backend=ZendEngine3 and get the following error:
zephir_parser extension not loaded, compiling it
Parser statistics: 127 terminals, 99 nonterminals, 459 rules
                   947 states, 0 parser table entries, 0 conflicts
make: *** No rule to make target 'clean'.  Stop.
Preparing for parser compilation...
cp: cannot stat 'ltmain.sh': No such file or directory
sed: can't read ./ltmain.sh: No such file or directory
mv: cannot stat 'libtoolT': No such file or directory
cp: cannot stat 'libtoolT': No such file or directory
chmod: cannot access 'libtool': No such file or directory
Compiling the parser...
/bin/bash: /home/vagrant/zephir_composer/vendor/phalcon/zephir/parser/libtool: No such file or directory
make: *** [parser/parser.lo] Error 127
make: *** Waiting for unfinished jobs....
/bin/bash: /home/vagrant/zephir_composer/vendor/phalcon/zephir/parser/libtool: No such file or directory
make: *** [zephir_parser.lo] Error 127

Makefile:183: recipe for target 'parser/parser.lo' failed
Makefile:181: recipe for target 'zephir_parser.lo' failed

PHP Warning:  copy(modules/zephir_parser.so): failed to open stream: No such file or directory in /home/vagrant/zephir_composer/vendor/phalcon/zephir/Library/Compiler.php on line 271
Zephir\Exception: The zephir parser extension could not be found or compiled!

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34451285-php-warning-copy-modules-zephir_parser-so-failed-to-open-stream?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).

export ZEPHIRDIR=/usr/share/zephir
sudo mkdir -p $ZEPHIRDIR
cd /tmp
git clone git@github.com:phalcon/zephir.git
cd zephir
./install -c
sudo chown -R vagrant:vagrant $ZEPHIRDIR

Still getting the same error, only in the new directory.
The problem is, installing Zephir doens't create the zephir/parser/libtool.
I looked manually, and it is not there, which is why even running this under sudo doesn't work.

doens't create the zephir/parser/libtool

check access rights

I had to compile the zephir-parser, (which failed) but the parser-tools libs where created so I could at least compile phalcon.

@Handyman @chilimatic Could you please provide your environment settings, OS, installed dependencies and steps to reproduce

@sergeyklay
actually I fixed it. but still i had to compile the parser for phalcon to work
kernel + distro
Linux tuxis-world 4.4.0-22-generic #39-Ubuntu SMP Thu May 5 16:53:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Lin

Ubuntu 16/04
php version
php -v
PHP 7.0.4-7ubuntu2 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
    with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans

zephir & cphalcon are just cloned
git status
On branch master
Your branch is up-to-date with 'origin/master'.

cd ~/build/zephir/parser
./configure

checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes...  BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands

sudo make install
Installing shared extensions:     /usr/lib/php/20151012/

after that it worked
sudo zephir build —backend=ZendEngine3
Warning: Variable "_SESSION" assigned but not used in Phalcon\Session\Adapter::remove in /home/j/build/cphalcon/phalcon/session/adapter.zep on 204 [unused-variable]

	 }
	-^

Warning: Variable "beforeLine" assigned but not used in Phalcon\Debug::showTraceItem in /home/j/build/cphalcon/phalcon/debug.zep on 339 [unused-variable]

	   beforeLine, firstLine, afterLine, lastLine, i, linePosition, currentLine;
	-------------^

Warning: Class "Phalcon\Mvc\Group" does not exist at compile time in /home/j/build/cphalcon/phalcon/mvc/model.zep on 1397 [nonexistent-class]

	   messages->rewind();
	---------------------^

Warning: Class "Phalcon\Mvc\Group" does not exist at compile time in /home/j/build/cphalcon/phalcon/mvc/model.zep on 1400 [nonexistent-class]

	   while messages->valid() {
	---------------------------^

Warning: Class "Phalcon\Mvc\Group" does not exist at compile time in /home/j/build/cphalcon/phalcon/mvc/model.zep on 1402 [nonexistent-class]

	    let message = messages->current();
	-------------------------------------^

Warning: Class "Phalcon\Mvc\Group" does not exist at compile time in /home/j/build/cphalcon/phalcon/mvc/model.zep on 1412 [nonexistent-class]

	    messages->next();
	--------------------^

Warning: Function "\\sodium\\randombytes_buf" does not exist at compile time in /home/j/build/cphalcon/phalcon/security/random.zep on 124 [nonexistent-function]

	   return \\Sodium\\randombytes_buf(len);
	----------------------------------------^

Warning: Function "\\sodium\\randombytes_uniform" does not exist at compile time in /home/j/build/cphalcon/phalcon/security/random.zep on 320 [nonexistent-function]

	   return \\Sodium\\randombytes_uniform(len) + 1;
	---------------------------------------------^

Compiling...
Installing...
Extension installed!
Don't forget to restart your web server

I'm just guessing so correct me if I'm wrong, but since the normal clone of the zephir repos does not contain the compiled parser packages and the "install script" only copies the static compiled zephir bin to /usr/local/bin or something similar.
The compilation process of cphalcon with zephir than tries to link a the missing parser module which results in the reported error.
This is just guess work based on my observations. but if you download a clean ubuntu vagrant install the needed dependencies and just clone zephir + cphalcon -> trigger the zephir install script and try to compile cphalcon. I guess you can reproduce that issue.
I don't have time otherwise I would actually try it.

To build a PHP extension and use Zephir you need the following requirements:

gcc >= 4.x/clang >= 3.x
re2c 0.13 or later
gnu make 3.81 or later
autoconf 2.31 or later
automake 1.14 or later
libpcre3
php development headers and tools

For more refer to the documentation page: https://docs.zephir-lang.com/en/latest/install.html#prerequisites


Why does chaining a promise after an axios POST still return the original promise's value, when the Promise docs say that the last value should be returned?

I'm watching this course (for reference only)
https://www.udemy.com/react-redux/learn/v4/t/lecture/6946622?start=0
I'm at episode number 143, the start time is 6:15.
Initially you have this line which makes a POST request
const request = axios.post(`${ROOT_URL}/posts${API_KEY}`, values)

... then you're chaining a promise, like so
const request = axios.post(`${ROOT_URL}/posts${API_KEY}`, values)
     .then(()=>callback());

The callback is defined inline in a call (to method createPost) like so
class PostsNew extends Component {
   // ...

    onSubmit(values){
        this.props.createPost(values, () => {
            this.props.history.push('/');
        });
    }
}

So reading this about promises https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
(and I'm not a guru in javascript, lemme tell you that) it says that the return value from a promise call like this var promise = some_call().then(()=>{return 3}).then(()=>{return 1})....then(()=>{return 123}), should be the value returned by the last promise in the chain.
However in your example, the value returned by the first promise is used.
I even try to do weird things in the action creators, like this:
const request = axios.post(`${ROOT_URL}/posts${API_KEY}`, values)
    // dunno why the result of axios.post remains the result of the HTTP call, and the .then part()
        .then(()=>{console.log('fdfadsfas inside the freaking callback')})
        .then(()=>4)
        .then(()=>callback());

... and STILL it works, and I get back the expected data.
Am I not seeing something?
Thanks :)

I was thinking that maybe it's possible that I actually DO get my weird data inside the reducer, but because of the redirect, the reducer is called again with the proper state of the application, so I never see the error... lemme investigate that actually. :smile:


Unify with swagger-js converter.

swagger-js project has it own converter.
It part of private API and doesn't exposed to library users.
swagger-js used by swagger-ui this mean that converter heavily tested and more mature.
I compared both converters and found only one difference swagger-js download apiDeclarations on its  own. That also lead to async convert function.
@mohsen1 Could this two converters be merged into one?

The convertor in SwaggerJS does work with version 1.0 specs. It was written from scratch for that reason. We made this convertor prior to that for our own need and open sourced it. The file loading parts are not part of this repo because SwaggerTools is doing the heavy lifting for loading files. Turns our loading files in browser and server is it's own complex task so there is a repo for that which swagger tools is using.

The file loading parts are not part of this repo because SwaggerTools is doing the heavy lifting for loading files.

My idea is to take swagger-js converter and make it's API look like swagger-converter convert function. So made it sync and separate from file loader.

The convertor in SwaggerJS does work with version 1.0 specs. It was written from scratch for that reason.

In reality people doesn't really distinguish between 1.0, 1.1 and 1.2.
Right now I'm trying to convert 140+ Swagger documents explicitly marked as 1.2 and it's total mess.
AFAIK, developers think if swagger-ui shows it correctly that mean swagger document is valid enough.
With current version of swagger-converter I managed to convert and validate(using swagger-tools) only 7 out of 140+ specs.

We made this convertor prior to that for our own need and open sourced it.

I really like your library and it's already have community with developers open issues and RPs.
That is why I have idea to extend swagger-convert library and change swagger-js to use it.
API should stay the same and additional support for 1.0 and 1.1 should be backward-compatible.
I can do unification on per function basis by submitting PR.
And also adapt test-cases from swagger-js.
What do you think about such plan?

Keeping the API the same (sync and without worrying about loading) and adding other 1.x stuff support to this project is a great idea! I'm guessing @fehguy and @webron wont mind if you drop in a better replacement of existing convertor in swagger-ui/js.
It's a good amount of work. I would say coordinate with @fehguy and make sure they are willing to accept a PR like that before starting the work.
By the way I would like to learn more about the specs you couldn't convert using this project. What was missing?

By the way I would like to learn more about the specs you couldn't convert using this project. What was missing?

In general I found it really inefficient to fix issues based on output.
For example #27, was already fixed in swagger-js, see here.
Next issue was int type, it also already implemented here.
Tomorrow I will make an experiment, I will try to convert same specs using swagger-js converter.
I will put results here.

By the way. I have very interesting statistics, in first bath I accumulate:

Version
Percent
Number

1.0
4.31%
17

1.1
23.09%
91

1.2
60.65%
239

2.0
12.69%
50

I didn't specifically target any particular version so results should represent real situation.
That mean that only ~13% is 2.0 specs, this make a real demand for reliable converter.
If we want to switch Swagger ecosystem to use 2.0 specification.

Closing issue since I don't see too much 1.x Swagger specs anymore 🎉


Modifying Library in Existing App

@makovkastar I need to modify some of the library classes such as QuadTree so I can pass additional variables to ClusterItem, but it says that the library is read only since I imported it with gradle.
So I followed guides trying to import it as a module, but always got build errors such as
Error:(11, 0) Could not find method compile() for arguments [project ':subProject:library'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Open File
and
Error:(18, 0) Could not find method android() for arguments [build_enfbvdz6abztfoiqie2qzfmjg$_run_closure1@58eced6f] on root project 'ModuleImport2' of type org.gradle.api.Project. Open File
I followed these guides:
https://stackoverflow.com/questions/41764338/importing-module-in-android-studio
and
https://github.com/MagicMicky/FreemiumLibrary/wiki/Import-the-library-in-Android-Studio
Do you have a recommended method to adding your library to an existing project and be able to modify files?

@makovkastar sorry for the lack of responses. I was on vacation for a week and since the topic was closed I kept trying. Today I finally got it to work. here is a brief summary of my steps.

Download the whole project and unzip
in android studio File>new>Import Module - browse to the source and import the "library" folder only.
Modify the Libray's grade file to include the compiled SDK version, build version, minsdk version, targetsdk version, version code, version name, comment out annotations, put your play-version-maps:X.X.X, and publish name. All of this information will be in the project settings.
4.in the main app's gradle file add compile project(':NAME-OF-THE-LIBRARY)`

from what I have tried so far you can now use the libary as if you had imported it using the steps provided in the read-me.
The purpose for the import in the library was to add the .rotation(float) to the Marker Options.
I want to thank you for this awesome library. If it works how I am hoping it will be the corner stone of my app. I really appreciate you helping me day after day. All the best.


Options not working as intended?

Given the following task
vorpal
  .command('greet', 'Greets something')
  .option('--target', 'Who to greet', ['Jimmy', 'Bob', 'Jon'])
  .action(function (args) {
    this.log('Hello', args.options.target);
    return Promise.resolve();
  });

Upon attempting execution and successfully getting the autocomplete options, the arguments list the option as true instead of the intended value.
eg:
$greet --target Jim[tab]
$greet --target Jimmy

Which logs the following as a result:
Hello true

This is the case regardless if option is given an array / function / promise
Am I doing something wrong? docs error maybe?

Reminder to self: RTFM
Didn't realize the option definition needed an optional or required parameter if you need the value.
My bad!


Align several fields on same row?

Let's consider the following form:

It would be great to be able to align several fields on the same row:

It may be done introducing a new nga.row function. We may then add fields to it, and templates would render it in a single div.row element, with each size automatically computed (3 elements, 12 columns => div.col-md-4) unless specified.
What do you think of it?
We can already do it using custom template, but it requires to create new templating-purposed only directive to embed several fields. Pretty cumbersome and not optimal IMO.

Your second screenshot is really interesting: the label "first name" is at the same distance from the first and second form input. Users may have troubles dermining which input it concerns.
If we want to go down the multiple inputs per row path, I believe the GridForms layout is better.

As for how to make this configurable, I don't like the idea of a row function. Instead, a length function called on the field would set up the input length one by one; during rendering, if the sum of past renderer input lengths exceeds the max length of a row, we start a new row. This way, no need for a row function.
Example:

field 'foo' has length 5
field 'bar' has length 5
field 'baz' has length 2
field 'foobar' has length 12

Each row haw maxlength 12
So we'll render row 1 with 'foo', 'bar', and 'baz', and line 2 with 'foobar'.
Not sure it's easy to achieve with Angular.js, but the way to go IMO.

For the second screenshot, it has been made quickly on Gimp. But it may indeed be an issue. A solution may be to add an extra left padding to labels. Or perhaps should we add a col-md-offset. It would prevent from adding an extra dependency to GridForms.
:+1: with your solution of field lengths.

Any hint on how to do this?

Until we decide to do this, you can always override the edition view template (see Customizing The View Template For A Given Entity)

I started working on a fieldset field type, which can then have a series of fields associated. I made some progress on this, will fork and push it once I made some more progress.

@manuelnaranjo I would be greatly interested in such a feature! :+1:

@F3L1X79 follow #657


[CARBONDATA-432]added code for input metrics

This pr will update no of records read and bytes read from hdfs file system.
In Spark UI, user will be able to see above metrics.

Build Success with Spark 1.5.2, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/183/

Build Failed  with Spark 1.5.2, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/211/

Build Failed  with Spark 1.5.2, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/212/

Build Success with Spark 1.5.2, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/213/

Build Success with Spark 1.5.2, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/251/

please rebase

@ashokblend can you work on this, this PR can help user get more information in SparkUI

Its rebased, please review it.

Build Success with Spark 1.6.2, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/1005/

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/797/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/635/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1266/

closing it.


Handle Evmos ethermint.types.v1.EthAccount

See initial comment and discussion on https://github.com/eco-stake/restake/pull/67 for detail.

hey @tombeynon you can use evmosjs to support all the Evmos functionality (including accounts)

@hanchon can provide more details 👍

If you are using keplr you can do something like this:
yarn add @tharsis/transactions
yarn add @tharsis/provider
yarn add @tharsis/proto

This is the example on the lib's readme, but the delegate, undelegate, redelegate and claimRewards transactions are also supported. Sorry for the lack of documentation on that calls, I didn't have time to keep the docs up to date.
import { createMessageSend } from '@tharsis/transactions'

const chain = {
    chainId: 9000,
    cosmosChainId: 'evmos_9000-1',
}

const sender = {
    accountAddress: 'ethm1tfegf50n5xl0hd5cxfzjca3ylsfpg0fned5gqm',
    sequence: 1,
    accountNumber: 9,
    pubkey: 'AgTw+4v0daIrxsNSW4FcQ+IoingPseFwHO1DnssyoOqZ',
}

const fee = {
    amount: '20',
    denom: 'aevmos',
    gas: '200000',
}

const memo = ''

const params = {
    destinationAddress: 'evmos1pmk2r32ssqwps42y3c9d4clqlca403yd9wymgr',
    amount: '1',
    denom: 'aevmos',
}

const msg = createMessageSend(chain, sender, fee, memo, params)

To sign the message using keplr you need to do something like this:
import { createTxRaw } from '@tharsis/proto'

...
  const sign: {
    signed: {
      bodyBytes: Uint8Array
      authInfoBytes: Uint8Array
    }
    signature: {
      signature: string
    }
  } = await window.keplr.signDirect(
    chain.cosmosChainId,
    sender.accountAddress,
    {
      bodyBytes: msg.signDirect.body.serializeBinary(),
      authInfoBytes: msg.signDirect.authInfo.serializeBinary(),
      chainId: chain.cosmosChainId,
      accountNumber: sender.accountNumber,
    },
    { isEthereum: true },
  )

  return createTxRaw(sign.signed.bodyBytes, sign.signed.authInfoBytes, [
    new Uint8Array(Buffer.from(sign.signature.signature, 'base64')),
  ])

Then you can brodcast the tx using the rest api:
import { generateEndpointBroadcast, generatePostBodyBroadcast } from '@tharsis/provider'
import { protoTxNamespace } from '@tharsis/proto'
import { REACT_APP_NODE_URL } from '../blockchain/constants'
export async function broadcastRawTransaction(rawTx: {
message: protoTxNamespace.txn.TxRaw
path: string
}) {
// Broadcast it
const postOptions = {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: generatePostBodyBroadcast(rawTx)
}

const broadcastPost = await fetch(
  `${REACT_APP_NODE_URL}${generateEndpointBroadcast()}`,
  postOptions,
)
const response = await broadcastPost.json()

if (response.tx_response.code !== 0) {
  console.log(response.tx_response.raw_log)
  return false
}
console.log(response.tx_response.txhash)
return true
}

Hey guys, now that Evmos is live I just wanted to see if you guys need anything else from us? Would love to have Evmos support on restake!

@devli13 thank you, I'm prioritising this now. Will let you know if I run into any issues.

@tombeynon I implemented restake for evmos and injective for unagii.com. It's quite tedious to figure out how to sign eth coin type from backend site. You can check my forked repo https://github.com/tandn37/restake

@tandn37 thanks so much, that's extremely helpful. I've made a start but not getting nearly enough time on it, so this will save me a lot.
Really appreciate you guys contributing to upstream ❤


UserController override

Hi, I need to add an additional field to the admin_users table. I succeeded, but I don't know how to override UserController to make this field appear inside the form. Can you tell me how I can do it? Thank you

Hi there
My suggestion would be to copy the controller, change namespace and create a resource route that points at the new controller, can remove any fluff like extra functions etc, config allows you to change user model (Substitute for your own [config/admin.php])

Controller you will need to build yourself, if you want to override the built in routes, can use middleware to hook onto request route, identify if internal auth route and override and redirect to your own controller
Perhaps some one else can chip in with a better solution,
@open-admin-org  maybe to look at allowing a user controller override  if its a frequent thing

Hi, thanks for the immediate response, but I'm not clear on the last part. Can you give me some examples please? It is very important for me to solve this problem. Thank you

so open admin comes with a set of routes
/admin/auth/
users,
own profile
etc
So if you want to override those you would need to use middleware to hook onto it and identify the request endpoint, then just override and redirect to your own

https://laravel.com/docs/10.x/middleware#main-content

Please note the above is a simple middleware example, just to show how middleware looks in code, more info can be found on the docs

Hi, I found a solution that partly works, that is, I copied, as you told me, the UserController inside app/controlles, renaming it to CustomuserControlle and changing the namespace. In this way I am able to display the new field within the form, but I am unable to set the relationships within the model, as it takes the form one by default. How do I override the Users model???

Hi there
My suggestion would be to copy the controller, change namespace and create a resource route that points at the new controller, can remove any fluff like extra functions etc, config allows you to change user model (Substitute for your own [config/admin.php])

Controller you will need to build yourself, if you want to override the built in routes, can use middleware to hook onto request route, identify if internal /admin/auth route and override and redirect to your own controller
Perhaps some one else can chip in with a better solution,
@open-admin-org maybe to look at allowing a user controller override if its a frequent thing

Please read this message again, it shows you in the config where you can override user model

And is it possible to override the Users model?

Yes Please read my previous messages, i clearly state that user model can be overridden and i provide you a snap shot of config with config key users_model with the namespace and name of your desired model....

I succeeded, but I don't know how to override UserController to make this field appear inside the form.
@gfsoluzioni you can use the hooks for that: https://open-admin.org/docs/en/admin-controller-hooks#the-hooks

create a new controller that extends the UserController Class:

namespace App\Admin\Controllers; use OpenAdmin\Admin\Controllers\UserController; class ExtendedUsersController extends UserController {     public function __construct()     {         $this->hook("alterForm", function ($scope, $form) {             // add the field here             $form->text('testField');             return $form;         });     } }

Override the the auth/users route and point it to your new controller:
app\Admin\routes.php
function (Router $router) { ... $router->resource('auth/users',  App\Admin\Controllers\ExtendedUsersController::class)->names('admin.auth.users'); }
And that will allow you to "override" the UserController.
@open-admin-org maybe it would be useful a section on overrides in the docs.

interesting! Thanks for that @migcosta
Id seen the hooks in the field,show,and form  but was not sure of how they were utilized, im not sure if this is new or something i completely missed
https://open-admin.org/docs/en/admin-controller-hooks
It seems theres a section already


[Question] Should labels in textfields be mandatory?

From the current docs, it says that labels must be mandatory.
However, mdc docs shows that fields without labels are possible, and the react logic seems to handle this:
https://github.com/material-components/material-components-web-react/blob/5ee9df0982d6cff893523c3e1e447b0f98bf8611/packages/text-field/index.tsx#L160-L162
Should the docs be updated, or is the field still mandatory for other purposes?

Thanks for opening this issue. Docs need to be updated! Currently you can use both the web and react versions of mdc without the label.

fixed in #896


Support jpeg loader

use libjpeg library? or embedding some other opensource?

mmaciola
@mmaciola
20:37
@hermet I have created the test comparison of libjpeg-turbo vs jpeg-compressor. libjpeg-turbo wins significantly, being over 10 times faster (loading of 100 jpgs: 9.529s vs 0.906s).
Binary sizes: both loaders 341.3 kB (341,256 bytes), jpg-turbo only (library installed in system): 99.7 kB (99,736 bytes), jpg-richgel only (library packed in binary): 309.5 kB (309,536 bytes)
Testing code: https://github.com/mmaciola/jpg-loaders-comparison

@fire libjpeg-turbo is really good to use as you can see the performance comparison above by @mmaciola, I think it's universially used all over many projects. I think it will be good for Godot engine too... Anyway the choice is your team. Thorvg probably consider to provide both versions(linking vs static) to enable one by selectively by users. I think sticking to the standalone library is also meaningful vision for some projects like Godot. but confirmed yet.


[New Feature]: Static layer toggle for CSLC-S1 historical processing

Checked for duplicates
Yes - I've already checked
Alternatives considered
Yes - and alternatives don't suffice
Related problems
Currently for the CSLC-S1 PGE, there is only a single toggle flag to enable or disable static layer generation. This makes it difficult to have layer generation enabled for one processing mode, but not the other. Static layer generation should typically never be enabled for Historical processing, only Forward.
Describe the feature request
~We need separate flags in settings.yaml to control static layer generation independently between forward and historical processing modes.~
When processing CSLC in any mode besides Forward, static layer generation should always be set to False.

Fixed https://github.com/nasa/opera-sds-pcm/pull/557


OpenAPI Support

For OpenAPI support, we will use apispec.

This feature is not available in falca v1.x, it may be available in the next version. Feel free, if anyone wants to contribute.


[c++ grpc] Pass --init to update gRPC submodules

Sometimes gRPC adds new submodule dependencies, so we need to pass the
--init flag to git submodule update so that new submodules are
initialized, lest the build fail.

My test build of this change passed. The CI build that runs as part of the PR won't actually build the grpc-master config.


Update cast-and-convert-transact-sql.md

The first sentence in Example G mentions ISO 8901. That should be ISO 8601.

Hi @sqlsauce, thank you so much for your contribution! You're right, this seems to be a typo :) #sign-off


[interop] do not synthesize special members for C++ records with inco…

…mplete fields
The incomplete fields will trigger different assertions when clang is sythensizing constructors/destructors
rdar://109417079
Unfortunately I'm unable to construct a unit test for this case, but I tested this in LLDB debugging Swift compiler sources.

@swift-ci please test

@swift-ci test

swift-ci test

Sorry, wrong PR

@swift-ci test

@swift-ci test source compatibility


Updating TestFairy action, based upon documentation and endpoint test.

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
I have used fastlane in the past, and this time around I needed it for my Flutter development. I'm currently using the TestFairy action to extract the build_url, and realized that the build_url is not a user facing URL. I was expecting it to be a URL that I can feed into a website that I  host, allowing the user to click through to a Landing Page or download the actual build file directly.
I feel like this change is necessary, due to the TestFairy Upload Docs having a reference to the Landing Page URL, and the fastlane action does not have one. The only Lane Variable is currently SharedValues::TESTFAIRY_BUILD_URL, which is much more than a build URL. The current URL is a dashboard that displays build sessions, and I updated the documentation to reflect that.
Description

After creating a fork and new branch, I started a Gitpod, and then found the testfairy.rb file in it. The file was easy to read, so I just started updating the JSON Response references. After that, I realized I should update the documentation to reflect my changes, and updated them to the following:
    ['TESTFAIRY_BUILD_URL', 'URL for the sessions of the newly uploaded build'],
    ['TESTFAIRY_DOWNLOAD_URL', 'URL directly to the newly uploaded build'],
    ['TESTFAIRY_LANDING_PAGE', 'URL of the build\'s landing page']

Testing Steps
Due to my changes being superficial, I only used the prescribed tests to verify no offenses were detected.
bundle exec rspec | Finished in 2 minutes 56.3 seconds (files took 3.88 seconds to load)

bundle exec rubocop -a | 1147 files inspected, no offenses detected

Although, before updating the SharedValues with the JSON response values, I tested the actual TestFairy endpoint directly. After making the following request curl https://upload.testfairy.com/api/upload -F api_key='*' -F<EMAIL_ADDRESS>it's response was:
{
   "status":"ok",
   "app_name":"[qa] Favorite Concepts",
   "app_version":"1.0.0-qa",
   "file_size":17828485,
   "build_url":"https://1390548.testfairy.com/projects/6854251-qafavoriteconcepts/builds/9240786",
   "instrumented_url":"https://dl.testfairy.com/download/74S38C1Q70V2TC1DY2EJFGCWDYFNYKRM61B7JX0TPZWDGYZ6/app-qa-release-testfairy.apk",
   "download_page_url":"https://tsfr.io/4af5ve",
   "app_url":"https://dl.testfairy.com/download/74S38C1Q70V2TC1DY2EJFGCWDYFNYKRM61B7JX0TPZWDGYZ6/app-qa-release-testfairy.apk",
   "invite_testers_url":"https://1390548.testfairy.com/projects/6854251-qafavoriteconcepts/builds/9240786/invite",
   "icon_url":"https://s3.amazonaws.com/testfairy/icons/607956/642b9cffe3bbcf1b97a86a483ffde71327280f86.png",
   "options":"video-quality=medium,screenshot-interval=1,session-length=60m,video,logcat,shake,cpu,memory,phone-signal,battery,wifi",
   "platform":"Android",
   "tags":[

   ],
   "metadata":[

   ],
   "has_testfairy_sdk":true,
   "landing_page_url":"https://tsfr.io/4af5ve"
}

This assisted me in making the correct references to the API, and update the documentation accordingly. After that, I added an Android reference to the example code, and updated the successful build URLs with the Landing Page and Download URLs:
    UI.success("Build URL: #{Actions.lane_context[SharedValues::TESTFAIRY_BUILD_URL]}")
    UI.success("Download URL: #{Actions.lane_context[SharedValues::TESTFAIRY_DOWNLOAD_URL]}")
    UI.success("Landing Page URL: #{Actions.lane_context[SharedValues::TESTFAIRY_LANDING_PAGE]}")

@googlebot I signed it!


docs: Fix dead Typesense links

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[ ] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation
Fixes some dead Typesense links that were pointing to docs/latest/guide/foo which does not redirect to a live page.
Test Plan

Test links

Deploy preview: https://deploy-preview-10093--docusaurus-2.netlify.app/
Related issues/PRs

thanks


Drop location dot fix (#3730)

Cherry pick from release m113

@RanjanarMS,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Approved


⭐ Add a Pull Request Template

💬 Let us know how we can improve our documentation.
I think it would be helpful for both contributors and maintainers to have a pull request template, and I would like to contribute to it.
Action Items:
The PR template may consist of the following sections:

Type of contribution
Contributor checklist
Issue link
Description
Screenshots (if applicable)
Additional comments

I would like to know if there are any suggestions or improvements regarding this proposal.

Tests & Review: You might want to add a section for running tests, e.g.,

@arielweinberger, what are your thoughts?

Hey, @JeevaRamanathan   I am very keen to work on this issue . i am very interested to work on this. I fill very happy to you assigned me this issue .

Hey @JeevaRamanathan please assign me this I have been facing this problem too before, I would be the ideal one  to do this


Remove JCenter

In android/build.gradle
Please remove jcenter as they are less stable since the sunset:
https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

or replace it with mavenCentral


Content Suggestion: bitcoinpeople.it/

Link to Content: https://www.bitcoinpeople.it/
Briefly Describe Content: BTCP is a software company building software for Bitcoin, BTCP controls "Bitcoin People"  and "Bitcoin Village" projects in the north of Italy.
Suggested Section: ₿PAY: Non-custodial Payment processor based on BTCPay server framework.

Bump

HI,
It's basically a fork of BTCpay server - we made such that the payment processor reflects our business model. We get an activation fee for any merchant we onboard. From there on there no usage cost and merchants keep their keys as all our services are non-custodial.

Which page on bitcoin-only.com do you think it should be added to?


Add a scroll back button to go on top of the page

As button is not available for going back to top of the page so we have to scroll whole page for going on the top.
A scroll back  button will be added for this.
Please assign this task to me.

I want to work on this issue.
Please assign this to me under GSSoC'23.

I want to work on this issue under SWOC


Should contain metadata objects

The Front API has this potentially really useful feature that allows storage of metadata alongside the comment.  I really want to try it.

Gah, looks like I might have sporked.


addition of binary controls current state

This code needs refactoring
a. Refactoring related with Binary Control Containers,
b. How the Binary Control current state is contained

Thanks Rakesh. This will get the job done, just open an issue for yourself to refactor as needed at your leisure


NO-JIRA: Fix an issue calling private methods in a static function

When calling static functions, the "this" of a class isn't instantiated so references using it fail. This PR converts the private methods back to being public, and changes any "this." references to instead use the class name to call the static method

/lgtm

/cherry-pick release-0.3


pflask: pull fix pending upstream inclusion for -fno-common support

Without the change build fails on upstream gcc-10 as:
ld: src/util.c.1.o:/build/pflask/build/../src/printf.h:42: multiple definition of
  `use_syslog'; src/cgroup.c.1.o:/build/pflask/build/../src/printf.h:42: first defined here

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 175159 run on x86_64-linux 1

1 package built:

pflask


#235 issue - seprated youtube and spotify playlists successfully

#235 i have separated the youtube and spotify playlist

Thanks for resolving the issue @divya-nshi .
Keep contributing to open-source :)


Memory leak in C++ code

Calls to Chandra.Time.convert leak memory significantly enough to cause memory issues when using the FOT MATLAB Tools (specifically the Xija thermal models which use Chandra.Time to convert between MATLAB Tools times and Xija model times).  The following conversion loop leaks around 2 MB of memory a second on a GRETA workstation:
import Chandra.Time
test_vals = range(100000)
for i in range(20)
   a=Chandra.Time.convert(test_vals,fmt_in="secs",sys_in="utc",fmt_out="secs",sys_out="tt")

This memory leak is caused by the lack of "delete" calls in the C++ code after creating new object with "new" statements.  Specifically, adding the following statement after line 166 of axTime3.cc eliminates the memory leak experienced by the MATLAB Tools when running the Xija thermal models:
delete(T);

Amazing sleuthing!  Will fix.


Fix matching of runtime dependencies in release cache

This fixes the runtime_dependencies field in the release json:
Currently:
            "runtime_dependencies": null,

After fix:
            "runtime_dependencies": "bash less ncurses perl",

Once https://github.com/ZOSOpenTools/meta/pull/460 is finalized, we'll have a cleaner way of grabbing the metadata


Better logging for backend components

Proposed changes
Currently, our server logs provide limited information, making it difficult to diagnose issues and track user activity. So, I made Todos for better logging. Codes about custom log fields will be handled after LFX sync-up meeting and will be raised in the next pr.
Result

TODO

[x] change default 'log' package to 'logrus' package
[x] change name 'logrus' to 'log' for generality
[x] log gRPC request by using middleware
[x] log HTTP request by using Gin
[x] support setting log format(JSON/text) at the start flag
[ ] add a custom field to logrus(will be addressed in next pr)

Issue No. #3932
Types of changes
What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

[ ] New feature (non-breaking change which adds functionality)
[x] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices applies)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the commit for DCO to be passed.
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have added necessary documentation (if appropriate)

Dependency

Please add the links to the dependent PR need to be merged before this (if any).

Special notes for your reviewer:

Logs should be printing in the base caller function or graphql resolver function. Otherwise the logs will be printed twice. From other function, we can return the error with required info,

return fmt.Errorf("failed due to ...., error: %v", err)

Can you assign me, please? @imrajdas


Constrain perf curves; add 80-gal LG model

Performance-map polynomials of recently added Bradford White and LG models were adjusted to prevent the use of unreasonable values within the ranges of allowed operating temperatures.
An additional 80-gal LG model has also been added.

Should be formatted now.


Xcode 12.5 beta3 v2.6.0

With pr/21 I managed to get your code (v2.6.0) running on Xcode 12.5 Beta3. You may give it a try. As that worked I will update my master, which is a fork from your code. thanks.

As the ffmpeg.c, ffmpeg.h and config.h issue was solved I close this pull-request. Thank you! :)


Competency questions are failing

Description of the issue
Currently the competency questions wont make the github testing fail, we set it like this because there is a couple of competency questions that are not being properly answered:
FAILED tests/test_competency_questions.py::test_competency_question[C:/Work/03_Promotion/01_Repositories/ontology/tests/competency_questions\\physical\\completeness\\001_biofuel_is_renewable_fuel.omn] - AssertionError: 001_biofuel_is_renewable_fuel failed
FAILED tests/test_competency_questions.py::test_competency_question[C:/Work/03_Promotion/01_Repositories/ontology/tests/competency_questions\\physical\\completeness\\028_biofuel_is_renewable_fuel.omn] - AssertionError: 028_biofuel_is_renewable_fuel failed
FAILED tests/test_competency_questions.py::test_competency_question[C:/Work/03_Promotion/01_Repositories/ontology/tests/competency_questions\\physical\\completeness\\041_thermal_energy_beaarers_carry_energy.omn] - AssertionError: 041_thermal_energy_beaarers_carry_energy failed
FAILED tests/test_competency_questions.py::test_competency_question[C:/Work/03_Promotion/01_Repositories/ontology/tests/competency_questions\\physical\\completeness\\042_renewable_energy_do_not_use_fossil_fuel.omn] - AssertionError: 042_renewable_energy_do_not_use_fossil_fuel failed
FAILED tests/test_competency_questions.py::test_competency_question[C:/Work/03_Promotion/01_Repositories/ontology/tests/competency_questions\\physical\\completeness\\043_portion_of_hydrogen_is_energy_carrier.omn] - AssertionError: 043_portion_of_hydrogen_is_energy_carrier failed
FAILED tests/test_competency_questions.py::test_competency_question[C:/Work/03_Promotion/01_Repositories/ontology/tests/competency_questions\\physical\\completeness\\044_energy_from_pv_cell_is_renewable.omn] - AssertionError: 044_energy_from_pv_cell_is_renewable failed
FAILED tests/test_competency_questions.py::test_competency_question[C:/Work/03_Promotion/01_Repositories/ontology/tests/competency_questions\\physical\\completeness\\045_natural_gas_not_anthropogenic.omn] - AssertionError: 045_natural_gas_not_anthropogenic failed
FAILED tests/test_competency_questions.py::test_competency_question[C:/Work/03_Promotion/01_Repositories/ontology/tests/competency_questions\\physical\\completeness\\046_energy_from_coal_powerplant_not_renewable.omn] - AssertionError: 046_energy_from_coal_powerplant_not_renewable failed
======================================================== 8 failed, 43 passed, 1 warning in 73.27s (0:01:13) ===================

We should decide if we delete or rework these questions.
Ideas of solution
We should probably rethink our CQs altogether.
Workflow checklist

[x] I am aware of the workflow for this repository

Here is a list of the reasons:

001, 029: They are in a DONT_INFER list in the current dev. From what I understand this list corresponds to the questions that have to have negative output, aparently they were deprecated by https://github.com/OpenEnergyPlatform/ontology/pull/1409 , they are exactly the same query I am deleting one and moving it to the negative folder. So they are a non-issue now
041, 042, 043, 044, 045 and 046 are in the list "NON_INFERABLE_BUT_SHOULD". These are being excluded in the original tests. Now is the question if we want to keep them. Are they features yet to be developed? If yes, they need an issue. If no, then they don't make sense and we can delete them.

I could make an equivalent folder of NON_INFERABLE_BUT_SHOULD but I think that would be subobtimal. I suggest that we delete them all from the branch and create a merge request for each one of them (if we want to keep these features). This would be our first try to Test Driven Development. They should fail as long as the feature is not implemented.

Please do not delete questions 001 and 029. As indicated in #1472 they are deprecated now but still relevant as they were reference in the first OEO publication. Also 045 is is marked as deprecated.
I look at some of the other competency questions mentions:
Question 041 is now inferrable was probably not inferrable at the time the question was implemented, but it is now:

Is Sulphur dioxide an air pollutant?

Question 043: The question per se still makes sense:

Renewable fuel cannot come from solid fossil fuel

But it should now probably be axiomatised differently, as has physical input and has physical output are now strictly limited to process and and not applicable any more to energy converting devices.
So I think, a good approach is:

Respect which competency questions are deprecated, but probably better document this (and maybe also document why questions got deprecated).
Check all question in NON_INFERABLE_BUT_SHOULD and create separate issues if needed.

This would be our first try to Test Driven Development.

We discussed this, but we never decided that we want do switch to test driven development.

Please do not delete questions 001 and 029. As indicated in #1472 they are deprecated now but still relevant as they were reference in the first OEO publication. Also 045 is is marked as deprecated.

I would generally agree to keep them as documentation but 1 and 29 are literally the same query,  the only difference is that the plain english questions are different. I don't think it makes sense to keep both, one of them is enough for documentation:
q1.omn:
Prefix: : <http://openenergy-platform.org/ontology/oeo/>

Ontology: <http://openenergy-platform.org/ontology/cc/> <http://openenergy-platform.org/ontology/cc/>

# Competency Question: Is  biofuel renewable fuel?

Class: OEO_00000033
Class: OEO_00000072

Class: OEO_00000072
  SubClassOf: OEO_00000033

# This competency question gets deprecated with this pull request: https://github.com/OpenEnergyPlatform/ontology/pull/1409

q29.omn:
Prefix: : <http://openenergy-platform.org/ontology/oeo/>

Ontology: <http://openenergy-platform.org/ontology/cc/> <http://openenergy-platform.org/ontology/cc/>

# Is a biofuel classified as renewable fuel?

Class: OEO_00000072
Class: OEO_00000033

Class: OEO_00000072
    SubClassOf: OEO_00000033

# This competency question gets deprecated with this pull request: https://github.com/OpenEnergyPlatform/ontology/pull/1409

The implemenation of the questions are the same, but the questions themselves are not identical, that's a difference.

Q1: Is  biofuel renewable fuel?
Q2: Is a biofuel classified as renewable fuel?

Updated test summary:
============================================================== short test summary info ===============================================================
FAILED tests/test_competency_questions.py::test_competency_question[C:...physical\\completeness\\043_thermal_energy_bearers_carry_energy.omn] - AssertionError: 043_thermal_energy_bearers_carry_energy failed
FAILED tests/test_competency_questions.py::test_competency_question[C:...physical\\completeness\\044_renewable_energy_do_not_use_fossil_fuel.omn] - AssertionError: 044_renewable_energy_do_not_use_fossil_fuel failed
FAILED tests/test_competency_questions.py::test_competency_question[C:...physical\\completeness\\047_portion_of_hydrogen_is_energy_carrier.omn] - AssertionError: 047_portion_of_hydrogen_is_energy_carrier failed
FAILED tests/test_competency_questions.py::test_competency_question[C:...physical\\completeness\\048_energy_from_pv_cell_is_renewable.omn] - AssertionError: 048_energy_from_pv_cell_is_renewable failed
FAILED tests/test_competency_questions.py::test_competency_question[C:...physical\\completeness\\049_natural_gas_not_anthropogenic.omn] - AssertionError: 049_natural_gas_not_anthropogenic failed
FAILED tests/test_competency_questions.py::test_competency_question[C:...physical\\completeness\\050_energy_from_coal_powerplant_not_renewable.omn] - AssertionError: 050_energy_from_coal_powerplant_not_renewable failed

047 seems to have an implementation error. The question is:

Every portion of hydrogen is an energy carrier

It is implemented as
ObjectProperty: obo:RO_0000091 # has disposion
Class: OEO_00000028 # energy carrier disposition

Class: OEO_00000220 # hydrogen
    SubClassOf: obo:RO_0000091 some OEO_00000028

Probably it was intended to test for 'has disposition' some 'energy carrier disposition' or 'has disposition' some 'combustible energy carrier disposition'. But OEO_00000028 is neither energy carrier disposition (OEO_00000151) nor combustible energy carrier disposition (OEO:00000097). Instead OEO_00000028 is nuclear energy carrier disposition which is wrong.

047 seems to have an implementation error. The question is:

Every portion of hydrogen is an energy carrier

It is implemented as
ObjectProperty: obo:RO_0000091 # has disposion
Class: OEO_00000028 # energy carrier disposition

Class: OEO_00000220 # hydrogen
    SubClassOf: obo:RO_0000091 some OEO_00000028

Probably it was intended to test for 'has disposition' some 'energy carrier disposition' or 'has disposition' some 'combustible energy carrier disposition'. But OEO_00000028 is neither energy carrier disposition (OEO_00000151) nor combustible energy carrier disposition (OEO:00000097). Instead OEO_00000028 is nuclear energy carrier disposition which is wrong.

So, it should be like this isnt it?
Prefix: : <http://openenergy-platform.org/ontology/oeo/>
Prefix: owl: <http://www.w3.org/2002/07/owl#>
Prefix: obo: <http://purl.obolibrary.org/obo/>

Ontology: <http://openenergy-platform.org/ontology/cc/> <http://openenergy-platform.org/ontology/cc/>

# Every portion of hydrogen is an energy carrier

ObjectProperty: obo:RO_0000091 # has disposion
Class: OEO_00000151 # energy carrier disposition

Class: OEO_00000220 # hydrogen
    SubClassOf: obo:RO_0000091 some OEO_00000151

I think we can close it, It was fixed a while ago in other Issue I think.


[PORT] Add missing XML docs to Microsoft.Bot.Builder.TemplateManager

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/4282

Related to #4052
Changed projects

Microsoft.Bot.Builder.TemplateManager

[BF Docs,R10,changes required]

Closing. To be handled as part of #2465


Issues on MacOS

Hello,
Thanks for this great library! In dev mode it works great, but when I package my app, I get a prompt from Mac saying would like to record keystrokes from any application and I have gone into system preferences to try to enable it, but it does not seem to work.
I know there is the custom packaging stuff we need to do, and maybe I messed that up, I am not sure. I tried copying the electron-color-picker directory from node_modules into my resources folder and requiring it from there with:
const { getColorHexRGB } = require('../resources/electron-color-picker');

Is this the correct thing to do or is the resources folder you are describing in the output somewhere?
Is the permissions issue expected?

I finally figured out, after hours of debugging, how to copy into resources with electron-packager. They provide an extraResource option so I can do:
const electronColorPickerPath = join(
  __dirname || resolve(dirname('')),
  'node_modules/electron-color-picker'
);

...
 extraResource: [
      electronColorPickerPath
    ],
...

However, even with this, the picker does not work. I still get the popup asking would like to record keystrokes from any application every time I open the picker. I have given it permissions, and it still shows up every time. I believe this is not even the correct permissions and that the new ones needed are like permission to record screen etc.
Any ideas how I can get this to work?

I was finally able to click open system preferences on the popups and now it works! I think the issue here is when it asks for permissions, it also shows the color picker. I think it should wait until permissions are granted. Is there a way to ensure permissions before showing the picker?

Were the test done on macOS 10.15?
The darwin permission problem may be fixed with Add support for macOS 10.15 new permission politics from<EMAIL_ADDRESS>(the darwin binary for color picking)

@ThatBean yes, I am on macOS 10.15. I believe the main issue here is the color picker shows up immediately before waiting for permissions. It would be nice if we could have getColorHexRGB trigger the request for permissions first or better yet have a way to programmatically ask for permissions, so that I can ask the user to give permissions before even using my app.
How would I use that new v2 release with this package? I am happy to try it out.

It might take a while for us to update the change to darwin v2 binary.(currently I have no darwin access)
From the sample file, it seems like there's 2 permission check mode: peek-status and ask-for-popup. So some extra JS logic is needed for those extra check.

@ThatBean is there anything I can do to help?

Will find sometime to do a code clear up first to the mockingbot/mb_colorpicker_desktop_native sample JS, then add the permission code here and do a major version update.
Should be able to do this in this week. @rwwagner90 Can you test the darwin dev version when it's ready, if you got time?

@ThatBean I am happy to test things out when they are ready. Just let me know!

Progress track:

mockingbot/mb_colorpicker_desktop_native

PR for JS code sort: https://github.com/mockingbot/mb_colorpicker_desktop_native/pull/1
ISSUE for doc behavior: https://github.com/mockingbot/mb_colorpicker_desktop_native/issues/2

New dev version is out
Try the updated ./example/
Or update code with new permission func & test with<EMAIL_ADDRESS>

Fixed example & some platform detecting bug in 0.2.0-dev.1

Progress track:

mockingbot/electron-color-picker

PROBLEM: providing the required --bundle-id for permission checking is kind of tricky:

use the terminal app bundle id when debugging from in terminal
use the packaged app bundle id when open a release app by Finder or start

mockingbot/mb_colorpicker_desktop_native

ISSUE for trying to drop --bundle-id requirement: https://github.com/mockingbot/mb_colorpicker_desktop_native/issues/4

Fixed bundle id with auto detecting script in 0.2.0-dev.2
Try the updated ./example/
Or update code with new permission func & test with<EMAIL_ADDRESS>@rwwagner90 should be good for testing

@ThatBean I am not sure how to test, since I have already granted permissions to my app.

The permission is granted to the Terminal app when debugging unpackaged Electron
To reset permission from terminal, depending on the Terminal you use:

tccutil reset ScreenCapture com.apple.Terminal
tccutil reset ScreenCapture com.googlecode.iterm2

If you use electron-packager to build the App, reset with: tccutil reset ScreenCapture YOUR.APP.BUNDLE.ID
Or just go to System Preference -> Security & Privacy -> Privacy Tab -> Screen Recording and un-check the App

@ThatBean I went into System Preference -> Security & Privacy -> Privacy Tab -> Screen Recording and unchecked the app, which does remove the ability to use the color picker on open apps. However, it does not prompt me to enable the setting. Is there a way we could have it ask you to enable permissions? I'm not sure what exactly this new build was supposed to change regarding that.

You can run the example or check the updated usage in README.md, added 2 more darwin-only async functions for permission check & request:
const darwinScreenPermissionSample = async () => { // darwin only, throw error on other platform (since electron-color-picker@2)
  const { darwinGetScreenPermissionGranted, darwinRequestScreenPermissionPopup } = require('electron-color-picker')

  // initial check
  const isGranted = await darwinGetScreenPermissionGranted()
  console.log('darwinGetScreenPermissionGranted:', isGranted)

  if (!isGranted) { // request user for permission
    const isGranted = await darwinRequestScreenPermissionPopup()
    console.log('darwinRequestScreenPermissionPopup:', isGranted)
  }
}

@ThatBean I suppose it is not calling that function then. When I uncheck to remove the permissions, I am not prompted to enable them again.

@rwwagner90 Currently darwinGetScreenPermissionGranted and darwinRequestScreenPermissionPopup will not be called automatically from getColorHexRGB, so extra code & check is needed
Maybe it's better to default to an all-in-one getColorHexRGB, and add another darwinGetColorHexRGB, will try to add in next version

Progress track:

mockingbot/electron-color-picker

add detect darwin macOS 10.15
merge darwinGetScreenPermissionGranted, darwinRequestScreenPermissionPopup into getColorHexRGB, add another darwinGetColorHexRGB
test asar package now darwin is single binary

@ThatBean I am okay with programmatically calling extra functions to get the permissions. In fact, I would love to be able to do this before the user ever even clicks the color picker, so that when they do click it, it is ready to go.

Update in<EMAIL_ADDRESS>
normal asar packaging should work now, since darwin is single binary, check the updated example/
the exported function name & return value has been changed to the following for better understanding:export {
  getColorHexRGB, // slower all-in-one

  // for more control and customized checks
  DARWIN_IS_PLATFORM_PRE_CATALINA, // darwin only, undefined on other platform
  darwinGetColorHexRGB, // darwin only, throw error on other platform
  darwinGetScreenPermissionGranted, // darwin only, throw error on other platform
  darwinRequestScreenPermissionPopup // darwin only, throw error on other platform
}

for deeper customize, consider checking: https://github.com/mockingbot/electron-color-picker#advanced-usage

@ThatBean so does this color picker only work on Catalina?

It should work and correctly skip the Permission check on pre-Catalina macOS.
Currently the minimum working version is not tested, maybe it's the same as Electron:

Only 64bit binaries are provided for macOS, and the minimum macOS version supported is macOS 10.10 (Yosemite).
https://electronjs.org/docs/tutorial/support#macos

@ThatBean makes sense. So I just need to use DARWIN_IS_PLATFORM_PRE_CATALINA and if that is true, skip the permissions checks and it should still work?

Yes, that's basically the code: https://github.com/mockingbot/electron-color-picker/blob/master/source/darwin/index.js#L39

@ThatBean so is runColorPicker called by getColorHexRGB and the permissions stuff happens automatically?

Yes, that's what supposed to happen.

I think everything is good to go here then. Thanks so much for all the help and work you put into this!


[Removal]: Please help me to remove my device from the denylist@@@@!

Hotspot Name
Narrow-Pear-Canary
Hotspot b58 Address
112qcQhYSbbkrg4qYzZtgUrKuYKLPUv3nf5cfwz1BPhPjH5DqCG9
Discord Handle
weil775#0164
Hotspot Manufacturer
Bobcat
Removal Reason
I actually deployed the bobcat around the window,only Changed network provider and IP many times.Please help me correct if there are mistakes. thank you!
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


Check seamless-m4t from Meta

Research seamless-m4t from Meta. Estimate if it is a better alternative than Whisper.
Note the advantages and disadvantages of using seamless-m4t for the asr-api project. Estimate what modell fits best for our needs.

Use The ASR-Model comparison page in notion


About Load local Source by Add XYZUrls

It does not  display when I add new Source by XYZUrls.

The XYZ value is always wrong. But I can display it in the mapbox.
Maybe It's a spatial reference question.
wait,I use maputnik in my local machine
Anyone can advise me how to make it work?

I think i got it
https://alastaira.wordpress.com/2011/07/06/converting-tms-tile-coordinates-to-googlebingosm-tile-coordinates/


Create a dark theme

@mann27  i would like to work on this issue.

Sure! @ExpressHermes will describe it soon to you. For taking up tasks or in case of doubts tag both of us. So that whoever sees it first can respond.

@rohan2734 Do you have any doubts regarding this issue?

@mann27  @ExpressHermes  not yet, like i need to try the color combination for dark mode right?

Yes just try different combinations and if you like any, show us before working on it.

Yes just try different combinations and if you like any, show us before working on it.

ok sure.

@rohan2734 any updates on it?

@mann27  i am not working on it right. I already said before long back.

Cool!!


gevent 'BlockingSwitchOutError' exception after updating

After updating VisualStudio to 15.9.4 yesterday, I'm experiencing an unhandled exception from gevent when I perform operations in my application:
 Traceback (most recent call last):
   File "c:\program files (x86)\microsoft visual studio\2017\professional\common7\ide\extensions\microsoft\python\core\Packages\ptvsd\_vendored\pydevd\_pydevd_bundle\pydevd_frame.py", line 649, in trace_dispatch
     self.do_wait_suspend(thread, frame, event, arg)
   File "c:\program files (x86)\microsoft visual studio\2017\professional\common7\ide\extensions\microsoft\python\core\Packages\ptvsd\_vendored\pydevd\_pydevd_bundle\pydevd_frame.py", line 134, in do_wait_suspend
     self._args[0].do_wait_suspend(*args, **kwargs)
   File "c:\program files (x86)\microsoft visual studio\2017\professional\common7\ide\extensions\microsoft\python\core\Packages\ptvsd\_vendored\pydevd\pydevd.py", line 821, in do_wait_suspend
     time.sleep(0.01)
   File "Q:\t8\tools\lang\python2.7\lib\site-packages\gevent\hub.py", line 159, in sleep
     hub.wait(t)
   File "src\gevent\_hub_primitives.py", line 46, in gevent.__hub_primitives.WaitOperationsGreenlet.wait
   File "src\gevent\_hub_primitives.py", line 55, in gevent.__hub_primitives.WaitOperationsGreenlet.wait
   File "src\gevent\_waiter.py", line 151, in gevent.__waiter.Waiter.get
   File "src\gevent\_greenlet_primitives.py", line 59, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
   File "src\gevent\_greenlet_primitives.py", line 59, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
   File "src\gevent\_greenlet_primitives.py", line 62, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
   File "src\gevent\_greenlet_primitives.py", line 65, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
   File "src\gevent\_greenlet_primitives.py", line 66, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch_out
 BlockingSwitchOutError: Impossible to call blocking function in the event loop callback

Updating gevent & greenlet to the latest version doesn't address the issue.

I do not get this when the "Use legacy debugger" checkbox in Options:Python:Debugging is checked.

Can you try updating to the latest ptvsd? There's been updates to it since it was bundled with 15.9.
You can do that by "pip install ptvsd" in your python environment. VS knows to use the one in the environment if found.

I tried that out just now and still get the same error after disabling the legacy debugger.

Thanks! I'll move this to ptvsd issue tracker.

Issue moved to Microsoft/ptvsd #1073 via ZenHub


Use Gradle 7.3

Gradle 7.3 is the first gradle version officially supporting java 17 (LTS)
as mentioned at https://docs.gradle.org/current/userguide/compatibility.html

yes, you are right however for this project this command does not bring any change...

yes, you are right however for this project this command does not bring any change...

Good to know then!


Edge case: is there a better way to render iOS bar as a block?

I'm using StackNavigator.
when navigationOptions header visible: false

(iOS status bar is rendered on top of content & w/ transparent bg)
I want iOS status bar to render as block with white bg, but not have any of the other navigation header parts. Is there a better way than this solution?:
    navigationOptions: {
      header: {
        /*
          (thurt) these styles are to keep the ios status bar rendering as a block w/ white background (per Style Guide)
          this is the only way I have figured out so far. There could be a better way to do this.

           basically it hides all elements which are not the ios status bar.
           I'm not able to use the react-navigation header property `visible: false` here because that makes the
           ios status bar no longer render as block and its background becomes transparent.
        */
        style: { height: 0 },
        titleStyle: { height: 0 }
        /**/
      }
    }

result (it does work):

I think you can pass cardStyle marginTop for the Navigator that doesn't have header. Otherwise, on-per screen basis marginTop should be fine.
I wouldn't follow your solution as its still rendering an invisible header, which is rather bad.


Add more attributes and methods for ToricVarieties

Codecov Report

Merging #8 (c257f76) into master (ffbc29f) will decrease coverage by 2.14%.
The diff coverage is 93.33%.

@@             Coverage Diff             @@
##            master       #8      +/-   ##
===========================================
- Coverage   100.00%   97.85%   -2.15%
===========================================
  Files            4        4
  Lines          133      140       +7
===========================================
+ Hits           133      137       +4
- Misses           0        3       +3

Impacted Files
Coverage Δ

src/AttributesAndMethods.jl
96.59% <93.33%> (-3.41%)
:arrow_down:

src/JToric.jl
100.00% <0.00%> (ø)

src/ToricDivisors.jl
100.00% <0.00%> (ø)

src/ToricVarieties.jl
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


refactor technology classifications with types

Interface would be something like this:
c = classification(CPC(), a) # Vector{CPCSymbol}
symbol(Subclass(), first(c)) # String
title(Subclass(), first(c)) # String


Accessing services using IP and port - Kubernetes on Mesos

I had 2 minions - <IP_ADDRESS> & <IP_ADDRESS> and scheduled pods containing one docker container of a web app on these 2 minions. I kept 3 replicas of the pod. The container exposes port 80 and I mapped container port 80 to port 31020 on host. I created one service for these pods which binds to port 8000. I'm trying to access <IP_ADDRESS>:8000 from IE.
Problem is, as the container port 80 mapped to host port 31020, there will be port conflict while trying to schedule 3rd replica of the pod in any one of those 2 minions. Could you please let me know any workaround here?
If I do not specify any host port in the pod template, then I'm not able to access the container application from IE. Do I always need to map container port to host port in podTemplate?
I read in the document, there is something called service IP. How can I set up the service IP and make it accessible from outside (on intranet)?

You almost never want HostPort for the exact reason you discovered.
Instead, you want to set up a Service that selects all of your pods.  Exposing services outside of a kubernetes cluster is a bit of a sore spot right now, but the easiest way is to set the Service.PublicIPs field (an array) to an IP that you can arrange to be routed some machine in your cluster.
For example, if your minion has a public IP, use that.  What should happen is that any in-bound traffic to a minion on the service port will get captured and redirected to the kube-proxy.

Closed in favor of #3267


builder.AllowCreateItem possible for us to use Jeremy Skinner's FluentValidation?

I notice that FlexGrid has an automatic way to create forms (via builder.AllowCreateItem()) with validation and submit button.
Our model / data validation needs sometimes involve cross-field validations. Is there a current approach for doing this? Can we somehow hook up Jeremy Skinner's FluentValidation (https://github.com/JeremySkinner/FluentValidation) into and for use with the create forms auto-generated by FlexGrid instead of the built-in validator (is it Blazor's DataAnnotationValidator?) in cases where we need to?
Thanks for helping!

Hello @githubfanster
FlexGrid use standard Blazor EditContext for validation of model in create item form
https://github.com/aspnet/AspNetCore/blob/master/src/Components/Components/src/Forms/EditContext.cs
And this context use standard ValidationContext.
So you can use IValidatableObject wich will implement your model. And implement Validate method and in this method you can use your configured FluentValidator.
This is for now only possible solution.

Ok, thanks!
Other questions re: Create Forms.
In your Server-Side Blazor demo, WeatherForecast grid's '+' button when clicked, pops up a Modal Create Form.  But in my case, once my grid is displayed, the CreateForm is displayed below it already. Can this be controlled (my grid may contain several items, so it might be better if the Create Form pops up only when needed)?
Also, when the Create Form is already displayed below my grid upon initial display, when i click on the 'X' button, the Create Form disappears but I can't bring it back again by clicking the '+' button in the grid. Is this the current behavior?  Can this be changed?
Thanks!

@githubfanster
The CreateItemForm should be now always as popup dialog. Only in HTML is rendered below the grid.
Co if you after create button click popup is not displayed thats a problem.
Can you please show me some screenshots or gif with tihs behavior?
Thanks!

here's the screenshot in PNG format.
i checked the version of the FlexGrid software I was using and the download date was Jul
FlexGridCreateItemForm.zip
y 22

@githubfanster
Can you plase sned me the HTML source of this page for better understanding whats going on?
Especially the create form section.
Thanks!

I'm sending you the entire project because it is just a learning wheels project.
I'm basically trying to learn FlexGrid by converting Jimmy Bogard's ContosoUniversityDotNetCore-Pages to using Blazor (https://github.com/jbogard/ContosoUniversityDotNetCore-Pages)
Only the "Students" feature is working right now more or less.
Right before I zipped my solution, I tried it with the latest FlexGrid version (the one you released 10+ hours ago incorporating Blazor Preview 7 ). I'm still seeing the same behavior (the Create Item Form displaying below the FlexGrid on initial display).
Another thing I noticed is that for EnrollmentDate input, the DatePicker is not coming up (when i click on the calendar icon, the calendar widget is not displaying. this is different experience from your demo).
The solution consists of 3 projects. Only two projects are included in the attached zip file. (the missing 3rd is the Blazor.FlexGrid project, so you have to add this for the solution to work)
Thanks for looking into this as well as the new  "datepicker" problem mentioned here.
ContosoUBlazor04-BasicCRUDStudents.zip

Hello!
I started over by creating an out of the box Server-Side Blazor app, and the only thing I did differently was to leave the files in the Shared folder (MainLayout.razor,  NavMenu.razor), and the site.css basically unchanged from the original except for adding a link to my Students.razor in NavMenu.
The CreateItemForm  is working similarly to your Server-Side Demo now.  Clicking the grid's '+ ' button brings up the CreateItemForm and clicking the 'datepicker' icon in that form brings up the calendar widget, etc.
Any idea why mucking with the files in the Shared folder and the site.css  could have caused my problems?  Does this make possible sense to you, or am i not even close? If it makes some sense, could you please take a quick look at those files in the zip file I sent you?  I'm just curious so I dont inadvertently make the same mistake again.
It would be nice to know what might have caused my problem.  :-)
Thanks for helping and sorry for taking up your time!

The problem is probably caused due too bad scripts loaded, because in earlier versions of FlexGrid you have to manually put css, js files into wwwroot folder when you are using Server side Blazor. In some version I added extension method UserFlexGrid
https://github.com/Mewriick/Blazor.FlexGrid/blob/master/src/Blazor.FlexGrid/ApplicationBuilderExtensions.cs
which copy these files automatically. This is required only if you are using Server side Blazor becasue Microsoft does not have solved this copy files problem.

Not sure I understand the problem.
Is it sort of similar to this:
https://github.com/aspnet/AspNetCore/issues/7300
The blazor component library (dotnet new blazorlib) is not working properly with razor components (blazor server side). Specifically the static files that are embeded in the library are not served when the page is loaded.
and SQL-MisterMagoo's Razor Components BlazorEmbedLibrary addresses
SQL-MisterMagoo commented on Mar 6
@stavroskasidis
Until the Microsoft team get this working, I have written a project that brings this functionality back for Razor Components BlazorEmbedLibrary
If you add this to your App, it will embed the static CSS and JS files at runtime into the head of your app using browser blob storage.
You might find it useful as a workaround.
Also, I saw this note from Chris Sainty in https://github.com/Blazored/Modal:
Important Notice for Blazor Apps Regarding the CSS Content in Blazored Toast
As of ASP.Net Core Preview 6 content can be embedded in a Razor class Library. However there were two outstanding issues that prevent easy use of said content. These were resolved in Preview7. You should add:

To your index.html (client side) or _Host.cshtml (server side). This is what is included in both the BlazorSample project as well as the BlazorServerSideSample project.

Yes this is the problem, I also have section in README https://github.com/Mewriick/Blazor.FlexGrid#setup-blazor-app-as-razorcomponents-aka-serverside-blazor-app where is describe how to handle this. FlexGrid extensions UseFlexGrid also solve this problem without any manual copying files.

Ok. Thanks!


Module '"../../types"' has no exported member 'AddressSchema'

Describe the bug
Since 4.2.x i get an error that "AdressScheme" could not get imported:
Error: node_modules/@adyen/adyen-web/dist/types/components/Card/types.d.ts:2:10 - error TS2305: Module '"../../types"' has no exported member 'AddressSchema'.

2 import { AddressSchema, BrowserInfo } from '../../types';

To Reproduce
Steps to reproduce the behavior:

imported adyen web
get the Error during complie time

Expected behavior
Complile without Errors
Desktop (please complete the following information):

OS: Windows 10
Browser -
Version 4.2.0-4.2.1

Hi @LukasDrP, and thanks for reaching out.
A fix for this issue has been added and will be included in our next patch version.
It seems we were missing the type check in our Github actions. This was also fixed so this shouldn't happen again.
I'm closing this ticket, but feel free to reach us out again in the future. Have a nice day!


Activities related list on custom object

Hi,
I'm trying to use your solution, with custom object (Company__c).
The company object have related list of activities (On Task I have custom lookup field to Company__c).
But, I don't have the option to put Activities__r (Child relationship name) in the component..

Any suggestions?
Thanks, Lee.

Hi Lee,
I'll investigate and follow up. Could you share a screen shot of the custom field details in Setup of your lookup field on Task object?
Thanks,
Doug

Question, does this error occur when you leave the "Child Relationships" attribute blank in App Builder? By default all relationships will be shown.
If it works that way then save the page in App Builder. On the page in normal view (not App Builder), hover your mouse over the relationship labels in the vertical navigation. A tooltip should appear that displays the API name of the relationship. Confirm what the API name is listed there.
Thanks

Hi Douglas,
The error occurred when I'm trying to save my changes.
see screenshot of Activity custom fields (Company__c):

Thanks @leeBringg,
I've confirmed that for *custom lookup fields on Activity object that the SObject Describe info for the child relationships gives me special object name LookedUpFromActivity which is not queryable and is causing the issue.
I believe I simply need to update the code to look for that object name and swap out for a standard queryable object name instead like Task and Event.

I'll notify you once a new version of the app with this fix is made available. Until then, do not specify child relationship names for custom lookup fields on Activity object.
Thanks for the feedback and catching this issue,
Doug

@leeBringg - I've got fix in the develop branch and will get this out in the next release. Thanks!

Hi Douglas,
Thank you !


chore: update renovate config

:tada: This PR is included in version 6.0.10 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update span names for OpentelemetryPhoenix

Stacked on #431 which needs to get in first. Check the latest commit for the changes here.
I don't see any convention for how span names should be handled for websocket events other than maybe using the messaging namespace, but I think we want the structure to be more in line with how span names usually look: {operation} {resource}
So instead of MyAppWeb.ResourceLive.Show.mount it becomes live_view.mount /resources/:resource_id (for events it'll be live_view.handle_event /resources/:resource_id hello.
Changes

Span names changed from {live_view_module}.{handler_function} to live_view.#{handler_function} {route}
Span names changed from {live_view_module}.handle_event {event} to live_view.handle_event {route} {event}

I think this is a breaking change, right? To do that we need really good reason, like there being an Otel spec or semantic convention saying this is how to name them.
Do you know of other implementations in other languages and what they use for such span names? Maybe based on that I could poke around about a semconv proposal to standardize this.

Right, this is a breaking change, I've updated the issue to mention this thanks!
This is LiveView specific though so there is no direct spec we can use for this, but this does conform to the general tendency in SemConv using the {operation} {resource} format as the following shows:
https://github.com/open-telemetry/semantic-conventions/blob/v1.27.0/docs/messaging/messaging-spans.md#span-name
https://github.com/open-telemetry/semantic-conventions/blob/v1.27.0/docs/http/http-spans.md#name
https://github.com/open-telemetry/semantic-conventions/blob/v1.27.0/docs/graphql/graphql-spans.md
https://github.com/open-telemetry/semantic-conventions/blob/v1.27.0/docs/database/database-spans.md#name
There are alternatives though like:
https://github.com/open-telemetry/semantic-conventions/blob/v1.27.0/docs/rpc/rpc-spans.md#span-name
Considering that LiveView is built on top of the Phoenix.Socket messaging system I think it is more correct to following the messaging span format.

This is not a review but a general comment on this and a couple of the other PRs that are introducing dependencies on Phoenix, LiveView, etc. Our instrumentation libraries cannot include dependencies on the library being instrumented. There are a few reasons for this but as you come up with ideas or proposals just know that is a hard constraint.

Our instrumentation libraries cannot include dependencies on the library being instrumented. There are a few reasons for this but as you come up with ideas or proposals just know that is a hard constraint.

I assume you are talking about https://github.com/open-telemetry/opentelemetry-erlang-contrib/pull/439 that introduces it as a dep for the lib as this one only requires it for dev/test? (from #431 this is just stacked on top of that)
As for #439 I would like to understand the reasons, is there some issue to refer to? There are some of the existing instrumentation libraries that have direct dependencies currently:
https://github.com/open-telemetry/opentelemetry-erlang-contrib/blob/main/instrumentation/opentelemetry_oban/mix.exs#L47
https://github.com/open-telemetry/opentelemetry-erlang-contrib/blob/main/instrumentation/opentelemetry_req/mix.exs#L66
https://github.com/open-telemetry/opentelemetry-erlang-contrib/blob/main/instrumentation/opentelemetry_tesla/mix.exs#L61
And some libraries have other dependencies that are more loosely related:
https://github.com/open-telemetry/opentelemetry-erlang-contrib/blob/main/instrumentation/opentelemetry_cowboy/rebar.config#L3
https://github.com/open-telemetry/opentelemetry-erlang-contrib/blob/main/instrumentation/opentelemetry_bandit/mix.exs#L78
For #439 I can maybe find a workaround, though I don't know if the compiler resolution is going to make it difficult, and it'll also loose the compiler checks that can report issues early on.


training model

It's a great honor to read your article, but I really hope to see your training network. I would be grateful if you could provide it！

Sorry to say that it is not easy to provide feasible training code due to
some license limitations. I can give you some sources.

Dataset. CATH data could be downloaded via https://www.cathdb.info and
protein structures could be downloaded via https://www.rcsb.org.
Input features. The only input features are produced by DeepMSA(
https://zhanglab.dcmb.med.umich.edu/DeepMSA/).
Training code. You can follow the Method section in the paper (network
structure code could be dumped from the checkpoint file).

Feel free to ask me if you need any details.
BTW, I suggest using AlphaFold for better performance
On Sun, Feb 19, 2023 at 6:41 PM fangyingdawei @.***>
wrote:

It's a great honor to read your article, but I really hope to see your
training network. I would be grateful if you could provide it！
—
Reply to this email directly, view it on GitHub
https://github.com/fusong-ju/ProFOLD/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQBVMFFOOF4QVYVG6N5NLULWYH2FNANCNFSM6AAAAAAVA4MWIA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

非常感谢您的回复！
------------------ 原始邮件 ------------------
发件人:                                                                                "fusong-ju/ProFOLD"                                                                                @.>;
发送时间: 2023年2月21日(星期二) 中午11:45
@.>;
<EMAIL_ADDRESS>主题: Re: [fusong-ju/ProFOLD] training model (Issue #5)
Sorry to say that it is not easy to provide feasible training code due to
some license limitations. I can give you some sources.

Dataset. CATH data could be downloaded via https://www.cathdb.info and
protein structures could be downloaded via https://www.rcsb.org.
Input features. The only input features are produced by DeepMSA(
https://zhanglab.dcmb.med.umich.edu/DeepMSA/).
Training code. You can follow the Method section in the paper (network
structure code could be dumped from the checkpoint file).

Feel free to ask me if you need any details.
BTW, I suggest using AlphaFold for better performance
On Sun, Feb 19, 2023 at 6:41 PM fangyingdawei @.***>
wrote:
> It's a great honor to read your article, but I really hope to see your
> training network. I would be grateful if you could provide it！
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/fusong-ju/ProFOLD/issues/5>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQBVMFFOOF4QVYVG6N5NLULWYH2FNANCNFSM6AAAAAAVA4MWIA>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: @.***>
>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

很抱歉，由于 一些许可证限制。我可以给你一些消息来源。 1. 数据集。CATH 数据可以通过 https://www.cathdb.info 和 蛋白质结构可以通过 https://www.rcsb.org 下载。 2. 输入功能。唯一的输入特征由DeepMSA（https://zhanglab.dcmb.med.umich.edu/DeepMSA/）产生。 3.训练代码。您可以按照论文中的方法部分（网络 可以从检查点文件转储结构代码）。 如果您需要任何详细信息，请随时询问我。 顺便说一句，我建议使用AlphaFold以获得更好的性能
...
On Sun, Feb 19, 2023 at 6:41 PM fangyingdawei @.> wrote: It's a great honor to read your article, but I really hope to see your training network. I would be grateful if you could provide it！ — Reply to this email directly, view it on GitHub <#5>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQBVMFFOOF4QVYVG6N5NLULWYH2FNANCNFSM6AAAAAAVA4MWIA . You are receiving this because you are subscribed to this thread.Message ID: @.>

Hello author, may I ask you about training structure code.How to get the network structure code from the checkpoint file?


0.35.10

Codecov Report

Merging #637 (c79240a) into master (8231a90) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #637   +/-   ##
=======================================
  Coverage   93.67%   93.68%
=======================================
  Files         112      112
  Lines       21112    21127   +15
=======================================
+ Hits        19777    19792   +15
  Misses       1335     1335

Impacted Files
Coverage Δ

src/lib/environment/crateinfo.rs
89.32% <100.00%> (+0.18%)
:arrow_up:

src/lib/environment/crateinfo_test.rs
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


[BUG] addNotes function adding notes as an array of objects, parsed as [object Object] in notes field

Category

[ ] Enhancement
[x] Bug
[ ] Question
[ ] Documentation gap/issue

Version
Please specify what version of the library you are using: 3.5.0
Please specify what version(s) of PowerPoint you are targeting: Powerpoint Online, Google Slides (they show identical behavior)
Expected / Desired Behavior
addNotes should result in text notes in the Notes field of the Powerpoint file.
Observed Behavior
addNotes function with any string results in [object Object] in the note field in any reader I've tried it in.
Steps to Reproduce

use addNotes function to add any string to a pptxgen presentation.
trigger save presentation
open in either Powerpoint Online or Google Slides (possibly in Powerpoint itself?)
note [object Object] in the field

Here is a slightly modified version of the demo fiddle which replicates this behavior: https://jsfiddle.net/zj5m21ba/0/
Here is another version of the demo fiddle that bypasses addNotes but successfully generates notes: https://jsfiddle.net/zj5m21ba/1/

I noticed the same issue yesterday after updating. It looks like the function was updated as part of the addTextDefinition update that took place for 3.5.0.
Updated function:
function addNotesDefinition(target, notes) {
    target._slideObjects.push({
        _type: SLIDE_OBJECT_TYPES.notes,
        text: [{ text: notes }],
    });
}

All the downstream code still seems to be expecting a string though, so reverting back to the following restores the previous behaviour:
function addNotesDefinition(target, notes) {
    target._slideObjects.push({
        _type: SLIDE_OBJECT_TYPES.notes,
        text: notes,
    });
}

Thanks @karlolsonuc and @ReimaFrgos
Whoops. I neglected to check Notes functionality before v.3.5.0 was released.
Fixed now:


iOS voice does not work intermittently in Sample bot

Was facing voice issue in iPhone in one of the custom bots, so after trying to figure out what is the issue, found that issue happens in Sample bot also.
Bot Link: https://microsoft.github.io/BotFramework-WebChat/03.speech/b.cognitive-speech-services-js/
Version
4.9.2
Describe the bug
In the iPhone, the bot will listen, but will not speak. The issue happens intermittently across the devices irrespective of the iOS version. Works fine in Android, Mac, Windows.
Steps to reproduce
A video can be found here. The bot does not speak here:
https://drive.google.com/file/d/1Svs6ICcYbgcCW8rlYeySe1bx7MrCLlxc/view?usp=drivesdk
iPhone used in the video:
iOS 12.4.6, iPhone 6
Expected behavior
The bot should speak in iPhone all the time
[Bug]

Hi @collegewap : Are you using the Directline Speech channel? Or a separate speech recognition approach?

@daveta Using the same code as given here: https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/03.speech/b.cognitive-speech-services-js
I have made changes only to the look and feel. No customizations related to speech. Also, we are using LUIS.

@daveta he is using Speech Services, not Direct Line Speech.
It is very interesting. When we do 4.9.2 release (and any production releases), we are 100% sure that speech synthesis is working. This is the page we test against on every release, https://corinagum.github.io/WebChat-release-testing/.
And when I am testing the page on my iPhone right now, it stopped working, just like how @collegewap recorded.
I need to hook a Mac to debug. But I am sure this will be addressed when we do the release next Monday. This is shipblocker.
Thanks for reporting.

In the meanwhile, @collegewap could you quickly check if it works on older version of Web Chat, e.g. 4.9.1, 4.8.1 and 4.7.1?

My bad, I flipped the "do not disturb" switch on iPhone (on it side), thus the audio was not coming through.
After I flipped the switch off, audio is going through. I tested 4.9.2 through this page https://microsoft.github.io/BotFramework-WebChat/03.speech/b.cognitive-speech-services-js/. And also through few of my testing pages and everything looks good.
@collegewap can you check on your side?

Attached is a video showing Safari on iPhone, on https://microsoft.github.io/BotFramework-WebChat/03.speech/b.cognitive-speech-services-js/. And is able to do both speech recognition and synthesis.
RPReplay_Final1596845716.zip

Closing due to inactivity.