Invalid argument: During Variant Host->Device Copy: non-DMA-copy attempted of tensor type: string

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): CentOS 7
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 2.4.0rc4
Python version: 3.7.4
Bazel version (if compiling from source): 3.4.1
GCC/Compiler version (if compiling from source): GCC 8.3.0
CUDA/cuDNN version: 10.1
GPU model and memory: V100

Describe the current behavior
The following tests fail with the error "Invalid argument: During Variant Host->Device Copy: non-DMA-copy attempted of tensor type: string": //tensorflow/python/ops/ragged:ragged_dispatch_test, //tensorflow/python/ops/ragged:ragged_map_fn_op_test, //tensorflow/python/ops/ragged:ragged_print_op_test, //tensorflow/python/ops/ragged:ragged_tensor_test
Standalone code to reproduce the issue
Running bazel test on the above targets
Other info / logs
Example log:
ERROR: testRaggedToStringescape (__main__.RaggedToStringTest)
RaggedToStringTest.testRaggedToStringescape
testRaggedToStringescape([["a'b"], ['c\\d']], "[['a\\'b'], ['c\\\\d']]")
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/bazel-tf/20db8ac50b74c328e6dea9b20829b459/execroot/org_tensorflow/bazel-out/ppc-opt/bin/tensorflow/python/ops/ragged/ragged_print_op_test.runfiles/org_tensorflow/tensorflow/python/client/session.py", line 1375, in _do_call
    return fn(*args)
  File "/tmp/bazel-tf/20db8ac50b74c328e6dea9b20829b459/execroot/org_tensorflow/bazel-out/ppc-opt/bin/tensorflow/python/ops/ragged/ragged_print_op_test.runfiles/org_tensorflow/tensorflow/python/client/session.py", line 1360, in _run_fn
    target_list, run_metadata)
  File "/tmp/bazel-tf/20db8ac50b74c328e6dea9b20829b459/execroot/org_tensorflow/bazel-out/ppc-opt/bin/tensorflow/python/ops/ragged/ragged_print_op_test.runfiles/org_tensorflow/tensorflow/python/client/session.py", line 1453, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: 2 root error(s) found.
  (0) Invalid argument: 2 root error(s) found.
  (0) Invalid argument: 2 root error(s) found.
  (0) Invalid argument: During Variant Host->Device Copy: non-DMA-copy attempted of tensor type: string
  (1) Invalid argument: During Variant Host->Device Copy: non-DMA-copy attempted of tensor type: string
0 successful operations.
0 derived errors ignored.
  (1) Invalid argument: 2 root error(s) found.
  (0) Invalid argument: During Variant Host->Device Copy: non-DMA-copy attempted of tensor type: string
  (1) Invalid argument: During Variant Host->Device Copy: non-DMA-copy attempted of tensor type: string
0 successful operations.
0 derived errors ignored.
0 successful operations.
0 derived errors ignored.
	 [[{{node AsString/map/TensorArrayUnstack/TensorListFromTensor}}]]
	 [[Func/AsString/map/while/body/_1/input/_41/_24]]
  (1) Invalid argument: 2 root error(s) found.
  (0) Invalid argument: 2 root error(s) found.
  (0) Invalid argument: During Variant Host->Device Copy: non-DMA-copy attempted of tensor type: string
  (1) Invalid argument: During Variant Host->Device Copy: non-DMA-copy attempted of tensor type: string
0 successful operations.
0 derived errors ignored.
  (1) Invalid argument: 2 root error(s) found.
  (0) Invalid argument: During Variant Host->Device Copy: non-DMA-copy attempted of tensor type: string
  (1) Invalid argument: During Variant Host->Device Copy: non-DMA-copy attempted of tensor type: string
0 successful operations.
0 derived errors ignored.
0 successful operations.
0 derived errors ignored.
	 [[{{node AsString/map/TensorArrayUnstack/TensorListFromTensor}}]]
0 successful operations.
0 derived errors ignored.

@Flamefire
Please, share colab link or simple standalone code with supporting files to reproduce the issue in our environment.It helps us in localizing the issue faster. Thanks!

This is simply running the mentioned test case via bazel. I could also reproduce this with python git/tensorflow/tensorflow/python/ops/ragged/ragged_print_op_test.py RaggedToStringTest.testRaggedToStringescape with TF installed.
Reducing that to a minimal code is cumbersome as the error happens in graph mode with a test_session created spanning over many functions. My attempt in doing that failed, i.e. I could not extract enough from the test to make it fail

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.

python git/tensorflow/tensorflow/python/ops/ragged/ragged_print_op_test.py RaggedToStringTest.testRaggedToStringescape  no longer fails so it might have been fixed


BUG - Remove leftover debug code

https://github.com/standup-raven/standup-raven/blob/master/server/plugin.go#L172
This is quite annoying since it spams the headers for every request to the plugin's http endpoints to the log, using the INFO log level.

@ThiefMaster that's a valid point. On it.

This has been fixed and will be part of 2.3.0 release.

@ThiefMaster this has been fixed in the latest release - 2.3.0. Please update your plugin installation.


rollup resolved templateURL for --dev builds with non-standard src path

first my ionic src path has changed from src/app to src/mobile/app, src/pages to src/mobile/pages, etc..
using the relative path of
@Component({
  templateUrl: './about.html'
})

works on ionic-app-scripts build,
does not work on ionic-app-scripts build --dev
which produces and error of
Error reading template file, "./about.html": Error: ENOENT: no such file or directory, open '/Users/StrictDev/Documents/update/starter/src/pages/about/about.html'

when I use the templateUrl relative like
@Component({
  templateUrl: '../../../src/mobile/pages/about/about.html'
})

this templateURL works on both prod and dev ionic-app-scripts builds
https://github.com/strictd/angular2-ionic2-webpack to use as a demo.

also to note, in my package.json I have included
  "config": {
    "ionic_copy": "ionic-copy.config.js",
    "ionic_src_dir": "src/mobile/"
  },

Hello, thanks for using Ionic! Can you try this again with the latest app-scripts (just run npm install in your app) and by changing the templateUrl to about.html. Thanks!

same issue. i've updated to @2.0.0-rc.0 and @latest both produce the same results
[18:23:58]  bundle dev started ...
Error reading template file, "tabs.html": Error: ENOENT: no such file or directory, open '/Users/StrictDev/Documents/update/starter/src/pages/tabs/tabs.html'
Error reading template file, "home.html": Error: ENOENT: no such file or directory, open '/Users/StrictDev/Documents/update/starter/src/pages/home/home.html'
Error reading template file, "about.html": Error: ENOENT: no such file or directory, open '/Users/StrictDev/Documents/update/starter/src/pages/about/about.html'
Error reading template file, "contact.html": Error: ENOENT: no such file or directory, open '/Users/StrictDev/Documents/update/starter/src/pages/contact/contact.html'
[18:24:06]  bundle dev finished in 7.63 s

The path should be, /Users/StrictDev/Documents/update/starter/src/mobile/pages/tabs/tabs.html

@strictd sorry for the delay on this one! Is there any reason you are not just using templateUrl: 'about.html' ?

it was actually me who has the late reply. The path issue has been resolved.

Awesome, great to hear that! Thanks for using Ionic!

I have same issue. Error: ENOENT: no such file or directory, open 'C:\Users\osmarvirux\Documents\ionic-app-facilito\MoneyMap\www\index.html'
my cmd.. C:\Users\osmarvirux\Documents\ionic-app-facilito\MoneyMap>ionic serve
Running live reload server: http://<IP_ADDRESS>:35729
Watching: www//*, !www/lib//*
V Running dev server:  http://<IP_ADDRESS>:8100
Ionic server commands, enter:
restart or r to restart the client app from the root
goto or g and a url to have the app navigate to the given url
consolelogs or c to enable/disable console log output
serverlogs or s to enable/disable server log output
quit or q to shutdown the server and exit
ionic $
MY package.json
{
"name": "moneymap",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "2.1.1",
"@angular/compiler": "2.1.1",
"@angular/compiler-cli": "2.1.1",
"@angular/core": "2.1.1",
"@angular/forms": "2.1.1",
"@angular/http": "2.1.1",
"@angular/platform-browser": "2.1.1",
"@angular/platform-browser-dynamic": "2.1.1",
"@angular/platform-server": "2.1.1",
"@ionic/storage": "1.1.6",
"ionic-angular": "2.0.0-rc.3",
"ionic-native": "2.2.3",
"ionicons": "3.0.0",
"rxjs": "5.0.0-beta.12",
"zone.js": "0.6.26"
},
"config": {
"ionic_copy": "ionic-copy.config.js",
"ionic_src_dir": "src/mobile/"
},
"devDependencies": {
"@ionic/app-scripts": "0.0.45",
"typescript": "2.0.6"
},
"description": "MoneyMap: An Ionic project",
"cordovaPlugins": [
"cordova-plugin-device",
"cordova-plugin-console",
"cordova-plugin-whitelist",
"cordova-plugin-splashscreen",
"cordova-plugin-statusbar",
"ionic-plugin-keyboard"
],
"cordovaPlatforms": []
}
Help me please. im noob in Ionic but i love to program with google's frameworks. they are fantastic...! someone can help me?


[Resolve Errors] [Review Warnings] Tables - selectively enable borders based on if the table is overflowing

useIsOverflowing hook already added to the app

Yes, that is the aspect that any visual styling difference would be meant to convey. This is why it isn't ideal when tables that don't require horizontal scrolling receive this bordered styling. Generally I prefer the open styling of no borders (standard table styling). Since our app has the need for some horizontal scrolling tables we end up with visual inconsistency on the page. I'd like to have the horizontal scroll styling (borders) affect only the tables that require it.


Add sample workflow for s2i

Signed-off-by: divyansh42<EMAIL_ADDRESS>

This failed because PRs don't have access to secrets, so it should work once merged.


doc(billing-platform): renaming alignment

??? too many changes in e-Mobility REST API.postman_collection.json
I do not understand why!


[DNS] Clarify DNSSEC options with Secondary DNS Override

Secondary DNS Override will not work with Pre-signed DNSSEC, adding a warning to clarify.

Thanks!


Run tests on PHP 8.0

This applies only to the Cake4 branch.

This applies only to the Cake4 branch.

Done

Done


addEffectWith() doesn't apply the value of the [tint] property.

