Sound System Crash

Mod Version: <IP_ADDRESS>
*Forge Version:*<IP_ADDRESS>4
Description: During play the console will spam the following:
[Client thread/WARN]: Unable to play unknown soundEvent: minecraft:
Eventually it will cause the sound system to crash and the console will print the following:
[23:12:04] [Client thread/WARN]: Autorestart of sound system!
[23:12:04] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:
[23:12:04] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...
[23:12:09] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:errorMessage:131]: Error in class 'LibraryLWJGLOpenAL'
[23:12:09] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:errorMessage:132]:     Stream thread did not die!
[23:12:09] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Ignoring errors... continuing clean-up.
[23:12:09] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
[23:12:09] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:
[23:12:09] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:
[23:12:09] [Sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[23:12:09] [Thread-50/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[23:12:09] [Thread-50/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[23:12:09] [Thread-50/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
This seems to happen only near my Witch grinder. I suspect that Witches are supposed to make a sound other than or as well as the one they currently make when taking damage. A sound that DS cannot find.
When playing on a server this became such a lagfest clientside that I had to disable the mod which instantly removed all problems.
Edit: No lag is experienced on single player.

Actually the unknown sound event is caused by the sound system that crashed, not the other way around.  The crash in the sound system is due to a bug in the underlying sound system that Minecraft is using.  Dynamic Surroundings does a restart of the sound system when it detects the streaming sound thread has died.
What you can do is tag the Witch death sound for culling using the Individual Sound Configuration dialog in the mod config.  This should reduce pressure on the sound engine.  Failing that you can disable auto recovery and just let the streaming sound thread stay dead.  The side effect of doing this is that you will no longer get streaming sounds, which include music and the biome sounds of Dynamic Surroundings.

Can you at least include an option to remove the notification in game?  I don't really even notice when the sound crashes and restarts... but I notice the message that pops up, which makes me concerned for no real reason.

Thank you for such a prompt response, OreCruncher. Much obliged.
I have not noticed in game notifications of this error. I only receive them in the console. I'm rather glad they were there seeing as it helped me deduce what the problem was.
I'm having trouble disabling the witch sound. I'm unsure what to place in the config. Here's what I have.
Sounds to block from playing [default: [dsurround:bison]]
S:"Blocked Sounds" <
    dsurround:bison
    minecraft:witch
 >

I tried dsurround:witch first, thinking that DS added the witch sound. Where can I discover a list of these sound files? I sure wouldn't mind broadening my knowledge.

Backporting the sound engine crash patches from the more current builds.


[Fix] Slider default value bug in iOS 14

This PR fixes the bug in common-samples/issues/2148 - slider doesn't honor the default value set in storyboard, in iOS 14.

There is no official bug reporting thread found on Apple forum, but the same issue was spotted by other developers. See section 2 in this post: https://fahimfarook.medium.com/xcode-12-and-ios-14-developer-bugs-and-issues-ada35920a104
This issue only affects iOS 14.

[x] Generate offline map (overrides) > Max scale level slider
Fixed by setting the slider's value to max in code
[x] Line of sight (geoelement)
Fixed by setting the default value to the height of ESB
[x] Surface placements
Fixed by setting the value to the half of min + max
[x] ColorPickerViewController (display grid, change map background, etc.)

not changed, the expected behavior is set to 0 each time. Reset the values in storyboard.

Just out of curiosity, were the storyboard changes necessary? They don't seem to be.

No they are not must-have. Probably I was making a wrong move...
I changed the default value in storyboard so that the value is the same as what we set in the code.
Two reasons:

if one day we want to remove the setter in code, the behavior of the sample won't change
Sarat compared on device values against storyboard values, so I thought it would be good to keep them the same

Keep in mind that just because Xcode makes a bunch of silly changes to a storyboard file, that doesn't mean you have to commit them. Sometimes it is better to just commit the one line that was intentionally changed and ignore the rest.


Add support for CTC for float64

Previous pull request with this commit #21822

Are you sure @rthadur? One more year of waiting from the same reviewer?

@rthadur, as with #21822, @ebrevdo just ignores this PR

Should I do something to fix the error with the failed build? Because I have no idea what to do with this specific error.

I will try and fix it upon merge.
On Thu, Aug 15, 2019 at 12:40 AM aprimostka<EMAIL_ADDRESS>wrote:

Should I do something to fix the error with the failed build? Because I
have no idea what to do with this specific error.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/31164?email_source=notifications&email_token=AANWFG72LH6TRGMGDBEEUATQEUB5FA5CNFSM4IH4GVH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4LC5VY#issuecomment-521547479,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANWFG6NMNHU23JDTO6FAGLQEUB5FANCNFSM4IH4GVHQ
.


Predeploy CreateX contract (like Nick's CREATE2 factory)

Component
Anvil
Describe the feature you would like
CreateX already deployed on 56 chains: https://github.com/pcaversaccio/createx
Includes Create3 factory.
Proposal - handle in the similar manner like Nick's contract is handled.
https://github.com/foundry-rs/foundry/pull/5391
i.e. Include the CreateX factory deployer when starting up anvil by default, and add a new --disable-default-createx-deployer flag to not deploy it. It will also not be deployed if anvil is forking, to properly simulate the conditions of that chain.
Additional context
No response

Closing as duplicate of #2638


Bugfix for Task call ambiguities

When compiling in VS 2017 it drops 3 same errors:
The call is ambiguous between the following methods or properties: 'Task.Run(Action, CancellationToken)' and 'Task.Run(Func, CancellationToken)'

I’ll merge your pull request, thanks for the input


How to Pass separate file from view in Handlebar JS?

Before filing issues, please check the following points first:

[x] Have a look at https://github.com/wycats/handlebars.js/blob/master/CONTRIBUTING.md
[x] Read the FAQ at https://github.com/wycats/handlebars.js/blob/master/FAQ.md
[ ] Use the jsfiddle-template at https://jsfiddle.net/9D88g/47/ to reproduce problems or bugs

This will probably help you to get a solution faster.
For bugs, it would be great to have a PR with a failing test-case.
# MY ISSUE
I facing issue while using handlebar.JS my issue is pretty simple but i can't get the solution :)
Issue:How I can pass the JS or CSS file in footer or header partial in Handlebar.JS
More Detail of My Existing Issue
In footer I have change .js file for each page like for home page i have 6 .js files and in user page I have 8 .js file also its change from home page so in this case how can i add these .js file in my footer partial
I have one layout in Handlebar.JS
<body>
{{>header}}
{{body}}
{{>footer}}
</body>

I create header and footer partials and all .js files in footer now issue is I need to add one specific file from {{body}} view that will render in my {{>footer}} partial.
Is it possible if yes then how can i archive my objective?

Your template looks like the a layout-template for the express-handlebars engine. This engine makes a distinction between layout-tempates (containing the {{body}} or {{{body}}}) and templates that are rendered inside the {{{body}}). This is not part of the core handlebars library, so I guess the question would be better posted to the express-handlebars-project.
My naive solution would be to render the file at the bottom of the body, but this may not be what you need...

Closing due to inactivity.


TypeError: 'Image' object is not iterable

when running test.py
File "test.py", line 20, in run
out, out_bilinear = upscale_image(model, lr)
TypeError: 'Image' object is not iterable

thanks for your interest. I've just updated a missing value. Please kindly clone again and run it.


Darowa Jopta x2

Hi, i need add new custom highlight to right sidebar,
but i don't know how to create this.

Why you bullying me?


Memory optimization for jax trainer.

Update the JAX trainer to use less memory during fit/eval.
Currently we keep 3 copies of all the model variable state during training:

jax.array attached to the KerasVariable
jax.array as input to the jax.jit() train/eval function
jax.array returned from jax.jit() train/eval function, which is also attached to the trainer.jax_state.

the 2 and 3 will keep getting update during the training process, but 1 will be a stale copy and unnecessarily occupying the heap size. In the large model case, this will be huge.
This PR will purge the 1, and it will restore the KerasVariable at the end of the epoch. This save the memory size by 33%. From some early test result internally, the per device memory usage is reduce from 9.49G to 6.65G for a OPT2 model.
I will send follow up PR to address additional memory usage for eval and predict functions.

Let's park this PR for now, since there are some underlying issues (discovered in the unit test) need to be address.

ok. I think i figure out the issue.

The regularizer is actually a bug in the existing code, where a stale version of variable value is used. The layers.py is updated to retrieve the latest value if it is in a stateless scope.
The RNN failed since it was trying to create a plant stateless scope under the hood, which doesn't have any variable mapping. I added a conditional creation of the Stateless scope to fix the issue.

Humm, its more tricky than I expected, esp for RNN. In the RNN (LSTM/GRU) with dropout, the seed generator get updated within the jax.lax.scan() in https://github.com/keras-team/keras-core/blob/b4019bc1bfa2c2f15decb533d054cbcf31562124/keras_core/backend/jax/rnn.py#L188 (we even have a comment about the function need to be stateless). Since the step function doesn't return the RNG state as explicit result, when we captured the updated RNG from train function and reuse it for jax constraint, JAX complain about this leaked state from the scan function.
I think the current repo is probably not working correctly, since the StatelessScope for the scan function was throw away, which mean the RNG seed update is lost.
Will take a closer look tomorrow.

I think the current repo is probably not working correctly, since the StatelessScope for the scan function was throw away, which mean the RNG seed update is lost.

We previously observed some weirdness in JAX RNNs (though not connected to dropout it seems). Maybe some relationship there? https://github.com/keras-team/keras-core/issues/322

Since the step function doesn't return the RNG state as explicit result, when we captured the updated RNG from train function and reuse it for jax constraint, JAX complain about this leaked state from the scan function.

I think we might want to add a stateless version of the step function / etc.

I think the current repo is probably not working correctly, since the StatelessScope for the scan function was throw away, which mean the RNG seed update is lost.

We previously observed some weirdness in JAX RNNs (though not connected to dropout it seems). Maybe some relationship there? #322

The particular issue we hit is for the RNG state, which gets updated when using dropout. It runs fine if I disable the dropout for the layer. Need to dig a bit more.

Having said that, I think my cl will actually fix the issue in https://github.com/keras-team/keras-core/issues/322. Due to the stateless scope in the jax.lax.scan function, it will only read the staled variable value, which is probably why it is not trained properly.

So the stateless RNN test failure should be addressed by https://github.com/keras-team/keras-core/pull/924, and the test for this PR should pass now.


Implement the parental control feature

It consists of several parts:

[ ] Safe search
[ ] Blocking adult websites (see the protocol described here)
[ ] Websites whitelist/blacklist

core/pull-requests/665


Generate extension uris and functions from pojos instead of storing

Fix bug in Plan proto conversion caused by storing extension uris and functions in Plan pojo and using when generating proto instead of regenerating.

FYI, I have a test in https://github.com/substrait-io/substrait-java/pull/27 over here, but I forgot to move it into this PR.


Amqnet 834 add better access to ConsumerDestination

see: https://issues.apache.org/jira/browse/AMQNET-834
This pull request adds a makes the property "consumerDestination" public. This enables applications to view the fully qualified destination name, when subscribed to a topic, instead of only the topic address.
E.g.
now, when you are subscribed to a topic "topic.my.topic::consumer.topic.my.topic", and you receive a message with nms. When you look at NMSDestination on the message, you'll only see "topic.my.topic"
With this pull request, and possible an extra one to nms-api (for the IMessage type), you can look at NMSConsumerDestination, and you'll see "topic.my.topic::consumer.topic.my.topic".
The only way we can get the fully qualified name now, is trough reflection:
var prop = msg.GetType()
                    .GetProperty("consumerDestination", BindingFlags.NonPublic | BindingFlags.Instance);

@Jefwillems  technically the "queue" part in the fqqn on a topic is actually in NMS/JMS parlance is the subscription name. As well the subscription name is tied to the consumer, as such whilst the message has this internally in amqp implementation of nms, in other nms clients it may not be there, if you need to read back the subscription name, this would have to be off the consumer object, i would suggest a better "NMS/JMS" way would be to expose a getter on the IConsumer in NMS API, to get the JMS2 subscription name, this then would be possible to implement in other implementations of NMS, such as openwire one/when they support sharedsubs.

btw sorry for slow response, summer kids holidays....

@Jefwillems i guess my worry is exposing this at the nms api layer, what your doing peeking into something which is amqp specific..... not sure how much would want end users poking at internals, appreciate you know the internals as contributor to this project and you know the objects, and thus why you know you can "steal" this information from the internal details.


Reset stylis for preprocessUtils

@mxstbr Yea, @thysultan is making some plans for a non-singleton API, which will fix this for us :)

is this published yet?

@luisrudge I can publish it in an hour or so. Sorry for the delay, I still had an ongoing discussion with @thysultan about this


Xcode8

don't work in xcode8 :(

It's working, I am using Xcode 8. What is the exact probelm @patikzetrixweb1234 ?


In-store location tracking with PoleStar beacon solution aka NAO

A simple Android application using TD Android SDK and Pole Star NAO SDK to provide indoor location tracking services.

@tung-vu-td @huylenq Since you have been working on td-android-sdk, can I ask you to take a look at the sample Android app code?

@takuti Sorry I let this slipped out for that ridiculously long. Is this still relevant and needs review?

Closing this as we have in-store SDK in GA.


Expose ibv_context->num_comp_vectors

Added a getter function to libdisni: _getContextNumCompVectors - interface version incremented to 32
Exposing num_comp_vectors allows DiSNI consumers to check the maximum number of CPU vectors that is allowed to be used in ibv_create_cq().

Thanks, this looks good!


Removed extra quoting in “DNS for Services and Pods”

https://github.com/kubernetes/website/issues/21321

/lgtm
/approve


Depenedency list for this project?

Could you please mention the list of dependencies for lidar_camera_projection project. I cloned your repo but am not able to run it. Getting missing packages errors.
For eg.:
  % get_backend())
Traceback (most recent call last):
  File "lidar_camera_project.py", line 111, in <module>
    render_lidar_with_boxes(pc_velo, labels, calib, img_width=img_width, img_height=img_height)
  File "lidar_camera_project.py", line 42, in render_lidar_with_boxes
    fgcolor=None, engine=None, size=(1000, 500))
  File "/home/rajat/.local/lib/python3.5/site-packages/mayavi/tools/figure.py", line 63, in figure
    engine = get_engine()
  File "/home/rajat/.local/lib/python3.5/site-packages/mayavi/tools/engine_manager.py", line 101, in get_engine
    return self.new_engine()
  File "/home/rajat/.local/lib/python3.5/site-packages/mayavi/tools/engine_manager.py", line 146, in new_engine
    check_backend()
  File "/home/rajat/.local/lib/python3.5/site-packages/mayavi/tools/engine_manager.py", line 49, in check_backend
    ''')
ImportError: Could not import backend for traits
_______________________________________________________________________________
Make sure that you have either the TraitsBackendWx or the TraitsBackendQt
projects installed. If you installed Mayavi with easy_install, try
easy_install <pkg_name>. easy_install Mayavi[app] will also work.

If you performed a source checkout, be sure to run 'python setup.py install'
in Traits, TraitsGUI, and the Traits backend of your choice.

Also make sure that either wxPython or PyQT is installed.
wxPython: http://www.wxpython.org/
PyQT: http://www.riverbankcomputing.co.uk/software/pyqt/intro

Hi @Rajat-Mehta
I would recommend installing inside a conda env. I have added a requirement.txt.


Use standard remove functions for removing pod ctrs

Instead of rewriting the logic, reuse the standard logic we use for removing containers, which is much better tested.

This theoretically will fix the bad CGroup flakes on master, but I haven't tested it for that yet.

LGTM but tests not happy.

Pod tests still failing, amongst everything else

Nevermind, mistake on my part

Alright, my flake is fixed

Added a commit to fix the other CI issues (thanks @baude for finding them)

LGTM

The pod tests are back to failing...

/lgtm

/hold
https://prow.svc.ci.openshift.org/tide-history?repo=containers%2Flibpod

Current status: I think I made it worse. Cleanup processes are still firing and now they have even more time to start up.
Per discussion with @jwhonce and @baude we have a way forward. Set the PID limit to 0 on the CGroups in question, so they stop accepting forks, so no cleanup processes.
If this fails, we freeze the cgroup, SIGKILL conmon, unfreeze it, and conmon has no opportunity to cleanup.
This is very much a Monday thing. Very, very much.

Added a commit to set PIDs limit to 0, which seems to resolve the races locally on my laptop. Let's see if CI agrees.

LGTM is gone, so I'll unhold
/hold cancel

It's still broken... Exact same errors. Is this even a race against the cleanup process? We inhibited forking...

Nevermind. Kernel interprets a PID limit of 0 as unlimited. Setting to 1 fixes locally. Repushing.

The tests are passing.
@baude @rhatdan @jwhonce @vrothberg Someone want to merge this to fix CI on master?

LGTM

/lgtm


all-contributors

@all-contributors add @bpasson for code and maintenance

@all-contributors add @bpasson for code and maintenance


Allow stacked line/spline-area charts

It'd be really nice if line, spline, line-area, and spline-are charts could be stacked.  It doesn't seem to function like this currently.
It'd be great for timeseries graphs, so a few different related metrics (like http status codes, sale types) could add up to a total(like number of requests, or sales).

I'm not sure if there is a regression bug or something but you can't stack area-* with another kind:

As you can see, the area is broken, it doesn't take account of the line "offset".


Uglify Syntax Issue

When running npm run build I get the following error:
ERROR in static/js/app.6689fc597972447f1496.js from UglifyJs
SyntaxError: Unexpected token punc «(», expected punc «:» [static/js/app.6689fc597972447f1496.js:94,5]

However it's not present during npm run dev and the website is served fine. My best guess is that Babel isn't being run on some files causeing Uglify to fail when run. Full console output below:
$ npm run build

><EMAIL_ADDRESS>build /Users/username/project
> node build/build.js

fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
Hash: bd805cd988b6f7006493
Version: webpack 2.2.1
Time: 5153ms
                                                  Asset       Size  Chunks             Chunk Names
                  static/js/app.6689fc597972447f1496.js    5.88 kB    0, 2  [emitted]  app
               static/js/vendor.1cef0cb656c37a98743e.js    98.2 kB    1, 2  [emitted]  vendor
             static/js/manifest.4f3351c401b7d9bd469b.js    1.44 kB       2  [emitted]  manifest
    static/css/app.0241d69426e0d359e8bdc1e9d0d7563c.css  274 bytes    0, 2  [emitted]  app
              static/js/app.6689fc597972447f1496.js.map    9.18 kB    0, 2  [emitted]  app
static/css/app.0241d69426e0d359e8bdc1e9d0d7563c.css.map  488 bytes    0, 2  [emitted]  app
                                             index.html  527 bytes          [emitted]

ERROR in static/js/app.6689fc597972447f1496.js from UglifyJs
SyntaxError: Unexpected token punc «(», expected punc «:» [static/js/app.6689fc597972447f1496.js:94,5]

  Build complete.

  Tip: built files are meant to be served over an HTTP server.
  Opening index.html over file:// won't work.

Pulling up the non-uglified output, I believe I've found the issue:
* harmony default export */ __webpack_exports__["default"] = {
	name: 'feed',
	data() {
		return {
			msg: 'App'
		};
	}
};

The data(){ line isn't valid ES5 JSON syntax. Should be data: function(){, this is being pulled in from a .vue file.

Do you use the latest webpack template ? or changed some config ?

You can try reinstall dependencies.
rm -r node_modules
npm install

None of the config has been modified. I'm using the latest webpack template minus a few commits (2 days?) I'll try pulling the latest again.

As for the config options, I'm using:
Vue build: standalone (Runtime + Compiler)
Install vue-router? Yes
Use ESLint to lint your code? No
Setup unit tests with Karma + Mocha? No
Setup e2e tests with Nightwatch? No

Latest commit seems to work fine.

Reopening because the issue has resurfaced (from latest commit), seems to be an issue with vue-loader not transpiling .vue file javascript

can you verify that the .babelrc file is in your project's root folder and has the correct contents?

@LinusBorg That's the issue, babelrc was being deleted by something.


OkHttp caches responses with expires: -1 headers

I am contacting a server using OkHttp and the server responds with a 200 OK response with a header of expires: -1. OkHttp seems to place this in the cache because when I later send the same request again but with a different header it adds an if-modified-since header to my request. The new header I added should cause the server to respond differently, but instead it responds with a 304 Not Modified. This causes OkHttp to use the cached response which is actually not the same as what the server would respond with if OkHttp didn't add the if-modified-since header. Why does OkHttp add the first response to the cache when it has an expires: -1 header?
I tried: send a request to a server, then later send the same request with a different header
I expected: server sends a different response the second time, because of the different header
What resulted: the server sent back 304 Not Modified because OkHttp added if-modified-since to my second request
I am using OkHttp 4.10.0. I see the same behaviour on 4.11.0 and 5.0.0-alpha.11.

I think we are following the spec here
https://www.rfc-editor.org/rfc/rfc7234#section-5.3

The "Expires" header field gives the date/time after which the
response is considered stale.  See Section 4.2 for further discussion
of the freshness model.

A cache recipient MUST interpret invalid date formats, especially the
value "0", as representing a time in the past (i.e., "already
expired").

https://www.rfc-editor.org/rfc/rfc7234#section-4.2

If an origin server wishes to force a cache to validate every
request, it can assign an explicit expiration time in the past to
indicate that the response is already stale.

If you are sure this is incorrect can you provide a executable reproduction? A test? or a server to run requests against? Or logs including all headers?

@swankjesse Just saw https://stackoverflow.com/questions/76339871/why-does-okhttp-cache-responses-with-expires-1-header, but it doesn't match my reading of the spec.

Thanks @yschimke. So does that mean OkHttp is allowed to cache responses with expires: -1 and to try and validate them later (by adding e.g. if-modified-since), and servers need to support this possibility? Just want to make sure I understand the spec.

That's my understanding. But happy to debate, this was my first or at least only recent reading of this spec.


x/sys/unix: unix.SysctlUint64 fails on 32-bit FreeBSD

The freebsd-386 builder has been failing on this x/sys/unix test for some time now:
https://storage.googleapis.com/go-build-log/68ac1f77/freebsd-386-gce101_03efe3a9.log
freebsd-386-gce101 at 68ac1f774624faf99e7f6ec6592acb50f23b7874 building sys at 4c24bcbb85d58313623349380489486f9b3934ec

?   	golang.org/x/sys/plan9	[no test files]
--- FAIL: TestSysctUint64 (0.00s)
	syscall_freebsd_test.go:18: input/output error
FAIL
FAIL	golang.org/x/sys/unix	0.006s

Error: tests failed: exit status 1

/cc @adg @mikioh @minux

EIO usually indicates an error of "size mismatched" or "unaligned access" to the kernel. I'm not sure why the test uses vm.max_kernel_address. Because vm usually consists of ton of machine-dependent stuff. Also freebsd-386-gce101 is actually a complicated "freebsd-386 on freebsd-amd64" host. It depends on the implementation whether the value is returned from 32-bit kernel part or 64-bit kernel part. It's would be better to use more appropriate syscall entry in testing.
Also s/TestSysctUint64/TestSysctlUint64

vm.max_kernel_address doesn't look like it matters. It's an arbitrary sysctl name. The test doesn't even look at the value.

I guess vm.max_kernel_address is a read-only value inside the kernel, hm, am I missing something?
vm/kern_vm.c:

SYSCTL_ULONG(_vm, OID_AUTO, max_kernel_address, CTLFLAG_RD,
#if defined(__arm__) || defined(__sparc64__)
    &vm_max_kernel_address, 0,
#else
    SYSCTL_NULL_ULONG_PTR, VM_MAX_KERNEL_ADDRESS,
#endif
    "Max kernel address");

sys/sysctl.h:

/* definitions for sysctl_req 'flags' member */
#if defined(__amd64__) || defined(__ia64__) || defined(__powerpc64__) ||\
    (defined(__mips__) && defined(__mips_n64))
#define SCTL_MASK32     1       /* 32 bit emulation */
#endif

kern/kern_sysctl.c:

int
sysctl_handle_long(SYSCTL_HANDLER_ARGS)
{
(snip)
ifdef SCTL_MASK32
        if (req->flags & SCTL_MASK32) {
                tmpint = tmplong;
                error = SYSCTL_OUT(req, &tmpint, sizeof(int));
        } else
#endif
                error = SYSCTL_OUT(req, &tmplong, sizeof(long));

Why do we care whether it's read-only? All we're doing is reading it anyway.

Why do we care whether it's read-only?

Nope, I just mentioned it's a value because you said "The test doesn't even look at the value." As I mentioned above, the kernel returns either a 4-byte length value or an 8-byte length for vm.max_kernel_address. If the test (or API) expects an 8-byte length value, it should use an appropriate sysctl entry instead of vm.max_kernel_address.

This is a low hanging fruit, https://github.com/golang/sys/blob/master/unix/syscall_bsd.go#L532, for someone who wants to contribute this package. Please don't forget to fix the typos in test functions; s/TestSysct/TestSysctl/g


Add examples to methods

See https://github.com/brson/rust-api-guidelines#c-example for details.
Note that this should be sequenced after #33.

#45 Should do the trick. Let me know how it looks
Ottavio

Thanks a bunch @omh1280 !

@danburkert this can be closed.

I've not closed this yet because there are still major refactors waiting to land (notably #46 and #31).

@danburkert I think this can be closed now because those two issues are closed.


Fix email sending templating bug

Closes #454
What has been done to verify that this works as intended?
I ran docker compose config | grep EMAIL_FROM to see what the config was.

with EMAIL_FROM in .env set to<EMAIL_ADDRESS>I get<EMAIL_ADDRESS>in the output.
with EMAIL_FROM in .env commented out, I get<EMAIL_ADDRESS>in the output.

I also confirmed that emails are delivered with this change.
Why is this the best possible solution? Were any other approaches considered?
There might be a bug in docker/compose v2.20.2/24.0.5, but thankfully https://docs.docker.com/compose/environment-variables/env-file/#parameter-expansion says unbraced vars are supported, so that's why this change works.
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
It should only affect people who might have changed docker-compose.yml. If something's broken when they upgrade, it will be pretty easy to see because they can't create or reset web users. Hopefully that will lead to a forum post or this issuel.
Does this change require updates to documentation? If so, please file an issue here and include the link below.
Before submitting this PR, please make sure you have:

[X] verified that any code or assets from external sources are properly credited in comments or that everything is internally sourced

I'm annoyed! But also glad there's an easily-verifiable fix.

Are we thinking of releasing this change with .4? Or are we planning to merge to the master branch before .4 (as a patch release)?

If we are already doing a hot fix, great. If not, it can wait.

Sounds good. There's a chance we'll have a hot fix coming up, so I won't merge to next quite yet, as next already has a change for .4. I can merge once we know whether we'll have a hot fix.

I now think it's less likely that we'll need a hot fix, so I'll go ahead and merge. I'll merge with a merge commit so that it's easy to include the commit in a hot fix if that does end up happening.


run task before set cmd env encoding to utf8

Extension Name: vscode-gradle
Extension Version:3.6.1
OS Version:windows21h1
VSCode version:1.59
Describe the bug
gradle view run task in cmd no set env encoding to utf8. but now task print utf8 char ,cmd encoding is cp936 (gbk). so cmd show error char
To Reproduce

Define a simple task:

task print(){
      doLast{
      println “echo Chinese: 中文”
      }
}

Run print in gradle view

Expected behavior
output echovChinese: 中文
Screenshots
If applicable, add screenshots to help explain your problem.
Output from "Gradle Tasks"
You can find this by clicking on the "Output" panel, then selecting the "Gradle Tasks" channel from the dropdown.
Does the bug still exist if you disable all other extensions?
Yes
Additional context
Add any other context about the problem here.

I can't reproduce this bug in the newest version 3.8.2, this issue seems to be resolved. @mozhuanzuojing Could you please try to verify?

I can't reproduce this bug in the newest version 3.8.2, this issue seems to be resolved. @mozhuanzuojing Could you please try to verify?

@CsCherrYY it work .thank you


How to create listener on dom content change?

I use below code to create a dom and want to listen on its content change.

const termDom = new JSDOM(<!DOCTYPE html><div id="terminal"/>);
const dom = termDom.window.document.querySelector("#terminal");

I want to add a listener on this dom to listen on its content changes. Something like:

dom.onChange( function(event) {
...
})

How can I implement it injsdom?

I was thinking about MutationObserver, but it seems that dom.window.MutationObserver is undefined in jsdom.

Duplicate of #639.


ohm-js cli : add --output argument to define the output folder

Hello,
It may be useful for Typescript developers to have the ability to generate the Javascript + Typescript definition files in a specific folder in order to avoid them in src folder (which is the current output folder).
For instance, the following command generates the files at the same place as the ohm grammar source files.
ohm generateBundles --withTypes src/ohm/*.ohm
It could be great to have an additional argument to specify the output folder:
ohm generateBundles --withTypes src/ohm/*.ohm --output dist/ohm
What do you think ?
Thank you.
Stephane

Agreed! My instinct would be to make this behave the same way as TypeScript's outDir arg, and preserve the directory structure of the original files. Does this seem like the right choice?

Yes it sounds good.
It could be the default behaviour and stil keep --output argument to override it in case of special situations.


Wrong Link

[Enter feedback here]
The link of  DTU resource limits - Azure SQL Database. redirects to the same as  vCore resource limits - elastic pools.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 83ac6bf5-b77e-2eeb-20ad-f850fbbf06c6
Version Independent ID: fa64f1b9-62f1-3abc-523c-419682d911c0
Content: DTU resource limits elastic pools - Azure SQL Database
Content Source: articles/azure-sql/database/resource-limits-dtu-elastic-pools.md
Service: sql-database
Sub-service: elastic-pools
GitHub Login: @sachinpMSFT
Microsoft Alias: sachinp

@taromielnaz We are checking this and will get back to you.

@taromielnaz We have raised the request to correct this https://github.com/MicrosoftDocs/azure-docs-pr/pull/125971 and once approved the changes will be visible in 24 hours.


Simplify lines before applying exclusion rules

Implemented a very relaxed lexer which splits lines into tokens and simplifies them (all numbers become 0, string starts and ends become ', whitespace is collapsed into one space, comments are removed). As a result, strings containing special characters, e.g. something that looks like a comment start, are handled properly, and exclusion rules can be simplified.
This also fixes handling of comments and long string, see #25.
The lexer consumes lines and returns whether they should be always excluded or excluded if it's not hit. As it does not need hit stats, unlike whole reporter, it can be fully tested. I imported tests from tests/issue_1.lua and added a few new ones.

This patch in action, with coverage improving due to all long strings excluded: https://coveralls.io/jobs/6851283

Cool, I give it a try on the LuaRocks codebase as soon as I can

Added another small commit. @hishamhm can you check this?

I'm looking at it, but I'm having a bit of trouble running the LR test suite here for unrelated reasons. Tweaking it!

Here's the output difference I got running the testsuite here with 0.7 vs this patch:
https://gist.github.com/hishamhm/ed4cce29d5d842f6d005

@hishamhm ignoring some fluctuations it seems that this patch correctly ignores lines within long strings and a strange case near 11858th line of the report, but gives false positives on lines where a long string is assigned to a field, I'll look into this. How can I run the testsuite locally?

strange case near 11858th line of the report,

I suspect the patched version is the correct one in that spot.

false positives on lines where a long string is assigned to a field, I'll look into this

Thanks! It seems a single particular case that repeats often.

How can I run the testsuite locally?

The .travis.yml file shows how to run it in a pretty bare environment:
https://github.com/keplerproject/luarocks/blob/master/.travis.yml
You may need to pass --clean in between executions, and it is picky about argument order (the test script is an ugly hack; just take a look at it and see how it munches arguments).

Indeed, currently line cart = cart .. " = {}; -- " .. saved[value] .. " (self reference)\n" is treated as something that looks like a key-value pair plus a comment, while this patch understands that -- is inside a string literal.
I've pushed a fix for the long string assignment issue.

This patch also applies [%w_,='\"%s]+, zero-hits exclusion rule better as can be seen here and here.

Thanks! Could you make a new release?

Done!

Nice, could you also update the docs? Currently both the docs shown by luarocks doc luacov and the online version are outdated.


under debian jessie 8 blug playlist

stefan@asus-stefan:~/Musique$ youtube-dl -x --audio-format mp3 --verbose https://www.youtube.com/watch?list=RDwd5zVMBVCII
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-x', '--audio-format', 'mp3', '--verbose', 'https://www.youtube.com/watch?list=RDwd5zVMBVCII']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.08.05
[debug] Python version 2.7.9 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.0
[debug] Proxy map: {}
[youtube:playlist] RDwd5zVMBVCII: Downloading Youtube mix
[download] Downloading playlist: Mix - The Hacker - Fadin Away
[youtube:playlist] playlist Mix - The Hacker - Fadin Away: Collected 26 video ids (downloading 26 of them)
[download] Downloading video #1 of 26
[youtube] Setting language
[youtube] wd5zVMBVCII: Downloading webpage
[youtube] wd5zVMBVCII: Downloading video info webpage
[youtube] wd5zVMBVCII: Extracting video information
[debug] Invoking downloader on u'https://r1---sn-cxab5jvh-cg0k.googlevideo.com/videoplayback?key=yt5&dur=335.017&ipbits=0&initcwndbps=1582500&mime=audio%2Fmp4&lmt=1399950634675691&expire=1431030678&upn=qZixhDQiyt8&pl=23&id=o-AHbbMc4lxcTjteIz70QNxgWrPECwu9D6KymYUtHpseod&sparams=clen%2Cdur%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&gir=yes&mm=31&signature=BC80DD1A1029DAD2C2E1CC8469936B52D0599A1D.856277E4973F4E22D802D3548D29077F9957E47D&sver=3&pcm2cms=yes&source=youtube&clen=5379683&ms=au&mt=1431009020&fexp=907263%2C934960%2C938028%2C9405970%2C9408140%2C9408142%2C9408212%2C9408581%2C9408706%2C9412508%2C9412948%2C9413021%2C9413350%2C946008%2C948124%2C952612%2C952637%2C952642&mv=m&ip=<IP_ADDRESS>&requiressl=yes&itag=140&ratebypass=yes'
[download] Destination: The Hacker - Fadin Away-wd5zVMBVCII.m4a
[download] 100% of 5.13MiB in 00:02
[avconv] Destination: The Hacker - Fadin Away-wd5zVMBVCII.mp3
[debug] ffmpeg command line: avconv -y -i 'The Hacker - Fadin Away-wd5zVMBVCII.m4a' -vn -acodec libmp3lame -q:a 5 'The Hacker - Fadin Away-wd5zVMBVCII.mp3'
Deleting original file The Hacker - Fadin Away-wd5zVMBVCII.m4a (pass -k to keep)
[download] Downloading video #2 of 26
[youtube] 2Z0ZL52ZjJ0: Downloading webpage
[youtube] 2Z0ZL52ZjJ0: Downloading video info webpage
[youtube] 2Z0ZL52ZjJ0: Extracting video information
[debug] Invoking downloader on u'https://r4---sn-cxab5jvh-cg0s.googlevideo.com/videoplayback?dur=450.234&lmt=1386736667792653&mm=31&fexp=907263%2C934960%2C938028%2C9405970%2C9408140%2C9408142%2C9408212%2C9408581%2C9408706%2C9412508%2C9412948%2C9413021%2C9413350%2C946008%2C948124%2C952612%2C952637%2C952642&expire=1431030687&sparams=clen%2Cdur%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&mime=audio%2Fmp4&key=yt5&requiressl=yes&sver=3&itag=140&pl=23&pcm2cms=yes&ipbits=0&upn=m8O23AP0WHI&initcwndbps=1582500&id=o-ALvNIkPDJ7WykPzpm8959tLR--T8jmOseru__xrkheG0&source=youtube&gir=yes&clen=7151364&ms=au&mt=1431009020&mv=m&ip=<IP_ADDRESS>&signature=D6E8C89842EC2F050D3805D64FA6DF834A1BB640.F7F7FE87A1655E38CE2D277D0897C4ABDCC26085&ratebypass=yes'
[download] Destination: The Hacker - Flesh And Bone-2Z0ZL52ZjJ0.m4a
[download] 100% of 6.82MiB in 00:03
[avconv] Destination: The Hacker - Flesh And Bone-2Z0ZL52ZjJ0.mp3
[debug] ffmpeg command line: avconv -y -i 'The Hacker - Flesh And Bone-2Z0ZL52ZjJ0.m4a' -vn -acodec libmp3lame -q:a 5 'The Hacker - Flesh And Bone-2Z0ZL52ZjJ0.mp3'
Deleting original file The Hacker - Flesh And Bone-2Z0ZL52ZjJ0.m4a (pass -k to keep)
[download] Downloading video #3 of 26
[youtube] XGOaXphpT7w: Downloading webpage
[youtube] XGOaXphpT7w: Downloading video info webpage
[youtube] XGOaXphpT7w: Extracting video information
[youtube] XGOaXphpT7w: Encrypted signatures detected.
[youtube] {43} signature length 40.41, html5 player en_US-vflJuImhV
[youtube] XGOaXphpT7w: Downloading js player vflJuImhV
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 170, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 860, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 489, in _decrypt_signature
u'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
stefan@asus-stefan:~/Musique$

You are using an outdated version, read our FAQ for the update instructions.


Adds test data and description

This PR provides an initial attempt to add some failing test cases for scenarios where the Inspire polygons need to be classified as road space or not and where non-registered land cannot be assumed to be road space. A qualitative description of each scenario is given in test_cases.md
Included in this PR:

[x] Provides example data for scenarios where entire polygons need to be classified (Cases 1, 3, and 5).
[x] Provides example data for a scenario where unregistered land is non-road space and where a classifier would need to separate it from unregistered road-space (Case 2).
[x] Provides example data for a scenario where two neighbouring registered land polygons both incorporate road-space and non-road-space, and a classifier will need to subdivide them (Case 4).
[x] Provides a failing test for scenarios where whole land polygons need to be classified (e.g. without subdivision) - (Cases 1, 3, and 5).
[ ] Provides a failing test for scenarios where land registry data (either registered or unregistered land) need to be subdivided to provide a useful classification. (Cases 2, and 4).

This is not urgent, but I think that it would be helpful to review this PR at this stage.
A few thoughts:

I'm not sure the current mix of how the test data and expected results are stored is ideal. (eg the source data is in small files and the expected results are a mix of small files, or hardcoded into the test code).
I've not given much thought to how the failing implementation classify_polygons_by_id fits in with the rest of the code yet.
The second failing test could be added later, either as part of the PR, or a separate future one.


IPC export layout profile not included

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
IPC exported remove all primitive which doesn't have net assigned.
Steps To Reproduce
import ipc im aedt -> save -> load aedb -> export ipc from pyaedt -> import xml file
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
NA

@svandenb-dev , IPC export is not proper for customer designs. I will share the designs directly.


[Feature]: Support for path / pathType in query ingress

Requirement
I want able to change the ingress config for the query service to setting path to / and pathType to Prefix. So, I don't have to create the custom ingress for the query service.
Problem
Currently, I unable to setting path and pathType for the query ingress.
Proposal
No response
Open questions
No response

Hi @giautm are you interested in contributing this?

Hi @giautm are you interested in contributing this?

Ofcourse, let's me try. 🖖

awesome :)


New package: Org v0.1.0

Registering package: Org
Repository: https://github.com/non-Jedi/Org.jl
Created by: @non-Jedi
Version: v0.1.0
Commit: 6c9227e65e0584b0aeaad653595f9f6bb07dd713
Reviewed by: @non-Jedi
Reference: https://github.com/non-Jedi/Org.jl/commit/6c9227e65e0584b0aeaad653595f9f6bb07dd713#commitcomment-34538815

Please add (at least)
[compat]
julia = "1"

to your project file and retrigger the bot.

Sorry for the delayed merge. Didn't notice that this had been updated.

Np. Thanks!


[Bug] [dolphinscheduler-api] An error occurred while trying to access the Postgres database.

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When I reviewed the DataSrouceServiceImpl.getDatabases() function, I found a logical error in the original code:
if (dataSource.getType() == DbType.POSTGRESQL) {
    rs = connection.createStatement().executeQuery(Constants.DATABASES_QUERY_PG);
}
rs = connection.createStatement().executeQuery(Constants.DATABASES_QUERY);

new code:
if (dataSource.getType() == DbType.POSTGRESQL) {
    rs = connection.createStatement().executeQuery(Constants.DATABASES_QUERY_PG);
} else {
    rs = connection.createStatement().executeQuery(Constants.DATABASES_QUERY);
}

What you expected to happen
successfully retrieved postgres databases
How to reproduce
When using Postgre database to store metadata, the function DataSrouceServiceImpl.getDatabases() is called.
Anything else
No response
Version
dev
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

what does this mean?

I have fixed it on the dev branch. @rickchengx  https://github.com/apache/dolphinscheduler/pull/14558


It is not running on GPU in google colab :/

Hi, awesome repo. Thanks for sharing.
It throws this error every time I try to run this on GPU.
Traceback (most recent call last):   File "/usr/local/bin/style_transfer", line 33, in <module>     sys.exit(load_entry_point('style-transfer-pytorch', 'console_scripts', 'style_transfer')())   File "/content/style-transfer-pytorch/style_transfer/cli.py", line 213, in main     props = torch.cuda.get_device_properties(device)   File "/usr/local/lib/python3.6/dist-packages/torch/cuda/__init__.py", line 296, in get_device_properties     _lazy_init()  # will define _get_device_properties   File "/usr/local/lib/python3.6/dist-packages/torch/cuda/__init__.py", line 172, in _lazy_init     torch._C._cuda_init() RuntimeError: The NVIDIA driver on your system is too old (found version 10010). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver.
So I'm forced to run it on the CPU instead and which takes forever. 😪
Can you make it compatible with the old drivers? 😅
I made this colab notebook. You can reproduce the error yourself.

On Colab I've found you have to install a version of PyTorch compiled for CUDA 10.1 or earlier. You can do this by running the following command:
pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html

Does this help?

On Colab I've found you have to install a version of PyTorch compiled for CUDA 10.1 or earlier. You can do this by running the following command:
pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html

Does this help?

On Colab I've found you have to install a version of PyTorch compiled for CUDA 10.1 or earlier. You can do this by running the following command:
!pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html

Does this help?

Thanks man it is working now. Can you like add more parameters to play with?
Like these one>
def stylize(self, content_image, style_images, *,                 style_weights=None,                 content_weight: float = 0.01,                 tv_weight: float = 0.3,                 min_scale: int = 128,                 end_scale: int = 1920,                 iterations: int = 300,                 initial_iterations: int = 700,                 step_size: float = 0.02,                 avg_decay: float = 0.99,                 init: str = 'content',                 style_scale_fac: float = 1.,                 style_size: int = None,                 callback=None):

On Colab I've found you have to install a version of PyTorch compiled for CUDA 10.1 or earlier. You can do this by running the following command:
!pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html

Does this help?

Thanks man it is working now. Can you like add more parameters to play with?
Like these one>
def stylize(self, content_image, style_images, *,                 style_weights=None,                 content_weight: float = 0.01,                 tv_weight: float = 0.3,                 min_scale: int = 128,                 end_scale: int = 1920,                 iterations: int = 300,                 initial_iterations: int = 700,                 step_size: float = 0.02,                 avg_decay: float = 0.99,                 init: str = 'content',                 style_scale_fac: float = 1.,                 style_size: int = None,                 callback=None):

Thanks man it is working now. Can you like add more parameters to play with?
Like these one>
def stylize(self, content_image, style_images, *, style_weights=None, content_weight: float = 0.01, tv_weight: float = 0.3, min_scale: int = 128, end_scale: int = 1920, iterations: int = 300, initial_iterations: int = 700, step_size: float = 0.02, avg_decay: float = 0.99, init: str = 'content', style_scale_fac: float = 1., style_size: int = None, callback=None):

All of the parameters that have type annotations are available from the command line, try --help to find out their names and defaults. 🙂

Thanks man it is working now. Can you like add more parameters to play with?
Like these one>
def stylize(self, content_image, style_images, *, style_weights=None, content_weight: float = 0.01, tv_weight: float = 0.3, min_scale: int = 128, end_scale: int = 1920, iterations: int = 300, initial_iterations: int = 700, step_size: float = 0.02, avg_decay: float = 0.99, init: str = 'content', style_scale_fac: float = 1., style_size: int = None, callback=None):

All of the parameters that have type annotations are available from the command line, try --help to find out their names and defaults. 🙂

Damn my bad. 😅
Can you explain why this is so accurate in transferring he style?
I have tried 3 different implementation. And this by far gives most accurate and beautiful results. (It is a bit slow. Any specific reason?)
the other two implementations are this(tensorflow) and this(pytorch)

Damn my bad. 😅
Can you explain why this is so accurate in transferring he style?
I have tried 3 different implementation. And this by far gives most accurate and beautiful results. (It is a bit slow. Any specific reason?)
the other two implementations are this(tensorflow) and this(pytorch)

I was messing around with this. Here are some results. Absolutely stunning.
Input:

Style Image:

Output:

I was messing around with this. Here are some results. Absolutely stunning.
Input:

Style Image:

Output:

Can you explain why this is so accurate in transferring the style?
I have tried 3 different implementation. And this by far gives most accurate and beautiful results. (It is a bit slow. Any specific reason?)
the other two implementations are this(tensorflow) and this(pytorch)

I took a look at these and they aren't even doing automatic multi-scale style transfer. (It was proposed in "Controlling Perceptual Factors in Neural Style Transfer" but I discovered it independently in 2016 before this paper was published.) My code starts at an image size of 128 pixels by default and, once it is done, re-stylizes the result at a larger scale. The scales go up by a factor of sqrt(2), so 128, 181, 256, 362, 512, 724, 1024... This is better than the scheme given in the paper which only uses two scales. Anyway, this is necessary for good quality at resolutions over about 512x512. My code is probably slower due to doing so many iterations at different scales (1000 on the first, 500 on all after that.)

Can you explain why this is so accurate in transferring the style?
I have tried 3 different implementation. And this by far gives most accurate and beautiful results. (It is a bit slow. Any specific reason?)
the other two implementations are this(tensorflow) and this(pytorch)

I took a look at these and they aren't even doing automatic multi-scale style transfer. (It was proposed in "Controlling Perceptual Factors in Neural Style Transfer" but I discovered it independently in 2016 before this paper was published.) My code starts at an image size of 128 pixels by default and, once it is done, re-stylizes the result at a larger scale. The scales go up by a factor of sqrt(2), so 128, 181, 256, 362, 512, 724, 1024... This is better than the scheme given in the paper which only uses two scales. Anyway, this is necessary for good quality at resolutions over about 512x512. My code is probably slower due to doing so many iterations at different scales (1000 on the first, 500 on all after that.)

Can you explain why this is so accurate in transferring the style?
I have tried 3 different implementation. And this by far gives most accurate and beautiful results. (It is a bit slow. Any specific reason?)
the other two implementations are this(tensorflow) and this(pytorch)

I took a look at these and they aren't even doing automatic multi-scale style transfer. (It was proposed in "Controlling Perceptual Factors in Neural Style Transfer" but I discovered it independently in 2016 before this paper was published.) My code starts at an image size of 128 pixels by default and, once it is done, re-stylizes the result at a larger scale. The scales go up by a factor of sqrt(2), so 128, 181, 256, 362, 512, 724, 1024... This is better than the scheme given in the paper which only uses two scales. Anyway, this is necessary for good quality at resolutions over about 512x512. My code is probably slower due to doing so many iterations at different scales (1000 on the first, 500 on all after that.)
There are other improvements I've made to the basic algorithm, but this is probably the main difference from those two repos.

wow that's interesting. I'm a newbie and still learning all these stuff related to AI x Art.
Can you tell me which parameters are the best for an 1920x1080 image? Like which pooling type and content and style wt. values?

Can you explain why this is so accurate in transferring the style?
I have tried 3 different implementation. And this by far gives most accurate and beautiful results. (It is a bit slow. Any specific reason?)
the other two implementations are this(tensorflow) and this(pytorch)

I took a look at these and they aren't even doing automatic multi-scale style transfer. (It was proposed in "Controlling Perceptual Factors in Neural Style Transfer" but I discovered it independently in 2016 before this paper was published.) My code starts at an image size of 128 pixels by default and, once it is done, re-stylizes the result at a larger scale. The scales go up by a factor of sqrt(2), so 128, 181, 256, 362, 512, 724, 1024... This is better than the scheme given in the paper which only uses two scales. Anyway, this is necessary for good quality at resolutions over about 512x512. My code is probably slower due to doing so many iterations at different scales (1000 on the first, 500 on all after that.)
There are other improvements I've made to the basic algorithm, but this is probably the main difference from those two repos.

wow that's interesting. I'm a newbie and still learning all these stuff related to AI x Art.
Can you tell me which parameters are the best for an 1920x1080 image? Like which pooling type and content and style wt. values?

Can you tell me which parameters are the best for an 1920x1080 image? Like which pooling type and content and style wt. values?

The values of the parameters are supposed to be independent of what size the output image is. But sometimes when producing large images I set the minimum scale (-ms) to 256 or thereabouts.

Can you tell me which parameters are the best for an 1920x1080 image? Like which pooling type and content and style wt. values?

The values of the parameters are supposed to be independent of what size the output image is. But sometimes when producing large images I set the minimum scale (-ms) to 256 or thereabouts.

Can you tell me which parameters are the best for an 1920x1080 image? Like which pooling type and content and style wt. values?

The values of the parameters are supposed to be independent of what size the output image is. But sometimes when producing large images I set the minimum scale (-ms) to 256 or thereabouts.

Can we use multiple style images at once? (with making a collage of style images)
also do you know about this site? I think its using a same style transfer code.

Can you tell me which parameters are the best for an 1920x1080 image? Like which pooling type and content and style wt. values?

The values of the parameters are supposed to be independent of what size the output image is. But sometimes when producing large images I set the minimum scale (-ms) to 256 or thereabouts.

Can we use multiple style images at once? (with making a collage of style images)
also do you know about this site? I think its using a same style transfer code.

Can we use multiple style images at once? (with making a collage of style images)

You can use multiple style images (just list the additional ones after the first one) and it will create a blended style from them and apply it to the content. You can also use the style weights parameter (-sw) to specify the ratios of the style images: for instance, if you have three style images, -sw 1 2 1 will use them in a 1:2:1 ratio.

Can we use multiple style images at once? (with making a collage of style images)

You can use multiple style images (just list the additional ones after the first one) and it will create a blended style from them and apply it to the content. You can also use the style weights parameter (-sw) to specify the ratios of the style images: for instance, if you have three style images, -sw 1 2 1 will use them in a 1:2:1 ratio.


Allow for polymorphic operations

Some operations could be made more flexible with respect to allowed types if we introduce a type that allows us to convert from multiple source types into the desired target type. This would allow for polymorphic operations with respect to its arguments. For example:

DatasetLike can be a xr.Dataset or a pd.DataFrame and will convert a value to a xr.Dataset
DataFrameLike can be a xr.Dataset or a pd.DataFrame and will convert a value to a pd.DataFrame
Arbitrary represents any Python value, therefore its convert() simply returns value, while its format(arg) will return str(arg).
Literal represents constant Python values and its convert(value) evaluates it a constant Python str value (any literal), while format(arg) will return repr(arg).

Done in Core and Desktop


Add move, cancel, close actions FulfillmentOrder

This PR adds the following POST requests:
POST fulfillment_orders/:fulfillment_order_id/move
POST fulfillment_orders/:fulfillment_order_id/cancel
POST fulfillment_orders/:fulfillment_order_id/close
GET requests are in PR #633
Subsequent PRs will add other fulfillment order related write requests to relevant resources.
The approach I took was to add the move, cancel, and close actions on the FulfillmentOrder resource.
Because there's already a legacy Fulfillment resource, I named the fulfillment orders fulfillment as FulfillmentOrderFulfillment.
Since all that's really needed is the fulfillment_order_id, if it's known you can do (rather than querying it first):
  closed_fulfillment_order = FulfillmentOrder.new(id: <the-fo-id>).close

A few questions:

Given that move and cancel both return the original fulfillment order somewhere in the payload, shouldn’t we call load_attributes_from_response to populate the current object with the updated attributes?
• According to https://help.shopify.com/en/api/reference/shipping-and-fulfillment/unstable/fulfillmentorder#close should we enable the app the provide an option message in the body on close?


[Request deployment] New Hub: Jack Eddy Symposium

The GitHub handle of the community representative
@colliand
Hub important dates

Target Start Date: 2023-10-05
Required Start Date: 2023-10-12

Hub Authentication Type
GitHub (e.g., @mygithubhandle)
First Hub Administrators

@colliand, Jim Colliander
@dan800, Dan Marsh
@rmcgranaghan, Ryan McGranaghan

[GitHub Auth only] How would you like to manage your users?
Manually, by adding specific GitHub handles in the JupyterHub Admin panel
[GitHub Teams Auth only] Profile restriction based on team membership
No response
Hub logo image URL
https://cpaess.ucar.edu/sites/default/files/styles/extra_large/public/2023-08/EddySymposium-900x400.jpg?itok=8qG7Dqi3
Hub logo website URL
https://cpaess.ucar.edu/meetings/4th-eddy-cross-disciplinary-symposium
Hub user image GitHub repository
Pangeo (possibly also Heliocloud as another option)
Hub user image tag and name
pending; likely latest pangeo image
Extra features you would like to enable

[ ] Dedicated Kubernetes cluster
[X] Scalable Dask Cluster

(Optional) Preferred cloud provider
AWS
(Optional) Preferred cloud region
us-west2
(Optional) Billing and Cloud account
None
Other relevant information to the features above
This hub will be used for the 4th Jack Eddy Symposium. The event will take place October 29 -- November 3, 2023 in Golden, Colorado. This event will focus on open science, sun-climate interactions, space weather, and exoplanets. Talks will take place in the morning with hackathon-style activities during the afternoons. @colliand will be in attendance at the event. Funding for this hub and the Symposium flows from NASA's Living with a Star Program and UCAR/CPAESS.
Tasks to deploy the hub

[ ] 1. Deploy information filled in above
[ ] 2. Engineer who will deploy the hub is assigned
[ ] 3. If using GitHub Orgs/Teams Auth, Engineer is given Owner rights to the org to set this up.
[ ] 4. Initial Hub deployment PR
[ ] 5. Administrators able to log on -> Hub now in steady-state

I assigned @consideRatio to deploy this hub. I would recommend deploying it close to the end of the iteration (first days of October).
Previous Jack Eddy hub:

https://github.com/2i2c-org/infrastructure/issues/1329
https://github.com/2i2c-org/infrastructure/pull/1337

@colliand, please provide any further information we might need to deploy this in the next few days. For example:

shared or dedicated cluster?
is there any reason to be now in AWS given the fact the previous deployment lives under GCP (see links referenced above)?

@consideRatio, feel free to ask any additional questions to @colliand (and the other community representatives) you might need to effectively perform this deployment.

I think GCP is fine. The Symposium is an opportunity for 2i2c to experiment with new stuff. There will be communities working on space weather, climate, and exoplanets. Allowing these groups to customize environments may be helpful but is not necessary. I'm available for questions @consideRatio!

Is there progress or are there any blockers on this deployment request?

Not particular blockers, although other high-priority operational issues took precedence.
@consideRatio, can you please make a priority to deploy this early next week? Thanks!

Reassigned to @GeorgianaElena to deploy during this cycle (as planned above).

Thank you very much @consideRatio for this plan! It's really useful <3
I am confused about the cloud provider to go with though.
Is it AWS or is it GCP? The previous deployment (https://github.com/2i2c-org/infrastructure/issues/1329) seemed to have been deployed in GCP because this is where the data was. @colliand do we have information about where the data lives? Otherwise I was thinking to default to GCP, like the previous one.

GCP is fine. Thanks @GeorgianaElena. Proximate access to data like Pangeo will be useful.

Thanks @GeorgianaElena and everyone else who contributed to this on-time deployment!

Then I will close this issue as the hub is now ready and let's continue the discussion on freshdesk for possible improvements requests to it.
Please feel free to reopen if you disagree.


AWS Glue Schema Registry support for .NET CORE

Hello,
I am currently developing consumption and production services with KAFKA agents with .NET and AWS MSK, to do data validation I must use AWS Glue Schema Registry, however from what I read in the minimum requirements and examples, there are only examples in JAVA, do you currently support .NET?
Thank you very much.

Hello,
AWS Glue Schema Registry Client Library only supports Java at this point. However, we are currently working on providing .NET support and it will be released in near future.


Added still frame functionality for rendering as requested by issue #50

As requested in #50 I decided to take a stab at adding a still frame functionality to the rendering feature. The change uses the -s option and renders the LAST frame of the animation in svg format.
termtosvg render -s file.cast

Thanks. I've taken a more generic approach and implemented rendering of every frame of the animation.
https://github.com/nbedos/termtosvg/commit/6ea3f6790d07ecb0090e5daa38abfc207f279659


Add useful methods on the Solution struct

Unfortunately, it looks like there is no more getRowPrice in the C API: https://github.com/coin-or/Cbc/issues/370

Hmm, it looks like Cbc's C API is really a moving target. The old libcbc is missing Cbc_getReducedCost.

reduce cost and dual variable doesn't have so much meaning in MILP, only in continuous LP.

Yes, they are very useful in resource allocation problems, for instance.

The thibg is that cbc is designed for MILP. Of you need only a LP, you should use CPL (which is used by default by CBC as a tool) that has a much better interface to manage the LP. That's why duals and redux costs are not well supported in the cbc c api.

Cbc does expose the needed functions in its C++ API, it's just that the C API is a kind of second-class citizen. I do agree that these functions are less useful for integer variables, but there is considerable value in not having to switch libraries and APIs when you add an integer variable to an existing continuous problem. I don't think there would be any value for maintaining a separate Clp binding in rust with a different API.

Sure. But what do we do here? As is, it doesn't compile with CBC 2.9.

Maybe we can put these new methods behind a new cbc-310 feature flag?

I'm not fan of feature flags, but I don't see any other solution.

@TeXitoi can this be merged ?

Sorry for the delay

v0.1.5 published

Thanks !


Spelling error in README #L254

FAE - A modern CMS deveveloped by FINE (using Rails 5.2)
deveveloped => developed

@davidomullan thanks!


Skip failing BigQuery Acceptance tests

These two tests extracting to Storage are failing. We don't know why.
Skip the tests until we figure out why they are failing.

Coverage remained the same at 95.775% when pulling 4648f9b7e587446817e6306481e9479d13c9ecd8 on blowmage:skip-failing-bigquery-acceptance into e4323a8c1cfb87813bf2fc40b9834a7af8190d14 on GoogleCloudPlatform:master.


More energy units support

Include more energy units, some of the most used ones from here: https://en.wikipedia.org/wiki/Units_of_energy - calories, BTU, eV, ft lb, erg, Wh

pull request #86

Units test results:

See #86 for info.


it disappears when chaining functors

Not sure what's going on here.... But I've noticed the following
fixThese = file.records
  .filter -> !it.status
  .map -> {it.created_at, it.created_by_idk, it.status}

Which produces this
var fixThese;
fixThese = file.records.filter(function(it){
  return !it.status;
}).map(function(){
  return {
    created_at: it.created_at,
    created_by_idk: it.created_by_idk,
    status: it.status
  };
});

Notice how the second functor map doesn't get passed the it variable.

Looks like a duplicate of #899. It's fixed on master, but not released yet.

Cool. Thanks @rhendric .

It can also be rewritten with substructuring:
  .map -> it{created_at, created_by_idk, status}

This does the same, and avoids repeating it.

Nice one @dk00 ... Livescript is awesome!!

livescript is awesome but it is hard to convince people. it is even hard to find job when I say "I use livescript"

I see your point @askucher ... And feel your pain.
My experience is people are more likely to warm up to Coffeescript. So I just tell them that the creator of Coffeescript went on to create something even better.... Livescript. Seems to work. ha ha... Not always though.


Unused variable shard_main_datas

When committing to shards, commit_data is appended to shard_main_datas. However, shard_main_datas is unused.
See https://github.com/succinctlabs/sp1/blob/14eb569d41d24721ffbd407d6060e202482d659c/core/src/utils/prove.rs#L186.

Hi, this is resolved on the dev branch which will be merged to main soon.


support authentication via polkit

Supersedes https://github.com/digitalocean/go-libvirt/pull/111
With the following changes:

Rebased
Moved authentication to its own method, as requested in https://github.com/digitalocean/go-libvirt/pull/111

Fixes https://github.com/digitalocean/go-libvirt/issues/110
Required for https://github.com/dmacvicar/terraform-provider-libvirt/pull/813

Thanks! :fireworks:


SpeedRatio is ignored

Hi,
When I play a video and change the SpeedRatio value it has no effect.
My code example:
mediaUriElement.Source = new Uri(@"test.mp4");
mediaUriElement.SpeedRatio = 4.0;

Is this correct?

Set the speed ration after the media has been opened (the MediaOpened event).

Hello tpgalan,
I use the speed ratio thing a lot. It depends on the codec which is used to decode the media if it supports speed ratio setting or not. It doesn't matter if speed ratio is set after or before media is opened. With h.264 speed ratio 4.0 is the maximum I get with K-Lite-Codec-Pack and LAV. If I set it to 8.0, the setting is ignored and speed ratio is still 4.0. I have no special tweaks in K-Lite. I attached my settings.
CodecSettingsBackup20171108.zip
Check this clip: https://www.youtube.com/watch?v=QVx-_HpHe7c

@tpgalan
You can also check this link from the old mediakit
https://wpfmediakit.codeplex.com/discussions/85603

I am closing the issue. @tpgalan reopen it, if your problem is not caused by the codec.
You can also set a custom sync clock:
IMediaFilter filt = Graph as IMediaFilter;
clock = new MyCustomClock(); // DirectShowLib.IReferenceClock
filt.SetSyncSource(clock);


Crash-Connect block from left to right, more than 8 will crash

Connect block from left to right, if blocks more than 8 will crash.
10-25 21:16:30.366 14006-14006/com.strong E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.strong, PID: 14006
java.lang.StackOverflowError
at java.lang.String._getChars(String.java:942)
at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:148)
at java.lang.StringBuilder.append(StringBuilder.java:216)
at android.view.View.getDisplayList(View.java:13508)
at android.view.View.getDisplayList(View.java:13646)
at android.view.View.draw(View.java:14441)
at android.view.ViewGroup.drawChild(ViewGroup.java:3252)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3070)
at com.google.blockly.android.ui.vertical.BlockView.dispatchDraw(BlockView.java:145)
at android.view.View.draw(View.java:14750)
at android.view.View.getDisplayList(View.java:13599)
at android.view.View.getDisplayList(View.java:13646)
at android.view.View.draw(View.java:14441)
at android.view.ViewGroup.drawChild(ViewGroup.java:3252)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3090)
at android.view.View.getDisplayList(View.java:13591)
at android.view.View.getDisplayList(View.java:13646)
at android.view.View.draw(View.java:14441)
at android.view.ViewGroup.drawChild(ViewGroup.java:3252)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3070)
at android.view.View.getDisplayList(View.java:13591)
at android.view.View.getDisplayList(View.java:13646)
at android.view.View.draw(View.java:14441)
at android.view.ViewGroup.drawChild(ViewGroup.java:3252)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3070)
at com.google.blockly.android.ui.vertical.BlockView.dispatchDraw(BlockView.java:145)
at android.view.View.draw(View.java:14750)
at android.view.View.getDisplayList(View.java:13599)
at android.view.View.getDisplayList(View.java:13646)
at android.view.View.draw(View.java:14441)
at android.view.ViewGroup.drawChild(ViewGroup.java:3252)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3090)
at android.view.View.getDisplayList(View.java:13591)
at android.view.View.getDisplayList(View.java:13646)
at android.view.View.draw(View.java:14441)
at android.view.ViewGroup.drawChild(ViewGroup.java:3252)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3070)
at android.view.View.getDisplayList(View.java:13591)
at android.view.View.getDisplayList(View.java:13646)
at android.view.View.draw(View.java:14441)
at android.view.ViewGroup.drawChild(ViewGroup.java:3252)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3070)
at com.google.blockly.android.ui.vertical.BlockView.dispatchDraw(BlockView.java:145)
at android.view.View.draw(View.java:14750)
at android.view.View.getDisplayList(View.java:13599)
at android.view.View.getDisplayList(View.java:13646)
at android.view.View.draw(View.java:14441)
at android.view.ViewGroup.drawChild(ViewGroup.java:3252)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3090)
at android.view.View.getDisplayList(View.java:13591)
at android.view.View.getDisplayList(View.java:13646)
at android.view.View.draw(View.java:14441)
at android.view.ViewGroup.drawChild(ViewGroup.java:3252)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3070)
at android.view.View.getDisplayList(View.java:13591)
at android.view.View.getDisplayList(View.java:13646)
at android.view.View.draw(View.java:14441)
at android.view.ViewGroup.drawChild(ViewGroup.java:3252)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3070)
at com.google.blockly.android.ui.vertical.BlockView.dispatchDraw(BlockView.java:145)
at android.view.View.draw(View.java:14750)
at android.view.View.getDisplayList(View.java:13599)
at android.view.View.getDisplayList(View.java:13646)
at android.view.View.draw(View.java:14441)
at android.view.ViewGroup.drawChild(ViewGroup.java:3252)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3090)
at android.view.View.getDisplayList(View.java:13591)
at android.view.View.getDisplayList(View.java:13646)
at android.view.View.draw(View.java:14441)
at android.view.ViewGroup.drawChild(ViewGroup.java:3252)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3070)
at android.view.View

@stronger1990 What device and OS version is this? I was able to chain 19 blocks from left to right and never saw a crash or any other error message in logcat.
Did any of your blocks also belong to a vertical group? That would also affect the view depth.
Can you try it with some simple block like the math square root block? It both inputs and outputs a number, so a good example for this test.
Possibly related to #179, though the forty block limit there is still much larger than the 8 listed here.

Okay.  I've been able to recreate this on KitKat API 19 emulator, but was not able to reproduce this on Lollipop API 22 (29 blocks and counting). Since KitKat is when ART was introduced and Lollipop is when it was made standard, I believe this is a case of #179 but we have somehow made the method stack larger per block, thus reducing the possible block stack.
Unfortunately, this is not a bug I can prioritize at this point. If you want to attempt to address this, I would focus identifying the depth early and just don't allow stacks that deep (with some user notification).
The correct solution is to flatten the view hierarchy by parenting all blocks directly to the workspace (or temporary draggable views). This is a major rewrite of our code to support this, with limited benefit given the vast majority of users are on ART capable devices.

Dear Andrew n marshall, I was busy before, so I didn't respond to you in time, I'm sorry for that. Now I kown the reason. Thank you very much for your email.


nixos/pam: Strip config in documentation and messages

config can be assumed as the options root and is therefore redundant.
Minor change suggested by @Majiir in https://github.com/NixOS/nixpkgs/pull/336609#discussion_r1757711892.
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Unfortunately merging #336609 caused a merge conflict here.

This should take care of the merge conflict.


Gov Healey parking minimums

In your MBTA zoning changes investigation, you say that Healey's proposal is to remove all parking minimums within 1/2 of transit. Many articles have been poorly written, but that would only apply to ADUs within 1/2 mile, not all housing types.

I probably saw one of those poorly written articles... It really did seem too good to be true.
It can definitely be removed or at least fixed up to be more accurate.


Request Reply

Hi @kjeldpaw
First off, thanks for all of the great work that you are doing with this. It has progressed impressively since I was last able to look at the project.
I was hoping for some clarification/direction on achieving something like the capability of https://quarkus.io/guides/kafka#kafka-request-reply.
I have had a look at https://github.com/quarkiverse/quarkus-reactive-messaging-nats-jetstream/blob/main/deployment/src/test/java/io/quarkiverse/reactive/messaging/nats/jetstream/test/RequestReplyResource.java and I'm not sure that it achieves the same thing. It seems more like a command/query type pattern. I could be wrong here so please correct me as my reactive programming is very much in the novice stage.
Essentially I was hoping to create some type of bridge between Rest and the messaging infrastructure while utilizing Jetstream. Do you have any thoughts on that or any direction to give?  Also while looking at your implementation is seems that the return type on the publish method of the connection class expects the same type to be returned. Is there a specific reason for this or would it be possible for the requested and reply types to be different?

Hi @darren-bell-optiva I have been looking at the example I created. It looks strange ;) Therefore I'm working on a new solution

Hi @kjeldpaw
Thanks for having another look at this. I appreciate your efforts. Let me know if there is anything that I can help with and I'll try my best to assist.
Thanks


Dialogues not properly closed with escape key

The HUD dialogues (e.g. alert details) are closed with the escape key but the grey/background layer is not removed.

Hello, After speaking with @psiinon I have worked on this issue and am close to submitting a PR. Thanks!


Question: Any ways to insert the forms via JS?

hi thanks for the awesome library, it works like a charm :D
I was wondering if there's a way to add new nested forms via JS instead of the link_to_add_association view helper.
Thanks!

Nope, not really. The link_to_add_association renders the partial to be inserted, so for the moment the only way is to use the view helper, optionally hide the link, and trigger the click-event programmatically. Note that the location of the link has an influence on the insertion point of the partial.

thx!


Feature request : template.css documentation

Is your feature request related to a problem?
No
Describe the solution you'd like
I just noticed that I can get my own CSS theme on memos, but I can't find any documentation/template base on which I can start making my own. Can it be added to the documentation ?
Additional context
No response

I will begin working on this now!

@fiumad were you able to make progress on this? Just checking because this documentation would be helpful

Maybe issue has been outdated.


WCAG: Text spacing

Description
We need to test if it is possible for the user to change different variables of the texts in the apps and not loose any functionality or content
The user should be able to set all of the following style properties:
- Line height (line spacing) to at least 1.5 times the font size;
- Spacing following paragraphs to at least 2 times the font size;
- Letter spacing (tracking) to at least 0.12 times the font size;
- Word spacing to at least 0.16 times the font size.

Source
Acceptance criteria

Describe criteria here (i.e. What is allowed/not allowed (negative tesing), validations, error messages and warnings etc.)

Specification tasks

[ ] Test is if this is possible

[ ] If no: How to fix it

Tested and found no errors except some visual bugs on our date picker. Will create a separate issue for date picker


Support border for NuiLayout

Orignally from https://github.com/MunifTanjim/nui.nvim/discussions/248

It would be very nice if this "fusing" of borders for adjacent popups be a option within nui itself.

@SmiteshP

Looking forward to this feature.


Packed CLI on RHEL/macOS/Windows are signed

On macOS/Windows machines, Anti-Viruses are flagging the packed CLI executable as a virus. A way to overcome this is by signing our executables.
DOD

[x] Choose to either sign exec manually or add it as part of our pipeline
[x] Validate that this fixes the problem by running signed exec on a clean Windows machine
[ ] Sign macOS + RHEL 7/8 executables
[ ] Verify they don't alert antiviruses

@sigalsax - shouldn't we separate this task to handle MacOs ?

@Tovli you are right ill close this since I was successful in signing the execs and here is the new card for macos


use copy instead of rename

I am trying to add statically linked spin binary creation as part of the CI (this is required for our openshift integration effort).
As part of this, I am using cross to build for x86_64-unknown-linux-musl target, which apparently runs inside a docker container.
While doing that, I ran into an error as follows:
  Finished release [optimized + debuginfo] target(s) in 35.29s
  thread 'main' panicked at /cargo/git/checkouts/cargo-target-dep-97a1ed8d29020898/b7b1989/src/lib.rs:111:17:
  Failed to move output "/target/x86_64-unknown-linux-musl/release/build/spin-cli-76b8343b474a1d22/out/target-deps/target__test-programs__core-wasi-test.wasm/wasm32-wasi/release/core-wasi-test.wasm" to "target/test-programs/core-wasi-test.wasm": Invalid cross-device link (os error 18)
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

using copy/removing the artifact seems to have fixed this.
The current change assumes it is a file that we are renaming. do you think we need to handle dir scenario as well.
Also, it seems like https://github.com/moby/moby/pull/43225 was fixed and made available in 24.0.0 version of moby, but it is not available yet in docker (https://github.com/docker/cli/blob/fefadb9be671251e92c410830628ba4188d6b974/vendor.mod#L15)

Could this attempt the rename first and then fallback to copy if that fails? Renaming is much faster in the common case where it works.


Installation of grpcio Python package on Alpine Linux fails

What version of gRPC and what language are you using?
Python grpcio version 1.27.0
What operating system (Linux, Windows,...) and version?
python:alpine Docker image which contains Alpine Linux 3.11
What runtime / compiler are you using (e.g. python version or version of gcc)
Python 3.8.1, installation of grpcio via pip
What did you do?
Start container:
docker run -it python:alpine ash

installation inside container:
apk add build-base
pip install grpcio

What did you expect to see?
Successfully built grpcio
Installing collected packages: six, grpcio
Successfully installed grpcio-1.27.0 six-1.14.0

What did you see instead?
Installation exits with failure because it seems abseil-cpp can't find linux/futex.h.
Logs:
 In file included from third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc:27:
  third_party/abseil-cpp/absl/base/internal/spinlock_linux.inc:17:10: fatal error: linux/futex.h: No such file or directory
     17 | #include <linux/futex.h>
        |          ^~~~~~~~~~~~~~~
  compilation terminated.
  creating tmp
  creating tmp/tmpfdam0s70
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.8 -c /tmp/tmpfdam0s70/a.c -o tmp/tmpfdam0s70/a.o
  Traceback (most recent call last):
    File "/usr/local/lib/python3.8/distutils/unixccompiler.py", line 117, in _compile
      self.spawn(compiler_so + cc_args + [src, '-o', obj] +
    File "/tmp/pip-install-7kd3fdwz/grpcio/src/python/grpcio/_spawn_patch.py", line 54, in _commandfile_spawn
      _classic_spawn(self, command)
    File "/usr/local/lib/python3.8/distutils/ccompiler.py", line 910, in spawn
      spawn(cmd, dry_run=self.dry_run)
    File "/usr/local/lib/python3.8/distutils/spawn.py", line 36, in spawn
      _spawn_posix(cmd, search_path, dry_run=dry_run)
    File "/usr/local/lib/python3.8/distutils/spawn.py", line 157, in _spawn_posix
      raise DistutilsExecError(
  distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/tmp/pip-install-7kd3fdwz/grpcio/src/python/grpcio/commands.py", line 260, in build_extensions
      build_ext.build_ext.build_extensions(self)
    File "/usr/local/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
      self._build_extensions_serial()
    File "/usr/local/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
      self.build_extension(ext)
    File "/usr/local/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 205, in build_extension
      _build_ext.build_extension(self, ext)
    File "/usr/local/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
      objects = self.compiler.compile(sources,
    File "/usr/local/lib/python3.8/distutils/ccompiler.py", line 574, in compile
      self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "/usr/local/lib/python3.8/distutils/unixccompiler.py", line 120, in _compile
      raise CompileError(msg)
  distutils.errors.CompileError: command 'gcc' failed with exit status 1

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-7kd3fdwz/grpcio/setup.py", line 384, in <module>
      setuptools.setup(
    File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "/usr/local/lib/python3.8/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/local/lib/python3.8/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/usr/local/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 192, in run
      self.run_command('build')
    File "/usr/local/lib/python3.8/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.8/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/local/lib/python3.8/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 84, in run
      _build_ext.run(self)
    File "/usr/local/lib/python3.8/distutils/command/build_ext.py", line 340, in run
      self.build_extensions()
    File "/tmp/pip-install-7kd3fdwz/grpcio/src/python/grpcio/commands.py", line 264, in build_extensions
      raise CommandError(
  commands.CommandError: Failed `build_ext` step:
  Traceback (most recent call last):
    File "/usr/local/lib/python3.8/distutils/unixccompiler.py", line 117, in _compile
      self.spawn(compiler_so + cc_args + [src, '-o', obj] +
    File "/tmp/pip-install-7kd3fdwz/grpcio/src/python/grpcio/_spawn_patch.py", line 54, in _commandfile_spawn
      _classic_spawn(self, command)
    File "/usr/local/lib/python3.8/distutils/ccompiler.py", line 910, in spawn
      spawn(cmd, dry_run=self.dry_run)
    File "/usr/local/lib/python3.8/distutils/spawn.py", line 36, in spawn
      _spawn_posix(cmd, search_path, dry_run=dry_run)
    File "/usr/local/lib/python3.8/distutils/spawn.py", line 157, in _spawn_posix
      raise DistutilsExecError(
  distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/tmp/pip-install-7kd3fdwz/grpcio/src/python/grpcio/commands.py", line 260, in build_extensions
      build_ext.build_ext.build_extensions(self)
    File "/usr/local/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
      self._build_extensions_serial()
    File "/usr/local/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
      self.build_extension(ext)
    File "/usr/local/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 205, in build_extension
      _build_ext.build_extension(self, ext)
    File "/usr/local/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
      objects = self.compiler.compile(sources,
    File "/usr/local/lib/python3.8/distutils/ccompiler.py", line 574, in compile
      self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "/usr/local/lib/python3.8/distutils/unixccompiler.py", line 120, in _compile
      raise CompileError(msg)
  distutils.errors.CompileError: command 'gcc' failed with exit status 1

  ----------------------------------------
  ERROR: Failed building wheel for grpcio
  Running setup.py clean for grpcio
Failed to build grpcio

Anything else we should know about your project / environment?
pip install grpcio==1.26.0 works as expected

I am seeing a "Could not find <Python.h>" failure in Docker on ubuntu 18.04 (nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04) if I do not first install python3-dev, which was not necessary with 1.26.0

@comedian780 Alpine is not manylinux compatible, we are still pending on PyPA
releasing a new standard of wheels (https://github.com/pypa/manylinux/issues/37).
Back to the failure itself, the latest release starts depending on Abseil which introduces new transitive dependency. The <linux/futex.h> seems due to missing the linux-headers package. I manually tested that it should be able to build after installing it:
apk add linux-headers

@malcolm-white The new release v1.27.0 only releases binary wheels for manylinux2010, which will only be accepted by pip > 19.0.0. So, can you upgrade your pip and try again?

@lidizheng Thanks for the update. I'm using pip via bazel/rules_python's pip3_import, and I can't find any documentation on how to specify a pip version. I have a workaround with installing python3-dev.

@malcolm-white rules_python is not hermetic. It will depend on your system installation of pip. So, it should be equivalent to doing python -m pip or python3 -m pip depending on whether your target specifies a version of Python 2 or Python 3.

@lidizheng Thanks for the clarification. I can confirm that adding the linux-headers resolves the build issues. Tested it with 1.27.1.