Request - Have filenames with padded zeroes?

Hi, thanks for Orbit!
Is there a way to customize / add padded zeroes to the filenames Orbit creates? This would sort the files better in a code editor that doesn't understand numerical sorting (like Sublime). Curious about your opinion.

@mgussekloo The filename is generated from the primary-key, so you could always change the column it uses or manually override it although I wouldn't recommend the latter.


fix: better env loading error message

Closes #131.

Already merged, but if anything we should had kept the error propagation up and keep this out of the library code, into the binary: https://github.com/aquelemiguel/parrot/blob/main/src/main.rs#L8-L9


Custom configs

Please add ability to use custom configs(mounted in specific dir for example). I want to use it as reverse-proxy in my nas but cant setup bridges in current setup
P. s. Reality support also could be ncie

Hi @1MoreRaiday
Is the "-i" option (read config from stdin) what you were after? Please let me know if it solved your issue.
Thanks.


project: update infrastructure for bower/amd usage

For LaxarJS/laxar#179 and LaxarJS/laxar#225 to fully work, we need to update the widget infrastructure.
The widget.json should use the internal name: ax-markdown-display-widget.
The bower.json should use the fully qualified name: laxar-markdown-display-widget.
This makes widgets work exactly like controls.

Implemented on master (v2.1.0).


[lint] Use eslint:recommended

What?
Let's use eslint to lint typescript.
eslint tutorial
Detail
We currently use eslint on CI and has .eslintrc.json - which allows vscode to show an instant error/warning message.
Our eslint has only 6 rules, which is very flexibile than extending 'eslint:recommended' config, which I assume to be the default.
As far as I remember, we turned off the lint as it generates too much errors and warnings.
Why don't we turn on the linter's basic options and enhance severity of our code?
Why?
To exploit more typescript functionality. (ex. Remove 'any')
Lists
Let's remove error/warnings for severity and clean code.
For example,

prefer-const : Use const instead if a variable is never reassigned
no-unused-vars: Remove unused vars
no-var-requires: Do not use 'const' or 'let' when your use 'require'. Use 'import' instead. 🔗
Unnecessary semicolon

FYI, #588 shows how those prefer-const no-unused-vars no-var-requires will work.

Fix existing errors

[ ] [lint] Remove unnecessary semicolons
[ ] [lint] Remove unused variables

Status
src

eslint src --ext ts

~800 problems
media

eslint media --ext js

✖ 459 problems (459 errors, 0 warnings)
4 errors and 0 warnings potentially fixable with the --fix option.


Make source port configurable

Some funny networks might require users to use only a narrow range of ports... or even only one port as a source port. This patch adds --cport flag to support setting the source port in the UDP packets via binding the client socket to the specified address.
Please test this PR before merging and report about any issues.

Thanks!


chore: show growth free trial if account hasn't claimed

PR-Codex overview
The focus of this PR is to update billing-related components to include conditional query parameters for claiming growth and handling payment methods efficiently.
Detailed summary

Updated ctaProps in PricingSection.tsx and various other components to include conditional query parameters for claiming growth.
Modified useUpdateAccountPlan to handle waiting for account plan updates via webhook.
Added logic in CreditsItem.tsx to distinguish startup grant credits.
Enhanced handling of payment methods with useDisclosure in BillingTypeAlert.tsx.
Added ManageBillingButton and OnboardingBilling components for managing billing information.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

📝 Changed routes:

…board/settings/billing

(view full size)

