How do we distinguish catalogued and uncatalogued material in Archivematica?

This was flagged as a requirement at yesterday's born-digital meeting. We should decide if/how we're going to handle this.
Possible ideas:

We create a separate "uncatalogued" Archivematica service (but this seems prone to failure)
We file it into a separate "born-digital-accessions" space in the storage service (possibly with a separate hot folder?)

This may be related to how we manage deletions from the storage service, because uncatalogued material might be deleted after it's been appraised/catalogued.

Chatting to @aray-wellcome just now, here's an initial idea:
We have three separate streams:

Files that have already been appraised and catalogued.

Upload a transfer package to a born-digital-catalogued hot folder in the S3 uploads bucket
Archivematica picks it up, does all its processing (normalisation, creating preservation and access copies, virus checking)
It gets stored in the archival storage under born-digital

Files that have not been appraised or catalogued, but you want to appraise them in Archivematica.

Upload a transfer package to a born-digital-for-appraisal hot folder in the S3 uploads bucket
Archivematica picks it up, runs its processing, presents the files in the backlog/appraisal tab
Once you've selected the files you want to keep, it stores them as an AIP in the archival storage under born-digital

Files that have not been appraised or catalogued, and won't be in the immediate future.

Upload a transfer package to a born-digital-uncatalogued hot folder in the S3 uploads bucket
Archivematica picks it up, skips all the usual processing
It gets stored in the archival storage under born-digital-uncatalogued
When you want to catalogue it, you download the AIP from archival storage, create a new transfer package, and upload it through step 2
When you've finished processing it and the appraised/catalogued files have been copied to archival storage, you delete the uncatalogued AIP (requires #4002)

This means that everything is in the archival storage unless it's about to be appraised – I don't want to leave stuff around in the backlog storage for a long time.
We'd need to work out how deleting files in Archivematica works, and build something into the storage service to support deleting AIPs.

We've decided how we're going to handle this, and we have other tickets to track actually implementing it.


chore(i8n,learn): processed translations

Checklist:

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the main branch of freeCodeCamp.
[ ] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #XXXXX

If we do merge this, we should create another PR with all the Spanish files and merge that straight away.  Reason being, it's not great to have the Spanish in a broken and potentially confusing state.

I am not sure what you mean by all the Spanish files.

Yeah, I could have been clearer.  I mean all the files that have been uploaded to Crowdin for translation.  We'd need another PR to pull all of those down.  As discussed in https://github.com/freeCodeCamp/freeCodeCamp/issues/40907 the challenges/english and challenges/espanol directories need to be mirrors of each other.

@RandellDawson as a heads up - we ran in to the issue where CI wouldn't fire on a PR created by the action.
It turns out, if the PR already exists and the action does a new commit (force pushed), the CI will also not fire. We'll want to ensure that we don't re-run the download with an outstanding PR.

It turns out, if the PR already exists and the action does a new commit (force pushed), the CI will also not fire.

Well that is annoying.

Can we add an additional step into the download workflow to prevent the rest of the steps from executing if the branch already exists?

We could look in to that, yeah

Closing as discussed in chat.


Advice?

Hello, sorry for posting something like this question.
Since the list is big, I thought to address it to people who know.
I have a specifically compiled php interpreter exe file with its libraries, I'm seeking for solution which will extract them to temporary folder (if they're not already exist) and run this executable with arguments to open script and return its result to command window from which it was called.
Boxedapp is slow and has inefficient compressing.
All of php packers either huge in output size, or deprecated, in any case I want universal packer.
Something like Enigma Virtual Box, but faster and less in build size, 7z compressed exe weighs 1.5mb, but after adding this to Enigma, it increases to 3mb due to enigmas additional binaries, so something like sfx extractor, but with ability to return results, not start another window. Thanks.

@kovalensky  is this still relevant? Just asking to be sure
wishes from sweden!

@kovalensky is this still relevant? Just asking to be sure wishes from sweden!

Yes, it still is :)

@kovalensky is this still relevant? Just asking to be sure wishes from sweden!

Yes, it still is :)

👍🏼

@kovalensky is this still relevant? Just asking to be sure wishes from sweden!

Yes, it still is :)

Can you share it?

Can you share it?

@loneicewolf Share what?

Can you share it?

@loneicewolf Share what?

The - 'compiled php interpreter exe file with its libraries' - you talk about. Or are your question more 'generally speaking'?
Sorry, I'm just a bit confused :)

@loneicewolf I want to find a packer which will unpack files at given location in first install and called main exe file which will return result to command line window (STDOUT).
If files exist they won't we overwritten and reused.

@loneicewolf I want to find a packer which will unpack files at given location in first install and called main exe file which will return result to command line window (STDOUT).
If files exist they won't we overwritten only reused.

Oh okay, I misunderstood (this reply is to show I read your reply)

@dhondta Actually it was not resolved yet :D

@kovalensky Sorry but I think this question has nothing to do here. Please ask on reddit.com or a similar forum.

Well I dumped reddit for Lemmy, but yeah, I asked that there before, no answers :/


Minor fixes

Changes

Jobs sorted by desc: :updated_at
Update node deps
Slight changes in jobs (form, index)
add timex to show relative time

Feel free to merge in the future @maartenvanvliet. You all have good judgment :grin:


Add full timestamp flag (3543)

This PR addresses #3543, adding the --full-timestamp flag to all pps/pfs commands that currently display timestamps as a truncated, relative timestamp using pretty.Ago().

CI fixed. PTAL for real now @gabrielgrant

Generalized the help message and pluralized the command. The reason the help message appears twice is once for pfs/cmds and once from pps/cmds (similar to rawFlag which I was pattern matching off of).
PTAL @gabrielgrant

Friendly ping @gabrielgrant, lemme know if there's anything else we need out of this.


[ACCUMULO-4506] Add a timeout to the replication task

This addresses an issue where a replication task will get stuck for a
substantial amount of time.  Adding a timeout will abandon the task
allowing another worker (or the same worker) to pick it up.

Not too sure how to go about adding a unit or integration test for this timeout.  I tested the timeout by launching two clusters and replicating data with a short timeout.  Replication was halted on the tablet server and re-scheduled at a later time.  Increasing the timeout allowed replication to finish as expected.

@joshelser Applied your feedback to the commit.  I'll have to run it through my test later, though -- away from my PC at the moment.

Thanks, @adamjshook.

Not too sure how to go about adding a unit or integration test for this timeout

Would it help to re-factor this code to make it more unit-testable? I think creating a "good" integration test for this change would be hard -- I'd be happy with a unit test, likely supported by a mocking framework.

@joshelser I think so.  I was taking a look at AccumuloReplicaSystemTest and seeing how I could fit something in to try and trigger the timeout, but the replicate call takes in the ReplicaSystemHelper as an argument and I wasn't too sure how to go about creating an instance of that.  And even then we could only assert the Status didn't change, but it couldn't change for a number of reasons.

the replicate call takes in the ReplicaSystemHelper as an argument and I wasn't too sure how to go about creating an instance of that

Nothing special, just instantiate it. It requires a ClientContext which you can also mock (the implementation just uses that to get at a Connector).
It may make your life easier to break up _replicate(..) further - I think that would be good if it makes your testing even easier.
} else {
  span = Trace.start("WAL replication");
  try {
    finalStatus = replicateLogs(peerContext, peerTserver, target, p, status, sizeLimit, remoteTableId, peerContext.rpcCreds(), helper, accumuloUgi);
  } finally {
    span.stop();
  }
}

This section is most of what you changed. What if you lift this into its own method, and then use that as the entry-point to test? Something like replicateLogsWithTimeout()..

Thanks for the pointers.  I'll head down this route and get back to you soon.

I've been reading up on Executors#sameThreadExecutor, and I don't think we can use this here since it runs the task prior to getting any Future.  The timeout logic would not kick in until the task is finished.
The task has to be run in a separate thread while the main thread idles to trigger the timeout.
Additionally, I'm having a bit of trouble getting a unit test I am pleased with.  I've made one that runs, but there is a race condition there where it'll either not run the task at all or the task runs but it throws and logs a Connection refused error because there is no server running to receive any work. You can take a look at the commit here.
Either way the test passes since the Status returned is the same, but it isn't a very good test since the behavior isn't really defined.  I think we are a bit too high-level here for a unit test.

I've been reading up on Executors#sameThreadExecutor, and I don't think we can use this here since it runs the task prior to getting any Future. The timeout logic would not kick in until the task is finished.
The task has to be run in a separate thread while the main thread idles to trigger the timeout.

Ahh, bummer. Thought I could be tricky and help save us yet another thread ;)

Either way the test passes since the Status returned is the same, but it isn't a very good test since the behavior isn't really defined. I think we are a bit too high-level here for a unit test.

I would be happy with a test that is not "human-level". That is, if you can write a test showing that your interrupt/retry logic works, I would +1 that.

@joshelser Back at you.  I think I managed to scrape together a test that I am happy with.

Any chance this could be reviewed today?  I'd like to get it blessed before applying it on my end to address our production issue.  Thank you!

Let me bring this out of the thread, given the good find by @adamjshook that the code calls the thrift RPC method without timeout, I think this change could be greatly simplified: add the configuration property for timeout on WAL replication RPCs (from source to peer cluster) and switch that RPC to use the RPC with timeout method on ThriftUtil. Literally, the 3 or 4 lines of code that would take.

@joshelser @keith-turner Updated using the new method.  Let me know if setting that config property isn't the best way to do it.  Tested it on my pair of VMs and the client timeout is throwing an exception which is caught by the AccumuloReplicaSystem.  The replication is then tried again up to replication.work.attempts before being abandoned entirely.

This LGTM. WDYT, @keith-turner ?

Alright, updated again.

I think it looks good.  Thanks @adamjshook


Temporary ' tag appears in repository

Temporary ' tag used for automated packaging appears in repository. For example 1.12-start in linz-bde-schema package

What appears in packagecloud depends on what environemnt variables are passed to this docker container or which parameters are passed to this github action. In particular, the packages are uploaded when PACKAGECLOUD_REPOSITORY is set. Callers should take care of deciding when to set or not set that variable/parameter, there's no knowledge in this action/dockerimage about the meaning of tags.


⚠ Bofrost.lu has degraded performance

In 2c5d3a5, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1032 ms

Resolved: Bofrost.lu performance has improved in f9f522a after 8 minutes.


Fix GH Action

The gh action seems to fail as it runs out of memory in notebook 10.
Reducing the number of iterations that are performed there should do the trick.

Compiling a PR right now...


How to handle reloading map to change color fill

