davrods with self-signed cert: 500 Internal Server Error

Not sure what the problem is yet.
davrods_1                | [Mon Jul 25 14:30:38.485895 2022] [davrods:error] [pid 20] [client <IP_ADDRESS>:58076] sslStart for PAM failed: -2103000 = SSL_HANDSHAKE_ERROR, referer: https://sodar.local/samplesheets/adff7193-d49e-454a-96e0-555cf38bb4ac

I will need to try to reproduce this error. Previously I've successfully set up Davrods with a self-signed cert. First guess would be some problem with the iRODS client configuration.

@messersc, can you provide the output written into the iRODS rodsLog file when this happens? That might provide some extra hints.

Hi Mikko, I think I solved the problem in the meantime, but I do not recall how.
I will post more info if I see it again.
Closing this for the moment.
Clemens


ModuleNotFoundError: No module named 'dataclasses' error with  python3.6

dataclass are used in the source code. As a result, in the python3.6 environment, we got the above error unless install dataclasses package separately.

Do you mean this line doesn't work? CI setting includes tests in python 3.6 and pass it.

Sorry, It's my mistake. I built and installed the package in python 3.8 environment and used it in 3.6 environment.
Thank you!


New package ECS: 0.0.1

Registering: ECS
Repository: https://github.com/richardanaya/ECS.jl
Version: v0.0.1
Commit: 9b74c7f2bb25a3093f4df0ffbf10b28c6a374c7d
Proposed by: @richardanaya
Reviewed by: @richardanaya
Reference: https://github.com/richardanaya/ECS.jl/commit/9b74c7f2bb25a3093f4df0ffbf10b28c6a374c7d#commitcomment-33271954

Have you seen https://julialang.github.io/Pkg.jl/v1/creating-packages/#Package-naming-guidelines-1 ? Just a suggestion, but maybe EntityComponentSystem would be a better and more descriptive name?

@fredrikekre I'll expand name

Please delete this PR

@fredrikekre  here's new package https://github.com/JuliaRegistries/General/pull/239


set delete-policy=abandon in deployment manager cleanup

referenced to: https://github.com/kubeflow/kubeflow/issues/1092
its not documented

This change is

/assign

/close
I'm going to close this PR, as it's obsolete given the comments on the PR and the related issue. If you want to re-open the PR and add the qualifications mentioned in the review comments, that's fine too. :)
Many thanks for the PR!


[Bug]: File name can not see when upload file to create catalog

What happened?

Can not see the name of  core-site and hdfs-site, but they have upload successed
Affects Versions
0.4.0
What engines are you seeing the problem on?
AMS
How to reproduce
No response
Relevant log output
No response
Anything else
No response
Code of Conduct

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

cc @huiyuanz

Didn't reproduce well, try to see if it can be reproduced in the latest version

OK， Fixed in new version


Trinkets don't cast

the line
{'#trinket1','UI(TRNKT) == 3'},
doesn't use the trinket, UI(TRNKT) is a dropdown where 3 means on cooldown.
np doesn't give any error, it's the newest version (also protected) and firehack unlocker

tried with {'#trinket1'} and {'#trinket2'} in the main combat rotation, same result

getting the following error now, only with firehack though
https://pastebin.com/ucayjeur

its an firehack-issue, so can be deleted


fix: macos package signing build

@dnovacik @IshShogun
Please address

Please remove the commented out contents in forge config if unnecessary
Please add Sepolia network and a visual cue to that informs the user to the network currently considered by the smartrank agent
Please remove holesky network


Revertch to json

Revert Clickhouse feed to JSON format and update configuration context for 22.06 platform release.

Sorry with the Title, I meant Revert To JSON

Is there a file missing @mbdebian ? The changes are just updating version numbers and don't have anything to do with JSON as far as I can see?

Is there a file missing @mbdebian ? The changes are just updating version numbers and don't have anything to do with JSON as far as I can see?

It could be because it's kind of a roll back from the changes on Clickhouse feed that were already merged

Is there a file missing @mbdebian ? The changes are just updating version numbers and don't have anything to do with JSON as far as I can see?

I think it is safe to approve, and, if the changes to the Clickhouse script are not back to JSON, I can quickly fix that


EOFError

Describe the bug
I have been using auto3d to generate 3d structures from a sdf file containing 134 structures.
	There are 134 conformers in the input file /media/niper/data1/Sawan_PhD_2024/success.sdf.
	All conformers and IDs are valid.
Suggestions for choosing isomer_engine and optimizing_engine:
	Isomer engine options: RDKit and Omega.
	Optimizing engine options: AIMNET or your own NNP.
The available memory is 16 GB.
The task will be divided into 1 jobs.
Job1, number of inputs: 134

Isomer generation for job1
100%|█████████████████████████████████████████| 134/134 [00:06<00:00, 22.30it/s]

Optimizing on job1
Preparing for parallel optimizing... (Max optimization steps: 5000)
Total 3D conformers: 410
 10%|███▉                                    | 499/5000 [05:49<22:53,  3.28it/s]Total 3D structures: 410  Converged: 284   Dropped(Oscillating): 0    Active: 126
 20%|███████▉                                | 999/5000 [07:14<08:53,  7.50it/s]Total 3D structures: 410  Converged: 388   Dropped(Oscillating): 0    Active: 22
 30%|███████████▋                           | 1499/5000 [08:20<07:41,  7.59it/s]Total 3D structures: 410  Converged: 401   Dropped(Oscillating): 3    Active: 6
 40%|███████████████▌                       | 1999/5000 [09:25<06:23,  7.83it/s]Total 3D structures: 410  Converged: 404   Dropped(Oscillating): 5    Active: 1
 45%|█████████████████▍                     | 2235/5000 [09:55<12:16,  3.75it/s]
Optimization finished at step 2236:   Total 3D structures: 410  Converged: 404   Dropped(Oscillating): 6    Active: 0
Begin to select structures that satisfy the requirements...
Energy unit: Hartree if implicit.
Program running time: 13 minute(s)
Traceback (most recent call last):
  File "/home/niper/miniforge3/envs/auto3d/bin/auto3d", line 8, in <module>
    sys.exit(cli())
             ~~~^^
  File "/home/niper/miniforge3/envs/auto3d/lib/python3.13/site-packages/Auto3D/auto3Dcli.py", line 166, in cli
    out = main(arguments)
  File "/home/niper/miniforge3/envs/auto3d/lib/python3.13/site-packages/Auto3D/auto3D.py", line 450, in main
    path_output = decode_ids(path_combined, mapping)
  File "/home/niper/miniforge3/envs/auto3d/lib/python3.13/site-packages/Auto3D/utils_file.py", line 312, in decode_ids
    new_name = mapping[int(name)]
               ~~~~~~~^^^^^^^^^^^
KeyError: 12
Process Process-3:
Traceback (most recent call last):
  File "/home/niper/miniforge3/envs/auto3d/lib/python3.13/multiprocessing/process.py", line 313, in _bootstrap
    self.run()
    ~~~~~~~~^^
  File "/home/niper/miniforge3/envs/auto3d/lib/python3.13/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/niper/miniforge3/envs/auto3d/lib/python3.13/site-packages/Auto3D/auto3D.py", line 259, in logger_process
    message = queue.get()
  File "<string>", line 2, in get
  File "/home/niper/miniforge3/envs/auto3d/lib/python3.13/multiprocessing/managers.py", line 824, in _callmethod
    kind, result = conn.recv()
                   ~~~~~~~~~^^
  File "/home/niper/miniforge3/envs/auto3d/lib/python3.13/multiprocessing/connection.py", line 250, in recv
    buf = self._recv_bytes()
  File "/home/niper/miniforge3/envs/auto3d/lib/python3.13/multiprocessing/connection.py", line 430, in _recv_bytes
    buf = self._recv(4)
  File "/home/niper/miniforge3/envs/auto3d/lib/python3.13/multiprocessing/connection.py", line 399, in _recv
    raise EOFError
EOFError

System information:

Operating System: Ubuntu 22.04.5 LTS
Auto3D version: 2.3.1
Python version: 3.13
RDKit version: 2024.9.1
PyTorch version: torch-2.4.1.post302

test with small subset of input structures to ensure if the sdf inputs have correct ids, geometries


[FEATURE REQUEST] Mastodon/Fediverse Support

Describe the problem
Currently the future of squawker is uncertain as Twitter could find a way of blocking squawker from working. So I propose we look at implementing mastodon/fediverse support into squawker.
Describe the solution
I would like to see this supported alongside twitter

An issue was created on fritter awhile ago though it seems unlikely that fritter will recieve further updates: https://github.com/jonjomckay/fritter/issues/569

Asking too much, but Telegram would be cool too.

Asking too much, but Telegram would be cool too.

How am I asking too much? It was planned for fritter before Twitter/X started their war on developers (#569)
Your being a bit hypocritical by also asking for Telegram which is likely harder to implement

Very sorry for the poor wording, but I meant that I might be asking too much, not that you were.

Very sorry for the poor wording, but I meant that I might be asking too much, not that you were.

Oh ok, disregard the comment below it then ☺


Implement Support for AIM Events

Description
For AI Monitoring, we want to allow customers to be able to sample AI events separately from existing custom events. To do this, the agent needs to be able to separate out the AI/LLM events from other custom events as well as provide configuration to tune settings such as the pool size for these events.
Acceptance Criteria
AI Monitoring occurs using a new AI-specific event.
Design Consideration/Limitations
Allows customers to fine-tune the monitoring pool size without impacting other agent features.
Dependencies
N/A
Additional context
CDD

This is not a requirement for GA. The exact approach is still under development.


HBASE-26581: Add metrics around failed replication edits

Create an explicit metric around source.failedBatches and sink.failedBatches, incremented whenever an exception is encountered

@bbeaudreault before I work on the source version of these metrics - I had a couple questions (left in comments on the PR).
Also I went looking for tests for these and all I could find was tests in TestReplicationSink which doesnt test the metrics themselves. Though I did run these successfully.

lgtm. was there something else you were going to add to this PR?

I was going to add similar metrics for source  source.failedBatches , actually finishing that right this moment :)

Whoops I see you just fixed the history. Thanks! Though I think they don't usually include the colon after the jira id. I'm not sure if that matters, but probably best to mirror

