secrets still accessible after node leaves the swarm

Description
Secrets are still accessible after a node left the swarm.
Steps to reproduce the issue:
Create a secret and use the secret for a service;
echo "hello world" | docker secret create top-secret
coayc5tyz5107dv1cx0ovyx7y

docker service create --name web --secret top-secret nginx:alpine

Update the service so that a new task is created;
docker service update --force web

There's now a running and a stopped task / container;
docker ps -a
CONTAINER ID        IMAGE                                                                           COMMAND                  CREATED             STATUS                      PORTS               NAMES
327bf43d5685        nginx@sha256:aee97412fee873bd3d8fc2331b80862d7bd58913f7b12740cae8515edc1a66e4   "nginx -g 'daemon ..."   34 seconds ago      Up 31 seconds               80/tcp, 443/tcp     web.1.p0cphxihp6r7hsn0jaobmvi89
061ecbc7aeb4        nginx@sha256:aee97412fee873bd3d8fc2331b80862d7bd58913f7b12740cae8515edc1a66e4   "nginx -g 'daemon ..."   47 seconds ago      Exited (0) 32 seconds ago                       web.1.inlwh3emp0jtisgzi3m8x25a4

Now, leave the swarm (using --force, because this is a single node/manager, not sure if that plays a role here);
$ docker swarm leave --force
Node left the swarm.

Notice that the running task/container is removed, but the  stopped task / container still exists;
 docker ps -a
CONTAINER ID        IMAGE                                                                           COMMAND                  CREATED             STATUS                     PORTS               NAMES
061ecbc7aeb4        nginx@sha256:aee97412fee873bd3d8fc2331b80862d7bd58913f7b12740cae8515edc1a66e4   "nginx -g 'daemon ..."   3 minutes ago       Exited (0) 2 minutes ago                       web.1.inlwh3emp0jtisgzi3m8x25a4

Start the container;
docker start 061ecbc7aeb4

In the daemon logs, it's visible that the secrets are mounted;
DEBU[0273] Calling POST /v1.26/containers/061ecbc7aeb4/start
DEBU[0273] container mounted via layerStore: /var/lib/docker/aufs/mnt/dc3b0eed21cc50303b76c4ed3d21bb0896b5c6c35a83aa61836637c6c4ca4c1e
DEBU[0273] Assigning addresses for endpoint web.1.inlwh3emp0jtisgzi3m8x25a4's interface on network bridge
DEBU[0273] RequestAddress(LocalDefault/<IP_ADDRESS>/16, <nil>, map[])
DEBU[0273] Assigning addresses for endpoint web.1.inlwh3emp0jtisgzi3m8x25a4's interface on network bridge
DEBU[0273] Programming external connectivity on endpoint web.1.inlwh3emp0jtisgzi3m8x25a4 (65d826d4b1396aa6ff2414948569f97e62f0b259e5b1d23d58f3b14a9dd4fada)
DEBU[0273] secrets: setting up secret dir: /var/lib/docker/containers/061ecbc7aeb4a11a309f1e3267cc27329de16164b97d52169de7b7111f82b36f/secrets
DEBU[0273] injecting secret                              name=top-secret path="/var/lib/docker/containers/061ecbc7aeb4a11a309f1e3267cc27329de16164b97d52169de7b7111f82b36f/secrets/top-secret"
DEBU[0274] sandbox set key processing took 101.083812ms for container 061ecbc7aeb4a11a309f1e3267cc27329de16164b97d52169de7b7111f82b36f
DEBU[0274] libcontainerd: received containerd event: &types.Event{Type:"start-container", Id:"061ecbc7aeb4a11a309f1e3267cc27329de16164b97d52169de7b7111f82b36f", Status:0x0, Pid:"", Timestamp:(*timestamp.Timestamp)(0xc4212dab50)}
DEBU[0274] libcontainerd: event unhandled: type:"start-container" id:"061ecbc7aeb4a11a309f1e3267cc27329de16164b97d52169de7b7111f82b36f" timestamp:<seconds:1480415559 nanos:533152391 >

confirm the secret is readable as well;
$ docker exec 061ecbc7aeb4 sh -c 'cat /run/secrets/top-secret'
hello world

Describe the results you received:
The secrets still accessible by the old task/container even if it's no longer part of the swarm
Describe the results you expected:
The secret should be destroyed when the node leaves the swarm. The
container should no longer be able to access the secret (or "read" / "decrypt" the secret)
Output of docker version:
Tested on current master (1ef10c8);
Client:
 Version:      1.14.0-dev
 API version:  1.26
 Go version:   go1.7.3
 Git commit:   1ef10c8
 Built:        Tue Nov 29 10:27:02 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.14.0-dev
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.3
 Git commit:   1ef10c8
 Built:        Tue Nov 29 10:27:02 2016
 OS/Arch:      linux/amd64
 Experimental: false

ping @diogomonica @cyli @ehazlett

Note that even after a new swarm is created on that node (docker swarm init), the container could be started and read the secrets.

This is behaving as expected.  Since the container never stops it has the mount.  Perhaps Swarm should track when it leaves and remove the tasks assigned to that node.  That would remove the container that has access to the secret(s).

@ehazlett in this case, the container was stopped before swarm leave. The container could be started again, and even be stopped/started again after running docker swarm init.
Solution would probably be to make sure that all tasks, including stopped ones, are removed on docker swarm leave (currently only running tasks are removed), but I wondered if different measures would be needed to explicitly invalidate the secrets.

It seems wrong if the container still has the mount after being stopped. We should definitely remove these mounts whenever a container stops.

Not sure if the mounts are still there, but (see the logs above) they are injected again when the container starts;
DEBU[0273] secrets: setting up secret dir: /var/lib/docker/containers/061ecbc7aeb4a11a309f1e3267cc27329de16164b97d52169de7b7111f82b36f/secrets
DEBU[0273] injecting secret                              name=top-secret path="/var/lib/docker/containers/061ecbc7aeb4a11a309f1e3267cc27329de16164b97d52169de7b7111f82b36f/secrets/top-secret"

Which led me to think the secrets ("at rest"?) are still on the host

Ok I misread sorry.  I cannot reproduce locally.  I'm trying with the steps above.

I don't believe they are -- that is probably a bad log line where it should say "requesting secret"

Ok this is confirmed.  I'm investigating.

This should solve it: https://github.com/docker/swarmkit/pull/1758

thx @diogomonica

Let's make sure to try this again after it gets merged.

@diogomonica this should be resolved now correct?  It looks like the 1.13x branch has Swarmkit vendored at 99adeb1c6b33cebc81c31dd05b163080033062f2 which has this fix.

Yes, the fix has been vendored. @dongluochen tested and found that this resolved the issue. It wouldn't hurt to have someone double check, given the severity of this issue.


Make Slash Commands like /set-voice, /set-speech-rate, /banfromtts, /settts visible to all after being executed

Unlike the /getconfig command, commands like /set-voice, /set-speech-rate, /banfromtts, /settts aren't visible to all after execution , keeping the other server members unaware about the config changes.
The change updates are only visible to the person making the change

Please assign this task to me!!


download button not change when run on android 7.0

I have submitted a PR, please check，thx

Thanks! We'll put this up in review our list too.

Fixed in https://github.com/edx/edx-app-android/pull/1138.


Make setters  a static prop

I think __setters__ should be a static prop because it does not change per instance of a Lucid model. Moreover, it would allow traits to add properties to the __setters__ array. So, instead of
class User extends Model {
  static boot () {
    super.boot()
    this.addHook('beforeCreate', 'User.hashPassword')
  }

  constructor() {
    super();
    this.__setters__.push('isPasswordPrehashed');
  }
}

UserHook.hashPassword = async (userInstance) => {
  if (userInstance.password && !userInstance.isPasswordPrehashed) {
    userInstance.password = await Hash.make(userInstance.password)
  }
}

We could do:

class User extends Model {
  static boot () {
    super.boot()
    this.addTrait('Autohash');
  }
}

class Autohash {
  register (Model) {
    Model.__setters__.push('isPasswordPrehashed');
    Model.addHook('beforeCreate', function (userInstance) {
      if (userInstance.password && !userInstance.isPasswordPrehashed) {
        userInstance.password = await Hash.make(userInstance.password)
      }
    })
  }
}

Actually that's a bad example because Autohash trait could keep its own state like this, it doesn't need to use __setters__:
class Autohash {
  register (Model) {
    let isPasswordPrehashed = false;
    Model.unguardPasswords = function()
    {
      isPasswordPrehashed = true;
    }
    Model.guardPasswords = function()
    {
      isPasswordPrehashed = false;
    }
    Model.addHook('beforeCreate', async (userInstance) => {
      if (userInstance.password && !isPasswordPrehashed) {
        userInstance.password = await Hash.make(userInstance.password)
      }
    })
  }
}
module.exports = Autohash

A better example is a trait that defines its own 'meta' props that don't get persisted to the db. For example, I'm making a package to attach files and images to Lucid models. I can do this:
u = new User()
User.avatar = '/path/to/image.jpg'
await u.save()

Behind the scenes, my attachment package will save the image, create a record in attachments db table, and assign u.avatar_id an ID value.
I would live to be able to enable this capability by simply adding the trait:
class User {
  static boot() {
     super.boot()
     this.addTrait('BenAllfree/EasyAttachments/Attachable', ['avatar'])
  }
}

This would initialize the trait with an arguments array and the trait would know that avatar (and avatar_id) are managed fields.

Hey @benallfree?
Could you provide a more complex example?
This can be done by using directly the prototype of the model.

@RomainLanz I'm not following, do you mean something like Model.prototype.avatar = ...?
Anyway I'm closing this one too, as all of my use cases for traits accessing __setters__ have found more elegant solutions :)


Error message suggests bad parsing of variable name ending with _'

