delete finding template test failing since chrome 83 upgrade

Happens during integration tests. Doesn't seem to be a bug in DD itself.
Test is disabled for now.
test_delete_finding_template (__main__.FindingTest) ... ERROR
======================================================================
ERROR: test_delete_finding_template (__main__.FindingTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/Finding_unit_test.py", line 254, in test_delete_finding_template
    productTxt = driver.find_element_by_tag_name("BODY").text
  File "/home/travis/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webelement.py", line 76, in text
    return self._execute(Command.GET_ELEMENT_TEXT)['value']
  File "/home/travis/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
    return self._parent.execute(command, params)
  File "/home/travis/.local/lib/python3.5/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/home/travis/.local/lib/python3.5/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document
  (Session info: headless chrome=83.0.4103.61)

@Maffooch @valentijnscholten should we consider using/setting up Browserstack? It can help find cross-browser compatibility issue early on. It is also free for open-source projects.

@Maffooch @valentijnscholten Would you guys be open to switching to Cypress for the tests? I would be more than happy to volunteer to migrate what we have so far. We could also run them both at the same time until one of them is retired.

I'm not a really a front-end dev, but from their homepage it sounds like Cypress is easier than Selenium which I've always found to be very clunky. As longs as we don't get any NodeJS callback hell, I'm good with switching as long as we don't go downwards in coverage.

Do they provide CI/CD on their side, or do we still run in travis? What would be a big benefit is if we could see what is/was going on in a failed test. Screenshots, logs, whatever. With selenium you can't even choose the let it log what it doing.

Awesome! I started working last night on migrating some of the current
tests over to Cypress. I’ll make a PR once I feel like I have enough tests
done. And like I said, we can always keep them both until we feel
comfortable.
On Thu, May 21, 2020 at 3:52 PM valentijnscholten<EMAIL_ADDRESS>wrote:

I'm not a really a front-end dev, but from their homepage it sounds like
Cypress is easier than Selenium which I've always found to be very clunky.
As longs as we don't get any NodeJS callback hell, I'm good with switching
as long as we don't go downwards in coverage.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/DefectDojo/django-DefectDojo/issues/2400#issuecomment-632309581,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABALFS2R5VYJXF4N4SOKU5TRSWA7JANCNFSM4NF3OSXA
.

Do they provide CI/CD on their side, or do we still run in travis? What would be a big benefit is if we could see what is/was going on in a failed test. Screenshots, logs, whatever. With selenium you can't even choose the let it log what it doing.

@valentijnscholten  We can still run them through Travis. Debugging failed tests is 100x easier with Cypress, in my opinion.
https://docs.cypress.io/guides/guides/debugging.html
We can record videos of the tests, take screenshots, and also look step by step in a browser how the test is running.

I think we would have to find out how we can get Travis to store those artifacts somewhere. Also, if you're a front-end developer, you might be thinking the DD UI is a bit old school and needs more ajaxy stuff?

I was a “Full Stack” developer for a while, but my strength is definitely
on the front-end side. And yes, the front-end does need some work and
organization. Are you guys open to some PRs for improvement of the
front-end? I would be interested in helping with that too.
On Fri, May 22, 2020 at 3:09 AM valentijnscholten<EMAIL_ADDRESS>wrote:

I think we would have to find out how we can get Travis to store those
artifacts somewhere. Also, if you're a front-end developer, you might be
thinking the DD UI is a bit old school and needs more ajaxy stuff?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/DefectDojo/django-DefectDojo/issues/2400#issuecomment-632531154,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABALFS6ZZOKI4K5YQO2XU5DRSYQLXANCNFSM4NF3OSXA
.

Maybe start a thread on Slack cause I am not the only one to decide :-)

fixed by PRs.


Update authors

We should add an autotool for this, it's a bit annoying to add it ourselves (thanks for doing it btw ! ^^).

I have a local repo that tracks the committers and then it's only takes editing the file once and the rest is just a bunch of shell commands.


Rewrite the network TestNet

The TestNet struct in substrate-network allows simulating a network. It is used in the tests of the network, of Aura, of Babe, and of GrandPa.
At the moment, it uses the internals of the network crate (more specifically: Protocol) and simulates a network on top of that. This PR changes that so that it uses the API surface of the network crate, therefore including discovery, pinging, and all that the networking actually does.
In order to do so, it is now possible to put the network in "memory only" mode. In this mode, the node addresses are in the form /memory/N where N is a randomly-generated u64. Nodes "connect" to each other using channels.
In the process, I've made all the tests asynchronous. No background thread is being spawned anymore.
Since we no longer decide which node is connected to which, "disconnecting" is now done by destroying nodes altogether. Other than this detail, I have tried to not change anything in the logic of the tests.
This will make it possible to continue the internal refactoring of the network crate, as we can now move touch things that would break the tests before. I've already opened #2962 that should be merged on top of this PR.

Looks good, except for a minor nitpick


Remove get-grpc.sh

After the completion of https://github.com/grpc/grpc-dotnet/issues/179. We no longer need the get-grpc.sh script. This is a minor cleanup and would allow us to delete that file in grpc-dotnet.
cc @jtattermusch

Known failures:
https://github.com/grpc/grpc/issues/18967
https://github.com/grpc/grpc/issues/18968


sever start fail

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
start server fail with message "command line too long ,and syntax is uncorrect"
Ⅱ. Describe what happened
C:\Users\Administrator\Desktop\seata-server-0.6.0\distribution\bin>seata-server.bat  -h localhost -p 8091 -m file
输入行太长。
命令语法不正确。
C:\Users\Administrator\Desktop\seata-server-0.6.0\distribution\bin>

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version : 1.8
OS : windows 10
Others:

This bug has been fixed.ref #1138

[ ]  I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
start server fail with message "command line too long ,and syntax is uncorrect"
Ⅱ. Describe what happened
C:\Users\Administrator\Desktop\seata-server-0.6.0\distribution\bin>seata-server.bat  -h localhost -p 8091 -m file
输入行太长。
命令语法不正确。
C:\Users\Administrator\Desktop\seata-server-0.6.0\distribution\bin>

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version : 1.8
OS : windows 10
Others:

please use 0.6.1

[ ]   I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
start server fail with message "command line too long ,and syntax is uncorrect"
Ⅱ. Describe what happened
C:\Users\Administrator\Desktop\seata-server-0.6.0\distribution\bin>seata-server.bat  -h localhost -p 8091 -m file
输入行太长。
命令语法不正确。
C:\Users\Administrator\Desktop\seata-server-0.6.0\distribution\bin>

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version : 1.8
OS : windows 10
Others:

please use 0.6.1

ok

[ ]   I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
start server fail with message "command line too long ,and syntax is uncorrect"
Ⅱ. Describe what happened
C:\Users\Administrator\Desktop\seata-server-0.6.0\distribution\bin>seata-server.bat  -h localhost -p 8091 -m file
输入行太长。
命令语法不正确。
C:\Users\Administrator\Desktop\seata-server-0.6.0\distribution\bin>

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version : 1.8
OS : windows 10
Others:

please use 0.6.1

thank you!


Support parsing multiple policies

Category
User level API changes
Describe the feature you'd like to request
It would be useful to provide an API that takes as input a string (or file) consisting of multiple policies and returns a Set<policy>. We currently only provide a constructor for a single Policy, which encourages hacky tricks like splitting an input policy file on semicolons (which will break when comments, strings, or eids contain this character).
Describe the solution you'd like
Ideally the API should just reuse what's available in Rust rather than building a new parser.
Describe alternatives you've considered
No response
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

As far as I can tell, there isn't currently a way to just load an entire cedar policy file that has multiple policies, correct?  I need to instantiate Policy objects one by one (like using your hacky trick above)?

