Autobind is not working 0.32

Autobind decorator is not working in react native 0.32
.babelrc
{
	  "presets": ["react-native-stage-0/decorator-support"]
}

package.json

  "name": "mobx",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start"
  },
  "dependencies": {
    "autobind-decorator": "^1.3.3",
    "babel-preset-react-native-stage-0": "^1.0.1",
    "mobx": "^2.2.0",
    "mobx-react": "^3.3.0",
    "react": "15.3.1",
    "react-addons-shallow-compare": "^15.3.1",
    "react-native": "0.32.0",
    "react-native-button": "^1.7.0",
    "react-native-localization": "^0.1.17",
    "react-native-mobx": "^0.3.1",
    "react-native-router-flux": "^3.35.0",
    "react-native-tab-view": "0.0.28",
    "react-native-theme": "^0.1.4"
  },
  "devDependencies": {
    "sane": "^1.3.4"
  }

}

:+1:
Same for 0.33.0

React native has moved to Babel 6 a few versions ago.
Babel 6 has a few issues with es2016 decorators.
try this:
npm install --save babel-plugin-transform-decorators-legacy
and in your .babelrc file, try putting this:
{
    "presets": [
        "react-native"
    ],
    "plugins": [
        "transform-decorators-legacy"
    ]
}

Seemed to be working for me.

The solution suggested by @csotiriou is not working for me.  I'm on React Native 0.33.

After I closed the React Packager terminal screen and restarted my app it worked.

The solution mentioned by @csotiriou  is working. I have started a new react-native project (v0.33) and configured .babelrc and  installed each package manually. I have also copied the code from example app and it runs without any errors.

@aksonov maybe include
{     "presets": [         "react-native"     ],     "plugins": [         "transform-decorators-legacy"     ] }
in the repo? or you'd like a PR

Please submit PR, thanks

On 18 Sep 2016, at 20:09, Aviad Hahami<EMAIL_ADDRESS>wrote:
@aksonov https://github.com/aksonov maybe include
{
"presets": [
"react-native"
],
"plugins": [
"transform-decorators-legacy"
]
}
in the repo? or you'd like a PR
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/aksonov/react-native-mobx/issues/6#issuecomment-247863425, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQpcXuUUQ33l4a1poJaexyEoAaMs6EXks5qrX5pgaJpZM4J-0v4.


ipfs.files.get never calls the callback for files that aren't in the network

I am just doing some testing and I went here to find some test images on the network:
https://www.reddit.com/domain/ipfs.pics
But using the hashes of these images using the api ipfs.files.get is never calling my callback. In other cases where the images do exist I successfully get images back.
This Never Calls the Callback
const cid = 'QmNdi3iaWYDoz91Szu6M4zH7r9Qom7bCrb2YyhLvjcp8TH'
ipfs.files.get(cid, (err, files) => {
    if (err) return console.log(err)
    console.log(files)
})

This Succeeds
const cid = 'QmQ2r6iMNpky5f1m4cnm3Yqw8VSvjuKpTcK1X7dBR1LkJF'
ipfs.files.get(cid, (err, files) => {
    if (err) return console.log(err)
    console.log(files) // two files, folder and cat.gif
})

Will it timeout eventually? Or how what is the maximum time it could take to find the files?

I just realized I was in the wrong repo when I filed this. I'm going to close this and reopen it in the js-ipfs repo.


fix(snapshot): include INDEXER_VERSION file

Fixes #1241
Also fixes issue with database not waiting to be shutdown

Very nice!


Add ability to leave lobby before/after creating game

closed with commit https://github.com/sopra-fs23-group-37/client/commit/b31c5d47b342fc20b5bf4226fa3b33315dfdc794


Bugfix/734

fixes #734

merging this PR, the test failures are due to latest pandas release 1.4.0, will fix this issues in https://github.com/pandera-dev/pandera/issues/745


Encapsulate the file tree (not the entire sidebar!) into a directive+controller+template

we have the sidebar component and the file tree component.
Here's a little overview of what we plan to do:

kibibit

menu bar
Sidebar

file-tree
file-overview (for example)

tabs-container

tab[i]

code-editor OR diff OR ungit OR markdown OR ...

This mission it to encapsulate the file tree only.
Requirements

Should accept a path via an attribute and load it as a tree.
Should be 100% width and height of it's container. This is to allow the parent component (the sidebar) to reduce the height by reducing the height of its container in order to include a second view in the sidebar + in order to be responsive when sidebar is resized.

part of #21

@Thatkookooguy
Hi,
how would you like me to implement binding of the received data from FileService to the main.code variable (in mainCtrl) ?
up until now the fileTree functionality was in mainCtrl, so binding was no problem.
for testing purposes I used $rootScope event in order to comunicate between those Ctrls, but please let me know how you want it to be.


Tests for test_lensing[classy] and test_lensing_lite[classy] fail

After installing SOLikeT and running "pytest -v ." as specified in the documentation, the tests for test_lensing.py and test_lensing_lite.py fail from the same failed installation of CLASS.
The error message indicates that the version for gcc is too low, needing to be newer than 6.4.
 "
                     "Maybe specify one via a command line argument '-%s [...]'?",
                "packages_path", packages_path_env, packages_path_arg[0])
        abspath = os.path.abspath(path)
        log.info("Installing external packages at '%s'", abspath)
        kwargs_install = {"force": kwargs.get("force", False),
                          "no_progress_bars": kwargs.get("no_progress_bars")}
        for what in (code_path, data_path):
            kwargs_install[what] = kwargs.get(what, True)
            spath = os.path.join(abspath, what)
            if kwargs_install[what] and not os.path.exists(spath):
                try:
                    os.makedirs(spath)
                except OSError:
                    raise LoggedError(
                        log, "Could not create the desired installation folder '%s'", spath)
        failed_components = []
        skip_keywords_arg = set(kwargs.get("skip", []) or [])
        # NB: if passed with quotes as `--skip "a b"`, it's interpreted as a single key
        skip_keywords_arg = set(chain(*[word.split() for word in skip_keywords_arg]))
        skip_keywords_env = set(
            os.environ.get(install_skip_env, "").replace(",", " ").lower().split())
        skip_keywords = skip_keywords_arg.union(skip_keywords_env)
        used_components, components_infos = get_used_components(*infos, return_infos=True)
        for kind, components in used_components.items():
            for component in components:
                print()
                print(create_banner(kind + ":" + component,
                                    symbol=_banner_symbol, length=_banner_length), end="")
                print()
                if _skip_helper(component.lower(), skip_keywords, skip_keywords_env, log):
                    continue
                info = components_infos[component]
                if isinstance(info, str) or "external" in info:
                    log.warning("Component '%s' is a custom function. "
                                "Nothing to do.", component)
                    continue
                try:
                    class_name = (info or {}).get("class")
                    if class_name:
                        log.info("Class to be installed for this component: %r", class_name)
                    imported_class = get_resolved_class(
                        component, kind=kind, component_path=info.pop("python_path", None),
                        class_name=class_name)
                except ImportError as excpt:
                    log.error("Component '%s' not recognized. [%s].", component, excpt)
                    failed_components += ["%s:%s" % (kind, component)]
                    continue
                else:
                    if _skip_helper(imported_class.__name__.lower(), skip_keywords,
                                    skip_keywords_env, log):
                        continue
                is_compatible = getattr(imported_class, "is_compatible", lambda: True)()
                if not is_compatible:
                    log.info(
                        "Skipping %r because it is not compatible with your OS.", component)
                    continue
                log.info("Checking if dependencies have already been installed...")
                is_installed = getattr(imported_class, "is_installed", None)
                if is_installed is None:
                    log.info("%s.%s is a fully built-in component: nothing to do.",
                             kind, imported_class.__name__)
                    continue
                install_path = abspath
                get_path = getattr(imported_class, "get_path", None)
                if get_path:
                    install_path = get_path(install_path)
                has_been_installed = False
                with NoLogging(None if debug else logging.ERROR):
                    if kwargs.get("skip_global"):
                        has_been_installed = is_installed(path="global", **kwargs_install)
                    if not has_been_installed:
                        has_been_installed = is_installed(path=install_path, **kwargs_install)
                if has_been_installed:
                    log.info("External dependencies for this component already installed.")
                    if kwargs.get("test", False):
                        continue
                    if kwargs_install["force"] and not kwargs.get("skip_global"):
                        log.info("Forcing re-installation, as requested.")
                    else:
                        log.info("Doing nothing.")
                        continue
                else:
                    log.info("Check found no existing installation")
                    if not debug:
                        log.info(
                            "(If you expected this to be already installed, re-run "
                            "`cobaya-install` with --debug to get more verbose output.)")
                    if kwargs.get("test", False):
                        continue
                    log.info("Installing...")
                try:
                    install_this = getattr(imported_class, "install", None)
                    success = install_this(path=abspath, **kwargs_install)
                except KeyboardInterrupt:
                    raise
                except:
                    traceback.print_exception(*sys.exc_info(), file=sys.stdout)
                    log.error("An unknown error occurred. Delete the external packages "
                              "folder %r and try again. "
                              "Please, notify the developers if this error persists.",
                              abspath)
                    success = False
                if success:
                    log.info("Successfully installed! Let's check it...")
                else:
                    log.error("Installation failed! Look at the error messages above. "
                              "Solve them and try again, or, if you are unable to solve, "
                              "install the packages required by this component manually.")
                    failed_components += ["%s:%s" % (kind, component)]
                    continue
                # test installation
                with NoLogging(None if debug else logging.ERROR):
                    successfully_installed = is_installed(path=install_path, check=False,
                                                          **kwargs_install)
                if not successfully_installed:
                    log.error("Installation apparently worked, "
                              "but the subsequent installation test failed! "
                              "Look at the error messages above, or re-run with --debug "
                              "for more more verbose output. "
                              "Try to solve the issues and try again, or, if you are unable "
                              "to solve them, install the packages required by this "
                              "component manually.")
                    failed_components += ["%s:%s" % (kind, component)]
                else:
                    log.info("Installation check successful.")
        print()
        print(create_banner(" * Summary * ",
                            symbol=_banner_symbol, length=_banner_length), end="")
        print()
        if failed_components:
            bullet = "\n - "
            raise LoggedError(
                log, "The installation (or installation test) of some component(s) has "
                     "failed: %s\nCheck output of the installer of each component above "
                     "for precise error info.\n",
>               bullet + bullet.join(failed_components))
E           cobaya.log.LoggedError: The installation (or installation test) of some component(s) has failed:
E            - theory:classy
E           Check output of the installer of each component above for precise error info.