Master build failed due to my change in the Exception handling (I forgot to update the throws signature)
Exception is caught when Exception is not thrown in
org.apache.hadoop.hbase.replication.regionserver.ReplicationSink.replicateEntries(List, CellScanner, String, String, String)
 At ReplicationSink.java:is not thrown in
org.apache.hadoop.hbase.replication.regionserver.ReplicationSink.replicateEntries(List, CellScanner, String, String, String)
At ReplicationSink.java:[line 282]

@bbeaudreault my mvn verify, the blazar build, and running the replicationSinkTests did not catch this. Is there another pre-merge to master step I could have done or this is kind of part of the review process?

Going to include my findings for spotbugs here so we can tune it for our internal builds.
Running mvn clean spotbugs:spotbugs results in a successful build (im sure the errors might be reported somewhere but kinda a pain to look through all the modules)
Running mvn clean spotbugs:check results in a failure with 3 bugs being found, one of which is found in the hbase repo build. Need to look into why they suppress 2/3 of the errors.
[INFO] BugInstance size is 3
[INFO] Error size is 0
[INFO] Total bugs: 3
[ERROR] Medium: Nullcheck of connection at line 276 of value previously dereferenced in org.apache.hadoop.hbase.master.HMasterCommandLine.stopMaster() [org.apache.hadoop.hbase.master.HMasterCommandLine, org.apache.hadoop.hbase.master.HMasterCommandLine] At HMasterCommandLine.java:[line 276]Redundant null check at HMasterCommandLine.java:[line 282] RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE
[ERROR] Medium: Write to static field org.apache.hadoop.hbase.regionserver.throttle.StoreHotnessProtector.loggedDisableMessage from instance method org.apache.hadoop.hbase.regionserver.throttle.StoreHotnessProtector.init(Configuration) [org.apache.hadoop.hbase.regionserver.throttle.StoreHotnessProtector] At StoreHotnessProtector.java:[line 101] ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD
[ERROR] Medium: Exception is caught when Exception is not thrown in org.apache.hadoop.hbase.replication.regionserver.ReplicationSink.replicateEntries(List, CellScanner, String, String, String) [org.apache.hadoop.hbase.replication.regionserver.ReplicationSink] At ReplicationSink.java:[line 277] REC_CATCH_EXCEPTION
[INFO]

Ohh maybe its that my lines did not introduce the other two bugs?

Ah yea I'm guessing there's some command line option which makes it only fail for modified files?

Hmm fixing the one issue in my changes resulted in a clean spotbugs run... I opted for tracking the failure metrics where the runtime exceptions are thrown as opposed to modifying the exception contract in the call hierarchy of this method.

Okay after much going back and forth and going on my own to Mock the flow i needed for the failedSource metric, I have a working test. But I guess im not 100% sure its helpful and heres my reasoning.
I think what we wanted was an integration test in order to ensure this metric would be called on a failure, but this test along with the others that already exist feel very unit testy since so much is mocked. In fact for this test I dont even need a running hbase cluster. Is this the right approach?
Also if this testing looks good and I confirm another clean findbugs/test run locally I'll clean up the git history.
cc: @bbeaudreault

Test Results
[coming soon]