Yes, I believe this is still the case. Pull requests welcome! Most of our development effort is spent on the Rust implementation (which has all the nice APIs you'd expect).

I was thinking about this more last night b/c I was also concerned with the cost of API calls in this wrapper - the serialization/deserialization of your policy set (slice) on each auth request.  Seems like it could get prohibitive for a large policy set.  Was thinking about how it would be nice if the Java objects were just proxies or handles to Rust objects.
Then realized that probably what I'm looking for is a Java binding to the cedar-local-agent.  I don't know what the use case is for cedar-java but the use case I was looking for was to be able to load a Policy Set from somewhere and make authorization requests from Java, all in the same process.  Seems like the API surface of cedar-local-agent is closer to what I am looking for, it just doesn't have a Java wrapper.
If I ever get some free time I'll work on that.

Merged 165 and closing. Please reopen if anything else is needed


Remove  any type by defining the class associated with the block

Remove any type by defining the class associated with the block
This allows us to know what changed when Agora's block structure changed.

Nice!
How about separating data class definitions into separate DATA definition files?
ex) src/modules/data/*.ts

I see a lot of if (hasOwnProperty). But then later there are also catches ? Wouldn't it be better to just catch ?

@TrustHenry:  Thanks for your review. I fixed all.

This is related to Issue #29


Batch Cost

I am assuming you pay for Batch only when you use. It is Not explicitly mentioned. Is that correct?
Is there any other fixed cost involved with Batch?

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

ID: a7cf67b7-8d94-d7a2-97ef-1387e252109c
Version Independent ID: 0d3a72a7-6600-5682-6be1-6c333192bbd6
Content: High Performance Computing (HPC) on Azure
Content Source: docs/topics/high-performance-computing.md
Service: architecture-center
GitHub Login: @adamboeglin
Microsoft Alias: pnp

@Sam-SFO There’s no charge for Batch itself, only the underlying compute and other resources consumed to run your batch jobs, including applicable software license costs. For compute, Cloud Services, Linux Virtual Machines, or Windows Virtual Machines can be utilized by Batch. The standard rates for compute apply and can be viewed below and software licensing costs for batch graphics and rendering are available below. In addition, Batch allows low-priority virtual machines (VMs) to be used. Reserved Virtual Machine Instances are available when using the Azure Batch Service in User subscription pool application mode.
You can check the pricing for Azure Batch here.

@Sam-SFO Checking in to see if the above post helped answering your question.

Yes, but the documentation should be made more precise.
On Sunday, August 11, 2019, 11:20:10 PM CDT, KetanChawda-MSFT<EMAIL_ADDRESS>wrote:
@Sam-SFO Checking in to see if the above post helped answering your question.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@Sam-SFO We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Add search tracking

Adds search tracking back into the Design System website, as we have now fixed the issue around consent that necessitated its removal in #1106.
This reverts commit 86cc4493549f4d97edfd1680d634e17b6fe09939.
Todo

[x] Test PII removal
[x] Test what happens if user does not consent/opts-out
[ ] Handle event where user rejects search (clicks off search box without choosing result)
[ ] Test with all browsers:

[ ] IE11
[ ] Safari
[x] Chrome

I've tested what happens if the user switches analytics cookies off, or does not agree to analytics cookies, using the dialogues we provide.
As I thought, the events don't show up in Google Tag Manager, because the connection with GTM is severed by the analytics code.
This does mean that the JavaScript reading the search results is still firing, but I think this is fine as long as the events don't get sent to Google.

PII removal seems to be working as designed; if I enter an email address it is replaced with [blocked] in the analytics event, if I enter a valid search term and an email address the search label is Heading [blocked].
If I enter a phone number I get [blocked][blocked][blocked][blocked]..., which is weird, but does the job at least.

So it turns out (found out just now by chatting to @SaraC19) that we have code in Google Tag Manager that handles removal of personal information, in variable 'JS - Remove PII from Hit Payload'. The two interact in weird ways, for instance the GTM PII code tries to remove postcodes, but it can't if stripPossiblePII has replaced all numbers with [blocked].
I'm going to see if I can remove the stripPossiblePII function and rely on the GTM code, so we're not repeating ourselves.

Hmm, it looks like the PII stripping code we have in GTM (which is based on https://brianclifton.com/blog/2017/09/07/remove-pii-from-google-analytics/) doesn't work with the data layer, only with the analytics.js send command.
I'm not sure of the best way to reduce the duplication of code here, so for now I'm going to leave it in, and create a tech debt ticket to find a fix later.

The tag to put these events into Google Analytics is now live, and I have done basic tests with these changes and the preview GA site, so this is ready for review now.


Add Tools\option setting for --target and --noImplicitAny for loose files

as mentioned in #1066, users who want to opt out of VS project systems, need a way to specify some additional configuration options. currently you can control compile on save, module, but not target or --noImplicitAny, --declaration, --sourceMap.

Target and modules are already supported. the other ones should be supported using tsconfig.json.


doublequotes within backticks errors when using printviewlatex.tplx

I have an ipynb containing one markdown cell containing the text:
`print("uh oh...")`
Running jupyter nbconvert --to pdf --template printviewlatex.tplx backtick_troublequote.ipynb produces LaTeX compilation errors:
! ngerman: The command ") is undefined.
\grmn@dq@error ...and \dq \string #1 is undefined}

l.278     \texttt{print("uh oh...")}

Replacing the double quotes with single quotes clears up the error.
Here's the notebook file.
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "`print(\"uh oh...\")`"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.11"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}

Seems to be a LaTeX error, not related to jupyter itself or the printviewlatex template. Investigate if you are able to compile \texttt{print("uh oh...")} using standard LaTeX, with the ngerman package which seems to fail.
Hum.  See if adding
\usepackage[mathletters]{ucs} % Extended unicode (utf-8) support
\usepackage[T1]{fontenc}

in the LaTeX header (and perhaps thenafter in the printviewlatex.tplx at bottom) can improve things.

@kungfujam any updates on this?

I was able to overcome an error similar to this by commenting out the line \usepackage{ngerman} in ~.virtualenvs/carnd-term1/lib/python3.5/site-packages/jupyter_contrib_nbextensions/templates/printviewlatex.tplx.

@tsbertalan instead of commenting out the line
\usepackage{ngerman}
using
\usepackage[ngerman]{babel}
in the file  printviewlatex.tplx did the trick for me.

Thanks; I switched it out on the computer in question, though I no longer
remember what prompted the original problem. :/
On Wed, Oct 11, 2017 at 6:13 AM theoky<EMAIL_ADDRESS>wrote:

@tsbertalan https://github.com/tsbertalan instead of commenting out the
line
\usepackage{ngerman}
using
\usepackage[ngerman]{babel}
in the file printviewlatex.tplx did the trick for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/649#issuecomment-335763262,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASr2fDivzWyYE8gZoMex3nooRYx7XWnks5srJSsgaJpZM4I-l9-
.


RxJava 3.x support

The RxJava docs mention the following:

The 2.x version is in maintenance mode and will be supported only through bugfixes until February 28, 2021. No new features, behavior changes or documentation adjustments will be accepted or applied to 2.x.

Are there any plans for e.g. rxandroidble3?
Or will the rxandroidble2 be compatible with the RxJava 3.x version?

There are plans to have rxandroidble3 — these were blocked by dependencies which only had been updated a day after your post.
rxandroidble2 cannot be compatible with RxJava 3 since the plans for ABI compatibility between RxJava 2 and 3 were canceled.

If I understand, RxJava3 is mostly backward-compatible with RxJava2, right? So hopefully it won't be a huge job to migrate RxAndroidBle.

I have started work on migrating to RxJava 3 when it was a release candidate at the end of July 2019. AFAIR it was working quite well up to a point where dependencies were not updated correctly. I do not expect huge amount of work now.

@dariuszseweryn do you have any early access dependency for this? I'm migrating my project and I would just like to build it even if the feature who uses this dependency is a little glitched

@GabrielAraujo There is only rxjava3 branch now which was not updated since RC times. I do not have enough time to finish it yet — so no, there is nothing workable now and you would need to use a bridge for now.

👋🏻  RxJava 2.2.21 is End of Life release for RxJava2
FYI, we were able to migrate in ~2 days. I assume it will take more for this project, since it's a public library and you need to release a major version, since inevitably there'll be some public interface change.

@dariuszseweryn I think migrating to RxJava3 will fix this https://github.com/Polidea/RxAndroidBle/wiki/FAQ:-UndeliverableException and "GATT_INSUF_AUTHORIZATION or GATT_CONN_TIMEOUT"

@dariuszseweryn - Is there any further progress planned for this? Do you need some help with it?

I am short on time at the moment. I first plan to make the lib usable for Android 12, then proceed with other things

After merging #793 RxJava 3 based dependency is now on Maven Central under com.polidea.rxandroidble3:rxandroidble:1.15.0. I am sorry for such a long wait and would like to thank you all for the support. RxJava 2 based dependency is still supported for the time being under the usual com.polidea.rxandroidble2:rxandroidble:1.15.0. Cheers!


Package network-manager is broken

The end of the output from my nixos-rebuild on the latest unstable (unstable-18.09pre132003.13e74a838db):
  CC       src/devices/ovs/src_devices_ovs_libnm_device_plugin_ovs_la-nm-ovsdb.lo
  CC       src/devices/ovs/src_devices_ovs_libnm_device_plugin_ovs_la-nm-ovs-factory.lo
  CC       src/devices/ovs/src_devices_ovs_libnm_device_plugin_ovs_la-nm-device-ovs-interface.lo
In file included from ./shared/nm-default.h:178:0,
                 from src/devices/ovs/nm-device-ovs-interface.c:20:
src/devices/ovs/nm-device-ovs-interface.c: In function 'link_changed':
./shared/nm-utils/nm-macros-internal.h:299:13: error: '_Generic' selector of type 'NMDevice * {aka struct _NMDevice *}' is not compatible with any association
  (_Generic ((obj_expr), \
             ^
./shared/nm-utils/nm-macros-internal.h:352:62: note: in expansion of macro '_NM_CONSTCAST_FULL_2'
 #define _NM_CONSTCAST_FULL_x(type, obj_expr, obj, n, ...)   (_NM_CONSTCAST_FULL_##n (type, obj_expr, obj,                        ##__VA_ARGS__))
                                                              ^~~~~~~~~~~~~~~~~~~
./shared/nm-utils/nm-macros-internal.h:353:62: note: in expansion of macro '_NM_CONSTCAST_FULL_x'
 #define _NM_CONSTCAST_FULL_y(type, obj_expr, obj, n, ...)   (_NM_CONSTCAST_FULL_x   (type, obj_expr, obj, n,                     ##__VA_ARGS__))
                                                              ^~~~~~~~~~~~~~~~~~~~
./shared/nm-utils/nm-macros-internal.h:354:62: note: in expansion of macro '_NM_CONSTCAST_FULL_y'
 #define NM_CONSTCAST_FULL(   type, obj_expr, obj,    ...)   (_NM_CONSTCAST_FULL_y   (type, obj_expr, obj, NM_NARG (dummy, ##__VA_ARGS__), ##__VA_ARGS__))
                                                              ^~~~~~~~~~~~~~~~~~~~
./shared/nm-utils/nm-macros-internal.h:375:3: note: in expansion of macro 'NM_CONSTCAST_FULL'
   NM_CONSTCAST_FULL (type, (obj), _obj, GObject, ##__VA_ARGS__); \
   ^~~~~~~~~~~~~~~~~
./shared/nm-utils/nm-macros-internal.h:679:55: note: in expansion of macro 'NM_GOBJECT_CAST_NON_NULL'
 #define _NM_GET_PRIVATE(self, type, is_check, ...) (&(NM_GOBJECT_CAST_NON_NULL (type, (self), is_check, ##__VA_ARGS__)->_priv))
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
src/devices/ovs/nm-device-ovs-interface.c:53:51: note: in expansion of macro '_NM_GET_PRIVATE'
 #define NM_DEVICE_OVS_INTERFACE_GET_PRIVATE(self) _NM_GET_PRIVATE (self, NMDeviceOvsInterface, NM_IS_DEVICE_OVS_INTERFACE)
                                                   ^~~~~~~~~~~~~~~
src/devices/ovs/nm-device-ovs-interface.c:119:38: note: in expansion of macro 'NM_DEVICE_OVS_INTERFACE_GET_PRIVATE'
  NMDeviceOvsInterfacePrivate *priv = NM_DEVICE_OVS_INTERFACE_GET_PRIVATE (device);
                                      ^
src/devices/ovs/nm-device-ovs-interface.c: In function 'act_stage3_ip4_config_start':
./shared/nm-utils/nm-macros-internal.h:299:13: error: '_Generic' selector of type 'NMDevice * {aka struct _NMDevice *}' is not compatible with any association
  (_Generic ((obj_expr), \
             ^
./shared/nm-utils/nm-macros-internal.h:352:62: note: in expansion of macro '_NM_CONSTCAST_FULL_2'
 #define _NM_CONSTCAST_FULL_x(type, obj_expr, obj, n, ...)   (_NM_CONSTCAST_FULL_##n (type, obj_expr, obj,                        ##__VA_ARGS__))
                                                              ^~~~~~~~~~~~~~~~~~~
./shared/nm-utils/nm-macros-internal.h:353:62: note: in expansion of macro '_NM_CONSTCAST_FULL_x'
 #define _NM_CONSTCAST_FULL_y(type, obj_expr, obj, n, ...)   (_NM_CONSTCAST_FULL_x   (type, obj_expr, obj, n,                     ##__VA_ARGS__))
                                                              ^~~~~~~~~~~~~~~~~~~~
./shared/nm-utils/nm-macros-internal.h:354:62: note: in expansion of macro '_NM_CONSTCAST_FULL_y'
 #define NM_CONSTCAST_FULL(   type, obj_expr, obj,    ...)   (_NM_CONSTCAST_FULL_y   (type, obj_expr, obj, NM_NARG (dummy, ##__VA_ARGS__), ##__VA_ARGS__))
                                                              ^~~~~~~~~~~~~~~~~~~~
./shared/nm-utils/nm-macros-internal.h:375:3: note: in expansion of macro 'NM_CONSTCAST_FULL'
   NM_CONSTCAST_FULL (type, (obj), _obj, GObject, ##__VA_ARGS__); \
   ^~~~~~~~~~~~~~~~~
./shared/nm-utils/nm-macros-internal.h:679:55: note: in expansion of macro 'NM_GOBJECT_CAST_NON_NULL'
 #define _NM_GET_PRIVATE(self, type, is_check, ...) (&(NM_GOBJECT_CAST_NON_NULL (type, (self), is_check, ##__VA_ARGS__)->_priv))
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
src/devices/ovs/nm-device-ovs-interface.c:53:51: note: in expansion of macro '_NM_GET_PRIVATE'
 #define NM_DEVICE_OVS_INTERFACE_GET_PRIVATE(self) _NM_GET_PRIVATE (self, NMDeviceOvsInterface, NM_IS_DEVICE_OVS_INTERFACE)
                                                   ^~~~~~~~~~~~~~~
src/devices/ovs/nm-device-ovs-interface.c:144:38: note: in expansion of macro 'NM_DEVICE_OVS_INTERFACE_GET_PRIVATE'
  NMDeviceOvsInterfacePrivate *priv = NM_DEVICE_OVS_INTERFACE_GET_PRIVATE (device);
                                      ^
src/devices/ovs/nm-device-ovs-interface.c: In function 'act_stage3_ip6_config_start':
./shared/nm-utils/nm-macros-internal.h:299:13: error: '_Generic' selector of type 'NMDevice * {aka struct _NMDevice *}' is not compatible with any association
  (_Generic ((obj_expr), \
             ^
./shared/nm-utils/nm-macros-internal.h:352:62: note: in expansion of macro '_NM_CONSTCAST_FULL_2'
 #define _NM_CONSTCAST_FULL_x(type, obj_expr, obj, n, ...)   (_NM_CONSTCAST_FULL_##n (type, obj_expr, obj,                        ##__VA_ARGS__))
                                                              ^~~~~~~~~~~~~~~~~~~
./shared/nm-utils/nm-macros-internal.h:353:62: note: in expansion of macro '_NM_CONSTCAST_FULL_x'
 #define _NM_CONSTCAST_FULL_y(type, obj_expr, obj, n, ...)   (_NM_CONSTCAST_FULL_x   (type, obj_expr, obj, n,                     ##__VA_ARGS__))
                                                              ^~~~~~~~~~~~~~~~~~~~
./shared/nm-utils/nm-macros-internal.h:354:62: note: in expansion of macro '_NM_CONSTCAST_FULL_y'
 #define NM_CONSTCAST_FULL(   type, obj_expr, obj,    ...)   (_NM_CONSTCAST_FULL_y   (type, obj_expr, obj, NM_NARG (dummy, ##__VA_ARGS__), ##__VA_ARGS__))
                                                              ^~~~~~~~~~~~~~~~~~~~
./shared/nm-utils/nm-macros-internal.h:375:3: note: in expansion of macro 'NM_CONSTCAST_FULL'
   NM_CONSTCAST_FULL (type, (obj), _obj, GObject, ##__VA_ARGS__); \
   ^~~~~~~~~~~~~~~~~
./shared/nm-utils/nm-macros-internal.h:679:55: note: in expansion of macro 'NM_GOBJECT_CAST_NON_NULL'
 #define _NM_GET_PRIVATE(self, type, is_check, ...) (&(NM_GOBJECT_CAST_NON_NULL (type, (self), is_check, ##__VA_ARGS__)->_priv))
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
src/devices/ovs/nm-device-ovs-interface.c:53:51: note: in expansion of macro '_NM_GET_PRIVATE'
 #define NM_DEVICE_OVS_INTERFACE_GET_PRIVATE(self) _NM_GET_PRIVATE (self, NMDeviceOvsInterface, NM_IS_DEVICE_OVS_INTERFACE)
                                                   ^~~~~~~~~~~~~~~
src/devices/ovs/nm-device-ovs-interface.c:162:38: note: in expansion of macro 'NM_DEVICE_OVS_INTERFACE_GET_PRIVATE'
  NMDeviceOvsInterfacePrivate *priv = NM_DEVICE_OVS_INTERFACE_GET_PRIVATE (device);
                                      ^
make[2]: *** [Makefile:12400: src/devices/ovs/src_devices_ovs_libnm_device_plugin_ovs_la-nm-device-ovs-interface.lo] Error 1
make[2]: Leaving directory '/tmp/nix-build-network-manager-1.10.4.drv-0/NetworkManager-1.10.4'
make[1]: *** [Makefile:16339: all-recursive] Error 1
make[1]: Leaving directory '/tmp/nix-build-network-manager-1.10.4.drv-0/NetworkManager-1.10.4'
make: *** [Makefile:6746: all] Error 2
builder for ‘/nix/store/w16a2sspzsknag3qpwprh7n8311lf1hg-network-manager-1.10.4.drv’ failed with exit code 2
cannot build derivation ‘/nix/store/m8qmmwfrp3jh5nic5zvm74v4rz64z63i-NetworkManager-fortisslvpn-gnome-1.2.8.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/laxyqb5as7pwg9xgv0dm0g2v8q89l06a-NetworkManager-iodine-gnome-1.2.0.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/171k20r4fmkhy1sdixpgw7pq8py7fkqs-NetworkManager-l2tp-gnome-1.2.8.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/i8cvbp0340x79jj3gvngv58qby8z2rb2-NetworkManager-openconnect-gnome-1.2.4.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/nfir9dm8wzc8j0al3pif67ra7ivglz1h-NetworkManager-openvpn-gnome-1.8.0.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/y5safiavmcgrx92rd1apl9bmylkph0ps-NetworkManager-pptp-gnome-1.2.4.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/bk9an7hwqv48nylhhl2gxcvppsj4xgmh-NetworkManager-strongswan-1.4.1.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/ajvfycfqf5s0d6mq5m6rh6wyl4g3nwjw-NetworkManager-vpnc-gnome-1.2.4.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/2fszv7y631syh6q70axcfcbk28vy6q3h-dbus-1.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/fdmdrny2aa03dpanbvi7knkc0bzb1pq8-hwdb.bin.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/rndjdmf1gkyipxlfi7lywvybb2rzgnwl-libproxy-0.4.15.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/6qdbcj4rkva7n84saamlq556b4520pfi-system-path.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/vqwn4fp3gancx2mpxxsz0ik0pj71kni3-system-units.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/cvy8z50q4riz18irizrrrnxpy8i62ymp-udev-rules.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/3gfg57b09qgq2kpdnnls9ryyf8ghvcg6-user-units.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/7qa6m19y3skz2z17xhdagv506vavkmlb-nixos-system-renzo-18.09pre132003.13e74a838db.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/7qa6m19y3skz2z17xhdagv506vavkmlb-nixos-system-renzo-18.09pre132003.13e74a838db.drv’ failed

Sorry, I accidentally merged the updates that were meant for a GNOME 3.28 branch to master. https://github.com/NixOS/nixpkgs/commit/d5d7fa4c03b4064ef15c73a0706bc7b29cce278a#commitcomment-28109859 I reverted it now.

@jtojnar Revert is in<PHONE_NUMBER>849d708d2e6bbea2de9064d0fbf83f, can this issue be closed?

networkmanager build on latest master (1c810f5f834e5356be5dea9ae032348dc56fe196), closing this.


gpu

请问作者单卡可以跑吗

Yes, you can run on a single GPU with a smaller batch size that fits in
your GPU card (and modify learning rate correspondingly). Please check the
config file for those two hyperparameter.
Ph.D. candidate of Computer Science Department
University of Southern California
On Sun, Dec 12, 2021 at 4:21 PM roar-1128 @.***> wrote:

请问作者单卡可以跑吗
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/choyingw/GAIS-Net/issues/5__;!!LIr3w8kk_Xxm!_RUFB-7iLDymdWQhvlFvkmqHwNF-RLW2WSK4ka-1MG1EiVy3Wrd-d_hIIiPfIqzZ$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AKMLAJMILCGD3TEV6ZS3QA3UQRLRPANCNFSM5J37OW2A__;!!LIr3w8kk_Xxm!_RUFB-7iLDymdWQhvlFvkmqHwNF-RLW2WSK4ka-1MG1EiVy3Wrd-d_hIItisAZXa$
.
Triage notifications on the go with GitHub Mobile for iOS
https://urldefense.com/v3/__https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!LIr3w8kk_Xxm!_RUFB-7iLDymdWQhvlFvkmqHwNF-RLW2WSK4ka-1MG1EiVy3Wrd-d_hIIrDslfqv$
or Android
https://urldefense.com/v3/__https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign*3Dnotification-email*26utm_medium*3Demail*26utm_source*3Dgithub__;JSUlJSU!!LIr3w8kk_Xxm!_RUFB-7iLDymdWQhvlFvkmqHwNF-RLW2WSK4ka-1MG1EiVy3Wrd-d_hIIhuCYaRx$.


Added Logging and ACL from Body support

This adds in put_bucket_acl from the XML Body. This also adds in put_bucket_logging support.
Not a full exhaustive test of the ACL combos, but it's about 90% there and good enough for the vast majority of users.
Put logging verify that the destination bucket exists in the same region with the proper ACLs attached.

Coverage increased (+0.009%) to 92.15% when pulling 58f63a5c1a248f046090fe5877bb56333c93b7d6 on mikegrima:s3logging into e75f3ef4d4f7b0fa7e14dbb4431d379b68ae5502 on spulec:master.

Coverage increased (+0.009%) to 92.15% when pulling 58f63a5c1a248f046090fe5877bb56333c93b7d6 on mikegrima:s3logging into e75f3ef4d4f7b0fa7e14dbb4431d379b68ae5502 on spulec:master.

Using this for my internal unit tests, and is working properly.


Is it possible to run scraperjs through php cron?

So i wrote a script thats working great on node, but I am looking into pushing it to a hosting where backend is PHP. Every day, cron would run a scraper script and get some data.
Can you point me to a direction where i could get more info on how to do this, and if its even possible.
Thanks for great script.

You'll need (at least) node to run scraperjs. If you wish to use the dynamic scraper you'll also need to have access to phantomjs.
Cheers
On Fri, Jan 27, 2017 at 7:50 PM +0000, "Goran Jakovljevic"<EMAIL_ADDRESS>wrote:
So i wrote a script thats working great on node, but I am looking into pushing it to a hosting where backend is PHP. Every day, cron would run a scraper script and get some data.
Can you point me to a direction where i could get more info on how to do this, and if its even possible.
Thanks for great script.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hello ruipgil,
I am also interested in running the dynamic scraper from php in production (for different urls and different users).
I could use exec() to start it with a command line but I have 2 problems from there:
1 - send the data in real time to a url containing Jquery (http://exqmple.com/my_widget.js)
2 - handle the end of the process once the user leave my_widget
You mentioned "have access to phantomjs" in your previous answer, what do you mean by that?
Can I do [1] and [2] with scraperjs only or do I need another script like socket?
Thanks in advance!

Hello again,
I have tried multiple things including detaching the process with screen command but now I am considering using a chat with socket.io here and run the  dynamic scraper inside. This will allow me to easily handle the end of the process i guess...
When the chat session is over the dynamic scraper should be ended.
For the moment it is just on paper, do you think it is a better approach?
How can I end the dynamic scraper?


fix random activations on unmounted/npc vehicles

add only check/activate for player not npcs and in non mounted vehicles
add only run once on load instead of every mount helps prevent random activations

I think I'd rather refine the activation height than disable it for NPCs - there might be a better place to check as well, where non-mounted vehicles could be activated.
This file is the result of running the tools/build.bat script, and gets overwritten during that process, so any change should really be made in the src/redscript/let_there_be_flight/* file.

I think I'd rather refine the activation height than disable it for NPCs - there might be a better place to check as well, where non-mounted vehicles could be activated.

It is definately cool to see the odd NPC trying to fly but as you can imagine they can't fly well!
I had trouble with empty cars activating when a vehicle is spawned in after a mission.
There are cases where NPCs flight mode would activate on collision.
All of the above seems to be solved by these changes, plus it's not performing the check on every vehicle player entry plus NPCs.

This file is the result of running the tools/build.bat script, and gets overwritten during that process, so any change should really be made in the src/redscript/let_there_be_flight/* file.

Okay will do, thanks


ConfigurationBuilder's AddJsonFile not Working in 3.1?

I noticed that .AddJsonFile() is called automatically for appsettings.json and appsettings.{Environment}.json. I'm not sure if this is new behavior, but I do know that calling AddJsonFile() in ConfigureAppConfiguration() doesn't seem to have an affect anymore, but should it?
I read through the docs but don't see where this should be done differently. Here is my Main():
public static void Main(string[] args)
{
	CreateHostBuilder(args).Build().Run();

	var host = CreateHostBuilder(args)

		.ConfigureAppConfiguration((hostingContext, config) =>
													{
			IHostEnvironment env = hostingContext.HostingEnvironment;

			//last registration wins here
			config
				.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
				.AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: false, reloadOnChange: true)
				.AddJsonFile($"appsettings.{Environment.MachineName}.json", optional: true, reloadOnChange: true)
				.AddEnvironmentVariables();
			})
		.Build();

	host.Run();
}

Further technical details

ASP.NET Core version: 3.1
Include the output of dotnet --info

.NET Core SDK (reflecting any global.json):
Version:   3.1.100
Commit:    cd82f021f4

Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.15
OS Platform: Darwin
RID:         osx.10.15-x64
Base Path:   /usr/local/share/dotnet/sdk/3.1.100/

Host (useful for support):
Version: 3.1.0
Commit:  65f04fb6db

.NET Core SDKs installed:
3.1.100 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Visual Studio for Mac 8.4 Preview build 2653

CreateHostBuilder(args).Build().Run();

The above line of code blocks forever so the second line of code that configures a new host with new configuration will never run.

Yes, deleting the extra line CreateHostBuilder(args).Build().Run(); fixed the issue. It's not clear how it got added, but this issue can be fully deleted if you want.


Aircraft pathfinding fix

TM:PE is searching for path for all AI's in game, so added vehicleType converter to handle all explicitly used vehicles by pathfinding. Previously they set vehicle type None which caused issues in path-finding code testing lanes with allowed vehicle types. This change may fix other rare issues that happened in the past for AIs not explicitly managed by TM:PE
closes #1327
closes #1329
Build zip

Should we add a pathfinder version number (similar to how we add version in WhatsNew.cs) and if user loads a city with earlier (or no) pathfinder version clear all traffic to ensure all vehicles are using updated paths? #485

@aubergine10 no need here, I think. This applies only to aircrafts taking off so it will start working for new paths. Clearing all vehicles is a bit overkill in this case. Would be cool to add section in the options where user could select which vehicles are cleared.

... Clearing all vehicles is a bit overkill in this case. Would be cool to add section in the options where user could select which vehicles are cleared.

Would it be worth exposing ExtVehicleManager.DetermineVehicleTypeFromAIType() as public to make that easier? That way we can generate checkboxen from ExtVehicleType enum, also have a method that accepts an ExtVehicleType and despawns matching vehicles?

Tested this in-game, although without an airport... so I was focussed on all the other vehicles which seem to be working fine :)

Public transport incl. trains, buses, ferries
Cargo - trains, ships
Emergency helicopters
City services and road-based emergency services
Cars, etc.

@krzychu124 If you can add a pathfinder version check, and want to despawn planes with this new update (assuming #1341 gets merged first):
Singleton<SimulationManager>.instance.AddAction(() => {
    UtilityManager.Instance.DespawnVehicles(ExtVehicleType.Plane);
});

@krzychu124 If you can add a pathfinder version check, and want to despawn planes with this new update (assuming #1341 gets merged first):
Singleton<SimulationManager>.instance.AddAction(() => {
    UtilityManager.Instance.DespawnVehicles(ExtVehicleType.Plane);
});

I'll implement suggestion from kvakvs and merge, then you can add such thing in your PR 😉

Will prolly do separate PR for that once both #1341 and #1338 are merged.


feat: Add hoverScale for symbolSize

User can decide the size of item when hover on it
Close #10033

Sorry. This has already be enabled with hoverOffset.


Two mutation events fired?

https://github.com/samdutton/simpl/blob/master/mutationobserver/index.html
We start with Edit me! here and end up deleting till there is nothing remaining. But on reaching Edit (ie. we delete !,e and m)there are two entries although deletion had occurred only once.
Old value: Edit
Old value: Edit
Old value: Edit m
Old value: Edit me
Old value: Edit me!

Why?

Thanks for this — just realised I never responded :/.
I don't think this is a problem with the demo. I'd suggest filing a bug if you want: https://developers.google.com/web/feedback


Windows 64bit version

I hope you add win 64bit version

Hi,
There is a Windows 64 bit version available on the releases page as Oni-0.3.4-win.exe.
Perhaps we should rename it to Oni-0.3.4-win64.exe to make it clearer.

Closing issue since there already is a Windows 64-bit version.


[BUG]  Contact form accepting empty inputs

Steps to reproduce:

Go to website
Click on contact us
Without filling the form click on send
Redirects to captcha
Got message "form submitted successfully"

I'd like to work on this issue, could you please assign this to me under Gssoc'23
https://github.com/UBA-GCOEN/StichHub/assets/71914071/1463fa79-c58d-4d4a-85bc-83efe862eede

Okay @SoundaryaKoutharapu
I am Assigning you this issue, go ahead

Hey, @SoundaryaKoutharapu it has been solved already in #118


Update antimalware.md

I think it's good to reinforce here that App Service on Linux doesn't offer the Antimalware service.

@dcbrown16 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good. Thank you for the contribution, @dcbrown16! #sign-off

@msmbaldwin: I'm sorry - only the author of this article, @barclayn, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@barclayn is no longer the author of this article -- it should be either I (@msmbaldwin) or @TerryLanfear. You can update the author and ms.author in the metadata if you'd like (I cannot do so in the public repo).

I don't think I can unilaterally change the owner either - maybe @ktoliver knows what to do here?

@msmbaldwin - The metadata has already been updated by someone else in master (I edited this PR to set you as author and got a merge conflict against Terry's information in master). So, it should be resolved in a day or so. Thanks @dcbrown16


Determine how to handle RPC setting

    #TODO: Determine what i am going to do for handling this. Do we want to flag it or not. Otherwise, just display it vs doing the If Statements
    #Leaving the IF statement here to know what i was doing. But just note that all of them were write grey

    if ($osInformation.NetworkInformation.RpcMinConnectionTimeout -eq 0)
    {
    }
    elseif ($osInformation.NetworkInformation.RpcMinConnectionTimeout -eq 120)
    {
    }
    else
    {
    }

    $analyzedResults = Add-AnalyzedResultInformation -Name "RPC Min Connection Timeout" -Details ("{0} `r`n`t`tMore Information: https://blogs.technet.microsoft.com/messaging_with_communications/2012/06/06/outlook-anywhere-network-timeout-issue/" -f $osInformation.NetworkInformation.RpcMinConnectionTimeout) `
        -DisplayGroupingKey $keyFrequentConfigIssues `
        -HtmlName "RPC Minimum Connection Timeout" `
        -AnalyzedInformation $analyzedResults

I don't think that this is a problem that often occurs since MAPI/HTTP (introduced in May 2014) is the most frequently used way to connect to Exchange these days. Anyway, in my understanding it's still possible to run into this problem because the IIS RPC Proxy (Front- and Backend) still use a timeout of 20 minutes. On OS the timeout is also the same as in the past 900 seconds - 15 minutes.
I'd recommend to keep this check as informational and remove it in a later version.


Cannot access member "model_dump" for type...  Member "model_dump" is unknownPylancereportGeneralTypeIssues

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
I have one common Base model named CommonAttribute. The Ledger & Policy class are inheriting the CommonAttributes. After instantiating the Policy or Ledger Class trying to use the model_dump() method from the class but i'm getting VSCode pylance error saying
Cannot access member "model_dump" for type "Policy"   Member "model_dump" is unknown
Example Code
class CommonAttributes(BaseModel):
    policy_number: str
    insurer_name: str
    plan_code: str
    paymode: str
    premium_no: int

class Ledger(CommonAttributes):
    order_id: str
    receipt_id: str | None = None
    user_id: str | None = None
    bank_code: str | None = None
    project_code: str | None = None

class Policy(CommonAttributes):
    birthday: date
    maturity_date: date
    project_code: str
    lapse_month: float = 0.0

def ledger(order_id: str) -> Ledger:
    return Ledger(
        **self.policy.model_dump(), order_id=order_id # here pylance is giving error in strict mode
    )

Python, Pydantic & OS Version
pydantic version: 2.0.3
        pydantic-core version: 2.3.0 release build profile
                 install path: C:\Users\jiaul\AppData\Local\pypoetry\Cache\virtualenvs\dsa-algo-python-z05dy7Ns-py3.11\Lib\site-packages\pydantic
               python version: 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)]
                     platform: Windows-10-10.0.19044-SP0
     optional deps. installed: ['devtools', 'typing-extensions']

Selected Assignee: @samuelcolvin

Could you please provide a working MRE? I'm not able to reproduce the issue, even by tweaking your example to make it work

Closing as n/a. Thanks @Viicos.


STORM-2811: Fix NPE in Nimbus when killing the same topology multiple…

… times, fix integration test killing the same topology multiple times
https://issues.apache.org/jira/browse/STORM-2811
Some of the integration tests don't create a TopoWrap, which causes the cleanup code to kill the same topology multiple times.
The Nimbus client's behavior when the server throws exceptions was a little surprising to me. It looks like the client lost connection to the server after the NPE was thrown, so the subsequent atttempts to kill the topology just got TTransportException (I'm guessing the socket was closed). I'm not sure if this is expected behavior?

The test failure is likely due to https://issues.apache.org/jira/browse/STORM-2809.
I ran this change + a revert of https://github.com/apache/storm/pull/2363 6 times on Travis, and the only failure was when Travis somehow failed to start Maven. 14/15 runs locally (with the same revert) have passed, will investigate why the last run failed.


Animate single grid item

If there is only one item in the grid, exit animation doesn't work because grid instantly unmounts (I am talking about SpringGrid). Same for entering animation, SpringGrid doesn't exist when first item enters.
I wonder if i'm doing something wrong, but it looks like a bug to me. Also, great work on this component!

I'm having a similar issue. Where updating state causes the whole app to re-render so the enter and exit animations don't work. As soon as I remove stone-cutter the issue goes away ie updating state only re-renders the components that need it.
Maybe I'm doing something wrong too?


Detection Radius Too Large

Right now the detection radius for NPCs to notice you soiling yourself is a bit unbalanced. For example, people will notice if you  try going pee in your underwear, even if you don't succeed. And the radius multipliers seem rather large in general.

Relevant to detection, monsters in the mines and skull cave now notice you wetting/messing on the ground or in your diapers.


Install of Office Extension in 4.2.4

In the Version 4.2.4 the Office Extention can't be integrated into the standalone version like described in the Wiki.
The repository on https://dbeaver.jkiss.org/update/latest/ doesn't contain the office plugin anymore.

Thanks for report.
This happened because of splitting update site repositories. But this was planned for future release.
Will fix update site asap.

Fixed.
Note: if you tried to install Office extension for 4.2.4 and failed then you will need to remove DBeaver completely (because repository information was cached) and reinstall again.


PR for split_Creator

Added a html and styles mod file under the modules folder under dev branch keeping in track with the guide lines

Done!


Search by navigation properties

Add ability to search by navigation properties.
Only one degree of nesting is supported
Example db.Users(x => x.Phone.Id == 1)

aw. I forgot. This PR must be merged after #24


Improve template

This upgrades and/or adds functionality in the generated app.
Best reviewed commit by commit.  Example of the output here: https://github.com/alphagov/govuk-developer-tools/tree/f4083c9cfcd78b4b4186301eeb649b2f147ecefa

Coolio.
Is there a way to pass arguments to the generator? These changes are mostly relevant for backend apps, and probably not suitable for frontends. Or perhaps we make it explicit that we only generate backend apps with this.

@tijmenb mm.  If you're happy with these changes in principle, merge it and I'll split out / parameterize in another PR.

@tijmenb actually nevermind, I'll do it as part of this PR

@tijmenb Updated.

Links to https://github.com/alphagov/styleguides/pull/90

One comment, but this looks 👏

This turned out rally great 👍 👍 👍


Library exports are not added to the main index.js which breaks auto import in the IDE

For example
import { injectScript } from '@module-federation/utilities'; doesn't work
but
import { injectScript } from '@module-federation/utilities/src/utils/common'; works

Try '@module-federation/nextjs-mf/utils'

Try '@module-federation/nextjs-mf/utils'

Thanks but now import { injectScript } from '@module-federation/utilities'; worked


Added ability to print iptables for Lb usecases , remove apikeys creatted by validation test as part of cleanup and valdiation case for volume_mount with data containers having start_once option.

@alena1108 , can you please review?

LGTM


sys/freebsd: improve TCP tests

Add missing TCP socket options for FreeBSD.

Before sending a pull request, please review Contribution Guidelines:
https://github.com/google/syzkaller/blob/master/docs/contributing.md

@dvyukov Not sure why CI failed this time... I guess the PR is OK.

Not sure why CI failed this time... I guess the PR is OK.

May be fixed with:
https://github.com/google/syzkaller/commit/764b42c46bf03385c2934709fa03c073246b2383
(see commit description)


Run Clippy in CI

This PR ads a job to run clippy in the CI. Clippy runs over all targets and features (so that it also checks test code and - in the future - conditionally compiled code). For now, clippy is run with default settings which IMO gave reasonable results on the linfa code base. The job is set to fail if any warnings are given (as it would otherwise be useless to catch transgressions).
There is one rule which gave three warnings I didn't fix: new_ret_no_self, which checks if a method called new returns a value of the type it's implemented on. I do think this is a reasonable rule (and I do find the places it warns about at least slightly confusing/awkward), but I didn't want to change the API without prior discussion in this housework PR. So I added #[allow(clippy::new_ret_no_self)] to the offending places and added a comment.
I would propose that we treat clippy this way going forward: Review the suggestions and adopt them where it makes sense (which is hopefully going to be the vast majority of times), but don't follow them slavishly - if a rule doesn't make sense we can ignore it via an #[allow(...) attribute and add a comment explaining why this is so. (I'm intending to add such stuff to a contributing doc going forward.) If we find a rule that doesn't make sense or consistently gives bad advice we disable it.
CC @quietlychris @bytesnake
PS: To see the rules currently enabled go here and uncheck "Pedantic" "Cargo" and "Nursery" on the RHS and the "Allow" level on the LHS.

sorry for the delay, will look into this now

Thanks for the review! 😀


[Court] Rethink hero banner

I like the hero banner. I would still strongly advise against using it. When we showcase the app to potential B2B connections, I think the three psychodelic wizards are 100% the wrong look. Also, if you hover over the image, you can still see the prompt used to create the image, which feels a bit transparent to me.

@mk26071980 Feel free to chime in here.


[Event Request] codeunit 99000787 "Create Prod. Order Lines" OnAfterProdOrderLineInsert

Can you set IncludeSender to true for this event:
OnAfterProdOrderLineInsert
And make procedure InitProdOrderLine global to be able to call it from sender in the event.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10050.


Uncaught TypeError: type.toUpperCase is not a function

I get this:
Uncaught TypeError: type.toUpperCase is not a function
in browser console.
and this is my code in app.js:
"use strict";
 var React = require('react');
 var Router = require('react-router');
 var Header = require('./components/Header');
 var Index = require('./components/Index');
 var About = require('./components/About')
 var Route = Router.Route;
 var IndexRoute  = Router.IndexRoute ;

 var App = React.createClass({
    render: function(){
        return (

                    {this.props.children}

    );
  }
})
React.render(<Router>
<Route path="/" component={App}>
<IndexRoute  component={Index}/>
<Route path="about" component={About}/>
</Route>
</Router>, document.getElementById('app'));

Somewhere in your code you are using undefined as a component class.

I have the same issue. The <Router> is the undefined component:
import { Router, Route, Link } from 'react-router';
console.log(Router, Route, Link);

The above example logs:
undefined,  Route() {
	    _classCallCheck(this, Route);

	    if (_React$Component != null) {
	      _React$Component.apply(this, arguments);
	    }
	  },  Link() {
	    _classCallCheck(this, Link);

	    if (_React$Component != null) {
	      _React$Component.apply(this, arguments);
	    }
	  }

What am I missing here?

@mjackson I don't think I'm using    undefined as a component class, because when I remove the  component from React.render function and replace it with any other component like  the code works fine

Once again, this doesn't work and there is no Router class exported. The code I get from npm is different from what I see here. I use npm 3.3.3 and node 0.12.0. Then I noticed these:

Do you plan to update it?

I'm seeing the same issue where Router is undefined. I think that this needs to be reopened.

For some reason, when I did 'npm install react-router', it installed 0.13.3. When I removed it and added back in using latest released version '1.0.0-rc1', everything worked as expected.

@smbecker Thanks. That helped me too. For some reason npm provides 0.13.3 but using npm install react-router@latest --save does the trick.
Also note that even the link to the cdn version in the readme points to 0.13.3 ?!?.

Thanks @smbecker !


Yank rules_python 0.14.0

This module version is broken and no one can use it, yanking it will provide better error message for users.
Closes https://github.com/bazelbuild/bazel-central-registry/issues/287

/cc @f0rmiga

Great, thank you.


Issues with Swift and use_frameworks!

I am trying to use VKVideoPlayer with Swift, and it uses this library as a dependency, but once I run pod install and open the workspace project, I start getting errors with this library.
My Podfile is just:
platform :ios, '8.0'
use_frameworks!

target 'VideoPlayerTest' do
pod 'VKVideoPlayer', '~> 0.1.1'
end

And my errors are:

Is there any plans to update this to use dynamic frameworks to work with Swift? It renders your VKVideoPlayer useless for newer projects and older projects that want to use newer libraries.

Please install the following method to solve the problem
platform :ios, '9.0'

target 'Test' do
   pod 'VKVideoPlayer' , :git => 'https://github.com/viki-org/VKVideoPlayer'
end

post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '3.0'
     end
    end
  end


fix flake error on master

flakes check passes... I think this is safe to merge without other tests.


Profile_card - Sarthak Sachdeva

Nice Profile Card. Thankyou for your valuable contribution✨

Hey @sarthakk24 !
Thank you for your valuable contribution. As I found, they(Hacktoberfest) are verifying the code in the PR so I recommend that you add your code to a "code folder" as well to avoid any consequences (your code should be in a folder named after you). Sincerely apologize for the inconvenience.


LazyBoy Chair

Describe your proposed improvement below in 150 words or fewer.
I would like to make the chair a lazy-boy chair.
Why is this a worthy improvement? How will fellow citizens benefit?
These types of chairs are very comfortable to relax on instead of just a regular old chair.
In a Markdown list, detail the steps that you think you need to complete to implement this proposal.

function to make the chair recline
function to make the chair incline
function to make the chair kick up on the bottom

What knowledge do you believe you are missing in order to execute this improvement.
I am not too sure.

This is the wrong repository for filing these, @gyamfi01  -- make this issue on your copy when you have a chance.


Dragging a compressed file from 7Zip into the Files interface results in an error "File not found"

Description
Dragging a compressed file from 7Zip into the Files interface results in an error "File not found". The detailed message is "The file you are attempting to access may have been move or deleted"
Steps To Reproduce

Open a compressed file in 7Zip.
Drag the files you wish to unzip to the target location within "Files"

Requirements

e.g. Fix crash that occurs when...
Error message: "File not found". The detailed message is "The file you are attempting to access may have been move or deleted"

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.3155
Log File
The log contains work related information... not uploaded.

Thanks for the feedback, We're tracking this in #14636 . You can check there or click subscribe in the right sidebar for updates.


Add docker-setup hook

This allows the user to make any necessary configuration changes to Docker before setting up any containers, allowing those configuration changes to take effect from the outset.
My primary motivation for adding this was wanting all the containers to be on the same Docker network. This change means the docker-setup hook script can ensure the network exists before deployment rather than needing to do so manually. This should be more broadly useful for any general Docker configuration that may be necessary by the user, however. The new hook point is necessary so it can be done after we ensure Docker is installed but before deploying any containers.
I’ve tested this manually but don’t fully understand the way hooks are being tested so would appreciate some assistance getting the new test to pass.

@tsvallender - I'm not sure why the test is failing, at first glance it looks like it should work.
If you move the calling the hook into kamal:cli:server:bootstrap then we'll need to move the test into test/cli/server_test.rb anyway. Let's do that first and then we can debug it from there.

@tsvallender - I'm not sure why the test is failing, at first glance it looks like it should work.
If you move the calling the hook into kamal:cli:server:bootstrap then we'll need to move the test into test/cli/server_test.rb anyway. Let's do that first and then we can debug it from there.

Thanks for the feedback. I’ve made the changes you suggested and done another manual test. Still getting the same error in the test suite though so any thoughts on that appreciated! I can see the Running the docker-setup hook... text included in the output when running things, so I presume it must be something around the test setup but I don’t know what :thinking:

Just done a bit more investigation and it seems like in the test environment the hook isn’t running because Running the docker-setup hook...KAMAL.hook.hook_exists?(hook) is returning false :thinking:

Hm, made a bit more progress. Realised I needed to stub hook_exists?, which gets us past that error. The error I have now seems to suggest to me my hook_variables values are wrong, but I can’t see how. Maybe I’m barking up the wrong tree.
Failure:
CliServerTest#test_bootstrap_install_as_root_user [/home/tsv/code/kamal/lib/kamal/cli/base.rb:149]:
unexpected invocation: #<AnyInstance:SSHKit::Backend::Abstract>.execute(".kamal/hooks/docker-setup", {:env => {"KAMAL_RECORDED_AT" => "2023-11-19T11:00:39Z", "KAMAL_PERFORMER" => "tsv", "KAMAL
_VERSION" => "999", "KAMAL_SERVICE_VERSION" => "app@999", "KAMAL_HOSTS" => "<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>", "KAMAL_COMMAND" => "server", "KAMAL_SUBCOMMAND" => "bootstrap"}})
satisfied expectations:
- expected at least once, invoked 4 times: #<AnyInstance:SSHKit::Backend::Abstract>.execute(:mkdir, "-p", ".kamal")
- expected at least once, invoked 4 times: #<AnyInstance:SSHKit::Backend::Abstract>.execute(:curl, "-fsSL", "https://get.docker.com", "|", :sh)
- expected at least once, invoked 4 times: #<AnyInstance:SSHKit::Backend::Abstract>.execute("[ \"${EUID:-$(id -u)}\" -eq 0 ] || command -v sudo >/dev/null || command -v su >/dev/null", :raise_
on_non_zero_exit => false)
- expected at least once, invoked 4 times: #<AnyInstance:SSHKit::Backend::Abstract>.execute(:docker, "-v", :raise_on_non_zero_exit => false)
- allowed any number of times, invoked once: #<AnyInstance:Kamal::Commands::Hook>.hook_exists?(any_parameters)

I'm a fan. If this is accepted please make sure to update the documention on hooks accordingly.

Just came back to this and managed to get the tests passing :raised_hands:
Hopefully it can progress now—if there’s anything I can do to make that happen let me know.

The kamal remove command does not remove the network created with this command. Is this the expected behaviour?

The kamal remove command does not remove the network created with this command. Is this the expected behaviour?

Good question. Debatable, I suppose. I guess adding another hook at the point of removal might be the best way to do this. I can take a look at adding this in soon.


Uploading files with the new CLI tool ignores "dest" parameter

Using the old tool on another computer it uploads files correctly to subfolders, while the new tool just puts them in the root folder of my crowdin project.
Old tool:
Updating source file `sdmaid/strings.xml' - OK
Updating source file `unlocker/strings.xml' - Skipped
Updating source file `sdmaid/description.txt' - OK
Updating source file `sdmaid/title.txt' - Skipped
Updating source file `sdmaid/short_description.txt' - Skipped
Updating source file `unlocker/description.txt' - Skipped
Updating source file `unlocker/title.txt' - Skipped
Updating source file `unlocker/short_description.txt' - Skipped

New tool:
File '/strings.xml' - OK
File '/strings.xml' - OK
File '/description.txt' - OK
File '/title.txt' - OK
File '/short_description.txt' - OK
File '/description.txt' - OK
File '/title.txt' - OK
File '/short_description.txt' - OK

Config
"project_identifier" : "sdmaid"

"files" : [
  {
    "source" : "/sdmaid/src/main/res/values/strings.xml",
    "dest" : "/sdmaid/strings.xml",
    "translation" : "/sdmaid/src/main/res/values-%android_code%/%original_file_name%",
#    "update_option" : "update_as_unapproved",
    "languages_mapping" : &stringmapping {
      "android_code" : {
        "ar" : "ar",
        "am" : "am",
        "hy-AM" : "hy-rAM",
        "az" : "az",
        "be" : "be",
        "bn" : "bn-rBD",
        "bg" : "bg",
        "ca" : "ca",
        "cs" : "cs",
        "da" : "da",
        "de" : "de",
        "el" : "el",
        "es-ES" : "es",
        "es-AR" : "es-rAR",
        "es-MX" : "es-rMX",
        "es-VE" : "es-rVE",
        "et" : "et-rEE",
        "eu" : "eu-rES",
        "fa" : "fa",
        "fil" : "fil",
        "fi" : "fi",
        "fr" : "fr",
        "gl" : "gl-rES",
        "hr" : "hr",
        "hu" : "hu",
        "hy-AM" : "hy-rAM",
        "is" : "is",
        "id" : "in",
        "it" : "it",
        "he" : "iw",
        "ja" : "ja",
        "ka" : "ka-rGE",
        "km" : "km-rKH",
        "kn" : "kn-rIN",
        "ko" : "ko",
        "ky" : "ky-rKG",
        "lt" : "lt",
        "lv" : "lv",
        "lo" : "lo-rLA",
        "ms" : "ms",
        "ml-IN" : "ml-rIN",
        "mn" : "mn-rMN",
        "mr" : "mr-rIN",
        "my" : "my-rMM",
        "ne-NP" : "ne-rNP",
        "nl" : "nl",
        "no" : "no",
        "pl" : "pl",
        "pt-PT" : "pt",
        "pt-BR" : "pt-rBR",
        "ro" : "ro",
        "ru" : "ru",
        "rm-CH" : "rm",
        "si-LK" : "si-rLK",
        "sk" : "sk",
        "sl" : "sl",
        "sr" : "sr",
        "sv-SE" : "sv",
        "sw" : "sw",
        "th" : "th",
        "ta" : "ta-rIN",
        "te" : "te-rIN",
        "tr" : "tr",
        "uk" : "uk",
        "ur-IN" : "ur-rIN",
        "uz" : "uz",
        "vi" : "vi",
        "zh-CN" : "zh-rCN",
        "zh-HK" : "zh-rHK",
        "zh-TW" : "zh-rTW",
        "zu" : "zu"
      }
    }
  }, {
    "source" : "/unlocker/src/main/res/values/strings.xml",
    "dest" : "/unlocker/strings.xml",
    "translation" : "/unlocker/src/main/res/values-%android_code%/%original_file_name%",
#    "update_option" : "update_without_changes",
    "languages_mapping" : *stringmapping
  }, {
    "source" : "/sdmaid/fastlane/metadata/android/en-US/full_description.txt",
    "dest" : "/sdmaid/description.txt",
    "translation" : "/sdmaid/fastlane/metadata/android/%locale%/full_description.txt",
#    "update_option" : "update_without_changes",
    "languages_mapping" : &playstoremapping {
      "locale" : {
        "af" : "af",
        "ar" : "ar",
        "am" : "am",
        "hy-AM" : "hy-AM",
        "az" : "az-AZ",
        "be" : "be",
        "bn" : "bn-BD",
        "bg" : "bg",
        "ca" : "ca",
        "cs" : "cs-CZ",
        "da" : "da-DK",
        "de" : "de-DE",
        "el" : "el-GR",
        "es-ES" : "es-ES",
        "es-AR" : "es-AR",
        "es-MX" : "es-419",
        "es-VE" : "es-VE",
        "et" : "et",
        "eu" : "eu-ES",
        "fa" : "fa",
        "fil" : "fil",
        "fi" : "fi-FI",
        "fr" : "fr-FR",
        "fr-CA" : "fr-CA",
        "gl" : "gl-ES",
        "hr" : "hr",
        "hu" : "hu-HU",
        "hy-AM" : "hy-AM",
        "is" : "is-IS",
        "id" : "id",
        "it" : "it-IT",
        "he" : "iw-IL",
        "hi" : "hi-IN",
        "ja" : "ja-JP",
        "ka" : "ka-GE",
        "km" : "km-KH",
        "kn" : "kn-IN",
        "ko" : "ko-KR",
        "ky" : "ky-KG",
        "lt" : "lt",
        "lv" : "lv",
        "lo" : "lo-LA",
        "mk" : "mk-MK",
        "ms" : "ms",
        "ml-IN" : "ml-IN",
        "mn" : "mn-MN",
        "mr" : "mr-IN",
        "my" : "my-MM",
        "ne-NP" : "ne-NP",
        "nl" : "nl-NL",
        "no" : "no-NO",
        "pl" : "pl-PL",
        "pt-PT" : "pt-PT",
        "pt-BR" : "pt-BR",
        "ro" : "ro",
        "ru" : "ru-RU",
        "rm-CH" : "rm",
        "si-LK" : "si-LK",
        "sk" : "sk",
        "sl" : "sl",
        "sr" : "sr",
        "sv-SE" : "sv-SE",
        "sw" : "sw",
        "th" : "th",
        "ta" : "ta-IN",
        "te" : "te-IN",
        "tr" : "tr-TR",
        "uk" : "uk",
        "ur-IN" : "ur-IN",
        "uz" : "uz",
        "vi" : "vi",
        "zh-CN" : "zh-CN",
        "zh-HK" : "zh-HK",
        "zh-TW" : "zh-TW",
        "zu" : "zu"
      }
    }
  }, {
     "source" : "/sdmaid/fastlane/metadata/android/en-US/title.txt",
     "dest" : "/sdmaid/title.txt",
     "translation" : "/sdmaid/fastlane/metadata/android/%locale%/title.txt",
#    "update_option" : "update_without_changes",
     "languages_mapping" : *playstoremapping
  }, {
     "source" : "/sdmaid/fastlane/metadata/android/en-US/short_description.txt",
     "dest" : "/sdmaid/short_description.txt",
     "translation" : "/sdmaid/fastlane/metadata/android/%locale%/short_description.txt",
#    "update_option" : "update_without_changes",
     "languages_mapping" : *playstoremapping
  }, {
     "source" : "/unlocker/fastlane/metadata/android/en-US/full_description.txt",
     "dest" : "/unlocker/description.txt",
     "translation" : "/unlocker/fastlane/metadata/android/%locale%/full_description.txt",
#    "update_option" : "update_without_changes",
     "languages_mapping" : *playstoremapping
  }, {
     "source" : "/unlocker/fastlane/metadata/android/en-US/title.txt",
     "dest" : "/unlocker/title.txt",
     "translation" : "/unlocker/fastlane/metadata/android/%locale%/title.txt",
#    "update_option" : "update_without_changes",
     "languages_mapping" : *playstoremapping
  }, {
     "source" : "/unlocker/fastlane/metadata/android/en-US/short_description.txt",
     "dest" : "/unlocker/short_description.txt",
     "translation" : "/unlocker/fastlane/metadata/android/%locale%/short_description.txt",
#    "update_option" : "update_without_changes",
     "languages_mapping" : *playstoremapping
  }
]

Bug was likely introduced here https://github.com/crowdin/crowdin-cli-2/commit/d3570b65972257781f5d36519a4b9f3575ab4453#diff-c2cad281f60ff212b073aa518b0b75c4R441

Fix idea https://github.com/crowdin/crowdin-cli-2/pull/26
Unconfirmed though so someone from crowdin should still check that.

Hello, @d4rken
First of all, sorry for so long delay.
I was considering your example, and can tell you, if you need to keep folders (in your case unlocker and sdmaid) in Crowdin you must set parameter preserve_hierarchy to true (default false).
Please, try it in our the newest version of CLI. Hope, it helps you.

I originally tried the parameter preserve_hierarchy  already, but it had no effect, likely because I specified the dest parameter. The configuration documentation states  that you:

by default get all files sans their common base pathes but still individual folders (i.e. uncommon base pathes)
or you specify the preserve_hierarchy parameter, so the tool recreates the local file structure exactly
or you specify the structure explicitly with dest.

So your recommendation to fix this with the preserve_hierarchy flag seems wrong here. Furthermore, seeing as the previous CLI tool just works and crowdin states in multiple places that the previous configuration files are compatible with the new CLI tool, if preserve_hierarchy would be necessary and is by default false then wouldn't this also be a bug?
Anyways, I tested the new CLI tool version (2.0.12) with preserve_hierarchy for you and it still doesn't work, which would be correct as preserve_hierarchy is not the solution to this and because when dest is specified preserve_hierarchy should have no effects (otherwise undefined behavior).
Why is the solution attempt in #26 not the correct approach? I actually tested it and it seems to work fine, I'm just not sure about side effects from other parameters.
CLI v2.0.12 with `preserve_hierarchy  (+my config above):

CLI v2.0.12 without preserve_hierarchy (+my config above):

#25 with preserve_hierarchy  (+my config above):

#25 without preserve_hierarchy (+my config above):

I mean just look at the code (original code, still in place in 2.0.12):
File sourceFile = new File(source);
                Boolean isDest = file.getDest() != null && !file.getDest().isEmpty() && !this.commandUtils.isSourceContainsPattern(file.getSource());
                String preservePath = file.getDest();
                preservePath = this.commandUtils.preserveHierarchy(file, sourceFile.getAbsolutePath(), commonPath, this.propertiesBean, this.branch, this.credentials, this.isVerbose);
                String fName;
                if (isDest) {
                    fName = new File(file.getDest()).getName();
                } else {
                    fName = sourceFile.getName();
                }
                preservePath = preservePath + PATH_SEPARATOR + fName;
                preservePath = preservePath.replaceAll(PATH_SEPARATOR + "+", PATH_SEPARATOR);
                if (preservePath.startsWith(PATH_SEPARATOR)) {
                    preservePath = preservePath.replaceFirst(PATH_SEPARATOR, "");
                }

file.getDest() is used to determine if the the parameter is set i.e. isDest is set, ok.
Then we take the path with preservePath = file.getDest(), also ok.
Then we overwrite in perserve = this.commandUtils... and path specified in dest is lost.
We check isDest then again to get the file name, but the path is just ignored.

Now option preserve_hierarchy affect everywhere, and in dest path also. We improved this in new CLI. We believe it will be more clearly. Hope, it's not big problem for you.
And I finally found one more bug when using CLI on Windows OS. Please, just try last changes from develpment branch, and hope it will work for you (also use preserve_hierarchy=true)

Your solution is good in your case, but, unfortunately, has some bad effects on the other side.

Now it works 👍 . I still don't understand why preserve_hierarchy is necessary when specifying dest.
Please check https://support.crowdin.com/configuration-file/#saving-directory-structure-on-server it and https://support.crowdin.com/configuration-file/#uploading-files-to-specified-path-with-specified-type
It's just not clear (at least to me) why preserve_hierarchy is required. Especially because documentation makes it seem that dest allows specifying a file path and that example doesn't have preserve_hierarchy either.
From the documentation I would thought that preserve_hierarchy affects the path only when multiple files have the same common parent folders, which are then omitted for a cleaner structure and this wouldn't affect my case.
    "source" : "/sdmaid/src/main/res/values/strings.xml",
    "dest" : "/sdmaid/strings.xml",

    "source" : "/unlocker/src/main/res/values/strings.xml",
    "dest" : "/unlocker/strings.xml",

don't share a common directory. But if this really is the desired behavior for for dest and preserve_hierarchy then CLI tool should abort the upload process if it detects that multiple files from the same upload will overwrite each other, as this is very likely with the way it currently behaves.
I would propose to add a check for files from the same upload overwritting each other and to make dest work independent of preserve_hierarchy. Meaning if dest is set, then preserve_hierarchy is automatically set to true. At least I don't see a case which requires dest to be set but preserve_hierarchy to be false, do you?
It also is weird that it is not skipping all files, because there was nothing changed in them. But it's likely not related to this bug. Maybe some windows/linux/mac \n\t\r issue? Are normalizing the input, i.e. like in git?
Connected to the target VM, address: '<IP_ADDRESS>:60244', transport: 'socket'
File 'sdmaid/strings.xml'-
 - SKIPPED
File 'unlocker/strings.xml' - OK
File 'sdmaid/description.txt' - OK
File 'sdmaid/title.txt'\
 - SKIPPED
File 'sdmaid/short_description.txt' - SKIPPED
File 'unlocker/description.txt' - OK
File 'unlocker/title.txt' - SKIPPED
File 'unlocker/short_description.txt' - SKIPPED
Disconnected from the target VM, address: '<IP_ADDRESS>:60244', transport: 'socket'

I envision it like this

Case1, No preserve, no dest. Crowdin optimizes the pathes on their server.
Case2, Preserve=true, no dest. Crowdin replicates the local path on their server.
Case3a, Preserve=true, dest set. Crowdin uses the path from dest on their server.
Case3b, Preserve=false, dest set. Crowdin uses the path from dest on their server.

Which would be 3 cases for path handling:

Automatic (optimized)
Disabled (preserved)
Manual (dest)

I think dest should override preserve_hierarchy this would be less confusing and is then actually the same behavior from CLI 1.0, so the same config files can then be used.
https://github.com/crowdin/crowdin-cli#preserving-directories-hierarchy
https://support.crowdin.com/configuration-file/#saving-directory-structure-on-server


Update model parameters for SmolLM (and other models)

What is the issue?
It is crucial to follow the recommended model parameters, especially for such small models such as SmolLM. They are much worse at higher temperatures. Ollama team, respectfully, PLEASE make sure the model parameters are set correctly 🙏

OS
No response
GPU
No response
CPU
No response
Ollama version
No response

kind of related: #4709

Thanks for creating the issue. The models has been updated with the suggested parameters


Service map updates

Description
Update the service table functionality

Adjust the focus table to have a popover that list all the options and is searchable.
Make the focus on selection enlarge the node following the filter behavior (also clear when reset)
Add reset button to the filter that recenters the tree and clears focus
Adjust zoomSpeed: 0.5
Set max and min zoom using  moveTo function.
If max zoom is exceeded recenter the page so the tree does not get lost.
Loading state while rendering
Darker borders / thicker on each node
No movement after rendering
Focus now filters to only display connected nodes
Consistent diagram using seed for physics generation
Bug fixes for handling switching between custom source and data prepper as well as flyout opening.

Filter Focus:
https://github.com/user-attachments/assets/ba04727f-0346-4f08-8235-b6765ebcff05
Zoom constraints:
https://github.com/user-attachments/assets/b5345a43-c14f-4199-a4b1-690596a65475
Dynamic filter:

Testing with 300 nodes:

Testing Dense Nodes

Service flyout:

Issues Resolved
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Still looking at the code. Just a question in the service flyout when users focus on a node, does the flyout details, other red metrics graphs also change to show the details of this particular node?

Still looking at the code. Just a question in the service flyout when users focus on a node, does the flyout details, other red metrics graphs also change to show the details of this particular node?

Adjusted to hide the focus while in the service fly-out. Ideally the user is utilizing the fly-out for a quick overview, and using the main page to investigate. Adjusted the functionality of the main search to allow user to quickly investigate deeper into connected nodes by clicking on them to filter (showcased in first video of description 'Filter Focus:').


build: Add flake8 and black to pre-commit hooks

For local development, these checks would run automatically when committing changes and we can easily add additional checks/hooks.

Need to update based on https://github.com/kserve/kserve/commit/6e88700ad4efd9890d85b1a7d29224e8c6c4d277

I believe it is a good thing to add the pre-commit as a dev dependency. WDYT ?

I believe it is a good thing to add the pre-commit as a dev dependency. WDYT ?

Good idea but I think it should only be recommended but not required. I can submit a PR to the website later.

/lgtm

/approve


fix: fix installation build in powershell (windows)

New-TemporaryFile doesn't work in cmd
More info: https://github.com/PowerShell/PowerShell/issues/14100

Thank you!


Cannot get plugin to appear

I installed and enabled the plugin but it will not appear in existing or new daily notes.  My daily notes use a custom value, which I matched in the plugin settings. That didn't work, so I set my Daily Notes plugin to use the default value, as well as the default value in the nav plugin, with no luck. Any ideas? I'm running the latest Catalyst version of Obsidian.

Are you using a theme? That might affect how the plugin works.

Can you also give the format your daily notes use, just so I can see. But I don't think it is that, if even the default values doesn't work.

I created a new vault and the plugin does work with my custom daily note format, YYYY-MM-DD (dddd), so it's something to do with my specific vault setup.

After deleting by .obsidian folder  and re-installing my plugins, the navbar plugin continues to work. It must have been some previous hack or left-over theme that was breaking it.

Good to hear :)
Feel free to write if you find more issues.


add haiku support

I haved added AWS Bedrock Haiku

Thank you! Merging in, testing locally, and will try to push a release this AM.

I renamed the prompt aliases to start with bedrock-, and changed the one-letter alias h to bh, for consistency with the other aliases in this plugin.
Here's a test I ran locally:
❯ llm -m bh 'I have a table with sales data, including the salesperson's name in column A, the product category in column B, the sales amount in column C, and the date of sale in column D. I want to calculate the total sales amount for each salesperson, but only for sales of products in the "Electronics" category that occurred in the month of January. Can you help me with the Excel formula to achieve this?'
Certainly! To calculate the total sales amount for each salesperson for sales of products in the "Electronics" category that occurred in the month of January, you can use the following Excel formula:
=SUMIFS(C:C, A:A, UNIQUE(A:A), B:B, "Electronics", D:D, ">="&DATE(YEAR(TODAY()),1,1), D:D, "<="&DATE(YEAR(TODAY()),1,31))

Let's break down the formula:

C:C: This is the range of cells containing the sales amount data.
A:A: This is the range of cells containing the salesperson's name.
UNIQUE(A:A): This function returns a unique list of salesperson names.
B:B: This is the range of cells containing the product category data.
"Electronics": This is the specific category you want to filter for.
D:D: This is the range of cells containing the sale date data.
>="&DATE(YEAR(TODAY()),1,1): This part of the formula filters for dates in January of the current year.
<="&DATE(YEAR(TODAY()),1,31): This part of the formula filters for dates up to the 31st of January of the current year.

The SUMIFS function is used to sum the sales amount values that meet the specified criteria.
To use this formula, simply enter it in a cell, and it will calculate the total sales amount for each salesperson for the specified criteria.


upgraded golangci-lint to 1.54.2

Upgraded golangci-lint to 1.54.2 and resolved the errors reported.

@nb-ohad pls take a look at the server code.

v1.55.2 is already available. Any reason to not move to that?

No reason as such, 1.54 was the chronologically first version that supported go1.21 so updated to that.

Locally other versions did not work for me with go1.21.4.

Interesting, in CI also we are using go1.21.4 and everything seems to work fine 🤔
Ref: https://github.com/red-hat-storage/ocs-operator/actions/runs/7194272521/job/19594462514?pr=2319


Clone Samples UI

What does this PR do and why?
The front-end for cloning samples.
Fixes #404.
Screenshots or screen recordings
The clone dialog:

A success message:

A validation error:

Sample errors:

How to set up and validate locally

Navigate to a project that the logged-in user is at least a maintainer of.
Hit Samples on the left side menu.
Check the samples you wish to clone.
Click the Clone samples button.
A dialog should appear. Select the project you wish to clone the samples to.
Verify the samples were cloned successfully.

Note: The samples that could not be cloned should remain checked within the samples table.
PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

[x] I have evaluated the PR acceptance checklist for this PR.

Just leaving a general comment pertaining to the modal for the cloning samples. Currently it does not display which samples were selected to be cloned (I know the same is true for the transfer modal). We probably should have the samples selected (atleast the sample names, maybe PUIDs?) displayed in the modal. Since this is also the case for the transfer modal I think it would be better to do this in a follow up pr where both modals can be addressed

This is working pretty well, my only comments so far are that the error messages are not clear. See image below:

It appears to me that the Sample.id is being shown in the error message. I notice in transfer samples it uses the Sample.name. I think for cloning it would be better to show a message like below:
Sample 'sample_name (sample_puid)' could not be cloned as Sample 'sample_name' exists in the target project.
That way we are showing which sample could not be cloned and the reason why, e.g. a Sample already exists with the same name in the target project.

d0cd28201579fae7d55f0ba377657bc7f34dacb9


Add patched prompt directive that works on Safari and Chrome

Upstream patch submitted as https://github.com/sbrunner/sphinx-prompt/pull/3
This temporarily uses the code from that patch in the Flocker code.

Thanks @jongiddy.
Tested by viewing http://build.clusterhq.com/results/docs/sphinx-prompt-FLOC-1548/build-7547/using/installing/index.html on OS X 10.10.3 in Safari 8.0.6, Firefox 38.01 and Chrome 43. Unfortunately it showed up some bad prompts! I'll deal with that separately.
Hopefully the patch will be accepted soon. Address the minor comments and merge when you and the docs builder are happy.

@jongiddy As this has been merged into master upstream maybe we should just wait for a release? Depends on the timeframe.

Sounds like a few days at least. It's so easy to undo, I'll merge once tests have passed.


Possible Optimization

@developit sure you've heard of this one before: rendering components that are only visible. Ben Alpert mentioned this one at react con 2016 I think

Yup! It's a super interesting idea for sure. Personally I wonder if it could be implemented as a High-Order component that conditionally renders its children based on DOM layout, but that would still incur layout cost.  Actually, preact-virtual-list implements much more specific version of that idea.

Is it possible to use preach-virtual-list with react or does it use preach-specific api's?

It'd need to be slightly modified since I was lazy and used this.base instead of a ref.

I think I might close this out for now since a solution here wouldn't happen in Preact's core. I'm actually currently looking into a composite component to accomplish this, I'll update here if/when I get something done.


Porcupine Issue: Node.js A dynamic link library (DLL) initialization routine failed.

Make sure you have read the documentation, and have put forth a reasonable effort to find an existing answer.
Expected behaviour
It works and initializes like normal
Actual behaviour
When I try to initialize Porcupine in node.js like this:
let handle = new Porcupine( 	porcupineAccessKey, 	["./wake_words/hey-amber_en_wasm_v2_2_0.ppn"], 	[0.5] );
I get the DLL error
Error: A dynamic link library (DLL) initialization routine failed<EMAIL_ADDRESS>   at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)     at Module._extensions..node (node:internal/modules/cjs/loader:1354:18)     at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1822)     at Module.load (node:internal/modules/cjs/loader:1124:32)     at Module._load (node:internal/modules/cjs/loader:965:12)     at f._load (node:electron/js2c/asar_bundle:2:13330)     at Module.require (node:internal/modules/cjs/loader:1148:19)     at require (node:internal/modules/cjs/helpers:110:18)     at new Porcupine (C:\Users\johnn\Documents\Projects\amber\frontend\node_modules\@picovoice\porcupine-node\dist\porcupine.js:89:29)            at Object.<anonymous> (C:\Users\johnn\Documents\Projects\amber\frontend\porcupine.js:5:14)
Steps to reproduce the behaviour
install @picovoice/porcupine-node on npm
follow the quick start: https://picovoice.ai/docs/quick-start/porcupine-nodejs/
it will fail at the new Porcupine part (for me atleast)
(Include enough details so that the issue can be reproduced independently.)

I am unable to replicate the problem on my system (Windows 11, Node.js 18). Could you please provide detailed specifications of the machine where you are attempting to run Porcupine? This includes information about the Node.js version and Windows version.
Additionally, could you try running our node demo and see if you encounter the same issue?

The Node.js SDK is specifically designed to run within the Node environment. For Electron, you need to use our web binding


do not write into file logs when skipping/removing files

Resolves #294
@krzysztofzablocki I also noticed that w flag is used both for disableCache and watch options. Shouldn't they be different?

I guess I'll just remove this flag then 🙂

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

  Generated by :no_entry_sign: danger

@ilyapuchka I think next time these kind of changes deserve the CHANGELOG update 😉


IPRoyal coupon code not work

Is there an existing issue for this?

[X] I have searched the existing issues

I'm submitting a ...

[ ] bug report
[X] feature request
[ ] support request --> Contact me over mail for support https://github.com/MShawon

Description
IPRoyal coupon code not work
Environment
- OS :
- Python :
- Script version :

config.json
N/A

Check now


Plugin doesn't generate the tsconfig.tsbuildinfo file used for incremental builds

When running yarn tsc --build I get an output tsconfig.tsbuildinfo file used the the Typescript incremental builds. Subsequent builds are much faster.
This file doesn't get generated when using esbuild-plugin-d.ts
Even if I specify the tsBuildInfoFile option, same thing.
{
  "extends": "../../tsconfig.settings.json",
  "compilerOptions": {
    "composite": true,
    "tsBuildInfoFile": "tsconfig.tsbuildinfo",
    "outDir": "lib",
    "rootDir": "src"
  },
  "include": ["src/**/*"],
  "exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]
}