../../.local/lib/python3.6/site-packages/cobaya/install.py:196: LoggedError
--------------------------------------- Captured stdout call ----------------------------------------
 2022-03-01 15:37:29,071 [install] Installing external packages at '/var/folders/15/lt28zrgs54nbr15_scf2bjtm0000gn/T/lensing_packages'

================================================================================
theory:classy
================================================================================

 2022-03-01 15:37:29,076 [install] Checking if dependencies have already been installed...
 2022-03-01 15:37:29,078 [install] Check found no existing installation
 2022-03-01 15:37:29,078 [install] (If you expected this to be already installed, re-run `cobaya-install` with --debug to get more verbose output.)
 2022-03-01 15:37:29,078 [install] Installing...
 2022-03-01 15:37:29,078 [classy] Installing pre-requisites...
Collecting cython
  Downloading Cython-0.29.28-py2.py3-none-any.whl (983 kB)
Installing collected packages: cython
Successfully installed cython-0.29.28
 2022-03-01 15:37:34,464 [classy] Downloading classy...
 2022-03-01 15:37:37,982 [classy] Downloaded filename class_public-2.9.3.tar.gz
 2022-03-01 15:37:38,177 [classy] class_public v2.9.3 downloaded and decompressed correctly.
 2022-03-01 15:37:38,251 [classy] *ERROR* Your gcc version is too low! CLASS would probably compile, but it would leak memory when running a chain. Please use a gcc version newer than 6.4. You can still compile CLASS by hand, maybe changing the compiler in the Makefile. CLASS has been downloaded into '/private/var/folders/15/lt28zrgs54nbr15_scf2bjtm0000gn/T/lensing_packages/code/classy'
 2022-03-01 15:37:38,252 [install] *ERROR* Installation failed! Look at the error messages above. Solve them and try again, or, if you are unable to solve, install the packages required by this component manually.

================================================================================
likelihood:soliket.LensingLikelihood
================================================================================

 2022-03-01 15:37:38,253 [install] Checking if dependencies have already been installed...
 2022-03-01 15:37:38,254 [install] External dependencies for this component already installed.
 2022-03-01 15:37:38,254 [install] Doing nothing.

================================================================================
* Summary *
================================================================================

 2022-03-01 15:37:38,254 [install] *ERROR* The installation (or installation test) of some component(s) has failed:
 - theory:classy
Check output of the installer of each component above for precise error info.

--------------------------------------- Captured stderr call ----------------------------------------
3.31MiB [00:02, 1.16MiB/s]
----------------------------------------- Captured log call -----------------------------------------
INFO     install:install.py:64 Installing external packages at '/var/folders/15/lt28zrgs54nbr15_scf2bjtm0000gn/T/lensing_packages'
INFO     install:install.py:117 Checking if dependencies have already been installed...
INFO     install:install.py:143 Check found no existing installation
INFO     install:install.py:146 (If you expected this to be already installed, re-run `cobaya-install` with --debug to get more verbose output.)
INFO     install:install.py:150 Installing...
INFO     classy:classy.py:573 Installing pre-requisites...
INFO     classy:classy.py:578 Downloading classy...
INFO     classy:install.py:242 Downloaded filename class_public-2.9.3.tar.gz
INFO     classy:install.py:292 class_public v2.9.3 downloaded and decompressed correctly.
ERROR    classy:classy.py:595 Your gcc version is too low! CLASS would probably compile, but it would leak memory when running a chain. Please use a gcc version newer than 6.4. You can still compile CLASS by hand, maybe changing the compiler in the Makefile. CLASS has been downloaded into '/private/var/folders/15/lt28zrgs54nbr15_scf2bjtm0000gn/T/lensing_packages/code/classy'
ERROR    install:install.py:166 Installation failed! Look at the error messages above. Solve them and try again, or, if you are unable to solve, install the packages required by this component manually.
INFO     install:install.py:117 Checking if dependencies have already been installed...
INFO     install:install.py:134 External dependencies for this component already installed.
INFO     install:install.py:140 Doing nothing.

        # Allow global import if no direct path specification
        allow_global = not self.path
        if not self.path and self.packages_path:
            self.path = self.get_path(self.packages_path)
        self.classy_module = self.is_installed(path=self.path, allow_global=allow_global,
                                               check=False)
        if not self.classy_module:
            raise NotInstalledError(
>               self.log, "Could not find CLASS. Check error message above.")
E           cobaya.install.NotInstalledError: Could not find CLASS. Check error message above.

../../.local/lib/python3.6/site-packages/cobaya/theories/classy/classy.py:186: NotInstalledError
--------------------------------------- Captured stdout call ----------------------------------------
 2022-03-01 15:37:41,379 [classy] Importing *global* CLASS.
 2022-03-01 15:37:41,381 [classy] *ERROR* Could not import global CLASS installation. Specify a Cobaya or CLASS installation path, or install the CLASS Python interface globally with 'cd /path/to/class/python/ ; python setup.py install'
 2022-03-01 15:37:41,381 [classy] *ERROR* Could not find CLASS. Check error message above.