After cloning an existing created effect with a "tint" property. When using the call "game.dfreds.effectInterface.addEffectWith({ effectData, uuid });", it does not set the tint on the added effect.
But the tint is correctly getting applied when using the normal: game.dfreds.effectInterface.addEffect({ effectName: myEffect, uuid: myUuid });
You can reproduce by setting a effect with a tint color, log it to confirm it has a tint set before attempting to be added. And afterwards it does not have the tint applied.
const effectData = deepClone({ ...game.dfreds.effectInterface.findEffectByName('Blue') }); console.log(effectData); game.dfreds.effectInterface.addEffectWith({ effectData, uuid });

Thanks for the report, let me look into it

Fixed in next release


DateFormatter: dealing with time interval formatting in SwiftDate

Recently there was a discussion about the opportunity to use NSDateComponentsFormatter class in order to provide a string representation (both colloquial and by time unit components) of the interval between two dates.
You can learn more about it starting here.
In the meantime we belive it's good to provide an similar alternative; this is what we are doing in TimeIntervalFormatter gitflow feature of the develop branch (planned to go live for 3.1 release).
The main class is called DateFormatter (link to commit) and allows you to print date interval in 5 different styles:
TIME INTERVAL COMPONENTS STYLES

Positional (A style that uses the position of a unit to identify its value and commonly used for time values where components are separated by colons . "1:10:00")
Abbreviated (The abbreviated style represents the shortest spelling for unit values. "1h 10m")
Short (A style that uses the short spelling for units. “1hr 10min”)
Full (A style that spells out the units fully. “1 hour, 10 minutes”)
Colloquial (For some relevant intervals this style print out a more colloquial string representation ("last month", "on 2016", "next year", "in 5 minutes", "just now" and so on).

DateFormatter CLASS
DateFormatter  class allows you to specify several attributes used to customise the output string:

unitsStyle allows you to specify the string length used to print each time component (described above)
allowedUnits specify what kind of time units (seconds,hours,minutes...) maybe part of the output stirng (some units maybe dropped if zero, depending of zeroBehaviour parameter).
maxUnitCount if not nil specify the max number of time components used to compose the output string (from the high ordered time unit - year - to the smallest one, second). This value is not used for .Colloquial style.
zeroBehavior specify how to threat time units with zero values (should be included in the output string? how?). Possible values are .None (None, it does not remove components with zero values), .DropLeading (Units whose values are 0 are dropped starting at the beginning of the sequence until the first non-zero component), .DropMiddle ( Units whose values are 0 are dropped from anywhere in the middle of a sequence.), .DropTrailing (Units whose value is 0 are dropped starting at the end of the sequence back to the first non-zero component) and .DropAll. This param is not used for .Colloquial style.
includeRelevantTime this parameter is valid only for .Colloquial style. If specified for each interval of time (in years, in hours, in seconds...) a relevant time string will be added at the end of the output. For example for colloquial representation "in 2 hours" the final string maybe "in 2 hours (at 21:30)".
allowsNowOnColloquial this paramter is valid only for .Colloquial style. If specified for a time interval < 5 minutes the output will be "just now"

Public methods of the class are:

public func toString(interval: NSTimeInterval) -> String?
public func toString(fromDate f: DateInRegion, toDate t: DateInRegion) -> String?

.strings FILE SPECS
The localized strings (at this time only en was created) are contained inside SwiftDate.bundle bundle.
The file itself is documented, but basically it contains:

unit names strings (unitname_): how to spell years/minutes/seconds... in .Positional,.Short... styles)
colloquial strings (colloquial_): representation of the colloquial strings for each relevant amount of time
relevant time strings (relevanttime_): specify the date string format to add for each relevant variant
value separator (valuesep_): specify the separator string between each time unit in each style
unit separator (unitsep_) specify the separator string between each time unit component

Codes for languages.
COLLOQUIAL REPRESENTATION TABLE
This is the logic used when you want to print a colloquial representation of the differences between two dates.

TIME DIFFERENCE
FUTURE
PAST
RELEVANT TIME

= 1 year
next year
last year
(Feb 2016)

> 1 year
on 2016
2016
(Feb 2016)

= 1 month
next month
past month
(Feb 17, 2016)

> 1 month
in 3 months
3 months ago
(Feb 17, 2016)

= 1 week
next week
past week
Wed, Feb 17 2016)

> 1 week
in 3 weeks
3 weeks ago
Wed, Feb 17 2016)

= 1 day
tomorrow
yesterday
Wed, Feb 17 2016)

> 1 day
in 2 days
2 days ago
Wed, Feb 17 2016)

= 1 hour
in one hour
one hour ago
(at 13:20)

> 1 hour
in 3 hours
3 hours ago
(at 13:20)

= 1 minute
in one minute
one minute ago
none

> 1 minute
in 3 minutes
3 minutes ago
none

< 5 minutes
just now
just now
none

= 1 second
in one second
one second ago
none

> 1 second
in 3 seconds
3 seconds ago
none

I would also add special today time ranges:

today between 00:00 -> 06:00 -> this night (relevant time is the hour 'HH:mm')
today between 06:00 -> 12:00 -> this morning (relevant time is the hour 'HH:mm')
today between 12:00 -> 18:00 -> this afternoon (relevant time is the hour 'HH:mm')
today between 18:00 -> 24:00 -> this evening (relevant time is the hour 'HH:mm')

I'll add it very soon but it should be enough to start first tests.
cc @Hout

Nice job! :-)
Remarks:

please mention the source date (17-Feb-16) for the examples in the table.
I am not sure about the unit granularity. Depending on circumstances I would mention "February next year"  or just "next year". Or "tomorrow at 20h15".
Weeks are not in the allowed units set?
Difference between day parts (morning afternoon, night) differs per locale. E.g. in Indonesia day parts exist for sunrise-11 (pagi), 11-14 (siang), sore (14-sunset), malam (night).

Dutch strings on their way

This is complicated matter. In The Netherlands, days are indicated as (English equivalents):

the day after tomorrow ("overmorgen")
the day before yesterday ("eergisteren")
day name if within the week or closest weekend
"next week" day name if in next week e.g. "Friday next week" --> "volgende week vrijdag"
"last week" day name if in last week e.g. "Friday last week" --> "vorige week vrijdag"
OR: "Last Friday"

Of course we want to keep things as simple as possible.

Also:

colloquial_f_s is never used in practice. "Now" is appropriate.
colloquial_thisnight is different for future and past, also in English: "last night", if it is the previous night, "tonight" if it is the next night (and night is including the evening in the UK), "this night" if from within the "night" time frame.

Difference between day parts (morning afternoon, night) differs per locale. E.g. in Indonesia day parts exist for sunrise-11 (pagi), 11-14 (siang), sore (14-sunset), malam (night).

Okay good to know, so there is no reason to increase complexity. So, first of all we can drop "today's" variants because they are too locale dependant.

I am not sure about the unit granularity. Depending on circumstances I would mention "February next year" or just "next year". Or "tomorrow at 20h15".

Can you explain cricumstances? We could provide variants of relevant time strings for each unit if needed.

Weeks are not in the allowed units set?

weeks are available with "w" and "ww" code

colloquial_f_s is never used in practice. "Now" is appropriate.

Basically I agree but it's a param and by removing it we lose unit granularity (seconds) you can omit with using allowsNowOnColloquial = true. Is it a good idea?

colloquial_thisnight is different for future and past, also in English: "last night", if it is the previous night, "tonight" if it is the next night (and night is including the evening in the UK), "this night" if from within the "night" time frame.

We will remove it according to the first point, okay? any better idea?

Okay good to know, so there is no reason to increase complexity. So, first of all we can drop "today's" variants because they are too locale dependant.

Agreed

Can you explain cricumstances? We could provide variants of relevant time strings for each unit if needed.

Maybe we should include the number of units? E.g. next year can be "next year" (1 unit) "February next year" (2 units), 27 February next year (3 units) etc.

weeks are available with "w" and "ww" code

Because of this code in DateFormatter?
    /// Tell what kind of time units should be part of the output. Allowed values are a subset of
    /// the NSCalendarUnit mask
    /// .Year, .Month, .Day, .Hour, .Minute, .Second are supported (default values enable all of
    /// them)
    public var allowedUnits: NSCalendarUnit = [.Year, .Month, .Day, .Hour, .Minute, .Second]

Basically I agree but it's a param and by removing it we lose unit granularity (seconds) you can omit with using allowsNowOnColloquial = true. Is it a good idea?

Yep agreed but also depending on circumstances. What about a time interval that can be specified for using "now"? With a default on 29 seconds?

We will remove it according to the first point, okay? any better idea?

Ok, but remember it for later. It might be easy to add after all. Let us take small steps.

For investigation: maybe we can retrieve some of the strings from NSDateFormatter?

E.g. put this in a playground:
let f = NSDateComponentsFormatter()
let units: NSCalendarUnit = [.Day]
f.allowedUnits = units
f.unitsStyle = .Full
let components = NSDateComponents()
components.day = -1
print(f.stringFromDateComponents(components))
components.day = 1
print(f.stringFromDateComponents(components))
components.day = 2
print(f.stringFromDateComponents(components))

Yeah, this was my first choice but I've discarded that because it fill only partially our strings needs (colloquial forms still missing, we can have only unit names). So, at least for now, I'll tend to avoid using it because it does not solve the entire problem but create an useless dependency for a fistful of strings. What do you think?

Maybe it is a good fallback for those locales that we do not have all strings for?

We can use NSDateFormatterStyle for time and date to add relevant time information to the colloquial version of the string. What do you think? It should be easier than maxUnits

I've tried with NSDateFormatterStyle but I think it's not the best choice because it's a bit constrained.
You can't obviously decide what format of date/time print so for example you can't print Feb 17 or Wen Feb 17 etc.
A manual pick with a specified date format seems the best reasonable way and it should be customized based upon locale habits.

I made a typo; the strings should be obtained from NSDateComponentFormatternot NSDateFormatter(tongue in cheeck) sorry.

Okay I've moved components based print of DateFormatter to NSDateComponentFormatternot since commit https://github.com/malcommac/SwiftDate/commit/00dd0eae3d6aec7542417d4e436fa5ee60606884

Less than 1 minute differences are now simply "just now" as you said some time ago :)


chore: merge release in master

release: cut the 8.0.0 release

chore: update changelog with migration steps for Angular 7.x.x to Angular 8.0.0

PR Checklist

[ ] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages.
[ ] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
[ ] You have signed the CLA.
[ ] All existing tests are passing: https://github.com/NativeScript/nativescript-angular/blob/master/DevelopmentWorkflow.md#running-the-tests
[ ] Tests for the changes are included.

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

test ignore


Treat sphinx warnings as errors