Also it seems that you should be using both createIncrementalProgram and createIncrementalCompilerHost in order to avoid the tsbuildinfo file to be ignore as explained here
According to the release notes

For creating incremental builds, users can leverage the createIncrementalProgram and createIncrementalCompilerHost APIs.

You seem to be missing the createIncrementalCompilerHost usage at https://github.com/Floffah/esbuild-plugin-d.ts/blob/master/src/plugin.ts#L61

Took a while to get round to it but I have switched to incremental programs and hosts and saw the build time for the test go down to 50ms. Let me know if this broke anything after installing 1.1.0


Tweak deploy scripts and log messages for node starts

Change summary:

Add 'canary' run mode
Set 'fast' sync mode as the default
Increase nodejs memory limit to 4GB (by --max-old-space-size)
Defer job-killing and file-removing steps as much as possible (in start_node_incremental_gcp.sh)
Use [[ ... ]] expression instead of [ ... ] expression in if statement
Leave more log messages when node starts

Related issue: https://github.com/ainblockchain/ain-blockchain/issues/466

Thanks for the fast review! Now merging..


Updated setup.bat, run.bat and README

Hi,
I updated the setup.py script, with the following changes:

Echo messages to show the installation process.
git pull origin main at every project folder to ensure the latest version of each repository.
Change the installation for Speech To Text, issue related with PyAudio (fixed using pipwin) and SoundDevice installation. (Deprecated links from repository's requirements).
Download checkpoints for Sound Generation (ensuring the installation of the requests library).

For run.bat

Small cd fix, wrong location on folder.

README.md

Typo on main.py production script.

Will have to add the git pull to the Mac script too later today


How to get ACF fields from inside a loop

Im having a hard time figuring out how to get a relationship ACF field from inside a loop.
I currently have:

{{ banner.title }}

{{ banner.description }}

{{ banner.button_text }}

{{ banner.meta('banner_link') }}

The last line returns an array of objects, where I need to get the permalink from the first object.
Could you help figure this out please?

I'm guessing you may need to init a new TimberPost( POSTID ); in your PHP file before it gets to the Twig template?
I'm kinda new to Timber/Twig but I think that makes sense to me! :)

what does
{{dump(post)}}
give you?  Can you use |first to get at that first object and access the permalink directly or if it isn't in the object create a TimberPost right in the template a bit like you are creating a TimberImage above.

I ended up using:
{% set link = fn('get_permalink', banner.get_field('link')[0].id ) %}

it's not the prettiest solution but im not sure if there's a more elegant solution to this. Im closing it for now, maybe I will find a better way as I get more experience with Timber.
Thank you both for the suggestions.


Update refined, refined-scalacheck to 0.9.24

Updates

eu.timepit:refined
eu.timepit:refined-scalacheck

from 0.9.18 to 0.9.24.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "eu.timepit" } ]

labels: library-update, semver-patch

Superseded by #288.


dep.test failed

I run some test against golang/dep and use go-dep 0.5.0 which comes from git://github.com/golang/dep.
pwd
/usr/lib64/go-dep/test/github.com/golang/dep/cmd/dep
./dep.test
building testdep failed: exit status 1
can't load package: package .: no Go files in /usr/lib64/go-dep/test/github.com/golang/dep/cmd/dep
Any hints here?

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!