I understand that primes are, in a way, intended to be added to names which are already valid. This is wrong, though:
actor Main
  new create(env: Env) =>
    var x_' = "Hi"
    env.out.print(x_')

fails to compile with local variable name "x_'" cannot end with underscores.

We added the naming rules to the tutorial. If that's not wrong, let's change the error message to e.g.
local variable name "x_'" cannot end with that

Yes, strictly speaking, x_' does not end with an underscore.  However, I would still call it a "trailing underscore".  Changing the message to "cannot end with that" is removing useful information about what specifically is the problem with the name.  I think "cannot have a trailing underscore" is more accurate than what we have now, but still useful for understanding how to remedy the error.

That's just vague enough to work.


Data Science tools: Add to scikit-learn article

Adds a flowchart that shows different scikit-learn algorithms, a related link, and more information about the software.

[x] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution.  At this time we have decided not to merge your pull request.  We welcome future pull requests from you.
Reason: The modifications in this PR do not significantly improve the previous material
Happy Coding!


Voice Calculator Added [GSSoC'23] #4159

I have succesfully deployed this flutter project [ voice calculator ] . PR 4deb0d9
Close #4159
Screenshot of Voice Calculator
Checklist:

[YES] I have mentioned the issue number in my Pull Request.

[YES] I have commented my code, particularly in hard-to-understand areas

[YES] I have created a helpful and easy to understand README.md

Please add the respective GSSoC labels so that i can get the score

@MohitGupta121 @pranjay-poddar @TusharKesarwani please take a review of my PR & merge it under   GSSOC'23
Thank You !!


Rasa X start Timeout error

When I run rasa x then it gives an error but UI opens fine:
Rasa X version - 0.22.2
Rasa version - 1.4.3
**ERROR    asyncio  - Task exception was never retrieved
future: <Task finished coro=<_track_async() done, defined at /opt/chatbot/rasax_environment/rasax_env/lib/python3.6/site-packages/rasax/community/metrics.py:84> exception=TimeoutError()>
Traceback (most recent call last):
  File "/opt/chatbot/rasax_environment/rasax_env/lib/python3.6/site-packages/rasax/community/metrics.py", line 127, in _track_async
    timeout=METRICS_HTTP_TIMEOUT,
  File "/opt/chatbot/rasax_environment/rasax_env/lib/python3.6/site-packages/aiohttp/client.py", line 1012, in __aenter__
    self._resp = await self._coro
  File "/opt/chatbot/rasax_environment/rasax_env/lib/python3.6/site-packages/aiohttp/client.py", line 582, in _request
    break
  File "/opt/chatbot/rasax_environment/rasax_env/lib/python3.6/site-packages/aiohttp/helpers.py", line 596, in __exit__
    raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError**

Thanks for raising this issue about Rasa X 🔧@tmbo will get back to you about it soon!
In the meantime, you may find some useful information in the Rasa X docs or by searching our forum 😊

@federicotdn When we schedule the task for the metrics, we need to attach a handler catching any exceptions (basically after loop.create_task(coro)), basically something along these lines https://github.com/python/asyncio/issues/397#issuecomment-269124841 (to sum it up: there needs to be someone receiving the exception even if it is ignored).


Remove range limit which depend on kernel

Signed-off-by: Qiang Huang<EMAIL_ADDRESS>

LGTM

LGTM


Issue in Transition between Components with the built-in Component tag if component root element has animation

Vue version
3.5.3
Link to minimal reproduction
https://play.vuejs.org/#eNrNV9tu2zgQ/RWuFoEdwJIv8qWrdYPNFkEvD2nRFn2p+0BLtMNaFgWScpIa+fcOh7pYthP0IgOVg5AcHs4cjsnR8da5TFNvkzEncKaardOYanYxSwiZRnyDnVoXBvNMa5GQjbsQ8vnMaW84u+0QnkTs7hwaYsZq5gBgDsZgxe4BhdNoFEkQxjxcgTGMV227buZcbLdmoae5jtnDw7RrwxQMugWFqZY0UVxzoJDQNQM3CxoxcL0WkRmJTLs8gTFNU0ZlxTsU61QkLNEk4MpEz6SE0SeICuic547xtaV8Me2WK0s2FQlLKqcHE1UKpyqUPDVrOCyXmrwAN32ykGJNWl4XRybzrRpgUAMMDgF+DeAfAoY1wPAQMKoBRoeAcQ0wPgRMaoBJDpgl7A4hEVvQLNZka3JTJk8FW9xzx+7TNr5thrYZ2WZsm8lDxziIqKbtc+uMEMl0JpNiBO6rLywgLQzQwmV7k/htBqRXzuExDT4XQ/uUbqsHD2Sw77l65jRcLaXI4Ki35jEMIBO783YTPxpicPoQ/ulDDE8fYnT6EOPTh5j8Uohq+MV20WIjr5m+ERHcNTtTldiSiL7hytu5GeS5NeGF+IzgL7YM7zqfJfA37ZY1DcveX65LXry6vnx5RVyXQoWgpiS6mq8ZGLAG6vvYFMNACqGRwj4wIP2J+hfde6ZWFBnbyQKJeQKl3F1KGnFg3R4MehFbdsjf83/MBzoLfM7BT32tq/g3COH3emf47xCQClvIoTYAogC4t2y+4rriGpDLonsNrx2yobK9v5Vzwqhi8A5c8IRrVrhai29N+PlNF5Df/4pdwbtuIWGp2vOUp753tj2WoGfPzmAqP32jR0B9/4z0IdE5zHSfdoa8TIr+NFJ/GB/PyBwXTj+TLg013zC479YYM7phudHSq/RJQGgck543Ungi7EGoezPv8j1fWlg/IqUh1/dwN+xCKAD5hXY6jlahgPO19L4qkYB+xBUgoeAS85jJt6mJD0owKFI2c4CLuH2DNi0zswNrD29YuDpi/6pAgQXQeSeZYnIDOq+c01QumbbTVx+u2R30y0kQgxkUsKcm3zMl4sxwtLD/IfVAeweHbF+j7OHJ8qO6utMM0ppvyhCt6u7MARFkSvpjW6/o+t6wKKmQxVIHHlXgUMCpQrUKMBCj1ptZQ/qPKs9SexLEH1NlBMVzqZhyPjv1PWeGAtQwyx0qkF8pSOKd98BPkR40RnrwOGkUxQ2S9hsj7R8hbT45cRTrDRLHc9YI8eFR4jlt/AnRIO1RY7RHT+cbf9o0SHzcGPHx08TxJ1eDxCeNEZ8cu5YP3wEFNjFp
Steps to reproduce
please change "--animation-time: 17s;" to any value to evaluate the issue.
Use buttons Comp[1-7] to switch between components.
What is expected?
Transition should behave as it should when "animation" css property not present.
What is actually happening?
Vue takes as long as the specified "--animation-time" property to remove the transitioning element from the DOM
System Info
System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz
    Memory: 15.01 GB / 31.91 GB
  Binaries:
    Node: 18.20.4 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.4355
  npmPackages:
    vue: ^3.5.3 => 3.5.3

Any additional comments?
Using transitions with the built-in <component> tag while the root element of the components has an animation css property produces the issue.
Removing the animation css property fixes the issue.

I think you need to set the type prop on the <Transition> to let it know which type's duration it should wair for: transition or animation.


Issue Saving Edits

First let me say, great plugin.  This is a super big help.
I am having an issue saving any inline edits. Per attached 001 image, I make my edits in the adjustable text field, but the "green check" will not save the work.
Now, if i am only editing one line, as in attached 002 image, i can hit "enter" and save the work.
This is an install on a CentOS7 VM, and I have attached my environment details below.
I'm all ears if anyone has any ideas.
Thanks again for the great plugin!
Redmine 4.0.4.stable
Environment:
Redmine version                4.0.4.stable
Ruby version                   2.6.3-p62 (2019-04-16) [x86_64-linux]
Rails version                  5.2.3
Environment                    production
Database adapter               PostgreSQL
Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery                smtp
SCM:
Git                            <IP_ADDRESS>
Filesystem
Redmine plugins:
easy_instant_messages          2016
easy_mindmup                   1.0
easy_wbs                       1.5
redhopper                      2.0.0
redmine_agile                  1.4.12
redmine_base_deface            1.3.2
redmine_base_stimulusjs        1.0.1
redmine_checklists             3.1.16
redmine_ckeditor               1.2.2
redmine_home_page_redirector   1.0.0
redmine_issue_badge            0.1.0
redmine_issue_dynamic_edit     0.6.7
redmine_issue_templates        0.3.5
redmine_issue_todo_lists       1.3
redmine_issue_view_columns     1.0.1
redmine_issues_hub             0.0.2
redmine_issues_tree            0.0.13
redmine_mapping_board          0.7.0
redmine_messenger              1.0.5
redmine_multiprojects_issue    4.0.0
redmine_percent_done           1.1.0
redmine_project_alias_2        1.1.1
redmine_smile_togglesidebar    1.0.6

Same problem, can't edit issue description while using redmine_ckeditor at the same time.

Hopefully they can figure out the issue. I really do love this extension. I think there are some issues in 4.X as I'm also having an issue with subtask_list_accordian. I think there were some naming changes somewhere along the way and that is what's mucking things up.

Just checking in to see if anyone has any ideas or not.  Thanks again!


log(instrumentation_wrapper): attach library name on instr error

Codecov Report

Merging #80 (96ffbd5) into main (80af39e) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main      #80   +/-   ##
=======================================
  Coverage   87.80%   87.80%
=======================================
  Files          13       13
  Lines         492      492
=======================================
  Hits          432      432
  Misses         60       60

Impacted Files
Coverage Δ

...escope/instrumentations/instrumentation_wrapper.py
81.57% <0.00%> (ø)

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 80af39e...96ffbd5. Read the comment docs.

Thanks @ronnathaniel !


Introduce prettier/eslint to our workflow

I install prettier and eslint and added it to our git hooks to make sure our codebase stays consistently clean.
If you're using VSCode, make sure to install prettier to auto-prettify as you go. Do the same with eslint, I guess.

Ugh, +2k -9k lines. This is because of package-lock.json file.


Add tests

Folders

input test data with objects in other programming language formats
output test data with resulting json
test that output is not changed after processing as well

Hello, I tried to solve the issue.
This is what I did:
Added a new test function 'other_language_formats' in the tests module of src/main.rs. This test processes input data with objects in Python and JavaScript formats, converts them to JSON, and verifies that the output remains unchanged after reprocessing.
You can review changes in this commit: https://github.com/lkilu6456546/pinbraerts-rekson-8/commit/16f6ecc318b52ef92caa17f2592f78124c41e433.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


Allow pass client config without class field

Coverage remained the same at 100.0% when pulling 87254216e186571a1ef8d404fe6e57f83c5d5bd7 on erickskrauch:fix_client_default_class into e5dd65ec23244504935813795f24b20e4c563e1b on hellowearemito:master.

@erickskrauch thanks for your commit!
@albertborsos could you please take a look into this? Thanks!


Fix clicks on child elements of a tab

I am using a bootstrap theme which has a slightly complex heirarchy of elements inside a tab:

headline

Some more details

A click on any element inside the div.card-body doesn't work. This PR fixes that by using event.currentTarget instead of event.target.
Hope I have not broken any existing use case! If so, will be happy to fix it.

Will have a look at this after the week-end.

@chaitanyagupta thanks for this PR, Looks like its the same 'bug' as in https://github.com/thednp/bootstrap.native/pull/242?

@Vuurvlieg yes the issue does look very similar.

@chaitanyagupta If you don't mind it would be awesome if you are able to create a PR for that issue too since they seems to be identical issues :)

Hold on folks, just for a second. Yes this PR right here proves to be useful in this case, I just finished some testing with modern and some legacy browsers (I even found some unsolved and unrelated issues there), but this doesn't mean we change all handlers to work this way, as each handler has it's own quirks and whistles.

@chaitanyagupta do you have a demo to showcase my code is faulty?

Just so you know, there is one more issue that I had to fix before I could get the demo working with this PR. It relates to not setting the aria-selected attribute correctly when switching tabs. However, its a tangential issue so I will file it separately.


Update IpmiApi.scala

@Primer42 @defect @byxorna

@froxart thanks for the pull request. i merged it.

fantastic, thanks a lot for that fast response


lengthy speaker biographies can dominate talk pages

The only place the speakers bio is currently shown is the talk page. For some longer biographies, the text can dominate the speakers box, as shown above. Information like additional speakers or other talks (as part of #53) will be pushed to the very bottom of the page, sometimes even out of the view.
We want to show the full bio for each speaker somewhere, as it contains useful and interesting background information. But we can't, in my opinion, give it as much space as it currently has. A couple of suggestions:

limit the bio to ~80 words, add an ellipses after that and expand it on click
show the bio as part of a popup/modal dialog (yuck?)
do not show the bio at all on talk pages, add a dedicated speakers page to give that information the space it needs (see #76)

What do you think?

You'd really like to see that speaker page, wouldn't you? XD
I've been considering – a speaker's URL should be as stable as possible (which means we can't really use their name) without giving away their login credentials … would a unique code per speaker (in the same format as the submission codes) be a horrible idea? It's not very readable, URL wise …
For now, a simple shortening seems adequate, but the talk page isn't going to get shorter – sooner or later we need to allow speakers to add links or even files, provide a feedback interface (or at least link) … So decluttering probably needs to happen.


alert("blur");

Alert messages are all over code. Is this something not supposed to be released?

Woops. Yep, indeed. Should not be there.
I'll fix it right away.

Fixed in https://github.com/michaelkrog/tel.js/commit/4d9109b3ea0cae8a4d17ab4b565638063cb5cecb & https://github.com/michaelkrog/tel.js/commit/274cf3d2dfbb4dc118f11b9ac328cb0aba18eb1f
Released as 1.2.1

Huzzah! Thank you for super quick response!


Helm Template: How to access .Files in range

I'm trying to read a number of files into a ConfigMap.
I found a great solution @abdennour provided in Issue 2573.
However, if I understand correctly, this solution won't work when there is no such a glob name to select all files.
Initially, I put the filenames into a list, and use the range command to go through them. But there seems no way to access the .Files.Glob in the range scope, such as $.Files.Glob.
Did I miss anything or I have to put all files into a special directory so they can be selected by a glob path?

I just found the helm document, which shows some examples to work with range. Although I haven't test them yet, it should work :)


Franz broken for months on Windows 10

The problem is simple. Some version after beta15 has completely broken Franz, and has caused it to completely disappear. Opening it does nothing, yet it runs in the background. There are multiple reports of this issue, yet I have not seen a response or update to fix it.
Even more annoyingly, I have to constantly downgrade back to beta15 because Franz will update itself akin to Windows randomly restarting for updates. If not auto-updating, then Franz will simply persist with an annoying nag at the bottom of the screen which I cannot remove, and obviously I cannot update as that breaks Franz completely.

Weird. I'm on beta 18 and it's working fine for me.

I am not sure if it is the same problem, but on my device from time to time Franz starts outside of my screens view. I see that the app is open in the taskbar, but when I click on it Franz doesn't appear.
Solution: First make sure that Franz is the topmost App and then press "Alt + Space" to open the context menu of the window. Then in the context menu click on Maximize.

Hi,
I have the same problem as n4ru


Example for customizing Switch

Is there any example of how can I customize the Switch (change color, change size etc) either programmatically or via XML? I tried customizing via XML but it didn't work, so I am propably missing something.

Can you please post your xml?

hi there, you have a great library and neat wiki. Thank you for your work, but wiki could be better. I am using below code for styling switch everything works, but there are couple of problems.  The track does not have curved corners like in this page https://github.com/rey5137/material/wiki/Switch .
And I could not find how to set different color in different states to color of track and thumb
<style name="settings_switch" parent="settings">
    <item name="sw_thumbColor">#ff0000</item>
    <item name="sw_trackSize">15dp</item>
    <item name="sw_trackCap">5000</item>
    <item name="sw_thumbRadius">10dp</item>
    <item name="sw_thumbElevation">3dp</item>
</style>

There're 3 available value for sw_trackCap attribute: BUTT, ROUND and SQUARE (I have updated Wiki). And sw_thumbColor, sw_trackColor attribute can accept a ColorStateList resource.

There're 3 available value for sw_trackCap attribute: BUTT, ROUND and SQUARE (I have updated Wiki). And sw_thumbColor, sw_trackColor attribute can accept a ColorStateList resource.

There're 3 available value for sw_trackCap attribute: BUTT, ROUND and SQUARE (I have updated Wiki). And sw_thumbColor, sw_trackColor attribute can accept a ColorStateList resource.

the ColorStateList, I should have think that. Thanks for your help


Add Mica effect, titlebar customization

Hi!
Could someone with Windows 11 build 22000 or above test the following two snippets for me?
I don't have this build, and installing a new Windows build is kinda pain, so I'd be really grateful, if you someone could test them, and give feedback. Thanks!
You can just download the 2022-02-16 branch, and run this two code to test it.
Mica
This code should add a Mica effect to the window, and remove it after 10 seconds.
import tukaan

app = tukaan.App(title="Test titlebar and window border customization")

app.set_backdrop_effect("mica")

tukaan.Timeout(10, lambda: app.set_backdrop_effect(None)).start()

app.run()

Titlebar bg, fg and window border:
import tukaan

app = tukaan.App(title="Test titlebar and window border customization")

app.Titlebar.bg_color = tukaan.Color("#ffc568")
app.Titlebar.fg_color = tukaan.Color("#6667ab")
app.border_color = tukaan.Color("#007fff")

app.run()

I'm not sure, if I implemented the bg, fg and border color functions correctly, and the colors may be something completely else. Here's how they should look:

asdf
color

titlebar should be this color

titlebar text should be this color

window border should be this color

I will 100% test this, but proballay not until tuseday night since im going out of town without my pc

Can't you take it with you?

That's what I do when I go to my hometown, it's really ez to code with that.

I will 100% test this, but proballay not until tuseday night since im going out of town without my pc

Thanks @sumeshir26 !

Well, that got fixed by changing line 18 of init.py to from .window import App, Window

Now they should work!

@rdbende Now this:

Fixed.
Lol, I can't even copy-paste my code 🙄😝. But if you got to border_color it means that the rest works 👍

Works!

Hurray! That's nice! Thanks for the testing!


Finding group enhancements

This PR shows group real names names instead of Y and N.
removes 'Experimental notification'
and moves configuration (enable/disable) from config file to DB

I think this PR should either migrate the existing setting into the DB for existing installs and/or add something to the upgrade notes. Ideally if users have disabled finding groups, it should remain disabled after upgrading to the version that includes this PR.

This is true, will try to add it

@StefanFl  @valentijnscholten  Changes have been implemented

Thanks. Experience has shown it's better to separate schema migrations and data migrations. Data migrations sometimes fail and having them in a separate migration allows for easy retry without having to comment out any schema parts that were successful. Could you split them up?

@valentijnscholten, Done


Why angular cli ng build --watch command don't work like webpack with hot module replacement

If I run ng build --watch, angular cli updates my code but I need to refresh page every time to see the new changes, With webpack and hmr page is updated without refreshing and without to do something.

Configure Hot Module Replacement

I don't use ng serve, only ng build because I use static files from dist folder.

ng build solely builds files and places them in the output folder.  It does not serve them or communicate with a web browser in any way.  This is the function of ng serve which is designed specifically to provide the functionality requested.


Update platform_view.dart

Description
Fix GitHub query on RenderUiKitView, since the label has changed.
Related Issues
[None]
Tests
I added the following tests:
[None]
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

This successfully built as https://cirrus-ci.com/build/6287751341408256, but for some reason it's not showing up correctly in Github.


Release Google.Cloud.Dataproc.V1 version 5.6.0

Changes in this release:
New features

Support min_num_instances for primary worker and InstanceFlexibilityPolicy for secondary worker (commit 1783572)

Documentation improvements

Minor formatting (commit 5a4054c)

Created release for Google.Cloud.Dataproc.V1-5.6.0


warning: package-lock.json found. Your project contains lock files generated by tools other than Yarn.

yarn prints the warning below:
$ git log --no-decorate --oneline -1
7c5094c feat/make-transcription-configurable (#195)
$ yarn install
yarn install v1.22.22
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning "notistack ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[4/4] Building fresh packages...
success Saved lockfile.
Done in 118.81s.

Sorry, wrong repository.


pkg/pillar: fscrypt sha update

Pillar is crossbuildable, and it seems that every dependable package has to be crossbuildable as well. Update fscrypt SHA, which includes arm64 and riscv builds.
Should be rebased and merged after the https://github.com/lf-edge/eve/pull/3824
cc: @deitch

@eriknordmark now this one updates pillar to fscrypt with cross build. Let's give it a try.


Support AWS style hmac signatures on requests to upstream servers.

Hey, first PR against this repo... lmk if there is a better way to contribute or propose this change. Thanks! - Alex
@mbland would be curious to get your feedback since it looks like you added the current hmac signing.
Proposal to add support for more granular upstreams (backends)
Why?

Currently all upstream servers are specified in the "--upstreams" flag.
There is also a specific implementation of "GAP-Auth" signatures specified using the "--signature-data" flag. This signature is applied to all upstreams when specified. While it's unlikely that an upstream server will be outside your control, it seems odd to leak this data to upstreams that do not need the signature.
The "GAP-Auth" header doesn't help if you want to sign requests for AWS services. The specific use case for me is AWS's managed ElasticSearch (useful for things like kibana), which can only be protected using AWS style signatures.

How?

Use the same pattern as "providers" to create a set of "backends".
Currently split in to two sets:

"Default" uses the existing logic to handle all the servers passed in as --upstreams, and maintain retro-compatibility.
"Aws" uses a new "--aws-upstreams" flag to specify a list of upstreams that need AWS style hmac signatures.

Possible follow ups to this

Things like "GAP-Auth" could use a "--gap-auth-upstreams" flag and be handled with a specific gap-auth backend.
Serving static files could use "--file-upstreams" instead of parsing "file://" from the url.
"backends" as implemented currently are using a catch all "options" struct. Each backend uses the "options" that it knows/cares about, since there are only 3 use cases so far it seems reasonable, but I'm all ears if anyone sees a better way.

Also... I'm working on fixing/adding tests now. Just realized this change breaks the existing tests.


Include media with missing attributes

First off, I love this tool and had to sponsor it!
I would like to request a feature that can identify media files with missing attributes, such as codec, frame rate, resolution, etc. I often use tools like PlexRipper  to merge segments, but occasionally it encounters issues and creates files that Plex assumes are valid but won't play. Currently, I use export tools to generate a CSV and then filter it to identify attributes that show N/A or are blank. Automating this process within the tool would be incredibly helpful.
My use case may be niche but this could happen with bad transcodings or simply corrupt media.

Hi @Jamisonfitz first of all, thank you for your donation!! Very much appreciated!
Secondly, thats a very interesting feature request - can you elaborate on some examples of where codec, frame rate, resolution are missing? E.g. Do you see this in the file itself, or is it in Plex's representation of the media?

Plex displays a movie with its cover art and metadata even if the file is corrupt. In the library, everything appears normal, but when you try to play the movie, it results in an error. If a file is corrupt, Plex will show "Video" and "Audio" as "None," meaning attributes like codec and resolution will appear null or blank.
You can replicate this by adding a folder named after a movie and saving a text file as the media file using the movie's title and a media extension.
I figured it'd be a similar feature as your tool, helping keep libraries clean not only of dupes and samples but corrupt media as well.


Question: XamlReader and XamlWriter Support is missing ?

Hi,
I am currently trying out some prototypes creating custom controls in WinUI.
During prototype I noticed that support is missing for XamlReader and XamlWriter.
( In WPF we could see that support for XamlReader and XamlWriter is available in System.Windows.Markup. )
Support for XamlReader and XamlWriter will be available in near WinUI Preview release ?
I am using right now
VS => Version 16.7.0 Preview 5.0
.Net SDK => dotnet-sdk-5.0.100-preview.4.20268.1-win-x64 / dotnet-sdk-5.0.100-preview.4.20268.1-win-x86
Thanks in advance.

I think XamlReader is available.. @fabiant3 ?

Yes, there is a XamlReader. There's no plan for a feature to serialize to Xaml (XamlWriter).

This is a less than poor answer.

Where is the XamlWriter link that explains the XamlWriter class is not planned?
Where is documentation that explains why and what is an alternative to using XamlWriter class?
One goal is to write documentation that helps developers hit the ground running.
One goal is to provide tech support that helps developers hit the ground running.


Rename variables in list-langs.py

dir is a Python built-in function, str is a Python built-in type, and file was a built-in type until it was removed in Python 3.0. Therefore, it is generally considered bad practice to name variables with these names, since those variables then overshadow and prevent the use of str(), dir(), and file().

@leachim6 I have two more changes in my local copy of the repo, I'll push them as you merge things so that I can get them in separate pull requests.

You are right. Thanks for noticing this!


test

Change Description
Try to be precise. You can additionally add comments to your PR, this might help the reviewer a lot.
If you used new dependencies: Did you add them to requirements.txt?
Who did you ping on Mattermost to review your PR? Please ping that person again whenever you are ready for another review.
Breaking changes
If you made any breaking changes, please update the version number.
Breaking changes are totally fine, we just need to make sure to keep the users informed and the server in sync.
Does this PR break the API? If so, what is the corresponding server commit?
Does this PR break the user interface? If so, why?

Please do not mark comments/conversations as resolved unless you are the assigned reviewer. This helps maintain clarity during the review process.

This is a toy pr (no change) to check that the CI breaking is not due to some changes in another PR. Would some of you have an idea of what's causing the error? @SamuelGabriel @davidotte maybe?  Maybe something changed in the CI or something? I get no error when running the tests locally.

No idea, I would also need to investigate :thinking:

Could it be the mock server tabpfn-server-wjedmz7r5a-ez.a.run.app has changed? The restx library seems to be stable for a while

Locally things are running, but not on the server

Okay it seems to be due to version differences in the httpx package. Downgrading to httpx-0.27.2 makes it work locally while the latest version (0.28.1) also fails locally. 0.28.1 came out on December 6th, and we don't specify the version in the requirement.txt file so the CI uses the latest version.

#51 should fix this


Add function shown available bin/chromatin et.al

hi, thank you guys for providing such useful tool! We are wondering is it possible to add options such as:
$ straw HEADER file.hic
chromosomes 1 2 3 4 ....
blocks BP 10000 20000 500000 ...
blocks FRAG 1 5 10 ...
?
It would be very helpful for people who trying to get the info without trying and failing read it. Thank you!

Hello,
I will look at adding that, for now try using the read Header script first.
https://github.com/theaidenlab/straw/blob/master/python/read_hic_header.py
Best
Neva
On Wed, Mar 22, 2017 at 9:23 PM, Beisi Xu<EMAIL_ADDRESS>wrote:

hi, thank you guys for providing such useful tool! We are wondering is it
possible to add options such as:
$ straw HEADER file.hic
chromosomes 1 2 3 4 ....
blocks BP 10000 20000 500000 ...
blocks FRAG 1 5 10 ...
?
It would be very helpful for people who trying to get the info without
trying and failing read it. Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/theaidenlab/straw/issues/11, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABWiW4GfdUufj2PpBRtRGLUqL2A5cAsOks5roYNWgaJpZM4MlxTt
.

--
Neva Cherniavsky Durand, Ph.D.
Staff Scientist, Aiden Lab
www.aidenlab.org

Thank you! that works!


Support typescript files as the configuration for webhooks

Now that this bad boy is opensouce it's a fine time to bring up the idea again for using typescript .ts files as the configuration of choice instead of .json.
✨ Reasons

power of typescript for the payload types

Third party types (github, stripe, etc)
First party types (your own special sauce)

conditional logic in your webhooks payloads
comments to document certain things
secrets from the filesystem or access any other nodejs API
nice declarative typesafe API helpers
possibility of defining more than one variation in a single file

github-webhooks.ts (workflow_run, push)
stripe-webhooks.ts (payment_intent.created, customer.created)

What would it look like hypothetically?
github-workflow-run.ts
import { WorkflowRunCompletedEvent } from "@octokit/webhooks-types";

// NOTE: hypothetical impl
import { defineWebhook } from "webhookthing";

// define using the github workflow run using the official type type
const githubWorkflowRun: WorkflowRunCompletedEvent = {
  // see here i made a typo and TS can save me with them sweet sweet squiggles
  action: "ggcompleted",
  workflow_run: { /* ... */ },
  workflow: { /* ... */ },
  repository: { /* ... */ },
  sender: { /* ... */ },
}

export default defineWebhook({
  payload: githubWorkFlowRun,
  headers: {
    "x-github-event": "workflow_run",
    // this should be default 😅
    "Content-Type": "application/json",
  }
});

🙏 ps thanks and happy to help

I tried briefly to make some incremental adoptions for at least .ts files and it's very hard.
Maybe someone much smarter than I can attempt this but for now I'm going to close this.
🫡


Bisection Algorithm Added

🛠 Issue (390)

Issue no #390
👨💻 Changes proposed

Bisection method algorithm added in C, C++, Java and Python
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots
C :

C++ :

Java :

Python :

Fixed the readme issue. Review now @Kumar-laxmi


Sonic For GMS now supported by Game Maker Studio 2

A new update to GMS2 finally fixed the 1.4 importer, and now the Sonic For GMS engine runs well using it. The only issue is object FileSelectMenu uses a temporary variable called layer, which is now the name of a built-in variable. Changing this name allows the game to run fine on both VM and YYC mode.
If you think it might be worthwhile to support GMS2 as well, I could send you a key to the software if you don't already own it.
(Also I apologize, issues isn't the right place for this)

Send it to me via e-mail.


[1password] fix synchronization issues with the client in v8 version

Description

fix the problem of synchronization with the 1password client in v8 verison

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi 👋
Thanks for your contribution 🔥
@khasbilegt do you mind checking this?

I just gave this a spin and I'm not sure how I can test it? For me it seems to do the same in both this and the store version?
Is there a way I can test it?

I just gave this a spin and I'm not sure how I can test it? For me it seems to do the same in both this and the store version?
Is there a way I can test it?

This PR is designed to solve the problem in this issue.
you can add a new entry in client or web page.
in older versions of this extension, it won't sync the information you just added in 1password, but in my fix, it will.


Refactor exported, internal public surface area

Internal packages are used to break circular dependencies.  Some of this
internal content is actually publicly exported via type aliases.  To
make it clear which internal parts are public, they've been moved into
the internal/exported package along with comments indicating from where
they're exposed.
Moved some shared stuff that was just for pollers into internal/pollers.
Added shared.BytesSetter interface to decouple the payload caching from
the underlying implementation.
Moved some non-shared constants around.
Removed unused x-ms-date constant.
No functional or public surface area changes.

Fixes https://github.com/Azure/azure-sdk-for-go/issues/17522


Add curl_error message

This caught my attention: curl_error actually contained the curl_errno
Since it confusing, this aligns things with how curl names things

Just flagging a dependency on Remote Datasource for this change :)

And you also have #2544 as well? Duplicate?

Just flagging a dependency on Remote Datasource for this change :)

Oh ok thanks!

And you also have #2544 as well? Duplicate?

This is postpone to 3.0.0 has it is a breaking change, sadly.

Remote Datasource has been taken care of


Risk check not successfull

Avoid duplicates

[ ] Bug is not mentioned in the FAQ
[ ] Bug is specific for iOS only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[ ] Bug is not already reported in another issue

Technical details

Device name: iPhone 13 pro
iOS version: 15.2
App version: 2.19.1 (0)

Describe the bug

Steps to reproduce the issue

My last successful risk check was today at 16:04. Now it is 21:34, more that 4 hours later. When I open cwa, it starts a risk check, but then shows still the last check was at 16:04.
It looks like the check is not successful or aborted before it is finished.
Note: I have already tried to swipe cwa out of memory - this helped sometimes in the past but today it does not help.
Expected behaviour

Successfull risk check
Possible Fix

Additional context

Last successful check for me: 20:41h.
Anything helpful in an error log?

YES - just tried again, now successfull (22:51).
Yesterday I had a check at 21:43; and today 4 successful checks till 16:04.

Nice to hear that it works again :D
Don't forget to update to 2.20.3 😉

@ndegendogo Do you still need this issue open?

Do you still need this issue open?

@Ein-Tim not really ... but I had planned to have a look at my error log and report if I find anything interesting what happened.
I'll try to find time for that on the weekend....

@ndegendogo No rush, as you & @dsarkar noticed, I finally found time to do some housekeeping in this repo.

@ndegendogo Please close this issue now. There has not been any activity here for a prolonged period of time.

@Ein-Tim thanks for your reminder.
Indeed, it is time to close this ticket. cwa has been very reliable in the last months. 🎉🎉🎉


small additions

@amakropoulos I will have to reject this PR this time as not all changes should be applied as they are (mainly the div-by-zero change we discussed). The fix of the smooth-image output I could have merged when it was a separate PR. So instead I made the changes in PR #72 now.
When you submit a new PR for only the addition of the -all`` option to extract-image-components```, I will be happy to merge your contribution. If you need some help with Git workflow let me know or ask @ghisvail to give you a quick hand.


fix(sync): return control from HeaderStage back to pipeline

We only write commit_threshold blocks after fetching them with the downloader.
Closes #607

I think we can make this more efficient by only streaming  head + commit_threshold blocks instead of head + fork choice tip, or by downloading from head onwards instead of downloading in reverse order from tip??

thanks for the PR @TechieBoy! unfortunately, we cannot download headers onwards, because of long-range attack (refer to the headers section of the book for more details). it's better to trust the CL and walk the canonical chain from the tip to prevent peers from advertising bad blocks to us. we are planning to add some onward logic for chains that don't have EL/CL separation and possibly for pre-merge headers

Codecov Report

Merging #609 (92f4bb5) into main (ba585cf) will decrease coverage by 0.08%.
The diff coverage is 97.95%.

@@            Coverage Diff             @@
##             main     #609      +/-   ##
==========================================
- Coverage   72.00%   71.91%   -0.09%
==========================================
  Files         251      251
  Lines       25478    25481       +3
==========================================
- Hits        18345    18325      -20
- Misses       7133     7156      +23

Flag
Coverage Δ

unit-tests
71.91% <97.95%> (-0.09%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/stages/src/stages/headers.rs
97.41% <97.95%> (-0.25%)
:arrow_down:

crates/transaction-pool/src/test_util/mock.rs
53.70% <0.00%> (-6.67%)
:arrow_down:

crates/transaction-pool/src/pool/txpool.rs
58.21% <0.00%> (-0.53%)
:arrow_down:

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

we cannot download headers onwards, because of long-range attack

Makes sense, but we do have write the headers to db from head onwards, correct? Otherwise the stage_progress value in ExecOutput will stay the same until the entire stage is done. That is what I am doing here:
https://github.com/paradigmxyz/reth/blob/92f4bb543e6f07adb2c1facfa37e6373d1fa0655/crates/stages/src/stages/headers.rs#L98-L102
Or do you want me to change it so it writes to db from tip downwards?

we do want to write the headers to db from head onwards
Since we are not appending anymore, it shouldn't matter really.
stage_progress value in ExecOutput will stay the same until the entire stage is done
that's the desired behavior. otherwise we wouldn't know the local "head"

Take only commit_threhold headers from head.
Use headers stored in local db + fork choice state to check if we haved finished the stage.

lgtm, great job!

👍🏻 Thanks for being so patient and helpful and answering all my questions!

lgtm, merging


Updates for Chef Client

This PR contains a few updates to make Chef Client transitive dependency license collection happy. See the individual commit descriptions for details.
/cc: @danielsdeleo @ryancragun

LGTM 👍


Title encoding

When using a special character in a column title .Titled("é"), it is not correctly displayed even though the content of the grid is correctly displaying special characters.

Hmm, I'm not able to reproduce, could you share your environment

ASP NET version
MVC Grid version
Browser

Some time ago I did change Titled method to use title string as raw html, to enable rich header. Maybe that's causing it.

ASP.NET Core version 1.1.0
MVC Grid Version - 1.3.0
With Google Chrome 54

With IE 11

I'm creating a project like this:

I created a small project here, could you check and see if it displays incorrectly for you. I get this now

Wow now this is weird.
I incorporated your view to my solution and it worked
I created a View and pasted your code into it and it worked
I placed your code in my View and it didn't work
It could only be an encoding issue of the file so I checked  with Notepad++
The old View is in ANSI and the new one in UTF-8-BOM
It seems like, with Visual Studio 2015 Update 3, when you create a View from Add New Item (green), the encoding is UTF-8 but when you create a View from Add View (red), the encoding is not UTF-8.

Well I'm sorry I have used your time for something that didn't concern your project and thank you very much for your help.

No problem.


notesForUser(username: string): PrettyUsernote[] | null returns empty array sometimes

As per title, notesForUser(username: string): PrettyUsernote[] | null occasionally returns an empty array for users that do have usernotes. I couldn't find a pattern regarding which searches fail and which succeed, but it appeared only to be for usernotes newer than ~6 months that the issue occurred.
Searching for the usernotes for a user manually rather than using this function does not present the issue, therefore the issue is likely with this library.
Code that fails sometimes:
	public getUsernotesByName(user: string) : Promise<PrettyUsernote[]>{
		return new Promise<PrettyUsernote[]>( (resolve, reject) => {
			void this.getUsernotesPage().then((wiki: Snoowrap.WikiPage) => {
				const usernotes = new toolbox.UsernotesData(wiki.content_md);
				resolve( usernotes.notesForUser(user) ?? [] )
			});
		})
	}

Code that works appropriately:
	public getUsernotesByName(user: string): Promise<PrettyUsernote[]> {
		return new Promise<PrettyUsernote[]>((resolve, reject) => {
			void this.getUsernotesPage().then((wiki: Snoowrap.WikiPage) => {
				const usernotes = new toolbox.UsernotesData(wiki.content_md);

				// Find username case_insensitive
				Object.keys(usernotes.users).forEach((key) => {
					if (key.toLowerCase() == user.toLowerCase()) {
						resolve(
							usernotes.users[key].ns.map<PrettyUsernote>(
								(note) => {
									return <PrettyUsernote>{
										text: note.n,
										timestamp: note.t
											? new Date(note.t * 1000)
											: undefined,
										link: note.l && expandPermalink(note.l),
									};
								}
							)
						);
					}
				});

				resolve([]);
			});
		});
	}

Note: While in the working code, I am accounting for case, this did not appear to be the root cause of the issue.

The only significant difference I can spot between your working code and the library implementation is the case-matching, so if that's not it then I'm not really sure where to start with troubleshooting this issue. I haven't been able to reproduce this locally. Could you provide a full test case with some limited usernotes data that reproduces the issue?


BoxLed, Part II

What's New?

Disallow analog modes for BoxLed pin_types.
Some minor cleanup of resource service.

Coverage remained the same at 92.347% when pulling 7525cf03e2a96b63eed2094a757defc2c7107a7e on RickCarlino:resource_rpcs into baf53c091f853cea344f930a545f69273d5d407e on FarmBot:staging.


Remove bad default error message

The blueprint for the raven service contains a blank string as the default promise error message. This doesn't seem to make any sense, since the inherited value would work just fine.

@RobinDaugherty actually https://github.com/damiencaselli/ember-cli-sentry/pull/95 removed the need for the blueprint and apparently I forgot to remove it in that PR 🤦♂


Loading Puck CMS in Iframe getting getBoundingClientRect error

Loading Puck CMS in Iframe (loading entire CMS page in Iframe) getting getBoundingClientRect error
Steps to reproduce

 <iframe src={"https://demo.puckeditor.com/edit"}  frameBorder="0" />

drag the component.

check the console

Fixed in 0.14.2-canary.23db292

Thanks @chrisvxd its working now


CASSANDRA-17318 Runtime-configurable YAML option to prohibit USE statements

Committed as https://github.com/apache/cassandra/commit/28eea6e8cd4055c8d21f872c72f8bd14fd2467ba


Discord code block with language should cut off language on Slack

Describe the bug
Sending this on discord
```lua
print("hi")
```

Will appear as this on Slack:
lua
print("hi")

To Reproduce
Copy above text on discord, and observe slack.
Expected behavior
Only this should be sent to slack:
```
print("hi")
```

Or it's a bug in slack :-)
Strange that they don't support this

Are you willing to make a PR for this?
You could add another cleanup function for this (eg stripCodeLanguage) here https://github.com/42wim/matterbridge/blob/master/bridge/slack/handlers.go#L30-L34 and add it to the https://github.com/42wim/matterbridge/blob/master/bridge/slack/helpers.go file

Yes, totally willing. Indeed strange they don't support it. Thanks for showing me the files, I wasn't sure where to make the changes


Error when I run go get

go get github.com/linkedin/burrow
package gopkg.in/gcfg.v1: unrecognized import path "gopkg.in/gcfg.v1" (https fetch: Get https://gopkg.in/gcfg.v1?go-get=1: x509: certificate signed by unknown authority)

This is a problem with the SSL certificate for gopkg.in, and is unrelated to Burrow itself. It looks OK now in my browser, so it may have been a temporary error, or an issue with your CA root certificates bundle


chore: move from continuous helmify to custom chart

Signed-off-by: geoffrey1330<EMAIL_ADDRESS>fixes: #1599

@geoffrey1330 I think your main is out of sync and some of the template files where not correct due to this, I pushed the fix so now the PR is ready for review 😸 thank you for the contribution!

@geoffrey1330 I think your main is out of sync and some of the template files where not correct due to this, I pushed the fix so now the PR is ready for review 😸 thank you for the contribution!

Thank you for the help and assistance while working on this issue


Division number reset merging .struxml (not modifying the element of interest)

Test using partial:
I have a base.str and a partial.struxml
The base.str contains two beams B1 and B2. B2 has a division number of 5. Performing a partial update merging the .struxml into the .str, only modifying B1, resets the division number of B2 back to 2.
Originally posted by @andosca in https://github.com/strusoft/femdesign-api/issues/519#issuecomment-1260656583

[x] Report bug
[x] Wait for implementation

See https://strusoft.fogbugz.com/f/cases/122480/

implemented and tested by @andosca


Minor perf improvement during error handling

Makes the error handling in the front controller run very slightly faster, by avoiding call_user_func_array().

Coverage decreased (-0.008%) to 93.394% when pulling 80b3f41d07118e7b4d92737a3afe9531567f9030 on Sam-Burns:minor-perf-improvement into 6f765adb5dad996b586ecf6e362bb2ef7ae64ea4 on slimphp:4.x.

Coverage decreased (-0.02%) to 93.379% when pulling bfadf645a52c368e143d305d6e0a0ec1b9850d60 on Sam-Burns:minor-perf-improvement into 6f765adb5dad996b586ecf6e362bb2ef7ae64ea4 on slimphp:4.x.

Coverage decreased (-0.02%) to 93.379% when pulling bfadf645a52c368e143d305d6e0a0ec1b9850d60 on Sam-Burns:minor-perf-improvement into 6f765adb5dad996b586ecf6e362bb2ef7ae64ea4 on slimphp:4.x.

A couple of suggestions (thanks for your work so far):
Refactoring handleException to perhaps use the switch construct.
It also looks like you are missing the elseif ($e instanceof SlimException) logic in this PR:
The SlimException is implicitly thrown in the unit tests.

It also looks like you are missing the elseif ($e instanceof SlimException) logic in this PR:
The SlimException is implicitly thrown in the unit tests.

In 4.x, there's no SlimException.


League of Legends Module Ideas

Show current game's data like masteries, runes
Store data about champions stats Average Games played, KDA(Kill/Death/Assist Ratio), Average minions www.op.gg is pretty great for these kind of data representation.
Have a bot LoL account that will whisper the streamer when someone subscribes or donates. There is an app called LoLChat. I think their chat service is based on XMPP protocol

I will refresh the post once I get more ideas 4Head

The issue is that riot limits the amount of times you can send a request, which could be an issue depending on how often the stats will be updated and how many bots will have the feature activated.
I think the default limit is:

10 requests every 10 seconds
500 requests every 10 minutes

I think with proper caching this problem could eliminated. An average League game lasts 30 minutes so 1,5k requests would be enough even for more specific data. For example if you want to keep track of the current champion played you can do a request every 1 minute and check if the value has changed.

if you see it in chat, its not the same as if you see it on lolking, you would always use a different website to get it again.
not worth to store data about a league game without a betting system on league games (and a problem if the user has to many accounts)
not sure if it is worth it to get a league chat bot for subs or donations,
the streamer can just open a subscriber list or/and donation list in the browser.

Due to pajbot being moved into maintenance mode I'm closing this feature request.


sqlresolvererror

after container restart pass of sqlresolver changed to default. How to fix it?

Hi, @heket87 thank you for reporting the issue. I'll check the issue, but it would be helpful if you could share the reproduce steps.

Hi @heket87 after checking the possible root cause is that the key file that used to encrypt/decrypt  password and token has been changed after restart.
Make sure you backup encrypt file and keep it persistent on each restart by mount it to host or in volume. The default location of the file is /data/privacyidea/keys/encfile


[#4293] Remove bootstrap dependency

Codecov Report

Merging #4318 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4318      +/-   ##
==========================================
- Coverage   40.94%   40.93%   -0.01%
==========================================
  Files        2417     2417
  Lines       74809    74809
  Branches    10086    10086
==========================================
- Hits        30633    30626       -7
- Misses      41357    41359       +2
- Partials     2819     2824       +5

Impacted Files
Coverage Δ

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
55.55% <0%> (-11.12%)
:arrow_down:

...pinpoint/profiler/instrument/AccessorAnalyzer.java
57.14% <0%> (-8.58%)
:arrow_down:

...m/navercorp/pinpoint/rpc/client/ConnectFuture.java
80% <0%> (-5%)
:arrow_down:

.../profiler/sender/StandbySpanStreamDataStorage.java
72.88% <0%> (-3.39%)
:arrow_down:

...m/navercorp/pinpoint/test/OrderedSpanRecorder.java
72.11% <0%> (-1.93%)
:arrow_down:

.../com/navercorp/pinpoint/profiler/context/Span.java
48.27% <0%> (-1.73%)
:arrow_down:

.../pinpoint/rpc/client/PinpointClientHandshaker.java
65% <0%> (-1.43%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
78.32% <0%> (-1.05%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
74.16% <0%> (+1.66%)
:arrow_up:

...ofiler/sender/StandbySpanStreamDataSendWorker.java
83.58% <0%> (+2.98%)
:arrow_up:

... and 2 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 a8df6d9...9a55a62. Read the comment docs.


Avoid use of Gson library JsonElement

While some of the models in the client contain maps of <String, Object>, others use <String, JsonElement> which can cause problems if you have a conflicting JSON library like Jackson (we're using Spring Boot). Suggest swapping to a more generic Java Object, which will make the library models more usable on their own.
Classes affected (it appears) are AIOutputContext.java, Fulfillment.java, and Result.java.

+1 I lost some time trying to make api-ai work with Spring Boot due to this issue.
At the end I have found a workaround - switched the whole Spring Boot to use gson
spring.http.converters.preferred-json-mapper=gson following https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
It would be better not to be forced to switch.


[Docs] Refactor and extend structs, unions, enums, function pointer documentation in language basics userguide

This PR contains:

Move struct, enum and union documentation so separate section
Extend definition of struct, enum and union also with actual usage in code - how to create and access. One big example was split into separate ones.
union part was moved out of tabs for better experience when tabs are switched
pointer to function section was expanded with examples

All comments were implemented.

Thanks @matusvalo


Key Error of 'Assets' when attempting to call 'YouTube()'

When doing the following command:
from pytube import YouTube
yt = YouTube('http://youtube.com/watch?v=9bZkp7q19f0')

I'm seeing the key error 'assets':
KeyError                                  Traceback (most recent call last)
 in
----> 1 yt = YouTube('http://youtube.com/watch?v=9bZkp7q19f0')
C:\Program Files\Anaconda3\lib\site-packages\pytube_main_.py in init(self, url, defer_prefetch_init, on_progress_callback, on_complete_callback, proxies)
89
90         if not defer_prefetch_init:
---> 91             self.prefetch()
92             self.descramble()
93
C:\Program Files\Anaconda3\lib\site-packages\pytube_main_.py in prefetch(self)
181         self.vid_info_raw = request.get(self.vid_info_url)
182         if not self.age_restricted:
--> 183             self.js_url = extract.js_url(self.watch_html)
184             self.js = request.get(self.js_url)
185
C:\Program Files\Anaconda3\lib\site-packages\pytube\extract.py in js_url(html)
141         The html contents of the watch page.
142     """
--> 143     base_js = get_ytplayer_config(html)["assets"]["js"]
144     return "https://youtube.com" + base_js
145
KeyError: 'assets'

Hi,
Since yesterday I have the same, on every version of pytube (pytube, pytube3, pytubex). I thought youtube banned my ip address because I downloaded almost 300GB yesterday and it suddenly stopped working. It looks like youtube changed something yesterday which made pytube not working at all.
I found a problem. I don't know regex, so my solution is primitive but works fully.
There is a js_url() function in the extract.py file.
Delete it completely (or rename it).
Create a new js_url() function, it should look like this:
def js_url(html: str) -> str:     start = html.find('src="/s/player/') +5     stop = html[start:].find('base.js') + 7     js_url = html[start:start + stop]     return "https://youtube.com" + js_url
Doesn't work with age-restricted videos, but now I know why, I'll post a revised code tomorrow. Today I downloaded over 500 videos without any errors.

@vincehartman38 @AssesBesses this problem was fixed in the most recent update to the repository, so you will need to reinstall pytube in order to fix it.
To install from this repository, I recommend you first uninstall pytube with pip uninstall pytube, then re-install it with python -m pip install git+https://github.com/nficano/pytube.

Hello! im still encountering the same issue(yes im on the latest version of pytube)
you may have some further revisions/fixing to do @tfdahlin
after running the test:
`>>> from pytube import YouTube

yt = YouTube('https://www.youtube.com/watch?v=SOFCQ2bfmHw')`
i immediately received and error:

site-packages\pytube\extract.py", line 143, in js_url     base_js = get_ytplayer_config(html)["assets"]["js"] KeyError: 'assets'

@FeedFall8 are you sure you've installed it correctly? that error is coming from code that is no longer in the codebase

@FeedFall8 are you sure you've installed it correctly? that error is coming from code that is no longer in the codebase

I can confirm that this version works very well.

@FeedFall8 are you sure you've installed it correctly? that error is coming from code that is no longer in the codebase

I can confirm that this version works very well.

confirm too

@tfdahlin yes im using latest, the error still occurs though, should i use python 3.7 rather than 3.8 for pytube?

@FeedFall8 are you sure you've installed it correctly? that error is coming from code that is no longer in the codebase

It will not work if you install the using the pip.  I tried reinstalling "python -m pip install git+https://github.com/nficano/pytube" in command line but nothing happened. I copied the fix in the codebase and paste in the whole code in the extract.py and it works fine. @tfdahlin I don't know why pip install doesn't work for me but your fix does. thanks.

@tfdahlin yes im using latest, the error still occurs though, should i use python 3.7 rather than 3.8 for pytube?

Try copy all the code from the codebase and paste it to your pytube/extract.py this will work.

ah ok thanks

@FeedFall8 there are a few possible reasons that I can think of that you might be running into an issue with your installation.

Are you installing requirements from a file (e.g. using pip install -r requirements.txt)? If so, you would need to update that file to use this git repository, instead of simply having pytube in there.
Have you at any point installed a different version of pytube? For example, some people in the past have recommended installing pytube3, or pytubex, and these installations can cause conflicts because of how the libraries get installed. If you have, be sure to pip uninstall all of those libraries. You can run pip uninstall pytube pytube3 pytubex, then run python -m pip install git+https://github.com/nficano/pytube to reinstall the most recent version of this repository
Are you using a virtual environment? It's possible you don't have the correct virtual environment enabled.
Are you sure you're using the right version of pip? If you have both python2 and python3 installed on your system, you may need to use pip3 instead of pip to install the package, as pip will be associated with python2 and pip3 will be associated with python3.

While @arpitdiwan's solution will work as a short term solution, it will most likely be better to correctly install the package rather than rely on modifying a bad package install.

Believe this should be fixed now in most recent version @vincehartman38 -- please reopen issue if not so.
Thanks!

We confirmed this now works. Thanks so much everyone for responding so quickly!


Parameterize cholinv

A few design decisions deserve to be parameterized instead of forced, most notably the use of gemm vs. trmm and the corresponding serializations.
Any policy classes must have default types.
Note that validate classes and all code that references choleskyqr must also follow these rules.

I found another place in which we are not exploiting the MatrixType template parameters and could use another parameterization (perhaps in place of the dummy one I already set up): at the end, where we perform the last matrix products, we are not exploiting the triangular structure of MatrixRI, and then we serialize from square to square. What is that about?


Create patch release 1.3.1

This includes a small fix to error messages thrown from prop validation.

Coverage remained the same at 94.188% when pulling f12697cbf55649f0c931fb52e2f4b31d12c985e2 on release-1.3.1 into 8f415a5bdc87d8dff0649203ad683e1e2ae03a69 on master.


chore: fix botched GenLSP upgrade

Current dependencies on/for this PR:

main

PR #161

PR #162   👈

This comment was auto-generated by Graphite.


threading behavior changed.

Use os.cpu_count() by default so that the users can exploit the CPU cores without referring to envvar.

Codecov Report

Merging #36 (b04d34c) into develop (bdebf62) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop      #36   +/-   ##
========================================
  Coverage    95.24%   95.24%
========================================
  Files           60       60
  Lines         2989     2989
========================================
  Hits          2847     2847
  Misses         142      142


it doesn't work for me

https://streamable.com/9yhopx
i think this is because my school uses a firewall called fortinet but idk

This would not be network related in any way.  It is most likely because your school has a policy against bookmarklets and/or devtools.


gomi: 1.1.1 -> 1.1.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/b4b4r07/gomi/releases.
meta.description for gomi is: "Replacement for UNIX rm command"
meta.homepage for gomi is: "https://github.com/b4b4r07/gomi"
meta.changelog for gomi is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.1.3 with grep in /nix/store/670zxhf9phkypy195d4hn07kwsqyrw32-gomi-1.1.3
found 1.1.3 in filename of file in /nix/store/670zxhf9phkypy195d4hn07kwsqyrw32-gomi-1.1.3

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
gomi

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/670zxhf9phkypy195d4hn07kwsqyrw32-gomi-1.1.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gomi https://github.com/r-ryantm/nixpkgs/archive/41fac8c3f7fe9f1b00bcf5be17000c0a72fe151d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/670zxhf9phkypy195d4hn07kwsqyrw32-gomi-1.1.3
ls -la /nix/store/670zxhf9phkypy195d4hn07kwsqyrw32-gomi-1.1.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gomi

Maintainer pings
cc @ozkutuk for testing.

@ofborg eval


Fix use of deprecated PortNum constructor

This fixes the use of the deprecated PortNum constructor that was used for showing the port number for a socket, and uses PortNumber's Show instance instead. This instance is in all versions of network scotty can use (scotty depends on >= <IP_ADDRESS>).

Coverage remained the same at 59.74% when pulling d3aba7698b4ed484242a620df4cc2bca7780321a on ehamberg:fix/use-portnumber-show-instance into 9dd942fcab63b85793717ab9f0a0725f3fe0964e on scotty-web:master.

Thanks! I'll take a look at #167 when I have the chance.


Support for LOAD DATA LOCAL INFILE

I thought that this feature is available as the client passes corresponding flag to a server, but when a query LOAD DATA LOCAL INFILE ... is sent, nothing happens until connection closes.

I would like to contribute with this one, doesn't seem as a very difficult task, but I use amphp more, just wanted to make you aware that this feature is absent.

@psafarov Thanks for reporting, this is indeed not supported by this library at the moment and I'm not sure we should support it in the future.
The LOAD DATA LOCAL INFILE is broken beyond repair (https://blog.tarq.io/insecure-defaults-exploiting-load-data-local-infile/, https://medium.com/bugbountywriteup/adminer-script-results-to-pwning-server-private-bug-bounty-program-fe6d8a43fe6f, https://dev.mysql.com/doc/mysql-security-excerpt/5.7/en/load-data-local.html and others) with plenty of security incidents in the past and it's usually best to keep it disabled on the server and/or client side. Common clients (including PDO https://www.php.net/manual/en/ref.pdo-mysql.php) disable this by default and may or may not provide ways to explicitly enable it if it is really needed.
If anybody feels like working on a PR, the changeset looks reasonable and provided security is taken care of, I'm not opposed to getting this in. It's my understanding that it's probably not worth the effort and I don't plan to work on this any time soon, but I won't stand in the way of getting this in :+1:

@clue despite its cons this feature is very useful in some cases, so I would not take choice away from users. Also it is not clear how to fix security problems on client level. I think if somebody comes up with a basic implementation, it should be accepted. The potential risks could be documented.

I still think that this feature makes perfect sense :+1: However, there are currently no immediate plans to build this from my end (no demand at the moment and more important outstanding issues currently), but I suppose we would be really happy to accept PRs :+1:
I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can reopen this :+1:


DOC: stats: clarify truncnorm shape parameter definition

Reference issue
Closes gh-15082
What does this implement/fix?
Issue gh-15082 was due to a misunderstanding of the truncnorm shape parameters. To resolve the issue, the OP suggested that the documentation be clarified. This PR attempts to do that.
@mikewojnowicz, would this resolve gh-15082?

Thanks @rkern. I considered changing it to that; I don't know why I hesitated! Please merge if this LGTY!

Oops! Thanks @rkern.


restarting loop

loaded it up and it said restarting for 10 min before i deleted it and gave up.

If you happen to have the container logs, it will help to diagnose this. My only guess without seeing logs is that the health check may have timed out and was attempting to restart the container. You can extend the default health interval by adding something like --health-start-period 5m to the docker run.

I had same problem.
Log:
[init] Setting initial memory to 1G and max to 1G
[init] Starting the Minecraft server...
[13:10:08] [main/FATAL]: Failed to start the minecraft server
joptsimple.UnrecognizedOptionException: noconsole is not a recognized option
	at joptsimple.OptionException.unrecognizedOption(OptionException.java:108) ~[minecraft_server.1.15.2.jar:?]
	at joptsimple.OptionParser.handleLongOptionToken(OptionParser.java:510) ~[minecraft_server.1.15.2.jar:?]
	at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:56) ~[minecraft_server.1.15.2.jar:?]
	at joptsimple.OptionParser.parse(OptionParser.java:396) ~[minecraft_server.1.15.2.jar:?]
	at net.minecraft.server.MinecraftServer.main(SourceFile:906) [minecraft_server.1.15.2.jar:?]

Deleting CONSOLE: "false" in docker-compose file fixed it.

@prusayn I'll look into that since it sounds like they removed that option at some point

I have encountered this too and removing CONSOLE: "false" also worked as per @prusayn .
For completeness, snippet from the log when it goes into a restart loop:

minecraft    | [init] Resolved version given LATEST into 1.15.2
minecraft    | [init] Resolving type given VANILLA
minecraft    | [init] server.properties already created, skipping
minecraft    | [init] log4j2.xml already created, skipping
minecraft    | [init] Checking for JSON files.
minecraft    | [init] Copying any mods over...
minecraft    | [init] Setting initial memory to 1G and max to 1G
minecraft    | [init] Starting the Minecraft server...
minecraft    | [20:34:45] [main/FATAL]: Failed to start the minecraft server
minecraft    | joptsimple.UnrecognizedOptionException: noconsole is not a recognized option
minecraft    | 	at joptsimple.OptionException.unrecognizedOption(OptionException.java:108) ~[minecraft_server.1.15.2.jar:?]
minecraft    | 	at joptsimple.OptionParser.handleLongOptionToken(OptionParser.java:510) ~[minecraft_server.1.15.2.jar:?]
minecraft    | 	at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:56) ~[minecraft_server.1.15.2.jar:?]
minecraft    | 	at joptsimple.OptionParser.parse(OptionParser.java:396) ~[minecraft_server.1.15.2.jar:?]
minecraft    | 	at net.minecraft.server.MinecraftServer.main(SourceFile:906) [minecraft_server.1.15.2.jar:?]
minecraft    | 2020-04-13T20:34:45.909Z	INFO	mc-server-runner	Done
minecraft exited with code 0

The latest image pushed to Docker Hub will now ignore "CONSOLE=false" when the minecraft server version is 1.14 or newer.


Retrieve all the master records within a given geographical area using search

https://docs.google.com/document/d/1O0uWYTIWUMDJgERYBpU3GBFgMXNoFDakO_F-966qkGk/edit?usp=sharing
We need user stories:
As a XXX I need to XXXX so that I can XXXX
As a developer I need to Retrieve all the master records within a given geographical area using search so that I can show it on my own website

waiting for masterisation (now is retrieve all record)

v2 has changed and no masterization anymore


Prevent duplicate input overwriting

Ityfuzz uses ConstantHintedMutator and VMStateHintedMutator which apply discovered values directly to the input bytes as a mutation.
This is really nice, but has a flaw when it comes to producing many duplicated values.
Each input is mutated several times under the hood which is controlled by havoc_times (max of 10) and max_stack_pow (max of 128). So each input can be mutated ~1280 times before being executed.
Since ConstantHintedMutator and VMStateHintedMutator completely overwrite the input, all of the prior mutations are wasted. These also have a ~1/5 chance to be selected as the next mutator, so we overwrite all the mutations already performed frequently.
This PR creates a MutatorMetadata object that makes these mutators skip if the input has already had a full overwrite this cycle.
This has the immediate effect of performing much less duplicated runs.
Without PR:

31.6% duplicates vs 68.4% unique values

With PR

21.8% duplicates vs 78.2% duplicates

@plotchy Thanks for your work. Once the conflicts are resolved, this PR can be merged.


resizing to 1MB issue

Make sure that the size of the raw image is aligned with 1 MB. Otherwise, round up the size to align with 1 MB:
This part is not clear as where to run these variable and command?
MB=$((1024*1024))
size=$(qemu-img info -f raw --output json "rhel6.6.raw" |
gawk 'match($0, /"virtual-size": ([0-9]+),/, val) {print val[1]}')
rounded_size=$((($size/$MB + 1)*$MB))
qemu-img resize rhel-6.9.raw $rounded_size
while running above..
MB=$((10241024)) : The term 'MB=$((10241024))' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

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

ID: 48bab424-986d-9922-ec2d-942508081367
Version Independent ID: 6e9b3ebd-0571-357e-0fde-ef434a728a24
Content: Create and upload a Red Hat Enterprise Linux VHD for use in Azure - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/redhat-create-upload-vhd.md
Service: virtual-machines
Sub-service: redhat
GitHub Login: @srijang
Microsoft Alias: srijangupta

Thanks for the question! We are investigating and will update you shortly.


Add The black transparent overlay and dotted grid to our homepage

Feedback from Mike:

The hero image is too bright and the black transparent overlay is missing.
The dotted grid is missing.

(Carbon homepage hero image)

(IBM.com Library homepage hero image)

Note:
After taking a look with Wonil, we think the dotted grid is in code. The black transparent overlay might be in code as well.
We need a developer taking a look so we know how to add the overlay and dotted grid to the homepage.
Tasks

[x] Take a look at the Gatsby code to find out if the black transparent overlay and dotted grid came with the Gatsby theme.
[ ] Work with Jenny on the updates.

Acceptance criteria

[ ] The black transparent overlay and dotted grid are added to the live website.

I talked to Kenny and we have a pretty good idea on how to make the changes. A work session will be scheduled for Sprint 20-08 for us to work on the task together.
FYI - @wonilsuhibm

@kennylam Images attached.

@wonilsuhibm
Deploy preview created:
https://ibmdotcom-library.s3.us-south.cloud-object-storage.appdomain.cloud/deploy-previews/407/index.html
Please let Kenny and I know if there are additional edits needed for this task.


Clarify the incomplete external task message

The idea is that most users of luigi aren't luigi developers and don't know all of the luigi terminology either. The new error message tries to describe the problem more in high level rather than explaining the issue in luigi terminology.

@petertoth @ulzha

:+1: great!

I am not the @petertoth you are looking for ;)


Add CacheDir support for CACHEDIR.TAG

A number of tools for backup understand a marker file named CACHEDIR.TAG as a signal that the contents of the directory it's found in are cache contents, which might hint at different handling.  This file is described in a specification:
https://bford.info/cachedir/
Suggesting the SCons derived-file caching code could create this file as a low-cost improvement for tools that care about it.  It's a static file with one required line and optional comments.

Addressed by #4617


Update the roadmap

I've updated the roadmap to remove things which are done, add new things, etc.
There are more discussions in https://discourse.jupyter.org/t/repo2docker-roadmap-review/249 that can be added or lead to changes. As the roadmap is a living document I don't think we should wait for all discussions to come to an end and instead incrementally update it.
Preview: https://78-90722372-gh.circle-artifacts.com/0/html/contributing/roadmap.html

Thanks for doing this, @betatim. I agree re: incremental updates.

I am fine with incremental updates so long as we have semi-regular community reviews of the roadmap

This PR was my understanding of https://discourse.jupyter.org/t/repo2docker-roadmap-review/249/16 as things we agreed on/people wanted to actively work on.
There are still unresolved things (like sub-directory naming). I decided that we didn't have to wait to conclude the discussion to update the roadmap because having that discussion is maybe something that should be on the roadmap instead of waiting to update the roadmap till we have a conclusion. So I expect that discussion to continue and to take part in it.


[Request] Vivecraft and magic conflict

This isnt about the position tracking API integration, thats working pretty great.
At some point, Vivecraft made some changes to how hotbar selections get made, in the past, if you hovered your hand over a certain spot of the hot bar long enough, it would switch to that slot without needing any button presses, now a button press of the attack/swing button is required to initiate the hotbar position change with this method.
Normally that works fine, but while using magic with the spell inventory equipped, clicking to select a spell results in that spell also being cast instantly, which isnt ideal during pvp duels, and same for just use in general.
I was hoping there would be an easy way to detect if a player is inside of VR through the API Vivecraft provide, and add some sort of condition/clause to prevent spells from being instantly cast upon selecting a different spell in VR.
Not sure if it will help but here is the reply from one of the devs looking at the issue, They have expressed at the possibility of adding a compatibility toggle of some sort for the way that's handled but updates for vivecraft tend to take a fair bit longer than turn around here is haha.

Yes, Magic responds to the arm swing animation .. so I'm not sure how to avoid this problem :(


Using match statements without line break?

Godot version
v3.4.4.stable.official [419e713a2]
System information
Windows 10
Issue description
When declaring the cases, if I don't use a line break, it doesn't work. "Unexpected assign". Is that a bug? Is there a way to make it work without using line breaks?
Steps to reproduce
match i:
	0: print_debug(0)
        1: print_debug(1)
        2: print_debug(2)
        3: print_debug(3)

Minimal reproduction project
No response

Can't reproduce in 4.0.
Can you show full code and error?

Are you getting the error in the editor before runtime? It works for me without linebreaks in 3.5.1 and 4 beta 3.
Perhaps the error is referring to a different line of code?

Does the script file contain CRLF or LF line endings? I wonder if this causes the issue.
You can check this using a code editor such as Visual Studio Code and looking at the status bar in the bottom-right corner.

Excuse me, I'm new here and I don't know how to attach code. The code that I have shared previously does not give an error indeed. My fault. I'm attaching the code directly from my project. Thanks.

Works fine in Godot 4


Initialized dependency

When I launch tera toolbox it will keep doing
[12:26:12.847] [update] Initialized dependency "tera-guide-core" for module "tera-guide"
[12:26:13.392] [update] Initialized dependency "tera-guide-core" for module "tera-guide"
[12:26:13.938] [update] Initialized dependency "tera-guide-core" for module "tera-guide"
[12:26:14.474] [update] Initialized dependency "tera-guide-core" for module "tera-guide"
[12:26:15.010] [update] Initialized dependency "tera-guide-core" for module "tera-guide"
[12:26:15.560] [update] Initialized dependency "tera-guide-core" for module "tera-guide"
it wont stop and actually do it.  Am I doing something wrong? do I simply need to wait?

Try to run Toolbox as administator. Also check your antivirus, firewall and internet connection.
We check now on fresh installed TeraToolbox, no problem detected.
Also you can install tera-guide-core module manually.
Go here https://github.com/hsdn/tera-guide-core for this.

[image: image.png]
I tried as admin and I tried without antivirus and  firewall and internet
connection is fine my tera toolbox works like usual except when I have that
folder in my files and I did instal it manually.
Le lun. 12 oct. 2020, à 12 h 36, Dmitry Shin<EMAIL_ADDRESS>a
écrit :

Try to run Toolbox as administator. Also check your antivirus, firewall
and internet connection.
We check now on fresh installed TeraToolbox, no problem detected.
Also you can install tera-guide-core module manually.
Go here https://github.com/hsdn/tera-guide-core for this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hsdn/tera-guide/issues/47#issuecomment-707225729, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARLCYZXSZ6QLYEXMWZENA5DSKMWCTANCNFSM4SNAISVQ
.

The folders for the module and dependencies (located in mods) should be named like this:
library
tera-guide-core
tera-guide-master
If auto-installation not worked, you need install module and dependencies manually. Also you can try to reinstall toolbox.

I have library and I renamed tera-guide-master to tera-guide-core like
mentioned in github I wasn't supposed to do that?
where can I find the original tera-guide-core?
Le lun. 12 oct. 2020, à 12 h 47, Dmitry Shin<EMAIL_ADDRESS>a
écrit :

The folders for the module and dependencies (located in mods) should be
named like this:
library
tera-guide-core
tera-guide-master
If auto-installation not worked, you need install module and dependencies
manually. Also you can try to reinstall toolbox.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hsdn/tera-guide/issues/47#issuecomment-707231065, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARLCYZTUAJZ23763625QWWDSKMXK5ANCNFSM4SNAISVQ
.

tera-guide-master is not tera-guide-core, this is a different modules.
You need both modules for correct working the guide.

alright I installed them both but now it gives me this error not sure what
to do
[image: image.png]
Le lun. 12 oct. 2020, à 12 h 55, Dmitry Shin<EMAIL_ADDRESS>a
écrit :

tera-guide-master is not tera-guide-core, this is a different modules.
You need both modules for correct working the guide.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hsdn/tera-guide/issues/47#issuecomment-707234758, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARLCYZSXKYWUWM6OYWIQXFTSKMYHJANCNFSM4SNAISVQ
.

The tera-guide-core and library installed automatically.
You NOT need manually download it's folders. Delete them if downloaded earlier.
And just download tera-guide-master and place it in the mods folder. Restart Toolbox.

[image: image.png]
[image: image.png]
still gives me a error
Le lun. 12 oct. 2020, à 13 h 19, Dmitry Shin<EMAIL_ADDRESS>a
écrit :

The tera-guide-core and library installed automatically.
You NOT need manually download it's folders. Delete them if downloaded
earlier.
And just download tera-guide-master and place it in the mods folder.
Restart Toolbox.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hsdn/tera-guide/issues/47#issuecomment-707246355, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARLCYZUYD3ELDTG62JCZDRTSKM3C3ANCNFSM4SNAISVQ
.

nvm im just dumb
Le lun. 12 oct. 2020, à 13 h 42, MAD GENESIS<EMAIL_ADDRESS>a
écrit :

[image: image.png]
[image: image.png]
still gives me a error
Le lun. 12 oct. 2020, à 13 h 19, Dmitry Shin<EMAIL_ADDRESS>a
écrit :

The tera-guide-core and library installed automatically.
You NOT need manually download it's folders. Delete them if downloaded
earlier.
And just download tera-guide-master and place it in the mods folder.
Restart Toolbox.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hsdn/tera-guide/issues/47#issuecomment-707246355,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARLCYZUYD3ELDTG62JCZDRTSKM3C3ANCNFSM4SNAISVQ
.

I think it works now thank you very much
Le lun. 12 oct. 2020, à 13 h 43, MAD GENESIS<EMAIL_ADDRESS>a
écrit :

nvm im just dumb
Le lun. 12 oct. 2020, à 13 h 42, MAD GENESIS<EMAIL_ADDRESS>a
écrit :

[image: image.png]
[image: image.png]
still gives me a error
Le lun. 12 oct. 2020, à 13 h 19, Dmitry Shin<EMAIL_ADDRESS>a écrit :

The tera-guide-core and library installed automatically.
You NOT need manually download it's folders. Delete them if downloaded
earlier.
And just download tera-guide-master and place it in the mods
folder. Restart Toolbox.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hsdn/tera-guide/issues/47#issuecomment-707246355,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARLCYZUYD3ELDTG62JCZDRTSKM3C3ANCNFSM4SNAISVQ
.

It's good.