SpotBugs Results:
➜  2022-04-21 17:59:04Z  hbase git:(briaugenreich_HBASE-26581_hubspot-2) mvn clean spotbugs:check
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
.
.
.
[INFO] Reactor Summary for Apache HBase 2.4.6:
[INFO]
[INFO] Apache HBase ....................................... SUCCESS [  1.290 s]
[INFO] Apache HBase - Checkstyle .......................... SUCCESS [  0.010 s]
[INFO] Apache HBase - Annotations ......................... SUCCESS [  0.014 s]
[INFO] Apache HBase - Build Configuration ................. SUCCESS [  0.021 s]
[INFO] Apache HBase - Logging ............................. SUCCESS [  0.022 s]
[INFO] Apache HBase - Shaded Protocol ..................... SUCCESS [  0.022 s]
[INFO] Apache HBase - Common .............................. SUCCESS [  0.219 s]
[INFO] Apache HBase - Metrics API ......................... SUCCESS [  0.024 s]
[INFO] Apache HBase - Hadoop Compatibility ................ SUCCESS [  0.020 s]
[INFO] Apache HBase - Metrics Implementation .............. SUCCESS [  0.030 s]
[INFO] Apache HBase - Hadoop Two Compatibility ............ SUCCESS [  0.078 s]
[INFO] Apache HBase - Protocol ............................ SUCCESS [  0.008 s]
[INFO] Apache HBase - Client .............................. SUCCESS [  0.044 s]
[INFO] Apache HBase - Zookeeper ........................... SUCCESS [  0.044 s]
[INFO] Apache HBase - Replication ......................... SUCCESS [  0.045 s]
[INFO] Apache HBase - Resource Bundle ..................... SUCCESS [  0.021 s]
[INFO] Apache HBase - HTTP ................................ SUCCESS [  0.245 s]
[INFO] Apache HBase - Asynchronous FileSystem ............. SUCCESS [  0.066 s]
[INFO] Apache HBase - Procedure ........................... SUCCESS [  0.017 s]
[INFO] Apache HBase - Server .............................. SUCCESS [  0.133 s]
[INFO] Apache HBase - MapReduce ........................... SUCCESS [  0.112 s]
[INFO] Apache HBase - Testing Util ........................ SUCCESS [  0.101 s]
[INFO] Apache HBase - Thrift .............................. SUCCESS [  0.116 s]
[INFO] Apache HBase - RSGroup ............................. SUCCESS [  0.123 s]
[INFO] Apache HBase - Shell ............................... SUCCESS [  0.148 s]
[INFO] Apache HBase - Coprocessor Endpoint ................ SUCCESS [  0.113 s]
[INFO] Apache HBase - Integration Tests ................... SUCCESS [  0.232 s]
[INFO] Apache HBase - Rest ................................ SUCCESS [  0.125 s]
[INFO] Apache HBase - Examples ............................ SUCCESS [  0.138 s]
[INFO] Apache HBase - Shaded .............................. SUCCESS [  0.007 s]
[INFO] Apache HBase - Shaded - Client (with Hadoop bundled) SUCCESS [  0.024 s]
[INFO] Apache HBase - Shaded - Client ..................... SUCCESS [  0.027 s]
[INFO] Apache HBase - Shaded - MapReduce .................. SUCCESS [  0.064 s]
[INFO] Apache HBase - External Block Cache ................ SUCCESS [  0.044 s]
[INFO] Apache HBase - HBTop ............................... SUCCESS [  0.030 s]
[INFO] Apache HBase - Assembly ............................ SUCCESS [  0.262 s]
[INFO] Apache HBase - Shaded - Testing Util ............... SUCCESS [  0.117 s]
[INFO] Apache HBase - Shaded - Testing Util Tester ........ SUCCESS [  0.112 s]
[INFO] Apache HBase Shaded Packaging Invariants ........... SUCCESS [  0.071 s]
[INFO] Apache HBase Shaded Packaging Invariants (with Hadoop bundled) SUCCESS [  0.025 s]
[INFO] Apache HBase - Archetypes .......................... SUCCESS [  0.006 s]
[INFO] Apache HBase - Exemplar for hbase-client archetype . SUCCESS [  0.094 s]
[INFO] Apache HBase - Exemplar for hbase-shaded-client archetype SUCCESS [  0.091 s]
[INFO] Apache HBase - Archetype builder ................... SUCCESS [  0.005 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.748 s
[INFO] Finished at: 2022-04-21T14:19:49-04:00
[INFO] ------------------------------------------------------------------------
➜  2022-04-21 17:59:04Z  hbase git:(briaugenreich_HBASE-26581_hubspot-2)

Looking into why these changes result in a build error (unspecified version in the pom) on my master branch..

Shall I backport these changes from branch-2 or merge this pr?

I merged squashed/merged it, wanted to add the "HubSpot Backport:" prefix which who knows might be useless but I'm hoping will help us reconcile conflicts during future minor version upgrades.


Updated with info about License that is needed

Added note about License

@aavdberg : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Not adding licensing info to every single article. This is covered in the overview topic already. https://docs.microsoft.com/azure/active-directory/identity-protection/overview-identity-protection#license-requirements

#please-close


feat: add stack github-action-auto-rebase command

Depends-On: #526

This pull request is part of a stack:

refactor: check API response globally (#511)
chore: use a more reliable solution to get changes (#512)
feat: allow to pass author (#520)
feat: add stack checkout (#523)
bla (#526)
feat: add stack github-action-auto-rebase command (#527) 👈


repo content issue

I am trying to add
https://easonwumac.github.io/repo to Cydia for the NGXPlay repository.  When I try to enter it, I get a message telling me the repo does not exist or it’s a legacy repo.  I have tried other repos to find NGXPlay, but no luck.  Is there any help out there.?


Hidden DiagnosticSeverity?

Roslyn has a hidden diagnostic severity that's used to fade out text when they can be optional removed.   Things like unused usings, or when this. is not required.
It would be great to have a way to say a diagnostic is hidden for LSP servers.

FWIW, Hidden doesn't necessarily mean that a diagnostic is faded. The fading is handled in another way. Instead, a hidden diagnostic is actually hidden from the user but is used to help drive the IDE experience. For example, Roslyn creates a hidden diagnostic for "Remove Unnecessary Usings" over the entire block of using directives at the top of the file so that the user can invoke a code fix without having to move the caret into faded using directive.

I stand corrected! 👍

This is the idea of the hint severity which for example we in VS Code don't render in the UI as squiggles. Would that work for you.

@dbaemer, IIRC, that still causes the diagnostic to appear in the VS Code Problems list. When we used "hint" and that happened, we received a lot of complaints.

@DustinCampbell that is correct. Reason was that hint are often inserted for code actions and people want to trigger them from the problems view.
So when exactly would you put a hidden severity on something. They aren't trustable anyways so when the server executes a specific functions diagnostics must be recomputed.

Hidden diagnostics are used within Roslyn to improve the user experience by indicating spans where a code action should appear but the diagnostic squiggle appears elsewhere. Here are a couple of examples where we've used hidden diagnostics:

Unnecessary using directives. There is a diagnostic created for every unnecessary using directive. This because overwhelming for users when it appears in the Problems list. So, Roslyn produces a hidden diagnostic. In Visual Studio, Roslyn will alter the presentation of the using directive so that it's faded in the editor. In addition, Roslyn produces a hidden diagnostic for the entire list of using directives, so that the user doesn't have to place their caret directly within an unused using directive to invoke the code action. They just have to get the caret into the block of using directives.

Implement Interface. This is a case where Roslyn produces an error diagnostic with a squiggle. However, that might not be the natural place for the user to invoke a code action. Consider the following code:

interface IB
{
    void M1();
}

interface IC
{
    void M2();
}

class A : IB, IC
{
}

In the code above, we want the user to be able to use a code action to implement an interface from the name of class A and the references to IB and IC. However, the error diagnostics only appear on IB and IC.

@jrieken have you heard of such a request in your land as well ?
@DustinCampbell  So you basically use them as markers for code action trigger (showing for example the light bulb). What kind of diagnostic severities does Roslyn support.

Roslyn supports the following severities with the given behavior in Visual Studio.

Error - Red squiggle in the editor and appears in the Error List.
Warning - Green squiggle in the editor and appears in the Error List.
Suggestion - Short underline of gray dots in the editor and does not appear in the Error List. These are often used for code style suggestions.
Info - No squiggle in the editor and appears in the Error List.
Hidden - No squiggle in the editor and does not appear in the Error List

In addition, Roslyn can provide additional presentation, such as fading code, which is orthogonal to the severities above.

@jrieken have you heard of such a request in your land as well ?

Kind of... I know that Roslyn uses that trick and it would work for us because we forward diagnostics to the code action provider. Tho, it does feel a little weird and complicated for just sending information from one part of the system to another...

@jrieken : I'm not sure I understand that last bit. What is the "open approach"?
Note that, in Roslyn, a CodeFixProvider is registered with the particular diagnostic IDs that it responds to.

FWIW, I agree that hidden diagnostics are weird in general. Really, their trigger points for particular code actions. IMO, this should have been handled differently in Roslyn.

Note that, in Roslyn, a CodeFixProvider is registered with the particular diagnostic IDs that it responds to.

In VS Code you register your project for a language but not more fine grained. They call have access to the same set of diagnostics. Basically those that intersect the range being asked for...

Yup! it's not that really that big of a deal, but "hidden" diagnostics are even weirder in VS Code. It's like seeing private implementation bits. Is there some other mechanism we would map to in LSP to achieve a similar user experience to what I described above?

Two things:

now that I understand this better I think we should not show Hint in the problems list (@jrieken @sandy081). For me it would be unclear what the difference between a hint and and info is
for the C# case I would simply not use diagnostics to control code actions. IMO they can't be trusted anyways (since they might be outdated due to edits (even in other files) or the editor not adjusting them as expected). So if the server is asked for code actions at a particular location the AST has to be reconciled and the actions need to be computed on the reconciled state. Would this be a problem for OmniSharp ?

for the C# case I would simply not use diagnostics to control code actions. IMO they can't be trusted anyways (since they might be outdated due to edits (even in other files) or the editor not adjusting them as expected). So if the server is asked for code actions at a particular location the AST has to be reconciled and the actions need to be computed on the reconciled state. Would this be a problem for OmniSharp ?

Perhaps I'm misunderstanding, but Roslyn code actions are driven off of diagnostics, so they couldn't be completely disconnected. In VS, I believe we force diagnostics to recompute when Roslyn is queried for code actions. So, everything is up-to-date before we even return anything. Of course, the same arguments about diagnostic not being trustworthy applies to code actions as well doesn't it? Just because a code action has been returned, there's no guarantee that running it is valid.

That seems reasonable. You shouldn't trust diagnostics :smile: and having a validation step before a code action is applied is the right thing IMO.
We do something similar in Roslyn. Because we have an immutable snapshot model for what is effectively the entire workspace, we can version the contents of the entire workspace, not just each document. So, when a code action is applied, Roslyn checks to see if the workspace has the same version that the code action was created for and fails if the version has changed.


Revert "Add Stale bot configuration per docs"

Reverts urfave/cli#1352
🤦🏼 #1300

Also uninstalled the "Stale" GitHub App 👍🏼


AWS Release v13.0.0 with Kubernetes v1.18

Kubernetes v1.18.x
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-XXX.md
PR: https://github.com/giantswarm/releases/pull/489 .
Provide a new release with the kubernetes version v1.18.x

[x] Check with the teams about wip changes within k8scloudconfig and the provider-specific operators. Decide with version folder to use.
[x] Retag new image in retagger
[x] Check upstream changelogs.

[x] Check urgent upgrade notices.
[x] Check deprecation notices.
[x] Check component upgrades.

[x] Calico
[x] ETCD
[x] Container Linux

[x] Create a PR in k8scloudconfig with the new kubernetes version

[x] Update k8s version in the different template files
[x] Use k8s version for k8s-addons (e.g. https://github.com/giantswarm/k8scloudconfig/blob/4695b7d6eb35eae234d0ce0c0c09f4b412525a68/v_4_7_0/files/conf/k8s-addons#L5)

[x] Update cluster-autoscaler
[x] Vendor k8scloudconfig in the provider-specific operators
[x] Create a wip release (major version change if it is a minor kubernetes upgrade)
[x] Do this for each provider
[x] Check Prometheus rules for deprecated metrics and fix them if necessary

Check migration recommendations
Check migration recommendations from kubernetes and decide what we need to document for the customer and what we should migrate automatically for them

[x] Do we need to change our own resources within the tenant clusters?
[x] What do we need to communicate to our customers?
[x] Anything else that would be better automated for the upgrade?

Run e2e and conformance tests

[x] Start a new cluster and run conformance tests against it
[x] Start a new cluster and run e2e tests against it
[x] Do this for each provider
[x] For AWS also do this (and below checking of components) in China

Check Core Components

[x] Check core components for updates and include them in cluster-operator

[x] Cert-exporter
[x] Chart-operator
[x] Cluster-autoscaler
[x] CoreDNS
[x] Kube-state-metrics
[x] Net-exporter
[x] Nginx ingress controller
[x] Node-exporter

[x] All helm releases in the giantswarm namespace should be in status deployed
[x] Core components are runnning without errors

[x] Cert-exporter
[x] Chart-operator
[x] Cluster-autoscaler
[x] CoreDNS
[x] Kube-state-metrics
[x] Net-exporter
[x] Nginx ingress controller
[x] Node-exporter

[x] Cluster-operator is running without errors
[x] Cluster-operator is able to create chart-configs in the tenant
[x] All pods in the giantswarm and kube-system namespaces should be running without errors in the logs

Test migration (both cluster functionality itself and workloads)

[x] Start a cluster with an older version and upgrade the cluster to the new release
[x] Upgrade a cluster that is not critical but has some more real workloads (eg giantswarm website, dev cluster of customer)
[x] Do this for each provider

Write summary for the release and update docs

[x] Write some release notes
[x] Check if our docs need to be updated
[x] Announce the release internally (SEs are important here)
[x] Announce the release to the customers

https://github.com/cncf/k8s-conformance/pull/1216

We should just this template to fit AWS as there are lots of steps we don't really do.

The AWS release has been announced this week, can we close the ticket and move it to Released?

Yes, @alex-dabija  we should close and move to released

Yes, the release is out and the issue can be closed.


fix staticfiles

when the following is set;
"proxy": {
        "command": "python app.py collectstatic --no-color --noinput; python app.py runserver <IP_ADDRESS>:$PORT",
        "timeout": 25,
        "listen_timeout": 25
    },

we get the following error:
11:27:55am ERRO Traceback (most recent call last):
  File "app.py", line 26, in <module>
    execute_from_command_line(sys.argv)
  File "/var/task/.pypath/django/core/management/__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "/var/task/.pypath/django/core/management/__init__.py", line 356, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/var/task/.pypath/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/var/task/.pypath/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/var/task/.pypath/django/contrib/staticfiles/management/commands/collectstatic.py", line 199, in handle
    collected = self.collect()
  File "/var/task/.pypath/django/contrib/staticfiles/management/commands/collectstatic.py", line 124, in collect
    handler(path, prefixed_path, storage)
  File "/var/task/.pypath/django/contrib/staticfiles/management/commands/collectstatic.py", line 354, in copy_file
    if not self.delete_file(path, prefixed_path, source_storage):
  File "/var/task/.pypath/django/contrib/staticfiles/management/commands/collectstatic.py", line 304, in delete_file
    self.storage.delete(prefixed_path)
  File "/var/task/.pypath/django/core/files/storage.py", line 386, in delete
    os.remove(name)
    stage: staging
    version: 26

  11:27:55am ERRO OSError: [Errno 30] Read-only file system: '/var/task/static/admin/img/search.svg'

this is coz, the staticfiles mgmnt command is trying to write/delete files in/from '/var/task/static/ which is a readonly filesystem.
We need to figure out which paths in lambda are writeable and set staticfiles to go there.

seems like you can write to /tmp which has a limit of 512 MB
https://docs.aws.amazon.com/lambda/latest/dg/limits.html

Instead of compiling static files on every single request; "command": "python app.py collectstatic --no-color --noinput; python app.py runserver <IP_ADDRESS>:$PORT"
we would rather not gitignore static files and they will be shipped to lambda as part of the app.

we'll ignore staticfile handling for now.


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 01da158, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 5512 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in c1a2cf5.


does not work with root_block_device type list

I have an issue with create custom size for root block device for EC2 instance

root_block_device      = "${var.root_block_device}"

while root_block_device should be type map

root_block_device {
volume_type           = "gp2"
volume_size           = 100
delete_on_termination = true
}

maybe i am wrong because we might have another way to do it with current module code which i could not figure out.
I am happy with pushing a PR for fixing it.
main.tf

root_block_device {
volume_type           = "${var.root_block_device.type}"
volume_size           = "${var.root_block_device.size}"
delete_on_termination = "${var.root_block_device.delete_on_termination}"
}

my terraform version
tf --version
Terraform v0.10.6

root_block_device is a list, so you should be able to pass values like this:
module "ec2" {

  root_block_device = [{
volume_type = "gp2"
volume_size = 100
delete_on_termination = true
}]

# the rest is omitted...
}

If this does not work, please submit a PR which fixes it.

it works like charm with your guidance.
Could be great if we can put it in the example
Thanks for the quick support

@antonbabenko THANKS FOR THIS!


Jasmine / SpyOn Issue

I can't get jasmine spies to work in a store that is subscribed to an action.  Here's some sample code:
actions = Reflux.createActions ["actionOne"]
storeCreator = ->
  Reflux.createStore
    init: -> @listenTo(actions.actionOne, @onActionOne)
    onActionOne: -> console.log "I WAS CALLED"

describe "spyOn test", ->
  it "works when called directly", ->                           # test case 1 - works
    store = storeCreator()
    spyOn store, "onActionOne"
    store.onActionOne()
    expect(store.onActionOne).toHaveBeenCalled()
  it "fails when invoked via an action", ->                     # test case 2 - fails
    store = storeCreator()
    spyOn store, "onActionOne"
    actions.actionOne.trigger()  # synchronous call...
    expect(store.onActionOne).toHaveBeenCalled()

In both tests, I know that onActionOne has been called because I see the console.log message.
This problem happens with both Jasmine and Sinon spy tools.
Can anyone tell me if there is a way to make spyOn work in test case 2?  Or some other way that the test can show that the onActionOne function was called??

In order to clean up the issue tracker I have to close down all questions. Please use proper communications channels for questions about reflux, such as:

StackOverflow with the refluxjs tag
#reflux channel on Reactiflux Slack group. Sign up here for an account.


Fork universal viewer and use custom theme

Swaps out universal viewer with a pulibrary forked version.
Forked viewer is built with custom theme.
Updates the viewer to most recent version (1.7.27)
Fixes button alignment issues. Closes #679

Coverage remained the same at 100.0% when pulling 0ee22111c30a1d22930c45a8a8a4ffb7a8f7555a on uv-theme into 73e4340f3500c81c4c2274741664688758dd10d8 on master.

I don't know everything that's going on here, but is it going to be easy for us to keep this fork in sync with the upstream repo? Digerati are adding about a half dozen features for us...

@jpstroop That's why the repo is forked instead of just modified within Plum. Creating custom themes within UV is rather baroque. You keep themes in separate repositories that are then pulled into UV when you run a build. When we want to update, we should be able to sync our fork with the main repo, run a build, commit the changes, and then manually update UV within Plum by running the bower update command. This is, more or less, the recommended workflow.

https://universalviewer.gitbooks.io/custom-themes/content/


[#2826] Deprecate TraceContext.getAsyncId()

Delete unnecessary code

Codecov Report

Merging #2827 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2827      +/-   ##
==========================================
+ Coverage   40.79%   40.82%   +0.03%
==========================================
  Files        1776     1776
  Lines       61224    61223       -1
  Branches     8609     8609
==========================================
+ Hits        24975    24995      +20
+ Misses      36249    36228      -21

Impacted Files
Coverage Δ

...point/plugin/arcus/interceptor/ApiInterceptor.java
0% <ø> (ø)
:arrow_up:

...nitor/DefaultDataSourceMonitorRegistryService.java
85.18% <0%> (-11.12%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
81.06% <0%> (ø)
:arrow_up:

...cluster/zookeeper/ZookeeperClusterDataManager.java
75.51% <0%> (ø)
:arrow_up:

.../profiler/sender/StandbySpanStreamDataStorage.java
81.35% <0%> (+1.69%)
:arrow_up:

.../pinpoint/rpc/client/PinpointClientHandshaker.java
73.61% <0%> (+6.25%)
:arrow_up:

...rp/pinpoint/rpc/control/ControlMessageDecoder.java
80.35% <0%> (+14.28%)
:arrow_up:

.../java/com/navercorp/pinpoint/rpc/cluster/Role.java
71.42% <0%> (+71.42%)
:arrow_up:

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 ec9405c...65a15fe. Read the comment docs.


Shouldn't maven dependency download all the packages and classes?

Hello. I set the pom xml as described here.
I am trying to make a software to deal with docker swarm but the
swarm package has been not downloaded. What is wrong?

my pom.xml is like this
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>br.ufpe.cin.gfads</groupId>
	<artifactId>swarm-runtime</artifactId>
	<version>0.0.1-SNAPSHOT</version>

	<dependencies>
		<dependency>
			<groupId>com.spotify</groupId>
			<artifactId>docker-client</artifactId>
			<version>3.5.12</version>
		</dependency>

		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>1.7.5</version>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-log4j12</artifactId>
			<version>1.7.5</version>
		</dependency>
	</dependencies>
</project>

Hi, in the future please copy and paste the text of an error message you get, so that people with the same problem as you can find this issue when searching. Screenshots can’t be searched and are hard to interpret as to what problem you are having. I’m not sure what problem the second screenshot is supposed to show, can you please describe more what you expect to happen and what you are seeing instead?
The 3.5 version of docker-client is old and I think predates any Swarm-related classes. The latest version is 8.9 I believe.

sorry.
Yeah, I already fixed it. Just by using the 8.9.1 version on the pom.xml.
I do not know what was wrong, but it was an error in this version tag:
 <version>LATEST-VERSION</version>
That tag above did not work properly


Student Profile

Name: woncheol yang
GitHub: @sundancekid1108
Twitter: @your_username
Linkedin: link
Website: yourblog.com

Completed Courses
Name of the Section

Course
Files

Course Name
link

hello world

@sundancekid1108
Can you please add your profile on issue #206 named Students Profile #5, here !?
Thanks! :smile:


tour: Traversal order

Context: /concurrency/8
It should be made clear that Walk function should traverse the tree in-order.

I'm not quite sure what to do here.
Any of the three main traversal orders can be used to
complete the exercise.
The exercise does seem to suggest in-order traversal
by saying "It should be the numbers 1, 2, 3, ..., 10."
However, we can also relax this to say "it should be
a sequence of the integers 1, 2, 3, ..., 10" so that the
traversal order is left unspecified.
Leaving for others.

Similar to https://github.com/golang/go/issues/11009, I think the key here is whether the exercise expects the user to

read from Walk's channel and store the result in an array, sort it, then compare; or
iterate on the channels and compare element by element without sorting

If 2, Walk must traverse in-order.

Ahh, you're right. The New function generates
a BST, so the trees must be traversed in-order
so that two trees can be compared item by item
from Walk.
I'm not sure what to how to best change the
current text. I'm wonder if that's left as an exercise
for the reader.


Provide a simple working example from Stackblitz

Nuxt: 3.1.1
nuxt-vitest: 0.6.8

I followed the documentation to test the library.
I created a test file that mocks 'useStorage'.
When I run the tests, I get an error:
Error: Cannot find import "useStorage" to mock
Do I need to configure anything else?
Here is my example on Stackblitz:
https://stackblitz.com/edit/nuxt-starter-dllgrr?file=tests%2Fmytest.nuxt.test.ts
Could you provide an example that works on Stackblitz?

Any updates here?

Yes, the useStorage example requires you have an auto-import of that name, which @vueuse/nuxt provides.
Here's an updated version of your repro: https://stackblitz.com/edit/nuxt-starter-2keskx?file=tests/mytest.nuxt.test.ts.


Copy from directory files

Hi,
In the first : the most component installs use the ansible copy function from the files directory to the remote machine, That  obliges us to have symbolic links to directory file
Exemple:

name: Upload {{ hive_dist_file }}
copy:
src: "files/{{ hive_dist_file }}"
dest: /tmp

For the second: all copy is in /tmp when need to use ansible tmp directory
The best way is to us rpm package and install by ansible commande yum
Best regards

Hi, RPM package is maybe better but Apache projects we use do not provide RPM packaging, they provide .tar.gz package. It is not plan to add RPM package inside TDP.

This fixed by 412


Do not import the whole rxjs library

I changed the import of the Subscription from 'rxjs' to 'rxjs/Subscription'.
This is a best practice with the rxjs library which is huge.
I also fix two typing errors raised by the linter in add and subtract pipes.
Finally, I moved the moment dependency to the devDependencies and peerDependencies. It's the developer responsibility to install the required peer dependencies.
All tests still pass without any error or warning.

Thank you Fabien!

Released as part of 1.1.0


Refactor cell ontology build pipeline to use ODK

This is on my wider agenda, but not a super high priority. Note that currently the pattern pipeline is broken in the ODK, that needs to be fixed first before we roll out ODKs with pattern support!

@matentzn tagging you due to your previous comment, please.

Hu, this has been done more than a year ago; am I missing something? I think this can be closed.

Thought so. Thanks. I'll close.


Flaky test: TestValidateCertificate/invalid_with_disallowed_'CertificateSecretTemplate'_annotations

The tests for Certificate.Spec.SecretTemplate validation may be non-deterministic. They sometimes fail as follows:
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //pkg/internal/apis/certmanager/validation:go_default_test
-----------------------------------------------------------------------------
--- FAIL: TestValidateCertificate (0.00s)
    --- FAIL: TestValidateCertificate/invalid_with_disallowed_'CertificateSecretTemplate'_annotations (0.00s)
        certificate_test.go:747: Expected error spec.secretTemplate.annotations: Invalid value: "cert-manager.io/alt-names": cert-manager.io/* annotations are not allowed but got spec.secretTemplate.annotations: Invalid value: "cert-manager.io/certificate-name": cert-manager.io/* annotations are not allowed
        certificate_test.go:747: Expected error spec.secretTemplate.annotations: Invalid value: "cert-manager.io/certificate-name": cert-manager.io/* annotations are not allowed but got spec.secretTemplate.annotations: Invalid value: "cert-manager.io/alt-names": cert-manager.io/* annotations are not allowed
FAIL

-- https://prow.build-infra.jetstack.net/view/gs/jetstack-logs/pr-logs/pull/jetstack_cert-manager/4348/pull-cert-manager-bazel/1426075825404383233
Probably because we iterate over a map here which does not have deterministic order:
https://github.com/jetstack/cert-manager/blob/9d1c6c9f095a01b4ee563e774b3871810c3934ce/pkg/internal/apis/certmanager/validation/certificate.go#L188-L192
I think it'd make sense to sort the offending annotations and return them in single validation error message.
Alternatively, we could change the tests to check the contents of the expected and actual errors lists and not check that they have the same order. E.g. https://pkg.go.dev/github.com/stretchr/testify/assert#ElementsMatch
/kind bug
/cc @jonathansp

Should be fixed now.

@wallrj @jakexks can this be closed?


stylelint: 16.5.0 -> 16.6.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/stylelint/stylelint/releases.
meta.description for stylelint is: Mighty CSS linter that helps you avoid errors and enforce conventions
meta.homepage for stylelint is: https://stylelint.io
Updates performed

NPM version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 16.6.0 with grep in /nix/store/xcnpqqd7mq0216q9y1q2ra6zsc8s6b2h-stylelint-16.6.0
found 16.6.0 in filename of file in /nix/store/xcnpqqd7mq0216q9y1q2ra6zsc8s6b2h-stylelint-16.6.0

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

stylelint

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/d5d81bb96171947d5d5a5448d1bccb874842f967#stylelint

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

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

1 package built:

stylelint

Maintainer pings

Result of nixpkgs-review pr 314326 run on x86_64-linux 1

1 package built:

stylelint


release v1.3.2

backport #174.

Closed https://github.com/inveniosoftware/invenio-access/pull/178


Allow day start hour to be configurable - by default 9 as now

When creating a Calendar, allow the day start hour to be passed in.
By default, remains at 9 - the way it currently is.

This change is

Reviewed 6 of 6 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

merging - the lint errors appear to not be related to this code

and I realized now that I wasn't even testing the v3 branch! doh!
i'll fix the lint errors in a bit - thanks for the code


Server is not a constructor V.1.41

const bare = new Server('/bare/', '');
^
TypeError: Server is not a constructor
at file:///home/runner/TeemingArcticPorts/index.mjs:6:15
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
at async importModuleDynamicallyWrapper (node:internal/vm/module:438:15)
OS version 1.41 I think, I made a fork of terbium a looong time ago, and I recovered it. Using Opera GX/Chrome
The issue is that there is no output in the repls saying that server isnt a constructor, but in 1.41, and 1.42 it uses the code that gives the error
this code: import Server from 'bare-server-node';
import http from 'http';
import nodeStatic from 'node-static';
const bare = new Server('/bare/', '');
const serve = new nodeStatic.Server('static/');
const server = http.createServer();
server.on('request', (request, response) => {
if (bare.route_request(request, response)) return true;
serve.serve(request, response);
});
server.on('upgrade', (req, socket, head) => {
if(bare.route_upgrade(req, socket, head))return;
socket.end();
});
server.listen(process.env.PORT || 6969);

@Notplayingallday383

Did you run npm i?

Yes, I still get the error.

index.mjs
import { Server } from "@tomphttp/bare-server-node";
         ^^^^^^
SyntaxError: Named export 'Server' not found. The requested module '@tomphttp/bare-server-node' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@tomphttp/bare-server-node';
const { Server } = pkg;

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:189:5)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    at async importModuleDynamicallyWrapper (node:internal/vm/module:438:15)

Node.js v18.12.1

If your using the latest version which includes the latest bare version server was deprecated and replaced with createBareServer

I think it is a newer version
    "@tomphttp/bare-server-node": "^2.0.1",

@Notplayingallday383

btw this is a very old fork, probably even before v1.41, but maybe v.1.41

ok so since ur using a newer version of Bare, the "server" function has been deprecated in place for { createBareServer } so in your backend just change the line: import Server from 'bare-server-node'; to: import { createBareServer } from 'bare-server-node' that should work

I changed the code to this:
import { createBareServer } from 'bare-server-node';
import http from 'http';
import nodeStatic from 'node-static';

const bare =  new createBareServer('/bare/', '');
const serve = new nodeStatic.Server('static/');

const server = http.createServer();

server.on('request', (request, response) => {
    if (bare.route_request(request, response)) return true;
    serve.serve(request, response);
});

server.on('upgrade', (req, socket, head) => {
	if(bare.route_upgrade(req, socket, head))return;
	socket.end();
});

server.listen(process.env.PORT || 6969);
``` and nothing is happening, the ouput console is empty.

@Notplayingallday383

Ok that means it should be working cus that code doesn’t have a console.log that states the server is ready so try visiting http://localhost:6969 and seeing if it worked

nevermind, i get this error
    init.logErrors ??= false;
                   ^

TypeError: Cannot create property 'logErrors' on string ''
    at new createBareServer (/home/runner/teemingarcticports/node_modules/bare-server-node/dist/createServer.js:42:20)
    at file:///home/runner/teemingarcticports/index.mjs:6:15
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    at async importModuleDynamicallyWrapper (node:internal/vm/module:438:15)

Node.js v18.12.1

on this line
const bare =  new createBareServer('/bare/', '');

@Notplayingallday383

on this line
const bare =  new createBareServer('/bare/', '');

@Notplayingallday383

Sorry I forgot to respond but the ,'' I dont think works. So I would suggest changing it to: const bare = createBareServer('/bare/');

import { createBareServer } from 'bare-server-node';
import http from 'http';
import nodeStatic from 'node-static';
const bare = createBareServer('/bare/');
const serve = new nodeStatic.Server('static/');
const server = http.createServer();
server.on('request', (request, response) => {
if (bare.route_request(request, response)) return true;
serve.serve(request, response);
});
server.on('upgrade', (req, socket, head) => {
if(bare.route_upgrade(req, socket, head))return;
socket.end();
});
server.listen(process.env.PORT || 6969);
its giving
file:///home/runner/teemingarcticports/index.mjs:12
if (bare.route_request(request, response)) return true;
^
TypeError: bare.route_request is not a function
at Server. (file:///home/runner/teemingarcticports/index.mjs:12:14)
at Server.emit (node:events:513:28)
at Server.emit (node:domain:489:12)
at parserOnIncoming (node:_http_server:1068:12)
Node.js v18.12.1

Alright since that isn’t working just copy and paste the new backend code which is: https://github.com/TerbiumOS/webOS/blob/main/index.js

/home/runner/teemingarcticports/index.js:1
import { createBareServer } from "@tomphttp/bare-server-node";
^^^^^^
SyntaxError: Cannot use import statement outside a module
Hint: hit control+c anytime to enter REPL.
new code

Copy package.json too

I'm sorry, I was locked out of my github acc for a while, can we meet on discord or something and debug it? It works but I get this error Error: ENOENT: no such file or directory, stat '/home/runner/teemingarcticports/static/sw/hvtrs8/-ymuvu`e,cmm'

I saw someone had an error and it was with service workers, but I want to be able to customize my apps not just have the defaults, if it is possible to change it and bypass repls blocking, I will try to use the newest version.

I'm sorry, I was locked out of my github acc for a while, can we meet on discord or something and debug it? It works but I get this error Error: ENOENT: no such file or directory, stat '/home/runner/teemingarcticports/static/sw/hvtrs8/-ymuvu`e,cmm'

Yeah sure


Ensure replace_files works.

Noticed this wasn't working as expected, and had a quick dive into the code to fix it. I took the implementation from jekyll-gzip, and added a site-level test to confirm behaviour.

Found some spec bugs, fixed them too (though could shift them to a separate PR if you'd like?)… however, the build seems to be failing, and I'm not yet sure why. It's green on my machine 🤷♂  … something to look into in the morning I guess.

Thanks for this (and 🤦♂ for not actually implementing the feature, but adding the option). The tests ran fine for me too. Will investigate.

It was failing because the time zone in the blog post front-matter was causing the post to be published on the day before and because that affects the folder structure meant the test couldn't find a file. That was a hassle.
Anyway, this work is released in version 2.3.0. Thanks very much @pat!

Great to know the puzzle of the specs was figured out, and that this is merged in :) I just rolled it out into my blog (which is hosted on S3): https://github.com/pat/pat.github.com/commit/e65b4d8f97d33515ae6a4d4a21ce58bcbd6f135b

🎉  Thanks Pat!


Syntax proposal: TypeParameters with arguments

I propose extend generics to support arguments in type parameters. Something like that:
  TypeParameter:
   BindingIdentifier TypeParametersopt Constraintopt
This is useful for complex API's, like factories and proxies, that need receice too many data types.

interface Data<K, V> { find(key: K): V }

function createProxy<T<K,V> extends Data<K,V>> (
   return <T<K,V>> {
      find: function(key: T.K): T.V { ... }
   }
}

interface PatientData extends Data<number,{name: string, age: number}>{ }

var pacientProxy = createProxy<PatientData>();
var {name, age} = pacientProxy.find(1);

Also see: https://github.com/Microsoft/TypeScript/issues/1213

I notice that you have a function extending a type - can you explain what you mean by this?

@DanielRosenwasser isn't function createProxy extending but the type T is extending the type Data . And how type Data needs K,V arguments, my suggestion is typescript support use that arguments in type T.
@aleksey-bykov I don't know if #1213 solves my problem. It's new to me, looks complex. I'll study and later answer here.
Thanks guys

Whoops, misread that, sorry.

Would https://github.com/Microsoft/TypeScript/issues/214 solve this?

:+1: For generic generics

I'm pretty sure this is the same as higher-kinded types in #1213. I'll close this as a duplicate.


AWS CLI version 2

Hello,
Actually in customization steps by default the AWS CLI installed is in 1.x version, is it possible to have directly the v2 (it's now stable & recommended) ?
Thanks
Best regards

Thanks for bringing this to our attention @Menahem1, I've gone ahead and made a backlog to address this feature request!

Any change on the status of this issue?
I'm trying to understand what context (ie what AWS profile) AFT is running in, and am able to do aws sts get-caller identity in the pre-api-helpers.sh. However, I can't list the available profiles with aws configure list-profiles because - and here this issue ties in directly - that command does not seem to be supported by CLI 1.x. Thanks.

sorry for the delay - but thanks in any case for fixing this. seems to be working as expected now.


PAF/GAF-based SV typing script

We need a downstream python analysis script that does the following:
Given a GFA and PAF, try to answer the following questions:

Does a given PAF support a given SV (i.e., does a PAF have a mapping to a specific node?)
What is the phasing of the PAF/GFA through the GFA (Trace a PAF through nodes in the graph)

Some background reading, looks like GFA defined here: https://github.com/GFA-spec/GFA-spec/blob/master/GFA2.md
And PAF:
https://github.com/lh3/miniasm/blob/master/PAF.md

https://github.com/dwinter/pafr just found a PAF visualization tool

This requires rGFA + annotation tags mapping from the GFA back to the VCF, which isn't a ton of work but probably needs to be under unit testing in svaha2. We can maybe do this in The Future.


Contribution Convention added in readme

Fixes #149
Contribution Convention added in readme

@shreyakapoor08  Can you add these into contribution.md and remove from readme.md

@narender2031 sure i will do it

@narender2031 kindly add the labels ☺


Debugged game on Secondary monitor freezes on editor play

Godot version
v3.3.4.stable.official [faf3f883d]
System information
Windows 11 Pro 22000.258, AMD Ryzen 9 5900X, GLES2, NVIDIA GeForce GTX 1070, V. 496.49
Issue description
After setting the editor setting 'run\window_placement\screen' to "Next Monitor" or "Monitor 2" causes the white screen freeze. Returning it to the default ("Same as Editor") or "Monitor 1" with the editor on my main monitor allows the debugged project to run successfully.   When the play button is pressed, the console shows the running command and a window opens, but the window freezes on a white screen and won't accept any input, including closing the window. Clicking stop from the engine closes the window without issue.
Exporting a project allows it to run without issue. This issue affects both Mono and normal version. Changing the graphics version from GLES2 to GLES3 doesn't make a difference.
I also tried testing on 3.3.2 and 3.3. Neither version successfully debugged and all presented with a frozen white screen
Log showing the project is requested to run.

picture of the window showing a white screen

Steps to reproduce

Create new project
Change editor setting run\window_placement\screen to open it on a non-main window
Create empty scene and save
Click run in the editor

Minimal reproduction project
Windows 11 White Screen MRP.zip

@fenix-hub There are several bugs that seem to hinge on Windows 11, but I think your issue might be a better fit for #53485 .
In that one, he can open the project manager, but every time he tries to launch a project, godot crashes. This crash doesn't happen when he launches from a terminal that was open before Godot was started.
For this bug, it seems that Godot can't initialize the debugged window when it is on a secondary screen. I can't test this against Windows 10, as I don't have a multi-monitor setup with Win 10 any more. This bug is tied to the editor setting run\window_placement\screen. When that setting is set so the screen opens up on the main monitor, debugging works as expected. When the debugged window opens on my second monitor, the window freezes on a white screen, but I can't see any errors thrown.

This may be a duplicate of https://github.com/godotengine/godot/issues/54076, Windows 11 made the new Windows Terminal the default and all Godot versions currently have issues with that

Definitely looks so.

I don't think this was a duplicate of #54076. I've been experiencing the same issue as described here. It is only the Run window that white screens and crashes, and only if it is set to open on a different monitor from the main project. Additionally, if it is set to open on the same monitor as the editor, after it opens, I can drag it to a second monitor without it crashing.
Godot 3.5 stable
Windows 11

I have this same issue (scene play freezes showing a white window on Monitor #2) with Godot v3.5.1 pre-built on Windows 10.  Running on a nVidia 2080 card.  Everything works fine on monitor #1.  I've seen similar issue with the Roon application which also freezes when launched on screen #2.  Not tried yet with the main editor window to see if that also hangs if launched on screen 2, but it certainly functions fine if launched on screen 1 and moved.


Update not to ignore line with spaces only line in indent-style

Hi,
I think we should still check indent for those line with spaces only when enabled indent-width-cont.
For example (+ stands for space and indent width is 4):
<div>
+++++
++++<input type="button" />
</div>
<script>
++var foo = 1;
</script>

It should has a result:
tests/foo.html: line 2, col 1, indenting spaces must be used in groups of 4

Coverage remained the same at 100.0% when pulling 8550e8c6fead7009dbd090309ea4e8122b1733e5 on tengattack:master into 4c37d12d8e1987c646316b41281c06852079c589 on htmllint:master.

Makes sense. Thank you!
I added a test based on your example in 0e6445e. Could you do this for any other changes you make in the future?

OK, test case is necessary. Thank you for merging!


HHH-9114 - Fix Property Not Found When @IdClass specified on entity and an @Id attribute exists on the @MappedSuperclass.

https://hibernate.atlassian.net/browse/HHH-9114

Looks good.

Applied upstream


Implement implicit field size alignment

CI will be failing until https://github.com/UAVCAN/pydsdl/pull/33 is released.
Context: https://forum.uavcan.org/t/proposed-change-to-variable-length-arrays/740

@thirtytwobits the build is green and I think it's ready for a review.


Use controller-gen binary to generate deepcopy functions

Update the markers in the go code to use controller-gen. Remove unused generated code under pkg/generated. Add new target verify-generated to ensure there are no modified and untracked files when run from the CI.
related to #204, #207

@padlar thank you for the contribution  ,  pls update the contribution guide with instruction for usage

Question, this PR is not adding the markers to generate CRDs, is the idea to follow up with a PR for it?

@josedonizetti yes this PR addresses pt1 in issue 204. There will be follow up PRs that will address the other 2 points.

LGTM!


fixsupport readbatch

Proposed changes
Support readbatch for paimon to prevent a batch of data from being too large.

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

LGTM


Issues with Bootstrap 3

1,
Day names are aligned to the left:
th text-align: left coming from bootstrap

2, opening position
Firefox: opens at the bottom-center of the window:

Safari, Chrome: opens at the center of the window
3,
On iPhone, when the datepicker pops up it's zoomed in. I must zoom out (pinch out), let me show this on the following two images:
Default:

Zoom out:

I think it is because If I click on input element it's zooming in by default.
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
This is working, but I loose zooming on the page.

These CSS issues are beyond the scope of this library. Also, won't be a problem in v5


un-deprecate name argument on file-system (aka local) dependencies

motivation: when using path based dependencies it could be useful to set a name (for target based package lookup), as the path may change depending on context
changes:

remove recently added deprecation flag from .package(name:, path:) API
update package describe command to include dependecy identity which is useful to know how the dependency can be address in target based package lookup

@swift-ci please smoke test

@neonichu @abertelrud I ran into this with some of my own package that have examples in subdirectories and refer to the "parent" package with ".." - on those cases the parent directory may change depending on where you check it out / how you name it so it makes sense to keep the name argument in these use cases (only)

main/build/buildbot_incremental/libdispatch-linux-x86_64/libBlocksRuntime.so && :
20:09:50
<unknown>:0: error: module file '/home/buildnode/jenkins/workspace/swift-package-manager-Linux-smoke-test/branch-main/build/buildbot_incremental/xctest-linux-x86_64/module-cache/1XYH043PDIN79/SwiftShims-3849312O4BV1I.pcm' is out of date and needs to be rebuilt: signature mismatch

@swift-ci please smoke test linux

This makes sense to me, and I agree with undeprecating it.


Fix verifying when a certificate is provided

Keys were preferred over certificates. This caused an issue, because in the CLI functions that call verify, if you pass a certificate to verify with, we extract the public key from it and set that to co.SigVerifier while also setting sig.Cert. Checking if a certificate was provided first should mitigate this.
Ref: https://github.com/sigstore/cosign/issues/2632
Signed-off-by: Hayden Blauzvern<EMAIL_ADDRESS>
Summary

Release Note

Documentation

@asraa, can you check this is correct, since you did the refactor for this?
cc @nsmith5

Looking into unit test failures now

The failure is when you provide both a key (which you want to verify with) and a bundle with a certificate. I think the fix is just to make this an error when taking in input. We don't allow you to specify more than one of (cert, security key, public key), so we shouldn't allow you to specify a bundle with a verifier (pub key or cert) if you also specified the verifier. (Note we would still allow a bundle + verifier if the bundle only contains the Rekor entry)
Will follow up on Tuesday.

Oof my brain
I was confused why we hadn't caught this for verify-blob. Turns out, it's because we don't set co.SigVerifier in verify-blob:
https://github.com/sigstore/cosign/blob/main/cmd/cosign/cli/verify/verify_blob.go#L193-L197
Contrast this to verify:
https://github.com/sigstore/cosign/blob/main/cmd/cosign/cli/verify/verify.go#L214-L243
Not sure if this was intentional or accidental. I think it wasn't intentional because if a bundle is provided with a certificate in the bundle, we do set the verifier: https://github.com/sigstore/cosign/blob/main/cmd/cosign/cli/verify/verify_blob.go#L220
I think we should pick one place to set the verifier. Either require a verifier always provided (and figure out how to pass a certificate value into VerifyImageSignature, or always leverage https://github.com/sigstore/cosign/blob/29360f6a3390d44dd8faef636dd0c3449a213c88/pkg/cosign/verify.go#L638-L670 to set the verifier.

After trying a few different approaches, the cleanest is to override sig.Cert() (if not set). We don't have any issues in verify-blob because we are setting sig.Cert() based on --certificate. We should be doing the same for the OCI case, just with an additional check if there's any difference. Then the logic in verifyInternal doesn't have to change. Adding a field to CheckOpts like Nathan suggested for passing the certificate. (This struct is TOO BIG)

OK, so after repeatedly typing lines and deleting them, here's what I think I'll do:

Add VerifierCert to CheckOpts (co)
We need to predictably set co.SigVerifier. I'm going to remove setting SigVerifier when a cert is passed, so that SigVerifier == nil means verify with a certificate. Effectively now co.SigVerifier is just a provided public key. (maybe even rename it to PublicKey)
We will pull the cert from either sig.Cert or co.VerifierCert, and pull chain from either sig.Chain or co.Roots/co.Intermediates (which will have been initialized with either a provided chain or the Fulcio/TUF certs). It will prefer co over sig for chain (current behavior), and check for equality for cert.
We will make the change here to read either SigVerifier or the parsed cert (What if Rekor has the full chain uploaded? Currently Cosign uploads only the cert, not chain, so I think this is out of scope)

@asraa @nsmith5 Lemme know if you see any issues

Yup, this sounds like the right approach to me!


[[FIX]] Param destructuring should not effect max params

Fixes destructuring so that multiple destructured params do not count
towards the maxparams limit. This is because destructuring is the solution
to having alot of numbered params, since you would replace a hard to
figure out list of params with an object, then use destructuring to pull
out from that object.
Fixes #2183

I think you should also fix JSHINT.data().functins[x].metrics.parameters

I think you should also fix JSHINT.data().functins[x].metrics.parameters

done, good spot.

rebased on master

The name "count" is a little generic and potentially misleading. Initially, I was wondering why you would track that separately than the parameters array itself because I was thinking it was redundant. In reality (and as I'm sure you know), parameters describes all bindings from the parameter list, so the number is definitely distinct. What do you think about re-naming count to arity to more clearly communicate the concept it describes?

What do you think about re-naming count to arity to more clearly communicate the concept it describes?

yes, arity is a more descriptive name, I'll change

Fixed. Also added another commit - https://github.com/jshint/jshint/commit/f75b2d36f46fa9db913efcf736cbaec3df2b0708
When renaming it occurred to me this was a bit cleaner than polluting the function directly.

Excellent! Merged to master at commit 9d021eede3e5ebffe2c98fce12293703586b491b. Thanks, Luke!


Update ibc-proto dependency to 0.42.0, prepare for 0.13.0 release

This brings us in line with the latest changes from upstream Hermes.

Revisiting this a few months later: we should really flag changes to the domain types modeling the IBC protocol. It's somewhat under advertised in this PR. I added a tag domain-type-change and protobuf-breaking change to make that more visible.


Add deploy to marketplace on release tag yaml 🦾

🎯
the aim of this issue is to add a gh flow to automatically deploy extension to marketplace on release tag added. I may do it similarly like in CLI vs code extension
https://github.com/Adam-it/cli-for-microsoft-365-extension/blob/main/.github/workflows/release.yml

done


'clinical visit' in VEuPath and 'health care encounter' in OMRSE

'clinical visit' in VEuPath and 'health care encounter' in OMRSE seem to be equivalent or nearly so.
clinical visit:
A planned process in which a patient is seen by a medical practitioner.
health care encounter:
A temporally-connected health care process that has as participants an organization or person realizing the health care provider role and a person realizing the patient role.  The health care provider role and patient are realized during the health care encounter
I suggest deprecating 'clinical visit' in favor of 'health care encounter'. The only difference I see is that "practitioner" refers to one person.

I agree with deprecating 'clinical visit' in favor of 'health care encounter'.

If we make the change, it raises the question of what to do with the terms that contain "clinical visit" in their labels (and there are many). We could change those labels, but we could instead leave the labels alone and use axioms to relate the terms to 'health care encounter'.

+1 to this proposal:
"we could instead leave the labels alone and use axioms to relate the terms to 'health care encounter'."

I've implemented these changes.


improve input GUI

On the form/page where the user enters the query:

[x] increase size of textarea (for query)
[x] align submit button with textarea (either beside or below)

Resolved with commit 760c2779b59bbbd7fa87184f3a41876f5c1e5d5a.  Textarea enlarged to 80x25; submit button moved to below textarea; all elements centered.


Display fix - indentation, colors and bullets

1/ changed gas usage output to have a static indentation;
2/ replaced alarming red fuel pump with a relaxed bullet, or ⚠ in case of gasUsed > this.highGasThreshold;
3/ removed text colors, high gas usage doesn't necessarily require red text;

Looks good :D


React Component - bug

The React implementation doesn't work.
Updating color in input field launches onChange in the ReinventedColorWheel which makes a duplication.
Second mistake is that, after second launch of the same function, the hex value contains new char on the end.

I'm sorry, it's hard to understand the issue with just words for me. Could you reproduce it?
It would be helpful if you could give me the URL using a web service such as CodeSandbox or StackBlitz.
https://codesandbox.io/s/reinvented-color-wheel-react-9c9r7?file=/src/App.tsx

https://codesandbox.io/s/reinvented-color-wheel-react-forked-olfuj?file=/src/App.tsx
Remove last f with backspace inside the input field, you will get then #ffff0f

Hmm, sure. Incomplete hex values are not supported. And React fires the onChange callback on the "input" event.
How about this?
https://codesandbox.io/s/reinvented-color-wheel-react-forked-hel4i?file=/src/App.tsx

it can as fix, thanks :)


plugins(geogebra): handle empty state and cache requests

theres still a bug here: https://github.com/serlo-org/ory-editor-plugins/blob/984f033cc1721d5d0b7620a637dee805fe88a474/plugins/content/geogebra/src/Component/Form/index.js#L22
this should be props.state.src (I think)


for python: prevent deterministic start for each simulation (usually one...

Hey John,
really great book, thank you for that! Very great explanations and encouraged me a lot to play with the boundary conditions.
I spotted a little error when experimenting.
For 5 arms, the start percentage of chosing the right arm at the first draw should be 20% on average over the 5000 experiments that are the default, but it was around 2% for epsilon greedy  with epsilon=.1. That is equivalent to always choosing an inferior arm at the first draw for the 90% share of epsilon greedy. If the expected values from the arms are similar, this behaviour also influences the following steps for quite a number of draws.
The reason was the function ind_max which chooses the first index if all values are equal.
In python/algorithms/epsilon_greedy/test_standard.py, you permute the means list. That means it can also happen that the algorithm choses deterministicly the best arm if the best arm happens to be the first.
After permuting the means, the arms' order is never touched again, so the behaviour of drawing the same arm (whichever one) persists over all similation, they all start with the same arm.
I could provide my plots if the explanation was poor,
Proposed solution: In case of same valued arms, choose randomly.
Lina

Though it not visible in the issue list as either an open or closed issue, it seems #18 was raised here before. It also seems that the suggested pull request would have resolved it. Maybe reopen it? Or close #18 if the issue is not expected to be resolved at all, of course.


Automatic Redirection When IP Changes to Fixed

Description:
By default, the device is configured to obtain its IP via DHCP. However, when DHCP is disabled and a fixed IP is assigned to the device, a restart is required. After the restart, it is observed that the browser continues to attempt to connect to the previously DHCP-assigned IP instead of automatically redirecting to the newly configured fixed IP.
Proposed Solution:
Implement an automatic redirection so that after restarting the device, the browser searches for the device's page at the newly assigned fixed IP.
This will improve the user experience by eliminating the need to manually find or remember the new IP.

you mean, when a static IP is set, redirect to the static IP after x seconds?

this can cause redirect loops, better to let the user change the URL manually.
note: openwrt also doesn't switch automatically when router IP is modified.


Work with formly?

Are there any examples anywhere of using this project with formly?
If not, is there any reason to expect it to be easy or hard?

Got it working, with this custom formly template:
    formlyConfig.setType({
        name:'placeAutoComplete',
        template:"<label class='control-label' ng-if='to.label'>{{to.label}}</label>" +
            "<input g-places-autocomplete class='form-control' ng-model='model[options.key]'" +
        "ng-attr-options='to.autocompleteOptions'" +
        "ng-attr-force-selection='to.forceSelection'/>",
        link: function(scope, el, attrs) {},
    });

and here's an example field:
            {
                key: 'location',
                type: 'placeAutoComplete',
                templateOptions: {
                    label: 'Location',
                    placeholder: 'Enter Location',
                    forceSelection: false,
                    autocompleteOptions: {
                        types: ['establishment', 'geocode']

                    }
                }
            },


flaky test: TestFutureHeight/median_above_slow_smeshers

Description

https://github.com/spacemeshos/go-spacemesh/runs/8047099644?check_suite_focus=true
2022-08-27T02:07:19.5601626Z === RUN   TestFutureHeight/median_above_slow_smeshers
2022-08-27T02:07:19.5789284Z     tortoise_test.go:2783:
2022-08-27T02:07:19.5790897Z         	Error Trace:	/home/runner/work/go-spacemesh/go-spacemesh/tortoise/tortoise_test.go:2783
2022-08-27T02:07:19.5791677Z         	Error:      	Not equal:
2022-08-27T02:07:19.5792976Z         	            	expected: types.LayerID{Value:0x8}
2022-08-27T02:07:19.5794101Z         	            	actual  : types.LayerID{Value:0x9}
2022-08-27T02:07:19.5795422Z
2022-08-27T02:07:19.5796011Z         	            	Diff:
2022-08-27T02:07:19.5796783Z         	            	--- Expected
2022-08-27T02:07:19.5798193Z         	            	+++ Actual
2022-08-27T02:07:19.5798996Z         	            	@@ -1,3 +1,3 @@
2022-08-27T02:07:19.5799714Z         	            	 (types.LayerID) {
2022-08-27T02:07:19.5800503Z         	            	- Value: (uint32) 8
2022-08-27T02:07:19.5801212Z         	            	+ Value: (uint32) 9
2022-08-27T02:07:19.5801759Z         	            	 }
2022-08-27T02:07:19.5802467Z         	Test:       	TestFutureHeight/median_above_slow_smeshers
2022-08-27T02:07:19.5803096Z === RUN   TestFutureHeight/empty_layers_with_slow_smeshers
2022-08-27T02:07:19.5979918Z --- FAIL: TestFutureHeight (0.08s)

it was fixed in https://github.com/spacemeshos/go-spacemesh/commit/9f20bfcdeaad95054bc0353bd073a771833e3eb2

hmmm... i think this failure was tested with the said commit. but we will see if it surface again

this failed again https://github.com/spacemeshos/go-spacemesh/runs/8074845985?check_suite_focus=true


Best place to customize aliases, exports and other stuff?

Just migrated from oh-my-zsh and wonder where I should place my custom aliases, exports and few other commands?
That's missing in your readme and I googled without success. Thanks for a quick hint.

in .zshrc. Just like a .bashrc. Close this issue.

thx


Bug - 500 Error being show within the Admin Portal / Screening Questions

Description
A 500 Error is being displayed within the Admin Portal when users are clicking on questions. This bug is High Priority given we are looking to post a job this Friday that might need to add screening questions.
There are questions in the screening plan but need to confirm with manager.
Steps to Reproduce
Steps to reproduce the behaviour. Example:

Sign in to Admin Portal
Click on Questions on any Job Poster
See 500 Error

[ ] Regression test written.

Resolved by #2883

There are still some issues with this, issue.

The admin question isn't being saved.
The description field has been made required but, it is not a required field.
The question cannot be deleted.
Any new questions are not appearing.

In addition, no error message was shown when the required field was left blank. Granted this may not be an issue if there's no required field but it might be an issue elsewhere so I thought, I'd mention it.

Resolved.


committing offset not working properly and slow

Questions?
Main Issue
Commit sends callback before the commit is completed
Detailed description
Offset committing (manual and auto) is so slow that when re-run kafka-node sends more than half messages again (a message which gave callback for committing but was not actually committed)
Bug Report
Environment

Node version:latest
Kafka-node version:latest
Kafka version:latest

For specific cases also provide

Number of Brokers:1
Number partitions for topic:1

Include Sample Code to reproduce behavior
Producer
var kafka = require("kafka-node"),
  HighLevelProducer = kafka.HighLevelProducer,
  client = new kafka.KafkaClient(),
  producer = new HighLevelProducer(client);

producer.on("ready", function() {
  for (var i = 0; i < 200000; i++) {
    let data = { topic: "topic10", messages: i, partition: 0 };
    console.log(i);
    producer.send([data], function(err, data) {

    });
  }
});

Consumer
var kafka = require("kafka-node"),
  Consumer = kafka.Consumer,
  client = new kafka.KafkaClient(),
  consumer = new Consumer(client, [{ topic: "topic10", partition: 0 }], {
    autoCommit: false,
    groupId: "kafka",
    fetchMaxBytes: 1024*5
  });

const offset = new kafka.Offset(client);

consumer.on("message", function(message) {

  console.log("value recived from kafka: ", message.value);

  offset.commit(
    "kafka",
    [
      {
        topic: message.topic,
        partition: message.partition, //default 0
        offset: message.offset + 1,
        metadata: "m" //default 'm'
      }
    ],
    (err, data) => {
           console.log("commited");
    }
  );
});

Include output
In terminal is prints committed but when re-running consumer again it again receives some of the same messages

Any updates on this issue?.

Even I am facing the same issue, can someone suggest how to resolve this ?


Support for PREEMPT_RT

Hey there!
I'm pretty new to Yocto/OE in general so this may be a non issue and I may just be doing something wrong. But it would be really nice if the meta-tegra layer and the linux-tegra kernel were able to support the PREEMPT_RT kernel patches for real-time embedded applications that have stricter latency requirements than just the PREEMPT kernel config can offer.
It looks like there's rudimentary support (if not slightly buggy) from Nvidia for building L4T w/ the PREEMPT_RT patches applied: https://forums.developer.nvidia.com/t/preempt-rt-patch-on-jetson-kernel/65766/19
This might be something that we undertake ourselves and contribute back but I wanted to open this issue in case there was just something obvious I was missing.
The only thing I've tried so far is setting the provider for the kernel to the stock Yocto RT kernel but I didn't expect that to work since we want linux-tegra for the Jetson boards and not linux-yocto-rt (it didn't work).
If you could give me some pointers on where to start looking to get these patches applied we'd love to help contribute to the project! Thanks!

There's an rt-patches directory in the linux-tegra-4.9 repo that has the NVIDIA-supplied realtime patches.  You could fork the kernel repo and apply them there, then add a bbappend to set the SRC_URI to point to your fork/branch.  Then you'd have to generate a new defconfig for the kernel build that enables and disables the relevant configuration settings (see the scripts/rt-patch.sh script in the kernel repo).
I just tried a git am on the patches (on the patches-l4t-r32.3.1 branch), and they all patch cleanly except for one (due to a gcc 8 compatibility patch I added at c88fb43493f42f41742ced88b1bdcf27aba5de55).  It's straightforward to resolve manually if you use git am --reject.

Thanks for the tips! I'll keep you posted.

We have a wiki page describing how to apply the the PREEMPT_RT patches.


Tree: add filter-node-method prop & filter method.

Please makes sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's Contributing Guide.
[ ] Make sure you are merging your commits to dev branch.
[ ] Rebase before creating a PR to keep commit history clear.
[ ] Add some descriptions and refer relative issues for you PR.

#313

@Leopoldthecoder


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.9 to before v5.4.164",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=761ed4a94582ab291aa24dcbea4e01e8936488c8",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c5da8aa441053958594f94254592bb41264bdfbf"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "761ed4a94582ab291aa24dcbea4e01e8936488c8",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "c5da8aa441053958594f94254592bb41264bdfbf",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "serial: core: fix transmit-buffer reset and memleak\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.4.164 by commit c5da8aa441053958594f94254592bb41264bdfbf, it was introduced in version v4.9 by commit 761ed4a94582ab291aa24dcbea4e01e8936488c8. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002452


Code cleanup in 5.0 runoff.c

These are mainly cosmetic issues but would help in future code maintenance:

Since we have removed the variable Tlayer_spatial[frost_area], we can remove the loop over frost areas that computes tmp_fract, since the only purpose of this variable was for computing Tlayer_spatial[].  We can also remove tmp_fract itself.
It looks like someone started to replace frost_area with fidx, but only completed one block of code.  So now there are two different variables with the same purpose in different parts of the code.  I propose replacing all other instances of frost_area with fidx and getting rid of frost_area.

sounds good @tbohn.  Feel free to issue a PR for this.

closed via #349


all containers created by chatflow have the same hostname

i created a two container ubuntu 16.04 and 18.04, they created successfully but have the same hostname zosv2tst-7

jsx version

3BOTDEVEL:3bot:jumpscaleX_threebot: git log -1
commit d83f639dd6cdfc69d56fc59a4979b3816ef5772c (HEAD -> development, origin/development, origin/HEAD)
Author: Rana Tarek Hassan<EMAIL_ADDRESS>Date:   Mon Apr 27 15:06:59 2020 +0200

    Pass bot to reservation register to view errors returned from register
3BOTDEVEL:3bot:jumpscaleX_threebot:

also another issue, not sure why we identify in creating a  container size as 1CPU,  1G RAM in chatflow while it does not takes this values as below

Indeed we do not ask for a host name in the chatflow. will add it to next iteration.
these are hardcoded values. we do not take them as input.

@Pishoy you are running a container. Which means your usual tool like free, df ,... will show the total resource of the bare metal. So what you see if expected.

https://github.com/threefoldtech/jumpscaleX_libs/blob/development/JumpscaleLibs/clients/explorer/models/tfgrid_workloads_reservation_container_1.toml
Container model has no hostname attribute, so if updated the schema, should be updated on the receiver side as well.

needs feature request to ZOS as hostname can't be changed within the container.


JSON output mode

The JSON output mode requires a special handler class and handler interface. The handler contains methods to add data to the JSON response, and error messages, as well as a serialization method that is called by PHP when the object is encoded as JSON that will return the correct array, when the Output component is outputting data to the SAPI.
Part of slaxweb/framework#137

Resolved.


Incorrect branch names in newly spawned jobs

Hi,
As part of gradle switches I entered the following...
-DjenkinsUrl=http://forge:8080 -DgitUrl=git@scm:product/platform -DtemplateJobPrefix=MINT_Platform_3.7 -DtemplateBranchName=develop -DbranchNameRegex=.*/v37/feature/MINT-.+ -DjenkinsUser=xxxx -DjenkinsPassword=xxxx -DstartOnCreate=true -DnestedView=Wolverine
The branches matching my regex are correctly identified:
10:05:53 executing command: git ls-remote --heads git@scm:product/platform
10:05:54 	  944bdbc4c66082be384ebc9b697c9926e39b5cab	refs/heads/develop
10:05:54 	  0de938a7a5838d411ffef4d5bbc009c1c30344ba	refs/heads/feature/MINT-1328-sam-lifecycle
10:05:54 	  c4ab58609decebf671dce70b4467cde7932c19b8	refs/heads/feature/MINT-1330
10:05:54 	  b196866cb62053d7d0fa93912e1a0ba83855218c	refs/heads/feature/MINT-1331
10:05:54 	  fd599c0905d3ddd107d75eaedbdc5b1e7560bcf5	refs/heads/feature/MINT-1353
10:05:54 	  7d4ab98cdc85f1f041e1a70b7cb909c5d128035a	refs/heads/feature/MINT-1368
10:05:54 	  a8fbcce869520885e6c1b30f169ec55df74a0679	refs/heads/feature/MINT-1371
10:05:54 	  7d3014bb13d9cd4a8bfa54fa6d4aa2b4b2764585	refs/heads/feature/MINT-1378
10:05:54 	  cbe8b0f5522768b461294323d47c9bd1bb7b2064	refs/heads/feature/MINT-1390
10:05:54 	  588fcaf5b5a6250cd385307f68b7c86f41bbfd4d	refs/heads/feature/MINT-1441
10:05:54 	  20bd990fd9d73eedff844720f9ac6e8e2eeefc02	refs/heads/feature/MINT-1449
10:05:54 	  650e91c29d654b6af2c5916a7ae900497143a1cf	refs/heads/feature/MINT-1453
10:05:54 	  b6435fb2f799f4d5cdbe63984a7ceb8e8afe9fba	refs/heads/feature/MINT-357
10:05:54 	  73a7f87688f55ca7f8dd8d036ece169f2148a0d7	refs/heads/master
10:05:54 	  a6b089d8cce683aed85becb5dcff02233a9aa98d	refs/heads/support/v3.5
10:05:54 	  3e59d628d6d4f3f867af58a04333d328af7b6ead	refs/heads/support/v3.7
10:05:54 	  caee7b0054754cd9d6db0aba6929c826840677b4	refs/heads/support/v37/develop
10:05:54 	* d5583f156a64528b57177c7f0b116b3803d2d400	refs/heads/support/v37/feature/MINT-1329
10:05:54 	* c169316ba713071968f315dfb6d4e32de241cf17	refs/heads/support/v37/feature/MINT-1446
10:05:54 	* 8af32416ac0ddf63a03ab2476d74d8964358bac2	refs/heads/support/v37/feature/MINT-1452
See the ones marked in asterix....
However the newly spawned jobs show the following as their branch specifiers
support/v37/support/v37/feature/MINT-1329
support/v37/support/v37/feature/MINT-1446
support/v37/support/v37/feature/MINT-1452
Notice that support/v37 occurs twice as part of the branch specifier on the newly created jobs. I think this is a bug.
Thanks!

@sherabi Did you ever resolve this? I've never seen this nor have there been any other reports of this.

Hi James,
I was able to eventually figure this out by reading your code. Essentially the job name is where you parse the branch name from. This really should be changed to instead read the configuration file because it renders the branch field in the jenkins job useless. I can put in any branch name in the build job and it could be a dummy branch name since the branch name your code is really concerned with is actually in the name of the build job.

Can you provide a link (to the source in GitHub) where you think the error is?

Or even better, write a test that exposes the error?


[FEATURE REQUEST] : Add profile page of a user

Description
Is your feature request related to a problem? Please describe.
As currently there is no profile page, we can add a profile page as the user login and signup feature is already there.
Additional Notes (optional)
I would like to work on it under gssoc'23

I will take care of this.