(Related to #3068. Merge after it)
Sphinx warnings should be taken more seriously. This PR treats its warnings as errors.
TODO: Port to CuPy

Rebased to master.
#3068 is merged, so this PR is ready to review.

https://github.com/chainer/chainer-test/issues/287 must be fixed first.

jenkins test this please

jenkins test this please

OK. LGTM


POST method $request->all() always return empty [] array when sending base64 encoded Image JSON

Laravel Version: #.#.#
PHP Version: 5.4
Database Driver & Version: MySQL

Description:
Hi, i have problem on my staging server in which the code works fine on my production server as well as local. the problem is when I try sending base64 encoded image to server, when it goes to the validation it always says that the parameter is empty. I tried to dd($request->all()) and resulting an empty array.
so here are my request and i also already add Content-Type: application/json to the header:
{
"userID":79,
"image": *base64 encode image (very long string)
}

This repo is for bug tracking. Use the forums or slack channel for solving your issue

What Laravel version are you using? How long is "very long"? Is it more than max allowed post size configured in nginx and php.ini?

Please continue on the forums.

@michaeltansy have you got a solution?

I had the same issus
I had both Accept application/json and Content-Type application/json in request header. Once I removed Content-Type, all is fixed.


TCP2 does not implement Nagle algorithm

Is your enhancement proposal related to a problem? Please describe.
Currently TCP Nagle algorithm is not implemented when sending data. https://en.wikipedia.org/wiki/Nagle's_algorithm
Implementing Nagle would improve network utilization as it collects smaller TCP segments into larger ones and then send one larger segment instead of multiple smaller ones.

Would be good if this can be disabled/enabled at runtime on a per socket basis.

Lack of Nagle and the flood of small packets is causing problems in my application at the moment, both in terms of performance and running out of net buffers.  Here is my naive attempt at implementing it:
diff --git a/subsys/net/ip/tcp2.c b/subsys/net/ip/tcp2.c
index 7aa5c3988cda..c6cf60c9a8fe 100644
--- a/subsys/net/ip/tcp2.c
+++ b/subsys/net/ip/tcp2.c
@@ -962,13 +962,22 @@ static int tcp_send_queued_data(struct tcp *conn)
                goto out;
        }