I want to be able to dynamically update the different Geography fill colour in a Choropleth map, To do this I tried to bind a state containing colour to the fill colour. Whilst this does rerender the component the map colour does not change, as Im assuming I need to somehow reload the map. Here is some example code I have: https://codesandbox.io/s/unruffled-hill-7hdn0 as an example so far. note I have a button which updates the colour state.
Using React Developer tools I can see that in the style part of the Geogrpahy, the new colour gets changed but then straight away gets changed back to the inital value.

The solution is to use the disableOptimization={true} prop inside Geographies


Is it possible to run this bot locally?

Without connecting to out to the Internet at <IP_ADDRESS> (6d7b65e2.setaptr.net)?
Thank you in advance. :)

oooh, i see.  <IP_ADDRESS> is also cleverbot.com, i guess that makes sense.
/me does not hold out hope for a local database option

Yeah, cleverbot-node is just scraping cleverbot.com.
It would be nice to have an actual AI run locally someday though.


Broken responsive styles between 600px and ~1060px

Between 600px and ~1060px, several page elements behave poorly:

The "Next Event" block sits flush with the left side of the window
The "Location" heading box extends past the left side of the window
The "Speaking" heading box causes overflow of the main content area

This could be resolved by just broadening the media query for the mobile styling up to 1060px, but may be worth a closer look.

The redesign in #31 should fix this 🙂


Release 0.3.7 - Add env level restrictions and internal refactor

Changes

#266 Add env level permissions for dbtcloud_group and dbtcloud_group_partial_permissions. As of June 5 this feature is not yet active for all customers.

Docs

Fix description of fields for some datasources

Internals

Move the dbcloud_group resource and datasource from the SDKv2 to the Framework
Create new helpers for comparing Go structs

Ci passed 🚀


prometheus pod not selecting new configuration

Bug Report
What did you do?
I have deployed prometheus on openshift origin OKD (3.11) and it is working fine. I have fluentbit which generates prometheus metrics. I want to send these metrics data to prometheus.
fluentbit- prometheus-metircs
http://fluent-bit-myproject.<IP_ADDRESS>.nip.io/api/v1/metrics/prometheus
fluentbit_input_records_total{name="disk.0"}<PHONE_NUMBER>362878
fluentbit_input_bytes_total{name="disk.0"} 25123<PHONE_NUMBER>878
fluentbit_input_records_total{name="cpu.1"} 3223<PHONE_NUMBER>878
fluentbit_input_bytes_total{name="cpu.1"} 3561415<PHONE_NUMBER>878
fluentbit_input_records_total{name="mem.2"} 3223<PHONE_NUMBER>878
fluentbit_input_bytes_total{name="mem.2"}<PHONE_NUMBER>496362878
fluentbit_input_records_total{name="dummy.3"} 3223<PHONE_NUMBER>878
fluentbit_input_bytes_total{name="dummy.3"} 83798<PHONE_NUMBER>878
fluentbit_output_proc_records_total{name="es.0"} 10306<PHONE_NUMBER>878
fluentbit_output_proc_bytes_total{name="es.0"} 3954743<PHONE_NUMBER>878
fluentbit_output_errors_total{name="es.0"} 0<PHONE_NUMBER>878
fluentbit_output_retries_total{name="es.0"} 0<PHONE_NUMBER>878
fluentbit_output_retries_failed_total{name="es.0"} 0<PHONE_NUMBER>878
I am applying new configuration to prometheus via configmap.
Prometheus-configuration
global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
alerting:
alertmanagers:

static_configs:

targets: []
scheme: http
timeout: 10s
api_version: v1
scrape_configs:

job_name: prometheus
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:

targets:

localhost:9090

job_name: fluentbit
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /api/v1/metrics/prometheus
scheme: http
static_configs:

targets:

<IP_ADDRESS>:2020
What did you expect to see?
Prometheus should reflect new configuration and starts reading fluentbit metrics.
What did you see instead? Under which circumstances?
Prometheus working on default configuration.

Environment
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

System information:
insert output of uname -srm here

Prometheus version:

Version
2.14.0

edeb7a44cbf745f1d8be4ea6f215e79e651bfe19

HEAD

root@df2327081015

20191111-14:27:12

go1.13.4

Alertmanager version:
insert output of alertmanager --version here (if relevant to the issue)

Prometheus configuration file:

global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
alerting:
alertmanagers:

static_configs:

targets: []
scheme: http
timeout: 10s
api_version: v1
scrape_configs:

job_name: prometheus
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:

targets:

localhost:9090

* Logs:

insert Prometheus and Alertmanager logs relevant to the issue here