Commit e24d8b2f9da4a6f0ac92a82f216f7a3660adf651 (https://thirdweb-lzqwy7rc4.thirdweb-preview.com).

nice. you check out depay services plugins on git?
Sent from AOL on Android
On Thu, Mar 28, 2024 at 21:45, Jonas @.***> wrote:
📝 Changed routes:
| …board/settings/billing |
|
(view full size) |
Commit e24d8b2 (https://thirdweb-lzqwy7rc4.thirdweb-preview.com).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


impala 4.0 RPM

Could you have a branch to build impala 4.0 on centos7.8?

Sorry, I'm not interested in this.


Simplification of hashing function

The hashing is an important part of the rules’ execution process, as its resulting value is used to verify if the rules performed modifications on the processed data. The data structure OntCatOWL uses for creating the hash is the ontology_dataclass_list.
We do not use default hashing function for creating this hash value, instead we simply concatenate the hashes of all its composing elements, the dataclasses. Similarly, the dataclasses’ hashes are the concatenation of the elements’ strings of all their internal lists.
However, it would be better to use a default hash function. This would simplify the process and reduce the chance of errors.
For the implementation, check: https://stackoverflow.com/questions/49732225/calculate-hash-of-object-python

After implementing this, we must update the respective documentation here.

This is unnecessary. We're using an unhashable type (list).


Add support for fixed aspect ratios in main video grid

Curious, what does "fixed aspect ratios" mean here? 🤔

Below are some examples, before and after. The main issue with the current design is that if a user's screen is too narrow and there are many participants the videos will be cut off regardless of the aspect ratio, and the video will be cropped making it hard to see what's on the video.
https://user-images.githubusercontent.com/1489493/152596734-a8265e1e-49ef-455f-ac5d-8038e565118d.mp4
https://user-images.githubusercontent.com/1489493/152596748-7a7c61fc-27f5-43fe-8b1a-df65ae048213.mp4

Ahh I see! Very nice! I love it 😍

Can we get this PR in soon?


comment> alternativeto

You are now live at http://Alternativeto.net   The software database. Cheers http://alternativeto.net/software/artist-explorer/

Great.


Putting RG353 to sleep with power button corrupted install

Using Samsung EVO card. When I put device to sleep while preview video is playing that was scraped, and wake it back up, the device freezes. Normally it recovers after shutting down and turning back on, but this time it broke booting, now it just does to a black screen. The device still boots to other OS’s on other cards so it was specific to this moment. Other people having the same issue here https://reddit.com/r/RG353V/comments/yp8x7k/_/iviks26/?context=1
thanks for your great great work on ArkOS. Other than this it’s my favorite option for my device. On a fresh install I may just not scrape videos.

  It's an Emulationstation issue that hasn't been solved yet.  As far as breaking booting, a workaround was applied with the newest install and today's update that should mitigate that issue for 353 devices.  Just redownload the image and flash your sd card, and update to today's update.


'stack ghci' has errors in REPL

I have been using Ivory on Stack and, while the build has been working just fine, I find I am unable to get to a REPL with 'stack ghci'.
I brought this issue up with some Stack developers and was told I should bring it up here. My stack.yaml is:
flags: {}
packages:
- ivory-stdlib/
- ivory-model-check/
- ivory-opts/
- ivory-examples/
- ivory-backend-acl2/
- ivory-serialize/
- ivory/
- ivory-hw/
- ivory-eval/
- ivory-backend-c/
- ivory-quickcheck/
- ivory-artifact/
extra-deps:
- acl2-0.0.1
- ghc-srcspan-plugin-<IP_ADDRESS>
resolver: lts-2.21

and I have been running 'stack test' and 'stack ghci'. The latter eventually fails with:
There were multiple candidates for the Cabal entry "Test.hs(/home/hodapp/source/ivory/ivory-examples/examples/Test.hs), pi
cking /home/hodapp/source/ivory/ivory-model-check/test/Test.hs
Configuring GHCi with the following packages: ivory-artifact, ivory-backend-acl2, ivory-backend-c, ivory-eval, ivory-examp
les, ivory-hw, ivory-model-check, ivory-opts, ivory-quickcheck, ivory-serialize, ivory-stdlib, ivory
GHCi, version 7.8.4: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-<IP_ADDRESS> ... linking ... done.
Loading package deepseq-<IP_ADDRESS> ... linking ... done.
Loading package containers-<IP_ADDRESS> ... linking ... done.
Loading package bytestring-<IP_ADDRESS> ... linking ... done.

Loading package acl2-0.0.1 ... linking ... done.
Loading package monadLib-3.7.3 ... linking ... done.
Loading package blaze-builder-<IP_ADDRESS> ... linking ... done.
Loading package unordered-containers-<IP_ADDRESS> ... linking ... done.
Loading package semigroups-<IP_ADDRESS> ... linking ... done.
Loading package void-0.7 ... linking ... done.
Loading package HStringTemplate-0.8.3 ... linking ... done.
Loading package utf8-string-1 ... linking ... done.
Warning: ignoring unrecognised input `/home/hodapp/source/ivory/ivory/src/Ivory/Language/Syntax/Concrete/Lexer.x'
Warning: ignoring unrecognised input `/home/hodapp/source/ivory/ivory/src/Ivory/Language/Syntax/Concrete/Parser.y'

/home/hodapp/source/ivory/ivory/src/Ivory/Language/Syntax/Concrete/QQ.hs:45:8:
    Could not find module ‘Ivory.Language.Syntax.Concrete.Lexer’
    It is a member of the hidden package ‘ivory-<IP_ADDRESS>’.
    Use -v to see a list of the files searched for.

/home/hodapp/source/ivory/ivory/src/Ivory/Language/Syntax/Concrete/QQ.hs:46:18:
    Could not find module ‘Ivory.Language.Syntax.Concrete.Parser’
    It is a member of the hidden package ‘ivory-<IP_ADDRESS>’.
    Use -v to see a list of the files searched for.
Failed, modules loaded: none.
Prelude>

And if I try to import Ivory.Language:
Prelude> import Ivory.Language

<no location info>:
    Could not find module ‘Ivory.Language’
    It is a member of the hidden package ‘ivory-<IP_ADDRESS>’.

This is a pretty minor issue (I can still just run a REPL in the cabal sandbox), and I may look into it myself, but I figured I would post it here in case anyone can shed some light on the problem.

Warning: ignoring unrecognised input `/home/hodapp/source/ivory/ivory/src/Ivory/Language/Syntax/Concrete/Lexer.x'
Warning: ignoring unrecognised input `/home/hodapp/source/ivory/ivory/src/Ivory/Language/Syntax/Concrete/Parser.y'

You probably need to use cabal repl (or manually run happy and alex to generate the parser). I suspect stack ghci has a flag that would tell it to start a cabal repl instead of a plain ghci, but I've never used stack personally.

We haven't tried using stack for building any Ivory related code, so unfortunately I can't offer any help with this. If you do figure out how to get it to work, we'd appreciate hearing your results, and we would accept any patches required.

Sure, @pchickey. I can tell you that Ivory already builds just fine in stack and various different resolvers (and if I get past this issue, I'll commit the stack.yaml that I use), but I'm not sure if the tests run right, and that might be related.

@Hodapp87 @pchickey having tested language-python, it appears the Cabal file for ivory is incomplete.
Contrast with https://github.com/bjpop/language-python/blob/master/language-python.cabal
Cf. http://stackoverflow.com/questions/32899040/how-can-i-make-stack-call-happy-alex-and-other-build-tools
This should rectify it, ping me if it doesn't. I couldn't completely test it with language-python because my machine is overloaded at the moment.

@bitemyapp, this seems to get further, but develops other problems (I stuck a log of the latest one in https://raw.githubusercontent.com/Hodapp87/ivory/stack-ghci/ivory-wtf.txt). This may be related to https://github.com/commercialhaskell/stack/issues/970.

Using the stack.yaml from @Hodapp87 as a starting point, I was able to build a project with stack and use ghci. Below is my stack.yaml. I need to first
$ stack install happy
$ stack install alex

then
$ stack build

watch a lot of warnings about the changes to the Prelude re Applicative and Monoid, and then
$ stack ghci <projectname>:exe:<executablename>

Here is my stack.yaml:
flags: {}
packages:
- '.'
- location:
    git: https://github.com/GaloisInc/ivory.git
    commit: 7ecea5839898b65430ca298fd1f3af4d2272e3fb
  subdirs:
  - ivory-artifact
  - ivory-backend-c
  - ivory-eval
  - ivory-examples
  - ivory-hw
  - ivory-model-check
  - ivory-opts
  - ivory-quickcheck
  - ivory-serialize
  - ivory-stdlib
  - ivory
extra-deps:
- happy-1.19.5
- alex-3.1.4
- ghc-srcspan-plugin-<IP_ADDRESS>

@tinkyholloway, thanks for the information. It looks like this was using Ivory as a dependency rather than using stack for Ivory itself, but it should work just the same. I'll have to try something similar.
Did this incorporate the handful of .cabal file changes that I had in https://github.com/GaloisInc/ivory/compare/master...Hodapp87:stack-build? If so, then I wonder why manually installing alex & happy was necessary.

@Hodapp87, yes this is using ivory as a dependency. The project being built here is just the example in the tutorial (with the necessary API change to compile.
I made no changes to ivory code anywhere.
I also cannot explain why happy and alex needed to be built separately. Without doing so later phases in the build process for ivory complained that it could not find their respective executables. The easiest thing for me to do was to do what I did. I'm no stack expert.

@tinkyholloway, could you try pointing to https://github.com/Hodapp87/ivory/tree/stack-build (it's probably just the .cabal file that matters), get rid of alex & happy from your extra-deps and from what you install manually, and see if this works? I'm able to get a REPL in my own project similarly.

That worked just fine for me @Hodapp87. Nice.

Closing this---stack ghci works now. BTW, we may move to an alternate build system in the future.


Latest mysql version fails

The latest version of the mysql connector fails with the following error:
Traceback (most recent call last):
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/bluesky/run_engine.py", line 1513, in _run
    msg = self._plan_stack[-1].send(resp)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/bluesky/utils/__init__.py", line 1140, in dec_inner
    return (yield from plan)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/bluesky/preprocessors.py", line 325, in run_wrapper
    yield from contingency_wrapper(plan,
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/bluesky/preprocessors.py", line 575, in contingency_wrapper
    ret = yield from plan
  File "/dls_sw/i03/software/artemis/src/artemis/fast_grid_scan_plan.py", line 82, in run_gridscan
    with ispyb as ispyb_ids, NexusWriter(
  File "/dls_sw/i03/software/artemis/src/artemis/ispyb/store_in_ispyb.py", line 46, in __enter__
    ) = self.store_grid_scan(self.full_params)
  File "/dls_sw/i03/software/artemis/src/artemis/ispyb/store_in_ispyb.py", line 77, in store_grid_scan
    with ispyb.open(self.ISPYB_CONFIG_FILE) as self.conn:
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/ispyb/__init__.py", line 55, in open
    conn = Connector(**credentials)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/ispyb/connector/mysqlsp/main.py", line 30, in __init__
    self.connect(user=user, pw=pw, host=host, db=db, port=port)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/ispyb/connector/mysqlsp/main.py", line 53, in connect
    self.conn = mysql.connector.connect(
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/mysql/connector/pooling.py", line 287, in connect
    return MySQLConnection(*args, **kwargs)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/mysql/connector/connection.py", line 137, in __init__
    self.connect(**kwargs)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/mysql/connector/abstracts.py", line 1095, in connect
    self._open_connection()
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/mysql/connector/connection.py", line 544, in _open_connection
    self.set_converter_class(self._converter_class)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/mysql/connector/abstracts.py", line 1271, in set_converter_class
    self.converter = convclass(charset_name, self._use_unicode)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/mysql/connector/conversion.py", line 136, in __init__
    MySQLConverterBase.__init__(self, charset, use_unicode, str_fallback)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/mysql/connector/conversion.py", line 59, in __init__
    self.set_charset(charset)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/mysql/connector/conversion.py", line 73, in set_charset
    self.charset_id = CharacterSet.get_charset_info(self.charset)[0]
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/mysql/connector/constants.py", line 775, in get_charset_info
    info = cls.get_default_collation(charset)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/mysql/connector/constants.py", line 746, in get_default_collation
    raise ProgrammingError(f"Character set '{charset}' unsupported")
mysql.connector.errors.ProgrammingError: Character set 'utf8' unsupported

We should pin version to 8.0.29 or otherwise fix it

This has been fixed in https://github.com/DiamondLightSource/ispyb-api/issues/183


No output PDF

I'm not super clear on how the PDF functionality is supposed to work. I'm able to get the .CSV output in a way that I expect though.
The docs don't really specify what is supposed to end up in the /pdf folder although based on the context, I'm assuming it's meant to grab PDF syllabi when people link them in the syllabus section in Canvas?
I'm not able to reproduce this assumed behaviour though. Any files that I add to my syllabus body in Canvas get ignored by the script - the internal logic that fails for me is link.get('data-api-endpoint') - this always gives me None as the endpoint and so far no file is ever downloaded or noted in the logs

@alisonmyers any ideas about this one? I can also bug Jeremy if this doesn't sound familiar

I think this was an update I added... it is possible that none of the test courses in LS sandbox have a pdf in the right place though ...

note - in helpers the url is static and uses test.instructure (won't be up to date with course)
https://github.com/saud-learning-services/syllabus-scraper/blob/50d3d69cbbfb0877841dbeb89620b323340a41f3/src/helpers.py#L36

I see. The issue I'm having is that the PDF's that I'm adding don't come back with that 'data-api-endpoint' attributes, only a 'href'. So I'm probably just not uploading to the correct spot.

Ran it today - changing url above to ubc.instructure.com, and using no term filter (hit enter as indicated) - was working for me. Files downloaded to pdf folder.

Ran it today - changing url above to ubc.instructure.com, and using no term filter (hit enter as indicated) - was working for me. Files downloaded to pdf folder.

Ran with 2018W2 and downloaded 2 items.
No bug, just misunderstood test scenario

Ran with 2018W2 and downloaded 2 items.
No bug, just misunderstood test scenario

Still experiencing a unknown problem. When adding files to syllabi and running shortly afterwards, getting no files and extract_details column in the CSV says:

found 1 links and 0 syllabi in MarkoSandbox Marko Sandbox (47536): []

Behind the scenes, the reason these don't get picked up is because they don't have the attribute data-api-endpoint in the links.
But other courses with documents attached seem to be working just fine.
Possible problem is that these files just take some time to appear in the backend. Leaving this open for now to investigate further.

Still experiencing a unknown problem. When adding files to syllabi and running shortly afterwards, getting no files and extract_details column in the CSV says:

found 1 links and 0 syllabi in MarkoSandbox Marko Sandbox (47536): []

Behind the scenes, the reason these don't get picked up is because they don't have the attribute data-api-endpoint in the links.
But other courses with documents attached seem to be working just fine.
Possible problem is that these files just take some time to appear in the backend. Leaving this open for now to investigate further.

@markoprodanovic to try this again

@markoprodanovic to try this again


More updates for CLI / new API

Turns out I missed a bunch of things in the CLI & new API. Bugs (I blame @zertosh for not catching them :wink:), bad options. This makes things better. And then I wrote a readme.
cc @spicyj @amasad @jeffmo

whatttttttttt? I left this disclaimer for a reason https://github.com/facebook/jstransform/pull/81#issuecomment-91263291 :stuck_out_tongue:

Once I fixed the visitor names locally, it all ran smoothly :) ** For my uses, I don't use the CLI or modules.

Found (another) bug https://github.com/facebook/jstransform/pull/102


fix: download and upload progress inverted fixed

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Windows build

Hi,
As part of making php-cpp builds using config file, I began to port it to windows (using vc13 and later vc11 to match upstream windows binary).
1st result:
https://gist.github.com/pierrejoye/593d8bf8ba3c5a81987c
Looks like some cpp features used need some tweeks.
besides:
1st config.w32 (pretty much the same then for config.m4):
// vim:ft=javascript
// $Id$
ARG_ENABLE('php-cpp', 'Enable php-cpp library', 'no');
if (PHP_PHP_CPP != "no") {
ADD_SOURCES("sapi/php-cpp/src", "argument.cpp base.cpp callable.cpp classbase.cpp exception.cpp global.cpp globals.cpp
hashmember.cpp iterator.cpp members.cpp modifiers.cpp namespace.cpp object.cpp origexception.cpp
parameters.cpp streambuf.cpp streams.cpp super.cpp value.cpp valueiterator.cpp", "phpcpp");
SAPI('phpcpp', 'src/extension.cpp', 'php' + PHP_VERSION + 'phpcpp.lib');
//  PHP_INSTALL_HEADERS("sapi/phpcpp", "src/*.h");
}
it will allow to build php-cpp as part of php as a "sapi", which makes allows some optimizations later. Once it works I will try to provide another one to rely only on phpize, so php-cpp can be distributed easily.

Hi,
with the newest sources if got following errors:
2>\php-cpp\zend\compileroptions.h(37): error C2065: 'tsrm_ls' : undeclared identifier
2>\php-cpp\zend\compileroptions.h(37): error C2227: left of '->compiler_options' must point to class/struct/union/generic type
2>\php-cpp\zend\compileroptions.h(40): error C2065: 'tsrm_ls' : undeclared identifier
2>\php-cpp\zend\compileroptions.h(40): error C2227: left of '->compiler_options' must point to class/struct/union/generic type
2>\php-cpp\zend\compileroptions.h(49): error C2065: 'tsrm_ls' : undeclared identifier
2>\php-cpp\zend\compileroptions.h(49): error C2227: left of '->compiler_options' must point to class/struct/union/generic type
3>\php-cpp\hhvm../include/value.h(135): error C3646: 'noexcept' : unknown override specifier
3>\php-cpp\hhvm../include/value.h(147): error C3646: 'noexcept' : unknown override specifier
2>\php-cpp\zend../include/array.h(111): error C3646: 'noexcept' : unknown override specifier
2>\php-cpp\zend../include/object.h(123): error C3646: 'noexcept' : unknown override specifier
My Setting:
Windows 7(x64), Apache 2.4.10(x86), Php 5.6.3ts(x86) and Visual Studio 2013.

Hi there,
any progres here? I tried to compile it in VC 2013 but ended up with 2300 errors...

There are people who have managed to compile it under Windows, but I'm not sure how they did it. Sadly, nobody sends in pull requests that solves this problem. You might try http://www.mingw.org/

@ddeath: I managed to compile it under VC 2013. I made also some fixes and I will make some pull requests this Fr.

@atvise Thanks, that would be awesome. I owe you a beer. So when you will have a way to Slovakia contact me :100:

@ddeath As promised I have uploaded some pull requests for the MSVC issues ;) Your welcome :smile: I will :ok_hand: :beer:

@atvise Thanks, I do not get any errors during compilation, as it starts to linking... 125 errors
LNK2001: unresolved external symbol __imp___zval_copy_ctor_func	C:\phpcpp\classimpl.obj	phpcpp

Not exactly sure which library I am not linking. Any idea?

You'r welcome :smiley:
I'm linking following libraries:
php5ts.lib
phpcpp.lib
phpcpp-common.lib
Which version of php do you use ?

I tried 5.6.6, 5.5.22, 5.4.38 hmm I do not link phpcpp-common.lib where dit it come from? :D

I'm using my own CMake script to compile PHP-CPP so my phpcpp libs are probably the same as your phpcpp.lib. Did you use the CMake files from the branch "cmake" ?

Yes I do, but I had to change it a little bit because it does not work. I removed c++11 support check, and
install(TARGETS phpcpp LIBRARY DESTINATION lib)
changed to
install(TARGETS phpcpp DESTINATION lib)
and also added some include folders...
But it do not have any phpcpp-common.lib in release folder...
Here is pastebin for cmake http://pastebin.com/7pTBsHde
Thanks for your time

I think it's the problem of php itself. I took me also a amount of time to get behind this errors. Look up following files:
Zend/zend_modules.h

Add BEGIN_EXTERN_C() on line 125
Add END_EXTERN_C() on line 136
Zend/zend_object_handlers.h
Move BEGIN_EXTERN_C() from line to 25

Now try again :)
Btw: I use also a customized cmake file and I myself generated the file phpcpp-common.lib. So you couldn't possible have this file or anyone else ;)

Hey thanks :D It helps a little it :D I moved from 8 errors to 6 :dancer:
Error	606	error LNK2019: unresolved external symbol "public: static void __cdecl Php::Functor::initialize(void * * *)"     (?initialize@Functor@Php@@SAXPAPAPAX@Z) referenced in function "private: bool __thiscall Php::ExtensionImpl::initialize(int,void * * *)"     (?initialize@ExtensionImpl@Php@@AAE_NHPAPAPAX@Z)	phpcpp
Error	607	error LNK2019: unresolved external symbol "public: static void __cdecl Php::Functor::shutdown(void * * *)"     (?shutdown@Functor@Php@@SAXPAPAPAX@Z) referenced in function "private: static int __cdecl Php::ExtensionImpl::processShutdown(int,int,    void * * *)" (?processShutdown@ExtensionImpl@Php@@CAHHHPAPAPAX@Z)	phpcpp
Error	608	error LNK2019: unresolved external symbol "__declspec(dllimport) struct _hashtable module_registry"     (__imp_?module_registry@@3U_hashtable@@A) referenced in function "class Php::ExtensionImpl * __cdecl Php::find(int,void * * *)"     (?find@Php@@YAPAVExtensionImpl@1@HPAPAPAX@Z)	phpcpp
Error	609	error LNK2001: unresolved external symbol "public: virtual bool __thiscall Php::FatalError::report(void)const "     (?report@FatalError@Php@@UBE_NXZ)	phpcpp
Error	610	error LNK2001: unresolved external symbol "public: virtual bool __thiscall Php::FatalError::report(void)const "     (?report@FatalError@Php@@UBE_NXZ)	phpcpp
Error	611	error LNK1120: 4 unresolved externals	phpcpp

The undefined functions that you report are implemented in files that were later added to PHP-CPP: FatalError.cpp and Functor.cpp -- could it be that these files are not yet included in the Visual C++ project file?

After I added Functor.cpp and FatalError.cpp, l got only one error:
Error	80	error LNK2019: unresolved external symbol "__declspec(dllimport) struct _hashtable module_registry" (__imp_?module_registry@@3U_hashtable@@A) referenced in function "class Php::ExtensionImpl * __cdecl Php::find(int,void * * *)" (?find@Php@@YAPAVExtensionImpl@1@HPAPAPAX@Z)	phpcpp

Any ideas?

Hmm try to lookup "module_registry" in the file zend_modules.h this should be within the BEGIN_EXTERN_C() AND END_EXTERN_C() declarations.

THanks you all :) Finaly I compiled it

awesome :+1: glad we could help :smiley:

Hi, can you tell me how compile it in visual studio ? What need to do?  Thanks

Hi boomcol,
Let me sum up our previous conversations for you.
Use the cmake file from the cmake branch
Edit the cmake file so Functor.cpp and FatalError.cpp is added.
(Someone should add a pull request which update the last modifications to the PHP-CPP sources)
Then lookup following files in your php directory:
Zend/zend_modules.h
Add BEGIN_EXTERN_C() on line 125
Add END_EXTERN_C() on line 136
Zend/zend_object_handlers.h
Move BEGIN_EXTERN_C() from line to 25
and make shure "module_registry" file zend_modules.h is within the BEGIN_EXTERN_C() AND END_EXTERN_C() declarations.

In general all " ... unresolved external symbol "__declspec(dllimport) ..." errors are from a missing or misplaced BEGIN_EXTERN_C() / END_EXTERN_C() declaration in the php files. (Someone should tell them)

Now you should be able to compile PHP-CPP :smile:

In cmake branch are missing some libraries also - you have to add them as linker option. phpcpp.lib, php5ts.lib at least. And I had to define some c++ compilers flags in order to compile it...

Thanks a lot :) , and once more, which version of php need to use ? or any can be used ?

Well I used 5.5.22 but it should work with others as well

Cant compile, i havent worked with c++ before :unamused: and cmake installer say warning: PATH is too long

Hi, thanks to atvise, i've compiled php-cpp using VS2013. Here is just some more info how to setup and compile it using vs2013:

Make sure you have setup PHP-SDK, in my case it was in folder  C:\php-sdk\phpdev\vc11\x86\php-src-php-5.6.3
Update zend_modules.h and zend_object_handlers.h header files as per atvise comment above
Run VS command promt, cd into php dir and recompile using nmake (type nmake and hit enter)
Create new visual studio c++ empty project and import  zend/.cpp and common/.cpp
Open project properties, navigate to Configuration Properties -> Genral and set Configuration Type to Dynamic Library
At Linker section and add "C:\php-sdk\phpdev\vc11\x86\php-src-php-5.6.3\Release_TS" to additional library directories
At Linker/Input section add Additional Dependencies for php5ts.lib
At VC++ Directories add additional include directories for {sdk}/Zend, {sdk}/TSRM and {sdk}/main
At C/C++/Preprocessor set additional Preprocessor Definitions to:
_USE_32BIT_TIME_T
ZEND_DEBUG=1
WIN32 _DEBUG _WINDOWS
ZTS=1
ZEND_WIN32
PHP_WIN32
_CRT_SECURE_NO_WARNINGS

Also before i could compile i had to rename streambuff.cpp from common to something else, because there is streabbuf.cpp file in zend folder as well, and when VS creates object files they end up in Debug folder so one *.obj file gets overwriten and latter  linker error appears that StreamBuf::sync can't be resolved.
Hope this helps.

Thanks, but i got an error when compiling (nmake) :( Could you show me how to do this by skype or teamviewer, I would be very grateful

Hi there, I can't find branch with cmake. Can someone help? I am struggling to build with vs.

try this https://github.com/atvise/PHP-CPP/tree/cmake

Thanks! Now I will try to build it

Hi,
i've managed to build the current master branch (a5ca2f39c43b3bc67f62f73863a5c0c8beb45b2e) with PHP 7.1.3 (x64) Visual Studio 2015 /MD on Win10 but the linker will throw following errors when i use the php-cpp library:
error LNK2005: "int __cdecl _open(char const * const,int,int)" (?_open@@YAHQEBDHH@Z) already defined in phpcpp.lib(extension.obj)
 error LNK2005: "int __cdecl _sopen(char const * const,int,int,int)" (?_sopen@@YAHQEBDHHH@Z) already defined in phpcpp.lib(extension.obj)
...

I'll get following warnings when I build the php-cpp library:
warning LNK4006: "int __cdecl _open(char const * const,int,int)" (?_open@@YAHQEBDHH@Z) already defined in zval.obj; second definition ignored
warning LNK4006: "int __cdecl _sopen(char const * const,int,int,int)" (?_sopen@@YAHQEBDHHH@Z) already defined in zval.obj; second definition ignored
...

Do any of you have the same problems or do you know how to fix it ? I would be grateful for any answers and help!

@atvise could you tell us how to compile php-cpp for windows php7 step by step?

anybody has the cmake file?

Going to close this now, as the CMake file has been merged.


remove hard coded fabric index once GroupDataProvider->Decrypt is implemented

false

https://github.com/project-chip/connectedhomeip/blob/1202bc79f8a53c0b1515851bae0b9e295c2b79fc/src/transport/SessionManager.cpp#L620-L625

This issue was generated by todo-issue based on a TODO comment in 1202bc79f8a53c0b1515851bae0b9e295c2b79fc.

Fixed in SDK


issue number :- #54  Added contributor images to your readme file

As there are no perfect credits mentioned to your contributors in readme file I have added their images to the readme file which updates on its own..

could you mention the changes..


Multiple Deploy Keys in docker build fails

Not exactly a bug, but I found it challenging to find a solution that works with docker build when using multiple deploy keys. The reason seems to be that the build container doesn't have the ssh and git config necessary to map the right key to the right repo.
For example:
      - name: Setup SSH
        uses<EMAIL_ADDRESS>        with:
          ssh-private-key: |
            ${{ secrets.DEPLOY_KEY_A }}
            ${{ secrets.DEPLOY_KEY_B }}
      - name: Works Well!
        run: |
          git clone github.com/me/private-repo-a
          git clone github.com/me/private-repo-b
      - name: Doesn't work :(
        run: |
          cat > Dockerfile <<EOF
          FROM debian
          RUN --mount=type=ssh git clone github.com/me/private-repo-a
          RUN --mount=type=ssh git clone github.com/me/private-repo-b
          EOF
          docker build --ssh default .

The docker build has access to the keys, but it doesn't use the right one for each repo, so one of the checkouts will fail.
My solution was to copy the config into the container:
run: |
  mkdir root-config
  cp -r ~/.gitconfig  ~/.ssh root-config/
  docker build ... .

And in my Dockerfile:
COPY root-config /root/
RUN sed 's|/home/runner|/root|g' -i.bak /root/.ssh/config

That works, but it feels pretty hacky.  I was just wondering if anyone can come up with a better way/wanted to document a way to make it work.

I don’t see how this is related to the action…?
Could you explain please?

@mpdude sorry, I've edited to add some context. The action is incredibly useful.

Ok, I think I now understand what this is about.
Not sure I can really help, but we can keep this open for some time to get some visibility.
Thoughts:

Is it possible to mount the relevant directories/config files at docker build time instead of having to copy them?

You could try if the SSH config file supports ~ for paths. Maybe that could make the sed command unnecessary (if we can adapt in this action).

Does that help?

I guess the problem is not having the SSH with sock itself available, but the necessary mapping in .gitconfig and .ssh/config to map the right keys to the right repos.

I think ~ in the SSH config should work, but I have not found anything else that simplifies the setup unfortunately. There is a 2 year old buildkit issue for mounting directories as secrets during a build, which could make it safer to do (the COPY I do in my build is only safe because it is multi-stage and the home directory doesn't get copied over.)

Buildkit support for such things would of course be best.
I also would not want to have ~/.ssh in intermediate layers of my images, but at least there is no sensitive data in this file.
I am not sure about .gitconfig, though – it might be that actions/checkout leaves a secret token in that?

@mpdude I'm interested in following this, as it's exactly the same issue that I came across - you've summarised it really well.
Copying the git and ssh configs and keys into the container, as you suggested, did work for me, but the problem with that is that the private keys are then sitting in the Docker container. It would be better if it could make use of the keys that have been made available to it via ssh agent forwarding - I guess you haven't found a way of doing that?

Not related to docker, but I am also encountering issues with multiple deploy keys.
I have followed the usual set up of:

creating SSH keys (PEM with the comments outlined as specified by README, e.g. ssh-keygen -t rsa -b 4096 -C "git@github.com:some_owner/some_repo.git" -m PEM
adding public component as deploy key for private dependency
adding private as secret to repo of interest (repo pulling this private dependency)

Using v0.5.3, this is what I see in the workflow output - seems related to not being able to parse the comment correct and recognise deploy keys:
2021-07-26T10:57:05.7794800Z env:
2021-07-26T10:57:05.7796581Z   GITHUB_TOKEN: ***
2021-07-26T10:57:05.7798527Z   pythonLocation: /opt/hostedtoolcache/Python/3.7.11/x64
2021-07-26T10:57:05.7806040Z   LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.7.11/x64/lib
2021-07-26T10:57:05.7807692Z ##[endgroup]
2021-07-26T10:57:05.8422742Z Adding GitHub.com keys to /home/runner/.ssh/known_hosts
2021-07-26T10:57:05.8436751Z Starting ssh-agent
2021-07-26T10:57:05.8765906Z SSH_AUTH_SOCK=/tmp/ssh-az1ZZWNazbO4/agent.1585
2021-07-26T10:57:05.8768382Z SSH_AGENT_PID=1586
2021-07-26T10:57:05.8770059Z Adding private key(s) to agent
2021-07-26T10:57:05.8991691Z Identity added: (stdin) ((stdin))
2021-07-26T10:57:05.9097294Z Identity added: (stdin) ((stdin))
2021-07-26T10:57:05.9099336Z Key(s) added:
2021-07-26T10:57:05.9138860Z 4096 SHA256:****.. (stdin) (RSA)
2021-07-26T10:57:05.9142390Z 4096 SHA256:****.. (stdin) (RSA)
2021-07-26T10:57:05.9150853Z Configuring deployment key(s)
2021-07-26T10:57:05.9215038Z Comment for key 'ssh-rsa blah blah (stdin)' does not match GitHub URL pattern. Not treating it as a GitHub deploy key.
2021-07-26T10:57:05.9265081Z Comment for key 'ssh-rsa blah blah (stdin)' does not match GitHub URL pattern. Not treating it as a GitHub deploy key.
2021-07-26T10:57:05.9287781Z Comment for key '' does not match GitHub URL pattern. Not treating it as a GitHub deploy key.

Not sure why it is implying that it is looking for comments in a 3rd key also, when only two keys are required.

@aingham See the initial comment how the SSH Agent socket can be mounted for a RUN command at build time. You don’t have to (and almost never should) copy private SSH keys into a Docker image unless you absolutely understand the implications.
@iamnoah any idea how we could proceed here?

So this answer suggests that we could copy just the public keys into the docker container, and use them as the IdentityFile in .ssh/config to pick the correct key from the agent. So no private keys would end up in the container. I'll test this out when I can.
.gitconfig should not have anything sensitive in it.

I didn't realize the key-* files in ~/.ssh already were just the public keys. So I think that while copying the contents of ~/.ssh into a container is less than ideal, it is at least not disclosing anything meant to be secret and is the best we can do with Docker at the moment.
Thanks for a very helpful action.

Very interested if someone has a non-hacky solution to this. It seems the logic that ssh-agent goes through to configure the git aliases needs to occur inside a docker container

this is constantly breaking for me.  What am i doing wrong here?
syntax = docker/dockerfile:1.0-experimental
FROM python:3.9
create a folder and cd into it
run mkdir temp_repo
run cd temp_repo
set folder as current working directory
workdir /temp_repo
move hello_world.py script from our local system to current workdir in docker
add hello_world.py .
copy the requirements file from current system to docker directory
copy requirements.txt /temp_repo
run pip install -r requirements.txt
copy .gitconfig* /etc/gitconfig
copy ssh/config* /etc/ssh/ssh_config
copy ssh /home/runner/.ssh
RUN mkdir -p -m 0600 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
RUN --mount=type=ssh pip install<EMAIL_ADDRESS>RUN --mount=type=ssh git clone<EMAIL_ADDRESS>RUN --mount=type=ssh pip install<EMAIL_ADDRESS>copy timescale.pem /root
run apt-get update -y
cmd ["python", "-u", "hello_world.py"]
Its constantly failing on the last step with repository not found error.  can someone please help?

While this is a bit of an older issue, I seemed to have solved this with our build process by doing something like this
Posting here for any other who come across this
    # Setup SSH_AUTH_SOCK to pull from other git repos during the build
    - name: Setup SSH_AUTH_SOCK Repo A
      uses<EMAIL_ADDRESS>      with:
        ssh-private-key: ${{ secrets.REPO_A_DEPLOY_KEY }}
        ssh-auth-sock: /tmp/repo-a-${{ github.sha }}.sock

    - name: Setup SSH_AUTH_SOCK Repo B
      uses<EMAIL_ADDRESS>      with:
        ssh-private-key: ${{ secrets.REPO_B_DEPLOY_KEY }}
        ssh-auth-sock: /tmp/repo-b-${{ github.sha }}.sock

    # Sets up buildx to enable docker buildkit features
    - name: Set up Docker Buildx
      id: buildx
      uses: docker/setup-buildx-action@v2
      with:
        install: true # docker build alias for buildx

    - name: Build and push
      uses: docker/build-push-action@v3
      with:
        push: true
        tags: myregistry/myrepo:latest
        file: Dockerfile
        ssh: |
          default=${{ env.SSH_AUTH_SOCK }}
          repoa=/tmp/repo-a-${{ github.sha }}.sock
          repob=/tmp/repo-b-${{ github.sha }}.sock

This sets up separate ssh mount IDs you can reference in your build file:
# Repo A action
RUN --mount=type=ssh,id=repoa git clone git@github.com:org/repo-a.git .

# Repo B Action
RUN --mount=type=ssh,id=repob yarn install --frozen-lockfile


Manifest.json failed request on login

Describe the bug
There is a console error for manifest.json that shows up when trying to go to /login
To Reproduce
Steps to reproduce the behavior:

Go to https://noipm-ci.herokuapp.com or https://noipm-staging.herokuapp.com
Look at the network requests and you will see a manifest.json error

Notes: we didn't identify any unusual behavior on the app due to this error, but we should investigate it.
Expected behavior
No console errors when going to /login

This might be resolved by #317

Verified error is no longer displayed on login
Hawaii
https://github.com/PublicDataWorks/complaint-manager/assets/134408135/5ca6154f-7278-4ffc-b0a9-394d251e035d
NO
https://github.com/PublicDataWorks/complaint-manager/assets/134408135/e832277f-71ef-4825-88c2-b19504cfe21b


3/18/2021 10:30 AM publish

close and reopen to update

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

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

teams/teams-ps/teams/Connect-MicrosoftTeams.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

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

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

teams/teams-ps/teams/Connect-MicrosoftTeams.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


it only works on windows

.....Um, are you ok? There's literally no way that this script could only work on a single OS. The script runs on a browser, and for every operating system a browser supports (if you use Chrome or Firefox, it supports all), the browser will behave the same on all the operating systems. So saying that a script which runs in the browser only works on Windows is completely false.

idk bruh it just dont work for me idk why

Can you provide more details about it? For instance, say the circumstances in which it isn't working, and/or show a video or something. I can't diagnose the problem unless I actually know the problem.

No details provided, and its been months


fix: uninstall return error

What type of PR is this?

fix: fix bug

What does this PR do?

"Not Found Error" don't hint.
err is ignored.

Which issue(s) does this PR fix?

Fixes #131
Special notes for your reviewer:

Screenshots (if applicable):

Additional Comments:

/lgtm

/approved

/lgtm

/approve


Fixes title - Corrige el título

Corrige el título
Fixes title

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@huyenltnguyen Solved the conflict.

@GonzaloGM You accidentally deleted the --- on the first line of the file which is part of the required front  matter block.  Actually, I can not even tell what you changed in this file except removing the first line of the file.  What exactly were you trying to change with this PR?

@RandellDawson You're right, sorry about that. With the latest commit my proposed change is fixed so I think we can close this PR.

Do you have another PR with changes to the same file?  If so, what is the number?

@RandellDawson No, that was the only thing that needed a fix, the rest of the translation is OK. I have some other PRs but for other articles.

OK.


Update meta.yaml

trying to fix the mismatched checksum
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=462519&view=logs&j=656edd35-690f-5c53-9ba3-09c10d0bea97&t=e5c8ab1d-8ff9-5cae-b332-e15ae582ed2d&l=531

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi @wyli, do you know why the checksum has changed for 0.8.1? When I released this version of the package initially the old checksum was working.

It had worked in #2 but apparently failed on the master branch when it was merged. Strange. Since 0.8.1 actually never went live on the conda-forge package repository I guess it's fine to merge this without bumping the build number.

thanks, I don't know the root cause, apparently the commit that updates the checksum didn't pass the CI https://github.com/conda-forge/monai-feedstock/commit/30fdb718ff199b38eb009eec51d0ad9eaa59d2e3. We are in the process of releasing v0.9... I'll pay attention to this.


Laikad Crash

Describe the bug
Was driving normally when OP disengaged and reported laikad had crashed. Running the master branch with the latest commits at the time of the issue.
Provide a route where the issue occurs
f8eaaccd2a90aef8|2023-02-06--17-53-50
openpilot version
0374d48
Additional info
No response

Lets keep this open,
the fix implemented is only temporary, as it doesnt tackle the problem, the issue is that two times the data for string number 4 is received, but the second data is totally different from the first one. The hamming code of both datas are valid (pretty sure also ublox verifies this and if the hamming code is invalid it will not forward it).
The faulty data overwrites the correct one in the buffer and we end up with an invalid ephemeris package...
good data:
24 24 a5 a4 00 00 13 11 ba c9 20 00 04 b3 00 01
0x2424a5a400001311bac9200004b30001

22 1203 1 4 36
nt: 1134
tau: -75053
dtau: 4
age: 0
p4 1
ft: 3
m: 1

faulty data:
25 10 0d a7 2d 40 ab f8 45 05 88 00 04 b3 00 01
0x25100da72d40abf84505880004b30001

22 1203 1 4 177
nt: 1553
tau: -557165
dtau: 7
age: 5
p4 0
ft: 11
m: 0

I am not sure how to properly fix this for now, and checking for invalid dayInYear is really hacky...

@haraschax still relevant?

This is caught with a generic try/catch, so I am closing.


I want to use ssl and https,how can I do?

Currently, I use http to visit my web. I want to update to https, how can I do?

Please use the forum (https://discourse.gohugo.io) for questions and troubleshooting. We prefer to use GitHub for verified bugs and vetted enhancements. Thanks.


Changing grid's columnWidth dynamically doesn't re-render

Not sure if this is a bug or just something I wouldn't expect.
I use Grid's prop columnWidth like so:
getColumnWidth = (e:{index:number})=>{
        if (this.props.something==true && e.index==0){
            return 20;
        }else{
            return 100;
        }
    };

<Grid
  cellRenderer={this.cellRenderer(this.props.something)}
  columnCount={this.getColumnsLength()}
  columnWidth={this.getColumnWidth}
  height={300}
  rowCount={this.props.value.length}
  rowHeight={70}
  width={800}
/>

when changing this.props.something to true dynamically (after it has already renderer with
getColumnWidth actually runs like it should, however, further cellRenderer calls are still called with the incorrect style.
new rows added later are styled correctly. After scrolling everything re-renders and its ok.
Anyone familiar with this issue?

Sounds like you're not calling recomputeGridSize  between renders. You'll need to call this method if previous sizes are no longer valid.

Thanks! didn't see that one.


Add Node.js 20.11.0

Since there is no way to open issues here, I opened a PR for discussion instead.
Node.js 20.11.0 has been out since 10 Jan 2024, but the automated PRs have not yet updated this.
Maybe some automation is broken here? Or is there a schedule for releasing these new versions? If it is scheduled, maybe the delay from the release to the manifest being updated could be decreased?
I'm coming here because of a failure in actions/setup-node to resolve lts/* to 20.11.0, also when using check-latest: true:
Run actions/setup-node@v4
  with:
    node-version: lts/*
    always-auth: false
    check-latest: false
    token: ***
Attempt to resolve LTS alias from manifest...
Found in cache @ /opt/hostedtoolcache/node/20.10.0/x64
Environment details
  node: v20.10.0
  npm: 10.2.3
  yarn: 1.22.21

cc @MaksimZhukov @dmitry-shibanov @dusan-trickovic

LTS alias is now properly resolving Node.js 20.11.0:
Attempt to resolve LTS alias from manifest...
Found in cache @ /opt/hostedtoolcache/node/20.11.0/x64

As per the comment from @HarithaVattikuti:

https://github.com/actions/setup-node/issues/940#issuecomment-1911104358

Closing.


C# scripts don't update live

C# scripts don't load into the server live after edits and the console says in red text that it can't compile. I'm not sure if this was intended or if this is an issue.

It's an issue and has been here for some time.

currently you need to have:
using System.Reflection;

// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
[assembly: AssemblyVersion("1.0.0.*")]


Testing out pyink formatting.

Google is experimenting with a slightly forked black autoformatter.
Running it on the flax repo, I find that the results are surprisingly inoffensive, so felt it worth submitting for a review.
We've generally been hostile to autoformatters becase they mutilate math and dense functional-style code.
This was how I ran it:
pip install https://github.com/google/pyink
pyink --config=pyink.toml .

[tool.pyink]
pyink = true
pyink-indentation = 2
line-length = 100
target-version = ['py37', 'py38', 'py39']
exclude = '\.ipynb'
preview = false

Comments:

We'd want to create a proper pyproject.toml file to stick that config into, but that belongs in a separate PR.
I set line length to 100.  Fight me.
Not sure about forced conversion to double-quotes.  Pyink does support a majority-quote rule, but maybe just picking one quoting style would be nice, double-quotes being the "black" choice.

Codecov Report

Merging #2608 (957b129) into main (341f528) will decrease coverage by 0.11%.
The diff coverage is 76.09%.

@@            Coverage Diff             @@
##             main    #2608      +/-   ##
==========================================
- Coverage   79.44%   79.33%   -0.12%
==========================================
  Files          49       49
  Lines        5211     5163      -48
==========================================
- Hits         4140     4096      -44
+ Misses       1071     1067       -4

Impacted Files
Coverage Δ

flax/core/tracers.py
84.61% <0.00%> (ø)

flax/ids.py
96.00% <ø> (ø)

flax/testing/benchmark.py
0.00% <0.00%> (ø)

flax/training/checkpoints.py
66.37% <ø> (ø)

flax/training/common_utils.py
0.00% <ø> (ø)

flax/training/dynamic_scale.py
0.00% <ø> (ø)

flax/training/early_stopping.py
100.00% <ø> (ø)

flax/training/lr_schedule.py
0.00% <ø> (ø)

flax/training/prefetch_iterator.py
0.00% <ø> (ø)

flax/training/train_state.py
0.00% <ø> (ø)

... and 53 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

updated to 80-line cols so as not to fight all the internal tooling, enabled "majority rule" quote style (for us, typically a single-quote standard)


Inpaint Anything don't have "Inpainting Webui" tab

I have installed Inpaint Anything by link https://github.com/Uminosachi/sd-webui-inpaint-anything . But my sd gui with Inpaint Anything tab don't have "Inpainting Webui" tab

The "Inpainting webui" tab will only be displayed if there is a file in the stable-diffusion-webui/models/Stable-diffusion folder with "inpaint" (case insensitive) in its name. Please download inpainting models from sources like Civitai.


Support translatation of local functions

Codecov Report
Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (71aa3a0) 82.21% compared to head (e710971) 82.39%.

:exclamation: Current head e710971 differs from pull request most recent head d6acd35. Consider uploading reports for the commit d6acd35 to get more accurate results

Files
Patch %
Lines

onnx_array_api/light_api/emitter.py
85.18%
4 Missing :warning:

onnx_array_api/light_api/inner_emitter.py
93.33%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
+ Coverage   82.21%   82.39%   +0.18%
==========================================
  Files          52       52
  Lines        7180     7231      +51
==========================================
+ Hits         5903     5958      +55
+ Misses       1277     1273       -4

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


Cleanup ListBlockParser

While the primary purpose of these changes is to improve the readability of the code, they may have a small positive effect on performance as well.

Sorry, the CI on master was broken and it should be fixed now. Could you rebase/merge master to your branch please? Thanks!

Thanks!


Display version number in webinterface

use the version defined in package.json to display it in the side menu
https://github.com/schreiber-lab/scicat-schema-extension/blob/485e2685a64c43711b97f9a0f72209304e62d67f/frontend/package.json#L3

In the brunch 21-crud-for-schema-keys

Task implemented


Update title and meta description for home page

<title>MoveOn Petitions - Sign or Start a Petition</title>
<meta name=”description” content=”Sign people-powered petitions from across the country, start your own, and view past petition victories.”>

Will close this since google reliably uses server-rendered meta tags


Best practice for tests involving records

What is the recommended best practice to write unit/regression tests involving the creation of temporary records? In particular taking into consideration that the test might involve a celery task.
Is there a clean way to entirely delete a test record upon tearDown()?

I think here you think of integration testing on e.g. INSPIRE since the records module itself should not be running Celery tasks, it should just send out signals (which is much more easily tested).
Possible ways:

Use SQLite and simply create/drop the entire DB in memory for every test.
Mock the record (i.e. no data storage behind it).
Wrap tests in transactions, and rollback the transaction on teardown.

FYI I was experiencing problems with SQLite and nested transactions, however postresql and mysql are fine.

In Invenio 3.0, each unit test can creates/drop the database (see e.g. PIDStore) - this way you have a clean DB. You can the create records using the programatic API.
recid=uuid.uuid4()
Record.create({'title': 'My Title'}, id=recid)

If you need to run Celery tasks, then you can run them eagerly in the tests. See example here in Invenio-Records.
@kaplun Can I close the issue?

Setting up and tearing down the DB each time, isn't going to be OK for testing single modules, but what would you suggest for integration testing, i.e. for testing the overlay. There you might have hundredths of real life tests, and to each time setup a DB and reinitialize all fixtures is not feasible. In that case a clean pattern where you can do temporary modifications to the DB and roll them back is still needed. What do you plan to do for Zenodo?

I plan to use something a long the lines of http://alexmic.net/flask-sqlalchemy-pytest/ but haven't gotten so far yet. I.e. create test database, and wrap it in a transaction that can be rolled back.

@kaplun Another thing is that hopefully a certain family of integration tests in the overlay can share the same fixtures, e.g. testing various search facilities on top of a populated database.  There should be no need to pre-load the database values anew for every individual test...

See example in https://github.com/inveniosoftware/invenio-records-rest/blob/master/tests/conftest.py#L179-L237
Integration testing can use:

pytest fixtures with session scope (so db/index creation persist over tests), and
separate tests into non-destructive vs destructive tests (similar to how I've separate e2e and unit tests on Zenodo - i.e. you'll have two or more directories with their own conftest.py)

Added benefit of above is that you can easily distribute your tests on Travis, and thereby cut down the time it takes for a full build.


COMP: Allow cmake generation on OSX without XCode

The CMake system attempts to glean the local osx version by looking
through xcode sdks which does not work if there is no XCode on the
machine. This commit allows cmake generation to continue by explicitly
setting the CMAKE_OSX_DEPLOYMENT_TARGET variable even if cmake is unable
to determine the SDK_VERSION automatically

Hey Hans, hope you are doing well! I tried building this the other day to demo some previous work and encountered this problem so thought I'd fix it.


'2.7.10' release introduces SemVer incompatible dependency version changes

When we update our project to sbt-fs2-grpc:2.7.10 and use it with sbt-version-policy, we suddenly get incompatible version change errors:
[error] Incompatibilities with dependencies of grpc:1.1.0
[error]   com.google.guava:guava: incompatible version change from 31.0.1-android to 32.0.1-jre (compatibility: early semantic versioning)
[error]   com.google.j2objc:j2objc-annotations: incompatible version change from 1.3 to 2.8 (compatibility: early semantic versioning)
[error]   io.perfmark:perfmark-api: incompatible version change from 0.25.0 to 0.26.0 (compatibility: early semantic versioning)
[error]   io.grpc:grpc-context: missing dependency
[error]   org.checkerframework:checker-compat-qual: missing dependency

While manageable, it is unfortunate that this error happens during patch version update of a SBT plugin.

Sorry about that. Seems like ScalaPB 0.11.14 upgrade grpc from 1.54.2 to 1.58.0 in 0.11.14.


add RoutedPrompt.py

A component that selects a prompt to be delivered to the model based on vector similarity, reflecting the latest structure of Langchain version 0.2.

@ogabrielluiz
Hey~~
We would like to call an edit window for the Prompt type in the form of a List, but it doesn't seem to be supported at the moment. Can we make a suggestion regarding this? Currently, it is being delivered as a list of Str.

@ogabrielluiz
Hey~~
We would like to call an edit window for the Prompt type in the form of a List, but it doesn't seem to be supported at the moment. Can we make a suggestion regarding this? Currently, it is being delivered as a list of Str.

Hey @YamonBot
How are you?
I'm not sure I understand what you mean.
Also, the prompt now is a Message object, check out the other PromptComponent to see how we are handling it.

@ogabrielluiz
Hey~~
We would like to call an edit window for the Prompt type in the form of a List, but it doesn't seem to be supported at the moment. Can we make a suggestion regarding this? Currently, it is being delivered as a list of Str.

Hey @YamonBot
How are you? I'm not sure I understand what you mean.
Also, the prompt now is a Message object, check out the other PromptComponent to see how we are handling it.

Thank you for the quick response. Since this is still a draft, I have not utilized the Message/Data object yet. My explanation was insufficient. I want a format where I can press the plus button to directly add N number of Message objects via a prompt editing popup. However, the isList option doesn't work with the Text or Message types.

@ogabrielluiz
Hey~~
We would like to call an edit window for the Prompt type in the form of a List, but it doesn't seem to be supported at the moment. Can we make a suggestion regarding this? Currently, it is being delivered as a list of Str.

Hey @YamonBot
How are you? I'm not sure I understand what you mean.
Also, the prompt now is a Message object, check out the other PromptComponent to see how we are handling it.

Thank you for the quick response. Since this is still a draft, I have not utilized the Message/Data object yet. My explanation was insufficient. I want a format where I can press the plus button to directly add N number of Message objects via a prompt editing popup. However, the isList option doesn't work with the Text or Message types.

In other words, I want the items in the list to behave like the old style where Input_type = "Prompt" when clicked.

I think you should take a look at the CreateData component and do something similar.
Just a word of advice: you'll have to update the post_code_processing method to make your RoutedPrompt component work with more than one prompt

@ogabrielluiz
Hey~~
We would like to call an edit window for the Prompt type in the form of a List, but it doesn't seem to be supported at the moment. Can we make a suggestion regarding this? Currently, it is being delivered as a list of Str.

Hey @YamonBot
How are you? I'm not sure I understand what you mean.
Also, the prompt now is a Message object, check out the other PromptComponent to see how we are handling it.

Thank you for the quick response. Since this is still a draft, I have not utilized the Message/Data object yet. My explanation was insufficient. I want a format where I can press the plus button to directly add N number of Message objects via a prompt editing popup. However, the isList option doesn't work with the Text or Message types.

In other words, I want the items in the list to behave like the old style where Input_type = "Prompt" when clicked.

I think you should take a look at the CreateData component and do something similar. Just a word of advice: you'll have to update the post_code_processing method to make your RoutedPrompt component work with more than one prompt

Yes, I found another way for that component. Thank you. I will proceed.


Auth redirect now opens a new window of VS Code

Install GitHub Pull Requests and issues
Sign out of GitHub in VS Code if you were signed it
Sign in using the "Sign in" in the PR view
Get taken to browser and allow
Click the button to redirect back to VS Code
Expected: goes to same window and finishes auth
Actual: creates a new VS Code window.

I'm having trouble reproducing this, what's your default browser?
@deepak1556 @joaomoreno Have we changed anything recently that would impact our protocol handlers?

Have we changed anything recently that would impact our protocol handlers?

I haven't touched it.
Also I couldn't repro this on latest insiders, macOS with chrome and linux host with firefox.

This was with latest insiders and Edge Dev.
With Edge (non-dev) it does still work. Looks like an Edge bug!


Node CI action failing on macos

It passed in the PR https://github.com/Shopify/ruby-lsp/pull/2378
but is failing on main:
- Resolving version...
Failed to run tests
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.

(failed again on retry)
I suspect it's related to GH infrastructure, so let's wait a day and see if it resolves itself.

That PR is only updating the @types/node package, which only contains type annotations for NodeJS. In the Ruby world, it's like a PR that only updates RBIs. It shouldn't have any impact on the runtime.


Programming with instance of

CellLocationProbe createCellLocationProbe(CellLocation location){
        if (location instanceof GsmCellLocation) {
            GsmCellLocation gcLoc = (GsmCellLocation) location;
            CellLocationProbe cellLocationProbe = new CellLocationProbe();
            cellLocationProbe.setDate(System.currentTimeMillis());
            cellLocationProbe.setCellType("GSM");
            cellLocationProbe.setAreaCode(gcLoc.getLac()+" ");
            return cellLocationProbe;
        } else if (location instanceof CdmaCellLocation) {
            CdmaCellLocation ccLoc = (CdmaCellLocation) location;
            CellLocationProbe cellLocationProbe = new CellLocationProbe();
            cellLocationProbe.setDate(System.currentTimeMillis());
            cellLocationProbe.setCellType("CDMA");
            cellLocationProbe.setAreaCode(ccLoc.getBaseStationId()+" ");
            cellLocationProbe.setLat((double) ccLoc.getBaseStationLongitude());
            cellLocationProbe.setLat((double) ccLoc.getBaseStationLatitude());
            return cellLocationProbe;
        } else {
            Log.i(TAG, "onCellLocationChanged: " + location.toString());
            CellLocationProbe cellLocationProbe = new CellLocationProbe();
            cellLocationProbe.setDate(System.currentTimeMillis());
            cellLocationProbe.setCellType("UNKNOWN");
            return cellLocationProbe;
        }
 }

(GsmCellLocation and CdmaCellLocation inherit from CellLocation)
Android Studio inspection does not like that style. I can imagine to decompose it into 3 methods with the 3 types of arguments (GsmCellLocation, CdmaCellLocation and CellLocation) but is that right? Does java automatically map the type to the 'most specific' type while evaluating which of the overloaded methods to take? Don't know how to google that.

Hi Marcel,
No, Java will not automatically determine the subtype of CellLocation and call the appropriate method.
Android Studio is mad at instanceof because use of instanceof is often a symptom of poor design. As you imply, the "correct" Java implementation would be to have a separate method for each subtype because how you process the object depends on the subtype.
You can see in the documentation for https://developer.android.com/reference/android/telephony/TelephonyManager.html#getCellLocation() that they plan to deprecate this method. No doubt this is why Android has not improved the design. They recommend using https://developer.android.com/reference/android/telephony/TelephonyManager.html#getAllCellInfo(), which probably contains everything you need. However, that documentation says "This method is preferred over using getCellLocation(). However, for older devices, getAllCellInfo() may return null. In these cases, you should call getCellLocation() instead."
So, at least on older devices, I do not think there is a way around using instanceof. It's not a big deal in this case, so I think you can add a suppression for this warning. However, we should prefer Android's recommended way of doing things, which would be to use getAllCellInfo.


Consufing bug in occurs-checker

when on 7e0ae13 and run cabal exec eetc -- ./pi/test/IdTest.pi we get the following error
processing IdTest.pi...
Parsing File "./pi/test/IdTest.pi"
elaborating...
Elaborating module "IdTest"
Elaboration Error:
./pi/test/IdTest.pi:4:13:
  Encountered a variable which isn't allowed _ or, explicitly, _38
  while trying to occurs-check
    ?_25 [ _24  →  y, id  →  id, x  →  x ]
  for
    constraint 32: (?_23 [ id  →  id, x  →  x ] ~ ?_25 [ _24  →  y, id  →  id, x  →  x ]) : Type
  Solver errored out
  With current active constraints being being
{  32 : constraint 32: (?_23 [ id  →  id, x  →  x ] ~ ?_25 [ _24  →  y, id  →  id, x  →  x ]) : Type
, 34 : constraint 34: (Type ~ ?_15 [ id  →  id ]) : Type
, 37 : constraint 37: (x -> x ~ ?_17 [ _16  →  x, id  →  id ]) : Type  }
  And current solutions to metas being
    {  ?_1 : Type
    ,  ?_5 : Type
    ,  ?_9 : Type
    ,  ?_11 : Type
    ,  ?_13 : Type
    ,  ?_17 : (_ : ?_23 [ id  →  id, x  →  _ ]) -> ?_25 [ _24  →  _, id  →  id, x  →  _ ]
    ,  ?_18 : ?_33 [ ] -> ?_36 [ ]
    ,  ?_25 : ?_39 [ _24  →  _, x  →  x, id  →  id ]
    ,  ?_26 : (_ : ?_23 [ id  →  id, x  →  _ ]) -> ?_25 [ _24  →  _, id  →  id, x  →  _ ]  }
  Solved constraints are
    {  2 : constraint 2: (Type ~ Type) : Type
    ,  6 : constraint 6: (Type ~ Type) : Type
    ,  10 : constraint 10: (Type ~ Type) : Type
    ,  12 : constraint 12: (Type ~ Type) : Type
    ,  14 : constraint 14: (Type ~ Type) : Type
    ,  19 : constraint 19: ((x : Type) -> x -> x ~
                            (_ : ?_15 [ id  →  id ]) -> ?_17 [ _16  →  _, id  →  id ]) : Type
    ,  27 : constraint 27: (?_17 [ _16  →  x
                              , id  →  id ] ~
                      (_ : ?_23 [ x  →  x
                             , id  →  id ]) -> ?_25 [ _24  →  _
                                                    , x  →  x
                                                    , id  →  id ]) : Type  }
  Blocked constraints are
    {   }
  In the expression
    y

which really shouldn't happen, because metavar 38 seems to be appearing out of nowhere

pruning wasn't instantiating after it pruned, that's where 38 was coming from


WorldBorder crash's

Hi,
I'm trying to genertate a world. But when i try to world border crash's after a few hours. I'm using the biom pack with over 300 bioms.
Here's my error: http://hastebin.com/arotalileg.avrasm
Here's the biom pack: https://sites.google.com/site/biomebundle/

This should now be fixed in the latest dev build.


Fix Always Wiping Multisig Descriptor at Main Menu

Description
Fix Always Wiping Multisig Descriptor at Main Menu
This pull request is categorized as a:

[ ] New feature
[ X ] Bug fix
[ ] Code refactor
[ ] Documentation
[ ] Other

Checklist

[ x ] I’ve run pytest and made sure all unit tests pass before sumbitting the PR

If you modified or added functionality/workflow, did you add new unit tests?

[ ] No, I’m a fool
[ ] Yes
[ x ] N/A

I have tested this PR on the following platforms/os:

[ X ] Raspberry Pi OS Manual Build
[ ] SeedSigner OS on a Pi0/Pi0W board
[ ] Other

Note: Keep your changes limited in scope; if you uncover other issues or improvements along the way, ideally submit those as a separate PR. The more complicated the PR the harder to review, test, and merge.

@3rdIteration I appreciate all the work and interest in the project, but this PR won't get merged as is. These 2000+ lines of code need to be broken into smaller PRs. Maybe you accidentally pushed all these commits and only meant to push a smaller subset related changes you're proposing for the multisig descriptor verification flow?

Ah that's a typo, this one was meant to be the tiny PR ;)
I'll close this one and fix it up at the end of the week.


 Please submit an issue with the following info:
  Repository URL: <Fill if public>
github_push_before_sha:<PHONE_NUMBER>000000000000000000000000000000
github_push_base_sha: None
github_pull_base_sha: None
github_default_branch: master
github_head_sha: 5dacd7de7867c8781fb2edbb7d107de2a28bdb18

ggshield will execute the following command:
$ git rev-list --reverse 5dacd7de7867c8781fb2edbb7d107de2a28bdb18~1...
fatal: argument '5dacd7de7867c8781fb2edbb7d107de2a28bdb18~1...' ambigu : révision inconnue ou chemin inexistant.
Utilisez '--' pour séparer les chemins des révisions, comme ceci :
'git <commande> [<révision>...] -- [<chemin>...]'

The real error is hidden and can be seen if we add --
$ git rev-list --reverse 5dacd7de7867c8781fb2edbb7d107de2a28bdb18~1... --
fatal: bad revision '5dacd7de7867c8781fb2edbb7d107de2a28bdb18~1...'

5dacd7de7867c8781fb2edbb7d107de2a28bdb18 is the first commit, it has no parent thus 5dacd7de7867c8781fb2edbb7d107de2a28bdb18~1 is invalid.
To fix this bug, we catch bad revision errors when using ~1... and we return the root commit.

Codecov Report

Merging #338 (289140a) into main (bd42680) will decrease coverage by 0.18%.
The diff coverage is 22.22%.

@@            Coverage Diff             @@
##             main     #338      +/-   ##
==========================================
- Coverage   94.29%   94.11%   -0.19%
==========================================
  Files          75       75
  Lines        3070     3076       +6
==========================================
  Hits         2895     2895
- Misses        175      181       +6

Flag
Coverage Δ

unittests
94.11% <22.22%> (-0.19%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

ggshield/cmd/secret/scan/ci.py
100.00% <ø> (ø)

ggshield/core/git_shell.py
78.04% <22.22%> (-6.17%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Added Android-Intent-Library

A library which will save you a lot of time from writing the same intent creation code.

Sorry, I do also not see so much benefit of this library.


Changed code style to ECMAScript 6

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Description

Thanks for the work! But I'm afraid this does not adhere to our coding standards so we cannot merge this unfortunately

Closing due to inactivity


Add Valorant to branch valor

Title and Issue number
I want to add a gaming website (Valorant) clone #1380
Close #1380
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md

inactive


Mat/Pat - Employee Info Full time/ Part time not being pre-populated

As a user, when I navigate to the Employee information tab, the field: Full-time/Part-time (status) should pre-populate with: Full-time or Part-time, based on the user's PeopleSoft data.
AC:

[ ] Full-time/Part-time should be populated in production
[ ] Devs will need to connect to this field on the backend

@bhumin-fw  That's a good question. Can we investigate the object Key: EMPL_Status more. I'm not sure what that references. Are there other values besides A? My first guess would be this object.

So connie said this is what it looks like in People soft frontend, look slike there is a Full/Part field

@T854236
Hi patrick,
We're looking for a information about employee full/part time status. Can you help us find out which (or any) is available to us? I found one with the name of full_part_time in this endpoint, not sure if this is one.

@iman-jamali-fw
Hi Iman, sorry on my late reply.  I think you meant to past this endpoint: https://analytics-testapi.psa.gov.bc.ca/apiserver/api.rst#Datamart_Telework_employee_demographic instead.  Employee status is available on there.

@T854236
Hi Patrick,
You're correct! The full_part_time field is accessible only in Datamart_Telework_employee_demographic.
I have a couple of questions:

Is full_part_time the field we should rely on to determine if an employee is full-time or part-time? If yes, could you share the possible values for this field?

Could you consider adding full_part_time under Datamart_Telework_employee_demo?

Also, on a broader note, we have two endpoints for getting employee information: Datamart_Telework_employee_demo and Datamart_Telework_employee_demographic.
It seems that the demographic endpoint has all the information available in the demo endpoint and includes additional fields. If this is the case, would it make sense to retire the demo endpoint and exclusively use the demographic endpoint? Currently, we use the demo endpoint for initial form filling, while the demographic endpoint is dynamically accessed by form fields when additional information not covered by demo is required.

@iman-jamali-fw @notjustinchoy
For question 1, possible values are F (full-time), P (part-time) and D.  I will defer to Justin on what D means.
For question 2, Datamart_Telework_employee_demo breaks down to the job level.  Since an employee can have multiple active jobs, 2 or more jobs can be part-time which can equate to full-time.
The demographic one has some logic built and incorporates information at the position level vs. job level.  Let us know what you need and we can review if it can be merged.

@T854236
Oh OK, I guess we need to have a boarder discussion with team to find out if we can merge the two endpints. Thanks for the info.
In the meantime, is it possible to have the full_part_time field added to the demo endpoint?

@iman-jamali-fw
Yes, we can add full_part_time to the demo endpoint.  It will require some work on my side.
The 'D' is for "On Demand".
The job_indicator field will also tell you whether the position is P = Primary, S = Secondary, or N = Not Applicable.
Note, the TES BI team's last Production deployment window ended at 11 AM Pacific today (December 14, 2023).  The next one will be January 2, 2024.

@notjustinchoy
Hi Justin,
That would be great if you can add full_part_time to the demo endpoint. Thank you

From Connie - if there are 2 part time jobs, they will be eligible for allowance from only one. It will be 2 records in peoplesoft. We can redirect them to fill the manual form.

@fazil-ey @iman-jamali-fw
Sorry, next production deployment window for the TES BI team will be January 4, 2024.
In the meantime, I have added two fields to the employee_demo API endpoint in Dev/Test:

full_part_time, and
job_indicator

As I mentioned above, the job_indicator field will indicate whether the job is P = Primary, or S = Secondary.

@notjustinchoy
Thank you Justin.
One question. How can we know if an employee has more than one job?

@iman-jamali-fw
A "concurrent hire" employee may have two or more records in employee_demo.  Their EMPLID will be the same for each row, but EMPL_RCD, EFF_SEQ, job_indicator, full_part_time, or position_number should be different.

@iman-jamali-fw
The two columns full_part_time, and job_indicator have been added to the Production employee demo endpoint.

@ayushdamani @fazil-ey
This is ready for your testing on TEST. You will see the employee full time or part time status (specified as "F" or "P") on the Mat/Par form. Please let me know if anything not working as expected.

The case when an employee have more than one job will be tracked under the ticket below:
https://app.zenhub.com/workspaces/digital-journeys-61c10fe84c8bcb001491c5f5/issues/gh/bcgov/digital-journeys/1521

looks good


Uncaught NotFoundError: Failed to execute 'appendChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?

Uncaught NotFoundError: Failed to execute 'appendChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?
Atom Version: 0.158.0
System: Mac OS X 10.10.1
Thrown From: goto package, v1.7.0
Steps To Reproduce

...
...

Stack Trace
At /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5823

Error: Failed to execute 'appendChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?
  at Error (native)
  at Function.jQuery.extend.buildFragment (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5830:27)
  at PaneContainerView.jQuery.fn.extend.domManip (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5636:22)
  at PaneContainerView.jQuery.fn.extend.before (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5476:15)
  at PaneContainerView.jQuery.fn.(anonymous function) [as before] (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/lib/space-pen.js:396:31)
  at WorkspaceView.module.exports.WorkspaceView.appendToTop (/Applications/Atom.app/Contents/Resources/app/src/workspace-view.js:135:25)
  at GotoView.module.exports.GotoView.attach (/Users/misahot/.atom/packages/goto/lib/goto-view.coffee:37:24)
  at GotoView.module.exports.GotoView.populate (/Users/misahot/.atom/packages/goto/lib/goto-view.coffee:43:6)
  at Object.module.exports.gotoProjectSymbol (/Users/misahot/.atom/packages/goto/lib/index.coffee:39:15)
  at atom-workspace.<anonymous> (/Users/misahot/.atom/packages/goto/lib/index.coffee:18:59)
  at atom-workspace.handler (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:115:32)
  at atom-workspace.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
  at atom-workspace.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
  at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:549:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:391:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:167:20)

/cc @atom/core

+1 on atom.io 0.174.0, "/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5830"

+1

Just encountered this error. Unsure how to duplicate.
Atom Version: 0.188.0
System: Mac OS X 10.9.5
Thrown From: goto package, v1.7.0
Stack Trace
Uncaught NotFoundError: Failed to execute 'appendChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?
At /Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5830

Error: Failed to execute 'appendChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?
  at Error (native)
  at Function.jQuery.extend.buildFragment (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5830:27)
  at PaneContainerView.jQuery.fn.extend.domManip (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5636:22)
  at PaneContainerView.jQuery.fn.extend.before (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:5476:15)
  at PaneContainerView.jQuery.fn.(anonymous function) [as before] (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/lib/space-pen.js:396:31)
  at WorkspaceView.module.exports.WorkspaceView.appendToTop (/Applications/Atom.app/Contents/Resources/app/src/workspace-view.js:142:25)
  at GotoView.module.exports.GotoView.attach (/Users/dpowers/.atom/packages/goto/lib/goto-view.coffee:37:24)
  at GotoView.module.exports.GotoView.populate (/Users/dpowers/.atom/packages/goto/lib/goto-view.coffee:43:6)
  at Object.module.exports.gotoFileSymbol (/Users/dpowers/.atom/packages/goto/lib/index.coffee:47:17)
  at atom-workspace.<anonymous> (/Users/dpowers/.atom/packages/goto/lib/index.coffee:19:56)
  at atom-workspace.handler (/Applications/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:115:32)
  at atom-workspace.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
  at atom-workspace.elemData.handle (/Applications/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:242:29)
  at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:180:20)

I'm not actually using Atom anymore (I went back to emacs) so I really don't have time to maintain this.  I'd be happy to merge in pull requests and publish, but I'm really looking for someone to take the project over.  Any takers?


Steps to install home_robot core and running hector slam

🐛 Bug
I tried setting it up and am running into errors in home_robot install and running hector slam.
Steps to Reproduce
Steps to reproduce the behavior:

Errors in testing home_robot install: What version of sophus is required?

(home_robot) hello-robot@stretch-re2-2003:~/home-robot/src/home_robot$ python -m home_robot.nodes.goto_controller
/home/hello-robot/mambaforge/envs/home_robot/bin/python: Error while finding module specification for 'home_robot.nodes.goto_controller' (ModuleNotFoundError: No module named 'home_robot.nodes')
(home_robot) hello-robot@stretch-re2-2003:~/home-robot/src/home_robot$
(home_robot) hello-robot@stretch-re2-2003:~/home-robot/src/home_robot$ python -m home_robot.client.local_hello_robot
Traceback (most recent call last):
  File "/home/hello-robot/mambaforge/envs/home_robot/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/hello-robot/mambaforge/envs/home_robot/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/hello-robot/home-robot/src/home_robot/home_robot/client/local_hello_robot.py", line 16, in <module>
    import sophus as sp
ModuleNotFoundError: No module named 'sophus'

Error in running hector slam: How to specify the launch files for hector slam?

(base) hello-robot@stretch-re2-2003:~/catkin_ws$ roslaunch home_robot startup_stretch_hector_slam.launch
RLException: [startup_stretch_hector_slam.launch] is neither a launch file in package [home_robot] nor is [home_robot] a launch file name
The traceback for the exception was written to the log file.

Expected behavior
Instructions for checking correct setup of home_robot core package and running hector-slam.
Additional context
NA

Re-install home-robot via pip install -e /path/to/home-robot/src/home_robot
Rebuild catkin_ws and re-source setup.devel

I think this is resolved?


The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17.

🐛 Use of deprecated torchvision module - requires an update.

On my Python environment with Python version 3.11 and PyTorch version 2.0.0+cu117, I get warnings with the usage of AugMix. The root-cause is the use of deprecated torchvision module  -> torchvision.transforms.functional_tensor.
This can be addressed very easily by making minor changes to pytorchvideo->transforms->augmentations.py file.
Please find attached snapshot of the "diff" between current and updated augmentations.py file.
It will help several furture users to fix this and update the library - both here and as PyPI package.

As a workaround, you can use:
pip install git+https://github.com/facebookresearch/pytorchvideo.git

The workaround of installing directly through git does not work anymore. Any usage of the library throws this error. Even the official video classification demo notebook by HuggingFace does not run.


Open file explorer via cmdline

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.files
Description
How can I open file explorer with cmdline ? I need it for another plugin (alpha.nvim).

There is MiniFiles.open() Lua function. So something like lua MiniFiles.open().

There is MiniFiles.open() Lua function. So something like lua MiniFiles.open().

does not work through cmdline

There is MiniFiles.open() Lua function. So something like lua MiniFiles.open().

does not work through cmdline

It does:
https://github.com/user-attachments/assets/9a78f6a0-8b30-49a6-b909-3cd50577ba99
If not, maybe there needs to be special handling in 'alpha.nvim'. Or maybe 'mini.files' is lazy loaded and there is no MiniFiles at the point of execution. Hard to tell without more info.

There is MiniFiles.open() Lua function. So something like lua MiniFiles.open().

does not work through cmdline

It does:
minifiles-cmdline.mp4
If not, maybe there needs to be special handling in 'alpha.nvim'. Or maybe 'mini.files' is lazy loaded and there is no MiniFiles at the point of execution. Hard to tell without more info.

I forgot to write the lua in the beginning, it works now, thank you


Does this bot support multiple accounts?

Does this bot support multiple accounts?

Yes support but this bot plays one screen at a time. And the game must be on tab 1 of each browser.

Yes support but this bot plays one screen at a time. And the game must be on tab 1 of each browser.


Can't connect to Chroma

I have a Chroma instance in the AWS, it's currently open without authorization. But every time I try to connect using the IP address, it says "Could not connect to Chroma instance with those credentials.", even if the API Header & Key its empty.

Did you deploy the AWS API and are you able to go to <API_GATEWAY_URL>/api/v1 and get a heartbeat response?

Yes, I get a
{
"nanosecond heartbeat":<PHONE_NUMBER>540770000
}

Are you inputting just the API_GATEWAY part of the URL? Basically everything before /api should be there, including https


[WIP] Cosine Distance

This is a work in progress PR for now. I discovered some bugs while working on a an article (scikit-learn doesn't normalise the vectors before calculating cosine distance). This PR hopes to adress it while also adding some more intuitive methods.

This branch will also fix https://github.com/RasaHQ/whatlies/issues/130

@koaning Stop the automated tests! I suspect there is something wrong with ivis tests, but first I need to make sure.

MHm ... you're probably right on the IVIS test. I don't get why it fails only sometimes tho.

@koaning Yes, it's likely that the Ivis tests have an issue (the tests after OpenTsne are those of Ivis : here and here). I am not familiar with ivis and its method, but maybe it does not converge due to a bad random initialization?! Not sure!

I've made a new PR for IVIS tests here: https://github.com/RasaHQ/whatlies/pull/131.

@mkaze I'll be releasing a video as part of my algorithm whiteboard series on debias-ing. Since I'm using this the features in this branch I will need to push a version live this week. To keep things basic ... would you be opposed to just supporting cosine and euclidean distance metrics for now for the plot_distance and plot_similarity charts?

To keep things basic ... would you be opposed to just supporting

@koaning No problem, it's fine to me.
By the way, the norm argument for to_X is missing.

@mkaze There's still some silly things in the CI it seems. Super long install times for Mac.

Also really long waiting time for the tests.

This was an interesting one. The source code had plt.show() in it which was causing the MacOS tests to block. Was able to confirm this locally. Hopefully it is now fixed.

@mkaze it's ready for review now.

Ah I just pushed because I thought you were done reviewing. My bad. Will wait for a bit now.

@koaning Sorry that I make some annoying reviews sometimes :smile:
It looks good to me! Well done! :+1:

@koaning Sorry that I make some annoying reviews sometimes 😄

No worries. Better to be strict and picky than to allow everything.

I'll make a new release this weekend with this plot in it. There's some videos on the algorithm whiteboard coming out on Monday that use this distance map.


Update azure-pipelines_linux-workshop.yml

"Name" fails AZDO syntax check.  "name" works.

Changes approved, and also migrated to the new mend-toolkit org (PR 5)


proposal to add curry function and tests

This adds a simple curry function that takes either just a function or a function and an integer and returns n curried functions.
@tjmehta What do you think about adding this to the lib?
var curry = require('101/curry');

function add(a, b) { return a + b; }

var curriedAdd = curry(add);
var add2 = curriedAdd(2);

add2(6); // 8
add2(8); // 10

function join() { return Array.prototype.slice.call(arguments).join(''); }

curry(join, 3)(1)(0)(1); // "101"

I am familiar with the concept of currying; although, I do not recall any time I've needed it and could not solve the problem with bind. Out of curiousity, would you be able to provide me with a real world example where you needed curry?

You can do most of it without the curry function. But curry makes it easier to implement a API which allows to use a function curried or not curried.
For example equals is currently implemented like this:
module.exports = function (a, b) {
  if (arguments.length === 1) {
    return equals.bind(null, a);
  }
  else {
    return equals(a, b);
  }
};

function equals (a, b) {
  return a === b;
}

equals(1, 1); // => true
equals(1)(1); // => true

with curry it would be like this:
module.exports = curry(equals);

function equals (a, b) {
  return a === b;
}

equals(1, 1); // => true
equals(1)(1); // => true

So curry allows you to simplify your code.

Cool, thanks for the further explanation. I'll pull it as on of 101's reason for existence is to promote functional programming paradigms in JS.

published v0.12.0


如何在vue项目中 加入cvat cvat项目如何跑起来

My actions before raising this issue

[ ] Read/searched the docs
[ ] Searched past issues

Steps to Reproduce (for bugs)

Expected Behaviour

Current Behaviour

Possible Solution

Context

Your Environment

Git hash commit (git log -1):
Docker version docker version (e.g. Docker 17.0.05):
Are you using Docker Swarm or Kubernetes?
Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Please, write in English.
We do not have guidelines regarding integration with vue apps.

How does cvat run up I can't start the project

https://opencv.github.io/cvat/docs/administration/basics/installation/