Failed to flush FLHS-ZN04

Previously I managed to flash a similar device, so it's likely a new firmware issue (the FCC ID remained the same, if that is to be trusted).
======================================================
Starting smart config pairing procedure
Waiting for the device to install the intermediate firmware
.Put device in EZ config mode (blinking fast)
Sending SSID                  vtrust-flash
Sending wifiPassword
Sending token                 00000000
Sending secret                0101
.................
SmartConfig complete.
Auto retry in 3s. ................................................................................................................
Timed out while waiting for the device to (re)connect
======================================================
Attempting to diagnose the issue...
An ESP82xx based device connected according to your wifi log.
If this is the device you are trying to flash, another issue may be preventing it from flashing.
Otherwise, it could be that the device does not use an ESP82xx or it did not connect.
For additional information, check the *.log files inside the scripts folder.
Please include these logs when opening a new issue on our GitHub issue tracker.
======================================================
Do you want to try flashing another device? [y/N] n
======================================================
Cleaning up...
Closing AP
Exiting...

Logs:
smarthack-mqtt.log
smarthack-psk.log
smarthack-udp.log
smarthack-web.log
smarthack-wifi.log
Thank you for an amazing tool!

I see evidence of two different devices in your logs. Did you try multiple devices in the same run?
In your web log, there's a pre-TLS device, and I can see it downloaded the intermediate firmware.
In your psk log, I see a PSK v1 device, but it doesn't appear in the web log.
In your wifi log, I see three devices, most likely one is your phone or donor device.

Are you by chance using a fresh or upgraded since you succesfully used it last time, Raspberry Pi Image for Tuya-Convert? There's increasing evidence that tuya-convert in some cases doesn't work properly anymore on those, and your symptoms match that.

This was a fresh install, on a clean pi image. I've long deleted the image I previously used.
I just deleted the directory and tried again, twice on the same socket, and it continues to fail:
smarthack-mqtt.log
smarthack-psk.log
smarthack-udp.log
smarthack-web.log
smarthack-wifi.log

That fits. Maybe try docker or another platform. There are too many reports of tuya-convert no longer working on current Raspi images to ignore them.

That's good to know @infocfc. If anyone has time to track down what changed in recent RPi, I will gladly accept a PR.

I just managed to successfully flash these through docker on a Raspberry Pi 4. The docker fails to run on Raspberry Pi Zero, because it's arm/v6.
Thanks for the help!


fix not accepting undefined tokens

"unk" token is defined, but the Encoder class raises an exception for undefined tokens. This PR fixes it.

Thanks for noticing that.
Indeed, as an example the token $ raises an exception in the training script. I've tested with your code and now it converts to an undefined token at position 2392, which is the <unk> token. Thanks for correcting!


pkg/cmd: Fix typo in help text of flag --tfjson

This commit also improves the grammatic structure of the help text.

What this PR does / why we need it:
Fixes a typo and improves the help text of the global flag tfjson.
Does this PR introduce a user-facing change?:

Fix a typo and improve the help text of the global flag `tfjson`.

/retest


[Docs] Universally append " | Meshery" to the end of page titles

Current State
Some individual pages have "| Meshery" added to their <title>s.
Desired State
While this text should be appended, no individual page should have this appended as a one-off. This text should be globally appended from within the head.html file - https://github.com/layer5io/meshery/blob/ed11d7c831823b6aa005764bb79a33822655bcd0/docs/_includes/head.html#L21
Acceptance Criteria

No page has this text individually specified (all existing references should be removed).
All pages should have this text visibly appended in their title (when viewed by a user).

Contributor Resources

Meshery documentation site
Meshery documentation source
Instructions for contributing to documentation
Layer5 Community Slack

I would love to help in solving this issue. Can you guide me a little more @leecalcote.


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
22 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
19 seconds
deprecated-base-image-check

✅ Succeeded
22 seconds
sanity-inspect-image

✅ Succeeded
15 seconds
clair-scan

✅ Succeeded
58 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
9 seconds
sanity-label-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
7 seconds
show-summary


Throw an exception up

Hello everyone! Is there any way to get exception out from initChannel(ch: SocketChannel) method from ChannelInitializer? Now all exceptions are handled by handlers or just logged (and converted in a warnings), but I want to handle it on application side.

The only thing you could do is to store it in an "external" reference. Like for example pass in an AtomicReference and store it there or you could also just a promise that you fail.
Please use stack overflow for questions in the future.


Update pre-build mode support link in README.md

Signed-off-by: Hersh Pathak<EMAIL_ADDRESS>

@chaitanya1731 @uMartinXu

this looks good to me. @chaitanya1731 what are your opinions? :-)

looks good to me


download: leading spaces for recent problems of Codeforces

$ oj dl -n https://codeforces.com/contest/1080/problem/A
[x] problem recognized: <onlinejudge.codeforces.CodeforcesProblem object at 0x7f1a9caa0160>: https://codeforces.com/contest/1080/problem/A
[*] load cookie from: /home/user/.local/share/onlinejudge/cookie.jar
[x] GET: https://codeforces.com/contest/1080/problem/A
[x] 200 OK
[*] save cookie to: /home/user/.local/share/onlinejudge/cookie.jar

[*] sample 0
[x] input: Input

3 5
[x] output: Output

10

[*] sample 1
[x] input: Input

15 6
[x] output: Output

38

報告してくれたのは @btk15049


Add support for multiple architectures in universal app bundles

Right now CMake only detects one architecture. But with Xcode it is possible to have multiple architectures in each binary. For example, you can have x86 and arm in a single universal binary. This depends on CMAKE_OSX_ARCHITECTURES. In detect-arch.cmake we currently only check the first architecture and use that.
https://github.com/zlib-ng/zlib-ng/blob/c0cca0854206e25b41f1ee403dfb9a522ba85328/cmake/detect-arch.cmake#L6-L9

There is multiple issues with adding support for fat binaries containing code for multiple architectures. Basically we need to have separate feature detection and build flags for all the architectures and then combine them as one binary.
I remember using fat binaries when MacOS switched from PowerPC processors to Intel processors.

Since there is a solution in #1085 I am closing this.

While building each arch manually works fine, it would be nice if there was support for having CMake do the work for us by building with -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64", which works fine with other projects.
In the meantime it’d be great if the wiki article about building for Apple Silicon could be updated with this info.


Fix #1183: Upload files into latest used folder

This PR fixes #1183 which is a nasty usability bug.

Codecov Report

Merging #1190 into master will increase coverage by 1.93%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1190      +/-   ##
==========================================
+ Coverage   70.98%   72.91%   +1.93%
==========================================
  Files          63       63
  Lines        3102     3449     +347
  Branches      444      552     +108
==========================================
+ Hits         2202     2515     +313
- Misses        747      790      +43
+ Partials      153      144       -9

Impacted Files
Coverage Δ

filer/admin/clipboardadmin.py
83.56% <100.00%> (ø)

filer/models/thumbnailoptionmodels.py
89.28% <0.00%> (-0.72%)
:arrow_down:

filer/utils/model_label.py
100.00% <0.00%> (ø)

filer/contrib/django_cms/cms_toolbars.py
0.00% <0.00%> (ø)

filer/admin/folderadmin.py
71.69% <0.00%> (+0.04%)
:arrow_up:

filer/fields/multistorage_file.py
88.46% <0.00%> (+0.58%)
:arrow_up:

filer/models/virtualitems.py
94.44% <0.00%> (+0.69%)
:arrow_up:

filer/templatetags/filer_admin_tags.py
92.00% <0.00%> (+0.69%)
:arrow_up:

filer/models/foldermodels.py
76.47% <0.00%> (+0.96%)
:arrow_up:

filer/admin/views.py
56.62% <0.00%> (+1.62%)
:arrow_up:

... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e119ca...0b843aa. Read the comment docs.


Add support for HTML5 video

Would be great if a html5 <video> element could be used with the lightbox .
At the moment, if a local URL is added, a <iframe> is created, just as for a YouTube video.

+1

+1

You can set this up pretty easily with a custom handler. Lity will run your handler just before the lightbox is opened.
Basic example:
lity.handlers('video', (target) => {
  if (typeof target === 'string' && target.indexOf('.mp4') > 0) {
    return `
      <video style="max-width: 100%;" autoplay playsinline>
        <source src="${target}" type="video/mp4">
      </video>
    `;
  }
  return false;
});

Thanks @milesw, that's the way to go 👍


Suggestion: Add config to change hint position offset

If possible, add a config that allows you to change the hint positioning to allow for more customizability.

Implemented


Revert "flutter tool: log dart2wasm vs dart2js as appropriate during build"

Reverts flutter/flutter#124165
Not sure whether this or https://github.com/flutter/flutter/pull/124178 turned the tree red so reverting both.
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux module_host_with_custom_build_test/12399/overview

merge error. LGTM


docs: Community snippets

Description

Because the other PR was so far behind and it auto-closed after I was updating it, here is a clean PR that gets community snippets going as well as organizes the routes for the examples as it was out of sorts.
This is a carryover of:  https://github.com/flame-engine/flame/pull/1869
Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[x] I have followed the Contributor Guide when preparing my PR.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[x] I have updated/added relevant examples in examples or docs.

Breaking Change?

[ ] Yes, this PR is a breaking change.
[x] No, this PR is not a breaking change.

Related Issues

We decided on the meeting now that it's better to put snippet-like things in the examples instead since those are much easier to keep up to date. Do you want to re-purpose this PR for that or should we close it?

We decided on the meeting now that it's better to put snippet-like things in the examples instead since those are much easier to keep up to date. Do you want to re-purpose this PR for that or should we close it?

Doesn't matter.  Closing is easiest.


Running the library from python

Is there a way to run the library from python code and not using command line (subprocess)?

The underlying cropping algorithm is in the binary for which we provide a python based wrapper implemented in ImageSaliencyModel
See https://github.com/twitter-research/image-crop-analysis/blob/main/notebooks/Image Crop Analysis.ipynb for an example.


Add security headers based on OWASP Secure Headers Project

Feature Request
Is your feature request related to a problem? Please describe.
I encounter an issue when adding multiple security headers to a loco project. I think that the only current way is through a middleware and it needs to be added to each new route on the src/app.rs file.
Incorporating security headers as recommended by the OWASP Security Headers Project on the configuration file can mitigate many risks and enhance the overall security posture of the framework.
Describe the solution you'd like
I would like the framework to implement a way of configuring the following security headers on the configuration file:

Content-Security-Policy (CSP): To mitigate XSS and data injection attacks.
X-Content-Type-Options: To prevent MIME type sniffing.
X-Frame-Options: To protect against clickjacking attacks.
X-XSS-Protection: To enable cross-site scripting filters.
Strict-Transport-Security (HSTS): To enforce secure (HTTP over SSL/TLS) connections to the server.
Referrer-Policy: To control the amount of referrer information sent with requests.
Permissions-Policy: To control which features and APIs can be used in the browser.

Based on OWASP Secure Headers Project: headers_add.json

These headers should be configurable, allowing users to modify or disable them as necessary for their specific use cases.
Describe alternatives you've considered
I have considered manually adding these headers through middlewares in the application code. However, this approach requires repetitive work for each route and does not provide a unified solution. Additionally, relying on developers to manually implement these headers increases the risk of inconsistencies and omissions. Implementing these headers at the framework level ensures a standardized and robust approach to enhancing security across all deployments.

looks like a good idea.
I think a 'secure_headers' concept is great, now all is left is to design the best developer experience for it:

secure defaults AKA secure-by-design
no limitation for development mode, strict for production mode
don't let development mode propagate into production mode
production defaults should require intentional effort to disable or modify
PS: we already have the CORS middleware. so we can separate CORS from secure headers (since CORS can be more complex to configure)

OWASP aside, Rails gives you a set of defaults and a nice what to modify:
https://guides.rubyonrails.org/v4.1/security.html
config.action_dispatch.default_headers = {
  'X-Frame-Options' => 'SAMEORIGIN',
  'X-XSS-Protection' => '1; mode=block',
  'X-Content-Type-Options' => 'nosniff'
}

I'm leaning towards what Rails has done, and perhaps offer it as a "default headers middleware", or "secure headers middleware" (although there is no real technical difference) with a block of defaults.
middleware:
  default_headers:
     defaults: false    # if true, the configuration-provided headers will be merged into our best-practice defaults
     headers:
        # custom configuration-provided headers
        "X-Content-Type-Option": "..."

Any thoughts?

Another iteration which I believe to contain best of both worlds:
...
secure_headers:
   preset: github # uses the secure_headers github library, can also use 'empty'
   override:
        'header-name': 'value'
...

This introduces a concept of "presets", where we can use the github defaults, or the OWASP defaults, by specifying github, owasp.
Design notes:

the reference secure_headers library includes some programmability with configuration code blocks, but I believe this can be resolved by using YAML blocks, variables, or replicating things like server names.
the reference secure_headers library mixes into controllers some utility functions to use, inline with controller response flow. I believe this may be "too much" for the Rust developer, and better for them to use set headers in response instead of the magic.

For a development environment configuration I would recommend not setting it. I assume most develop on localhost and with http. Enabling secure_headers will disable POST because, "Refused to execute inline script because it violates the following Content Security Policy directive: "script-src https:"."


Build from source -- go get error

I have installed golang as follows
go version go1.18.3 linux/amd64

When I use go get github.com/prasmussen/gdrive, I got
go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.
        To build and install a command, use 'go install' with a version,
        like 'go install example.com/cmd@latest'
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.

You should use go install github.com/prasmussen/gdrive@latest instead of go get

@aralsea is there a variant of that that will work if I've modified the source? I believe I have a working fix for #621 , but I can only build it against the @msfjarvis variant that uses modules.


Start removing custom fixed width integer aliases

Description
Because the fixed width sf:: integers are merely aliases for C++11 types, there is no need to have them. They're not even particularly shorter than the standard equivalents and are actually longer if you include the sf:: namespace as is the case with all 3rd party code. This PR only removes the 8-bit integer aliases for the purposes of keeping the scope of the PR manageable and because I want more feedback before I take the effort to remove the other 6 aliases. If SFML were written today, surely these aliases never would have been added.

Glad to see this PR got accepted. Is this the right amount of changes to include in this PR or would the team rather see this change in its entirety in a single PR? Currently we're on track for 4 total PRs to complete this.

I at least think it's worth doing. We only defined these SFML type, because C++ didn't provide us fixed length ones in C++03.
I'm fine with multiple PRs, makes it easier to review.

Btw as per the majority decision made in #2184, I will add std:: to all these fixed width integer types. I'd appreciate it if someone could help me write a regex that finds all un-namespaced instances of T and adds std::. I struggled with this in the size_t PR since merely searching for size_t yields many other types which you do not want to add std:: to.

Probably easier than finding a regex (negatives are always a bit of a pain) would be two replacements:
size_t -> std::size_t
std::std::size_t -> std::size_t

For genericity over size_t, uint8_t, ptrdiff_t etc, you could use [a-z]+[0-9]*_t.

I love that trick! I've used it before successfully. Sadly I think the issue was that in that first transition, you end up picking up irrelevant types like ssize_t or khronos_ssize_t.

This can typically be countered by the "full words only" filter in IDEs. You can also explicitly prefix the regex by (^|[^a-zA-Z0-9]), meaning "anything that either begins the line or is preceded by a non-alphanumeric character" (untested).
Btw, we might want to await final resolution of https://github.com/SFML/SFML/pull/2184#issuecomment-1238261692. Some team members (medium active) like binary1248 have not voiced their opinion yet. Although, in the worst case reverting back wouldn't be difficult anymore.

Amended the latest commit just to get CI to re-run. It was full of code coverage failures a few hours ago.

https://github.com/ChrisThrasher/SFML/commits/more_fixed_width_ints
I've got the removal of the 16 bit integer aliases queued up for after this PR.

SFMLBuildMaster: Build this please.

!next 😄
Thanks a lot for this!

See #2196 for more!


Intro 1st polished

Job d2l-zh/PR-614/1 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-614/

Job d2l-zh/PR-614/1 is complete.
Check the results at http://preview.d2l.ai/d2l-zh/PR-614/


chore(tools): enable npm run example

npm run example run example locally and make debugging a lot simpler.
lint fail and fixed by #981

I fixed the CI in master, could you rebase please?

it's ok.

I fixed the CI in master, could you rebase please?