-       while (tcp_unsent_len(conn) > 0) {
+       int unsent;
+       int mss = conn_mss(conn);
+       while ((unsent = tcp_unsent_len(conn)) > 0) {

                if (tcp_window_full(conn)) {
                        subscribe = true;
                        break;
                }

+               /* Nagle's algorithm: don't send new TCP data yet if we still
+                  have unacked data, and the total unsent length is less than
+                  the MSS */
+               if (conn->unacked_len > 0 && unsent < mss) {
+                       break;
+               }
+
                ret = tcp_send_data(conn);
                if (ret < 0) {
                        break;

Agreed on having a way to disable it.  The normal way to disable Nagle on a socket would be setsockopt(sock, SOL_TCP, TCP_NODELAY, ...), so I'd vote for that.

Looks reasonable, but one can probably only see if it really works as expected after running the code. Can you send a PR for this + supporting the setsockopt too?
Agreed on TCP_NODELAY option, we should have that supported from day one.
There is also some MSS work going on in #32076

On top of the fixes of PR https://github.com/zephyrproject-rtos/zephyr/pull/45890, I build an implementation of Nagle's algorithm.
It includes the TCP_NODELAY option to switch Nagle's algorithm off.
The full branch:
https://github.com/ssharks/zephyr/pull/new/net/tcp_nagle
The specific commit:
https://github.com/ssharks/zephyr/commit/a6863fd1f761d752b80d43a0869664a26bfc9866
Please have a good look at it before I submit an official PR. There is quite some new code to make options on TCP specific possible.

After review comment from @rlubos, a new commit at https://github.com/ssharks/zephyr/commit/8ab3c5a8fefb5580af1f505cd390528cedb40ef7

Now an official PR at https://github.com/zephyrproject-rtos/zephyr/pull/46348


debian install

sssnake does not install on raspberrypi debian.
Cloning into 'sssnake'...
remote: Enumerating objects: 313, done.
remote: Counting objects: 100% (128/128), done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 313 (delta 78), reused 83 (delta 50), pack-reused 185 (from 1)
Receiving objects: 100% (313/313), 278.75 KiB | 704.00 KiB/s, done.
Resolving deltas: 100% (188/188), done.
cc -w  main.c autopilot.c xymap.c structs.c snake.c draw.c -lncursesw -o sssnake
install					-D sssnake 					/usr/local/bin/sssnake
install: cannot create regular file '/usr/local/bin/sssnake': Permission denied
make: *** [makefile:21: install] Error 1

try  sudo make install

try  sudo make install

install					-D sssnake 					/usr/local/bin/sssnake
install: omitting directory 'sssnake'
make: *** [makefile:21: install] Error 1

you are in the wrong directory


all-packages: Just refer to self, not super, or res

Motivation for this change
Includes a change to PostgreSQL to use self.callPackage which is the last step needed for this.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@danbst, it can still be used as an overlay with a tiny wrapper function that throws away super.
@roberth OK. But I'd like to define res as pkgs as soon as possible, and deprecate super too. When was super even added?

@roberth I think we can add it back if/when that happens. (I perhaps am biased because I think the rigorous separation of build-time and run-time deps from cross + disallowedRequisites can be used to achieve the same thing better, making self vs super just about overriding itself.)


Fix runCountRange when range start == interval start

When the interval is a proper superset of the range with start equal to
interval start, the range must be considered a superset or it will be
completly ignored (since it neither a subset nor it overlaps)
Overview
CountRange(start, end) may return 0 even if the bitmap contains bits in the range start and end.
See added unittest, especially:
bm3 := roaring.NewFileBitmap(1, 2, 3, 4)
bm3.Optimize() // convert to runs
if n := bm3.CountRange(1, 3); n != 2 {
	t.Fatalf("unexpected n: %d", n)
}

Pull request checklist

[x] I have read the contributing guide.
[ ] I have agreed to the Contributor License Agreement.
[ ] I have updated the documentation.
[x] I have resolved any merge conflicts.
[x] I have included tests that cover my changes.
[ ] All new and existing tests pass.
[ ] Make sure PR title conforms to convention in CHANGELOG.md.
[ ] Add appropriate changelog label to PR (if applicable).

Code review checklist
This is the checklist that the reviewer will follow while reviewing your pull request. You do not need to do anything with this checklist, but be aware of what the reviewer will be looking for.

[ ] Ensure that any changes to external docs have been included in this pull request.
[ ] If the changes require that minor/major versions need to be updated, tag the PR appropriately.
[ ] Ensure the new code is properly commented and follows Idiomatic Go.
[ ] Check that tests have been written and that they cover the new functionality.
[ ] Run tests and ensure they pass.
[ ] Build and run the code, performing any applicable integration testing.
[ ] Make sure PR title conforms to convention in CHANGELOG.md.
[ ] Make sure PR is tagged with appropriate changelog label.

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


Error in console

Greetings, I tried to install your system but I did not succeed, it is well in the addons folder of my ftp but when I try to open the panel nothing happens and my consoler is bombarded with errors
https://pastebin.com/HNvLrFHx

What did you do on the server? Looking at the line that created the error, you or another player had to have tried running a command. That section of code should only be running when the server receives a command from a player

I just try to open the menu with the nadmin command in dev console

Oh, I see. Just "nadmin"? I don't have any auto-completion, and I don't check if the command is empty. Try running "nadmin menu" or "!menu" in chat. Let me know if that works for you

seems to work but how the hell do you set a superadmin player?

That's my fault. I haven't properly documented how to use it yet since I have yet to actually complete it. I haven't worked on it for a minute. It works, it's mostly missing configuration stuff at this point. Anyway, you can do nadmin rank [your_name] owner or nadmin rank [your_steam_id] owner. If you're name has a space, then just do part of your name. As an example, if I did nadmin rank nub owner, I would be set as owner, even with my name "NubTheFatMan".


[1.16.4] Crash when pressing CTRL or ALT with latest Fabric API

Upon loading up the game with Astromine: Complete 1.11.4 and Fabric API 0.29.0, pressing either the CTRL or ALT key on the keyboard while in the menus (not in a singleplayer or multiplayer world) results in a crash. Also occurs for Fabric API version 0.28.4. This could be happening for other keys as well, but I have not done extensive testing.
Crashlog: https://pastebin.pl/view/c42a173e

duplicate of #369


[FLINK-30436][Connectors/Opensearch][docs] Integrate Opensearch docs …

…into Flink docs
What is the purpose of the change
Integrate Opensearch docs into Flink docs for Flink 1.16
Note This cannot be merged until Opensearch v1.0.0 tag exists
Brief change log

See comment for pages changed

Verifying this change
Built locally and verified in browser
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? n/a

Thank you very much, @dannycranmer and @MartijnVisser


Use standard C++ tools to create heterogeneous containers

C++ containers are homogeneous. JSON is heterogeneous. There are numerous C++ JSON toolkits, but adding support for all would be impractical, and adding support for one would be limiting. It would be quite convenient to use standard C++ to create heterogeneous containers that could be fed to fmtster for serialization.

Some experiments have found that, at least on first try, std::variant<> isn't happy with recursion. So defining the following will not work (as-is):
struct JSNull {};
using JSBoolean = bool;
using JSNumber = variant<int64_t, double>;
using JSString = string;
using JSArray = vector<JSValue>;
using JSObject = map<string, JSValue>;
using JSValue = variant<JSNull, JSBoolean, JSNumber, JSString, JSArray, JSObject>;

A non-recursive attempt with a limited number of levels, just to see what the natural initialization would look like:
struct JSNull {};
using JSBoolean = bool;
using JSNumber = variant<int64_t, double>;
using JSString = string;
using JSValue0 = variant<JSNull, JSBoolean, JSNumber, JSString>;
using JSArray0 = vector<JSValue0>;
using JSObject0 = map<string, JSValue0>;
using JSValue1 = variant<JSNull, JSBoolean, JSNumber, JSString, JSArray0, JSObject0>;
using JSArray1 = vector<JSValue1>;
using JSObject1 = map<string, JSValue1>;
using JSValue = variant<JSNull, JSBoolean, JSNumber, JSString, JSArray1, JSObject1>;
using JSArray = vector<JSValue>;
using JSObject = map<string, JSValue>;

        JSObject jso =
        {
            {
                "circle", {
                    JSObject1{ "color", "blue" }
                }
            }
        };

It's not pretty, but this is what compiles.


Update for tox4

Codecov Report
Patch and project coverage have no change.

Comparison is base (0b88fc2) 84.67% compared to head (410bd11) 84.67%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage   84.67%   84.67%
=======================================
  Files           4        4
  Lines         548      548
=======================================
  Hits          464      464
  Misses         84       84

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Trying to use mkCargoDerivation leads to multiple issues.

I'm trying replace lib.buildDepsOnly with lib.mkCargoDerivation, but I keep hitting issues.
First, I didn't had version = ; set and was getting an error when trying to parse Cargo.toml. I thought it's probably because I'm building a workspace that doesn't have a version in there. After adding a fake one, I get one in vendoring:
       [[package]]
       name = "zstd-sys"
       version = "2.0.5+zstd.1.5.2"
       source = "registry+https://github.com/rust-lang/crates.io-index"
       checksum = "edc50ffce891ad571e9f9afe5039c4837bede781ac4bb13052ed7ae695518596"
       dependencies = [
        "cc",
        "libc",
        "pkg-config",
       ]
       ' is not allowed to refer to a store path (such as '')

       at /nix/store/a3621jkl02cnlb9943jikqhhgqz7xscs-source/lib/vendorCargoDeps.nix:46:10:

           45|
           46|   lock = builtins.fromTOML cargoLockContents;
             |          ^
           47|   lockPackages = lock.package or (throw "Cargo.lock missing [[package]] definitions");

       … while evaluating 'mapAttrs''

       at /nix/store/9qaip1bfz0wjb8503a3vw66fqnqmgwai-source/lib/attrsets.nix:358:18:

          357|   */
          358|   mapAttrs' = f: set:
             |                  ^
          359|     listToAttrs (map (attr: f attr set.${attr}) (attrNames set));

       … from call site

       at /nix/store/a3621jkl02cnlb9943jikqhhgqz7xscs-source/lib/vendorCargoRegistries.nix:60:13:

           59|
           60|   sources = mapAttrs'
             |             ^
           61|     (url: packages: nameValuePair (hash url) (vendorSingleRegistry packages))

       … while evaluating 'concatMapStrings'

I have no idea what's the is not allowed to refer to a store path (such as '') about. Probably I'm doing something wrong, but would be great if there were some guide rails to help the user. It seems that every time we dissagre about certain feature of more specific lib.someCommand I'm told to use lib.mkCargoDerivation, but when I actually try, I can't get it work. :D
My relevant changes so far:
-        workspaceDeps = craneLib.buildDepsOnly (commonArgs // {
+        workspaceDeps = craneLib.mkCargoDerivation (commonArgs // {
+          pnameSuffix = "-deps";
+          version = "0.0.0";
+          cargoArtifacts = null;
+          # src = filterWorkspaceDepsBuildFiles (craneLib.mkDummySrc { src = ./. ; });
+          src = (craneLib.mkDummySrc { src = ./. ; });
           buildPhaseCargoCommand = "cargo doc --profile $CARGO_PROFILE ; cargo check --profile $CARGO_PROFILE --all-targets ; cargo build --profile $CARGO_PROFILE --all-targets";
           doCheck = false;
+          doInstallCargoArtifacts = true;
         });

Wrong repo.


611 Simplify Hiero tag workflow

[x] refactoring Tag workflow - removing json, adding pype tag for single taging
[x] adding functions to lib for plugin wide use
[x] Creator with gui and renamer for hierarchical data use
[x] Publishing plugins refactoring for single tag collection
[x] Collectors in publishing refactoring for pre-collecting faze of publisher
[x] Loading clip to timeline with update and remove, containerized and activated Manage menu item

What to test in Shot Creator plugin ui?

Renaming with Hiero tool and only generating tag in one layer > select clips in single layer which are renamed with hiero's build in renaming tool (select clips / Editorial / Rename) and check if the P. Tag was created with correct asset. It should be the same as the original name of clip after rename > Rename clips False
Renaming with tool and layer names defining subset names with vertical synchronization > create clips in multiple layers. Rename layers to subset name. Slips should be exactly above each other. Select all clips in layers. In UI panel set > Vertical rename True, Master track (Usually main), Subset name <track_name>
Renaming with tool and no vertical synchronization used (if all clips across layers are individual assets) > Vertical rename False, Subset name main

I would simplify a few bits even more in the GUI the amount of categories gets somewhat confusing. How about merging a few to get this for the hierarchy and rename section:

For the shot attributes I'd rename this way and add source resolution option to get rid of another tag

I would simplify a few bits even more in the GUI the amount of categories gets somewhat confusing. How about merging a few to get this for the hierarchy and rename section:
These sections were kept serparatelly as they are two different thing. Usually there could be case where renaming is not needed and we would rather use the build in renaming. Although the hierarchy will be used in all cases.

I can't get the renamer to work at all. The tags are created and the data seem to reflect everything correctly.

Collecting goes through correctly now. Metadata is correct.
When renaming using the tool, it only renames the first 2 clips correctly and all following then get the same name as clip number 2.

Very nice. Much much easier to use and set up shot. I've made a small tweak to default values, and this is ready for merging of the subsequent PRs into here.
My changes:
removed episode from default
shortened the shot padding
changes sequence default to sq01 from sc020`

this pr was cleaned up and replicated in #907 so we can close this

this pr was cleaned up and replicated in #907 so we can close this


432 hint box state updates

Updated the Hint Box for the Demo and Exercise 3 page so that it displays the current state (if correct, dispalys correct message, if incorrect, displays hint). Additionally, made it so that the user has to make a selection in order to expand the hint box. And, once expanded, the hint box cannot be collapsed again.
Summary
Closes #432

Screenshots

correct state

I noticed when I was adding the changes of the updated HIntBox into Exercise 3 that when the user clicks the correct address, it doesn't mark it as correct. I still added the same HintBox updates that I did to Demo.tsx, but I didn't fix this error (about the correct box/answer not updating as correct) in case I would mess something up.


nodejs12 no longer supported

I'm a rookie, so it's possible these aren't real issues or maybe experts just can work around them.
I started with a blank slate in Cloud9.
Encountered two errors during deploy in step 3.

The runtime parameter of nodejs12.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID:
Resource handler returned message: "Specified ReservedConcurrentExecutions for function decreases account's UnreservedConcurrentExecution below its minimum value of [10]. (Service: Lambda, Status Code: 400, Request ID:

Fixed 1. by updating nodejs12 to nodejs18 pretty much anywhere I could find it that wasn't build.
Fixed 2. by removing the "ReservedConcurrentExecutions". Though it appears that could also be fixed by increasing limits on Lambda functions (mine was set to 10). Probably worth leaving this there as I guess it's a security thing.

Thanks for the project! Been interesting to try to work through.

Thanks for raising - the currently supported version of Node is 18. If you update this in the IaC, it should deploy with the latest version of the SAM CLI.


Fix Travis tests

Using yarn does not execute install.js in the phantomjs-prebuilt package.
Workaround mentionned here : https://github.com/karma-runner/karma-phantomjs-launcher/issues/120

Changes Unknown when pulling 0a79bb90be47dc4302856ed04889a05eea6b3139 on fix-travis into ** on next**.


[#101485630] Fix bug in invite audit events

See: https://www.pivotaltracker.com/story/show/101485630
The API client expects a string rather than an Enum object.

:+1:


Rename HPX_MOVABLE_BUT_NOT_COPYABLE to HPX_MOVABLE_ONLY

Rename HPX_MOVABLE_BUT_NOT_COPYABLE to HPX_MOVABLE_ONLY, mark C++11 deleted functions as required.

Should we consider this a breaking change?
Am 01.04.2016 2:54 nachm. schrieb "Agustín Bergé"<EMAIL_ADDRESS>
:

Rename HPX_MOVABLE_BUT_NOT_COPYABLE to HPX_MOVABLE_ONLY, mark C++11
deleted functions as required.
You can view, comment on, or merge this pull request online at:
https://github.com/STEllAR-GROUP/hpx/pull/2065
Commit Summary

Rename HPX_MOVABLE_BUT_NOT_COPYABLE to HPX_MOVABLE_ONLY
Remove redundant inclusions of config header
Mark C++11 deleted functions as required

File Changes

M CMakeLists.txt
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-0 (2)
M examples/1d_stencil/1d_stencil_4.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-1 (2)
M examples/1d_stencil/1d_stencil_4_repart.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-2 (2)
M examples/1d_stencil/1d_stencil_4_throttle.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-3 (2)
M examples/quickstart/safe_object.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-4 (2)
M examples/transpose/transpose_await.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-5 (2)
M examples/transpose/transpose_block.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-6 (2)
M examples/transpose/transpose_block_numa.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-7 (2)
M external/cache/boost/cache/local_cache.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-8 (2)
M external/cache/boost/cache/lru_cache.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-9 (2)
M hpx/components/iostreams/ostream.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-10 (2)
M hpx/components/process/util/windows/child.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-11 (2)
M hpx/config/emulate_deleted.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-12 (48)
M hpx/lcos/detail/future_data.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-13 (4)
M hpx/lcos/future.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-14 (2)
M hpx/lcos/future_wait.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-15 (2)
M hpx/lcos/local/and_gate.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-16 (4)
M hpx/lcos/local/conditional_trigger.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-17 (2)
M hpx/lcos/local/latch.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-18 (16)
M hpx/lcos/local/mutex.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-19 (5)
M hpx/lcos/local/once.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-20 (4)
M hpx/lcos/local/packaged_task.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-21 (6)
M hpx/lcos/local/promise.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-22 (8)
M hpx/lcos/local/receive_buffer.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-23 (8)
M hpx/lcos/local/spinlock.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-24 (3)
M hpx/lcos/local/spinlock_no_backoff.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-25 (1)
M hpx/lcos/local/spinlock_pool.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-26 (4)
M hpx/lcos/local/trigger.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-27 (4)
M hpx/lcos/promise.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-28 (4)
M hpx/parallel/task_block.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-29 (2)
M hpx/plugins/parcel/coalescing_counter_registry.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-30 (2)
M hpx/plugins/parcelport/mpi/mpi_environment.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-31 (4)
M hpx/runtime/actions/basic_action.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-32 (2)
M hpx/runtime/actions/transfer_action.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-33 (2)
M hpx/runtime/applier/apply_callback.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-34 (2)
M hpx/runtime/components/pinned_ptr.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-35 (47)
M hpx/runtime/naming/name.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-36 (2)
M hpx/runtime/parcelset/detail/call_for_each.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-37 (2)
M hpx/runtime/parcelset/parcel.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-38 (4)
M hpx/runtime/parcelset/parcel_buffer.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-39 (2)
M hpx/runtime/threads/coroutines/coroutine.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-40 (2)
M hpx/runtime/threads/coroutines/detail/tss.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-41 (2)
M hpx/runtime/threads/scheduler_specific_ptr.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-42 (1)
M hpx/runtime/threads/thread.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-43 (2)
M hpx/runtime/threads/thread_data.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-44 (2)
M hpx/runtime/threads/thread_init_data.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-45 (2)
M hpx/util/bind.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-46 (6)
M hpx/util/deferred_call.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-47 (4)
M hpx/util/detail/basic_function.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-48 (6)
M hpx/util/detail/unique_function_template.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-49 (4)
M hpx/util/functional/colocated_helpers.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-50 (4)
M hpx/util/interval_timer.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-51 (2)
M hpx/util/spinlock.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-52 (4)
M hpx/util/spinlock_pool.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-53 (2)
M hpx/util/unlock_guard.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-54 (3)
M tests/performance/local/htts_v2/htts2_payload_precision.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-55 (15)
M tests/performance/local/spinlock_overhead1.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-56 (2)
M tests/performance/local/spinlock_overhead2.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-57 (2)
M tests/regressions/actions/shared_future_serialization_1402.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-58 (2)
M
tests/regressions/components/moveonly_constructor_arguments_1405.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-59 (2)
M tests/unit/lcos/future.cpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-60 (2)
M tests/unit/lcos/shared_mutex/thread_group.hpp
https://github.com/STEllAR-GROUP/hpx/pull/2065/files#diff-61 (2)

Patch Links:

https://github.com/STEllAR-GROUP/hpx/pull/2065.patch
https://github.com/STEllAR-GROUP/hpx/pull/2065.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/STEllAR-GROUP/hpx/pull/2065

Should we consider this a breaking change?

I don't think so, these config macros are not for public use and are not documented. We can still give users a heads up just in case.


svg-symbol-sprite not getting/finding the config file

I am trying to use a custom config file (svgo.config.js) but it seems svg-symbol-sprite is unable to find it's location, even though it is in the same level as the script.
I have another project where I am using yarn and in that project it does seem to be working correctly.
In this current project I am using pnpm as the package manager and script runner, I am using tsx to run a specific file in root called generate-svg-icons.ts
 "scripts": {
    "generate:icons": "tsx generate-svg-icons.ts",
  },

This file uses execSync to call the inline CLI script, it's inside a fs.readDir call with other async functions in order to follow an order in execution.
fs.readdir(iconsDirectory, (error, files) => {
    fs.writeFile(distributionFilePath, tsFileContents, async (error) => {

     // async logic....

     execSync(
      `pnpm svg-symbol-sprite -i public/icons -o public/${svgSymbolsFileName} -c ./svgo.config.js`,
      { stdio: 'inherit' }
    );
  });
});

edit: I also have tried withouth ./ as it is stated should be "absolute" but I get the same result"
I have tried so many ways, even using path.resolve() also tried adding the inline script in a separate script key and still I keep getting the same message:
SVG Symbol Sprite: SVGO configuration file not found. Using default SVGO configuration.

is this related to pnpm being the package manager?
Information about my environment:
OS: windows
NODE: v20.17.0
package manager: pnpm
script runner: tsx

generate-svg-icons.ts and svgo.config.js both are in the same level at root ./

Thanks for opening this and sorry for the troubles which you have.
I haven't tried this with pnpm but it looks like this might be the issue here as it works correctly with yarn or npm.
I also haven't used the module programatically as you do.
One thing which comes into my mind is adding a new script under scripts of your package.json like this:
{
  "scripts": {
    "svg-sprite": "svg-symbol-sprite -i public/icons -c ./svgo.config.js"
  }
}

and then execute it inside your script file like this
execSync(`pnpm run svg-sprite -o public/${svgSymbolsFileName}`, { stdio: 'inherit' });

Disclaimer: I haven't used pnpm and have no idea what stdio: 'inherit' means.
If this doesn't work maybe you can verify that actually pnpm is causing the issues by temporarily switching to npm or yarn?
Let me know how this goes.


Add more contents

Add more contents on following topis:

Kubernetes Concepts in Feynman terms : https://github.com/Tikam02/DevOps-Guide/tree/master/Container-orchestration/kubernetes
More on How  to do things : https://github.com/Tikam02/DevOps-Guide/tree/master/how-to
Add contents in CI-CD : https://github.com/Tikam02/DevOps-Guide/tree/master/CI-CD
Add contents to servers : https://github.com/Tikam02/DevOps-Guide/tree/master/Servers

I am interested in this issue

For CI/CD, are you looking to include explanations on what CI/CD is, how it works, definitions, etc?

@fedGL Yup more on CI/CD parts anything.

I'm interested...Please assign me.!


Wrong requirement in Boost 1.70 API Changes Release notes

Version of Beast
1.70.0
Steps necessary to reproduce the problem
Compare requirement information on https://www.boost.org/doc/libs/1_70_0/libs/beast/doc/html/beast/introduction.html
vs on release notes https://www.boost.org/doc/libs/1_71_0/libs/beast/doc/html/beast/release_notes.html
All relevant compiler information
On one hand it is told : "Tested with these compilers: msvc-14+"
On the other hand it is told : "On Windows, Visual Studio 2017 or later is required"
From Wikipedia:
Visual studio 2015 is known as msvc-14
Visual studio 2017 is known as msvc-14.1

I don't know where to change that. So I did not submit any PR.

Visual studio 2015 is known as msvc-14

It seems like Beast does build with Visual Studio 2015, at least according to Appveyor: https://github.com/boostorg/beast/blob/b7230f12f16fe7a9f7a1ece5be1f607c8552448a/appveyor.yml#L22
This is using msvc-14 which as you said is Visual Studio 2015?

Hi Vinnie,
msvc-14.0 comes indeed with VS2015. Wikipedia and this MSFT blog confirm it.
I am happy to see that Beast 1.70 (and 1.71) looks like working with VS2015 (msvc14).
IMHO, it is strange to use a VS2017 image with a VS2015 toolset (msvc14) in your appveyor yml.
But that's not a big problem.
The main problem to me is that:

when I read the documentation, it looks that I can use VS2015 (msvc14).
when I read the release notes (v1.70 "API changes" chapter) it looks that I must use at least VS2017

I think now that the error is in the 1.70 "API changes" release notes : "On Windows, Visual Studio 2017 or later is required". I think that actually, this is not true. We can probably still use VS2015 with Beast 1.70. I'll give a look but I don't use all Beast functionalities at all.
Maybe you know the reason of this 1.70 release notes line "On Windows, Visual Studio 2017 or later is required". It could clarify our discussion.

Maybe you know the reason of this 1.70 release notes line "On Windows, Visual Studio 2017 or later is required". It could clarify our discussion.

Yep, I know exactly why - it is because I encountered a defect in VS2015 where it failed to compile correct code. We wrestled with it for a while but couldn't figure it out so we just dropped support for VS2015. After some time passed the code in question was either refactored or removed, and VS2015 started compiling again, but I forgot to change back the documentation.

Perfect!
So I understand that VS2015 is the minimum required version and the 1.70 "API changes" release notes : "On Windows, Visual Studio 2017 or later is required" has to be ignored/deleted.
Thanks a lot. It will help me to adopt 1.70 sooner.
I let his issue opened if you want to keep it for cleaning release notes and/or appveyor script. But on my side, it can be closed.
Thanks again

So I understand that VS2015 is the minimum required version and the 1.70 "API changes" release notes : "On Windows, Visual Studio 2017 or later is required" has to be ignored/deleted.

Beast in Boost 1.71 works under VS2015 again, but I'm not sure about 1.70, it might still contain the code that didn't compile correctly in VS2015. We would have to try it to know. Do you have VS2015 installed?

IMHO, it is strange to use a VS2017 image with a VS2015 toolset (msvc14) in your appveyor yml.

Yes I agree, and I investigated - the VS2017 image does in fact contain the VS2015 toolset.

Do you have VS2015 installed?

Yes. But I never tried to build beast by myself (neither boost). I can give a look.

the VS2017 image does in fact contain the VS2015 toolset

I thought you were not forced to give any toolset to appveyor but just the image. So giving only the VS2015 image would have been sufficient imho.
For example , here is the appveyor script I use for my project (I don't give any information about the toolset but only about the image):
https://github.com/F2I-Consulting/fesapi/blob/master/appveyor.yml

No idea, but it seems to work and since I am barely proficient in Appveyor, I tend to leave it alone unless something breaks :)

IIRC I switched the image when I tried to do a build matrix on Appveyor and using the same image worked better for caching of the OpenSSL build. In the end, the matrix never got introduced (because of no parallel builds in Appveyor) but this enigmatic change remained :).

I updated the docs by the way


the changes in these files result from rerunning the codes with rando…

…m operations with a seed. the beta vae was also re optimized using these seed changes and new figures were produced that are included in this PR as well. AFTER this PR has been approved and merged, the beta vae will be retrained using the parameters with a latent dimension of 10 that produced the lowest loss/val_loss scores during optimization. The figures genrated in this PR are produced from the absolute optimal parameters found during the optimization session (a latent_dim=5), again this will be changed to 10 in the upcoming PR

@gwaybio all set for review!

@gwaybio the updated training history data frame is saved as beta_vae_training_history.csv


Revamp Projects Page

Current the event page looks like this on development branch
We need some revamp in redesigns and some beautiful content too, to make project page look aesthetic

Can I Work on this

Go Ahead

Go Ahead

Hey, Look is this correct or I should do more
Project Section Before

Project Section Now

Problem
I am not able to change projects names and description  because these are coming from api. I will suggest that change project name with good Manner and also description is too small
Can I PR Now

Can I still design this

Can I still design this

Hey, I am Working on This

@Harshchourasiya send PR to development branch

I think, you need to check the spelling of Contribute in heading
@Harshchourasiya

@Rihanat we recommend to see for other issues, or create a new issue if you have any ideas for website

Merged #147 into development
Closing this issue.


Changed date guessing heuristic to use last modification time of posts instead of current time, if no better data is available.

Changed date guessing heuristic to use last modification time of posts instead of current time, if no better data is available.
This is a viable and better replacement as all filesystems track this, and git and other version control tools also keep track of this and set it on files on checkout.
The changes:

Instead of DateTime.Now the source file's LastWriteTime is used now
The tests were updated
Updated System.IO.Abstractions and TestingHelpers to version <IP_ADDRESS>
to avoid a bug in the System.IO.Abstractions.TestingHelpers library
making tests to fail
(see: https://github.com/tathamoddie/System.IO.Abstractions/issues/122 )

Good one, thanks a lot!
I just have some question about the tests modifications.

I have addressed your comments. They were totally rightful. Sorry for them, I have just recently pulled some of my changes together from my sandbox branch, and decided to send them. This PR was only sandbox-quality.

No problem, thanks again for your work! :smiley:


chore: Support customizable dockerfile-path option in deploy

This exposes the dockerfile-path option in the underlying build-push action, which RTR uses.
I believe this change is backwards compatible so all the other apps using the workflow don't need to change anything.

Thanks! Note that I had to push up a fix commit after merging because type is a required key now. RTR seems to be running into a further issue a bit down the line, but I confirmed, at least, that Arrow - which uses this workflow - continues to be able to deploy.


valid_password? : a misnomer

Browsing through the authenticatable strategy code I noticed this piece of code that is rather misleading.
# Check if password is present.
def valid_password?
  password.present?
end

This code doesn't really check if a password is valid; it checks if as password is present. This is very confusing as you have to dig deeper into the code to find out what it truly does. The actual body of the function is much more easily comprehensible than the function name itself; I would much more easily comprehend password.present? than valid_password?.
In the spirit of 'complexity is the enemy of security', I propose we deprecate valid_password? and replace it with either password_present? or a simple password.present? unless someone has a strong reason not to.

@ianks the current name is fine. Checking for presence is a validation.
Take a sign up form, for example. When you validate the "Name", all you require is the "Name" to be present, nothing less, nothing more. It is still a validation.
This has the same perspective: "is the password valid for authentication?". Also, the reason this method exists as such is because a subclass my change it.

@josevalim Although I do agree that it is a form of validation, that is mostly a pedantic argument. I am arguing from a perspective of audit-ability and comprehensibility of the code.
Another reason why valid_password? is confusing is that in different contexts it has different meanings. Now while it is typically fine for methods sharing the same name to have differing semantics in different contexts, I think that for issues involving security we should achieve to make things as straight-forward as possible to the user.
I could be wrong here, but to me it is overly vague and goes against 'complexity is the enemy of security' sentiment. Also, why close the issue so soon? Maybe you think that I am nit-picking here, but I was genuinely confused by the nature of the code when auditing it; which is typically a bad sign for a lib which require high security (see OpenSSL for more on this :laughing:).

@ianks well, this is a base class. :) The context will be clear on each child class: for HTTPAuthenticable, the context is HTTP authentication and you may have specific rules there for checking if a password is valid in a HTTP authentication context or not. password_present? definitely does not encapsulate what this method should do.
If you find the code confusing, then more documentation is definitely welcome! However I do believe the method is aptly named and we would need stronger evidence of "complexity" to justify pushing a backwards incompatible change.

The context will be clear on each child class

My original concern was that is is not actually clear in the DatabaseAuthenticatable child class. Maybe a decent compromise would be to make it more explicit in this particular child class.
module Devise
  module Strategies
    # Default strategy for signing in a user, based on their email and password in the database.
    class DatabaseAuthenticatable < Authenticatable
      def authenticate!
        resource  = valid_password? && mapping.to.find_for_database_authentication(authentication_hash)
        # ...
      end
    end
  end
end

Thanks @ianks. You are absolutely right, we should just call password.present? in there.


[semantic][typescript] Class fields assigned by constructor parameters are tokenized as parameters throughout the class

VSCode Version: 1.43.0-insider
OS Version: Windows 10
Minimal repro:
class Foo {
    private bar: string;

    constructor(private baz: string) {}

    private compareBarVsBaz(): void {
        const bar = this.bar;
        const baz = this.baz;
    }
}

Expected behavior:
bar and baz receive the same semantic token type outside of the constructor, since they are both class fields.
Actual behavior:
bar receives "property" token type, while baz receives "parameter".

Does this issue occur when all extensions are disabled?:
Yes

fixed in 1.43.1


Ensured only one task attempts to RebuildProxyCache.

I've been using DotNetBluez for quite a while on a project and had a few changes and fixes.  I merged your project with mine and the only fix I had that yours may not is regarding how locking is handled in BluezManager.GetProxiesAsync()
The change I made was over a year ago.  Unfortunately I can't recall the details of what exact problem prompted this fix.  The recollection I have is a race condition occured where two tasks could rebuild the ProxyCache.  Then I believe I had an issue with either multiple subscriptions to WatchInterfacesAdded/Removed or the _proxyCache[obj.@object] in DropInstanceFromProxyCache having a missing key exception on line 136 (154 in my version) because another thread had already removed it.
I use the library extensively so it would be nice to have a NuGet project to import again so I'm passing it along if you'd like it.

Thanks for the contribution.


Moving list of approvers from .env to GitHub team

Alongside the feature, following changes were made:

Using opstooling-integrations for GitHub interations
Upgraded probot, in order to align underlying octokit versions
between opstooling-integrations and probot itself
Upgraded opstooling-js for the same reason

probably missing the updates to helm?
like https://github.com/paritytech/substrate-tip-bot/blob/master/helm/values-parity-stg.yaml#L10

probably missing the updates to helm?
like https://github.com/paritytech/substrate-tip-bot/blob/master/helm/values-parity-stg.yaml#L10

Yeah

probably missing the updates to helm? like https://github.com/paritytech/substrate-tip-bot/blob/master/helm/values-parity-stg.yaml#L10

I initially wanted to put it in secrets, but that info is by no means secret, so hardcoding it into the helm config seems viable


Transaction failed - transaction declares authority with nano ledger S

Hi,
everytime i want to sign a transaction with my nano ledger S i get this error.
Transaction failed - transaction declares authority '{"actor":"NAME","permission":"owner"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [], provided keys [" KEY"], and a delay max limit of<PHONE_NUMBER> ms
I noticed that the KEY given isn't my public active key. And i think this is the reason why the transaction fails.
could anybody help me with this problem please ?

SAMMMME iSSUE here

Unfortunately, the only way I can get my transaction to go through with an EOS wallet using my nano s is to temporarily turn off my vpn, anti-virus and firewall on my laptop.  Reboot laptop.  Then try transaction again.  So far, it works!  Rediculous!


async options : loader is not stopping if we start typing & click outside

Version

Vue version: 3

Description
multiselect - Tags with async options
issue #1 - loader is not stopping if we start typing & click outside
issue #2 - in async options if we gave max option as 1 we are able to search again

Demo
#7 - Tags with async options -  your Demo fiddle
https://jsfiddle.net/4q3oauy6/6/

Thanks for reporting @farisnceit - the first part is fixed in 2.3.0. I'm not sure about what you mean by the second one though. Please reopen if you experience any issues and give some more details.


bugfix wrong experiment definition for C-H experiment

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (fddcca4) 94.12% compared to head (256e79d) 94.12%.

:exclamation: Current head 256e79d differs from pull request most recent head 0784ea9. Consider uploading reports for the commit 0784ea9 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   94.12%   94.12%
=======================================
  Files          13       13
  Lines         528      528
=======================================
  Hits          497      497
  Misses         31       31

Impacted Files
Coverage Δ

src/fandas/modules/chemical.py
100.00% <100.00%> (ø)

src/fandas/modules/experiment.py
92.56% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


RST problem

I'd just like to remark here that connecting the RST to GPIO15, as instructed, doesn't work for me. The ESP8266 doesn't even boot. Leaving RST unconnected seems to work fine, although I'm not sure what I'm missing.

@skorokithakis Can you please send me your circuit diagram and all the steps of connection. I need it urgently.

@skorokithakis Also please send me the running code. I have an urgent project and I have got only 1 day to complete it.

hi
connect  gpio 15 pin with ground  and check your sketch ..
RST connected with RST pin

Leaving GPIO15 unconnected on a NodeMCU works fine. The RST on the ESP12 is an input, so connecting that to the RST pin of the reader wouldn't work, since that's also an input, no?
I'll change the GPIO pin in the code and report back, thanks.

That worked, thank you! Looks like the GPIO15 on a NodeMCU isn't meant to be connected anywhere. Looks like it's used as TXD2, whatever that means.


Add support for K3d + Sysbox

The goal here is to allow K3d tool to be able to create K8s clusters running over Sysbox containers. Sysbox would offer the following benefits over K3d's default runtime (runc):

Security: Sysbox would allow secure containers to be utilized as K8s-nodes -- currently K3d can only run over 'privileged' containers.
Simplicity: K3d's Dockerfile images could be drastically simplified as Sysbox absorbs most of the complexity required to allow K8s execution.
Flexibility: Sysbox imposes no restrictions on the docker images to utilize, so users would have more flexibility to define their own (customized) K8s-node images, including inner images corresponding to K8s components and/or applications.

Of the benefits listed, I think the security benefit would certainly be realizable and is the most compelling.
Regarding the simplicity & flexibility benefits, these may not be realizable given that k3d must work with the OCI runc which requires more complex container images for the K8s nodes. It's not clear to me that k3d can be easily changed to use the simpler images which would work with sysbox but not with the OCI runc. A similar problem occurs with integrating K8s.io KinD + sysbox. This problem does not occur with kindbox since it's designed to work with sysbox, thus allowing users to use any container image for the k8s nodes.

Now I just stumbled upon sysbox and then this issue and it sounds pretty interesting!
@rodnymolina & @ctalledo , what changes would be required on k3d side?
I assume it'd need

flag to disable the privileged mode
flag to use sysbox
simplified K3s image (that can be chosen using k3d's --image flag)
Probably those options could be bundled into a single feature flag :thinking:

Hi @iwilltry42, glad that you found us. And btw, thanks for your quick fix for this and this, will test it later.
For the record: I stumbled into that problem while trying to run K3d inside a Sysbox-powered container, which is also part of the scope of this K3d+Sysbox integration effort.
Now, in regards to this issue's primary goal (run K3d through Sysbox runtime), I think you pretty much described all the tasks that would be needed. And yes, I agree that from a UX perspective, the best would be to bundle these features in a single K3d flag.
Please let us know if have any other question. For obvious reasons, we are interested in having this job done asap, so let us know if you need any help from us.

Hi @rodnymolina , sorry, this got buried in my mailbox.. :roll_eyes:
With regards to the simplified K3s image: do you have an image already that would work with Sysbox?

Hi @iwilltry42, thanks for following up.

With regards to the simplified K3s image: do you have an image already that would work with Sysbox?

In theory any image that carries a distro supported by K3s should work. That is, you should be able to do docker run --runtime=sysbox-runc <some-image> to create a (rootless) Sysbox container, and from inside that image run curl -sfL https://get.k3s.io | sh - and K3s should come up (as if it where running in a VM or bare-metal).
For example, this works:
# Launch a Sysbox container
$ docker run --runtime=sysbox-runc -d --rm --name=k3s-master nestybox/ubuntu-focal-systemd-docker

# Exec into it and start K3s as usual
$ docker exec -it k3s-master /bin/bash

root@8d11757f7be1:/# cd
root@8d11757f7be1:~# curl -sfL https://get.k3s.io | sh -
[INFO]  Finding release for channel stable
[INFO]  Using v1.22.5+k3s1 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.22.5+k3s1/sha256sum-amd64.txt
[INFO]  Downloading binary https://github.com/k3s-io/k3s/releases/download/v1.22.5+k3s1/k3s
[INFO]  Verifying binary download
[INFO]  Installing k3s to /usr/local/bin/k3s
[INFO]  Skipping installation of SELinux RPM
[INFO]  Creating /usr/local/bin/kubectl symlink to k3s
[INFO]  Creating /usr/local/bin/crictl symlink to k3s
[INFO]  Skipping /usr/local/bin/ctr symlink to k3s, command exists in PATH at /usr/bin/ctr
[INFO]  Creating killall script /usr/local/bin/k3s-killall.sh
[INFO]  Creating uninstall script /usr/local/bin/k3s-uninstall.sh
[INFO]  env: Creating environment file /etc/systemd/system/k3s.service.env
[INFO]  systemd: Creating service file /etc/systemd/system/k3s.service
[INFO]  systemd: Enabling k3s unit
Created symlink /etc/systemd/system/multi-user.target.wants/k3s.service → /etc/systemd/system/k3s.service.
[INFO]  systemd: Starting k3s

root@8d11757f7be1:~# kubectl get all
NAME                 TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
service/kubernetes   ClusterIP   <IP_ADDRESS>    <none>        443/TCP   73s

# Verify container is rootless
root@8d11757f7be1:~# cat /proc/self/uid_map
         0     165536      65536                   # <<< root user in container maps to unprivileged user in host

The Dockerfile for nestybox/ubuntu-focal-systemd-docker is here.
Hope this helps, let me know of any other questions please.


How to use this for my own images not anything from test set

Hi, Gul.
I have done the following things:
Pre-processing and fitting python scripts
Python 2 environment with the following installed:
    OpenDr
    Chumpy
    OpenCV
SMPL related
    Download SMPL for python and set SMPL_PATH
        Fix the naming: mv basicmodel_m_lbs_10_207_0_v1.0.0 basicModel_m_lbs_10_207_0_v1.0.0
        Do the following changes in the code smpl_webuser/verts.py:

    - v_template, J, weights, kintree_table, bs_style, f,
    + v_template, J_regressor, weights, kintree_table, bs_style, f,
    - if sp.issparse(J):
    -     regressor = J
    -     J_tmpx = MatVecMult(regressor, v_shaped[:,0])
    -     J_tmpy = MatVecMult(regressor, v_shaped[:,1])
    -     J_tmpz = MatVecMult(regressor, v_shaped[:,2])
    + if sp.issparse(J_regressor):
    +     J_tmpx = MatVecMult(J_regressor, v_shaped[:,0])
    +     J_tmpy = MatVecMult(J_regressor, v_shaped[:,1])
    +     J_tmpz = MatVecMult(J_regressor, v_shaped[:,2])
    +     assert(ischumpy(J_regressor))
    -     assert(ischumpy(J))
    + result.J_regressor = J_regressor

    Download neutral SMPL model and place under models folder of SMPL
    Download SMPLify and set SMPLIFY_PATH
Voxelization related
    Download binvox executable and set BINVOX_PATH
    Download binvox python package and set BINVOX_PYTHON_PATH

Question:
When i have executed the file fitting/fit_surreal.py it is creating an obj and some mat files .but if i want to use my own image to get the prediction . what standards should i follow or what all should i pass in order to get an obj with prediction?

Hi, please use the demo scripts to run the test on your own images:
https://github.com/gulvarol/bodynet/tree/master/demo

Thanks Gul for quick response.
i have built the torch with cuda 10 and installed luarocks and when i ran demo.lua i have got this error:
th>  demo.lua
[string "_RESULT={ demo.lua}"]:1: attempt to index global 'demo' (a nil value)
stack traceback:
/home/bigthinx/torch/install/share/lua/5.2/trepl/init.lua:506: in function '__index'
[string "_RESULT={ demo.lua}"]:1: in main chunk
[C]: in function 'xpcall'
/home/bigthinx/torch/install/share/lua/5.2/trepl/init.lua:661: in function 'repl'
...hinx/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk
[C]: in ?
[0.0004s]
th>
in order to resolve that what i need to install? i'm new with lua and never used it before.


[FE]: Investigate JavaScript Canvas

Description:
As part of the project, we need to explore and understand the capabilities and usage of the JavaScript Canvas API. The JavaScript Canvas API allows for dynamic, scriptable rendering of 2D graphics on web pages. This investigation task is crucial for assessing whether the Canvas API is suitable for our project requirements.
Subtasks:

Canvas Basics: Research and understand the fundamental concepts of the HTML5 Canvas element, including its role in rendering graphics on a web page.

Canvas Rendering Context: Explore the various rendering contexts available in the Canvas API, particularly the 2D rendering context.

Drawing Primitives: Investigate the methods for drawing basic shapes and lines on the Canvas, such as rectangles, circles, lines, and text.

Styling and Colors: Research how to apply styles, colors, and gradients to Canvas elements, including fill and stroke styles.

Transformations: Investigate how to apply transformations, such as scaling, rotation, and translation, to objects on the Canvas.

Event Handling: Explore how to handle user interactions, such as mouse clicks and keyboard events, on the Canvas.

Animation and Frames: Investigate techniques for creating animations and working with frames to achieve smooth, dynamic graphics.

Image Manipulation: Research methods for loading, displaying, and manipulating images on the Canvas.

Performance Considerations: Investigate best practices for optimizing Canvas performance, including considerations for responsiveness and efficiency.

Compatibility and Browser Support: Explore the compatibility and browser support of the Canvas API, including potential limitations or issues with older browsers.

Deliverables:
A detailed report summarizing the findings of the investigation.
A list of pros and cons related to using the JavaScript Canvas API for our project.
Recommendations on whether the Canvas API is suitable for our project's graphics and interaction requirements.
Links:

MDN Canvas API
 W3Schools Canvas Tutorial
Konva.js

Assign this to me please. @VachaganGrigoryan

Hello @Mstanic05,
you can take look on it.
We planning to start React JS project and we want to use Canvas as well


Cant make controller in luman

I am trying to make a controller but getting this error.
C:\xampp\htdocs\gimo\gov2>php artisan make:controller netbetngController
[ErrorException]
Undefined index: HTTP_HOST
Can some one please help.

Related to https://github.com/bugsnag/bugsnag-laravel/issues/68 perhaps?

What version of Bugsnag's library are you using please? This looks a lot like the same issue I fixed a few years ago: https://github.com/bugsnag/bugsnag-php/pull/302.
Please could you run composer show | grep 'bugsnag/\|laravel/' from the directory of your project that contains the composer.json file. This will show us the versions of Bugsnsag and Laravel you have.

Hi @sarderiftekhar, I'm closing this for now.  If the issue reoccurs, or you've got some more information, we'll get it reopened.


Exchange online should be removed as um online is decommissioned

Please remove exchange online from this page in enable-ummailbox and disable-ummailbox as exchange online um is decommissioned

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

ID: b7e92104-ab9d-d186-95bf-ce95b1b1cd68
Version Independent ID: d0098c54-1c5c-85c4-f264-8214ba814a92
Content: Enable-UMMailbox (exchange)
Content Source: exchange/exchange-ps/exchange/unified-messaging/Enable-UMMailbox.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@Danesh89, 100% agree that Exchange UM in the cloud is going aware or gone, but the cmdlets are still available. I'm hesitant to remove Exchange Online info until the cmdlets are actually no longer available. It could be a matter of timing (if we wait a bit longer, the cmdlets might go away).
The announcement is here:
https://techcommunity.microsoft.com/t5/exchange-team-blog/retiring-unified-messaging-in-exchange-online/ba-p/608991

@officedocsbot assign @yogkumgit

@chrisda  Thank you very much for sharing this explanation. @Danesh89 Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Support external SqlConnection and SqlTransaction.

SqlBulkCopy has a constructor that permits a SqlConnection and
SqlTransaction to be provided. Expose this to support applications where
the BulkWriter needs to run in the context of a transaction.

Conflicts :(

Ok, all good now.
I reverted the change I made in commit 5e47199 since it is outside the scope of the PR. Although I think there still is a bug re the handling of the [NotMapped] attribute?

I believe the issue with the [NotMapped] was fixed by https://github.com/HeadspringLabs/bulk-writer/pull/21

Indeed. All looks good to go now @jbogard, a new release would be grand!

Bring it on!


cli: yarn start should warn when app.baseUrl conflicts with backend.baseUrl

Feature Suggestion
If the app.baseUrl and backend.baseUrl are set to the same value when running yarn start we should probably warn or even hard fail, as I can't think of any valid configuration where you would want that.
I think it's worth a warning because it's hard to figure out what going wrong if you do this by mistake, as running both the backend and the frontend on the same port can lead to some pretty unexpected behavior.
Worth noting that using an identical value for the two URLs is a fully valid production configuration, but yarn start is only for use in development.
Possible Implementation
We could implement this as part of the app:serve command in the CLI, which already loads in the app-config. It could make sense to limit the check to localhost:* URLs, as there could potentially be valid setups that use the same URL but with other hostnames. It's probably best to start off with a warning.
Context
Troubleshooting this on Discord

Yep this is just for local development, for production it's fine if they're the same

@Rugvip seems like putting comments down at two in the night impacted my reading abilities! Sorry, for the comment 😃


snowflake_account admin_rsa_public_key should not be considered sensitive

Provider Version
version = "0.56.0"
Terraform Version
Terraform v1.3.6
Describe the bug
The admin_rsa_public_key attribute of the snowflake_account resource is currently considered sensitive.
Expected behavior
Public keys are meant to be public, so there is no reason it should be considered sensitive.
Code samples and commands
In addition to the somewhat philosophical idea that "public keys are public", and "public things aren't sensitive", Snowflake wants public keys to be input without the usual -----END RSA PRIVATE KEY----- and -----BEGIN RSA PRIVATE KEY----- strings, like this:
alter user jsmith set rsa_public_key='MIIBIjANBgkqh...';
So if a user is generating a public key by way of terraform, then they need to use terraform functions to strip those unwieldy strings, like this:
resource "tls_private_key" "rsa" {
  algorithm = "RSA"
}

resource "snowflake_account" "ac1" {
  ...
  admin_rsa_public_key = trimspace(replace(tls_private_key.rsa.public_key_pem, "/-----(BEGIN|END) PUBLIC KEY-----/", ""))
}

If you need to trim the string in such a way, it's helpful to see the string in your terraform plan.
Additional context
Relates to https://github.com/Snowflake-Labs/terraform-provider-snowflake/pull/1492

Hello 👋
Recently, we released v0.100.0 and v1.0.0 that contains reworked account resource. The admin_rsa_public_key is not marked as sensitive value there. Please migrate with the use of migration guide.


Salesforce Code Analyser is not working

whenever I'm trying to run code analyser its not working even after re-installation so please resolve this ASAP

@nitinsen05 , can you give us any more information about this? E.g., what version of the VSCode extension you're using; what version of Code Analyzer itself you're using; what the actual behavior you're observing is; etc?
We need a little more to go on than what you're currently providing here.

hi I've shared the necessary details below and shared the screen shot of my
issue(code analyzer seems stuck not processing), please resolve this issue
as soon as possible.
Vs code version:- 1.95.3 (Universal)
Code analyzer version V1.3.0
On Mon, Nov 25, 2024 at 9:32 PM Josh Feingold @.***>
wrote:

@nitinsen05 https://github.com/nitinsen05 , can you give us any more
information about this? E.g., what version of the VSCode extension you're
using; what version of Code Analyzer itself you're using; what the actual
behavior you're observing is; etc?
We need a little more to go on than what you're currently providing here.
—
Reply to this email directly, view it on GitHub
https://github.com/forcedotcom/sfdx-code-analyzer-vscode/issues/149#issuecomment-2498421186,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAXJG6PSW7RQXHJQ2JZ3UDT2CNCYRAVCNFSM6AAAAABSNDSABSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJYGQZDCMJYGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@nitinsen05 , Code Analyzer v1.3.0 is an extremely old version and won't work with the VSCode Extension. Please try upgrading to v4.7.0 with sf plugins install @salesforce/sfdx-scanner@latest, and let us know if that resolves the issue.

I used the above command but still its showing the old version and code
analyzer is not working
On Mon, Nov 25, 2024 at 10:45 PM Josh Feingold @.***>
wrote:

@nitinsen05 https://github.com/nitinsen05 , Code Analyzer v1.3.0 is an
extremely old version and won't work with the VSCode Extension. Please try
upgrading to v4.7.0 with sf plugins install
@@.***, and let us know if that resolves the
issue.
—
Reply to this email directly, view it on GitHub
https://github.com/forcedotcom/sfdx-code-analyzer-vscode/issues/149#issuecomment-2498593155,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAXJG6KV5NOYDMU76TNAWQL2CNLLVAVCNFSM6AAAAABSNDSABSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJYGU4TGMJVGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@nitinsen05 , can you do sf -v?

i need your assistance so can you please connect with me via google meet or
something else it will be really helpful for me
On Mon, Nov 25, 2024 at 10:54 PM Josh Feingold @.***>
wrote:

@nitinsen05 https://github.com/nitinsen05 , can you do sf -v?
—
Reply to this email directly, view it on GitHub
https://github.com/forcedotcom/sfdx-code-analyzer-vscode/issues/149#issuecomment-2498615531,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAXJG6LPFFGCIKZ2FUQKA6T2CNMOVAVCNFSM6AAAAABSNDSABSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJYGYYTKNJTGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Manually resolved via meeting. The problem was that the machine didn't have viable versions of Node or Java installed.

hi @josh thanks for the support my issue has resolved
On Mon, Nov 25, 2024 at 11:06 PM Josh Feingold @.***>
wrote:

Sure. My work email is @.*** Please email me at that
address and we can work something out.
—
Reply to this email directly, view it on GitHub
https://github.com/forcedotcom/sfdx-code-analyzer-vscode/issues/149#issuecomment-2498640324,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAXJG6NF3DZCCS6RYYNQT3L2CNNYPAVCNFSM6AAAAABSNDSABSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJYGY2DAMZSGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Some submenus are not loaded on startup

It seems some for the submenu items like:
Edit > Show Color Schemes in Menu
Edit > Show Keymaps in Menu

Does not initially show the submenu.
You have to click the submenu item one to load the submenu and then go into the Edit menu again to see that the submenu is now there.
But then again if you click Edit a few times to unfold/fold the menu then for some reason the Color Schemes and Keymaps menus are loaded.
I dont know why the sub menus are not just loaded. For reasons of speed i would presume.
But if the sub menus are not there on startup could we not make it so that you could just hover the cursor on the menu item or click it to load the submenu without having to go to the edit menu once again.
gVim 8.1.1 on Windows 7.

They are loaded lazily because loading those menus are slow.
See :help menu.vim and the patch 8.0.1279.

It seems some for the submenu items like:
Edit > Show Color Schemes in Menu
Edit > Show Keymaps in Menu

Does not initially show the submenu.
You have to click the submenu item one to load the submenu and then go
into the Edit menu again to see that the submenu is now there.
But then again if you click Edit a few times to unfold/fold the menu
then for some reason the Color Schemes and Keymaps menus are loaded.
I dont know why the sub menus are not just loaded. For reasons of
speed i would presume.

Yes, analyzing startup time showed that loading these menus takes quite
a bit of time, while they are hardly ever used.

But if the sub menus are not there on startup could we not make it so
that you could just hover the cursor on the menu item or click it to
load the submenu without having to go to the edit menu once again.

I think the current solution works quite well, don't see a reason to
change it.
--
From "know your smileys":
:-| :-|   Deja' vu!
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Cant they just be loaded when the cursor is on the menu item?
I find it annoying that i have to open the menu click the menu item... then do the exact same thing again.
Or dont close the menu when i click "Show..." that way i dont have to open it again.

Vim script doesn't support such fancy mechanism.
If you don't like the behavior, write let do_no_lazyload_menus = 1 in your .vimrc as the help says.

In gVim on Linux Mint using GTK i think the menu updates when its unfolder without having to close and reopen it so thats kind of what i was looking for.
let do_no_lazyload_menus = 0 does not seem to disable it and let do_no_lazyload_menus = 1 does not seem to change it.
It take about 4 seconds from i start gvim untill the menu items changes to sub menus automatically.

You need to make sure this setting comes before the menus are actually loaded. This can happen when using the :filetype and :syn commands which might also load menus. So it should be at the very beginning.


Unexpected token when serving the app

After creating an app with the adonis-cli, I get the following error when running npm run serve:dev. The app creation process appeared successful. I'm running Node v4.3.1 and npm 3.10.9. Any ideas of what might be causing this?
><EMAIL_ADDRESS>serve:dev /Users/mmmdunk/Web/yardstick
> nodemon --watch app --watch bootstrap --watch config --watch .env -x "node --harmony_proxies" server.js

[nodemon] 1.11.0
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: /Users/mmmdunk/Web/yardstick/app/**/* /Users/mmmdunk/Web/yardstick/bootstrap/**/* /Users/mmmdunk/Web/yardstick/config/**/* .env
[nodemon] starting `node --harmony_proxies server.js`
SyntaxError: Unexpected token [
 at /Users/mmmdunk/Web/yardstick/app/Listeners/Http.js (/Users/mmmdunk/Web/yardstick/app/Listeners/Http.js:1:1)
[nodemon] clean exit - waiting for changes before restart

Yup a known bug, would you mind commenting the usage of youch within this file. I will pushing the fix by tonight

Fixed everything with a proper test suite for windows too. You can upgrade youch to latest version

It looks like you already fixed this, before I could get the youch output to you. Thanks!

👍 Closing


Registering from a razor page

From a Blazor Razor page, when registering the client interface:
var subscription = hubConnection.Register<IDatafeedClient>(this);
This exception is thrown:
System.InvalidOperationException: Failed to register a receiver. TypedSignalR.Client did not generate source code to register a receiver, which type is Trading.Abstractions.Datafeed.IDatafeedClient.
at TypedSignalR.Client.HubConnectionExtensions.Register[TReceiver](HubConnection connection, TReceiver receiver) in \TypedSignalR.Client\TypedSignalR.Client.SourceGenerator\TypedSignalR.Client.HubConnectionExtensions.Generated.cs:line 38
at Trading.IntlWeb.Pages.SignalRClientTest.OnInitializedAsync() in \Trading.IntlWeb\Pages\SignalRClientTest.razor:line 30
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.g__ProcessAsynchronousWork|48_0()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.WaitForQuiescence()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.RenderRootComponentAsync(Int32 componentId, ParameterView initialParameters)
at Microsoft.AspNetCore.Components.Rendering.HtmlRenderer.RenderComponentAsync(Type componentType, ParameterView initialParameters)
at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.<>c__11`1.<b__11_0>d.MoveNext()
Why would this occur?

I think the issue is if you implement this directly in the razor file, it won't work, but if you put it in a code behind partial class it'll work.

A razor file (.razor) is not a standard C# file (.cs). Razor files are compiled by the razor compiler. The C# Source Generator then analyzes the C# code the user wrote and generates the code. If the razor compiler outputs C# code and the C# Source Generator can analyze that output, then CreateHubProxy and Register in TypedSignalR.Client would work correctly.
However, the reality is different.
Is the razor compiler executed before the C# Source Generator? or even if the razor compiler is executed before, can the C# Source Generator analyze the output? Also, that output may not be C#. Therefore, it is difficult for the C# Source Generator to analyze the code in the @code block of a razor file and generate code.
And TypedSignalR.Client is a C# Source Generator.
Therefore, calling CreateHubProxy or Register directly in the @code block will not generate the code correctly.
As you know, this problem can be solved by using CreateHubProxy or Register in a regular C# file (e.g., code behind).


⚠ ClamAV has degraded performance

In e2df868, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 235 ms

Resolved: ClamAV performance has improved in ced891d after 5 minutes.


Some corner-case kernels that crash with segfault

Here follows a list of kernel signatures that cause segfaults:
void -> int64
int64 -> int64, int64

The segfaults occur before calling the kernel function (tested with Xnd kind), hence the issue is inside gumath.
In case the signature is invalid or unrealistic or does not make sense for any reason, gumath ought not to allow registering such kernels, imho.

Thanks!  This was caused by a silly hack to get the xnd type.  Should be fixed in 723059a5376f74a95f7198b224734c56420882e6.

The fix is confirmed. Thanks for the quick fix!