----------------------------------------- Captured log call -----------------------------------------
INFO     classy:classy.py:545 Importing *global* CLASS.
ERROR    classy:classy.py:558 Could not import global CLASS installation. Specify a Cobaya or CLASS installation path, or install the CLASS Python interface globally with 'cd /path/to/class/python/ ; python setup.py install'
ERROR    classy:log.py:35 Could not find CLASS. Check error message above.
====================================== short test summary info ======================================
FAILED soliket/tests/test_lensing.py::test_lensing[classy] - cobaya.log.LoggedError: The installat...
FAILED soliket/tests/test_lensing_lite.py::test_lensing[classy] - cobaya.install.NotInstalledError...
'''

Ciao Emily, thanks! Is this happening on your own laptop/cluster or in the remote cluster used to run unit tests?

Hi Martina, sorry for the delay I didn't see the notification- this was on my own laptop.

Looking at the above, this seems to be being generated by the cobaya install script when it tries to install classy.
I think you have probably two options:

Update your gcc version, as it suggests (6.5 dates from 2018, so this seems reasonable) and if you can on your system
Manually install classy yourself (by whatever means necessary... such as an older version, although that won't be ideal), following e.g. the instructions here


⚠ Fortnite has degraded performance

In 9b40eab, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1633 ms

Resolved: Fortnite performance has improved in 7ff3570.


Neovim: Diagnostics are not cleared when none remain

First off - thanks for putting this LSP out there. It has been great for me whilst learning Janet.
One thing that cropped up while using the LSP in Neovim is that the last remaining diagnostic is never cleared, even once the corresponding error is fixed. It looks to be due to the the noresponse sent in on-document-change if there are no diagnostics. I removed that check and it seems to fix the problem for me:
https://github.com/CFiggers/janet-lsp/commit/02dcae2c3893846b774c3e94d55f3ebbff1b8ec5
I'm not sure if this would have any knock on effects (e.g. for other editors) but happy to PR the change if not.

Ha! Great!
I'm not bothered about the credit - especially since you have already made the fix. :) Very happy for you to push.
Thanks again!

Addressed with #23 . Thanks!


Doctrine composite foreign key

I am having a problem with a relation table:
ArticleTag has two ManyToOne relations: --> Article --> Tag
It's primary key is a composite of Article and Tag.
When I execute the following code, I get a mysql error:
QLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-3' for key 'PRIMARY'
Is there a way to make this work ?
$generator = \Faker\Factory::create('en_US');

$populator = new \Faker\ORM\Doctrine\Populator($generator, $this->entityManager);
$populator->addEntity(
    new \Faker\ORM\Doctrine\EntityPopulator($this->entityManager->getClassMetadata('\PMD\TEL\CoreBundle\Entity\Article')), 5
);
$populator->addEntity(
    new \Faker\ORM\Doctrine\EntityPopulator($this->entityManager->getClassMetadata('\PMD\TEL\CoreBundle\Entity\Tag')), 5
);

$populator->addEntity(
    new \Faker\ORM\Doctrine\EntityPopulator($this->entityManager->getClassMetadata('\PMD\TEL\CoreBundle\Entity\ArticleTag')), 15
);

$insertedPKs = $populator->execute();

I'm also interested

I'm really unable to help, I only merged the work from Doctrine people who don't maintain this anymore. We need a Doctrine expert to take over the Doctrine integration...


[QUESTION] how to override paginationRows and paginationPage

Hey .... what's up ? XD
Like the title said, i would like to override paginationRows and paginationPage, but i didn't find any exemples in the documentation, i tried various things but nothing worked, so i asked your help if you can provide me an exemple about that.
Kind regards,

You can't do it at the moment, I'm sorry


Issue running on windows 10

I want to run good work project. I downloaded the master folder through download/clone button on windows10. Placed the folder in dashboard folder of xamp . Then what next I should do..

Check the installation guide: https://github.com/iluminar/goodwork/wiki/Installation#setup-usual-way-if-youre-not-using-docker


UI Plugin: vSphere MC create unit tests

Feature Request
Add unit test coverage for vSphere management cluster create workflow
Describe alternatives you've considered
none
Additional context

Closing, will be part of management cluster workflow creation tickets


README: Update year

Happy new year 🎉

Shoo little bot or I'll report you to GitHub for abuse. You've misunderstood how copyright statements work.


what means aboudt 「AUTH_TOKEN」？

i am not programer，i cannot understand about AUTH_TOKEN,is that means
cookie or some thing like key staff,if you can tell me,i will veryappreciate

Thanks for contacting.
AUTH_TOKEN is a string for authentication.
It is used to verify if the request from IFTTT is your own.
Please set up any string you like in both IFTTT and GAS. UUID or similar token seem to be a good choice.

Oh ！I konw，i will try it later，very thank you
2022年8月31日 +0800 PM5:21 keigoh4315 @.***>，写道：

Thanks for contacting.
AUTH_TOKEN is a string for authentication.
It is used to verify if the request from IFTTT is your own.
Please set up any string you like in both IFTTT and GAS. UUID or similar token seem to be a good choice.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Fix an assertion in IRGen while checking for escaping metatypes.

rdar://problem/30146045
Sorry, no test file for this. I couldn’t come up with a reduced test case.

@swift-ci Please smoke test and merge


RFC: what postCSS plugins do we want to include.

Problem description:
We need a good set of default plugins to include.
Suggested solution:
http://cssnext.io/ and http://simplaio.github.io/rucksack/ are the obvious choices. I think we want just some of the individual plugins from these, not the entire project.
@threepointone @mitchellhamilton

I love all of these ideas 😍  I'd love to see a solid plugin system of some sorts for emotion or even glam. Since there are so many opinions around this stuff, I personally think it could help mitigate issues. Once the system is in place, in theory, anyone could write a transformer or whatever and handle whatever use case they need/want. Maybe that's too broad of thinking though 😅
From my understanding, it's using PostCSS right? So being able to tie into their plugin system somehow and write custom plugins or use the preexisting ones would be great.
For example, I'd love to write margin-vertical, but I know some people like the shorthand methods like mv. Instead of the library forming that opinion it would be cool to have a section of addons or something that you could implement at your own will. I hope that makes sense 😇 I've been using a library called PopperJS recently and the whole library is built on a plugin system and seems to work fairly well. I'd love to see that type of system for emotion or glam.
I'm also willing to help with whatever I can 😄  I'd love to help push this stuff forward and thank you for all of your hard work on this stuff and caring about it 🙏  I really appreciate it on my end.

I think it's too early for a plugin system per se, and considering that most of our work is at compile time, I'm happy to have a 'blessed' set of additions from cssnext/rucksack for most of the 'major' usecases. Once that is in place, it should be relatively easy to expose a hook for advanced consumers to add a translation engine that compiles down to our format.
(In general I believe plugin systems are an admission that the composition model is a failure, and I think we should put a good effort on solving for that before a plugin system)

oh, and I totally prefer margin-vertical over mv.

Totally makes sense 😊  thanks for explaining! I guess my biggest interest is being able to add something like this: https://gist.github.com/souporserious/a352fe9c4ae18518f1d38099201d673a#file-compute-design-system-js-L257-L264
Vertical rhythm is inherently hard on the web so being able to catch that and not have to think about it has been really nice in my current workflow. But again, this is my personal preference so I would love to be able to add this as a plugin or something. It sounds like I just need to be patient 💩 😆

If you're looking for specifics, here's a subset of the most used ones from cssnext:

postcss-import
postcss-nested
postcss-custom-media
postcss-custom-properties
postcss-color-function
autoprefixer

Obviously some of these are redundant in the context of Emotion (e.g. postcss-custom-properties) but I've included them for the sake of completeness.

Would it be possible to use custom PostCSS plugins with emotion based on postcss.config.js ? So that anyone could have their own default set of plugins.

postcss-nested is super important.

@sylvainpolletvillard The only hard part about this is that the plugins have to be synchronous because babel is synchronous.

Postcss used to support a synchronous API. Perhaps use old version of postcss?

We are using a forked version from styled-components now that is synchronous. The plugins just have to be synchronous

@tkh44 I asked the PostCSS team for help, maybe we can work this out :+1: can you give us more details about the reasoning behind it having to be synchronous, and link to the part of the source where postcss is called ? thanks

@sylvainpolletvillard babel only offers synch API so everything must be sync.

Hi. I very like the idea of emotion :).
@tkh44 can I help somehow with async plugins? I think the best way is to force Babel to have async plugins :D.
@sylvainpolletvillard also can we run PostCSS after emotion? As I understand Babel plugin move styles to separated CSS file, so we can run standard postcss-loader (without any limits of sync/async).

@ai babel must be synchronous from what I understand.

also can we run PostCSS after emotion?

you could do that. You can use whatever loaders you like.

We might be able to use async plugins with deasync.
https://github.com/giuseppeg/styled-jsx-postcss/blob/master/src/babel.js#L107

(Pssst we should also start work on writing our own parser okthxbai)

I was using postcss-font-magician. Does the fontface function could help me to replace this plugin ? Could you provide a complete example with components.


[Bug report] Couldn't resolve the package 'flutter_image_compress' in 'package:flutter_image_compress/flutter_image_compress.dart'.

Version
1.1.3
Platforms
Web
Device Model
chorme driver
flutter info
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.7.5, on Microsoft Windows [Version 10.0.19045.2728], locale th-TH)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.5)
[√] Android Studio (version 2022.1)
[√] IntelliJ IDEA Community Edition (version 2022.2)
[√] VS Code (version 1.76.2)
[√] Connected device (3 available)
[√] HTTP Host Availability

• No issues found!

How to reproduce?
I just going to use this package.
After adding flutter_image_compress: ^1.1.3 in the pubspec.yaml and trying to use this package by importing import 'package:flutter_image_compress/flutter_image_compress.dart';, I got this error. (just add this import 'package:...')
Logs
Launching lib\main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
Error: Couldn't resolve the package 'flutter_image_compress' in 'package:flutter_image_compress/flutter_image_compress.dart'.
../project/lib/test.dart:8:8: Error: Not found: 'package:flutter_image_compress/flutter_image_compress.dart'
import 'package:flutter_image_compress/flutter_image_compress.dart';
       ^
../project/lib/test.dart:71:26: Error: Undefined name 'FlutterImageCompress'.
      var result = await FlutterImageCompress.compressWithList(
                         ^^^^^^^^^^^^^^^^^^^^
Unhandled exception:
Null check operator used on a null value
#0      IncrementalJavaScriptBundler.compile (package:frontend_server/src/javascript_bundle.dart:224:69)
#1      FrontendCompiler.writeJavascriptBundle (package:frontend_server/frontend_server.dart:721:46)
<asynchronous suspension>
#2      FrontendCompiler.compile (package:frontend_server/frontend_server.dart:614:9)
<asynchronous suspension>
#3      listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1222:11)
<asynchronous suspension>
Finished with error: the Dart compiler exited unexpectedly.
Failed to compile application.

Example code (optional)
import 'package:flutter_image_compress/flutter_image_compress.dart';

Contact
No response

Now does not support web.

aww, is this possible to add it in the new feature?

Use new version 2.0.1


Docker Init - Java Support

Tell us about your request
Support for Java in Docker init
Which service(s) is this request for?
Docker init CLI command
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
I want to be able to containerize Java projects using docker init
Are you currently working around the issue?
Doing it manually, or using the generic template and then changing it. Using examples from the internet.
Additional context
n/a

Related to https://github.com/docker/roadmap/issues/453

This is great 😃 @nunocoracao

I'd recommend using Jib to build OCI images - https://github.com/GoogleContainerTools/jib

Avaialble in Docker Desktop 4.27


Abstract BiomeBrush spline functionality to SplineBrush

These changes will allow easier implementation of new brush types.
A new class has been created, SplineBrush, which extends Brush. Because of this change, BiomeBrush now extends SplineBrush for it's spline functionality.


mattermost android app error when signing in with gitlab

Submit feature requests to http://www.mattermost.org/feature-requests/. File non-security related bugs here in the following format:
Summary
mattermost android app shows an error message when signing in with gitlab.
Error message: {"id":"api.user.authorize_oauth_user.invalid_state.app_error","message":"无效状态","detailed_error":"","status_code":400}
Environment Information

Device Name: 360 N6 Pro
OS Version: 360 OS V023 Based on Android 8.1
Mattermost App Version: 1.22.0
Mattermost Server Version: 4.0.0+

Steps to reproduce
sign in mattermost with gitlab on android devices.
Expected behavior
Describe your issue in detail.
Observed behavior
Error message: {"id":"api.user.authorize_oauth_user.invalid_state.app_error","message":"无效状态","detailed_error":"","status_code":400}
Possible fixes
If you can, link to the line of code that might be responsible for the problem.

Hi @huyp182, would you be open to checking what server version you're on? v1.22 version requires being on v5.9+ server version so I just want to make sure the bug is not caused by an old server version. https://github.com/mattermost/mattermost-mobile/blob/master/CHANGELOG.md#1220-release

Hi @huyp182, would you be open to checking what server version you're on? v1.22 version requires being on v5.9+ server version so I just want to make sure the bug is not caused by an old server version. https://github.com/mattermost/mattermost-mobile/blob/master/CHANGELOG.md#1220-release

How can I know the server version?

@huyp182 On iOS you can find out your server version from Mattermost > Main Menu > Settings > About Mattermost. It should be on a very similar place on the Android app as well.

But I cannot sign in on android app, the mattermost client on windows is the newest version, 4.2.3.

Yes, it‘s desktop app.

Mattermost 版本： 5.13.2
数据库 Schema 版本： 5.13.0
数据库： postgres

Mattermost Version： 5.13.2
Database Schema Version： 5.13.0
Database： postgres

That's the screenshot.

I'm not aware of any new issues here.
@huyp182 Did Android login work on mobile before? Are you using the Mattermost app from the Play Store, or did you build it yourself?

It's the first time I use the mobile app, it's from the Play Store.

And you can log into the server using GitLab from a browser?
Do you use the same URL to log into Mattermost on both the browser and in the mobile app? I know there's some people that use that setup, but it can cause problems sometimes

Yes, I can log in on Chrome and desktop mattermost app. The mattermost server URL is http://gitpd.appdao.com:8065.
When I log in on desktop app, it shows "错误 无效状态 返回到 Mattermost", the translation is "Error. Invalid state. Go back to Mattermost". When I click "go back to Mattermost", I log in successfully.
But on Android, it shows "{"id":"api.user.authorize_oauth_user.invalid_state.app_error","message":"无效状态","detailed_error":"","status_code":400}", and there is no "go back to Mattermost" link.

That's strange that you get that error message on the desktop app as well. I wouldn't expect to see that error at all. When you click "go back to Mattermost" are you already logged in, or do you have to click on the GitLab button on the login page a second time? I've seen that happen a few times when something wasn't configured correctly.
Is there perhaps a redirect occurring when you're sent back from GitLab to Mattermost? Normally, after logging in on GitLab, the user should be sent back to something like http://<mattermost>/login/gitlab/complete?state=<state>&code=<code>, but it seems like the state is either invalid or missing when you're sent back to Mattermost

When I click "go back to Mattermost" I'm already logged in, and I don't need to click on the Gitlab button a second time.
Oh, the reason is probably that the server's configuration is wrong. thanks.

When I log in http://mm.paodingai.com/login on Chrome, the error doesn't appear, when I click on Gitlab button I log in, but when on Desktop and mobile APP, it occurs.

They'll be available in the Mattermost System Console under the Authentication > GitLab section. You'll want to make sure that:

The GitLab Site URL matches the URL that you access your GitLab instance from
The User API Endpoint, Auth Endpoint, and Token Endpoint should be set based off of that

I cannot use Mattermost System Console...

@huyp182 Would you be able to contact the System Administrator on your server to check the settings?

Solved.


Issue with Ng2-translate and declartion of pipes

I update my Ionic 2@beta to Ionic 2 RC.
I am trying to use ng2-translate feature in my App .But the issue I am unable to declare pipes in the @component scope.
import {TranslatePipe,TranslateService} from 'ng2-translate';
@Component({
selector: 'page-home',
templateUrl: 'home.html',
providers :[TranslateService],
pipes :[TranslatePipe]  **** this is the spot of error where it says  "pipes does not found in the      type 'component'
Can any1 suggest a solution to fix this issue .Thanx
})

You should check out the documentation for Angular 2 and ng2-translate. With the new version, you no longer need to specify pipes or providers in the component.

I just updated to ng2-translete 3.0.0 and there is algo no error about injecting TranslatePipie in main modules..

Hello @srikanth748 , thanks for opening an issue with us! Would you mind checking out our changelog along with the docs on the ng2-translate repo. Thanks!

Yes I did go through those docs ..the "changelog"  says -Remove any use of the providers, pipes and directives arrays in @Component. If so How do I use in other components with out declaring  {pipes :[TranslatePipe] }?
The new Ionic2 RC folder structure is different from beta so the ng2-translate repo is n't giving me a clear declaration of ng2-translate features. So I am confused . I would really appreciate someone who has implemted ng2-translate in Ionic2 RC .

@jgw96
Yes I did go through those docs ..the "changelog" says -Remove any use of the providers, pipes and directives arrays in @Component. If so How do I use in other components with out declaring {pipes :[TranslatePipe] }?
The new Ionic2 RC folder structure is different from beta so the ng2-translate repo is n't giving me a clear declaration of ng2-translate features. So I am confused . I would really appreciate someone who has implemented ng2-translate in Ionic2 RC .


Choose which party to load

Perhaps the DM might be servicing more than one group, or might be running more than one campaign. It might be nice to not lock them into having to have a single party TOML file but instead allow them to choose which party to load.

Maybe load a party file w/ a default name if none is specified but allow specifying one with a --option at the command line or an argument in the shell?

With the auto-complete magic, I could just glob files matching the input so
far...
On Thu, Feb 8, 2018 at 4:49 PM, Dave Forgac<EMAIL_ADDRESS>wrote:

Maybe load a party file w/ a default name if none is specified but allow
specifying one with a --option at the command line or an argument in the
shell?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mpirnat/dndme/issues/31#issuecomment-364259669, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAYOFllbb7pi8fXZVb1D70cCQIXF5D3qks5tS2vTgaJpZM4R4utW
.

--
Mike Pirnat
<EMAIL_ADDRESS>http://mike.pirnat.com/


add support for RAG datasets

I'm crossing my fingers for Xmas and hope I have been good enough for Santa to bring me not only RAG but grounded RAG dataset generation.
Cf sourced RAG prompts of Command R and Nous Hermes 3.
Thx!

@bhugueney There is a pull request open for this :)
JIT for Christmas. We would love your feedback. 🧑🎄🎄


Add find method

This comment got buried: https://github.com/smizell/minim/pull/16#discussion_r24817738

@smizell What is the status on this PR IYO?


Some names in deaths appears in white

Please do /cardinal -v, and also when you make other issues

ed329v1

Can you try this again on the latest version, and if it doesn't work, then find out how to recreate it?

Yeah, i will test it, but i don't know how recreate ir.

If this happen again, i ll reopen this


New Extension - Is On Screen detection

Describe the extension
This extension adds conditions to check if an object is currently located within the visible portion of its layer's camera. The condition also allows for specifying padding to the virtual screen border.
As each layer has a unique camera, this will only work for the layer that the object is on. This does not take into account any object visibility, such as being hidden or 0 opacity, but can be combined with those existing conditions.
This uses the object's boundary box for detection, due to this objects with modified origin points may not behave as expected.
This helps simplify detecting if an object is on the screen, and avoids workarounds involving a "On Screen" object and using collision detection, potentially helping with performance.
Checklist

[x] Extension has a proper name and description.
[x] Extension has tags (for example: "platform, brick, breakable").
[x] All behaviors have a description.
[x] All functions (actions, conditions, expressions) have descriptions.
[x] I confirm that this extension can be intergrated to this GitHub repository, distributed and MIT licensed.

Extension file
Extension File: IsOnScreenExtension.zip
Example project:
IsOnScreen Example Project.zip

PARAM1 is currently on screen of its current layer's camera padded by PARAM2 pixels

I think that current is always implied and the layer is an implementation matter. Maybe something like this?
PARAM1 is on screen with a padding of PARAM2 pixels

This uses the object's boundary box for detection, due to this objects with modified origin points may not behave as expected.

I guess this could be solved using the AABB with a Javascript event.
I think that adding conditions for entering and leaving the screen could be useful. Maybe even for top, bottom, left and right.

I think that "current" is always implied and the layer is an implementation matter. Maybe something like this?
PARAM1 is on screen with a padding of PARAM2 pixels
Based off the conversation from the discord, enough users don't understand that cameras are layer specific that I feel like calling it out will help avoid confusion. Although if there is a strong disagreement I can update that.

I guess this could be solved using the AABB with a Javascript event.
Unless someone with strong understanding of the AABB/boundary box functionality and Javascript wants to add this, it would be outside of my current skillset.

I think that adding conditions for entering and leaving the screen could be useful. Maybe even for top, bottom, left and right.

I feel like most of these are already addressable using variables along with the conditions I've created, and am not sure how much value adding more would create, but let me take a look and see what's feasible.

oh thank god this exists

It's work fine except when the camera is rotated.

It's works fine except when the camera is rotated.

I haven't had time to look at this at all this week, can you tell me what does/doesn't work? Does the detection just change to no longer being accurate for the borders, or just not work at all?

I've found a solution, it wasn't simple, i've added comment on each line of my code.
Sorry it's not made with events, isn't possible some fonction to convert are missing or I don't know them.
It was simplier to me in JS.
So you can try, it take care of camera rotation, camera zoom, and padding still exist if needed.
I've edited the long description for it, check it, it was important to precise the orientation of padding.
It's not perfect in the case where the sprite (in red) is outside the screen but the aabb/bounding box is (blue).

It's still better than nothing i guess.
I'm done with math today.
Project_v2.zip

Let me know after tried if you think it's fine.
If yes I'll review it one last time and approve your extension.

Bouh's changes  make this WAY more flexible. Note: For it to work accurately you need to be on b110, it does not work accurately in b108.
I can't find a great way to make the requested additional checks that @D8H asked for, but I've made updates to the descriptions throughout the extension, and updated the author field to give Bouh credit since the events are entirely his design now.
IsOnScreen1dot1.zip

Thanks both for your time!
This extension is approved and merged! https://github.com/4ian/GDevelop-extensions/commit/b43a4d0394c879bf1bb4e911a0044de255d76bee

I've checked the extension, I think JS is the way to go indeed to use AABB for objects. But there are usages of private functions:
runtimeScene._updateLayersCameraCoordinates
This will break in the future. Remember that it's not a question of "maybe it's not a problem that I used a private function of GDJS, it's working", it's not a "if" it breaks, but "when" it will break. And it will and it will be painful for me or you to make an emergency fix to the extension after releasing an extension, and it will be a pain for users that will be worried of upgrading GDevelop.
Instead, compute the coordinates of the camera using:
theLayer.getCameraX() - (theLayer.getCameraWidth() / 2)
theLayer.getCameraX() + (theLayer.getCameraWidth() / 2)
theLayer.getCameraY() - (theLayer.getCameraHeight() / 2)
theLayer.getCameraY() + (theLayer.getCameraHeight() / 2)
Zoom is already taken care of, so no need to use layer.getCameraZoom() (passing it to _updateLayersCameraCoordinates is not correct btw - another reason not for using private stuff ;)).
If we can fix this that would be great :)
Sorry to be the party pooper, the extension is great otherwise, but it is really important to never ship any extension with a private function called, because it will basically break in the next version. If something is missing, ask me and we can expose something or find another workaround to design an API.

Instead, compute the coordinates of the camera using:
theLayer.getCameraX() - (theLayer.getCameraWidth() / 2)
theLayer.getCameraX() + (theLayer.getCameraWidth() / 2)
theLayer.getCameraY() - (theLayer.getCameraHeight() / 2)
theLayer.getCameraY() + (theLayer.getCameraHeight() / 2)

Hmmm, isn't this what I was doing in my original version, just without JS (using in-event expressions). Is there a reason why the expressions didn't take layer rotation into account?

I've found a solution without private function, and without all this stuff on camera.
It works with camera rotation, scale, and changed positions.
I let you try the project, if it's right to you guys i'll merge the fix.
project_export.zip
Test online

Ah great Bouh! This is indeed the right and proper solution!

Hmmm, isn't this what I was doing in my original version, just without JS (using in-event expressions). Is there a reason why the expressions didn't take layer rotation into account?

What I suggested (Using theLayer.getCameraX() - (theLayer.getCameraWidth() / 2)...) was like the previous solution of Bouh (but using no private methods) but you're right that it was not also the correct solution!
Let me recap:

Your solution with event conditions had two issues: 1) they would not work entirely if the object is rotated (if rotated, they can be outside of their "box". The proper solution is to use the AABB (axis aligned bounding box) which takes into account the rotation (visible in blue when you use the action to draw the debug collision masks/AABB). and 2) it would also not work entirely if the layer is rotated. This is because of the same issue: with the rotation, the layer can show things that are not outside of the original "box" that you compute.
The solution that was made originally by Bouh is using JS to get the AABB of an object. This way even if the object is rotated, the game engine will give you the box containing the whole object. It is guaranteed that your object is inside this box. Problem: the layer can be rotated too! It was not (and my solution was also not) taking this into account.

So this means we should compute the AABB of the layer, and check for the intersection of the AABB... this is costly and not guaranteed, because AABB are "larger" than the layer and so your object could be somewhere inside the AABB. See:

With the new solution, we use the function to convert the AABB of the object to the "screen" coordinates. Then we can check if this AABB is inside the screen ("more than 0;0, less than game_width;game_height" in pseudocode):

Which means all zoom/rotation/layer position is taken into account, and reduce the error by a lot (in case of a rotated object/layer, there is still a possibility of an object slightly out of the screen declared as shown - hence the usefuless of a negative padding if you want to be sure that your player can see it).
@Bouh the extension looks good, though could you:

Remove the commented lines.
Change Get his layer to convert the coordinate of aabb to the world coordinates to Get the layer to convert the coordinates of the AABB to the screen coordinates (screen, not world. world means the scene).
?

Also the condition seems to work only for one object.

Also the condition seems to work only for one object.

Yes, I use the first instance picked by events, should I iterate on each instance?
In this case I return true for is on screen in which case? When all instance are on screen, but what when one instance isn't and the other are still on screen? I return false because one on them is outside or false because it just one instance that isn't on screen.

New update is merged v1.1.1 https://github.com/4ian/GDevelop-extensions/commit/6621e6d04cc9d157f3e4fd099bf7a6f6a573bfdf

I tried using this extension and it was acting strange when it was not inside a ForEach() loop.
I also think people would prefer to use this condition by selecting the object and searching for it's conditions (there won't be any since this is a stand-alone condition).
Therefore, I quickly converted this to behavior by copy-pasting and testing if it worked.  It seems to work great, but I would like the people that built this to test it also, please.  Thanks!
Version 1.2.0

Changed to a behavior

Extension file
IsOnScreen_Extension_1.2.0.json.zip

I've reopened this then, but maybe create another issue for this update?

In the future, I will create new issues when I update existing extensions.
Part of the reason I bumped this post is so the people who helped make this can see the update and provide feedback.
Does anyone have time to test this change (into a behavior)?

Looks good I think! I've made a few small changes:

"Checks if an object's position is within the viewport of its layer." => Too long for a behavior name I would say. I changed to simply "Is on screen".
In the behavior description: "This extension [...]" => this is a behavior, not an extension ;)
"This uses the object's boundary box for detection, due to this objects with modified origin points may not behave as expected" => I think this is not the case anymore, as we're using the JS function to get the "AABB" of the object, which should be always valid.

I've pushed the changes :)


[WIP] perf(gendeps): optimize depsJsIgnoreDirs pattern for fast-glob

also fixes example/build-deps including symlink loop.
see https://github.com/mrmlnc/fast-glob#how-to-exclude-directory-from-reading

Codecov Report

Merging #713 (eb5e43d) into master (ef8dbcb) will increase coverage by 0.09%.
The diff coverage is 100.00%.

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

@@            Coverage Diff             @@
##           master     #713      +/-   ##
==========================================
+ Coverage   51.39%   51.48%   +0.09%
==========================================
  Files          24       24
  Lines        1043     1045       +2
  Branches      198      199       +1
==========================================
+ Hits          536      538       +2
  Misses        459      459
  Partials       48       48

Impacted Files
Coverage Δ

src/gendeps.ts
91.66% <100.00%> (+0.20%)
:arrow_up:


SSL: Connection reset by peer

I was performing a migration when I ran into the following error:
Exception 'Laudis\Neo4j\Exception\Neo4jException' with message 'Neo4j errors detected. First one with code "" and message "stream_socket_enable_crypto(): SSL: Connection reset by peer"'

in /home/406801.cloudwaysapps.com/ehwecrgftx/public_html/vendor/laudis/neo4j-php-client/src/Bolt/Session.php:125

Stack trace:
#0 /home/406801.cloudwaysapps.com/ehwecrgftx/public_html/vendor/laudis/neo4j-php-client/src/Common/TransactionHelper.php(46): Laudis\Neo4j\Bolt\Session->beginTransaction()
#1 /home/406801.cloudwaysapps.com/ehwecrgftx/public_html/vendor/laudis/neo4j-php-client/src/Bolt/Session.php(96): Laudis\Neo4j\Common\TransactionHelper::retry()
#2 /home/406801.cloudwaysapps.com/ehwecrgftx/public_html/vendor/laudis/neo4j-php-client/src/Client.php(122): Laudis\Neo4j\Bolt\Session->writeTransaction()

This error occurs consistently and after roughly the same amount of time each try. I am sorry to be vague but I am just starting to investigate it and it may be related to the changes in the latest version.
This occurred on a paid Aura instance. Let me know if you need any further information or a paid Aura instance to test with.

Hi @dataskills,
Thank you for raising the issue.
I am not able to reproduce the error. The error suggests it is a low-level network issue. I must fix the error handling, so it does not become a neo4j error as it is a false positive in that regard.
Can you provide me with some ballpark numbers of the incidence rate  (eg. once every other query, once every 100k queries?) I ran the script you provided by email for over 30 minutes without any issues while on a pro instance similar to yours.
Thanks,
Ghlen

Thank you, I will try to find better quality reproduction steps

I am having a hard time narrowing things down. now I am gtting an error locally when everything seems to work from a cloud instance I have. Locally I get the following error:
Exception 'Laudis\Neo4j\Exception\Neo4jException' with message 'Neo4j errors detected. First one with code "" and message "stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed"'

in /Users/dataskills/Sites/localhost/myProject/vendor/laudis/neo4j-php-client/src/Bolt/Session.php:125

You suggested it could be some "low level" network error. Can you provide any insight into what the typical cause is to this type of error? I am trying to look into it but if you have any idea it would be appreciated. Thank you.

Hi @dataskills,
By low level network error, I mean it is an error happening at the protocol level, not on the driver level. Your new example with certificate verification is a low level network error. The SSL protocol is not setup to accept self-signed certificates. You can try and use the neo4j+ssc or bolt+ssc to accept self-signed certificates. In order for an SSL certificate to be valid, it needs to be signed by a CA (Certificate Authority). When working locally, you might have created a certificate on your own and configured the neo4j servers to use that one. That is not enough for full compliance with the SSL protocol.
The connection reset by peer error is also an SSL protocol error, hinting to the fact the connection was reset in some way. If you google these errors, you will quickly get down the networking rabbit hole, where one of the many components in the network stack may be the culprit. (e.g. the bug might only happen when connected to the work network, but not the home network). The odds of this being wrong on the driver side are slim, but possible. A reproducible error would be amazing.
I hope this helps!
Looking forward to hearing from you.
Ghlen

I appreciate this information, I agree with you on all points. I'll let you
know what I find out. I think I might have to just find a different hosting
solution, my timeline to get this project launched is getting held up by
this one issue, and I have only had these problems with Aura. I hope I can
find more time to keep working on this particular problem. Your effort is
greatly appreciated.
On Sat, Jul 17, 2021 at 4:01 AM Ghlen Nagels @.***>
wrote:

Hi @dataskills https://github.com/dataskills,
By low level network error, I mean it is an error happening at the
protocol level, not on the driver level. Your new example with certificate
verification is a low level network error. The SSL protocol is not setup to
accept self-signed certificates. You can try and use the neo4j+ssc or
bolt+ssc to accept self-signed certificates. In order for an SSL
certificate to be valid, it needs to be signed by a CA (Certificate
Authority). When working locally, you might have created a certificate on
your own and configured the neo4j servers to use that one. That is not
enough for full compliance with the SSL protocol.
The connection reset by peer error is also an SSL protocol error, hinting
to the fact the connection was reset in some way. If you google these
errors, you will quickly get down the networking rabbit hole, where one of
the many components in the network stack may be the culprit. (e.g. the bug
might only happen when connected to the work network, but not the home
network). The odds of this being wrong on the driver side are slim, but
possible. A reproducible error would be amazing.
I hope this helps!
Looking forward to hearing from you.
Ghlen
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/neo4j-php/neo4j-php-client/issues/63#issuecomment-881877375,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBQN6TRYWQDWT6ZPFNVBNDTYFPJJANCNFSM5AKKTAPQ
.

--
J. Bundy
@.***
+1.206.406.1534

I think this error was caused by a corrupted OpenSSL cert on my end. I never experienced this error since I regenerated the SSL files. I think this issue can be closed

This also causes many Warning: fwrite(): SSL: Broken pipe messages in the logs. Using the neo4j+ssc protocol solved it for us. The weird part is that we are using AuraDB, and with neo4j+s, the connection works for a while, but after around 5 to 15 minutes, the broken pipe message starts in a loop (roughly 250+ messages per second), which was hiding the original Warning: fwrite(): SSL: Connection reset by peer message.
I hope the message helps those looking for broken pipe.


Update mqtt_esp8266_rgb.ino

Turn off the AP created by the ESP8266

Hello @MaxPag. Thank you for the PR. I hope to have time to test this on my devices next week.
I don't see any issues at the moment, though.

Well, I did use an ESP12E rather than an ESP01, that may be why it does that.

Thank you for pointing this out, @MaxPag. I looked through several other ESP projects I have, and I've added this line to all of them. 👍


Transaction not be cleared after BE down

After BE down, transactions is not be cleared. But now, it's not.


Error on Install

Hi, adding the package to the project is returning: Call to undefined method Spark\SparkManager::createUsersWith() on Facade.
Regards,
savage.

Are you on the new version of Spark? This is for the old version.

Oh sorry, I didn't readed about the versions previously. Any wip to update?

Afraid not.


Feature: Sorting on the basis of names (lexicographic order) in compare section.

There is a suggestion for a feature about sorting the names on the basis of lexicographic order so that one can find their profile easily if there are too much profiles in the upcoming time.

I’d love to work on this! If you like this idea, please assign the task to me.
and please add tag of HACKTOBERFEST on this feature :)

@DhairyaKaithwar how is it going.

@sanjay-kv The work is ongoing, and hope it will be completed by the end of the day.

I have raised PR kindly check...

I have raised PR kindly check...

Please mention the issue no. in corresponding pr.


Compile xcmappingmodel files instead of copying them

Addresses issue #379
Might be a good idea to add a test and an example xcmappingmodel file in fixtures

Thanks @jcolicchio! Could you please add a changelog entry and the tests you mention

@yonaskolb Will take a look tonight; I'm not super familiar with the project, do you know into which folder I'd put this example xcmappingmodel?

Oof built xcodegen off this branch and it's not actually working. How do I move this back into draft?

@yonaskolb Ready for action! I ended up also making a tweak to xcmappingmodel inclusion to avoid it being added as a directory containing xml

@yonaskolb Noticed some merge conflicts with a feature that makes a portion of this PR redundant, rebased and removed the unnecessary code changes. Should be good to go again 👍


Deprecation warning in numpy >= 1.20

Couldn't find a previous issue about this, so here it is.
With astroplan 0.8 and numpy 1.21.3 I get the following deprecation warning:
2021-12-13 14:42:29,958 [WARNING] warnings.py:109 /usr/local/lib/python3.9/dist-packages/astroplan/scheduling.py:766: DeprecationWarning: `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  _stride_by = np.int(np.ceil(float(b.duration / time_resolution)))

I guess this means simply replacing np.int with int.

This was fixed in #523. Thanks @thusser and @wtgee!


Testing node manipulation

From @danvk at https://github.com/refstudio/refstudio/pull/154#pullrequestreview-1482196425:

The code for manipulating the nodes is quite intricate and my main question is around how we want to set up testing for it. A few ideas:

Have a "script" that a human periodically goes through ("type ABC, put the cursor between B and C and hit enter"). This would be tedious but would at least document our expectations. This is kind of what @hammer and I are doing already in the comments :)
Look into some kind of test runner like Playwright. These sorts of things are always a bit of a PITA to set up but they do create an extremely realistic test environment. I believe this is what VS Code uses. TipTap looks like it uses Cypress, which is similar.
Try to create some sort of unit test by creating the nodes that tip tap expects (maybe by writing out Markdown) and calling the individual functions like setCollapsibleBlock with each situation (no selection, selected text on the fold header line, selection crossing the header line and foldable content). Depending on how TipTap works internally, this may or may not be possible

Because the PR (#154) was not blocking for other features, we took the time to add tests before merging it.
We did it the third way: extracted the logic in functions and then wrote unit tests for these functions. We reached a coverage of almost 100% for them
I think we can close this issue, unless you want to keep it open to add other tests, like, for example, with Playwright.

@sehyod let's wait to see what @danvk thinks of the testing we have in place before closing

The testing approach from #154 looks great. My one suggestion (implemented in #186) is to make the tests more legible by making both the input state and output state more "visual".


Fixing rendering of signing message and profile / posts components

(Still need to fix rendering on /profile, and any arbitrary /post/** pages

(this has already been absorbed by Deforum)


Disable room creation on message input

https://github.com/WideChat/Rocket.Chat/issues/1029
Rocket.Chat Server PR - https://github.com/WideChat/Rocket.Chat/pull/1036

@bhardwajaditya can you show me where it is that this will be disabled for brazil CX bots?

@bhardwajaditya How can I test this?  I'm not sure how to get into the condition where the room is closed, but the composer is available for typing.  Do you have a strategy or this?

@ear-dev I manually enable the composer by manipulating the store state to test this functionality.

@bhardwajaditya can you describe here how you manually manipulate the store state to test this please?  Thanks.

@bhardwajaditya can you resolve the new conflicts please?  thanks.....

@ear-dev fixed it

@Shailesh351 can you review and test this one please.  Thanks!

@Shailesh351 it will still occur because this scenario occurs when the client is not able to receive the end chat message, it remains in the intermediate state


Adds support for disabling extra newlines

Partially resolves #67. Depends on AriaMinaei/RenderKid#30..
Changes:

Adds an opts parameter to the constructor, with a default value which results in no behavioral changes
Allows setting opts.extraNewlines to false to remove extra newlines between stack frames in RenderKid

We'll need to update the renderkid version in package.json as well once that PR is merged.


Fix config address to accept only address not full endpoint

The config was changed to accept the endpoint.


Same metrics function with different content must be rewrite the function ??

Now I want to apply one of the metrics functions in the evaluation metrics to different content.
For example, the SemanticSimilarity function by default takes {"reference", "response"} to measure the similarity between two pieces of content. Now I want to measure the similarity between {"user_input", "retrieved_contexts"}.
How should I proceed? Does it mean that I have to rewrite the whole method myself?

hey there @YYH211 sadly this is not possible in metrics other than general purpose metrics sadly https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/general_purpose/
but I can make this fix for you today and merge it in 🙂


rel=nofollow on draft version links

Describe the issue
On https://datatracker.ietf.org/doc/html/rfc8713 I happened to notice that the bank of links to previous versions of that draft are annotated with rel=nofollow.  This makes sense, but I can't work out why it is only some of the links.  The -00 and the -09 (the last draft version of the document) lack this marking for reasons I can't quite comprehend.  Should all older links be similarly decorated?
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

The logic is here:
https://github.com/ietf-tools/datatracker/blob/5006ea53e686a82d8dbfa10ce2f5c7262f91ffa7/ietf/templates/doc/revisions_list.html#L14
So the 00 and most recent are not marked no-follow intentionally.
For a draft that has become an RFC, they should both be no-follow.
What makes sense drafts that are not yet RFCs?


Add support for ~/.aws/config file

First go code, so feedback welcome.  I don't understand why it added those new packages to vendor/ but didn't seem to copy go-ini, so...
Fix for https://github.com/remind101/assume-role/issues/7 .  Tested with both
~/.aws/config and ~/.aws/roles.  Did NOT test that a ~/.aws/config profile that
doesn't have an MFA token works since it would have required setting up test
users on my side.  I did test that it can parse an entry that doesn't have an
MFA and sets the value in the map to nil.  If that is what the YAML parser does
it should work.
Prints a deprecation warning if running against ~/.aws/roles.

Add gp-ini/ini dependency to vendors (https://github.com/go-ini/ini)
Move old loadConfig to loadConfigFromRoleFile
Add new loadConfigFromConfigFile function
Make new loadConfig function that delegates to the other two
Run go fmt

Yes, that's much better, I didn't know that was part of the AWS SDK.  I'll change the code.

Replaced with: https://github.com/remind101/assume-role/pull/11 .  Closing.


(PDB-5768) Revert conflicting pins for now

These upgrades conflicted with pins elsewhere, e.g. digest in kitchensink, so revert them until we can revisit a broader upgrade (and related migrations to clj-parent).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


"Clear" button click

If click 'clear' does not fire event onChange with HSVa = null;
http://jsfiddle.net/egma4s9f/
(Watch console)

Oh, whoops :D Fixed here: 2226327ddc0c8e672e0ba51f1c8f3279cf5b5248


pythonPackages.tesserocr: 2.5.1 -> 2.5.2

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 131077 at 1db273c5 run on aarch64-linux 1

2 packages built successfully:

python38Packages.tesserocr
python39Packages.tesserocr


Workflow incompatible

When I download the workflow v2.0.8 and import it into my Alfred v3.8.6 on Mac OS 10.15, Alfred tells me "Workflow incompatible. Please update the latest version of Alfred." However, this workflow is supposed to work on Alfred 3 and 4.
I have the Powerpack, Node.js 8+, and the alfred-language-configuration installed.

You should Try install with npm by npm install -g alfred-google-translate

That does give me an error too:

$ sudo npm install -g alfred-google-translate

<EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/alfred-google-translate
alfy-init

Error: Command failed with exit code 1 (EPERM): alfred-link
at makeError (/usr/local/lib/node_modules/alfred-google-translate/node_modules/execa/lib/error.js:59:11)
at handlePromise (/usr/local/lib/node_modules/alfred-google-translate/node_modules/execa/index.js:112:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async /usr/local/lib/node_modules/alfred-google-translate/node_modules/alfy/init.js:7:3 {
command: 'alfred-link',
exitCode: 1,
exitCodeName: 'EPERM',
stdout: '',
stderr: 'Error: Permission denied to read Alfred preferences at location /Users/user/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist\n' +
'    at module.exports (/usr/local/lib/node_modules/alfred-google-translate/node_modules/resolve-alfred-prefs/index.js:44:9)',
all: 'Error: Permission denied to read Alfred preferences at location /Users/user/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist\n' +
'    at module.exports (/usr/local/lib/node_modules/alfred-google-translate/node_modules/resolve-alfred-prefs/index.js:44:9)',
failed: true,
timedOut: false,
isCanceled: false,
killed: false,
signal: undefined
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: alfy-init
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      /Users/user/.npm/_logs/2020-06-02T08_22_24_743Z-debug.log

How can I download the workflow manually for the correct version?

See the error log:
Error: Permission denied to read Alfred preferences at location: /Users/user/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist

it caused by permission issue, please check the permission of this directory.
The release page does not have v3 workflows. I export v3 for you, you could have a try.
The alfred-google-translate and afred-language-configuration archive (workflows.zip).
but I recommend you install with npm for get updates in time.

Hi, @ferreirafabio if you could working with the workflow, I'll close this issue. you could reopen it or raise a new one when you have any questions.


⚠ Samsung has degraded performance

In 02d31f0, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2558 ms

Resolved: Samsung performance has improved in 2e8a55e.


Fix parsing urlencoded pairs with empty values.

There is a bug with parsing curl statements with empty values. This fixes the bug and adjusts the tests to expected behavior.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @adamroyle thanks for submitting this! We're eager to help you get this into a merged state.
While I was testing this PR out locally I've found some cases where we will still not properly render urlencoded pairs. Can you provide an example you used for testing this PR?

I'm just using a simple example:
curl 'http://localhost/' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  --data-raw 'param1=&param2=&param3=value'

As an aside, however, I found another issue where Bash-style ANSI-C quoted strings (eg. --data-raw $'....') were not decoded properly. Google Chrome's "Copy as cURL" feature uses them for JSON strings that contain special chars.
eg.
curl 'http://localhost/' \
  -H 'Content-Type: application/json;charset=UTF-8' \
  --data-raw $'{"name":"O\'Reilly"}'

I spent a while trying to get it to work but ran into too many issues (mainly with general shell parsing libraries not implementing Bash-style quotes), and instead built a parser for "Copy as fetch (Node.js)" instead which has been much more reliable.


Migrate Aikido to Github Actions

Responding to Issue #597 .
This should run the exact same jobs as Travis but on Github Actions instead.
Before creating a pull request

[ N/A ] Document new methods and classes
[ N/A ] Format code with make format

Before merging a pull request

[x] Set version target by selecting a milestone on the right side
[x] Summarize this change in CHANGELOG.md
[x] Add unit test(s) for this change

I'm explicitly minimizing the change between these tests and the Travis tests.
However, the AIKIDOPY seems to fail to build because of the WorldInteractiveMarker issue from #521 , but only when building with Catkin... hmm
Should probably investigate that.

Will create another PR based on the branch egordon/rviz-world after this is pushed.

Issue with Bionic (unclear how we got around this in Travis). Tests are passing, but reporting as failure due to a segfault that happens during cleanup afterwards.
This is due to a mis-match between liboctomap-dev in bionic (version 1.8) and ros-melodic-octomap (version 1.9). I am not sure why catkin seems to get these two version confused.
That said, since both PRL and ICAROS are now updated to focal, we should switch these tests to be focal-centric.
Therefore, this PR now depends on https://github.com/personalrobotics/pr-cleanroom/pull/26

Pushed and updated, so ready for review!

So I've read through and (from what little I understand of GH actions) this seems sane.
One question though- I see we have one test failing currently. Do you know why? I think it's important to fix that before merging.

So I've read through and (from what little I understand of GH actions) this seems sane.
One question though- I see we have one test failing currently. Do you know why? I think it's important to fix that before merging.

Ah, ignore me- I just saw your other PR https://github.com/personalrobotics/aikido/pull/599.
In that case this seems fine- the only feedback is that it would nice to document somewhere how this all works (or even just link to some good documentation from our wiki). I always felt like I had to guess and check with Travis.
That's an issue we've always had, so I don't think it's fair to block this PR on that. Can we make an issue to add this documentation though?

New wiki page created: https://github.com/personalrobotics/pr_docs/wiki/Continuous-Integration-and-Branch-Setup


Change capitalization of language mode name

Change the language mode string from "ANSI text" to "ANSI Text" (capital "T") to match others such as "Plain Text".

Fixed in v1.1.7.


Rdk 33853 network and wi fi manager thunder plugin documentation

Documentation enhancement for WifiManager Plugin and Network Plugin

changes approved. I see a conflict. Please resolve and bring the changes to main branch as well.

changes approved. I see a conflict. Please resolve and bring the changes to main branch as well.

Can one of the admins verify this patch?

Closing older PRs. Pls resubmit to latest 2205 sprint.


Split files

split cluck.lisp into multiple files:

analysis.lisp
checks.lisp
egraph.lisp
plot.lips
rewrites.lisp
saturation.lisp

[ ] put the notices at the beginning of the files

;;;; instead of ;;
Author instead of Copyright

[ ] rebase


On Chrome Canary: Failed to load resource server-umd.js: the server responded with a status of 404 ()

Whenever I connect to it directly, everything works fine.
Here's my Debug Log.
Screenshot:

Another thing to note, if password protection is enabled, I can get to the login screen and input my password, before ending up on the blank screen. If password protection is disabled, I am shown the blank screen without anything prior.

I just tried using Argo Tunnel for the server, same issue :/

What happens if you use v3.4.0? Or v3.3.1?

Ok let me install

That path is odd; it should be /static/{commit}/lib/vscode/node_modules/semver-umd/lib/semver-umd.js.
Maybe Cloudflare's Rocket Loader is doing something here?

I disabled Cloudflare's Rocket Loader, and that seemed to make some progress, but I am still on a blank screen. The console logs have changed, and it now appears to not be able to establish a WebSocket, both on Firefox and Chrome.

How are you serving code-server? For example nginx, etc. There might be something misconfigured between Cloudflare and code-server.

I'm running it through Nginx, as a reverse proxy, with Cloudflare only being used as DNS (i even tried with proxy disabled).

Do you have the upgrade headers set? Something like this:
server {
  listen 80;
  listen [::]:80;
  server_name code.example.com code.example.org;
  location / {
      proxy_pass http://localhost:9999/;
      proxy_set_header Host $host;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection upgrade;
      proxy_set_header Accept-Encoding gzip;
  }
}

Thanks, setting those headers worked!

@andre4ik3 We tend to recommend caddy over nginx due to these sorts of issues. Highly recommend checking it out along with https://github.com/cdr/code-server/blob/master/doc/guide.md

Yeah I saw that, but I use Nginx for other things on this server, so :/
I'll use it in the future, thanks for telling me.


Load Game Screen

routing would like to check if the load game screen is in memory.

This is in an ecs-based ui, and doesn't have references off the SaveGameManager or the TitleScreenManager
will have to generate a new save list when asked; will probably make this a request of the SaveDataManager so the seq can update it when it wants it.
SaveGameManager::update_save_list() or something. There will need to be some tooling made to select saves


feat: support wayland build

Raylib can be compiled with Wayland support, but a special option must be given.
https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux#wayland
This PR adds some changes to the justfile which detects if a user is running Wayland, and provides this information to raylib.

Hi, thanks for the contribution!
I merged a PR so you can now pass raylib Makefile options as a just parameter (add added you as a co-author on the commit):

https://github.com/paulcadman/raylean/pull/43

I'm now hoping that the following command line will now work for you (please let me know):
LEAN_CC=clang just raylib_extra_make_variables='USE_WAYLAND_DISPLAY=TRUE' build

The reason I don't want to take this PR is that I'd prefer to add configuration options that linux users can use to solve problems rather than try to solve problems for some linux users and cause problems for others.

Some linux distributions may not have loginctl or the CLI options / output of loginctl may change (or vary between versions) so I think it's best if the user specifies that they want to build for Wayland instead of trying to detect this automatically.
The LEAN_CC=clang workaround can be used without changing the justfile. You can just set LEAN_CC in the shell environment where you run just and it gets passed along.
By default linux builds should use the default lean tooling (i.e without setting LEAN_CC). This works for some linux distributions (e.g ubuntu / Debian). At some point lean may be fixed so this workaround is not necessary.

I still need to document these in a Linux section (and linux troubleshooting section) of the README. But I'll defer this for now.


Fixes New ZK connection built with each REST api request #21

Make ZKClient connection part of web app state rather than per request

Great changes, I'll merge it asap, sorry if it took me a while to come back to it, work's been very busy. Would you mind signing the contributors agreement before I merge?
If you are an individual: https://docs.google.com/a/quantifind.com/document/d/1RS7qEjq3cCmJ1665UhoCMK8541Ms7KyU3kVFoO4CR_I/
If you did this coding as part of your work: https://docs.google.com/a/quantifind.com/document/d/1kNwLT4qG3G0Ct2mEuNdBGmKDYuApN1CpQtZF8TSVTjE/

Thank you!


consider adding strip on final outputs for consistency :thumbs_up:

Good catch, thanks for seeing that and pointing it out! I've fixed it on my main branch just to keep it simple. It (and scapy, nmap, and ncclient improvements) have been pushed.  :-)

Thanks Chuck and looking forward to it!


CDPSDX-3783: upgrade is proceeding even when auto backup is failed

Handle pre-check validations on Ranger and storage permissions from a datalake response.

closing since other implementation provided by @RokolyA94


Run only HHVM on Trusty due to Travis inconsistancy

Some people claim that in some instances Travis can start slowly or run slowly. Reduce this issue by only running HHVM on trusty

@zdenekdrahos this PR should reduce the long runtimes you mentioned in https://github.com/EdgedesignCZ/phpqa/pull/52#issuecomment-292968779
I've seen some statements that Travis will randomly be slow to start. This PR reduces the reliance on Trusty. As far as I understand it, the random slow start is due to a travis infrastructure issue and is not necessarily isolated to trusty, it's just reported as more common with trusty.

I've also moved the HHVM configuration setting for disabling the JIT before the composer lines. This should also help improve the overall testing speed.

Thanks @photodude

you are welcome.

@photodude: could this change cause that travis build isn't executed?
Merge request wasn't executed. PRs aren't executed... Travis/github integration is enabled.

@zdenekdrahos This change should not cause travis to fail to build. Sounds like a travis connection error (or possibly an issue with how github connects to travis).
I'll add another PR that will specify precise for all other builds rather than relying on the default setting, in case travis changed something. But even with that, you likely need to contact travis about the failures to build.

@zdenekdrahos definitly a travis connection issue. the message continuous-integration/travis-ci — Waiting for status to be reported clearly says travis is not talking to your repo and your repo is waiting to hear from travis.
It's not a build failure, or failure to build it;s a connection issue.
you can see the build status on travis

https://travis-ci.org/EdgedesignCZ/phpqa/builds
and the PR status
https://travis-ci.org/EdgedesignCZ/phpqa/pull_requests

the PR status says the PR builds are not being created, (there is an account setting for that)
it looks like the repo and travis are just not talking. So a connection or account setting issue.
you can see my travis account is building for PR #59
https://travis-ci.org/photodude/phpqa/builds/224702748

Thanks for you help. I've already contacted the github support.
Because I think that problem is at github side. There are no requests in travis.

FYI: Webhooks were disabled because EdgedesignCZ organization was downgraded to free plan while still having private repositories.


LOCATION_CHANGE on state change

First of all: Thank you so much for creating and maintaining the great starter kit. It's a huge help!
I'm currently building a new app based on this project but constantly get @@router/LOCATION_CHANGE after another state change has occurred.
PS: I already opened up an issue here: https://github.com/reactjs/react-router-redux/issues/286#issuecomment-184884017

I can agree I'm getting something similar. When I use Link to='/' or whatever url, LOCATION_CHANGE is called but the app attempts to goto the specified route (the url flickers), but there is no transition (the url goes back to source url).

Seems like LOCATION_CHANGE is being wonky right now

Can you please provide an example reproducing the problem>

I forked the repo and tried to replicate the issue. Bug doesn't exist. The issue is on my end.

Turns out it was another problem. Sorry. I triggered a state change based on an anchor tag <a href='#' onClick={callAction}.


Remove user partial and refactor show view

PR to remove user partial and refactor user show view
All feedback welcome!
https://trello.com/c/C4ZFueVx/
Thanks for taking a look.

LGTM! :bowtie:

Thanks for the feedback @scara82 , merging now. If anyone has more feedback please leave it on this PR and I will review.


Improvement of ep.pp.qc_lab_measurements

Description of feature
There are two things could be improved for qc_lab_measurements

Adding more reference table.
Currently there are only Clinical Laboratory reference values. Other reference values (like clinical measurements of vital signs) may also be very helpful.
-> Easy to do, but need to do some research
better fuzzy matching
Currently this function may give incorrect matchings. It would be great that it can print similar matches if the matching is 		not exactly same.
-> Also easy to improve. There's already a very similar function in ehrdata

I will fix this in ehrdata


group rowHeader unexpectedly disappears

This plunker is based on the complex grouping tutorial:
http://plnkr.co/edit/3lAuYzzGBwaQ3PJRSvh8?p=preview
I have disabled the custom columnsProcessor in the plunker. Now when I expand a group the expand button column is hidden. If I enable to columnsProcessor (event with all of the functionality disabled), the problem goes away.

If we change treeRowHeaderAlwaysVisible to true, then the problem goes away.  But that isn't really what we want.
If we take the simple tutorial, and set treeRowHeaderAlwaysVisible to false, then the problem arrives: http://plnkr.co/edit/FHKMyWSZC530QVRNgz2T?p=preview

This is still a problem. On the 209 tutorial, remove grouping on both grouped columns, then group by "state".


[Bug] lastSeen not updating, causing ephemeral nodes to be incorrectly removed

Is this a support request?

[X] This is not a support request

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
This is kinda like #1725 ... but completely the opposite. Instead of ephemeral nodes never being expired, ephemeral nodes are always being expired on v0.23.0-alpha12.
Most of the nodes in my tailnet do not seem to be updating their `lastSeen`:

/ # headscale node list
{"level":"warn","time":1720770108,"message":"An updated version of Headscale has been found (0.23.0-alpha9 vs. your current v0.23.0-alpha12). Check it out https://github.com/juanfont/headscale/releases\n"}
{"level":"debug","timeout":5000,"time":1720770108,"message":"Setting timeout"}
{"level":"debug","socket":"/var/run/headscale/headscale.sock","time":1720770108,"message":"HEADSCALE_CLI_ADDRESS environment is not set, connecting to unix socket."}
ID | Hostname              | Name                  | MachineKey | NodeKey | User | IP addresses                                             | Ephemeral | Last seen           | Expiration          | Connected | Expired
1  | sam-desktop           | sam-desktop           | [eVvnq]    | [rEeDH] | sam  | <IP_ADDRESS>, fd7a:115c:a1e0:36ae:ea56:d47f:5599:bf8c  | false     | 2024-07-11 20:48:58 | 0001-01-01 00:00:00 | online    | no
2  | sam-laptop            | sam-laptop            | [Z+WQN]    | [90YXd] | sam  | <IP_ADDRESS>, fd7a:115c:a1e0:85d2:1875:8134:5cfc:9e2f  | false     | 2024-07-08 19:02:32 | 0001-01-01 00:00:00 | offline   | no
3  | localhost             | sam-pixel             | [2sO6K]    | [RPjmd] | sam  | <IP_ADDRESS>, fd7a:115c:a1e0:3d98:1040:6cef:119a:18d9  | false     | 2024-07-12 07:38:23 | 0001-01-01 00:00:00 | online    | no
5  | sam-deskwart          | sam-deskwart          | [jHH/I]    | [UwXt7] | sam  | <IP_ADDRESS>, fd7a:115c:a1e0:f6a5:86cb:f39:3cc3:4a4      | false     | 2024-07-12 07:39:27 | 0001-01-01 00:00:00 | online    | no
6  | sam-deck              | sam-deck              | [rDf+m]    | [saBU8] | sam  | <IP_ADDRESS>, fd7a:115c:a1e0:b6f8:a2ec:de6b:5887:c52a    | false     | 2024-07-07 15:20:28 | 0001-01-01 00:00:00 | offline   | no
8  | home-cluster-router   | home-cluster-router   | [wv7AT]    | [+LpMc] | sam  | <IP_ADDRESS>, fd7a:115c:a1e0:8fbf:6e88:a628:fb2d:6968 | false     | 2024-07-10 22:03:33 | 0001-01-01 00:00:00 | online    | no
18 | internal-net-router-0 | internal-net-router-0 | [Brxps]    | [YWv0x] | sam  | <IP_ADDRESS>, fd7a:115c:a1e0:2783:36c7:3f68:3856:6ef   | false     | 2024-07-11 21:33:48 | 0001-01-01 00:00:00 | online    | no

/ # date
Fri Jul 12 07:41:49 UTC 2024

(note the online status of many of the nodes, and the stale lastSeen as compared to the current date)

Because the lastSeen isn't being updated, `DeleteExpiredEphemeralNodes` is deleting ephemeral nodes `h.cfg.EphemeralNodeInactivityTimeout` (in my case the config example default: 30 minutes) after they join the tailnet, even if they're still actively connected:

2024-07-12 08:35:32.895	{"level":"info","node":"pool1-1d0189563e8df30a","time":1720766132,"message":"Ephemeral client removed from database"}
2024-07-12 08:35:32.949	{"level":"error","caller":"/home/runner/work/headscale/headscale/hscontrol/poll.go:705","readOnly":false,"omitPeers":false,"stream":true,"node.id":27,"node":"pool1-1d0189563e8df30a","error":"record not found","time":1720766132,"message":"Could not get machine from db"}
2024-07-12 08:35:32.958	2024/07/12 06:35:32 http2: panic serving <IP_ADDRESS>:33220: runtime error: invalid memory address or nil pointer dereference
2024-07-12 08:35:32.958	goroutine 5314 [running]:
2024-07-12 08:35:32.958	golang.org/x/net/http2.(*serverConn).runHandler.func1()
2024-07-12 08:35:32.958		/home/runner/go/pkg/mod/golang.org/x/net@v0.25.0/http2/server.go:2363 +0x145
2024-07-12 08:35:32.958	panic({0x1cec9e0?, 0x3372bf0?})
2024-07-12 08:35:32.958		/nix/store/6bvndddvxaypc42x6x4ari20gv3vfdgd-go-1.22.2/share/go/src/runtime/panic.go:770 +0x132
2024-07-12 08:35:32.958	github.com/juanfont/headscale/hscontrol.(*mapSession).serveLongPoll.func1()
2024-07-12 08:35:32.959		/home/runner/work/headscale/headscale/hscontrol/poll.go:194 +0x90
2024-07-12 08:35:32.959	github.com/juanfont/headscale/hscontrol.(*mapSession).serveLongPoll(0xc000002480)
2024-07-12 08:35:32.959		/home/runner/work/headscale/headscale/hscontrol/poll.go:277 +0x1214
2024-07-12 08:35:32.959	github.com/juanfont/headscale/hscontrol.(*noiseServer).NoisePollNetMapHandler(0xc00077ddd0, {0x23790f0, 0xc0005a8200}, 0xc000a1b680)
2024-07-12 08:35:32.959		/home/runner/work/headscale/headscale/hscontrol/noise.go:240 +0x365
2024-07-12 08:35:32.959	net/http.HandlerFunc.ServeHTTP(0x7efcc365a108?, {0x23790f0?, 0xc0005a8200?}, 0xd44d80?)
2024-07-12 08:35:32.959		/nix/store/6bvndddvxaypc42x6x4ari20gv3vfdgd-go-1.22.2/share/go/src/net/http/server.go:2166 +0x29
2024-07-12 08:35:32.959	github.com/juanfont/headscale/hscontrol.prometheusMiddleware.func1({0x23790f0, 0xc0005a8200}, 0xc000a1b680)
2024-07-12 08:35:32.959		/home/runner/work/headscale/headscale/hscontrol/metrics.go:87 +0x143
2024-07-12 08:35:32.959	net/http.HandlerFunc.ServeHTTP(0xc000a1b560?, {0x23790f0?, 0xc0005a8200?}, 0x7efc7c7042c8?)
2024-07-12 08:35:32.959		/nix/store/6bvndddvxaypc42x6x4ari20gv3vfdgd-go-1.22.2/share/go/src/net/http/server.go:2166 +0x29
2024-07-12 08:35:32.959	github.com/gorilla/mux.(*Router).ServeHTTP(0xc0003d26c0, {0x23790f0, 0xc0005a8200}, 0xc0008b77a0)
2024-07-12 08:35:32.959		/home/runner/go/pkg/mod/github.com/gorilla/mux@v1.8.1/mux.go:212 +0x1e2
2024-07-12 08:35:32.959	golang.org/x/net/http2.(*serverConn).runHandler(0x44973d?, 0xc000c62910?, 0x237bb40?, 0xc000c62b40?)
2024-07-12 08:35:32.959		/home/runner/go/pkg/mod/golang.org/x/net@v0.25.0/http2/server.go:2370 +0xbb
2024-07-12 08:35:32.959	created by golang.org/x/net/http2.(*serverConn).scheduleHandler in goroutine 5259
2024-07-12 08:35:32.959		/home/runner/go/pkg/mod/golang.org/x/net@v0.25.0/http2/server.go:2305 +0x21d

Expected Behavior
lastSeen is kept continually refreshed on nodes that are actively connected to the tailnet control plane. Or at least, the lastSeen is guaranteed to be refreshed at least once every ephemeral_node_inactivity_timeout / 2 or something.
Ephemeral nodes don't get deleted when they're still online and active. That is, I think there's two solutions to this bug: 1) make sure lastSeen is updated, 2) ignore lastSeen during expiration check IF node.IsOnline.
Steps To Reproduce
cat config-example.yaml | sed 's/^listen_addr:.*/listen_addr: <IP_ADDRESS>:8080/' | sed 's/ephemeral_node_inactivity_timeout:.*/ephemeral_node_inactivity_timeout: 1m6s/'  > config-2006.yaml

docker run --name demo-2006 -p 8080:8080 -v `pwd`/config-2006.yaml:/etc/headscale/config.yaml headscale/headscale:v0.23.0-alpha12-debug serve

docker exec -it demo-2006 headscale user create sam

key=$(docker exec -it demo-2006 headscale pre create --ephemeral -u sam | tail -1)
sudo tailscale login --login-server=http://localhost:8080 --authkey=$key

docker exec -it demo-2006 headscale node list

sleep 66s

docker exec -it demo-2006 headscale node list

Environment
- OS: Container (running in Kube 1.30 on CoreOS-stable nodes)
- Headscale version: v0.23.0-alpha12
- Tailscale version: 1.68.2

Runtime environment

[X] Headscale is behind a (reverse) proxy
[X] Headscale runs in a container

Anything else?
No response

This seems related: https://github.com/juanfont/headscale/blob/main/hscontrol/mapper/tail.go#L147-L149
I'm testing this commit in my tailnet setup at present: https://github.com/samcday/headscale/commit/d90d8d20c0e9e0291f722316f61d946cc2ea1ebe

Hi!, this seem like a result of stop using the lastseen field for a bunch of stuff after we actually read the docs of it https://github.com/tailscale/tailscale/blob/main/tailcfg/tailcfg.go#L333-L337.
I've written a test to confirm your issue and I'm looking at rewriting the delete logic so it doesnt depend on the field and rather look at when it was disconnected.

I've patched a fix for my deployment with this commit: https://github.com/juanfont/headscale/commit/3f0dfca6f474054b40ee543434c23ea7a4ca37a7
LMK if that looks like something you'd be interested in adopting. If so I'll raise a PR. Otherwise I eagerly await the rewrite+fix :D

@samcday I'm not completely done with tests yet, but could you give https://github.com/juanfont/headscale/pull/2008 ago?

I've patched a fix for my deployment with this commit: 3f0dfca
LMK if that looks like something you'd be interested in adopting. If so I'll raise a PR. Otherwise I eagerly await the rewrite+fix :D

This seems also sensible, I figured I'll give getting rid of those loops and use expiries a bit more cleverly. Lets see if I was too clever.

@samcday I'm not completely done with tests yet, but could you give #2008 ago?

Cool :+1:  I'll check it out this evening or tomorrow.
FWIW, I would have tested it straight away if the PR machinery were to cut images that I could test (e.g a ghcr.io/juantfont/headscale/unstable-dev-pr-2008 or somesuch).
Relatedly, with minimal hax I was able to get the headscale goreleaser CI to run in my fork and easily test dev tags. It's great to see CI machinery in such great shape in this project. 10/10 would fork again

I applied #2008 to my local deployment this morning. This tailnet has a handful of ephemeral (autoscaling) devices. I'll report back in a day or two after the changes have soaked a bit!

Hey @samcday, just checking in if you have seen any strange behaviour  before we get it reviewed and merged?