This looks good, could you add a rewrite from "/" to "/examples" so that one does not have to search for that folder? (https://github.com/vercel/serve-handler#redirects-array)

thank you, I has add a redirect from "/" to "/examples".

Perfect, thank you


dev: impl serde traits on StarknetOsOutput

As part of the integration in https://github.com/karnotxyz/madara-orchestrator we'd need the output to be (de)serializable for easy storage/reading.
Happy to provide a PR if necessary!

I implemented this feature in #245. This produces the following JSON format:
{
  "initial_root": "0x5594a2d89ad4eff183ea6a7f4d4bf247fb799f3db54bc6d94ea441e0c99a4ac",
  "final_root": "0x12b31d0ff0c0f5aa076d2e7039d2e19329a8a4a4ada68f42f2e0b6b8af304fd",
  "block_number": "0x7d1",
  "block_hash": "0x0",
  "starknet_os_config_hash": "0x5d4d0b87442f4c6c120e8d207e27c0e01796ad1e57c5323292ecaf655b53b05",
  "use_kzg_da": "0x0",
  "messages_to_l1": [],
  "messages_to_l2": [],
  "contracts": [
    {
      "addr": "0x1",
      "nonce": "0x0",
      "class_hash": null,
      "storage_changes": {
        "0x7c7": "0x42"
      }
    },
    {
      "addr": "0x1001",
      "nonce": "0x0",
      "class_hash": null,
      "storage_changes": {
        "0x27e66af6f5df3e043d32367d68ece7e13645cca1ca9f80dfdaff9013fddf0c5": "0xddec034b926f800",
        "0x723973208639b7839ce298f7ffea61e3f9533872defd7abdb91023db4658812": "0x1f67eee3d0800"
      }
    }
  ],
  "classes": {
  }
}

One of the limitations I can think of is that currently we do not parse messages in a meaningful way, we keep them as vectors of felts. I might get to do that sooner than later, TBD.

@EvolveArt let me know if this works for you, without an answer I'll merge it by end of day. We can make subsequent modifications, of course.


Update to work with latest bevy main branch

Some small updates to bring this up to date with the main bevy branch in its current form.
This commit adding the view transform to view uniform broke rendering:
https://github.com/bevyengine/bevy/commit/56b0e88b5331a2df31b757ff91b5ef30853bb5c5

Fantastic. Thank you @DGriffin91!


quiz app

Related Issue
#167
Describe the changes you've made
Quiz app made of html css js
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
A clear and concise description of it.
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Screenshots
Put any screenshot(s) of the project here.

@Vishal-raj-1 @urvashi-code1255 now you can review it i stash all commits in one but some files are coming thats why there is 3 commits was there so now it correct

@Vishal-raj-1 now you can review it its correct


keep the data field when storing and loading the schema

Simply, modifies downloadSchema to keep the data field when storing the schema file to disk. An error is now thrown if data isn't the top-level field in the response.
As far as loading the schema for code-generation goes, an error is thrown when neither data nor schema exist as the top-level field. The reasoning is so as not break the old code-gen behaviour but I can modify that to only check for data.
Closes #8.

Thanks!


Advanced service-side predicate filtering using S3 Select

Is your feature request related to a problem? Please describe.
I need to load a subset of a large dataset in S3, with filters that are more granular than the partition keys.
Right now, AWS Data Wrangler will only let me select individual partitions. I would like to pass additional filters or predicates and have them evaluated by the storage layer, so that I don't have to remove additional records within my own code.
Describe the solution you'd like
When using any Data Wrangler read function, I would like to pass an SQL query which can then be passed to S3 Select. The query would be similar to the examples here; https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-glacier-select-sql-reference-select.html
P.S. Don't attach files. Please, prefer add code snippets directly in the message body.

Thanks for raising this. I can see value in leveraging S3 select within Wrangler. However I would like to highlight some current limitations of the feature first:

It operates on a single S3 object
The maximum length of a record in the input or result is 1 MB
It can only emit nested data in JSON format

I don't consider these showstoppers though.
My suggestion would be create a new method: wr.s3.read_sql_query instead of bloating the existing wr.s3.read_parquet/csv methods. The latter already handle too much in my opinion and adding a sql argument that operates on a single S3 object would not make much sense. Thoughts @igorborgest, @maxispeicher, @kukushking?

I also think that it makes sense to put this functionality in a separate function as it is kind of different to just a default read operation. Especially because of the limitation to a single S3 object.

This is an interesting S3 feature... For sure there is some space in the library to take advantage of that.
I also prefer to move on with the wr.s3.read_sql_query idea.
wr.s3.read_parquet/csv methods already are overwhelmed enough indeed.
In addition to the limitations listed by @jaidisido, there is another significant one:

The maximum uncompressed row group size is 256 MB. (For Parquet file)

This is now merged into main, to test:
pip uninstall awswrangler -y
pip install git+https://github.com/awslabs/aws-data-wrangler.git@main

until it's available in the next release.


Documentation/Tutorial for Creating a Custom Editor

@SebT thank you so much!!!

I started documenting the editor class in the wiki - https://github.com/jdorn/json-editor/wiki#editor-srceditorjs
The solution @SebT has is slightly out of date.  It should be replaced with just this.onChange(true).  I recommend reading through the wiki which goes through the major editor methods and what is supposed to happen in each.


Compile-time metadata

I would like to be able to insert metadata into my code that will be discarded at runtime but returned as extra information when calling the compiler programmatically with some code.
Elixir uses metadata in order to provide certain language features at build time. I would like to experiment with providing some of these, preferably in an elixir-integrated way. Metadata enables these experiments to take place without modifying the core compiler too much.

Yeah, we've been talking about this for a couple weeks now, inspired by both Clojure metadata as well as the recent docs data addition to LFE. The path that we're exploring (@yurrriq is prototyping this work) is to essentially update the latest docs efforts with a generalized data structure that will incorporate docs (thus not break this new feature) while allowing developers to add support for all sorts of additional features, as you indicate above.
I'm pretty excited about this approach -- in particular, I'm looking forward to using it to enable type annotations. But there's soooo much more that can be done, as you know.

Yeah, I'd like to have at least the capability to have some of the shiny feature elixir added. Or to experiment with them at least :)

What we have currently is that basic forms for defining things define-module, extend-module, define-function and define-macro all have an extra field for meta data. The format of the meta data is defined to be a list of key-value lists, a classic CL association list. The idea is that you can add any meta data you wish here and compiler passes will only look at what is relevant for them. So far all we have is the documentation data which has the form (doc doc-string-1 doc-string-2 ...). There can be multiple docs. These are now used by the doc building pass of the compiler which extracts them and saves them in a separate chunk in the beam file. Any pass is free to add anything there as long as it obeys the general format.
The code generating parts of the compiler now happily completely ignore the meta data.
The current macros defmodule, defun and defmacro don't as yet support a general mechanism for including meta data and can only handle documentation strings which become the doc meta-data. You are of course free to use the basic forms directly in the file.
The basic forms are described in lfe_guide. To see an example of this look at the files dev/example.lfe and dev/meta_atts.lfe. To see how these expand try compiling them in the repl with (c "dev/example.lfe" '(binary to-lint)) which will return the expanded code forms. You will see what I mean.

I am not a fan of super specific syntax for stuff, and don't really see the need here. :-)

One thing we probably need to which would help using meta-data is to introduce a way to "add" extra passes to the compiler. You have macros today of course but there is no way to work on the whole file/module in one go.
To cover all options we would actually need it in 2 places: at the very beginning before we have done any macro expansion or splitting of the file, and separate.y for each module after all macros have been expanded. This might be overkill. Adding one of them first will not stop us adding the other later.

I am not a fan of super specific syntax for stuff, and don't really see the need here. :-)

But! Adding support for metadata would mean that you wouldn't have to field many of the requests that LFE now gets -- instead, you could just point people to the docs that show how to use it to get what they want via metadata in their own projects/libraries :-)

I think lfe_meta will be my next major effort in LFE.

I think Robert's answer above (https://github.com/rvirding/lfe/issues/241#issuecomment-220376184) takes care of this :-)
Closing ...


Failure in Tests

While running tests once, test_delete_paste_route() runs, which deletes the test paste and if the tests are run again, then the cases test_get_paste_route() and test_delete_paste_route() fails.

@A91y yeah I know this we can do two things
1 - Use mock tests
2 - create a sample file and then delete that file.

Got it! So, can we go with the second option of creating a sample file and then deleting it? or create the test file again after deleting in the test case?


Clean up product dependency API

As part of https://github.com/apple/swift-evolution/blob/main/proposals/0339-module-aliasing-for-disambiguation.md, a new API with an optional package parameter was accidentally added. We can safely remove this API since #4203 added validation that prohibited the use of product declarations without a package anyway. As part of this, I also cleaned up that diagnostic since "unknown package 'unknown package name'" looks quite ugly.
rdar://114303935
fixes #7158

@swift-ci please test

@swift-ci please test windows


Implement dir_fd in os.open

Now pass test_posix.py PosixTester.test_open_dir_fd
Implement dir_fd in
make_path and os.open(path, flags, mode=0o777, *, dir_fd=None)

Related to #1671

@coolreader18 Sorry for pinging you out of nowhere but could you please take a look at this? Is there anything I could change to make this better? Thanks in advanced.


available exits error while forming caravan with map designer (RT 2.3.9)

RT 2.3.9
Describe the bug
Happens during forming a caravan when you click 'send'. Throws red error mentioning map exits. In top left says the caravan is unable to leave the area and make sure there is at least one side reachable.
(side note: Pretty sure the previous version RT available on github, didn't have this specific issue, but together with world beautification project it just flat out rejected me clicking to set routes in worldmap.)
Steps to reproduce the behavior (VERY IMPORTANT)
assuming mods been loaded from mod list already

map-designer options for 'mountains' set to max for amount to alsmot solid and size to huge attached picture below
generate map through regular means or dev means from titles screen
attempt to form caravan gives error: there is no exits / same with dev show exits button

extra tests
trying different settings in map designer:
generate map with map-designer (max mountains) and RT
same error
change mountain settings to default
use map reroll or start new game
no error
trying to start with mountain map then switching mods up:
generate map with map-designer (max mountains) and no RT
no error
save game
disable map-designer, enable RT
load game
same error
disable RT and map-designer
load game
no error
create game with error then try saving it with out  mods on and loading back with rt:
generate map with map-designer (max mountains) and RT
same error
save game
disable map-designer
load game
same error
disable RT
load game
no error
save game
enable RT
load game
same error
at all instances when error was observed, disabling RT made no errors about the no available exits on map
said error is always mentioning that it cant find exits:
~~~~~~~~~~~~
Verse.CellFinder.Verse.CellFinder.TryFindRandomEdgeCellWith_Patch0(System.Predicate`1<Verse.IntVec3>,Verse.Map,Verse.Rot4,single,Verse.IntVec3&)
  at RimWorld.Planet.CaravanExitMapUtility.AvailableExitTilesAt (Verse.Map map) [0x000b1] in
~~~~~~~~~~~~ rest in log

Error Log
player:
https://pastebin.pl/view/41fbccf2
huglib:
https://pastebin.pl/view/4cdfd470
(was getting http400 errors trying to upload the default github way)
Save file both same error
map with scattered mountains and few exits visible
https://drive.google.com/file/d/1_wF4j0SF1lnixw5iUW-BxacibxIZeewg/view?usp=sharing
rerolling map again to mountain on one side so half the map is empty
https://drive.google.com/file/d/1sktiz7rIwp14xo7AsoBpuVfpZ7BD4PqM/view?usp=sharing
Screenshots
Not sure how I would screenshot this. When creating caravan: it simply says in top left that there is no available exits off the current map. If in development mode, clicking the show available exits button in world, no tiles are highlighted around my settlement.
here are settings for map reroll https://imgur.com/a/BhhXAVi
Mod list (RimPy)
https://rentry.co/t28eu
or copy it here:
[Mod list length: 8]
Harmony [https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077]
Core [https:// no link (local mod)]
Royalty [Official DLC] [https:// no link (local mod)]
Mod Manager [https://steamcommunity.com/sharedfiles/filedetails/?id=1507748539]
HugsLib [https://steamcommunity.com/sharedfiles/filedetails/?id=818773962]
Map Designer [https://steamcommunity.com/sharedfiles/filedetails/?id=2111424996]
Map Reroll [https://steamcommunity.com/sharedfiles/filedetails/?id=761315214]
RimThreaded [https://steamcommunity.com/sharedfiles/filedetails/?id=2222907981]

@doc776 should be fixed on 2.4.2


Can json_encode options to be set?

In the Flight::json() function, options of json_encode can not be set such as JSON_UNESCAPED_UNICODE,
public function _json($data, $code = 200, $encode = true, $charset = 'utf-8') {
        $json = ($encode) ? json_encode($data, JSON_UNESCAPED_UNICODE) : $data;
        $this->response()
            ->status($code)
            ->header('Content-Type', 'application/json; charset='.$charset)
            ->write($json)
            ->send();
}

Can this option be set manually by passing parameters or load from config?
Thank you!

@wwtg99 This enhancement has been merged, are you happy with the change?


Adding Boot.dev as a resource to the Backend-Development roadmap

Hey WeMakeDevs maintainers!! Thanks so much for this awesome repo.
Everything on Boot.dev is free to audit, and I'll love to share some of that free content here with learners!

Back-end Developer Career Path
Learn SQL full course
(Node.js Project) Build a Web Crawler
(Go Project) Build a PokeDex CLI to Learn Caching
Boot.dev's FreeCodeCamp Full HTTP Course
Learn Docker

Hey @wagslane, thanks for sharing these resources. Please feel free to open a PR to add these to the backend roadmap 😄


Question: Flutter Web and Metamask

Can I use this plugin to open Metamask on Flutter Web and connect to it? If yes, how can I do it?

Try https://pub.dev/packages/webthree. it works well! And you can keep your actual web3dart code because it's a fork of web3dart + wallet management

Can I use this plugin to open Metamask on Flutter Web and connect to it? If yes, how can I do it?

New solution: https://medium.com/archethic/an-innovative-sdk-for-flutter-web-introducing-wagmi-flutter-web-by-archethic-39789be2b3dd


chore(main): release 1.1.1

:robot: I have created a release beep boop
1.1.1 (2024-09-03)
Bug Fixes

#146 better handling for empty tables  (c9c11ee)
SessionDelete now uses native vim cmds (#156) (6e9c992)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.1.1
:sunflower:


EncryptionService latest changes needs to be uptaken by the app

Describe the bug
There's a recent change in EncryptionService that needs an atsign to be passed.
Steps to reproduce

First update to the latest at_client version and do a flutter pub get

Expected behavior
There should be no errors in the code.
Screenshots

Smartphones

Device: [e.g. Samsung Galaxy]
OS: [e.g. Android]

Were you using an atApplication when the bug was found?
atmospherePro
Additional context
No response

Updated in trunk branch


Windows Support

added solution files for Visual Studio Express 2010. Now, it's possible to build the library on Windows and add it to other projects.


Pre-Release: 2.4.07a

I have created a Pre-Release Version for a new Valkyrie Release containing the following changes.
https://github.com/Quantumrunner/valkyrie/releases/tag/prerelease%2F2.4%2Fv2.4.07a
Testing would be highly apprecciated.
Changelog:

#1244 SOA - Minor Misspellings Person Tokens
#1243 Portuguese lang update
#1228 Added "undead" trait to all undead monsters and "monster" trait to all monster
#1225 Mad28: Path Of The Serpent
#823 Improving the usability of random monster groups

Two users have already mentioned problems with a black screen on android after the unity logo:
#1250 2.4.07a Pre-Release. Android blank screen

Checked the PoTS tiles.  All present and accounted for...except that the Campsite which is on the reverse of "Hall Chamber 2" is missing - Hall Chamber 2 is "linked" to an older Campsite tile from a previous expansion (not sure which) instead.

Added all of the new items (not spells) and made them starting items.  None of the pictures showed up in the starting items list when I ran the scenario.

All common and unique items present and accounted-for, as are new spells and tokens (I did not check the person tokens)...once I remembered to add the new expansion under "Select Content" in Valkyrie :-)

Checked the PoTS tiles. All present and accounted for...except that the Campsite which is on the reverse of "Hall Chamber 2" is missing - Hall Chamber 2 is "linked" to an older Campsite tile from a previous expansion (not sure which) instead.

There is a camp on CoTW probably that one.

Sadly the trigger for defeatedSpawns does not work in MoM.
Here is an Example, that spawns a monster and has two events that display text, one that triggers when the spawn is defeated and the other using the "unqiue" of the spawn option. Neither events run.
TestSpawn.zip
Monster spawned

Defeated monster, no diaglogue

Yep I can reproduce this. I'll need to debug this to find out why it's not working.

Already found it. The update was only done for the Descent logic and not for the MoM logic.
But before I build it again and release it one question:
Can a spawn ever be unique? Or does the unique trigger for the spawns not make any sense at all because it does not exist?

Unique has no function in MOM. Monsters are individual entities not groups.

Ok then I'll try to remove the "Unique" stuff from the MoM UI completely.

All done. I have created a new release. See first updated post.

Just ran a couple of scenarios through and they work. Will have a play around in the editor tomorrow and retest that spawn trigger (which I am looking forward to! Should be very helpful and save creating a ton of custom monsters).

The DefeatedSpawn trigger works now, well done @Quantumrunner
Spawn monster:

Defeat monster

@NPBruce @BenRQ
Would you guys have any objections to publishing this?

Added new release 2.4.07c to add logic for disabling default music (#1265)

Official version 2.4.07 has been released, thanks again @Quantumrunner @redwolf2 for the work on this !
https://github.com/NPBruce/valkyrie/releases/tag/release%2F2.4%2Fv2.4.07

Thanks to everyone who helped!
Jim Lederer
248-482-3668

On Apr 18, 2020, at 2:45 PM, BenRQ<EMAIL_ADDRESS>wrote:

Official version 2.4.07 has been released, thanks again @Quantumrunner @redwolf2 for the work on this !
https://github.com/NPBruce/valkyrie/releases/tag/release%2F2.4%2Fv2.4.07
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks guys! Really appreciate it. Looking forward to updating my scenario POS placeholder events with actual content now.
Though does mean I have to revisit my old scenarios to exclude PoS items from some of the drops !
Also thanks for those that help test.


Add Artificial Delay when Searching/Randoming

The way the site works is that the initial search requests the combos from the copy of the google sheets data saved on the site, which takes a little time to make that network request. After that, it loads all the combos in memory, and subsequent searches are very fast because the data is already loaded into the site. Just needs to filter out the stuff that doesn't match the query. Same is true for using the Random Combo button, the first one will take time to load all the combos, and subsequent ones will be just about instantaneous.
This is great for right now, because the number of combos is small enough that this isn't really an issue. But one of the reasons we're looking to move to a database is to be able to scale to much larger amounts of data, (and support much more complex querying) but this will have the tradeoff of having to do a fresh network request for every search. Meaning that although a better technical solution for the future, it'll appear to the end user like the site became slower to use once this upgrade happens.
We should artificially add some time in between making new searches/random requests to simulate the eventual network request that is going to happen. I think between .5 seconds and 1.5 should be fine. This will have the bonus of showing off the loading screens that indicate something is happening.
If possible, we should rework those loading screens to show placeholder content. See https://www.codepicky.com/content-placeholders/

The delay part is done, thanks to @CVPhelan. We still have the loading page redesign, but I think we can put that off for a while. Going to remove this issue from the initial release milestone


no maps are being displayed on Edge browser

As reference to this issue : https://github.com/nikitavoloboev/learn-anything/issues/1062

Are there any errors in console?

Also have the same problem on Edge and Chrome, have the bug been fixed ？
And there is no error in console.
"
[234] ./client/sass/main.sass 1.28 kB {0} [built]
[237] external "ReactRouterDOM" 42 bytes {0} [not cacheable]
[239] multi webpack-hot-middleware/client?reload=true&timeout=2000 react-hot-loader/patch ./client/index.jsx 52 bytes {0} [built]
+ 225 hidden modules
webpack: Compiled successfully.
"

Apparently Edge doesn't like self closing SVG tags, I'm gonna have a look at this on the weekend.


Move from freenode to Libera Chat

Just for reference: Since we are using SASL, the user needs to be registered on libera with nickserv before this actually works.

I did this 5 minutes ago ;)


master|RMD-2918 update contacts for feature requests

RMD-2918
Changes

Updated the contacts in the readme for feature requests

Ignorance is bliss

I feel I'm going to know why


Add missing prefix to uiimageview category methods

The activity indicator methods on the UIImageView category methods are missing the sd prefix.

:+1:

The sd prefix was added to methods like imageWithURL to avoid the collision with other libraries. In this case, I don't think the same issue applies. To avoid complicating our lives, I would not merge this in.


Unit templates

Todo:

[x] Define models and data structures
[ ] Assign template to unit
[ ] Add a "create template from unit" action
[ ] Edit unit template

Hi Kjell. I wanted to say this will be one of the excellent features. Is it will be like once we create a unit template , we can select same unit in multiple scenarios ?

Hello Kjell, I’ve been following your work from long and you have been constantly  adding good features . I was curious if you might have any plans to add this feature ? I’d really appreciate any updates you can share. Thanks for your time and for all the great work you’ve been doing.:)


feat: implement a .roseau_ignore feature

In git's own implementation of an ignore file, there's the possibility of defining a system wide ignore file that applies retroactively in every repository, the location for it is in ~/.config/git/ignore, it could be a nice addition to have this ability as well with roseau for common directory paths that you may want to ignore (let's say you write a lot of projects that use /src/test/ for example.)
This ignore file would also need to be merged with the existing ignore file.
Thinking of gitignore as well, maybe there's a need to explicitely exclude an entire folder but select files, by using the "!" character at the start of a line, what do you think?

In git's own implementation of an ignore file, there's the possibility of defining a system wide ignore file that applies retroactively in every repository, the location for it is in ~/.config/git/ignore, it could be a nice addition to have this ability as well with roseau for common directory paths that you may want to ignore (let's say you write a lot of projects that use /src/test/ for example.)
This ignore file would also need to be merged with the existing ignore file.
Thinking of gitignore as well, maybe there's a need to explicitely exclude an entire folder but select files, by using the "!" character at the start of a line, what do you think?

Thanks for the thoughts about the feature. I don't know if a global ignore is useful. For Git it is relevant for system-specific files such as .DS_Store on MacOSX you don't want to see. For an API I am not sure it's very useful. Granted there is some very common stuff like *Test* or *internal* but I feel like it should be documented on a per-repo basis, at the very least so that the users have a definition file of what the API is. However, my current proposal is kind of weak and I think we would need some more stuff to have something easily usable. For instance, in GumTree I would want to include only types belonging to a subpackage of core which is not a test. It's hard to express that with my current proposal because I would need to remove by hand all packages not belonging to core. The ! could be useful. Anyway, maybe it would be nice to start with a simple mechanism and make it grow according to the use cases of users?

I agree we should definitely start with a simple ignore implementation for now. Now that you mention your use case, I also see a lot of other problems to tackle if we really want the ability to dial in precisely which packages or even changes (and I think that's more the type we wanna deal with here) to exclude or not. Not to mention, the fusion of a global ignore and a local one wouldn't be straight forward.
For ignoring paths or specific types or breaking changes, you don't want to remove such types/files potentially so roseau can properly compute the API model (if you selectively exclude a few files you can end up with an incomplete api model missing on a few api breaking changes that wouldn't be directly linked to the files you removed afterall), but what matters for you is to not have roseau report breaking changes on these types. It's a tricky feature to do and I think it's better to see later about it.

Another approach to my current implementation would be to post-process the breaking change list to filter some according to an inclusion/exclusion configuration. It would enable us to ignore for instance per-kind BC (like ignore method now abstract), a thing that would be hard to do with my implementation. I am not sure however that it would cover real use cases.

Letting users specify a list of BCs they don't care about is an important use case supported by all the other tools (incl. Maracas). It's very easy to implement though: post-process the returned list of BCs.
As for name-based exclusion of symbols, the current proposal + annotation-based exclusion LGTM.

BC kinds exclusion should be global, not per-symbol. I'd be simpler if both could be specified in the same file.

On a side note, note that Java modules should be the primary way for maintainers to specify the scope of their APIs and encapsulate internal packages since JDK9 circa 2017.
We've never implemented support for Java modules in Maracas nor Roseau but that should be top priority now. It took a while but adoption is increasing (see some projects here).

OK j'ai mergé les changes (j'espère)!
Peut-être il faudrait la merger si cela fonctionne?


Issues installing on Mac

I am having issues installing velocyto on my Mac. I was able to install all the dependencies with conda and pip respectively but the pip install velocyto command fails. I have tried suggestions in #53 but they have not worked so far. Here is how the command fails:
Building wheels for collected packages: velocyto
Building wheel for velocyto (setup.py) ... error
ERROR: Command errored out with exit status 1:
...
compilation terminated.
error: command 'gcc' failed with exit status 1
ERROR: Failed building wheel for velocyto

I'm encountering the same problem. I also tried the suggestions in #53 but so far I didn't get it to work.

I'm encountering the same problem. I also tried the suggestions in #53 but so far I didn't get it to work.


fix some problem of moving platform

/Players can now stand on the platform and follow it.

Your branch is behind.

Still not usable. The player can hardly move on the platform. Please fix.


[BugFix] Deepseekv3 broke quantization for all other methods

SUMMARY:

fix quantization for MoE

Will patch release after this

Merging as only AMD test are pending.


az ml workspace update --application-insights does not work

az ml workspace update --resource-group XXXXX --name xxxx --application-insights /subscriptions/xxx/resourceGroups/XXX/providers/microsoft.insights/components/xxxx --update-dependent-resources

Does not work => The application insight remains unchanged

route to CXP team

@sebgros-ms Thank you for reaching out, we are looking into it.

@sebgros-ms We are unable to reproduce the issue, i could map  the application insights  successfully.

Here is the command i used
az ml workspace update -g Issue23154 -n Issue23154 --update-dependent-resources


Setting up Named Credentials

Setting up Named Credentials

Changes to the architectural model, see Model 0.2


fix(Designer): Showing secure workflow parameters in consumption

Main Changes
Fixed an issue that was preventing secure workflow parameter types from appearing as options in designer.
Can now select and properly render SecureString and SecureObject
I also removed the secure string warning on the value fields since it should only appear on the default value.
(Also fixed a small unrelated issue where we didn't run a string through INTL in the delete modal)
Fixes https://github.com/Azure/LogicAppsUX/issues/4322

Can you make sure this yellow warning meets a11y contrast standards?


Added support for the new states to the plugin.

This was bundled with version 4.2.2 which is now live in production.


feat: allow oveeridng nested runtime config with env

🔗 Linked issue
fix https://github.com/unjs/nitro/issues/1830
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Original behaviour
Runtime config properties with object type cannot be replaced by matching env variables.
    runtimeConfig: {
        feature: { // Setting NITRO_FEATURE=false do not work
            options: {  // Setting NITRO_FEATURE_OPTIONS=false do not work
                optionA: true,
                optionB: true
            }
        }
    }

Updated behaviour
Runtime config with object properties can be replaced by matching env variables.
    runtimeConfig: {
        feature: { // Setting NITRO_FEATURE=false works
            options: {  // Setting NITRO_FEATURE_OPTIONS=false works
                optionA: true,
                optionB: true
            }
        }
    }

📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

This would be pretty useful, is there anything blocking this from being merged?

Rebase/merge with main should make the tests pass again, this PR will enable more Nuxt modules to add support for more complex runtime configuration (have a PR lined up for @nuxtjs/i18n built using this code).
Don't mean to rush anyone to merge this, but if I can be of any help to move it along let me know!

Thanks for PR ❤  and sorry for late review since i needed to properly verify changes.
I have added unit tests + small refactor to make it possible. it seems NITRO_FEATURE_OPTIONS is broken { feature: { options: { optionA: true, optionB: true } } } overridden by NITRO_FEATURE_OPTIONS: false results into feature: false


1.7.1 (vs. 1.6.0) breaks autoplay demo

short description of the bug / issue, provide more detail below.

The autoplay part of the demo page  http://kenwheeler.github.io/slick/
does no longer  really work using slick.js from 1.7.1.
Remark: the demo page obviously uses 1.6.0
Problem: when clicking next-arrow,  autoplay stops and will not reactivate
===============================================
[  paste your jsfiddle link here  ]
Not really needed here - simiply try the autoplay part of the demo page with version 1.7.1
use this jsfiddle to reproduce your bug:
http://jsfiddle.net/simeydotme/fmo50w7n/
we will likely close your issue without it.
===============================================
Steps to reproduce the problem

...  Create a slider using the autoplay script's settings  from the demo page, part "autoplay"
...  Use  slick.js from 1.7.1 instead
Click on the next arrow. Autoplay will stop.
It might be reactivated by clicking onto external parts of the window or by task switching,
but this is not the exprected behaviour.

Remark: the usage of other options, ie. accessibility does not really help. For instance
accessibility leads to other problems, as described in
https://github.com/kenwheeler/slick/issues/3046
===============================================
What is the expected behaviour?
When having clicked next-arrow, autoplay should resume after some time
What is observed behaviour?
...   Autoplay stops and does not resume
More Details

Which browsers/versions does it happen on?  firefox 54.0.1, windows
Which jQuery/Slick version are you using?  Not relevant; jquery-1.7.1.min.js or upwards
Did this work before? yes, with slick 1.6.0

Should be fixed now

Unfortunately it is not the whole truth  :-(
Yes, obviously the autoplay part of the demo seems to work again with slick.js 1.8.0
No, i absolutely cannot get it to work not even with a totally shrinked test case ...
I could send a very minimalistic test case via zip file  Alternatively the html code below.
After i press arrow-next, autoplay stops (1.7.1 and 1.8.0).
Whereas it runs fine with slick.js 1.6.0!
<!DOCTYPE html>

    <meta charset="utf-8">
		<title>Testme</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

*Image 1*

*Image 2*

*Image 3*

*Image 4*

*Image 5*

     <link rel="stylesheet" href="slick_1.8.0/slick.css" type="text/css">
     <link rel="stylesheet" href="slick_1.8.0/slick-theme.css" type="text/css">

Unfortunately it is not the whole truth  :-(
Yes, obviously the autoplay part of the demo seems to work again with slick.js 1.8.0
No, i absolutely cannot get it to work not even with a totally shrinked test case ...
I could send a very minimalistic test case via zip file  Alternatively the html code below.
After i press arrow-next, autoplay stops (1.7.1 and 1.8.0).
Whereas it runs fine with slick.js 1.6.0!
<!DOCTYPE html>

    <meta charset="utf-8">
		<title>Testme</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

*Image 1*

*Image 2*

*Image 3*

*Image 4*

*Image 5*

     <link rel="stylesheet" href="slick_1.8.0/slick.css" type="text/css">
     <link rel="stylesheet" href="slick_1.8.0/slick-theme.css" type="text/css">

 #

@leggomuhgreggo , please, might you take a short look on it?

Hmm autoplay is working on the test fiddle
Are you copying the code from http://kenwheeler.github.io/slick/ to your environment? The script/style dependencies are relative links -- so they wont work unless the files exist in your environment's filesystem at the same relative location.
<link rel="stylesheet" href="slick_1.8.0/slick.css" type="text/css">
<link rel="stylesheet" href="slick_1.8.0/slick-theme.css" type="text/css">

vs
<link rel="stylesheet" href="http://some-other-location.com/slick_1.8.0/slick.css" type="text/css">
<link rel="stylesheet" href="http://some-other-location.com/slick_1.8.0/slick-theme.css"** type="text/css">

Alternatively, you could use the cdn per the example in the readme

Many thanks for your attention!
Im my small testcase, all slick related settings are picked up
from the autoplay part of the demo page as of:
Here too, ehe script/style dependencies are relative links:

and all is fine. Bormally i have no problem with these kind of links too.
Using it with slick_1.6.0.js works too. The entities are local in the environment and the html page do find them.
I could not attach that little test case here, so i will try it by mail reply (hopefully the mail gateway will accespt the javascript contents).
I tested on win 7 x64 firefox 55.0.2 (but chrome and IE 11 as well).
What do you think?
Maybe i did a mistake, but after having spent hours i cannot find the clue.
It's mysterious to me that the autoplay part of the demo obviously works and this small test case not.

Hello Greg,
many thanks!
I updated #3065 https://github.com/kenwheeler/slick/issues/3065.   and
try to attach the test case here.
Best Regards!
Klaus
Am 13.09.2017 00:38, schrieb Greg Westneat:

Hmm autoplay is working on the test fiddle
https://jsfiddle.net/simeydotme/fmo50w7n/
Are you copying the code from |http://kenwheeler.github.io/slick/| to
your environment? The script/style dependencies are relative links --
so they wont work unless the files exist in your environment's
filesystem at the same relative location.

vs

Alternatively, you could use the cdn per the example
https://github.com/kenwheeler/slick#cdn in the readme
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kenwheeler/slick/issues/3065#issuecomment-329004061,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdsCIsjksOjhh5elx22x7TkFfjua5hvAks5shwfzgaJpZM4O8KJY.

@leggomuhgreggo
Finally i got the clue.    ;:-)    There are two different versions of the slick.sj 1.8. !!!   :-/

Instead of my local copy of the 1.8.0. i tried:

And that worked, like in the demo!

I did have receive my 1.8.0 slick.js via zip download from github as slick-master.zip  at sept. 12th.
Inside the slick.sh is labeled as "1.8.0"!

I now compared my local copy from the slick-master with the version on kenwheeler.. as above,
which is labeled as 1.8.0 too, and saw that there are noticeable dfferences!!

I tried the version from kenwheeler .... (as above)  by local copy and it worked too.

Why two different versions of the 1.8.0 do exist ????
Cannot rely on the master-zip as containing the recent version?

@leggomuhgreggo
Again. on github https://github.com/kenwheeler/slick there is an update of slick.js as of sept 14 which HAS this problem.
The problem (i did send a testcase about) is: when pressing a arrow button, autoplay stops and does not resume.
Whereas the kenwheeler version from the demo page (http://kenwheeler.github.io/slick/)  does NOT have this problem.

Which one of the versions both labeled as 1.8.0 is the official one?
How to assure that the version on github will work fine like as the version used in the demo page?

Can you recreate the issue you're having in a reduced test case?
https://github.com/kenwheeler/slick/blob/master/CONTRIBUTING.markdown#test-case-required

In my email reply i attach a reduced test case that shows the different
behaviour of the two different 1.8.0 versions:

slick.js "1.8.0" as  picked up from the demo page
http://kenwheeler.github.io/slick  :
=  No problem: press arrow button - autoplay will resume
afterwards :-)
Remark: in the demo page, inspected the source code for to access
the slick.js

slick.js "1.8.0" as downloaded from github
https://github.com/kenwheeler/slick :
=  Problem: press arrow button - autoplay will _NOT_resume
afterwards  :-(

Attached test case:  autoplay_problem_with_1.8.0.zip
If you compare the two 1.8.0 versions of slick.js (i'm using local
copies of them) you will find significant differences.
My test case is using the same slick parameters as used in the autoplay
part of the demo.
Am 17.09.2017 15:43, schrieb Greg Westneat:

Can you recreate the issue you're having in a reduced test case?
https://github.com/kenwheeler/slick/blob/master/CONTRIBUTING.markdown#test-case-required
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kenwheeler/slick/issues/3065#issuecomment-330045636,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdsCIs53N3GumRhk470q1haW_BbxdbEAks5sjSHugaJpZM4O8KJY.

Additionally i uploaded the reduced test case here:
http://www.filedropper.com/autoplayproblemwith180

@leggomuhgreggo
I found a difference in the two scripts that may cause the different behaviour. line 1019:
In the github version:
on('focus.slick blur.slick', '*', function(event) {
In the version from the demo page:```
on('focus.slick blur.slick',
                '*:not(.slick-arrow)', function(event) {

===> if we apply the latter lines from the demo page to the github version,
then autoplay will be reactivated again as expected!  <===

@leggomuhgreggo
I adapted the test case acccordingliy for to show the changed behaviour.
You can find it here:
http://www.filedropper.com/autoplayproblemwith180fixed

As this issue is no longer concerning the demo page and the 1.7.1,
i feel it is better to open a new item concerning the 1.8.0.


Add the ability to provide build flags for the build-script-build

My interest is in this is for Yocto. For Yocto the --build and --target are different but they're the same for Rust (I'm using x86_64 Ubuntu and building an x86_64 Yocto image). So what that means is that Yocto uses the distro compiler to produce a build sysroot using the triple x86_64-linux and the target sysroot uses the triple x86_64-poky-linux. A binary built for the build sysroot needs different libraries and a different rpath then what a binary built for the target sysroot. Now the Rust built-in target that would match both of these would be x86_64-unknown-linux-gnu and that's where the problem lies. Since these need different sysroots and rpath's then I need to be able to pass flags to the linker (or what I really use is a custom linker that's a wrapper to provide the right args). Now gcc-rs has the ability to pass HOST_CC and TARGET_CC along with other HOST_ and TARGET_ options but Cargo does not. Now if I built from x86_64 for an arm target and have the following config:
[target.x86_64-unknown-linux-gnu]
linker = "custom-build-linker"
[target.aarch64-unknown-linux-gnu]
linker = "custom-target-linker"

Cargo will build build-script-build with the custom-build-linker but when I'm building from x86_64 for x86_64 then there's no way for me to supply two different linkers. I focused my examples on linkers here but rustflags work the same way as well.
I propose adding support to Cargo to read a [host] section that would behave like a [target] section but instead would be used for any items that Cargo needs to build to run on the build machine (e.g. compiler plugins?). It would look something like:
[host]
linker = "custom-build-linker"
[target.aarch64-unknown-linux-gnu]
linker = "custom-target-linker"

Shouldn't the poky-linux have a separate target? Using the same target for two different systems is likely to lead to a long tail of bugs to fix (like this)...

That's actually how I'm doing things now. x86_64-linux and x86_64-poky-linux are just clones of Rust's x86_64-unknown-linux-gnu with the appropriate linker set. I was hoping to get away from custom targets because there are a slew of issues associated with that. The target specs changing (rust-lang/rust#38061 aims to help me with that) and Rust not having a default lookup path for target specs breaks things for me as well (we discussed this in rust-lang/rust#31117).
I can stick with the existing mechanisms of defining a custom target if that's better. I just noticed that I was able to use the built-in target except for this one issue (but then again there might be more like you said).

Oh yeah I'd definitely believe that custom target specs have bugs, but if this is a target we'd want to officially support and whatnot we should consider adding it to rustc proper perhaps rather than relying on custom target specs?

Well no. You don't want these upstreamed because they aren't real. Yocto does everything with sysroots. Which means we need a --sysroot flag and -L flags to where the right libraries are. These directories aren't fixed because they're relative to people's build directories. Because of this when you are targeting x86_64 for Yocto and building from x86_64 there are different target triples used to prevent HOST / TARGET contamination. So HOST will be x86_64-linux while the TARGET will be x86_64-poky-linux. I've wanted to map these over to the internal x86_64-unknown-gnu-linux while being able to pass additional flags but due to this issue I am unable to pass the right flags in to build.rs. Which means I am basically taking the internal x86_64-unknown-linux-gnu target and dumping it out to x86_64-linux.json and x86_64-poky-linux.json and injecting the necessary --sysroot and -L flags.

I should note that I wrap up the path to the gcc from the sysroot (instead of the native OS's) and the --sysroot and -L flags with a custom linker script.

I'd love to see https://github.com/rust-lang/rust/issues/38338 stabilized to make this transformation easier.

I ran into a situation that seems related to this issue: build-script-build is insisting on using my CARGO_TARGET_..._LINKER override, but is ignoring my CARGO_TARGET_..._RUSTFLAGS, where I have a number of -C link-arg= flags that are required for my linker to work: in some sense, my core thesis is that I feel cargo should be consistent in either using both my special/magic target-specific linker and considering my special/magic target-specific link arguments, or it should ignore both.
While one fix for this would be to apply some form of RUSTFLAGS to the build-script-build--I'd have expected CARGO_BUILD_RUSTFLAGS to be precisely this, but somehow it isn't?--per #4423, another solution to this problem that would equally satisfy my specific scenario would for Cargo to avoid confusing the host with the target (related to my #8147), as it just seems wrong to use the "target" linker to build something for the "host"; in such a case, Cargo could decide to instead provide a CARGO_BUILD_LINKER (or maybe CARGO_HOST_LINKER, as I seem to not know what "BUILD" means? ;P) in a manner similar to @cardoe's request (which I could honestly just leave unset, as I have no need to provide a special build-time linker: I have special requirements on my target that require me to use a custom toolchain to compile my project,  and the fact that my host happens to be the same triple as my target is somewhat irrelevant).

I ran into a situation that seems related to this issue: build-script-build is insisting on using my CARGO_TARGET_..._LINKER override, but is ignoring my CARGO_TARGET_..._RUSTFLAGS, where I have a number of -C link-arg= flags that are required for my linker to work: in some sense, my core thesis is that I feel cargo should be consistent in either using both my special/magic target-specific linker and considering my special/magic target-specific link arguments, or it should ignore both.
While one fix for this would be to apply some form of RUSTFLAGS to the build-script-build--I'd have expected CARGO_BUILD_RUSTFLAGS to be precisely this, but somehow it isn't?--per #4423, another solution to this problem that would equally satisfy my specific scenario would for Cargo to avoid confusing the host with the target (related to my #8147), as it just seems wrong to use the "target" linker to build something for the "host"; in such a case, Cargo could decide to instead provide a CARGO_BUILD_LINKER (or maybe CARGO_HOST_LINKER, as I seem to not know what "BUILD" means? ;P) in a manner similar to @cardoe's request (which I could honestly just leave unset, as I have no need to provide a special build-time linker: I have special requirements on my target that require me to use a custom toolchain to compile my project,  and the fact that my host happens to be the same triple as my target is somewhat irrelevant).

I'm running into this issue as well while trying to get pyo3 working on buildroot, has there been any progress on a proper fix or any viable workarounds? See here for details.

Possible fix in #9322.

I tried to avoid rebuilding Rust simply in order to fake a new triple.
My workaround has been a linker-wrapper which uses TARGET_CC as the linker, unless obviously building build-script binaries (based on build_script_ appearing in the args).
It's very non-ideal but works around rust/cargo assuming (is that the right word?) that the TARGET tools can be used instead of the HOST tools simply because the rust-triple is the same:
https://github.com/rust-lang/cc-rs/issues/82#issuecomment-1284712381
Maybe unknown should never match when deciding whether to use TARGET or HOST tools but instead behave as when the triples don't match.

It's very non-ideal but works around rust/cargo assuming (is that the right word?) that the TARGET tools can be used instead of the HOST tools simply because the rust-triple is the same:

I think you can probably just set your env like we do in buildroot, should be safe using the nightly env variables with stable releases as long you are pinning your rust/cargo versions like we do.


Dependency not working on M1 Macs

On Macs with the new M1 chip the sharp dependency causes the npm install to crash. It's possible to avoid this issue by installing vips globally as described in this comment. Maybe this should be mentioned in the Readme?
https://github.com/lovell/sharp/issues/2460#issuecomment-739092532

According to https://sharp.pixelplumbing.com/install#apple-m1 you "only" need to have a C++11 compiler installed to build from source. Probably via XCode, but it doesn't say.

Oh, i see. But the package.json says ^0.27.1 which won't resolve to 0.28.x. I added a pull request, that might do the trick. Since a newer version of Puppeteer is also required the TS type definitions might not be up-to-data with this version.
#422


Provide a way to pass in flags to the development build

Is your feature request related to a problem? Please describe.
We've found the need to run the same app in different configurations during development. For example, to run it against a mock backend vs a locally-running backend vs the production backend. However, the Stripe CLI doesn't seem to provide a way to pass in any flags or environment variables that could be read in the code.
Describe the solution you'd like
The most straightforward solution would be for the apps CLI to inline a certain subset of environment variables in the built app. For example any variables prefixed with STRIPE_PUBLIC_ (following the pattern established by Next, Vite and Snowpack)
Describe alternatives you've considered
If environment variables are considered too leaky even with the prefix, flags could be restricted to those made explicit in the command line, for example executing stripe-preview apps start --flags MOCK_ENV=true

I am getting back to this as we've stumbled on a new use case.
Being able to hoist environment variables into the transpiled/bundled app code is the base request. Just the current environment from which stripe apps start or stripe apps upload is run would be a great start. Leveraging dotenv is a welcome addition as it makes it simpler for developers to run the app consistently.

We just shipped a solution for switching values in local development: https://stripe.com/docs/stripe-apps/reference/app-manifest#extended-manifest


Algorithm for time series prediction

Is there any particular module for time series analysis and predicting the values?
And if not than which module of Azure ml is good to use for time series analysis? Suggest me one

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

ID: 348ecdc8-3c47-5d70-e534-1caf121a39b2
Version Independent ID: e607c6bf-fe83-e36a-eb9d-ff2934295df8
Content: Time Series - Azure Machine Learning Studio
Content Source: studio-module-reference/time-series.md
Service: machine-learning
Sub-service: studio
GitHub Login: @xiaoharper
Microsoft Alias: amlstudiodocs

Hi @KunalBasnet,  the only pre-builtin time series module in Studio is Time Series Anomaly Detection.  You probably need to bring your own time series model with Execute Customer Python/R Script Module

Closing this out since the question has been answered. Please let us know if further assistance is needed. ~Jason


Sign certificates using sha256 instead of sha1

Modern browsers want certs to be signed using sha-256.
I was able to get this to work by simply changing "EVP_sha1()" to "EVP_sha256()" on this line:
https://github.com/droe/sslsplit/blob/master/ssl.c#L825
But I expect a proper fix will have to do some more work to determine which algorithm to used based on what the openssl library supports and possibly based on user configuration.

This has been fixed in 3da7407 in the develop branch; also see #83 for related documentation and test suite changes.


ADSL: get the code running

ADSL: https://github.com/pharmaverse/end_to_end_examples/blob/main/content/data/adsl/_index.Rmd
Currently fails since I removed a bunch of the vars that metacore has from the specs, so our suggestion is to create them as dummy vars with expected var types and then hide this code from appearing in the vignette. so it runs and still remains simple for the user view, and easy for us to maintain.
Also instead of dataset_vignette() just replace these bits with simpler tibbles or head calls to show a small extract of the dataset as we go through the steps.

@statasaurus @amitjaingsk please check my updates in the commit above and if you're happy then i think we can publish our first e2e vignette for ADSL - i can work with James to get this up on the pharmaverse site.

@rossfarrugia sorry for the late review, few of points if you think are relevant : 1. metacore can reads the specification in xlsx format, do we need to provide an example how it looks like or any constraint on how this file need to be created. Just trying to see if someone like to try on real data/specs using this example 2. build_from_derived , how it know which SDTM domain is needed? is this is fixed in some function? do it support multiple SDTM domains for we only intent to pass 1 SDTM domain. But overall this example looks fine to me not able to run it as getting some errors..

@statasaurus do you want to reply to Amit's questions above? i wouldn't do your packages justice.


udp tunnel blocking

Hello sir i have tested udp tunnel .when traffic start tunnel get blocked any solution for it please
without traffic i can ping <IP_ADDRESS> on client 10.0.02 server .Once traffic starts its blocked.Please give me some solution.

Hi. Thanks for interest in this project, but your report is too vague for me to know what is going wrong.
What operating system are you running?
What version of Go are you using?
Who is <IP_ADDRESS>? Is that the server (as shown in the readme)?
Who is <IP_ADDRESS>? Is that the client (as shown in the readme)?
What is the setup? Are you running this on two different machines as intended?
What other network interfaces are running on your machine? If another is using the <IP_ADDRESS> network mask, then you have a routing conflict.
What does it mean for traffic to be blocked? Were you trying UDP or TCP?
If TCP, did you at least establish a connection?

Hello sir Sorry for the delay in reply
We are using linux machine for both Server and client running ubuntu .<IP_ADDRESS> is Server IP and <IP_ADDRESS> is Client .I was able to connect from pc to server and i was able to ping from PC to Server and also from server to PC.I'm using UDP.Tunnel connection works fine for quite some time and stops when I try to ping from Server to pc or PC to server there is no Reply just request time out. Can i have TCP >> UDP

This is still insufficient information.

I was able to connect from pc to server

What does that mean? A TCP connection?

Tunnel connection works fine for quite some time

What does this mean? That the UDP tunnel was established, but not a networking layer above it?
You need to give me an exact step-by-step of what you are doing.
Also, note that this project was for personal use by me. Beyond a certain point, I don't have the bandwidth to trace down all possible issues with the project.

Hello sir,Its a good project i was impressed by its simplicity as its very easy to establish udptunnel connection.I wll paste server and client config
Create a server configuration file:
cat serverconfig.json
{
"TunnelAddress": "<IP_ADDRESS>",
"NetworkAddress": ":800",
"AllowedPorts": [40000],
}
udptunnel  /root/udptunnel/serverconfig.json &
[1] 11538
root@ubuntu-1gb-nyc3-01:~/udptunnel# 2018/02/15 10:32:13 main.go:150: loaded config:
{
"TunnelDevice": "tunnel",
"TunnelAddress": "<IP_ADDRESS>",
"NetworkAddress": ":800",
"AllowedPorts": [
40000
],
"BinarySHA256": "13ff6cd1401156d217de13bf6976bacb3b091f3b964df2724da2366964cecad9"
}
2018/02/15 10:32:13 main.go:208: udptunnel starting in server mode
Deprecated: NewTUN(..) may be removed in the future. Please use New() instead.
Client
cat clientconfig.json
{
"TunnelAddress": "<IP_ADDRESS>",
"NetworkAddress": "<IP_ADDRESS>:800",
"AllowedPorts": [40000],
}
ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=110 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=109 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=110 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=64 time=110 ms
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=64 time=110 ms
64 bytes from <IP_ADDRESS>: icmp_seq=6 ttl=64 time=110 ms
^C
--- <IP_ADDRESS> ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5006ms
rtt min/avg/max/mdev = 109.951/110.202/110.604/0.397 ms
tunnel    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:<IP_ADDRESS>  P-t-P:<IP_ADDRESS>  Mask:<IP_ADDRESS>
UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1300  Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:924 (924.0 B)  TX bytes:924 (924.0 B)
sync show peers verbose
Name                 Transport            Host                 Status               Direction            Will expire
SU                   TCP                  (null)               Registering          Outgoing
SU                   UDP                  <IP_ADDRESS>:40000       Registered           Outgoing             1732
2 Sync Peers, 1 online, 1 offline
udptunnel clientconfig.json &
[1] 3552
root@unassigned-hostname:~# 2018/02/15 05:35:57 main.go:150: loaded config:
{
"TunnelDevice": "tunnel",
"TunnelAddress": "<IP_ADDRESS>",
"NetworkAddress": "<IP_ADDRESS>:800",
"AllowedPorts": [
40000
]
}
2018/02/15 05:35:57 main.go:210: udptunnel starting in client mode
Deprecated: NewTUN(..) may be removed in the future. Please use New() instead.
2018/02/15 05:35:57 tunnel.go:217: switching remote address: <IP_ADDRESS>:800
ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=110 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=110 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=110 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=64 time=110 ms
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=64 time=110 ms
--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 110.058/110.188/110.637/0.427 ms
i have tried software in asterisk and trying to register on 40000 port.After sending few calls updtunnel stop communication and request time out
sync show peers verbose
Name                 Transport            Host                 Status               Direction            Will expire
SU                   UDP                  <IP_ADDRESS>:40000       Registered           Outgoing             1782
1 Sync Peers, 1 online, 0 offline


Pytorchvision 0.5.0 not published to pypi or Conda for Windows

The integration with PIL 7.0 VERSION API change is breaking some dependencies. I can see these are fixed in Linux / Mac releases.
Doesn't look like Windows version has been published to pypi? https://pypi.org/project/torchvision/0.5.0/#files
Last release appears to be
https://pypi.org/project/torchvision/0.4.1/#files
References #1759 #1712 #1718 #1726

Hello everybody!
Not sure, whether this is the correct place for my question but I'll give it a shot.
I'm wondering about the deployment strategy to PyPI for Windows. I'm aware that the "official" way of installing PyTorch is through https://download.pytorch.org/whl/torch_stable.html.
I noticed the wheel for the win/cpu build of the main torch package is available on PyPI, while the win wheels for torchvision and torchaudio packages are not (see here and here).
Judging from the filesizes for the other platforms, the PyPI binary size constraint should not be an issue for either package (<15 MB).
Is there a reason for why torchvision and torchaudio are not pushed to PyPI?


Don't display files beginning with a period

"Dotfiles" are by convention not listed on unix systems and should also not be listed in the sample import browser dir listings.

@maks this broke with 4ed8fd43fe2f05b5ed889ec4d0a2cd1774b7dd19
Tested working fine before, probably related to file filters used

used

Yes definitely I broke it with my change. Ive left it for now as a good first PR for a new contributor to project but I'll fix it if no one gets to it in the next little while 🙂

@maks Looking at the code here, would you think it would be best to ignore the Dotfiles in the wildcard match function?

@shockdesign yes that's the change that needs to be made. I left this as a small task for a "good first issue" for new contributors :-)

done as of #219  though note if file has a .wav suffix it will still be shown.


Nuke: fixing UNC support for OCIO path

Changelog Description
UNC paths were broken on windows for custom OCIO path and this is solving the issue with removed double slash at start of path
Testing notes:

add UNC path to second anatomy root ("resources") >> on windows just go to folder properties and switch to share tab. Then copy past the unc path to the Anatomy windows field. My looks like this

add new ocio path to first position on a project project_settings/global/imageio/ocio_config and use {root[resources]} as part of path >> my looks like this

save and open Nuke. All should work as expected and the ocio path should be added to the nuke workfile properties looking like this >

No warning message about using previouse ocio config...

This fixes the issue in my tests for new workfiles. For workfiles that have been just versioned up, running the set colorspace helps.

Still have the warning message

Still have the warning message

This message is happening since Nuke is doing the check before any our callbacks are happening. After the script is saved and reopened this popup will not happen.


Feature request: Generated code should follow the ts-lint rules defined in the project

From @nseba on November 17, 2017 9:34
It would be very useful if refactoring actions such as declare member variable, implement interface/abstract class etc. would take into account the relevant ts-lint rules. At a minimum the following rules can be enforced:

member-access - add explicit public | private modifier to newly generated members
member-ordering - add the members in their right place (for example public fields after existing public fields, methods after existing public methods etc.)
promise-function-async - automatically add the async modifier.
quotemark - use the right quotes/single quotes for automatic import declarations

As a small side note implementing abstract base class refactoring should also add automatically the async modifier if it exists on the abstract member.
Copied from original issue: Microsoft/vscode#38603

You could simply run the codefix then run tslint with --fix. Getting a rule like member-ordering to work with TypeScript's codefixes would require duplicating tslint's existing logic.
quotemark should be handled by #17750, although this uses existing imports instead of looking for a tslint config.

This should be handled by a tslint language server plugin; it can intercept the refactoring messages and change them to conform to whatever rules.
We have no ability to find the user's tslint settings and understand what they mean from the TS side.


auto-deactivate, like pyenv-virtualenv

If I have pyenv-virtualenv hooks installed, then when I cd into a (sub)directory of a project, the virtualenv is automatically loaded.  When I cd out of that project, the virtualenv is unloaded.
This plugin enables the activation behavior, but not yet the deactivation.  Could the deactivation behavior be added?

pull requests accepted!

👏


Rename Reindex case class members to match table props

What is this PR trying to achieve?
A functioning reindexer.
Who is this change for?
Folk who want the reindexer to work
Have the following been considered/are they needed?

[ ] Deployed new versions

@alexwlchan I cheated and merged this myself as there was no one around and it's a pretty small change to an already broken thing.


fix highlightjs warning about html tags inside code blocks.

Not the most straightforward solution maybe, but it seems to do the job 😉

I tried to find a regex to not catch things inside a <pre> tag, so I explicitly catch these elements, but then ignore them with the if clause. Is there a more php-typical way to do this?

So the regex doesn't look inside the <pre> tag because it already matched the entire thing? Smart!
Not sure off the top of my head how I would do it. Probably in a messier way than this. If it works then I'm happy 👍🏻 (maybe add a bit more verbose comment explaining how it works for when I forget this conversation).

I tested it a bit more and it actually doesn't work like expected in all cases. I simplified it now, so it uses the old regex, but keeps checking if it is immediately inside a tag, which excludes them inside the code blocks (if they are not a string) or also inside headers, which is currently breaking some pages. To fix these I will merge this now, but maybe come back with a better solution 🤞🏻


2.0.1 breaks syntax highlighting

when the package control auto-update installed 2.0.1 in ST3, swift syntax highlighting disappeared. 2.0.0 was working well.

correction: 1.1.1 was working well. 2.0.0 broke syntax highlighting for me.

Using ST3?

yes. sublime text 3, build 3083.

I dunno, that's just odd.  I'm able to install using Package Control or by cloning the source, and both ways seem to be working.  Can you investigate more, or send me more details?  Is the package installed, but nothing is colored?  Have you tried installing it via source?

Ah, you need to upgrade to build 3084

I updated the package.json to require the correct version.  Thanks for telling me the build number, that was the missing key!

that solved it. thanks!


users with MEDIA_EDIT should be able to see private collections a source is in

for example, when an admin adds a private collection to a source, s/he should be able to see it displayed on the create/edit source page, and the source detail page.

do we want these collections to also be viewable in the CollectionList if the user has MEDIA_EDIT?

I believe we do in Sources. In Topics, we use CollectionList in MediaContainer. apply the same check?


AngularJS Batarang 0.8.5 Scope's Models show nothing

I've got this error when debugging this page using AngularJS Batarang 0.8.15.
There is no error occurred.  It just nothing show up in the "Models" pane in the "Scopes" tab.  Here is a screenshot below:

Are you debugging an angular 1.2.x app? This is a known issue if so. A pull request has been submitted which fixes it, so hopefully the issue will be resolved shortly.

Yes, you're right.  After I change to 1.3.15 ( this page ), the problem solved.  Thanks!

No problem. :)

@doggy8088 thanks for bringing this to our attention, closing as a dupe of #231


[WEB-986] Support dynamic expressions in require

From SyncLinear.com | WEB-986

fixed with https://github.com/vercel/turbo/pull/7153


Longer code blocks

Hey Sasha,
I was wondering if its possible to avoid code blocks being split after a single empty line?
An alternative definition for a "cell" could be that it takes all code until the next comment but if you want to force the split you could insert a single #, e.g:
# The next python block ends at the next '#'
x = 1
y = 2

z = x + y

#
x += 1
y += 2

z = x + y

# This comment/markdown cell ends the previous cell as usual
a = x + y + z

The previous should have 5 cells:

markdown
python
python
markdown
python

Hi Christian, Good question.
In my example I am using the jupytext "light" format by default, but in theory we could use any of the Jupytext formats. It sounds like the "percent" format might be better for your use cases.
https://github.com/mwouts/jupytext/blob/master/docs/formats.md#the-light-format
I believe you can add a header to your file that tells jupytext to use a different format. I don't think I hardcoded "light" format anywhere. Let me know if that works.

Ah sorry for being so vague, I meant the streamlit preview, here is an example:

I would be nice is code blocks where not split by empty lines since you usually don't code with everything cluttered together. I haven't checked the conversion to jupyter, maybe this is not an issue in that regard.

Oh, I should be more clear. Everything goes through the jupytext parser even the streamlit preview. That output above is the anticipated result of a light markdown format (even if you disagree with it). If you want it not to do that, you do need to switch to the percent format. That format solves this issue by marking start of new cells. It should be just one line at the top of your file.

Thanks Sasha! I will try that out :)


Update footer.yaml

What's changed, or what was fixed?

Remove agency training program
Remove localized footer

:tada: This has been pushed live to https://developers.google.com/web/


Map Tiling Issue (or perhaps feature request)

I'm not sure if this is a bug, or just an overlooked possibility, but is it possible to have the map continuously tile data. For example, on the image attached, GFS data is loaded in but the map only displays the "tile" once.

In general usage, I believe everyone would agree that it should continuously tile side to side. Additionally, if you try to zoom in on a specific part within the US, the tile disappears from the screen.
An example of how I am displaying this is here:
const grid_tmp = new apgl.PlateCarreeGrid(1440, 721, 0, 90, 360, -90);

const resp = await fetch('tmp.dat');
const blob = await resp.blob();
let data = new Float32Array(await blob.arrayBuffer());
data = data.map(el => { return (el - 273.15) * (9 / 5) + 32; });
console.log('tmp grid data: ', data);

const tmp_field = new apgl.RawScalarField(grid_tmp, data);

const filled = new apgl.ContourFill(tmp_field, { 'cmap': apgl.colormaps.pw_t2m });
const raster_layer = new apgl.PlotLayer('tmp', filled);

const svg = apgl.makeColorBar(apgl.colormaps.pw_t2m, {
    label: "Temperatures", fontface: 'Trebuchet MS',
    ticks: [-40, -50, -30, -20, -10, 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120],
    orientation: 'horizontal', tick_direction: 'bottom'
})

return { layers: [raster_layer], colorbar: svg };

Is this expected behavior or is this a "bug"? Any possible work arounds?
Additionally, I noted that in this example, the bottom of the GFS output doesn't reach the bottom of the map. I'm not sure if that's a problem on my end or a problem with map tiling.
Overall, this package is amazing! Great work so far. The speed and features of this package are incredible, can't wait to see where it goes.

Yeah, this is something I knew would be a problem, but I figured I'd wait until I or someone else had a need for it to fix it. Looks like that time has come. For repeating the plot around the different copies of the globe, I have some ideas, but I'll need to play with them. Not sure why the plot doesn't go all the way to bottom of the map, though.
As a workaround in the meantime, you could basically create three separate layers, each with a copy like so:
const grid1 = new apgl.PlateCarreeGrid(1440, 721, -360, 90, 0, -90); // Left copy
const grid2 = new apgl.PlateCarreeGrid(1440, 721, 0, 90, 360, -90); // Center copy
const grid3 = new apgl.PlateCarreeGrid(1440, 721, 360, 90, 720, -90); // Right copy

const tmp_field1 = new apgl.RawScalarField(grid1, data);
const tmp_field2 = new apgl.RawScalarField(grid2, data);
const tmp_field3 = new apgl.RawScalarField(grid3, data);

const filled1 = new apgl.ContourFill(tmp_field1, { 'cmap': apgl.colormaps.pw_t2m });
const filled2 = new apgl.ContourFill(tmp_field2, { 'cmap': apgl.colormaps.pw_t2m });
const filled3 = new apgl.ContourFill(tmp_field3, { 'cmap': apgl.colormaps.pw_t2m });

const raster_layer1 = new apgl.PlotLayer('tmp1', filled1);
const raster_layer2 = new apgl.PlotLayer('tmp2', filled2);
const raster_layer3 = new apgl.PlotLayer('tmp3', filled3);

But that's obviously far from ideal, as it means putting three copies of the data on VRAM, and that's non-trivial for a 0.25-degree GFS grid.

Okay, it was a combination of easier than I thought and I had some break from family time. I have some modifications in a branch that should fix the tiling. When you get a chance, give it a try to see if it works for you.

Sorry for the delay, just got back to working on this. It does work much better. However, if fully zoomed out, the user may see a missing map tile on the far-far left. Again, you have to be fully zoomed out and I don't think this would be a typical scenario. Regardless, nice work on this. Please let me know if you need anything else tested, I really like this project and am excited to see where it goes.

Okay, I added another call to draw the data again to the west, and I figured out the poles. This should be fixed in the develop branch now.

Okay, I added another call to draw the data again to the west, and I figured out the poles. This should be fixed in the develop branch now.


Inherits TabViewItem crash with Microsoft C++-Exception: winrt::hresult_error

Hi,
i have created only a empty MyTabViewItem-Class with inherits to TabViewItem like this:

using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Microsoft.UI.Xaml.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VereinsOrdner
{
public class MyTabViewItem : TabViewItem
{
}
}

Nothing more. Then i have in MainWindow-Class this method:

public void OpenNewTab(Type Page, string Header, PageParameters p = null)
{
MyTabViewItem t = new MyTabViewItem();
t.Header = Header;
t.IsClosable = true;
Frame frame = new Frame();
frame.Navigate(Page, p);
t.Content = frame;
Tabs.TabItems.Add(t);
//Tabs.SelectedItem = t;
}

Okay, i start my app and after the OpenNewTab-Method i receive this message:

Ausnahme ausgelöst bei 0x75E0A6E2 (KernelBase.dll) in VereinsOrdner.exe: WinRT originate error - 0x800F1000 : 'ListViewItemPresenter can only be used as the first child in the template for a ListViewItem.'.
onecore\com\combase\winrt\error\restrictederror.cpp(1016)\combase.dll!770411A5: (caller: 76F57BB6) ReturnHr(1) tid(7c5c) 8007007E Das angegebene Modul wurde nicht gefunden.
Ausnahme ausgelöst bei 0x75E0A6E2 in VereinsOrdner.exe: Microsoft C++-Ausnahme: winrt::hresult_error bei Speicherort 0x0317D890.

I don't know, is this my fault, or is this a bug? I would like to expand the TabViewItem with a few own functions.
Thanks for your time and help
Andy
Version Info

NuGet package version:
Microsoft.ProjectReunion 0.5.0

Windows 10 version
Saw the problem?

Insider Build (xxxxx)
No

May 2020 Update (19041)
Yes

@karenbtlai who saw something similar to this recently as well

@beervoley the tabview expert

@AndyMahub did you have any TabViewItems in XAML markup inside TabView by default before your fix?

@beervoley No, in the XAML was nothing between -Tabs. Only Attributes like Background and x:Name.
After a long search, i have add a empty "own Tab"(in the XAML) and it works.
You can reproduce this. Create a own (empty) class with inherits TabViewItem, create a empty XAML without TabViewItem-Tags and in Code-Behind you add a Tab from the inherited class. App crashes. But if you add a empty Tab in XAML and remove this after app starting in code behind, it works. For me.

Any ideas for a workaround if your TabViewItem-derived class can't be instantiated in XAML (i.e. no default constructor)?