Add script to generate Excel-importable tsv report

Small script that parses a directory (i.e. BB root in this repo) and generates a tab-separated value text file with BB contents that can be imported into Excel.

Stimmt, sorry ….
From: Daniel @.>
Sent: 28 November 2024 13:56
To: CSA-FEDERATE/Proposed-BuildingBlocks @.>
Cc: Subscribed @.***>
Subject: [EXTERNAL] [CSA-FEDERATE/Proposed-BuildingBlocks] Add script to generate Excel-importable tsv report (PR #40)
Small script that parses a directory (i. e. BB root in this repo) and generates a tab-separated value text file with BB contents that can be imported into Excel. You can view, comment on, or merge this pull request online at: https: //github. com/CSA-FEDERATE/Proposed-BuildingBlocks/pull/40
Small script that parses a directory (i.e. BB root in this repo) and generates a tab-separated value text file with BB contents that can be imported into Excel.

You can view, comment on, or merge this pull request online at:
https://github.com/CSA-FEDERATE/Proposed-BuildingBlocks/pull/40https://urldefense.com/v3/__https:/github.com/CSA-FEDERATE/Proposed-BuildingBlocks/pull/40__;!!Oq50-tQ!qWn7NbpdsTz4gb2uP09OxwLFdZ0QbGZ4CJ0W4wLBGrFUQTCqswFSne2Yw80kambJCux__4zDXGQqiFT3UsDMMgNQYkqO$
Commit Summary

0745a2chttps://urldefense.com/v3/__https:/github.com/CSA-FEDERATE/Proposed-BuildingBlocks/pull/40/commits/0745a2c390332daca6d736887182e19e0d5e6d57__;!!Oq50-tQ!qWn7NbpdsTz4gb2uP09OxwLFdZ0QbGZ4CJ0W4wLBGrFUQTCqswFSne2Yw80kambJCux__4zDXGQqiFT3UsDMMqI2OVsz$ Add script to generate Excel-importable tsv report

File Changes
(1 filehttps://urldefense.com/v3/__https:/github.com/CSA-FEDERATE/Proposed-BuildingBlocks/pull/40/files__;!!Oq50-tQ!qWn7NbpdsTz4gb2uP09OxwLFdZ0QbGZ4CJ0W4wLBGrFUQTCqswFSne2Yw80kambJCux__4zDXGQqiFT3UsDMMtgroMQt$)

A other/scripts/generate_tsv.shhttps://urldefense.com/v3/__https:/github.com/CSA-FEDERATE/Proposed-BuildingBlocks/pull/40/files*diff-7c86bab9dc7ace21fd4a8d0367d2c98bce2a3a7c7ce97dc67bffc55b728edb7b__;Iw!!Oq50-tQ!qWn7NbpdsTz4gb2uP09OxwLFdZ0QbGZ4CJ0W4wLBGrFUQTCqswFSne2Yw80kambJCux__4zDXGQqiFT3UsDMMrIC-8Im$ (117)

Patch Links:

https://github.com/CSA-FEDERATE/Proposed-BuildingBlocks/pull/40.patchhttps://urldefense.com/v3/__https:/github.com/CSA-FEDERATE/Proposed-BuildingBlocks/pull/40.patch__;!!Oq50-tQ!qWn7NbpdsTz4gb2uP09OxwLFdZ0QbGZ4CJ0W4wLBGrFUQTCqswFSne2Yw80kambJCux__4zDXGQqiFT3UsDMMnqBuvUj$
https://github.com/CSA-FEDERATE/Proposed-BuildingBlocks/pull/40.diffhttps://urldefense.com/v3/__https:/github.com/CSA-FEDERATE/Proposed-BuildingBlocks/pull/40.diff__;!!Oq50-tQ!qWn7NbpdsTz4gb2uP09OxwLFdZ0QbGZ4CJ0W4wLBGrFUQTCqswFSne2Yw80kambJCux__4zDXGQqiFT3UsDMMgDpJDR7$

—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/CSA-FEDERATE/Proposed-BuildingBlocks/pull/40__;!!Oq50-tQ!qWn7NbpdsTz4gb2uP09OxwLFdZ0QbGZ4CJ0W4wLBGrFUQTCqswFSne2Yw80kambJCux__4zDXGQqiFT3UsDMMgNQYkqO$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BHKAUV5ENNZIV6I6WGMF5SL2C4HFJAVCNFSM6AAAAABSVCOCZGVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4YDEMBWHE3TQMI__;!!Oq50-tQ!qWn7NbpdsTz4gb2uP09OxwLFdZ0QbGZ4CJ0W4wLBGrFUQTCqswFSne2Yw80kambJCux__4zDXGQqiFT3UsDMMt6gxkE-$.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>

Added a python version of this script. I think it is better to use python to be consistent with the readme_generator script which is already written in python.


[BUG] Can't create session when the connection is closing

Describe the bug
While enqueue event into event hub, at the high load period times I received a log of error message via application insight and also weblog
System.InvalidOperationException. Details: Can't create session when the connection is closing..    at Microsoft.Azure.Amqp.AmqpConnection.AddSession(AmqpSession session, Nullable`1 channel)
   at Microsoft.Azure.Amqp.AmqpConnection.CreateSession(AmqpSessionSettings sessionSettings)
   at Microsoft.Azure.EventHubs.Amqp.AmqpEventDataSender.CreateLinkAsync(TimeSpan timeout)
   at Microsoft.Azure.Amqp.FaultTolerantAmqpObject`1.OnCreateAsync(TimeSpan timeout)
   at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan timeout)
   at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan timeout)
   at Microsoft.Azure.EventHubs.Amqp.AmqpEventDataSender.OnSendAsync(IEnumerable`1 eventDatas, String partitionKey)
   at Microsoft.Azure.EventHubs.Amqp.AmqpEventDataSender.OnSendAsync(IEnumerable`1 eventDatas, String partitionKey)
   at Microsoft.Azure.EventHubs.EventDataSender.SendAsync(IEnumerable`1 eventDatas, String partitionKey)
   at Microsoft.Azure.EventHubs.EventHubClient.SendAsync(IEnumerable`1 eventDatas, String partitionKey)

I do found another bug reported in here and try to update Microsoft.Azure.EventHubs from version 3.0.0 to version 4.3.0 and still see the issue occur
https://github.com/Azure/azure-sdk-for-net/issues/8761#issue-522435467

In addition, currently, we already have a retry logic for  EventHubsException not sure that we should add retry logic for this InvalidOperationException exception
This could be a critical issue for us in case this exception cause lose events

Thank you for your feedback.  Tagging and routing to the team best able to assist.

Exception doesn't cause message loss. Does it recover if you retry?

This issue is fixed in release 4.3.1 below.
https://www.nuget.org/packages/Microsoft.Azure.EventHubs/4.3.1


Switch the --json_streams flag to an enumeration

I realize we just merged this feature yesterday, but it has worked so well for the gulp plugin that I also would like to use it for the grunt plugin as it completely mitigates problems with windows command length restrictions.
However, if both stdin and stdout are json streams, the plugin has to recreate much of the functionality of the CommandLineRunner in regards to smartly parsing sourcemap, module and output file flags. This is further complicated if a flagfile is used.
By allowing control of input/output streams independently, build systems can choose to allow the compiler to handle these tasks.

Done. Commits squashed.

Sure did - nice catch.


Ci/badges

This PR adds the following badges to the main README:

Build Status (e.g. passing)
Test Coverage %

See example screenshot below:

retest this please


#6879: added yolov8 unit tests

This is a draft PR containing unit tests for the ops in YoloV8 model.

Ankit, please run the black and reformat the files.


Not ready for self hosting (?)

Not sure if documentation is lacking this or the project still don't consider this options.
I don't want to use Deno Deploy, I want to deploy to my own server, for this a want to know two things:

How to set a basepath? My project will be hosted in a subpath of my site.
How to run in production mode? I see a refresh.js script waiting for events, I don't want this in production and I cannot find how to disable it.

to disable production mode, set en environment variable DENO_DEPLOYMENT_ID
see related https://fresh.deno.dev/docs/concepts/deployment#docker and https://github.com/denoland/fresh/issues/535#issuecomment-1193080186

to disable production mode, ...
I think you meant enable

In your deno.json you can do something like this:
  "tasks": {
    "start": "deno run -A --watch=static/,routes/ dev.ts",
    "reload": "deno run -A --watch=static/,routes/ --reload dev.ts",
    "run": "DENO_DEPLOYMENT_ID=$(git rev-parse --short HEAD) deno run -A main.ts"
  },

Then I use pm2 to launch, manage and log my deno task run process.

as sylc commented, it was described in docs. close for now but feel free to make PR if docs seems unfriendly for you.


Returning default value

Hey, can you please update the code to send in a default value if an object is not found using the get function.
The function "get" under dpath/util.py can be changed as mentioned below to achieve it
def get(obj, glob, separator="/", default = None):
"""
Given an object which contains only one possible match for the given glob,
return the value for the leaf matching the given glob.
If more than one leaf matches the glob, ValueError is raised. If the glob is
not found, KeyError is raised.
"""
ret = None
for item in search(obj, glob, yielded=True, separator=separator):
if ret is not None:
raise ValueError("dpath.util.get() globs must match only one leaf : %s" % glob)
ret = item[1]
if ret is None:
if (default != None):
ret = default
else:
raise KeyError(glob)
return ret

would be cool indeed to be able to specify a default value instead of a KeyError


EOS Support

Has any consideration been given to support for Exactly-Once-Semantics? As far as I know presently no Node client supports EOS features (idempotent producer, producer/consumer transactions). If EOS is not on the roadmap today one might at least establish the level of effort required to implement these features and how they would effect the existing API.
If there's some way I can help establish the LoE please let me know :)

Hi @ianwsperber, we are wrapping up the work on version 1.4.0, which introduce Kafka v0.11 support, the infrastructure for EOS is implemented in this version. After the release, idempotent producers are our next priority. I will create a project for idempotent producers with issues describing the work needed.

Ok, glad to hear it's on the roadmap @tulios! Having a project & tickets would be super helpful for me, as I'm trying to get a grasp on when I might expect to have transactions available in Node. If you could update this thread when the project has been created I'd appreciate it! Thanks.

Awesome, thanks @tulios! The team I'm working with has a need for transactions on their project. Would you accept PRs to implement these protocols? We may have some bandwidth to help.

Of course :D
Right now I'm reading how the APIs should interact and how we should implement the producer, I'm trying to create the remaining issues, but your help would be much appreciated.


Non-dry-run mode for opt-out data migration script

Summary
Added an option to run on actual database
Test Plan
Run the following on staging and it seems to work fine.
npm run ts-node src/requirements/admin/opt-out-data-migration.ts -- --run-on-db

Migration completed!


Hello World in Arabic

What does the program do ?
show "hello world" in Arabic.
In what programming language it is written?
PHP

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


fix dockerfile

Description
The Dockerfile should run make install to download and compile the RAVEN hydrological model and OSTRICH. This creates binary executables that are essential to the services.
Is it possible to run the test suite when the docker image is built and report errors ?

Should we add in the __init__.py a check to make sure the binary is there ?

Should we add in the __init__.py a check to make sure the raven and ostrich binaries are there ?

This is a great idea.

Is it possible to run the test suite when the docker image is built and report errors ?

We can add extra steps in the Dockerfile to run the test suite.  Is the test suite able to run outside the checkout dir to test the "real world"?

Will take care of the init then pass you the puck for the docker file.
Not sure I understand what you mean. We just want to make sure that the docker build is functional. Whether it is well integrated in the platform will be the job of the notebook tests.

The init checks are already there... I don't understand why they didn't raise an error.

Argh ! Got it.

Not sure I understand what you mean. We just want to make sure that the docker build is functional. Whether it is well integrated in the platform will be the job of the notebook tests.

I was thinking instead of writing new tests, can we just reuse some or most of the unit tests suite but running at the end of the docker build.  But those unit tests must be able to run from the installed binaries, not from the code inside the checkout.
Just an idea ... might not work.
What's are the minimal tests to confirm  the docker build is functional?

If pytest tests/ runs with no error, then everything is functional. It means the binaries were installed correctly. But we probably don't want to have to run those tests every time we launch the container, just when we build.

Note that we'd need to install pytest and pytest-dependency before running the test suite.


Create "dcp-updates" doc at the top level to use as a "Release Notes" placeholder.

@NoopDog, recreate in DP.


Handle badly formatted JSON-LD data.

Some web pages contain badly formatted JSON-LD data, e.g., an example
The JSON-LD in this page is:

{
  "@context": "http://schema.org",
        "@type": "Product",
                "name": "Black 'Clint' FT0511 cat eye sunglasses",
                "image": "https://debenhams.scene7.com/is/image/Debenhams/60742_1515029001",
		"brand": {
                  "@type": "Thing",
                  "name": "Tom Ford"
                },
                "offers": {
                	"@type": "Offer",
                	"priceCurrency": "GBP",
                	"price": "285.00",
                	"itemCondition": "http://schema.org/NewCondition",
                	"availability": "http://schema.org/InStock"
                }
    }
}

In the JSON-LD above, the last } is extra. And extruct or json.loads won't handle it properly.
The json.loads in Python after 3.5 will give detailed error information as JSONDecodeError: Extra data: line 19 column 1 (char 624)
In [7]: try:
   ...:     data = json.loads(json_ld_string)
   ...: except json.JSONDecodeError as err:
   ...:     print(err)
   ...:     print(err.msg)
   ...:     print(err.pos)
   ...:
Extra data: line 19 column 1 (char 624)
Extra data
624

The error.msg and error.pos can give some hint to fix the JSON-LD data, e.g., this one we can remove the character at position 624 and parse the data string again to correctly get:
{'@context': 'http://schema.org',
 '@type': 'Product',
 'brand': {'@type': 'Thing', 'name': 'Tom Ford'},
 'image': 'https://debenhams.scene7.com/is/image/Debenhams/60742_1515029001',
 'name': "Black 'Clint' FT0511 cat eye sunglasses",
 'offers': {'@type': 'Offer',
            'availability': 'http://schema.org/InStock',
            'itemCondition': 'http://schema.org/NewCondition',
            'price': '285.00',
            'priceCurrency': 'GBP'}}

There're many possible format errors and some can be fixed easily some might be harder or even impossible.
I propose 3 ways to improve the situation:

extruct try various ways to fix the json-ld data case by case, but need to adapt to Python >= 3.5 to allow to get detailed error info
extruct allow the user to pass in a function to parse JSON data, and let the user to handle his own possible error types
extruct can output the extracted JSON-LD string not parsed data and let the user to parse and handle his own possible error types

I personally recommend the latter 2 ways.
Thanks.

I guess this provides more motivation for https://github.com/scrapinghub/extruct/pull/69/, though I'd prefer json decoding function to be an argument, not a global option.
Providing something which handles more cases by default makes sense to me, though we may start just with having a good example in README.

I also wonder if other libraries like demjson or yajl can handle it (see http://deron.meranda.us/python/demjson/demjson-2.2.4/docs/demjson.html#-decode - it seems there is an option to return data after the error).

Updated JSON-Ld can autocorrect badly formatted JSON.


Failed to run config for neogit: attempt to call field 'nvim_get_hl' (a nil value)

Description
Since 0e09bca, the following error has appeared on startup of neovim when using lazy.nvim:
Failed to run `config` for neogit
...username/.local/share/nvim/lazy/neogit/lua/neogit/lib/hl.lua:40: attempt to call field 'nvim_get_hl' (a nil value)
# stacktrace:
  - /neogit/lua/neogit/lib/hl.lua:40 _in_ **get_bg**
  - /neogit/lua/neogit/lib/hl.lua:49 _in_ **make_palette**
  - /neogit/lua/neogit/lib/hl.lua:98 _in_ **setup**
  - /neogit/lua/neogit.lua:39 _in_ **setup**
  - minimal-init.lua:20 _in_ **config**
Press ENTER or type command to continue
  - minimal-init.lua:15
Press ENTER or type command to continue

Neovim version
NVIM v0.9.0-dev-1135+g419819b62
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Operating system and version
Arch Linux
Steps to reproduce

nvim -nu minimal.lua
Error appears on startup

Expected behavior
Error shouldn't appear
Actual behavior
Error appears
Minimal config
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
    vim.fn.system({
        "git",
        "clone",
        "--filter=blob:none",
        "https://github.com/folke/lazy.nvim.git",
        "--branch=stable", -- latest stable release
        lazypath,
    })
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
	"NeogitOrg/neogit",
	dependencies = "nvim-lua/plenary.nvim",
	commit = "0e09bca", -- this commit and later are broken; 17cbd3d and earlier work fine
	config = function()
	    require("neogit").setup()
	end,
})

It seems as you may have a neovim version which does not yet have that feature.
What is the output of:
:lua =vim.api.nvim_get_hl(0, { name = "Normal" })

Ah, same error. I wasn't aware that neovim 0.10 was a new requirement, but I've just compiled 0.10 and all is working now. Thanks!


Remove enforcement of regular chunking in to_zarr

AFAICT, this check for irregular chunking in zarr is no longer needed.  It seems that zarr will automatically rechunk into regular chunks if given irregular chunks.  I'm not sure at what point zarr introduced this.
However, it is not as simple as removing the check.  As written, return_stored=True will return an object claiming the original chunking, not the chunking actually output by zarr.
I've run into this issue because map_overlap, through da.overlap.overlap, will silently create irregular chunking. :/

I suspect that Dask is more able to handle the rechunking than Zarr is.
For example if two Dask processes are writing different parts of the same
chunk from different processes then something needs to make sure that
they're not overwriting each other.  Zarr isn't in a good position to do
this.  I suspect that it is still a good idea for Dask to
automatically rechunk.
On Tue, Jun 1, 2021 at 12:32 AM Chris Roat @.***> wrote:

AFAICT, this check for irregular chunking in zarr
https://github.com/dask/dask/blob/4799c9d1dd9d9af7df1358aea11c4f49f15d3809/dask/array/core.py#L3345
is no longer needed. It seems that zarr will automatically rechunk into
regular chunks if given irregular chunks. I'm not sure at what point zarr
introduced this.
However, it is not as simple as removing the check. As written,
return_stored=True will return an object claiming the original chunking,
not the chunking actually output by zarr.
I've run into this issue because map_overlap, through da.overlap.overlap,
will silently create irregular chunking
https://github.com/dask/dask/blob/4799c9d1dd9d9af7df1358aea11c4f49f15d3809/dask/array/overlap.py#L532.
:/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/7736, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTCFVGAK5HJB47ZB56DTQRWH5ANCNFSM45347VKQ
.

I understand the separation of responsibility between zarr and dask on chunking.  That makes sense -- thanks.  I haven't encountered the use case of separate processes writing out data.
I would disagree with the notion that either should be automatically re-chunking, though I understand how it makes some things easier.


Some questions about trace_parser.py

I would like to ask why the test part of trace data includes the train part, but the cadets and theia data are not processed in the same way.
metadata = {     'trace':{         'train': ['ta1-trace-e3-official-1.json.0', 'ta1-trace-e3-official-1.json.1', 'ta1-trace-e3-official-1.json.2', 'ta1-trace-e3-official-1.json.3'],         'test': ['ta1-trace-e3-official-1.json.0', 'ta1-trace-e3-official-1.json.1', 'ta1-trace-e3-official-1.json.2', 'ta1-trace-e3-official-1.json.3', 'ta1-trace-e3-official-1.json.4']     },     'theia':{             'train': ['ta1-theia-e3-official-6r.json', 'ta1-theia-e3-official-6r.json.1', 'ta1-theia-e3-official-6r.json.2', 'ta1-theia-e3-official-6r.json.3'],             'test': ['ta1-theia-e3-official-6r.json.8']     },     'cadets':{             'train': ['ta1-cadets-e3-official.json','ta1-cadets-e3-official.json.1', 'ta1-cadets-e3-official.json.2', 'ta1-cadets-e3-official-2.json.1'],             'test': ['ta1-cadets-e3-official-2.json']     } }
Another question is why MemoryObjects and UnnamedPipeObject nodes are not tested as malicious entities.
for e in malicious_entities:             if e in test_node_map and e in id_nodetype_map and id_nodetype_map[e] != 'MemoryObject' and id_nodetype_map[e] != 'UnnamedPipeObject':                 final_malicious_entities.append(test_node_map[e])                 if e in id_nodename_map:                     malicious_names.append(id_nodename_map[e])                     f.write('{}\t{}\n'.format(e, id_nodename_map[e]))                 else:                     malicious_names.append(e)                     f.write('{}\t{}\n'.format(e, e))

因为我们只是丢弃了所有 MemoryObjects 和 UnnamedPipeObjects。我们只考虑文件、进程和网络流：

subject_type = pattern_type.findall(line)
if len(subject_type) < 1:
    if 'com.bbn.tc.schema.avro.cdm18.MemoryObject' in line:
        subject_type = 'MemoryObject'
    if 'com.bbn.tc.schema.avro.cdm18.NetFlowObject' in line:
        subject_type = 'NetFlowObject'
    if 'com.bbn.tc.schema.avro.cdm18.UnnamedPipeObject' in line:
        subject_type = 'UnnamedPipeObject'
else:
    subject_type = subject_type[0]

if uuid == '00000000-0000-0000-0000-000000000000' or subject_type in ['SUBJECT_UNIT']:
    continue
id_nodetype_map[uuid] = subject_type
if 'FILE' in subject_type and len(pattern_file_name.findall(line)) > 0:
    id_nodename_map[uuid] = pattern_file_name.findall(line)[0]
elif subject_type == 'SUBJECT_PROCESS' and len(pattern_process_name.findall(line)) > 0:
    id_nodename_map[uuid] = pattern_process_name.findall(line)[0]
elif subject_type == 'NetFlowObject' and len(pattern_netflow_object_name.findall(line)) > 0:
    id_nodename_map[uuid] = pattern_netflow_object_name.findall(line)[0]

Sorry for not seeing your reply in time. For MemoryObjects and UnnamedPipeObjects type nodes, it is noted that they are still used as entities in the provenance graph for training and testing, but are not identified as malicious nodes during testing. I would like to know what the basis for this is.

Node type consistency between training and test set is expected but we have to admit that the current setting is contrary to what we previously believe to be. MemoryObjects and UnnamedPipeObjects nodes are supposed to be removed from the training set.
Honestly speaking, I don't believe anybody is able to identify which MemoryObjects and UnnamedPipeObjects are exactly malicious from the DARPA TC groundtruth document, also I don't know how the ThreaTrace team managed to label them. But for the sake of consistency and for reference, we immediately performed two training-from-scratch evaluations on E3-Trace:

MemoryObjects and UnnamedPipeObjects nodes appearing in both training and test setAUC: 0.999937585589607
F1: 0.992804286807859
PRECISION: 0.986353956917906
RECALL: 0.999339536795139
TN: 615055
FN: 45
TP: 68089
FP: 942
#Test_AUC: 0.9999±0.0000

MemoryObjects and UnnamedPipeObjects removed from both set.AUC: 0.9997069102380969
F1: 0.9997429433075163
PRECISION: 0.9998384063932307
RECALL: 0.9996474994492179
TN: 40137
FN: 24
TP: 68061
FP: 11
#Test_AUC: 0.9997±0.0000

Additionally, removing these nodes greatly speeds up MAGIC, making it even more time and memory-efficient.

Thank you for your patient reply.


drop in numbers for autosomal dominent and recessive after migration (DO>MONDO)

i.e.

A drop in number means that a gene product which used to map to this grouping term by propagation no longer does.
You can see the current inferences here
https://www.pombase.org/term/DOID:0050737
and here
https://www.pombase.org/term/DOID:0050736
(NOTE:  these pages will disappear after we switch which should. be quite soon)

@ValWood
Sorry I wasn't able to get to this ticket sooner, the links above no longer work. Not sure how to address this.
cc @cmungall

I saved the lists before we migrated, but they are only pombe gene name lists now.
autosomal dominent.txt
autosomal recessive.txt
I need to do diffs on the current  lists, and then ask @kimrutherford to extract the
disease associations for us.

I need to do diffs on the current lists, and then ask @kimrutherford to extract the
disease associations for us.

Ok, thanks!

@ValWood is there still action needed here?

I'm happy for it to close. I just wondered why many diseases which had these ancestors in DO no longer have the., but perhaps they were incorrect?


Fix race condition with isLoading in use-data.hook.ts

Describe the bug
When changing BCV repeatedly, the resource viewer will occasionally get stuck showing Loading instead of the right part of scripture.  It appears to be related to the isLoading flag in this part of the resource-viewer.web-view.tsx:
  return (

      {isLoading ? (
        'Loading'
      ) : (


Flag to disable front integration

Add a flag to disable the front.
Flag: --no-web-interface

@meilisearch/integration-team is this still something we want to do?

It could be great when you are running MeiliSearch in production.

I will write the spec :)

I just came by to say: +1


Logo change for the website

@techy1999 hi, please explain this issue, do you want another route for resetting the password? what field this form should have?

No ,this is for creating some beautiful logo for nomads.
Idea behind logo.

nomads.solution text should be there
With background image something like things like book
circular in share would look good. @Sky-De

https://github.com/techy1999/BlogFrontend/issues/121 check this for route for resetting the password?


maintainers/build: skip packages that don't evaluate

Motivation
build.nix fails when it selects packages that have disabled Python pkgs (like with disabled = !isPy3k;) as dependencies.
Example
nix-build --show-trace  maintainers/scripts/build.nix --argstr maintainer earvstedt
# Output
error: ... while evaluating ... 'python2.7-djangoql-0.14.0'
...
Django-2.2.15 not supported for interpreter python2.7

Explanation:
python27Packages.djangoql is not disabled but has the disabled Py3k-only dependency django.
Discussion
To check which pkgs should be built, build.nix only evaluates the meta.maintainers attribute of each pkg.
If the maintainer doesn't match or if evaluation of meta.maintainers fails, the package is skipped.
When a pkg is selected to be built but one of its dependencies is disabled the build fails.
The workaround to skip all packages whose closure doesn't evaluate is not ideal as this may ignore actual package defects.
But most of these potential eval failures should already get caught by ofborg before merging.
This is relevant for ZHF: #97479
I'll add a backport in case this PR gets merged.

This is relevant for ZHF: #97479

Sorry, I don't think I'm qualified to review this change.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/should-we-conditionally-disable-dependees-of-conditionally-disabled-python-packages/8988/1

Mine was not working as intended, this seems to have the desired behavior.
Thanks @erikarvstedt


E5RT: Failed to PropagateInputTensorShapes ios18.mul error when use export example in the preview branch

I have used export example in the preview branch of [swift-transformer](https://github.com/huggingface/swift-transformers.
When I use the line to load model let model = try MLModel(contentsOf: url, configuration: config),
it will throw error:
E5RT encountered an STL exception. msg = Failed to PropagateInputTensorShapes: std::invalid_argument during type inference for ios18.mul: Shapes are not compatible for broadcasting..
E5RT: Failed to PropagateInputTensorShapes: std::invalid_argument during type inference for ios18.mul: Shapes are not compatible for broadcasting. (11)
Failure translating MIL->EIR network: std::bad_cast
[Espresso::handle_ex_plan] exception=Espresso exception: "Network translation error": Unknown MIL->EIR network translation error: std::bad_cast status=14
Failed to build the model execution plan using a model architecture file '/.../hf-compiled-transformers/StatefulMistral7BInstructInt4.mlmodelc/model.mil' with error code: 14.

@junpeiz

Which MacOS are you using? Could you try it on the latest OS to see if the issue still persists?

Yes, it is the latest macOS, 15.1 Developer Beta 6 (24B5070a)

I verified that the model loading works well on my side by following steps:

Download StatefulMistral7BInstructInt4.mlpackage from https://huggingface.co/apple/mistral-coreml
Clone swift transformer repo git clone -b preview https://github.com/huggingface/swift-transformers
Run by Python interface python3 generate.py Examples/Mistral7B/StatefulMistral7BInstructInt4.mlpackage --prompt "Best recommendations for a place to visit in Paris in August 2024:"

Did you download the CoreML model directly from https://huggingface.co/apple/mistral-coreml, or you do the conversion yourself by following steps in https://huggingface.co/blog/mistral-coreml? Could you share more detailed steps about how to reproduce the error? Thanks!

Yes. if I downloaded from Hugging Face, it could be work. But when I want to using the export.py example in hugging face, it will report the error.
My target is changing the input context limitation, that's why I want to use the export.py in preview branch of swift-transformer.

I would recommend to try it with the unmodified export.py with the latest coremltools (8.0) and transformers.
If it doesn't work, it means a regression in coremltools/transformers stack.
If it works, but doesn't work after you modifying the context length, I can help to triage it to see if it's something that needs to be fixed in CoreML Framework.

Yes. I keep it no change, the last trail I do not change the context length, using original code, it still report the same error.

Hey @frogcjn , could you try to install the following versions of packages
coremltools==8.0
torch==2.4.0
transformers==4.45.2

And then run the following command
python export.py

python generate.py StatefulMistral7BInstructInt4.mlpackage --prompt "Best recommendations for a place to visit in Paris in August 2024:"

to see if it can successfully generate text on your side? I verified it on my side that it worked. Thanks!

Hi @junpeiz, I have tried.
python generate.py StatefulMistral7BInstructInt4.mlpackage --prompt "Best recommendations for a place to visit in Paris in August 2024:"

would work for python generate.py ..., it will generate:
python generate.py StatefulMistral7BInstructInt4.mlpackage --prompt "Best recommendations for a place to visit in Paris in August 2024:"
tokenizer_config.json: 100%|██████████████████| 141k/141k [00:00<00:00, 150MB/s]
tokenizer.model: 100%|███████████████████████| 587k/587k [00:00<00:00, 4.97MB/s]
tokenizer.json: 100%|██████████████████████| 1.96M/1.96M [00:00<00:00, 15.4MB/s]
special_tokens_map.json: 100%|█████████████████| 414/414 [00:00<00:00, 1.21MB/s]
loc("/Users/frogcjn/Library/Caches/python/com.apple.e5rt.e5bundlecache/24B5070a/0CACF4FCB21CDB69A735283553E73DAC2065DDACB23DA71D81D23146129F11CE/F3974406D092E8D35FD061F6D72241D5DFEFB2459BC9B91023817E404C4EE17A.bundle/H14G.bundle/main/main_mps_graph/main_mps_graph.mpsgraphpackage/model_0.mpsgraph":0:0): error: attempting to parse a byte at the end of the bytecode
<s> Best recommendations for a place to visit in Paris in August 2024:

1. Eiffel Tower: A must-visit attraction in Paris, the Eiffel Tower offers stunning views of the city. In August 2024, you can expect a lively atmosphere, especially during the evening when the tower sparkles.

2. Louvre Museum: Home to thousands of works of art, including the Mona Lisa and the Winged Victory of Samothrace, the Louvre is a cultural gem. It's advisable to book tickets in advance to avoid long queues.

3. Palace of Versailles: Located just outside of Paris

but still not work for let model = try MLModel(contentsOf: url, configuration: config) in Swift Projects

@junpeiz
After successfully using the export.py converting model, I conducted a test. Here are the key findings:
When we set the max_context_size:
(1)from 2048 to 16384, it would fine both in Python python generate.py and Swift  try MLModel(contentsOf: url, configuration: config)
(2) greater or equal to 32768, it would report error both in Python and Swift:
python generate.py StatefulMistral7BInstructInt4-context32768.mlpackage --prompt "Best recommendations for a place to visit in Paris in August 2024:"
Traceback (most recent call last):
  File "/Users/username/Documents/Projects/GitHub/swift-transformers/Examples/Mistral7B/generate.py", line 82, in <module>
    extend_text: str = generate(
  File "/Users/username/Documents/Projects/GitHub/swift-transformers/Examples/Mistral7B/generate.py", line 68, in generate
    for i, token in enumerate(get_next_token(model, prompt_tokens=prompt_tokens.astype(np.int32))):
  File "/Users/username/Documents/Projects/GitHub/swift-transformers/Examples/Mistral7B/generate.py", line 44, in get_next_token
    kv_cache_state = model.make_state()
  File "/Users/username/.pyenv/versions/3.10.13/lib/python3.10/site-packages/coremltools/models/model.py", line 808, in make_state
    return MLState(self.__proxy__.newState())
AttributeError: 'NoneType' object has no attribute 'newState'

E5RT encountered an STL exception. msg = Failed to PropagateInputTensorShapes: std::runtime_error during type inference for ios18.slice_by_index: zero shape error.
E5RT: Failed to PropagateInputTensorShapes: std::runtime_error during type inference for ios18.slice_by_index: zero shape error (11)
Failure translating MIL->EIR network: std::bad_cast
[Espresso::handle_ex_plan] exception=Espresso exception: "Network translation error": Unknown MIL->EIR network translation error: std::bad_cast status=14
Failed to build the model execution plan using a model architecture file '/Users/username/Library/Application Support/hf-compiled-transformers/StatefulMistral7BInstructInt4-context32768.mlmodelc/model.mil' with error code: 14.
No model could be loaded: Error Domain=com.apple.CoreML Code=0 "Failed to build the model execution plan using a model architecture file '/Users/username/Library/Application Support/hf-compiled-transformers/StatefulMistral7BInstructInt4-context32768.mlmodelc/model.mil' with error code: 14." UserInfo={NSLocalizedDescription=Failed to build the model execution plan using a model architecture file '/Users/username/Library/Application Support/hf-compiled-transformers/StatefulMistral7BInstructInt4-context32768.mlmodelc/model.mil' with error code: 14.}


Remove YAML tags from CM output

What "adaptForSaltYamlTypes" does is pass a string to the "java.lang.String" constructor. No point in that, use the argument string directly.

👍  looks good and doesn't break org.apache.brooklyn.entity.cm.salt.HighstateTest, which includes use of the "!!python/unicode" form; merging.


[Table] Send event object after click, hover, hoverOut on cell.

Since I couldn't find onClick event on my table I made something own. If you like it, merge it ;) Cheers!
(if you have some solution to make this PR useless let me know!)

modified:   src/table/table-body.jsx
modified:   src/table/table.jsx

@MaronMariusz That sounds like a good idea to propagate the event object.

@MaronMariusz Could you take into account my comments? I think that we can merge this PR then.

Hi, I changed e to event and we can :shipit:

@MaronMariusz That looks good, thanks!
However, expect the argument order to change in future release, we will try to stay coherent and to keep event as the first parameter.


Hyprland crashes with

Hyprland Version
 System/Version info
[I] bongo@laptop ~> hyprctl systeminfo
Hyprland, built from branch  at commit 15316aaa311ce27982d4df3c9514f042290853a3  ().
Date: 2024-02-01
Tag:

flags: (if any)

System Information:
System name: Linux
Node name: laptop
Release: 6.1.74
Version: #1-NixOS SMP PREEMPT_DYNAMIC Sat Jan 20 10:50:11 UTC 2024

GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Mendocino [1002:1506] (rev c1) (prog-if 00 [VGA controller])

os-release: BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20240121.612f972"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"

plugins:

Bug or Regression?
Bug
Description
Hyprland crashes when windows are resized to minimum
How to reproduce
use the version of hyprland i am on and try resizing windows as small as possible. (it requires extra windows and weird resizing but easily possible). it just crashes when they get too small.
Crash reports, logs, images, videos
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
Environment variable $QT_QPA_PLATFORMTHEME not set, ignoring.
Environment variable $QT_QPA_PLATFORMTHEME not set, ignoring.
[032 18:19:51.841856] [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.UnknownMethod] No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[032 18:19:51.845629] [PARSE ERROR] Unknown OSC code: 708
[032 18:19:52.058436] [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.UnknownMethod] No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[032 18:19:52.063006] [PARSE ERROR] Unknown OSC code: 708
[032 18:19:52.230493] [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.UnknownMethod] No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[032 18:19:52.236907] [PARSE ERROR] Unknown OSC code: 708
*** BUG ***
In pixman_region32_union_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_union_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_union_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_union_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_union_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_union_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_union_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_union_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_union_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
*** BUG ***
In pixman_region32_union_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug
[032 18:19:59.510014] [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.UnknownMethod] No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[032 18:19:59.516280] [PARSE ERROR] Unknown OSC code: 708
[032 18:20:01.592518] [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.UnknownMethod] No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[032 18:20:01.597543] [PARSE ERROR] Unknown OSC code: 708
[032 18:20:02.593026] Ignoring resize request for tiny size: 6x141
[032 18:20:02.613970] Ignoring resize request for tiny size: 1x141
Hyprland: types/xdg_shell/wlr_xdg_toplevel.c:558: wlr_xdg_toplevel_set_size: Assertion `width >= 0 && height >= 0' failed.
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
[032 18:20:02.678676] Invalid geometry ignored: framebuffer: 1x141 window: 1x141
[032 18:20:03.322224] [032 18:20:03.322225] [032 18:20:03.322238] [032 18:20:03.322252] [glfw error 65544]: Wayland: fatal display error: Connection reset by peer[032 18:20:03.322261] [glfw error 65544]: Wayland: fatal display error: Connection reset by peer[glfw error 65544]: Wayland: fatal display error: Connection reset by peer[glfw error 65544]: Wayland: fatal display error: Connection reset by peer
[glfw error 65544]: Wayland: fatal display error: Connection reset by peer

missing crash report

What do you mean? what do i need to add?

https://github.com/hyprwm/Hyprland/blob/main/docs/ISSUE_GUIDELINES.md#reporting-bugs

oh ok i get it. here is
hyprlandCrashReport892881.txt:
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
Calm down, it was a misinput! MISINPUT!

Hyprland received signal 6 (Aborted)

Version: 01e5c59d752d3fe7fa484330fa48e010054b8fa1
Tag:

System info:
	System name: Linux
	Node name: laptop
	Release: 6.1.67
	Version: #1-NixOS SMP PREEMPT_DYNAMIC Mon Dec 11 09:41:01 UTC 2023

GPU:
	03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Mendocino [1002:1506] (rev c1) (prog-if 00 [VGA controller])

os-release:
	BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
	BUILD_ID="23.11.20231212.cf28ee2"
	DOCUMENTATION_URL="https://nixos.org/learn.html"
	HOME_URL="https://nixos.org/"
	ID=nixos
	LOGO="nix-snowflake"
	NAME=NixOS
	PRETTY_NAME="NixOS 23.11 (Tapir)"
	SUPPORT_END="2024-06-30"
	SUPPORT_URL="https://nixos.org/community.html"
	VERSION="23.11 (Tapir)"
	VERSION_CODENAME=tapir
	VERSION_ID="23.11"

Backtrace:
	#0 | /home/bongo/.nix-profile/bin/Hyprland(_Z12getBacktracev+0x48) [0x573f28]
		_Z12getBacktracev
		??:?
	#1 | /home/bongo/.nix-profile/bin/Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x58b) [0x52df9b]
		_ZN13CrashReporter18createAndSaveCrashEi
		??:?
	#2 | /home/bongo/.nix-profile/bin/Hyprland(_Z25handleUnrecoverableSignali+0x3f) [0x4a237f]
		_Z25handleUnrecoverableSignali
		??:?
	#3 | /nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libc.so.6(+0x3da70) [0x7fd702a55a70]
		??
		??:0
	#4 | /nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libc.so.6(+0x8cd7c) [0x7fd702aa4d7c]
		??
		??:0
	#5 | /nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libc.so.6(raise+0x16) [0x7fd702a559c6]
		??
		??:0
	#6 | /nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libc.so.6(abort+0xd7) [0x7fd702a3e8fa]
		??
		??:0
	#7 | /nix/store/bnxmmiv8svr5bjpcap5zv9g7i9dy0liw-gcc-13.2.0-lib/lib/libstdc++.so.6(+0xacc0b) [0x7fd702cacc0b]
		??
		??:0
	#8 | /nix/store/bnxmmiv8svr5bjpcap5zv9g7i9dy0liw-gcc-13.2.0-lib/lib/libstdc++.so.6(+0xbc21a) [0x7fd702cbc21a]
		??
		??:0
	#9 | /nix/store/bnxmmiv8svr5bjpcap5zv9g7i9dy0liw-gcc-13.2.0-lib/lib/libstdc++.so.6(+0xbc285) [0x7fd702cbc285]
		??
		??:0
	#10 | /nix/store/bnxmmiv8svr5bjpcap5zv9g7i9dy0liw-gcc-13.2.0-lib/lib/libstdc++.so.6(+0xbc4d7) [0x7fd702cbc4d7]
		??
		??:0
	#11 | /home/bongo/.nix-profile/bin/Hyprland() [0x463800]
		_Z10throwErrorRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.cold
		??:?
	#12 | /home/bongo/.nix-profile/bin/Hyprland(_ZN11CCompositor10initServerEv+0x5bd) [0x4b612d]
		_ZN11CCompositor10initServerEv
		??:?
	#13 | /home/bongo/.nix-profile/bin/Hyprland(main+0x754) [0x48c764]
		main
		??:?
	#14 | /nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libc.so.6(+0x27fce) [0x7fd702a3ffce]
		??
		??:0
	#15 | /nix/store/9y8pmvk8gdwwznmkzxa6pwyah52xy3nk-glibc-2.38-27/lib/libc.so.6(__libc_start_main+0x89) [0x7fd702a40089]
		??
		??:0
	#16 | /home/bongo/.nix-profile/bin/Hyprland(_start+0x25) [0x4a21e5]
		_start
		??:?

Log tail:
[LOG] Instance Signature: 01e5c59d752d3fe7fa484330fa48e010054b8fa1_1705392926
[LOG] Hyprland PID: 892881
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: laptop
[LOG] Release: 6.1.67
[LOG] Version: #1-NixOS SMP PREEMPT_DYNAMIC Mon Dec 11 09:41:01 UTC 2023

[LOG] GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Mendocino [1002:1506] (rev c1) (prog-if 00 [VGA controller])

[LOG] os-release:
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="23.11.20231212.cf28ee2"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 23.11 (Tapir)"
SUPPORT_END="2024-06-30"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="23.11 (Tapir)"
VERSION_CODENAME=tapir
VERSION_ID="23.11"

[LOG] ========================

[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/

[LOG]
Current splash: Thanks ThatOneCalculator!

[LOG] Creating the HookSystem!
[LOG] Creating the KeybindManager!
[LOG] [hookSystem] New hook event registered: configReloaded
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 59.71µs. Estimated average calc time: 0.09µs.
[LOG] Creating the ConfigManager!
[LOG] NOTE: further logs to stdout / logfile are disabled by default. Use debug:disable_logs and debug:enable_stdout_logs to override this.
[LOG] Creating the CHyprError!
[LOG] [hookSystem] New hook event registered: focusedMon
[LOG] [hookSystem] New hook event registered: preRender
[LOG] Creating the LayoutManager!
[LOG] [hookSystem] New hook event registered: preConfigReload
[LOG] Reloading the config!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 21.47µs. Estimated average calc time: 0.07µs.
[LOG] Using config: /home/bongo/.config/hypr/hyprland.conf
[LOG] Disabling stdout logs! Check the log for further logs.
[backend/backend.c:106] Timeout waiting session to become active
[backend/backend.c:358] Failed to start a DRM session
[CRITICAL] m_sWLRBackend was NULL!
[CRITICAL] Critical error thrown: wlr_backend_autocreate() failed!

this crash doesn't look like whatever you described above. This one was failing to launch because of wlroots failing to create a drm session

Sry, idk... but heres a crappy video to demonstrate (note that this happens CONSISTENTLY, even with no plugins)
https://github.com/hyprwm/Hyprland/assets/111426011/b7cadd02-0ffa-4484-84e2-72f81d6a0287

Thanks so much!


Value are not visible

On this : https://test.mapcontrib.xyz/t/842fcb-Les_magasins#
when you edit a POI you can see value only in "raw mode".

Hi @vinber, and sorry for the delay.
As I can see in that theme, there is 2 custom tags for the shop OSM key...

Plus, both do not have the clothes value:

You have chosen to display the shop tag in a select form but it was designed to provide an exhaustive list of values to the end contributor.
What do you think about display the raw value when the value is unknown?


Build dev : Topic template

Definition of Done

[ ] Prior to doing work, clarify scope of ticket with the designers and adjust if necessary
[ ] Create HTML template
[ ] Template pull request exists and has been approved (not merged) in gcds-examples repository

[ ] https://github.com/cds-snc/gcds-examples/tree/main/templates

[ ] tech lead has reviewed and all good

Acceptance Criteria
The topic template:

[ ] has header
[ ] has footer
[ ] has MENU button
[ ] has section title
[ ] has topic title
[ ] has a topic image (520 x 200)
[ ] has Most requested section with 6 links
[ ] has 9 doormat links (in 3 x 3 layout)
[ ] has a feature image (360 x 203)
[ ] has a feature link
[ ] has On social media section
[ ] Passes storybook a11y test without any violation
[ ] Dev peer reviews

Deliverables

[ ] Proposal guidance handed off to content for review
[ ] EN template content handed off to translation
[ ] Pull request opened, and approved but not yet merged

More info
We are referencing this page: https://servicecanada.github.io/wet-boew-demos/topic-template-demo/templates/topic/topic-en.html

Owner : dev assigned on the card

Definition of done

[ ] Check with DTO if there are upcoming changes (ask designers)
[ ]  write template
[ ]  tech lead has reviewed and all good

Acceptance criteria :
The template has :

[ ] has header
[ ] has footer
[ ] has MENU button
[ ] has section title
[ ] has topic title
[ ] has a topic image (520 x 200)
[ ] has Most requested section with 6 links
[ ] has 9 doormat links (in 3 x 3 layout)
[ ] has a feature image (360 x 203)
[ ] has a feature link
[ ] has On social media section-
[ ] Passes storybook a11y test without any violation
[ ] Dev peer reviews

Deliverables

[ ] Proposal guidance handed off to content for review
[ ] Requirement doc updated
[ ] New branch work, not released
[ ] EN template
[ ] FR Template

@daine  can you tell me if this breakdown would work for a build template card for dev ? thank you

@ClementineHahn I've looked at the ticket over and it looks good, we can consider it groomed

To finish development of the topic template. The grid spacing issue will need to be solved (https://github.com/cds-snc/design-gc-conception/issues/1106)


Cloned PersistentCollection can't be cleared

Here's test case failing on dev-master. The error comes from UoW::scheduleCollectionOwner which was introduced in BETA13 BUT if you run the test on BETA12 you will see it was failing before as well and it is not a regression. (Actually test needs Documents\User modified with addition of setPhonenumbers() method)
<?php

namespace Doctrine\ODM\MongoDB\Tests\Functional\Ticket;

use Documents\Phonenumber;
use Documents\User;

class GH1132Test extends \Doctrine\ODM\MongoDB\Tests\BaseTest
{
    public function testOnwerlessPersistentCollectionCanBeScheduledForDeletion()
    {
        $u = new User();
        $u->getPhonenumbers()->add(new Phonenumber('123456'));
        $this->dm->persist($u);
        $this->dm->flush();

        $u2 = new User();
        $u2->setPhonenumbers(clone $u->getPhonenumbers());
        $u2->getPhonenumbers()->clear();
        $this->dm->persist($u2);
        $this->dm->flush();
        $this->dm->clear();

        $u = $this->dm->find(get_class($u), $u->id);
        $this->assertCount(1, $u->getPhonenumbers());

        $u2 = $this->dm->find(get_class($u2), $u2->id);
        $this->assertCount(0, $u2->getPhonenumbers());
    }
}

By the way I think it's a bit unfortunate that PersistentCollection with empty snapshot schedules itself for deletion when cleared since it's not needed at all.


[Bug Report]: ReferenceError: __filename is not defined

System Info
System:
OS: macOS 13.2.1
CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
Memory: 345.54 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.16.0 - ~/Library/Caches/fnm_multishells/8168_1678870975199/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 8.11.0 - ~/Library/Caches/fnm_multishells/8168_1678870975199/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Browsers:
Chrome: 111.0.5563.64
Firefox: 111.0
Safari: 16.3
Details
When bundling a code such as
const highlightWorker = new Worker(
  /* webpackChunkName: "highlight-worker" */ new URL('./worker.ts', import.meta.url)
);

it generates a code that using __filename even though the target is web.
a = new Worker(new URL("./worker.ts",n("url").pathToFileURL(__filename).toString())))

Reproduce link
No response
Reproduce Steps
create a bundle with an entry of
const highlightWorker = new Worker(
  /* webpackChunkName: "highlight-worker" */ new URL('./worker.ts', import.meta.url)
);

Here is __dirname implement.

In the __dirname implementation we have a codeblock that could be generating the filename, is there a way to determine what is causing the error. As a first time contributor looking at the code the .relative function could be returning an invalid path as well. I am not quite sure though.
"true" => Some(
                self
                  .resource_data
                  .resource_path
                  .parent()
                  .expect("TODO:")
                  .relative(self.compiler_options.context.as_ref())
                  .to_string_lossy()
                  .to_string(),
              ),
              ```

closed at #2342

@sladyn98 I'm also not sure about this, can you open a new issue to track this? Thanks a lot!


fix: Add streaming concurrency tests

This PR adds concurrency testing to new streaming APIs added in PR https://github.com/microsoft/LightGBM/pull/5299.
It also attempts to fix a concurrency issue in SparseBin PushRow API. WIthout this fix, concurrent calls often fail to the LGBM_DatasetPushRowsByCSRWithMetadata API.

This PR is 99% new CPP tests, which pass on the pipeline.  I'm not sure why there are so many other pipeline failures (first commit showed no such failures).  The 1-line change in production code seems to be innocuous for python tests, but feel free to tell me otherwise.
Although this helps with concurrency failures locally, we'll need to test this change further once checked in.  We have a concurrency failure that we only see in our CI Linux tests.

I'm not sure who "we" / "our" refers to in this statement or what you mean by "once checked in", so I want to be sure to set the right expectation...we will not merge pull requests that do not pass all CI jobs into master in this repository.

@jameslamb  By "we", I mean our SynapseML wrapper.  And yes, of course I would never expect anything to be checked in to LightGBM without passing all tests.  :)  I just thought I'd check and see if there were any current CI problems that might have caused those other things to fail.  They were passing on an earlier iteration of this that included the only production code change that is left.  But if there are no other issues, I will investigate further.  Probably this change then.

@svotaw I am quite confused about this PR, what does "concurrency" mean?
The PushRow is already designed for multi-threading, and LightGBM also uses a multi-threading solution to construct Dataset.

@svotaw I am quite confused about this PR, what does "concurrency" mean? The PushRow is already designed for multi-threading, and LightGBM also uses a multi-threading solution to construct Dataset.

You can also say multi-threading instead of concurrency.  I mean the same thing.
The multi-threaded tests in this PR were just added since someone asked for them in the previous PR. I said that I would add them, and this is the followup.
And by the way, the external LGBM_DatasetPushRowsByCSR is NOT thread safe, which is why I modified LGBM_DatasetPushRowsByCSRWithMetadata to be able to handle being called by multiple threads.  The old LGBM_DatasetPushRowsByCSR API will crash if you call it from multiple threads.  We found that out empirically.  Each external thread will generate the same set of OpenMP tid's, which means they will attempt to push to the same sparse buffers and eventually fail. LGBM_DatasetPushRowsByCSRWithMetadata is supposed to be completely thread safe (although see next).
As far as changing that one production code line in SparseBin.hpp, that is an experiment.  Even with the thread-safe design, we still see some crash failures in SparseBin.PushRow() in our own tests using the top of LightGBM main (we made a maven package of it for SynapseML).  They have been hard to debug, because they aren't reproducible locally and have only occurred in our CI pipeline runs (making it hard to get crash dumps).  We only know the method that fails.  I was using this PR to help find the issue, and making that change seemed to make the tests pass reliably. But admittedly, I'm not convinced yet that it is needed, so will experiment some more before asking to check this in.
The changes to tests (99% of this PR) should have no production impact, as long as they pass reliably and don't cause CI issues.  They are just to have the extra multi-threaded coverage.  Note that these tests only work for LGBM_DatasetPushRowsByCSRWithMetadata.  LGBM_DatasetPushRowsByCSR would fail if tested the same way.
Note that I manually made threads in the test since OpenMP does not seem to work for tests.  I tried, but settled on manual thread creation.

@guolinke here is the error we see with multi-threaded sparse data in our SynapseML tests:
JRE version: OpenJDK Runtime Environment (8.0_345-b01) (build 1.8.0_345-b01)
Java VM: OpenJDK 64-Bit Server VM (25.345-b01 mixed mode linux-amd64 compressed oops)
Problematic frame:
C  [lib_lightgbm.so+0x18a72b]  LightGBM::SparseBin::Push(int, int, unsigned int)+0x3b
It might be something other than a threading issue but given the debugging I've done it seems highly likely.

@shiyu1994 or @guolinke can you please re-review this, now that it's only testing changes and CI is passing?

passing on an earlier iteration of this that included the only code change that is left

I don't think that's true.
The first commit in this PR, https://github.com/microsoft/LightGBM/pull/5437/commits/62a97c20715c3154dd2e544ccd94617b5f329898, which was passing all CI jobs except lint, contained only this change + testing changes:

Then https://github.com/microsoft/LightGBM/pull/5437/commits/cc3f4316c128a1a8f2a8586d4efbb1138673a4c2 moved that code to a different location and introduced another change.

From that commit until you removed the SparseBin changes in https://github.com/microsoft/LightGBM/pull/5437/commits/e796f5ec6948d3839afe9a7b6833b5e3ebb18964, most of the Python and R jobs were failing.
Just pointing it out in case it helps you in your investigation.

@jameslamb  Ah, my apologies.  The teams I've been on have always had the policy to do simple style fixes whenever they saw them, but I will avoid doing that here from now on.
Do you just make separate PRs for this kind of change?

Do you just make separate PRs for this kind of change?

thanks very much! Yes, separate PRs are preferred for unrelated whitespace changes, typo/grammar fixes, etc. I personally have found that having all the changes in a PR's diff relate only to the stated purpose of the PR (in this example, "add more tests") makes PRs much easier to review.
And I personally use this project's git blame regularly to trace back to the relevant PRs that changed a specific section of the code.


Rework Mirror service

Description
Mirror-service is being reworked in Hyades. Corresponding changes need to be done in apiserver:

[x] Input topic for mirroring commands have changed; Previously multiple, now only one
[x] Parsing has to be changed to Protobuf
[x] Account for vulnerabilities from GitHub when parsing

Addressed Issue
https://github.com/DependencyTrack/hyades/issues/451
Checklist

[x] I have read and understand the contributing guidelines
[ ] This PR fixes a defect, and I have provided tests to verify that the fix is effective
[x] This PR implements an enhancement, and I have provided tests to verify that it works as intended
[ ] This PR introduces changes to the database model, and I have added corresponding update logic
[ ] This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

Merge only when PR in Hyades is merged for same.


mrv2 can use too much RAM and slow the system down

I have 32GB of RAM in my Windows 11 PC. When open a 20 minute long video in mrv2, it starts buffering until the process uses 15GB of RAM, according to task manager. When i open another video to watch them side by side, the new mrv2 instance tries to occupy the same amount of ram. But since i do not have 15GB left, it simply takes as much as it can get, resulting in the system having no free RAM left. In my case this resulted in windows becoming extremely slow, and making me worried that it could crash at any second.
It seems that mrv2 needs to be smarter with its RAM usage. Maybe a setting to let users set a limit could work too.

You can already control the RAM usage in the Settings Panel->Cache->Gigabytes.  By default it uses half of your RAM but you c an set it to whatever amount you like.
Also it you are really short on RAM, you can set the Gigabytes to 0, which will use the Read Ahead / Read Behind setting to control the video RAM usage based in seconds instead of Gygabytes.

Finally, in the upcoming v0.7.9 version the option to have a Single Instance of mrv2 open will be available.  What that does is that a single mrv2 will run, and any new movies, sequences or images you open will get re-directed to the single instance of mrv2.

Oh interesting, i was not aware that this settings panel existed, but having it does help of course.


Upgrade PhotoView version

A new version (2.1.3) of the PhotoView library is available. Currently, used version is 2.0.0. This should be updated to the latest release. Easy-fix.
Are you interested to work on this issue?
Yes.

I have upgraded the version. Please review.


As a newbie who comes across this site, I would like to know which programming language is being used.

Currently, it doesn't mention JavaScript anywhere, so someone with no context wouldn't know which programming language this tool is using.
The readme mentions the possibility of adding additional programming language support, but for now, since it's only JavaScript, perhaps change the text from Array Explorer to JavaScript Array Explorer.
Either way, this is an amazing tool. Thanks so much for building it!

 Sorry about that. This definitely needs to be included. Thanks for bringing it to my attention.


Create Scorable Interface

Create the Scorabel Interface in the entity layer, which contains the calculate confidence score method.
The method should take in two parameters scoreAccumulator and maxScore for the division which results in the confidence score.

Scorable has been implemented with in #65 pr which has been merged to main.


Update the coingecko endpoint to fetch data directly from the chain or squid to have an accurate data representation

Is your feature request related to a problem? Please describe.
Subscan hosted-instances of the explorer have been showing completely weird circulating supply numbers recently. Some users have been reporting that minting TX cannot be found.
We use their API to feed Coingecko, so our market cap keeps bouncing as well right now.
Describe the solution you'd like
Get the supply for coingecko directly from the chain (ideal) or from squid (secondary preference due to extra dependency).
Total supply - locked tokens.
Locked tokens = tokens subject to vesting + whitelist accounts (treasury, foundation, etc.) + staked tokens.

For staked tokens, we need to make sure to avoid double-counting tokens that are still locked in vesting but staked.

Moved this issue to squid.


Create a moveback/submit button

Value Proposition
As a User
I want to be able to go back on the homescreen after setting up the workout time
So that i can see the overview of my workout set up
Description

Acceptance Criteria

[ ] it must have a moveback sign in the middle
[ ] it need to navigate to the homescreen on click/tap
[ ] it submits the setted time
[ ] it should fill with more color once it is clicked

Tasks
(for developers team)

[ ] create a button component
[ ] create an onClickEvent to move back to the homescreen and make the button less transparent
[ ] create an onClickEvent to submit the changes made on the time

Complexity
L

Hi @PhilipZi  ✌
well done. I have just a few minor suggestions.
Value Proposition
Is the function of the button just to return to the home screen - I ask myself this question because it's not entirely clear to me what's happening on the current screen. 🫣
Anyway the the Value Proportion is  described in a slightly misleading way. Why I would like to return to the home screen from the user's perspective.
Here is a suggestion for inspiration and as an example
As a User
I want to be able to go back  to the home/workout screen after submit, change or set the workout time
So that I  can see an overview of my workout time sets
Accordingly, I would like to ask you to adjust your Acceptance Criteria and Tasks

Hi Philip,
for me a return button and a submit button are different things. I'm not sure, if i would understand, that the arrow button also submits the time.


Trackpad suggestion

USE VoodooI2C-I2CHID and VOODOOPS2 (delete inside plugins folder the input.kext)
DONT USE THAT BOOTARG

USE VoodooI2C-I2CHID and VOODOOPS2 (delete inside plugins folder the input.kext) DONT USE THAT BOOTARG

Thanks for your valuable suggestion, I'll try it later.


:bug: Fix metadata parsing

Fix metadata parsing

Status
Type
⚠ Core Change
Issue

Ready
Bug
No
-

Problem
Creators addresses where parsed incorrectly for some nfts
Solution
Fixed bytes parsing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
14 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 5.561%

Files with Coverage Reduction
New Missed Lines
%

Solana.Unity.Metaplex/Metadata Program/Account/MetadataAccount.cs
14
75.2%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
363

Relevant Lines:
6709

💛  - Coveralls


feat: add docs for Post Message action / postWindowMessage

Adds docs page for Post Message / postWindowMessage  action used to communicate between windows and embedded / parent pages. Also adds link to Widget Actions landing page (with minor linter fix).
Oh, I should also mention that there was one bit (1 out of 4 types of communication) that appears to still be a work-in-progress. I left a placeholder note "This feature is currently unavailable" for the sake of showing what the structure will look like, but I can definitely remove that.
Resolves [appsmithorg/appsmith#14723]

@danciaclara It looks like the issue with the deploy preview is a missing image; looks like it didn't get committed and pushed along with the rest of the changes I pushed.
Unfortunately I'm away from home with extended family this week and can't add the missing img -- in the meantime I commented out the reference to the missing image until I can get back home to fix it. Is it okay to finish this PR as-is and make a ticket for myself to add the img once I get back home? (The graphic took me a while to make or else I'd just throw together a new one).


To add PDP Wired Rock Candy switch controller to steam input udev

I apologize if I put this in the wrong place for this issue, not a big user of GitHub.
I don't feel like adding my system info should really help but i'm on OpenSUSE Tumbleweed on an i5-7200u thinkpad x270.
anyway I'm not sure where to ask to add support for this gamepad, however its as easy as adding this line of code to the steam input udev file
#PDP Rock Candy Switch Wired Controller
KERNEL=="hidraw*", ATTRS{idVendor}=="0e6f", ATTRS{idProduct}=="0187", MODE="0660", TAG+="uaccess"
obviously the comment can be put to whatever but steam seems to finally read my switch controller as a switch controller pro and it works fine in the steam big picture ui!
Thank you Valve n Co for your hard work mucho appricato

Hello @KFAQ, feel free to open a pull request in the repo for this request.

Hello @KFAQ, feel free to open a pull request for this controller in this repo.

Legend! Thank you, still figuring out GitHub after all these years haha


TCP socket recv() must accumulate replies

The new PR only accumulates TCP sockets and uses the length frame to handle the fast case.

Please squash these two patches.

Merged.


Fixes

This imports the fixes from #13 but without the support for interrupts, which is not being used.

Reduce duplication by moving the transition method to the channel
Fix a race condition in the respond implementation:
Since the check of State::BuildingResponse == self.channel.state.load(Ordering::Acquire) was distinct from the self.channel.state.store(State::Responded, …), the request could be cancelled while the response was written. 0cd50377f699fb03cf83a36ff6b4c7c09f6ae5d8 adds the fix and updates tests/loom.rs to trigger this case.
It relaxes the ordering of the transition method.
The first ordering of no operation relies on SeqCst semantics.
All works with Acquire/Release semantics, so there is no reason to use the SeqCst ordering.
The second ordering argument is for the failure, in which case we don't read any data,
and therefore doesn't need any synchronization.

No, (unless you count doc(hidden) items.


Added information regarding UnauthenticatedRouteMixin

It wasn't readily apparent to me how to prevent retrying transitions to /login even after Authentication. It wasn't until I dug into routeIfAlreadyAuthenticated that I realized I had to implement the UnauthenticatedRouteMixin. This should provide an easier quickstart and summary of the changes necessary to implement simple-auth

Can you replace that with sth. like
To prevent a route from being accessed when the session is authenticated (which
makes sense for the `login` route for example), use the
[`UnauthenticatedRouteMixin`](http://ember-simple-auth.com/ember-simple-auth-api-docs.html#SimpleAuth-UnauthenticatedRouteMixin)).

instead? I think otherwise it gets a little too verbose for the README which is only supposed to provide a quick overview of the library.

Also please make sure there are no trailing spaces as the tests break otherwise.

Good feedback indeed. I agree on verbosity.

There's still a trailing space somewhere (see failing test) - can you remove that?

I believe I addressed that. It passed tests locally and on all of the build jobs except for: https://travis-ci.org/simplabs/ember-simple-auth/jobs/54155782
Looks like it stalled it out on cache. Is it possible to retry that build?

:+1:


Build is broken on windows

FLAGS isn't take into account when launching make command.
Apparently it should be set before including plugin.mk.
Patch:
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,9 @@
SOURCES = $(wildcard src/*.cpp)
utils/PulseGate.cpp
-include ../../plugin.mk
+FLAGS += -I.
-FLAGS += -I"./"
+include ../../plugin.mk
dist: all
mkdir -p dist/Simple

I will fix that his night!

It should be fixed. Can I close this issue?

Yes.


Stealing Artefacts plugin

New plugin that detects the NPC text from Captain Khaled and sends a chat message with the house location to the player.

Closing this because superseded by #11476


Install via npm

I guess npm would be the most familiar way for Node developers to install Deno.
So how about a simple postinstall script in the package.json so you can run npm install deno to install Deno into $HOME/.deno/bin?
npmjs.com/deno is already taken by a "Bridge to deno" package that only has a README so far, but we could ask the author of that package to transfer ownership.
The TypeScript declaration files could be published in the package, too.
If we did that, editors that don't know about Deno, but that do understand TypeScript and auto-download declaration files for code-completion from npm (for example, VS Code), would make it very convenient to get started: You would just have to create a my-script.ts file, open it in your editor, type import * as deno from 'deno', and the editor would give you auto-complete, so you could type deno.en, hit tab, deno.env() would be auto-completed, and you could hover over deno.env() with your mouse to read the docs ... That would be very convenient. :)

I think one of the main reasons for using Deno is npm.
With Deno we don't want any NPM and node_modules :)
So I don't think that it is a very clever idea for us!
P.S: README.MD file says:

No package.json. No npm. Not explicitly compatible with Node.

@Nima-Ra Hi Nima, glad to see you here :)
Even though Deno is not going to support npm internally as a JS package manager, here we are more likely talking about npm as just a package manager.
A lot of JS devs already have npm on their systems, just like bower or apt so those who want to move from the Node land to the Deno land, can easily install deno binary on their computer using a single command line command.
So I'm +1 on this.

It looks like @YounGoat already published to npm
https://www.npmjs.com/package/deno

I created dvm to manage and install multiple versions of deno, inspired by nvm

A lot of JS devs already have npm on their systems, just like bower or apt so those who want to move from the Node land to the Deno land, can easily install deno binary on their computer using a single command line command.

Those who have npm likely have npx too. I thought it would be nice if people could just execute:
$ npx get-deno [version]

to install specified (or latest) version. It didn't exist so I decided to accept the challenge: get-deno.
It is really a toy grade script compared to @justjavac's dvm but it should be sufficient for initial migration step.

I still believe npm install deno with a simple post_install hook running the installers from this repo would be ideal.

True that but it isn't really possible. npm install needs to install something and where would contents of package end up? In your cwd? Cluttering global node_modules with installation leftovers?
It is like installing installer which you'll run to get actual sw but leaving installer zero installed afterwards. npx might help but still you need some strong sourcey to make it work the way you envisoned...

npm install needs to install something and where would contents of package end up?

npm install would install into $cwd/node_modules/deno, which would contain a package.json file, which would contain a post_install hook, which would run the installers from this repo (PowerShell on Windows, Shell on Linux or Mac) and delete $cwd/node_modules/deno.
Would that work in your opinion?

If you do that inside regular directory you will leave empty node_modules together with generated lockfile.
If you do that inside node project dir you'll gonna polute package.json and lockfile of corresponding project.

If you do that inside regular directory you will leave empty node_modules together with generated lockfile.

Then let's check whether we're in a regular directory and remove the node_modules and lockfile afterwards. (We could also avoid the lockfile with --no-package-lock.)

If you do that inside node project dir you'll gonna polute package.json and lockfile of corresponding project.

We could run npm uninstall deno from the post_install hook to cleanup again. (Or add --no-save to the install command.)
Also, how about installing with --global? I don't think anyone would be mad about the global node_modules being a tiny bit more polluted...
This is looking less likely to be easy to maintain, but I think it's definitely doable.

Correction: Just tried it. Clean-up of node_modules from a post_install hook is not possible. npm will somehow just re-create node_modules. So we'd have to go for --global.
npm i -g deno doesn't look so bad to me.

@vladimyr
How about this?
package.json
{
  "name": "deno",
  "version": "0.1.0",
  "scripts": {
    "postinstall": "node postinstall.js"
  }
}

postinstall.js
const child_process = require("child_process");
if (process.platform === "win32") {
  child_process.execFileSync("powershell.exe", ["-c", "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iwr https://deno.land/x/install/install.ps1 | iex"]);
} else {
  child_process.execSync("curl -L https://deno.land/x/install/install.sh | sh")
}

And then Node users just need run npm i -gs deno to install Deno.

This would also be nice since npx has a automatic fallback feature that lets you run a command like node@4 foo.js to download/install the relevant node version, then run it.

The deno package name is squatted? https://www.npmjs.com/package/deno
👍 If it allowed deno foo.ts and<EMAIL_ADDRESS>foo.ts that'd be really nice.

Here’s npm’s dispute resolution process which allows the takeover of a squatted package name: https://www.npmjs.com/policies/disputes

cc @youngoat

I sent an email to @YounGoat and cc'd support@npm following https://www.npmjs.com/policies/disputes, hopefully they will transfer to @ry one way or the other. 🤞

Sorry for responding so late.
I create NPM module deno a year ago and plan to offer something like real Deno and accessible in Node.js. And I am trying to achieve it. I think it is more reasonable for Node.js developers that deno is an API (require("deno")) and get-deno is a command.

All right, fair point. Closing for now.

Maybe, but it would be much much better if this was under ry's controller rather than someone else.
@YounGoat What about calling yours require("deno-api") ?

@MarkTiedemann I might get some time in future to go back to our technical conversation but in the meantime I'll point you to following chain of tools used one by another when you hit npx node:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
That is how it should be done in order to not mess up with someones workspace and/or global node_modules.

As much as I'm not in favor of exercising strength over some squatted package name (even though I understand your good intentions) I'm also not amused when someone uses my work as part of his flawed argument. @YounGoat Let me make things clear:

get-deno is an installer made by me for fun & profit and isn't official or endorsed by denoloand (community)
deno package name (being object of dispute here) was intended to host official deno installer and runner in order to support npx like scenario

There is clear difference between unofficial installer and official installer/runner so please refrain from using get-deno as an argument in this discussion.

What about calling yours require("deno-api")?

@YounGoat You describe your deno package as a "[b]ridge to Deno", but I don't think "bridge" is an accurate term in this technical context. I believe it would be more accurate to describe your package as a "Deno API ported to Node", hence deno-api would be a better package name.

deno package name (being object of dispute here) was intended to host official deno installer and runner in order to support npx like scenario

This was certainly my idea when I created this issue, but then again, my ideas aren't "official" either. I'm not sure what @ry thinks about this.

So, the issue is not about what is the correct way of npx deno, it is about who is official ?

So, the sage continues, @YounGoat refuses to cede ownership:

The request is not only about adding @ry as owner, but also about changing the usage of the deno package as I am used to. As you can see in the issue, I have expressed my opinion.
However, I have made clear explanation in README.md of latest version, and added link to the semi-official package get-deno. And, I also agree to implement npx deno in future version if possible. But I DO NOT AGREE TO GIVE UP THE OWNERSHIP OF THE deno PACKAGE.

And continues to use get-deno as argument while making his case:

However, I have made clear explanation in README.md of latest version, and added link to the semi-official package get-deno.
Except now it becomes semi-offical whatever that means...

Sorry @vladimyr, I will delete the words about get-deno in next version.

Hope this helps.

Trademarks
If you think another npm publisher is infringing your trademark, such as by > using a confusingly similar package, org, or user account name, email ><EMAIL_ADDRESS>with a link to the package, org, or user account page on > https://npmjs.com. Attach a copy of your trademark registration certificate.
If we see that the user, org, or package publisher is intentionally misleading > others by misusing your registered mark without permission, we will transfer > the account, org, or package name to you. Otherwise, we will contact the > relevant user and ask them to clear up any confusion with changes to their user > account page, or page, or package README file.

When to use this process
This process is an excellent way to:

Adopt an "abandoned" package
Adopt a package created from your project, published by someone else
Report "squatting"
Report a deliberately misleading or confusing package name

Just popping by to say this setup was kinda how I was hoping I could install deno as a sneaky script runner in the devDependencies section of the typescript website.
Contributors could yarn install then most of my build scripts would be yarn deno path/to/script.ts.

Whoa, did not realize this thread exists...
Worth noting a similar event happened when worker_threads of Node tries to take the worker name: see https://github.com/blake-regalia/worker.js/issues/1
Personally my attitude is okay with @YounGoat keeping the deno package name on NPM. I don't think a fight over control is the way we should be heading. Based on my observation, I trust @YounGoat created the package with no ill will, and I believe it is also a right for him to keep it (just like early domain registering that does not violate laws). @YounGoat 's creation of this package early on with non-trivial code contribution also shows that he did want to help the Deno community, and I am actually very happy about it.
Over potential conflicts like this one, I believe we should demonstrate a welcoming attitude to anyone who provides any means of help to the community. Animosity is not helpful after all.

(don't open unless you are okay with seeing some harsh words)

A good friend of mine has been warning me about actively participating with community discussions saying quote "JS community is a bunch of 'axx-xxxxs'", and I am very sad to have seen quite some toxic dramas in recent years. I really hope the we can avoid creating more of such situations and try creating a better atmosphere to prove that my friend is wrong.

I have also just registered https://www.npmjs.com/org/deno_land in case we need an org account to host packages at some point. I will invite other contributors if somehow this is decided to be the account we want to host stuff with.

For a historical note, I began the npm dispute process when there was zero code in YounGoat's repo and there was also no response via email or on GitHub. Since then he responded (I would say aggressively but that could be a language issue) and ry said to drop it. I still thing it's silly not to be under ry's control but whatever.

I don't think a fight over control is the way we should be heading.

I completely agree.

Based on my observation, I trust @YounGoat created the package with no ill will, and I believe it is also a right for him to keep it (just like early domain registering that does not violate laws).

It surely is legally right for they to keep it and push hard to stay that way. Is it morally right is a different type of story that heavily depends on your perspective and set of standards. Also, life would be too simple if all actions could be sorted into good and bad will buckets. Seeking (collateral) fame through package name squatting doesn't really fit any of those. Welcome to the gray zone. 😉

@YounGoat 's creation of this package early on with non-trivial code contribution also shows that he did want to help the Deno community, and I am actually very happy about it.

This was already disputed by @hayd and can be easily verified by going through git history. I think you went too far with that statement because not everyone that releases something with deno in its name is trying to help the community. That doesn't mean they are trying to do any harm but every action isn't helpful per se, it just boosts public interest.

Over potential conflicts like this one, I believe we should demonstrate a welcoming attitude to anyone who provides any means of help to the community. Animosity is not helpful after all.

I agree with your point about animosity but let's not forget that relationships go both ways. Both sides should have an initial welcoming attitude that eventually gets adjusted according to direction and tone of the conversation and I'm not sure that is what happened here.
This brings me to @hayd's comment https://github.com/denoland/deno_install/issues/6#issuecomment-560111804... His comment edit history is pure gold 😉 Because these days everyone became so obsessed with form over substance  and because I'm old enough that I don't give a #%& here comes the ugly version:

@hayd's comment https://github.com/denoland/deno_install/issues/6#issuecomment-484722420 had bit aggressive tone at the end which is understandable because they decided to ignore the issue of name dispute for a half year already and completely ignored @MarkTiedemann's polite request https://github.com/YounGoat/nodejs.deno/issues/1

After a long period of silence, they came back with a flawed argument that is partially built upon my work. Conversation continues in what I would call weird and aggressive tone. (@hayd 😉) And when you act like one you'll most probably get a knee-jerk reaction...

I believe everyone silently agreed to let it go because there is no point in exercising strength over it. As a consequence thread naturally faded away but gets revived by random visitors. Not that I'm a big fan of it but maybe it is for the best to lock it down.

This shouldn't be treated as a sign of potential flaws in the community because nobody did anything wrong here and that is coming from my outsider perspective. I'm not officially part of a community but I feel more than welcome and fail to see any reasons why shouldn't.

Endorsing people is nice but let's not stretch the definition of a meaningful project. It is their playground with 2 contributors and 12 commits and certainly doesn't look promising. It lacks many ingredients successful node packages contain. You can change that if you want, through contributions, but until that happens it is still just a toy grade thing.

Of course, it is ridiculous it is not under not ry's but community control but they simply can't afford losing it - go figure out why 😉

Contributors could yarn install then most of my build scripts would be yarn deno path/to/script.ts.

@orta FWIW different npm packages can contain equally named binaries so it can be resolved by publishing @denoland/deno package with deno binary inside. It is however easier said than done due to reasons explained earlier, see https://github.com/denoland/deno_install/issues/6#issuecomment-487423243

Maybe we could name the package deno-bin a la flow-bin?

Just please don't build it the same way: https://npmfs.com/package/flow-bin/0.113.0/ cause it is pretty weird to pay download penalty for binaries you can't and won't ever use.

you should just use asdf tbh.

just for notice - deno-bin npm package - https://www.npmjs.com/package/deno-bin exists for a long time. It works good enough and it's maintained by one of deno core members (I think).

Deno is now available on npm: https://www.npmjs.com/package/deno (version 2.1.4 should show up momentarily)


Windows - Can't do any input

Hello,
when i try to configure my aws mobile hub project through the awsmobile cli, everytime I want to setup a new configuraten, for example create a new cloud-api, the cli return before I can do any input.
I tried the same on my linux machine, there it works fine. I already reinstalled the cli on my windows machine, but the error still occurs.
The screenshot shows an example, i wanted to create a new cloud api. The line to type in the api name appears but in the same time the cli returns.

Having the same issue here

What' your node version? We've had users reporting issues on Windows with Node version 10, and the work around was to downgrade node version to 8.9.x

I had node version 10.9.0 installed. The downgrade fixed the issue!


Multi gpu linux problem

Well, I have 2 rx480, with amdgpu-pro driver, running over gentoo linux.
Driver works well, all opengl and opencl, but vulkan have some problems with my setup.
I dont care if uses the 2 gpu or not, but when I have both connected, vulkan demos for example failed, many of them with that error

pelo@pelo-pc ~/vulkantest/Vulkan/bin $ ./subpasses
subpasses: /home/pelo/vulkantest/Vulkan/base/VulkanSwapChain.hpp:426: void VulkanSwapChain::create(uint32_t*, uint32_t*, bool): Assertion !err' failed. Abortado pelo@pelo-pc ~/vulkantest/Vulkan/bin $ ./computecullandlod  computecullandlod: /home/pelo/vulkantest/Vulkan/base/VulkanSwapChain.hpp:426: void VulkanSwapChain::create(uint32_t*, uint32_t*, bool): Assertion !err' failed.
Abortado

bloom works,
computenbody works for a while and black screen
computeparticles
computeshaders works
If I leave only one gpu connected, It works with no trouble at all.
and dota from steam dont work with the second gpu connected. same error as demos.
with one gpu works perfect.

I add info:
Im using vulkan-loader-<IP_ADDRESS>
acording in gentoo portage.
acording to the ebuild.
src are:
https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/sdk-<IP_ADDRESS>.tar.gz
and compiled with X and wayland support

As far as I can tell, this appears to be a driver bug. As the error message indicates, the problem is that vkCreateSwapchainKHR is returning the error VK_ERROR_INITIALIZATION_FAILED. The failure is occuring in the driver, which passes the failure to the loader in terminator_CreateSwapchainKHR and the loader just propagates the error back to the program.
This could still be a loader bug if the loader is passing the driver invalid inputs, but everything appears to be valid. The loader does create the VkSurfaceKHR that is passed to the loader within pCreateInfo, but everything in that structure looks correct to me.
As a result, my advice would be to report the bug to AMD. If they find that I'm wrong and this is a loader issue, then I can reopen the issue, but since the error is definitely originating in the driver I believe it's a driver issue. I did my testing with amdgpu-pro 17.10 on Ubuntu 16.04, with a pair of Radeon R9 380 cards.


Release 0.11.0

Added supporting Django v3.2
Added Python 3.9 in tests
Upgraded Node to v14 for tcp-server
Upgraded MJML to 4.9.0 in dockerfile

Brilliant. Thanks for this.

Hi, is there an estimated date when this will be merged? I would like to update my applications to Django 3.2 but this is blocked at the moment.

I planned finish it by the end of next week

@j0nm1 If you're blocked you can always specify the commit.
pip install git+https://github.com/liminspace/django-mjml.git@7bb97b78b6554de3afcf96c61bd43f359cb62f58

@liminspace Ok, thank you!
@ronaldgrn Thanks for your advice but this is more like a workaround and nothing that can be used in production.


Setting up team CI

Follow developer guide 1.4.3 to set up Travis + AppVeyor.

Implemented in #46 .


Travis: Correctly skip Hatchet on PRs from forks

The Hatchet run requires a valid Heroku login, the credentials for which are set via Travis secure environment variables, which by design are not revealed to PRs from forks.
The previous conditional wasn't working as intended - the Hatchet job was still being triggered for forks from PRs.
The new conditional fixes this, and also means that forks could set their own credentials via Travis environment variables if they wanted a way to run the tests in CI on their own repo.
See:
https://docs.travis-ci.com/user/conditions-v1
Fixes #1019.
Closes<EMAIL_ADDRESS>[skip changelog]

Travis appears to have a bug with the conditional handling, where it doesn't pick up .travis.yml defined secrets for the conditional env() checks. (It does correctly pick up those defined via the repo level Travis dashboard UI, as well as non-secrets in .travis.yml.
I've opened a Travis support ticket.
We could also just move HEROKU_API_USER and HEROKU_API_KEY out of .travis.yml and use repo-level Travis secrets instead.

#1047 is moving the Hatchet credentials from .travis.yml to Travis repo level secrets, which works around the Travis bug described above. Once #1047 is merged I'll rebase on that.


[backport] Fix version check for new ROCm version definition

Backport of #5657 by @takagi

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit a6fc70c1b4d39dcb24fae67305583900e4254acf, target branch v9) succeeded!


rpm包下载地址无效

wget https://github.com/vesoft-inc/nebula-cpp/releases/download/$release-version/nebula-graph-client-$version.$system.x86_64.rpm
release-version=2.0.0或2.0.1
system=elf7
都不行

Dear @TimeThief0723
This is a valid link: https://github.com/vesoft-inc/nebula-cpp/releases/download/v2.0.0/nebula-graph-client-2.0.0.el7.x86_64.rpm
Where:

release-version="v2.0.0"
version="2.0.0"
system="el7"


gh-439 - Added counter to track items which fail validation in the AddElementsFrom Hdfs operation.

Naive solution to this issue - let me know if a more elegant way of implementing this is preferred.

I think what the issue really wants is to update AbstractAddElementsFromHdfsMapper.java
In addition to just logging a warning
LOGGER.warn("Element " + element + " did not validate.");

we should update a counter e.g.
context.getCounter("Add Elements From HDFS", "invalid element count").increment(1L);

I'll close the pull request for now. Just reopen it after the changes have been made.


44627 Add migration document, update other query docs

Add query-migration.md to detail the differences between the legacy
indexing/query and new query implementations.  The document uses the
differences detailed to showcase a migration path for customers that
are looking to change their existing indexing/query implementations
to use the new query logic.
Remove index-query.md as this is the legacy document.
Update query.md to no longer reference the legacy document and remove
the #import "CDTDatastore_Query.h" reference as it is no longer needed.
Update README.md to provide a link to the migration document.
Update CHANGELOG.md
Ref: BugID: 44627

reviewer @mikerhodes
reviewer @tomblench

+1

+1


Yapc 2016 prc

I have:

put a little text into README.md explaining how to get started for the very, very new
chmod +x bin/smackup
added a .gitignore for some artifacts perl6 dumped in lib/
added an examples/ directory (the stuff in t/apps might be a little bewildering to start with--my idea is that we could put a few things in examples/ that are meant for a quick look at how things work, with an emphasis on what would be instructive or inspiring)

Thanks! I am saying this is awesome and I haven't even had time to look at
it. My AC went out at home right as the PRC was starting, so I kind of
missed out while trying to get that taken care of and then I was too tired
to participate anymore, but I will look at it on my flight home tomorrow or
sometime this week.
Thank you so much!
You rock.
On Wed, Jun 22, 2016 at 9:29 PM Michael J South<EMAIL_ADDRESS>wrote:

I have:

put a little text into README.md explaining how to get started for
the very, very new
chmod +x bin/smackup
added a .gitignore for some artifacts perl6 dumped in lib/
added an examples/ directory (the stuff in t/apps might be a little
bewildering to start with--my idea is that we could put a few things in
examples/ that are meant for a quick look at how things work, with an
emphasis on what would be instructive or inspiring)

You can view, comment on, or merge this pull request online at:
https://github.com/zostay/Smack/pull/2
Commit Summary

A few hints to help the newbie get started
Use https instead of github protocol for wider audience
chmod +x bin/smackup
ignore .precomp directory in lib
Added an example "hello world" app and instructions on how to run it
Point user to the further examples in t/apps/

File Changes

A .gitignore https://github.com/zostay/Smack/pull/2/files#diff-0
(1)
M README.md https://github.com/zostay/Smack/pull/2/files#diff-1
(48)
T bin/smackup https://github.com/zostay/Smack/pull/2/files#diff-2
(0)
A examples/hello-world.p6w
https://github.com/zostay/Smack/pull/2/files#diff-3 (10)

Patch Links:

https://github.com/zostay/Smack/pull/2.patch
https://github.com/zostay/Smack/pull/2.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zostay/Smack/pull/2, or mute the thread
https://github.com/notifications/unsubscribe/AACHl8MeoyTG2yS4z557i3apZDxDNUTvks5qOeFdgaJpZM4I8X6F
.

--
Sterling Hanenkamp
http://sterling.hanenkamp.com/stfl/
785-370-4454


Add test for using regex package in pattern

Cool, I see https://github.com/sunlightlabs/validictory/commit/f235981b295701446327bd8a493ccbca89292be9