If you have changed the config, you need to hit /-/reload API of Prometheus asking it to reload the config (https://github.com/prometheus/prometheus/issues/1572). For more usage questions, please use user mailing list which can be found here https://prometheus.io/community/.

Hi Ganesh,
Thanks for your input but hitting /-/reload is not working.
<EMAIL_ADDRESS>I am using OKD(Openshift origin 3.11), so was trying to use config map to overwrite existing configuration.
Thanks,
Vishwas
From: Ganesh Vernekar<EMAIL_ADDRESS>Sent: Monday, December 16, 2019 6:04 PM
To: prometheus/prometheus<EMAIL_ADDRESS>Cc: Rajput Vishwas Kumar Shankarbhai<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [prometheus/prometheus] prometheus pod not selecting new configuration (#6463)
[EXTERNAL EMAIL]
If you have changed the config, you need to hit /-/reload API of Prometheus asking it to reload the config (#1572https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprometheus%2Fprometheus%2Fissues%2F1572&data=02|01|Rajput_Vishwas%40infosys.com|c108258975b84494b6c808d782245484|63ce7d592f3e42cda8ccbe764cff5eb6|1|0|637120964871341879&sdata=KRfWjnj%2BI8Nd%2B0tvgkwow9cRrwrljbUmMLRMgNZKz6g%3D&reserved=0). For more usage questions, please use user mailing list which can be found here https://prometheus.io/community/https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprometheus.io%2Fcommunity%2F&data=02|01|Rajput_Vishwas%40infosys.com|c108258975b84494b6c808d782245484|63ce7d592f3e42cda8ccbe764cff5eb6|1|0|637120964871341879&sdata=VmflUpT88XtmCyAXYsKqDYLe%2FrHi2bBoDOcu0Hg97yI%3D&reserved=0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fprometheus%2Fprometheus%2Fissues%2F6463%3Femail_source%3Dnotifications%26email_token%3DADXROA5RE5NCPNTJJOOXAMDQY5YR5A5CNFSM4J3I6A52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG6R47A%23issuecomment-566042236&data=02|01|Rajput_Vishwas%40infosys.com|c108258975b84494b6c808d782245484|63ce7d592f3e42cda8ccbe764cff5eb6|1|0|637120964871341879&sdata=Z7ONS%2FoOmCwVRF5qXbjH7qF%2BOzI9thw2V4d%2B%2BRG4Ka8%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADXROA6GFNOXAB3BY3CFHQ3QY5YR5ANCNFSM4J3I6A5Q&data=02|01|Rajput_Vishwas%40infosys.com|c108258975b84494b6c808d782245484|63ce7d592f3e42cda8ccbe764cff5eb6|1|0|637120964871351886&sdata=d8%2BpTHz5u3Thts880tDYvixVIBGvnE7f%2BWG9wt2oPWQ%3D&reserved=0.


Add OGF tests for RabbitMQ

Have the tests run against local container instance
https://www.rabbitmq.com/download.html

@yojagad to define what OGF tests are needed and scenarios, so we can track individually.

@yojagad to define what OGF tests are needed and scenarios, so we can track individually.


Bug set inited to true on BloomFilterFuncBase::assi…   #39335

…gn (#39335)
Proposed changes
set inited to true on BloomFilterFuncBase::assign
*** SIGABRT unknown detail explain (@0x1ba2) received by PID 7074 (TID 9018 OR 0x7f4adf5df640) from PID 7074; stack trace: ***
 0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /home/zcp/repo_center/doris_master/doris/be/src/common/signal_handler.h:421
 1# 0x00007F525A7F6520 in /lib/x86_64-linux-gnu/libc.so.6
 2# pthread_kill at ./nptl/pthread_kill.c:89
 3# raise at ../sysdeps/posix/raise.c:27
 4# abort at ./stdlib/abort.c:81
 5# 0x0000560BDC6CE8DD in /mnt/hdd01/ci/master-deploy/be/lib/doris_be
 6# 0x0000560BDC6C0F1A in /mnt/hdd01/ci/master-deploy/be/lib/doris_be
 7# google::LogMessage::SendToLog() in /mnt/hdd01/ci/master-deploy/be/lib/doris_be
 8# google::LogMessage::Flush() in /mnt/hdd01/ci/master-deploy/be/lib/doris_be
 9# google::LogMessageFatal::~LogMessageFatal() in /mnt/hdd01/ci/master-deploy/be/lib/doris_be
10# doris::BloomFilterFuncBase::merge(doris::BloomFilterFuncBase*) at /home/zcp/repo_center/doris_master/doris/be/src/exprs/bloom_filter_func.h:159
11# doris::RuntimePredicateWrapper::merge(doris::RuntimePredicateWrapper const*) at /home/zcp/repo_center/doris_master/doris/be/src/exprs/runtime_filter.cpp:539
12# doris::IRuntimeFilter::merge_from(doris::RuntimePredicateWrapper const*) in /mnt/hdd01/ci/master-deploy/be/lib/doris_be
13# doris::RuntimeFilterMergeControllerEntity::merge(doris::PMergeFilterRequest const*, butil::IOBufAsZeroCopyInputStream*) at /home/zcp/repo_center/doris_master/doris/be/src/runtime/runtime_filter_mgr.cpp:399
14# doris::FragmentMgr::merge_filter(doris::PMergeFilterRequest const*, butil::IOBufAsZeroCopyInputStream*) at /home/zcp/repo_center/doris_master/doris/be/src/runtime/fragment_mgr.cpp:1170
15# std::_Function_handler::_M_invoke(std::_Any_data const&) at /var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:291
16# doris::WorkThreadPool::work_thread(int) at /home/zcp/repo_center/doris_master/doris/be/src/util/work_thread_pool.hpp:159
17# execute_native_thread_routine at ../../../../../libstdc++-v3/src/c++11/thread.cc:84
18# start_thread at ./nptl/pthread_create.c:442
19# 0x00007F525A8DA850 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:83
<IP_ADDRESS> last coredump sql:

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall


Fix tariff sync rake task

Jira link
HOTT-????
What?
I have added/removed/altered:

[x] Fixed rake tariff:sync
[x] Amended rake tariff:download_and_apply to rake tariff:download_apply_and_reindex
[x] Lint fixes
[x] Resolve warning from Rubocop

Why?
I am doing this because:

rake tariff:sync was broken
download and apply doesn't convey that unlike other tariff tasks this is going to perform a very long running action
linter was complaining
linter was complaining

Deployment risks (optional)

Low

I think the warning is a false negative :thinking: . It actually has the effect I wanted at the time/I needed to dig into the implementation to work it out :eyes:


WIP: fixing incomplete column binding

Codecov Report

Merging #50 (6877dcb) into master (7485b18) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 6877dcb differs from pull request most recent head cdb35e7. Consider uploading reports for the commit cdb35e7 to get more accurate results

@@     Coverage Diff      @@
##   master   #50   +/-   ##
============================
============================

Continue to review full report at Codecov.

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


Debug Server Job Keeps Previous User's Authorities

When more than 1 person is debugging, we've noticed that the debug job is running under another programmer's user profile.
User A starts debugging their program.  Then, user B starts debugging their program.  User B debug session is running under user A's profile.
If User B were to debug this program (below) in VSCode, User A would get a "Job Complete" message.  Look at that job and you will see the spooled file that User B generated with the DSPJOB command.

We've experimented further and you can modify any object that User A owns or has authority to, even though when *PUBLIC is excluded and that object's owner is User A's profile.

⚠ REMOVE THIS LINE AND ANY SENSITIVE INFORMATION BELOW! ⚠

Context
Version

Code for IBM i version
1.9.3

Visual Studio Code version
1.78.2

Operating System
win32_x64

Active extensions
COBOL (cobol): 9.5.6
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.3.1
Db2 for IBM i (vscode-db2i): 0.2.11
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.11.0
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
IBM i Notebooks (vscode-ibmi-notebooks): 0.0.5
JSON Language Features (json-language-features): 1.0.0
Merge Conflict (merge-conflict): 1.0.0
Microsoft Account (microsoft-authentication): 0.0.1
Node Debug Auto-attach (debug-auto-launch): 1.0.0
TODO Highlight (vscode-todo-highlight): 1.0.5
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
WSL: Recommender (remote-wsl-recommender): 0.0.19

Remote system

Setting
Value

IBM i OS
V7R3M0

Tech Refresh
13

CCSID
37

SQL
Enabled

Source dates
Enabled

Enabled features

/QOpenSys/pkgs/bin
/usr/bin
/QSYS.lib/ILEDITOR.lib
/QSYS.LIB
/QIBM/ProdData/IBMiDebugService/bin

bash
attr
GENCMDXML.PGM
QZDFMDB2.PGM
startDebugService.sh

git
iconv
GETNEWLIBL.PGM

grep
setccsid

ls

md5sum

sort

stat

tar

Shell env

Variants
{
  "american": "#@$",
  "local": "#@$"
}

Errors
[
  {
    "command": "system \"CHKOBJ OBJ(QSYS/QCPTOIMPF) OBJTYPE(*DTAARA)\"",
    "code": 255,
    "stderr": "CPF9801: Object QCPTOIMPF in library QSYS not found."
  },
  {
    "command": "system \"CHKOBJ OBJ(QSYS/QCPFRMIMPF) OBJTYPE(*DTAARA)\"",
    "code": 255,
    "stderr": "CPF9801: Object QCPFRMIMPF in library QSYS not found."
  }
]

I will try to see whether I can reproduce this problem.

Questions:

How do you start the debug service? From the playbook, or in another solution?
Which user profile owns the debug service job? The debug service job is a JVM job.
Which user profile owns the QB5ROUTER job?
When you say "User B debug session is running under user A's profile", does it mean the batch job being debugged is under user A's profile, or the underlying QB5SERVER job for user B's debug session is under user A's profile?

Closing as stale.


recording from url (ip camera) and save to file

Hi developers, is there any way to record from an http ip camera and save the video to file?.
How it could be done?
Thanks in adavance!

There isn't direct support for this scenario currently, but if should be feasible to do the same thing that the MediaStreamSource is doing to get the decoded frames and then feed them into an encoder, either through FFmpeg or through the Windows built-in encoders.

It is an MPEG4 Ip camera with authentication, also it can be viewed in rtsp. Do you think is possible  to play it?. At the moment I can´t. Any ideas?
Thanks in advance


chore(package): update nyc to version 12.0.2

Closes #65

Coverage remained the same at 100.0% when pulling b8466fe3f487ab366b52970343cf36629af31fa2 on greenkeeper/nyc-12.0.2 into 67bcf8f25fc3b753ac15d0ca1dca72f222d21821 on master.

:tada: This PR is included in version 2.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Watson fails to start

I installed Watson 2.0.1-1 from the AUR following the installation instructions. I'm using Arch Linux 5.10.45-1-lts.
When I run watson, I get:

Traceback (most recent call last):
File "/usr/bin/watson", line 33, in
sys.exit(load_entry_point('td-watson==2.0.1', 'console_scripts', 'watson')())
File "/usr/bin/watson", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 855, in exec_module
File "", line 228, in call_with_frames_removed
File "/usr/lib/python3.9/site-packages/watson/main.py", line 1, in
from watson import cli
File "/usr/lib/python3.9/site-packages/watson/cli.py", line 529, in
def report(watson, current, from, to, projects, tags, ignore_projects,
File "/usr/lib/python3.9/site-packages/click/decorators.py", line 247, in decorator
_param_memo(f, OptionClass(param_decls, **option_attrs))
File "/usr/lib/python3.9/site-packages/watson/cli.py", line 46, in init
super(MutuallyExclusiveOption, self).init(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/click/core.py", line 2482, in init
super().init(param_decls, type=type, multiple=multiple, **attrs)
File "/usr/lib/python3.9/site-packages/click/core.py", line 2108, in init
raise ValueError(
ValueError: 'default' must be a list when 'multiple' is true.

I also tried installing Watson using pip instead, but I get pretty much the same error:

Traceback (most recent call last):
File "/home/zero/.local/bin/watson", line 5, in
from watson.main import cli
File "/home/zero/.local/lib/python3.9/site-packages/watson/main.py", line 1, in
from watson import cli
File "/home/zero/.local/lib/python3.9/site-packages/watson/cli.py", line 529, in
def report(watson, current, from_, to, projects, tags, ignore_projects,
File "/usr/lib/python3.9/site-packages/click/decorators.py", line 247, in decorator
_param_memo(f, OptionClass(param_decls, **option_attrs))
File "/home/zero/.local/lib/python3.9/site-packages/watson/cli.py", line 46, in init
super(MutuallyExclusiveOption, self).init(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/click/core.py", line 2482, in init
super().init(param_decls, type=type, multiple=multiple, **attrs)
File "/usr/lib/python3.9/site-packages/click/core.py", line 2108, in init
raise ValueError(
ValueError: 'default' must be a list when 'multiple' is true.

Any idea?

I tried installing the development version manually downloading the repo and installing with pip, and it works as expected.
Uninstalled the development version and installed the AUR package again, everything now works as expected. Maybe there were some issues with dependencies.

Indeed :wink: https://github.com/TailorDev/Watson/issues/430
We'll release that soon!


Byte and SByte reversed

https://github.com/LiorBanai/HDF5-CSharp/blob/2c4285e1cccd1ab2afc2b66c22d57ff81f920d20/HDF5-CSharp/Hdf5Common.cs#L112
Byte returns the type (signed) int8, signed byte returns the type uint8.

you are correct. Thanks for noticing and reporting this

you can update your nuget version to use 1.10.610.5:
https://www.nuget.org/packages/HDF5-CSharp/1.10.610.5


how to transmit dart map params to c extension API

Dart SDK Version :
2.0.0-dev.44.0
linux
run as script

i meet a problem: how to transmit dart map params to c/c++ extension API?
i get the public head file of dart ,and find no map type in the native api.
So how can get that?
typedef enum {
Dart_CObject_kNull = 0,
Dart_CObject_kBool,
Dart_CObject_kInt32,
Dart_CObject_kInt64,
Dart_CObject_kBigint,
Dart_CObject_kDouble,
Dart_CObject_kString,
Dart_CObject_kArray,
Dart_CObject_kTypedData,
Dart_CObject_kExternalTypedData,
Dart_CObject_kSendPort,
Dart_CObject_kCapability,
Dart_CObject_kUnsupported,
Dart_CObject_kNumberOfTypes
} Dart_CObject_Type;
typedef enum {
Dart_NativeArgument_kBool = 0,
Dart_NativeArgument_kInt32,
Dart_NativeArgument_kUint32,
Dart_NativeArgument_kInt64,
Dart_NativeArgument_kUint64,
Dart_NativeArgument_kDouble,
Dart_NativeArgument_kString,
Dart_NativeArgument_kInstance,
Dart_NativeArgument_kNativeFields,
} Dart_NativeArgument_Type;
typedef union _Dart_NativeArgument_Value {
....
struct {
intptr_t num_fields;
intptr_t* values;
} as_native_fields;
Dart_Handle as_instance;
} Dart_NativeArgument_Value;
typedef struct _Dart_CObject {
Dart_CObject_Type type;
union {
......
struct {
intptr_t length;
struct _Dart_CObject** values;
} as_array;
struct {
Dart_TypedData_Type type;
intptr_t length;
uint8_t* values;
} as_typed_data;
struct {
Dart_TypedData_Type type;
intptr_t length;
uint8_t* data;
void* peer;
Dart_WeakPersistentHandleFinalizer callback;
} as_external_typed_data;
} value;
} Dart_CObject;

/cc @crelier didn't you implement capability of passing type params to native functions?

@soach can you describe your requirement with some more details. Here are some questions we have

Are you implementing a native extension and want to pass a Map object to this native extension method?
In the native method you are implementing do you want access to the type parameters of the Map object?
How will you use the type parameters accessed from the Map


Scaffold routes and bare bones designs for Steps

Related to #14
This task encompasses setting up and linking routes through the steps from the linked issue.

Our guide for the steps is this document https://docs.google.com/document/d/1Sjo6M_F81wyHLzpaXwRcxQNgfSk4WaH6pyM0Nw8aJ0A/edit


Searching is incredibly slow

This is directly related to https://github.com/pepkit/pephub/issues/154.
It can take up to a minute for search results to propagate back from the database when searching through the namespace projects for GEO. I've traced it to this code:
search_result = agent.annotation.get(
            query=q,
            namespace=namespace,
            limit=limit,
            offset=offset,
            admin=namespace_access,
        )

Does the database need indexed? I'm not sure why the searching would be so slow.

Turns out its this code that is slowing it down:
result = self.con.run_sql_fetchall(
            count_sql,
            *search_sql_values,
            False,
            admin_tuple,
            *namespace,
        )

This will be solved in the next iteration.

Can you clarify what exactly the issue was and how you're solving it?

issue is: we are trying to search projects using ilike fucntion in porject_dict(description). It is super slow, as we are searching through all project_dict objects.
solution: disable description search for namespaces with project number>1K. (In longer term: decouple description from the project dict)

solution: disable description search for namespaces with project number>1K

This seems fine for now. GEO is the only namespace with >1K projects and hopefully you're using vector search for those anyways. What's needed is a way to quickly get the exact PEP for a given accession (assuming it exists in pephub)

After discussion, There was decision to disable search on description. Reasons: ilike function is super slow + description now is not a separate column + eventually we want to use qdrant search

in v0.4.0 temporarily disabled the search by description due to long processing time and impact on the database.


Please publish an updated version to OpenVSX

Hello! 👋
ESLint users from VSCodium, Gitpod, Theia, etc. are all reporting that https://open-vsx.org/extension/dbaeumer/vscode-eslint is now outdated -- it's still 2.1.3 on OpenVSX, while it seems that vscode-eslint 2.1.8 is already out.
See https://github.com/open-vsx/publish-extensions/issues/91
Could you please publish an updated dbaeumer.vscode-eslint to https://open-vsx.org ? (It's typically just a matter of running a single command, npx ovsx publish.)
Many thanks! 💯 🙏

10 month bump

Bump! Would be super nice if it was made part of the release process to also release to Open VSX

Do we have any chance to see the new version on Open VSX? 😶

It would be super nice as any version <2.2.0 is now just broken for ESLint 8 projects due to the lack of CliEngine which will only become a bigger issue with time. Thanks in advance!

@chrisdias assigning to you.

Seems like the OpenVSX guys solved it themselves for now. 2.2.2 is available there.


prevent before divideByZero + extend coverage up to hundred + add sta…

early prevent for divideByZero
extend coverage up to hundred
add static analysis
add some package defined exception
add some composer scripts related to tests

Hy @MockingMagician Nice, thanks 🆙 . Could you rebase this with the current master ?

Codecov Report

Merging #1 into master will increase coverage by 4.16%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             master        #1      +/-   ##
=============================================
+ Coverage     95.83%   100.00%   +4.16%
- Complexity       29        30       +1
=============================================
  Files             1         1
  Lines            72        74       +2
=============================================
+ Hits             69        74       +5
+ Misses            3         0       -3

Flag
Coverage Δ
Complexity Δ

#unittests
100.00% <100.00%> (+4.16%)
30.00 <0.00> (+1.00)

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

Impacted Files
Coverage Δ
Complexity Δ

src/Residue.php
100.00% <100.00%> (+4.16%)
30.00 <0.00> (+1.00)

Continue to review full report at Codecov.

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

Hy @MockingMagician Nice, thanks  . Could you rebase this with the current master ? I pushed some modifications (including the static constructor) before seeing your PR

You're welcomed. :smile: It is rebased from your master branch.

Thanks @MockingMagician


Anyway to avoid needing the xlpython folder?

I use a lot of spreadsheets and I am finding I can develop them much faster with excelpython but I am getting tired of all the extra files needed. Is it possible to put all my .py files as well as the xlpython folder in one place and have my spreadsheets call them from there? It seemed obvious enough looking at the xlpython module but it didnt seem to work.

So I did get it to work. I just had to re-import the UDF's.

Can you share the changes to the VBA code? I'm currently trying to achieve this too..

Note that ExcelPython is now part of https://github.com/ZoomerAnalytics/xlwings and this feature has been implemented there.


use GHCR image by default

Updates examples, CI and docs to use
the GHCR image by default. The Docker
Hub image will continue to be pushed
for the time being to help migration.
Signed-off-by: Steve Kriss<EMAIL_ADDRESS>

If we manually push some previous releases into GHCR including the latest tag then this should be able to pass.

I think we (well, you :) ) should do this without delay, since it's a one-off, and images not used on Docker Hub will be removed after 6 months.

@stevesloka could you take a quick look at this one when you get a chance? Thanks!


[Document] Add PR creation template

Deliverables:

[ ] A good enough PR template that contain all the required sections including which issue it closes closes #issue_num, Feature/changes introduced through the PR etc.

working on it

Closing via this PR


No exchange information in contracts

using ezIBpy (1.12.44).
codes below:
ibConn = ezibpy.ezIBpy()
ibConn.connect(clientId=100, host="localhost", port=4001)
print(ibConn.contracts[1].m_exchange)
there are positions in my account. it seems ezibpy created contracts based upon my positions. However, the created contracts did not have the exchange information. This caused issues later to place the orders.

This was fixed in 1.12.45. Upgrade to the latest version to get this fixed.
$ pip install ezibpy --upgrade --no-cache-dir

Cheers!

It works! I should have checked first.
Thanks!


Error SockeTimeout when building shared:runCommonizer task

> Task :shared:runCommonizer
Download https://github.com/yarnpkg/yarn/releases/download/v1.22.10/yarn-v1.22.10.tar.gz
Failed building KotlinMPPGradleModel
org.gradle.internal.operations.BuildOperationQueueFailure: There was a failure while

Really unsure this is my internet connection or not, but it already 1h and failing twice.
When trying to download the yarn, does the project have pre-req setup that I'm not aware of? :pray:

I have never come across this problem.
I don't even know what "Yarn" is.
Are you able to reproduce it consistently?

Hmm this is weird, for the first time cloning your repo, when syncing, it shows the yarn process, looks like I'm missing a lot of dependencies to download :(

Hmm this is weird, for the first time cloning your repo, when syncing, it shows the yarn process, looks like I'm missing a lot of dependencies to download :(

Are you using Android Studio Canary?

Currently, I'm using Arctic Fox RC

with the latest update it should be fixed


Export logbook as .docx

Currently, logbook is not supported. In #439 I added memo export function to logbook


Refresh token

Hello,
How do you use the refresh token when the access token expires?
Regards,
Daniel

Hello. You need to repeat login.


fixImprove analyze timeout logic.

Before, analyze_timeout will also affect analyze stmt, which may cause failed to cancel analyze task. This PR change analyze_timeout to only affect timeout value for executing analyze sql.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


where to get an alternate passive additions json, an alternate passive skills json, and the most recent skill tree json?

where to get the most recent skill tree json?

there is no Jewel_Node_Link.json also. help please

Sorry didnt see these messages till now

where to get the most recent skill tree json?
the easiest place is gggs github

Jewel_Node_Link.json was removed a while ago becouse it was out of date, I can try and update it at some point but its basically just a list of what nodes are within range of what jewel
I havnt looked at the basic example in a while, but dont think weight is actually needed, but the general gist of how the LuTs work is its just a list of all the changeIds from every node on the tree from every seed on the jewel, so you can access a specific node change using the index [node_id_INDEX * jewel_seed_Size + jewel_seed_offset] and then use the change ID to figure out what it added or changed to

lets say we we need to know all brutal restraint flask gain nodes.
so 3676,Flask Charges Gained,488(from indicies) so i need to create new dictionary with 488 index and weight lets say 1.
3rd parameter also 1 to catch all that nodes and last is 3"./BrutalRestain" file path?
if so its arg out of range exceprion

oh I figured out what weight is in this example, its the sum of the mods you want
if using the basic example the parameters should be

you want all the notables from tree you want flask charges gain on,
you want the stat (in this case the flask charges gained (which is the number 71))
the amount of those nodes you want (1 is a good number)
the jewel type (so the number 3 in this case)

and it should return a list of seeds that have those stats
in this case for notables just get 5-6 notables you know you want within range of a jewel socket
and for stats you want a dictionary with just the number 71 in it,
Sorry if its not completely accurate its been a while since I looked at the basic example, and I use python not c#, if I made a mistake I am sure Gears will come correct me at some point

@Regisle @OxidisedGearz  you are amazing!
thanks a lot. the last question is how to update to 3.21?

Yes you will still be able to see the info,
small passives are in node_indices.csv but knowing where they are on tree is much harder without a pregenerated list or an application like PoB

I'm here once again, sorry.

It will need an alternate passive additions json, an alternate passive skills json

where can i find those jsons? i found some in ggpk (alternatepassiveskills.dat64 and alternatepassiveaddictions.dat64)
but i dont know know what to do with them. for example in AlternatePassiveSkill.cs we have [JsonPropertyName("Unknown10")]. but in dat file there are Unknown(s)0-9. why did you skip them?
and in AlternatePassiveSkill.cs  we have [JsonPropertyName("Unknown13")]. but in (alternatepassiveskills.dat64) there only Unknown(s)0-10.

found some in ggpk (alternatepassiveskills.dat64 and alternatepassiveaddictions.dat64)
those are the correct ones

The reason the fields are different is becouse the field names arnt actually in the ggpk, they have to be manually maintained by people, and so the spec you used to get them out of the ggpk is different to the spec we used
I havnt updated this repo in a while but there is a pull request with the latest LuTs in them if those are what you want, otherwise I can take a look at cleaning up how the dats are used, and what the field names are (will probably use PoBs field names which has no unknowns)

The place I was recommended was https://snosme.github.io/poe-dat-viewer/ which seems to work when running the generator

i found that pob files are correct ones so i can use them. i think they will be updated as soon as league launch. and maybe @LocalIdentity will pull something.

https://snosme.github.io/poe-dat-viewer/
big thanks

is there any way to reverse that? i mean if you enter seed value you will get all alternates for those seed?
i can do alternates then search seed number that i need and get alternat values, but i think it is too slow


Add extra_float_digits parameter parsing

This PR pulls extra_float_digits from the query portion of the connection URI and if exists, populates it on the returned config object.
This is needed in node-postgres to eventually allow specifying a custom value for it.

I'd like some follow up by the maintainers on your node-postgres issue before I merge this.
@brianc thoughts?

Let's merge #7 instead? White-listing isn't best option here overall, I think, since server rejects invalid options already, and it is substantially more hassle trying to keep up with all the params supported (and changing them in short time).

#11 does this more generally

@sehrope  @elmigranto @caub You good with closing this since #11 has been merged?

@sehrope Closing this as I think this issue is solved. Please ping back if there is still an outstanding issue.


Does not seem to work with node 6.1.0

It's having problems installing hashring 3.1.x. Changing it to hashring 3.2  worked, but then leverage fails. Updating leverage to 0.1.x seems to do the trick.
I could do a PR updating these two packages, but I'm not sure how to handle the regression with older node versions. Thanks!

The issue was actually intended for 3rd-Eden/versions repository. My apologies!


Use a MemoryStream in compilation.Emit instead of outputPath

Ran into issues using the outputPath in environments where it was not a option to write out a file to the suggested filename "temp" and there was no use-case ( on our end ) where we needed the file itself afterwards
Writing out to a MemoryStream mediated the issue

thx


Refactor cache break path into its own method

This PR refactors the cache break path generation into its own function so that consumers can use it in other contexts (e.g. generating CDN paths).

Nice.  I'll publish a new version of this shortly.  Stay tuned.

@severian Published 0.0.4.  Go ahead and port S2 to that!

@codeviking Rock, thanks!


I can't paste image in Jupyter Notebook's markdown cell ,when I changed "Jupyter: Notebook File Root"

Environment data
VS Code version: 1.74.3
Jupyter Extension version (available under the Extensions sidebar):
Last released
1/11/2023, 18:14:03
Last updated
1/4/2023, 21:12:02
Python Extension version (available under the Extensions sidebar):
Last released
1/11/2023, 18:27:32
Last updated
1/6/2023, 23:40:36
OS (Windows | Mac | Linux distro) and version: Windows11
Python and/or Anaconda version: Anaconda:3.9.15
Type of virtual environment used : conda
Jupyter server running: Local
Expected behaviour
please tell me how to make it worked.(all pictures are invalid)
Actual behaviour

I set "Jupyter: Notebook File Root" from "${fileDirname}" to "${workspaceFolder}".
then I can't paste image in Jupyter Notebook's markdown cell, it display blank and all pictures are invalid.
I reset "Jupyter: Notebook File Root" to "${fileDirname}" ,it still didn't work.

Steps to reproduce:

2.

3.

4.

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

I'm on Windows and had the same issue.
Changing the version of the "Jupyter Notebook Renderers" extension back to v1.0.12 fixed the problem.
To whoever the following means something, this is the VSCode info.
Version: 1.74.3 (user setup)
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T16:59:02.252Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621
Sandboxed: No

I'm not sure what Jupyter: Notebook File Root is or does, but it this doesn't happen without touching that setting, it sounds like a Jupyter specific issue

duplicate of https://github.com/microsoft/vscode-jupyter/issues/12568, working on pushing out a new version


Auto Expansion - Selecting and Bootstrapping New Rooms

This PR-

Defines a room scoring system built off of the Intel system. This system defines 13 heuristics, each with their own weights (which are easy to adjust via constants), as well as several filters.

Creates the "expansion" program, which -

builds a candidate list and scores rooms (locked into 10 cpu at most, so it will score over multiple ticks) to create a prioritized candidate list.

pops candidates off the stack to run some more expensive tests (namely, make sure a claimer can actually reach the controller).

Attempts to claim the room three times. If it fails it goes back to the previous step.

Destroys all structures, including dismantling spawns (which you can't run destroy on without being the owner apparently).

Sends miners (or spawns them if there is an available spawn and enough extensions).

Plans room, constructs spawn (and everything else that is needed), fills structures with energy, and upgrades the controller.

Once room.getRoomSetting('SELF_SUFFICIENT') is true, turns the room on and starts a countdown before suiciding (allowing existing creeps to finish out their lifetimes).

Adds a variety of new helper functions to make all of the above easier, such as-

Mineral.getEmpireRatio

qlib.market.getHighestMineralValue

RoomPosition.prototype.getAdjacentInRange

Some minor multiroom optimizations, such as adding getDiscriptor to some room programs that were missing it.

Some new room changes-

More distance between structures and resources.

Make the room reboot program explicitly check for fillers.

resolves #88, resolves #89

This Pull Request has been merged by GitConsensus.
Vote Totals

Yes
No
Abstain
Voters

3
0
0
3

Vote Breakdown

User
Yes
No
Abstain

TheRealMaxion
✔

tedivm
✔

ViezeVingertjes
✔

Vote Results

Criteria
Result

Has Quorum
True

Has Votes
True


SolidJS Components

<Trans key="welcomeUser">
  Hello! <Link to="/inbox">See my profile</Link>
</Trans>
// JSON -> "welcomeUser": "Hello! <1>See my profile</1>"

Is there anyway i could do this? Just like in react-i18next

It will be available with v1.2.0


[Mobile wallet] Wallet Settings --> Listeners page, "Next Address" generation option works one time only,

Description:
In the Mobile wallet, Wallet Settings --> Listeners page, "Next Address" generation option works one time only, next time it is not changing the wallet address.
Steps to reproduce:

Login to Mobile wallet
Goto Wallet Settings --> Listeners page
Stop MWC, TOR listeners
Click "Next Address" button and make sure address got changed.
Start MWC, TOR listeners.
Stop MWC, TOR listeners.
Click "Next Address" button and verify address is getting change or not.

Verified with the latest build, hence closing this ticket.


theme settings with scss

i will do this soon. if anyone has info on how to do this with react.js, lemme know

I know! @ScolderCreations Just don't use React or SCSS. Stick to vanilla!

I know! @ScolderCreations Just don't use React or SCSS. Stick to vanilla!

i’d rather use react, it has built-in XSS protection.

I know! @ScolderCreations Just don't use React or SCSS. Stick to vanilla!

i’d rather use react, it has built-in XSS protection.

It's called "use your brain". Use innerText and make your backend only accept what it needs to accept. Then you won't have problems. Also, there's no such thing as built-in XSS protection.

I know! @ScolderCreations Just don't use React or SCSS. Stick to vanilla!

i’d rather use react, it has built-in XSS protection.

It's called "use your brain". Use innerText and make your backend only accept what it needs to accept. Then you won't have problems. Also, there's no such thing as built-in XSS protection.

I prefer React, and that’s how it’ll be for now.

You mean light and dark mode? I know how to do this in tailwind (if you use it), in your configuration file, if you want it to be based on media dark/light mode query, use darkMode: media or if you want it as a toggle darkMode: class, then add the dark: prefix to the styles you want in dark mode. But if you want it to be a toggle, then add the dark class to the parent, all children will be in dark mode.

You mean light and dark mode? I know how to do this in tailwind (if you use it), in your configuration file, if you want it to be based on media dark/light mode query, use darkMode: media or if you want it as a toggle darkMode: class, then add the dark: prefix to the styles you want in dark mode. But if you want it to be a toggle, then add the dark class to the parent, all children will be in dark mode.

Or:
:root {
  color-scheme: dark;
}

You mean light and dark mode? I know how to do this in tailwind (if you use it), in your configuration file, if you want it to be based on media dark/light mode query, use darkMode: media or if you want it as a toggle darkMode: class, then add the dark: prefix to the styles you want in dark mode. But if you want it to be a toggle, then add the dark class to the parent, all children will be in dark mode.

Or:
:root {
  color-scheme: dark;
}

If you want here's the compatibility table:

You mean light and dark mode? I know how to do this in tailwind (if you use it), in your configuration file, if you want it to be based on media dark/light mode query, use darkMode: media or if you want it as a toggle darkMode: class, then add the dark: prefix to the styles you want in dark mode. But if you want it to be a toggle, then add the dark class to the parent, all children will be in dark mode.

Or:
:root {
  color-scheme: dark;
}

If you want here's the compatibility table:

Outdated. color-scheme works on Chromium OS.
 It has full support for color-scheme. (Yes, I have that many flags enabled, and I use hyperthreading. )


I Can't save my files on Atom and I can't find a solution to this problem.

When I pres Ctrl+S to save my file. atom empties all the contents in the file. If I don't press Ctrl+Z then it saves the file as an empty document. which is extremely frustrating as I can't use atom because of this. It will just delete all my code. I have no custom packages and It does the same thing even in safe mode.
Please if anyone has a solution to this problem please help me.
I am using Ubuntu 14.04

Thanks for the report - can you share more information about the issue?  In particular, the issue template information is really helpful and if you can add more details we can go from there:

What version of Atom are you running?
How did you install Atom?
Did Atom work fine before and this behavior just started happening recently?
Besides trying safe mode, have you run through the rest of the debugging document (https://flight-manual.atom.io/hacking-atom/sections/debugging)?

Are there any errors in devtools console (https://flight-manual.atom.io/hacking-atom/sections/debugging/#check-for-errors-in-the-developer-tools)?

I have a feeling the problem is not with Atom. do you know of any ubuntu things that could conflict with Atom Files?

Atom : 1.23.3

The currently release version is 1.24 so you could install the latest to see if that helps.

I haven't gone through the debug docs. didn't know they existed.

It looks like you tried resetting to factory defaults, have you tried clearing saved state as well?

I installed atom through linux console. I have uninstalled and reinstalled it twice.

Sorry I was double checking if you used a supported installation method:
https://flight-manual.atom.io/getting-started/sections/installing-atom/#debian-and-ubuntu-debapt
If you haven't, uninstall Atom and re-install with one of the supported install methods.

I have a feeling the problem is not with Atom. do you know of any ubuntu things that could conflict with Atom Files?

Oh are you having issues with other programs?  I don't recall specific issues with Ubuntu that have caused this behavior in the past.  If you think this is not Atom specific I'd suggest closing this issue for now but we can always re-open if you find more evidence that this is an Atom issue.

No I'm only having this problem with Atom. But it's really strange that's all. So was wandering if maybe it could be something with Ubuntu.
I will try other install methods and newer version and see if it works and post back afterwards. Thanks.

Even with the latest version I still have this same problem. I think it's a problem with Ubuntu. If I find the answer I will post it.

Ok thanks @baker13 :+1:


about AUC

hi,thanks for the torch code, it realy helped me. i run your code ,but the AUC score has always been 67%, i changed the parameters according the paper, nothing changed. i dont know whats the matter.

@henrryzh1 I'm uploading the pre-computed features now, please try to use them when the upload is done

@henrryzh1 I'm uploading the pre-computed features now, please try to use them when the upload is done

Thanks，i cant wait to try

Added link in README

Thanks for the pre-computed features, i trained the code with those features,but i still got 0.71 AUC .i tested with https://github.com/ekosman/AnomalyDetectionCVPR2018-Pytorch/blob/master/exps/model_ep-20000.pth, i got 0.72. Then i used the the extraction model(c3d.pickle,ucf_caffee.pth) from https://github.com/ekosman/AnomalyDetectionCVPR2018-Pytorch/issues/1,the AUC is still 0.67. it really bothers me.


Compile fail on Raspberry Pi Raspbian Wheezy

I get a compile fail on Raspberry Pi:
Compiling src/lfe_comp.erl failed:
src/lfe_comp.erl:30: can't find include lib "compiler/src/core_parse.hrl"
ERROR: compile failed while processing /home/pi/downloads/lfe: rebar_abort
make: *** [compile] Error 1
This looks to me like either I have not set up environment correctly or the erlang/otp install is a binary only for Pi so erlang sources are not included.
In either event, has someone sorted getting lfe running on pi?
Cheers,
B

so, handed my dissertation in (finally) and now wife feels we are moving
house. This will likely not get looked at by me for another two months but
it is on my to do.
On Mon, Apr 6, 2015 at 1:39 PM, Asterion Daedalus <
<EMAIL_ADDRESS>wrote:

On Tue, Dec 23, 2014 at 8:08 PM, Robert Virding<EMAIL_ADDRESS>wrote:

No worries, take your time. I will attack the problem of needing to have
the erlang sources available when you build LFE.
—
Reply to this email directly or view it on GitHub
https://github.com/rvirding/lfe/issues/101#issuecomment-67934847.

I think I have a Raspberry Pi somewhere around the office, once I find some time I can help you getting latest LFE built on it. Give me some days and I'll see what I can do.

The problem is that compiling LFE assumes that erlang has been installed with the sources. This is not always the default.

Closing due to age.


Module Broken with Ansible Automation Platform 2.3

Due to how this module is written, I don't believe it works well with AAP since you have it configured to use local_action: rather than delegate_to: I've tried adjusting the tasks to use delegate_to, but am receiving syntax errors, so I'm unsure if maybe something in the python code may be conflicting with the changes I've made, but I'm not fluent enough in Python to tell.

For example, previously my tasks looked like below:
- name: unmanage in solarwinds
  local_action:
    module: orion_node_manage
    hostname: "{{ orion_host }}"
    username: "{{ orion_user }}"
    password: "{{ orion_pass }}"
    dns_name: "{{ inventory_hostname }}"
    state: unmanaged
    is_relative: "{{ orion_unmanage_is_relative }}"
    unmanage_until: "{{ orion_unmanage_until }}"

I have changed them to look like the below, but for some reason ansible isn't liking the change:
- name: unmanage in solarwinds
    orion-node-manage:
      hostname: "{{ orion_host }}"
      username: "{{ orion_user }}"
      password: "{{ orion_pass }}"
      dns_name: "{{ inventory_hostname }}"
      state: unmanaged
      is_relative: "{{ orion_unmanage_is_relative }}"
      unmanage_until: "{{ orion_unmanage_until }}"
  delegate_to: cmn-tower-01.in.qservco.com

Syntax error on my part


License issue with DrawFullScreenPass.cs

The DrawFullScreenPass.cs file
https://github.com/microsoft/MixedReality-GraphicsTools-Unity/blob/v0.5.14/com.microsoft.mrtk.graphicstools.unity/Runtime/Utilities/DrawFullscreenPass.cs
contains this comment:
/// Forked from: https://github.com/Unity-Technologies/UniversalRenderingExamples/tree/master/Assets/Scripts/Runtime/RenderPasses
But doesn't copy the license from the repo.  The header should show that it is sublicensed from there.

Here is the license from the root of that repo:  https://github.com/Unity-Technologies/UniversalRenderingExamples/blob/master/Assets/License.pdf

@Cameron-Micka  do you have an ETA on addressing this?

Once this question is answered I'm happy to fix asap:

Oh great catch @shaynie! Do you have an example of how the header should reference the sublicense.

Hi @Cameron-Micka, do you think there is an alternative DrawFuillscreenPass file that could form a basis for this file that doesn't have the potential license issue of https://github.com/Unity-Technologies/UniversalRenderingExamples/blob/master/Assets/License.pdf (non-commercial only). Or could we clean-room implement it?

Good question @ghazen-ml, if you look at the current state of the file it has diverged quite a bit from its roots to support XR and Unity 2022+: https://github.com/microsoft/MixedReality-GraphicsTools-Unity/blob/main/com.microsoft.mrtk.graphicstools.unity/Runtime/Utilities/DrawFullscreenPass.cs
In fact, the 2022+ version of the class is a rewrite since Unity changed much of the interface for doing blits. But I'm not sure when we can make the call as something is "clean room" or not. @AMollis do you have any thoughts?

Release Issue:

https://github.com/Unity-Technologies/UniversalRenderingExamples/issues/50

Hi @Cameron-Micka, a few of ideas that came up in the MRTK maintainers group and I have one too:

The DrawFullscreenPass.cs file could be moved into a separate repository or branch so that the the encumbered file could be optional/experimental and left out for mainline usage in MRTK.
A more modern example could be found to base off of, without the encumbered licensed file, or a clean implementation using the unity docs, e.g<EMAIL_ADDRESS>The file could be removed from the repo
We could prod unity team about https://github.com/Unity-Technologies/UniversalRenderingExamples/issues/50 again (I've started movement on this from my side)

Thanks for the ideas @ghazen-ml! Thanks for starting the fourth bullet point - if we hear back from Unity that would obviously be the easiest solution. Else, I'm open do doing a clean room implementation since it's not that much to rewrite.


Add dependency updates

Fixes #56
I've added dependabot for gomod deps updating weekly.

/lgtm
/approve
Thanks!


bug: resource group name should be <= 64 char long

What type of PR is this?
/bug

What this PR does / why we need it:

upgrade test fails right now at cluster creation stage due to exceeding limit for azure resource group name length.

Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 47.046%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
223

Relevant Lines:
474

💛  - Coveralls


Support for deprecated extensions in the marketplace

These should not be shown anymore

The irony is that if you search for “ansible” the first result listed will be microsoft own retired ansible extension, which is still listed first despite having added a “retired” inside description and being unmaintained.
 The entire value of the marketplace is diluted because there is no way to hide/archive extensions.
I will repeat it: too much junk does lower the overall experience for all users, it does not bring any real value.
I even tried using the report option to report unmaintained extensions that used dependencies with critical security issues but apparently the process is very slow and most of the time it has no results at all.

@sandy081 Any hints about your last recommendation? My impression was that this was the place to raise bugs for marketplace.

Yes it is.

Hi @sandy081 , any chance see a change on this? It could be a really usefull feature.

Apart from this the extensions would need to have a deprecated flag. So that VS Code can also render them in a custom way.

@prashantvc I think this request makes overall sense: some way for extensions to say they are deprecated. Assigning to backlog and we should tackle some time in the future.

This feature should allow extension to specify that it is deprecated in favour of another extension - so that VS Code can ask user to install the other extension.

This feature should also allow extensions to specify they are archived - which means no more updates, still working but looking for maintainers.

Even if extra metadata is added for deprecation, asking extension developer to re-publish it can prove a real problem. Many may no longer bother to do it as it requires extra work, is not like putting a checkmark on a web form. Many extensions are abandonware, so you cannot even contact original publisher.
This is why earlier this month I released https://marketplace.visualstudio.com/items?itemName=42picky.octarine -- which is an extension that only prompts you to uninstall known problematic extensions. The list is manually picked. Feel free to add a pull-request to it.

My 2 cents: Deprecation and Hiding extensions are 2 different things. Deprecation can mean that a specific extension is deprecated because it's no longer being maintained, or it may have some critical issues. The experience to deprecate extension could have a way to specify (may be by default but can be opted out) that it should be hidden as well.
Suggested add-ons to deprecation functionality:

Capability to recommend another extension as an alternative.
Transfer popularity to the recommended alternative extension. This helps with adoption of the alternative by moving it up the ladder on search results.

Check out equivalent experiences for NuGet packages:

https://docs.microsoft.com/en-us/nuget/nuget-org/deprecate-packages
https://docs.microsoft.com/en-us/nuget/nuget-org/deprecate-packages#transfer-popularity-to-a-newer-package

So we do have issues marked as duplicate for this which are about showing the deprecation. https://github.com/microsoft/vscode-discussions/discussions/1 also references this issue, because while there is now a way to deprecate an extension and even setup a replecment recommendation, the marketplace still does not show either of those.
@isidorn Shouldn't the deprecation "discussion" should be moved to this repo as it actually only applies to the marketplace (which only handles the deprecation via API but not via webinterface, if I understood it correctly), not to vscode itself?

I think you are right that the discussion belongs here. However since we originally wrongly put it in vscode-discussions I would leave it there (especially since we have some links from our Docs page that point to it).


ELECTRON-1073: more information window is not localized

Description
Localization - Electron - More information window is not localized
ELECTRON-1073
Solution Approach
New localized words have been added
Documentation
N/A
Related PRs
N/A
QA Checklist

[x] Unit-Tests
[ ] Automation-Tests

Fixed as part of https://github.com/symphonyoss/SymphonyElectron/pull/620


Enhancement/751 add possibility to get workfiles with specific version

Changelog Description
Successor of this PR (that was accidentally closed when I renamed the branch). The actual commits that have not been reviewed yet are the last three.
They add :

Functions to augment OP capacities, to allow launch of DCC application in script modes
The actual implementations of these launches for Maya and Nuke
A cleaner and more normalized version of the first API that exposes OP data (introduced first in the late PR)

@BenSouchet we still have to solve the issue of the exposed port of OP webserver, who is dynamic and changes at each launch (see this)

Since we added fastapi support in next release 3.16.9-quad-1.17.0, this PR is partially obsolete and the archiver project is in an indeterminate pause, the code won 't be delete and still be available if needed.


Rename *Decorator classes.

No class should be named like *Decorator. In particular we should rename the classes in decoration (not sure if there are more of that kind).
For decorators we should stick to our decorator naming scheme. If that doesn't work the name should end like the interface that's implemented.
For RequestHeaderDecorator we could pick something like HeaderDecorated or CustomHeaderRequest. Other ideas?

I agree and I like HeaderDecorated.
Only those 3 classes have "Decorator" in their names in this project, so they would be renamed as following then:
RequestEntityDecorator -> EntityDecorated
RequestHeaderDecorator -> HeaderDecorated
RequestResponseDecorator -> ResponseDecorated
Ok?

Looks good. Merged it.


BUG: sealos reset bug

The Description of the bug
i first install sealos
sudo sealos run labring/kubernetes:v1.25.0 labring/calico:v3.22.1 --single

ubuntu@VM-12-15-ubuntu:~$ sealos reset --debug
are you sure to delete these nodes? Yes [y/yes], No [n/no] : y
Error: enter true iplist, master ip length more than zero

Kubernetes version: v1.25.0
Sealos version: {"gitVersion":"4.1.2","gitCommit":"b9951850","buildDate":"2022-09-02T02:49:13Z","goVersion":"go1.19","compiler":"gc","platform":"linux/amd64"}
Operating system: ubuntu

Sudo is not supported yet.


ipptool: Add support for arbitrary group tags and attribute syntaxes (value tags)

Currently libcups (and thus ipptool and ippserver) only supports the registered attribute syntaxes. However, section 3.5.2 of RFC 8010 allocates ranges of value tags for out of band (0x10 to 0x1f), integer (0x20 to 0x2f), octetString (0x30 to 0x3f), character-string (0x40 to 0x5f), and vendor extension values (0x40000000 to 0x7fffffff).
libcups should be extended to support these values, probably using a new ippAddOctetString2 function (with a value_tag argument, like we do for character strings and integers) for the octetString and vendor extension ranges. The _ippFile parsing code can then be extended to support these value tags accordingly.
Similarly, the tags from 0x00 to 0x0f are reserved for attribute group tags (in section 3.5.1 of RFC 8010) but should be supported as group_tag values.

What is the current behavior? Are attributes with out-of-band values just ignored?
From my experience it's quite common for IPP server/printer implementations to use out-of-band tags in situations where something goes wrong.

@gmuth

What is the current behavior? Are attributes with out-of-band values just ignored?

Not at all. The current behavior is to support the registered group and out-of-band tag values. This bug tracks adding support for using non-registered values, both for experimentation and fuzzing/testing.


Page link is broken for "Access and identity options for AKS"

On this page:
Use Azure role-based access control for Kubernetes Authorization
https://learn.microsoft.com/en-us/azure/aks/manage-azure-rbac
and when clicking the link at the bottom of the page titled, "Access and identity options for AKS", the related link:
https://learn.microsoft.com/en-us/concepts-identity.md
page result is:
404 - Page not found

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

ID: 42afd8de-b697-100c-98c7-ae8e6a6f1b92
Version Independent ID: 81674054-0ea2-210b-2e65-18a0f15617c1
Content: Use Azure RBAC for Kubernetes Authorization - Azure Kubernetes Service
Content Source: articles/aks/manage-azure-rbac.md
Service: azure-kubernetes-service
GitHub Login: @palma21
Microsoft Alias: jpalma

@Kalamazoo-DBA
Thanks for your feedback! We will investigate and update as appropriate.

@Kalamazoo-DBA
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.
https://github.com/AjayBathini-MSFT/azure-docs-pr/commit/ae7f3d9fffcf09cf6e4432cc75f80488ce548f24

@AjayBathini-MSFT  - this issue is marked as completed four days ago, yet the link to the page continues to have a 404 error.
Access and identity options for AKS
https://learn.microsoft.com/en-us/concepts-identity.md

@Kalamazoo-DBA
Changes will take some time to update in document.
For your reference these is original link:
articles/aks/concepts-identity.md


Error for examples catalogs/flink-iceberg-hive

Hello I am trying steps mentioned on readme page
(base) soumilshah@Soumils-MBP flink-iceberg-hive % docker compose build
[+] Building 0.4s (4/4) FINISHED                                                                  docker:desktop-linux
 => [hive-metastore internal] load .dockerignore                                                                  0.0s
 => => transferring context: 2B                                                                                0.0s
 => [hive-metastore internal] load build definition from Dockerfile                                               0.0s
 => => transferring dockerfile: 840B                                                                              0.0s
 => ERROR [hive-metastore internal] load metadata for docker.io/library/hms-standalone:latest                     0.3s
 => [hive-metastore auth] library/hms-standalone:pull token for registry-1.docker.io                              0.0s
------
 > [hive-metastore internal] load metadata for docker.io/library/hms-standalone:latest:
------
failed to solve: hms-standalone:latest: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
(base) soumilshah@Soumils-MBP flink-iceberg-hive %

@soumilshah1995 apologies for the delay. Can you confirm which folder and branch you're running this from? thanks.


fixed log4shell 2.16.0 variant

Expand compilation log
Build Log
last 200 lines
GitHub pull request #123 of commit 2f61c8359131e8dce7bea0f7f3cae327304fe233, no merge conflicts.
Running as SYSTEM
Building on the built-in node in workspace /var/lib/jenkins/workspace/Pull Request Builder Jobs/TLS-Attacker-PR
The recommended git tool is: NONE
using credential 503f4883-9e31-48f9-b1cc-809f6ad8ecd3
> git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Pull Request Builder Jobs/TLS-Attacker-PR/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/RUB-NDS/TLS-Attacker # timeout=10
Fetching upstream changes from https://github.com/RUB-NDS/TLS-Attacker
> git --version # timeout=10
> git --version # 'git version 2.7.4'
using GIT_ASKPASS to set credentials Github login
> git fetch --tags --progress https://github.com/RUB-NDS/TLS-Attacker +refs/pull/*:refs/remotes/origin/pr/* # timeout=10
> git rev-parse refs/remotes/origin/pr/123/merge^{commit} # timeout=10
> git rev-parse origin/pr/123/merge^{commit} # timeout=10
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
[Checks API] No suitable checks publisher found.
Setting status of 2f61c8359131e8dce7bea0f7f3cae327304fe233 to FAILURE with url http://hydrogen.cloud.nds.rub.de/job/Pull%20Request%20Builder%20Jobs/job/TLS-Attacker-PR/5/ and message: 'Build finished. '


EACCES error when installing the Matano CLI

I am running Ubuntu 20.04 on Windows via WSL 1.
I have installed node.js v12.22.12 via the NodeSource PPA per https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04.
Running make install per https://www.matano.dev/docs/installation, I get the following error:
npm WARN checkPermissions Missing write access to /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/lib/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR!  [Error: EACCES: permission denied, access '/usr/lib/node_modules'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/lib/node_modules'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

The relevant NPM logs are attached.
2022-08-12T14_24_33_045Z-debug.log
2022-08-12T14_24_33_060Z-debug.log

Hi, thanks for the issue, this is due to installing in the system node modules. We should likely change the install script to use the --user npm flag.
The repo is under heavy development and we'll be making significant changes in the next weeks. Feel free to join our Discord for updates.

Closing as we now provide prebuilt binaries through a GitHub Release without a Node/NPM dependency. (#3)


[HELP] Make input for custom host instead of escapepod.local

Describe the issue:
"Error logging in...." The bot seem can not communicate with the wire-pod instancce
What are you running wire-pod on?

[OS]: (ex. Windows, Debian)
[Hardware]: (ex. Raspberry Pi)

Are you setting up a prod (regular) bot or a dev/OSKR (unlocked) bot?
A product bot
What steps have you tried?
As I know the host  escapepod.local must be resolved but we can not edit or enter host manually?
Such as this step after clicking the Activate button if escapepod.local can not be resolve (no such host) > show input for entering custom host or ip???

Describe the issue: "Error logging in...." The bot seem can not communicate with the wire-pod instancce What are you running wire-pod on?
* [OS]: (ex. Windows, Debian)

* [Hardware]: (ex. Raspberry Pi)

Are you setting up a prod (regular) bot or a dev/OSKR (unlocked) bot? A product bot What steps have you tried? As I know the host escapepod.local must be resolved but we can not edit or enter host manually? Such as this step after clicking the Activate button if escapepod.local can not be resolve (no such host) > show input for entering custom host or ip???

I'm having same issues with my setup. I did the ./update.sh command line. My bot ip is example: <IP_ADDRESS>, the error states ip <IP_ADDRESS>:8080 is not reachable. Everything was fine before doing the update command. Runnng EscapePod on a Raspberry Pi 4, 4GB ram, Vector Gen 1, Firmware 2.1, Regular.

Describe the issue:
"Error logging in...." The bot seem can not communicate with the wire-pod instancce
What are you running wire-pod on?

[OS]: (ex. Windows, Debian)
[Hardware]: (ex. Raspberry Pi)

Are you setting up a prod (regular) bot or a dev/OSKR (unlocked) bot?
A product bot
What steps have you tried?
As I know the host  escapepod.local must be resolved but we can not edit or enter host manually?
Such as this step after clicking the Activate button if escapepod.local can not be resolve (no such host) > show input for entering custom host or ip???

The Web Bluetooth site tells Vector to activate. It does not communicate with the wire-pod instance itself. There is some other problem.

Describe the issue:
"Error logging in...." The bot seem can not communicate with the wire-pod instancce
What are you running wire-pod on?

[OS]: (ex. Windows, Debian)
[Hardware]: (ex. Raspberry Pi)

Are you setting up a prod (regular) bot or a dev/OSKR (unlocked) bot?
A product bot
What steps have you tried?
As I know the host  escapepod.local must be resolved but we can not edit or enter host manually?
Such as this step after clicking the Activate button if escapepod.local can not be resolve (no such host) > show input for entering custom host or ip???

The Web Bluetooth site tells Vector to activate. It does not communicate with the wire-pod instance itself. There is some other problem.

I read the log.
escapepod.local no such host
Installed wire-pod on Raspberry Pi 4 and I set a custom routing escapepod.local to RP4's IP. And I can access to escapepod.local:8080, but still can not activate my Vector.
The point is why activation process always need host escapepod.local??? Why can't we change to some custom host or just an ip of wire-pod instance?

The URL is embedded in Vector's firmware and can't be changed. It is how DDL implemented escape pod functionality, which wire-pod is taking advantage of.

The URL is embedded in Vector's firmware and can't be changed. It is how DDL implemented escape pod functionality, which wire-pod is taking advantage of.

So if DDL server is ON, how could Vector connect to it if it resolve local address escapepod.local????

It is a special property of the new "ep" firmware you are supposed to put on him. This was created and signed by DDL for escape pod. Normal firmware has public URLs embedded.

It is a special property of the new "ep" firmware you are supposed to put on him. This was created and signed by DDL for escape pod. Normal firmware has public URLs embedded.

So there is no way to create a public wire-pod server right?

It is possible, though you'd have to run an mDNS broadcast app or set a DNS entry on your network to make sure escapepod.local resolves to the instance.


.spr.yml is overwritten with new values every time a git spr command is run.

Steps to reproduce for 0.14.9:
Run git spr status or something, it generates a config file that looks something like
githubRepoOwner: TheOwner
githubRepoName: therepo
githubHost: github.com
requireChecks: true
requireApproval: true
githubRemote: origin
githubBranch: master
remoteBranches: []
mergeMethod: rebase

Make some changes something like...
githubRepoOwner: TheOwner
githubRepoName: therepo
githubHost: github.com
requireChecks: true
requireApproval: true
githubRemote: origin
githubBranch: develop
remoteBranches: []
mergeMethod: squash

Run git spr status again
Works as expected. Changes retained.
Now add something new
githubRepoOwner: TheOwner
githubRepoName: therepo
githubHost: github.com
requireChecks: true
requireApproval: true
githubRemote: origin
githubBranch: develop
remoteBranches: []
mergeMethod: squash
mergeQueue: true

Now run git status spr one more time
It overwrites the config and removes the mergeQueue option going back to
githubRepoOwner: TheOwner
githubRepoName: therepo
githubHost: github.com
requireChecks: true
requireApproval: true
githubRemote: origin
githubBranch: develop
remoteBranches: []
mergeMethod: squash

I also tested to remove something like githubBranch (which I understand should be auto-detected). It will overwrite the .spr.yml and set it to the default of master.

I have a stack I can't merge due to needing the mergeQueue option.

I walked back the versions to 0.14.6 and still see the behavior.
Oddly, I only see it with one of my repository. In a second repository, with mergeQueue also enabled, I do not see this behavior.


remove mount icon on --kill-kbfs

This is to remove the dangling mount icon on uninstall - which we'll need in any case when the filesystem is backed out. Tested by uninstalling.
@maxtaco @oconnor663

Yeah I just realized that I was looking at moved code. Pardon the distraction there :)


tox is not in tests/requirements.txt

Hi everybody,
According to the contributing page [0] I need to run this to test:
$ pip install -r tests/requirements.txt # install test dependencies
$ pip install -r scripts/requirements.txt # install script dependencies
$ flake8 dateparser tests
$ tox

But, tox is not in the test/requirements.txt. So, I cannot run the above
commands directly, because assume that tox is installed.
IMHO tox module must be added into tests/requirements.txt
[0] https://github.com/scrapinghub/dateparser/blob/master/CONTRIBUTING.rst

The documentation is wrong, you should just run tox there, and it will perform all the 3 previous steps on its own.
Also, tox should not be in any requirements file, and should instead be installed manually. So maybe we should add pip install tox to those instructions.

Hi @Gallaecio, good point. Please consider review the PR: https://github.com/scrapinghub/dateparser/pull/698. I mention on the documentation the installation of tox.


The seed isn’t enough to generate the data

This fixes up the beacon data the way it was intended.. the entropy is used to seed an RNG which then generates a random bytes of the requested length
Sets the required length to 51 to allow for the lora header

Looks better. I don't know rand_chacha:...::from_seed(), of course, but if it generates 51 bytes in the end then good?

Yeah it implements the Rng trait which implements the sample_iter function.


how to create  subnet without a gateway?

I have a storage underlay network that doesn't route.... how do I create a subnet without a gateway?

You can set the subnet's .spec.u2oInterconnection to true to use a logical gateway.

While deleting and recreating storage0 i encountered kube-ovn crashing.
Anytime I create storage0 it results in a crash of the kube-ovn-controller
am running 1.13.
I0326 03:53:53.206548       1 init.go:619] start to sync subnets
E0326 03:53:53.207347       1 subnet.go:2223] ipam subnet storage0 has no ip in using, but some ip cr left: ip 1, vip 0, iptable eip 0, ovn eip 0
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x560e836c4768]

goroutine 117 [running]:
github.com/kubeovn/kube-ovn/pkg/controller.(*Controller).syncSubnetCR(0xc00084bb08)
        github.com/kubeovn/kube-ovn/pkg/controller/init.go:636 +0x668
github.com/kubeovn/kube-ovn/pkg/controller.(*Controller).Run(0xc00084bb08, {0x560e84c7b858, 0xc0005222d0})
        github.com/kubeovn/kube-ovn/pkg/controller/controller.go:780 +0x1df
github.com/kubeovn/kube-ovn/pkg/controller.Run({0x560e84c7b858, 0xc0005222d0}, 0xc00041c308)
        github.com/kubeovn/kube-ovn/pkg/controller/controller.go:733 +0xb845
github.com/kubeovn/kube-ovn/cmd/controller.CmdMain.func3({0x560e84c7b858?, 0xc0005222d0?})
        github.com/kubeovn/kube-ovn/cmd/controller/controller.go:117 +0x25
created by k8s.io/client-go/tools/leaderelection.(*LeaderElector).Run in goroutine 1
        k8s.io/client-go@v12.0.0+incompatible/tools/leaderelection/leaderelection.go:213 +0xe6

I was hoping to just not have any gateway and just have the endpoints on the underlay connect only to eachother.   This subnet has no need for any connectivity outside of itself.  I do notice the subnet keeps giving it the default value of the first available address.  By using under2overlay interconnect true.... will that attempt to route over one of the overlays?

You can create a VPC and set the subnet's .spec.vpc to the VPC name. Set .spec.u2oInterconnection to true at the same time.

This seems like a lot to go through to just have no gateway for an underlay.  I guess we can just set the ignoreGatewayCheck just have it be ignored.


update only specific fields on $meteor.object?

Is there no way of updating only the fields that has been changed with $meteor.object while autobind feature is true?
It sends the entire data and I am not able to validate few fields.

Take a look at #349

Fixed in<EMAIL_ADDRESS>


Actual behaviour
[compiler.karma-typescript]: Compiled 40 files in 2160 ms.
[preprocessor.coverage]: Processing *****
[preprocessor.coverage]: Processing *****
[karma-server]: UncaughtException
[launcher]: Disconnecting all browsers
Environment Details
Karma version 4.2.0
macOS 10.14.4
Steps to reproduce the behaviour

karma start --browsers Firefox

How can I get more details on this exception ?
Thanks

Try —logLevel=DEBUG
If that fails
const reportError = (error) => {
      process.emit('infrastructure_error', error)
      disconnectBrowsers(1)
      this.log.error(error);  // Add this line in lib/server.js
    }

this log should really be in production ;)

Hi @johnjbarton, I'm also getting an "UncaughtException" error with no additional information. logLevel debug did not provide more information. I had to add the log call in lib/server.js as you have described. Is there any way to have it log the error by default, without manually editing server.js?

Is there any way to have it log the error by default, without manually editing server.js?

Sure, send a Pull Request.


ENG-5142: Fixes broken links

ENG-5142: Fixes broken links

I changed the upstream docs to use underscores in the assembly URLs to match the downstream docs, per a previous team discussion. See https://github.com/opendatahub-io/opendatahub-documentation/pull/243. This was after the last release so the updated links using underscores is not live yet.

LGTM


chore: Retire MySQL and PostgreSQL services

Both services are on the retirement path from Azure and should no longer be used to create new instances. They will be replaced by flexible server offerings.
https://learn.microsoft.com/en-gb/azure/postgresql/single-server/whats-happening-to-postgresql-single-server
https://learn.microsoft.com/en-gb/azure/mysql/single-server/whats-happening-to-mysql-single-server
#187634075
Checklist:

[x] Have you added Release Notes in the docs repositories?
[ ] Have you followed the Conventional Commits specification?

@FelisiaM the integration tests are failing due to changes in the description property, other than that, all good. Thank you very much


ESLint does not do anything

Hello all,
I am trying to setup my VSCode ES Lint but it does not seem to work properly. I have to specify where my lint configuration is because is not in the root, and because of that it does not find "eslint-plugin-react". To fix this late error I specify the "nodePath" option but still it does not find eslint-plugin-react!
This is my workspace configuration:
{
    "eslint.options": {
        "configFile": "C:/blablabla/proyect/client/config/.eslintrc.json"
    },
    "eslint.autoFixOnSave": true,
    "eslint.nodePath": "C:/blablabla/proyect/client/node_modules"
}

Thank you in advance!

@javierguzman can you please provide me with a GitHub repository I can clone that demos what you are experiencing.

Hello @dbaeumer !!
Thank you for your response and sorry for the delay, I have been away this weekend. I have created this simple example, I hope is good enough for you:
https://github.com/javierguzman/eslint-plugin-test
You will have to modify the settings.json as it contains absolutes paths but the project represents the folder structure I am trying to make work.

This also fails for me in the terminal:
eslint-plugin-test\client-example [master ≡]> .\node_modules\.bin\eslint --config .\config\.eslintrc.json .\src\index.js

Oops! Something went wrong! :(

ESLint: 6.6.0.

ESLint couldn't find the plugin "eslint-plugin-jsx-a11y".

(The package "eslint-plugin-jsx-a11y" was not found when loaded as a Node module from the directory "C:\Users\dirkb\Projects\mseng\VSCode\Playgrounds\bugs\eslint\eslint-plugin-test\client-example".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

    npm install eslint-plugin-jsx-a11y@latest --save-dev

The plugin "eslint-plugin-jsx-a11y" was referenced from the config file in "--config » eslint-config-airbnb » C:\Users\dirkb\Projects\mseng\VSCode\Playgrounds\bugs\eslint\eslint-plugin-test\client-example\node_modules\eslint-config-airbnb\rules\react-a11y.js".

If you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.

I recommend to get this working in the terminal first. If you then still see problems in the VS Code extension please ping again.

Hello again @dbaeumer,
Sorry I missed a couple of dependencies. I have updated the package.json to reflect this.
I run now ok in the terminal but when using the plugin it says "No ESLint configuration (e.g .eslintrc) found for file: " blabla.

When you run in the terminal do you run the command from exactly the same folder on which you open VS Code.

Hello!
At the end I have managed to solve the problem. The solution was to use VSCode workspaces. I guess the problem was I had the parent folder open on VS Code rather than the client/server folder only, so with workspaces I can have both folders open at the same time with individual settings set and it seems to work in this way.
Thank you for your help Dirk!


Implements a performance tracker

A start of a fix for #42. Seemed like a fun challenge to take a stab at
Added a --debug CLI flag to enable debug mode, it'll pass around an IPerformanceStack (which is meant to be similar to a Stack (eg; a Stacktrace)).
The interface mainly adds two methods
// Create a new nested stack
IPerformanceStack CreateStack(string name);

// Add a new measured step in the current stack
void Step(string name);

When --debug is not enabled, it'll pass around an empty object which just calls void methods, so no accidental overhead performing normally:
static readonly IPerformanceStack DEFAULT = new DefaultPerformanceStack();

private sealed class DefaultPerformanceStack : IPerformanceStack {
    /// <inheritdoc />
    public IPerformanceStack CreateStack(string name)
        => this;

    /// <inheritdoc />
    public void Step(string name) {}

    public void Log() {}

    void IDisposable.Dispose() {}
}

The new logger output with debug on is:
Extraction time: 2,052ms
Addresses extracted: 16
Read lines total: 285,130
Read lines rate: 138,952/s

 - Read file x6 | Took 2,049ms (at ~342ms per)
   - Read line x356,412 | Took 2,018ms (at ~6μs per)
   - Run regex x356,411 | Took 1,117ms (at ~3μs per)
     - Check length    x308,890 | Took 337ms (at ~1μs per)
     - Capture string  x308,890 | Took 73ms (at ~0μs per)
     - Filter invalids x308,890 | Took 127ms (at ~0μs per)
     - Validate domain x285,130 | Took 90ms (at ~0μs per)

Read file and Run regex have nested stacks under them (Just some nice formatting). This way the amount of time spent on each action can be seen, and the average time for each iteration (default: microseconds).

Also fixed an issue where --help was actually ---help and --version was actually ---version

@troyhunt Merge conflict resolved if you want to merge
You can do some indepth testing on what parts of the code are slowest since you can throw some data leaks at it


Add bulma and fa-icon support

Hey @olivierdrot thanks so much for taking the time that you did to make a PR to Vue-Flash.  I've made some changes to your PR which can be found here.  Take some time to look it over and let me know what you think.
What's included:

Support for completely custom classes through a prop called types which is an object of all alert/notification classes that might be used.  This removes the limit on what classes can be used so you could theoretically have an infinite number of class names assigned to different alert/notification types.
Updated documentation
Icon support.  This functionality behaves the same way that classes using a prop called icons, with an additional prop called displayIcons to determine whether icons are turned on

Hey @andyleach, this way better than the quick and dirty code I pushed :)

Glad you like it.  I will be merging it in later today.


docs: Update CONTRIBUTING.md

Description
Only git tag is needed.

Test

To test this pull request, you can run the following commands:

Additional Information
Tradeoff

Potential improvement

Thanks!