Bundle generator should provide a valid default name if application name is not provided

As far I know, the application name can't be empty (or not provided). By default, it's the name of the module.

It's empty during tests at the very least, if you don't explicitly set it, which is only possible, as far as I'm aware, if you're using QuarkusProdModeTest.

It's empty during tests at the very least, if you don't explicitly set it, which is only possible, as far as I'm aware, if you're using QuarkusProdModeTest.

Yes, with QuarkusProdModeTest, it's using "<< unset >>" or similar.

Yes but that means that, when not using QuarkusProdModeTest, the tests will generate invalid manifests.

I don't follow you: when testing this, the application name is << unset >>, but when doing a real build, it will use the module name.

I don't follow you: when testing this, the application name is << unset >>, but when doing a real build, it will use the module name.

<< unset >> is not a valid Kubernetes name. When testing, the generated resources will use that invalid name and therefore be invalid themselves. Generated resources should be as close as possible to what should be generated at runtime and we should make it so that our code generates valid resources under all foreseeable circumstances.

I don't follow you: when testing this, the application name is << unset >>, but when doing a real build, it will use the module name.

<< unset >> is not a valid Kubernetes name. When testing, the generated resources will use that invalid name and therefore be invalid themselves. Generated resources should be as close as possible to what should be generated at runtime and we should make it so that our code generates valid resources under all foreseeable circumstances.

But this is never going to be a real issue. Also, if you don't want to have the << unset >> value, simply set one using the method QuarkusProdModeTest.setApplicationName like in https://github.com/quarkiverse/quarkus-operator-sdk/blob/6664a5b280bcb5665742922ff8a0d8b3ff8b0bb8/bundle-generator/deployment/src/test/java/io/quarkiverse/operatorsdk/bundle/DefaultBundleWhenNoCsvMetadataTest.java#L21

You cannot set the application name if you're using QuarkusTest only.


Add /add and /remove commands to add/remove files from context

Add a command to add / remove files from the context inside of the current session to avoid having to restart it after each edit.

@PCSwingle will be working on this this weekend!

@biobootloader I'm not able to view the discord channel without joining the server first. Do you have an invite?

Here you go! https://discord.com/invite/zbvd9qx9Pb

Now that we've added commands (/help and /commit so far), we can add /add and /remove to modify which files are included in the conversation

I'll work on a PR for this

Closed by the linked pr but the commands have since become /include /exclude.


Documentation setup readthedocs

Hello @Nikitha-ramasetti! Thanks for opening this PR.

In the file doc/conf.py:

Line 32:1: E303 too many blank lines (3)
Line 89:1: E265 block comment should start with '# '
Line 90:1: W391 blank line at end of file

Do see the Hitchhiker's guide to code style


How to run InstructBLIP

Hello!
I'm trying to run Vicuna InstructBLIP, but sadly, I can't make it work.
I installed LAVIS directly from your repo following the step 3 of the installation guide, and I'm using the following code:
import torch
from lavis.models import load_model_and_preprocess

device = torch.device("cuda") if torch.cuda.is_available() else "cpu"

model, vis_processors, _ = load_model_and_preprocess(
    name="blip2_vicuna_instruct",
    model_type="vicuna7b",
    is_eval=True,
    device=device
)

With which I get the following error:
File "~/.../LAVIS/lavis/models/blip2_models/blip2_vicuna_instruct.py", line 82, in __init__
    self.llm_tokenizer = LlamaTokenizer.from_pretrained(llm_model, use_fast=False, truncation_side="left")

...

huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': './llm/vicuna-7b'. Use `repo_type` argument if needed.

I guess this happens because inside the blip2/blip2_instruct_vicuna7b.yaml configuration llm_model is set to "./llm/vicuna-7b".
I tried to fix this by manually downloading the model from the pretrained value present in said yaml, and create a ./llm/vicuna-7b folder to store it but it still fails.
Any ideas on how can I run this?

Ok so if anyone has troubles with this in the future, here are the steps I took to run this:
Download Llama
This can be done quickly via transformers
import os
from transformers import LlamaTokenizer, LlamaForCausalLM

save_folder = "/path/to/llms/folder"

tokenizer = LlamaTokenizer.from_pretrained("decapoda-research/llama-7b-hf")
tokenizer.save_pretrained(os.path.join(save_folder, "tokenizer"))

model = LlamaForCausalLM.from_pretrained("decapoda-research/llama-7b-hf")
model.save_pretrained(os.path.join(save_folder, "model"))

Note that we are manually saving both the tokenizer and model in a folder. This can also be achieved with the cache_dir flag.
Download Alpaca
Now that you have Llama locally, you'll need to add the delta weights to convert this into Alpaca.
This is done installing FastChat and then following the Vicuna 7b instructions.
When you follow FastChat's instruction make sure that --base-model-path matches with the save_folder value you used in the Download Llama section.
Install LAVIS
You need to install LAVIS manually. This won't work with the pip version.
git clone https://github.com/salesforce/LAVIS.git
cd LAVIS
pip install -e .

Now go into LAVIS/lavis/configs/models/blip2/blip2_instruct_vicuna7b.yaml and change the llm_model attribute with the same one you used in the --target-model-path flag in the Download Alpaca section.
Use InstructBLIP
import torch
from lavis.models import load_model_and_preprocess

device = torch.device("cuda") if torch.cuda.is_available() else "cpu"

model, vis_processors, _ = load_model_and_preprocess(
    name="blip2_vicuna_instruct",
    model_type="vicuna7b",
    is_eval=True,
    device=device
)

This code snippet should work, meaning you are ready to play with InstructBLIP. :blush:
If you want to use the 13B version, follow the same steps but change 7b to 13b accordingly.

nice, it works!

Guys what size GPU's are you running it at? My does hangs at.. 'Loading model...'; I have a 3090 24GB. Should be enough, I hope?

@Don-Chad I'm using a 3090 with 24GB too, and at least the 7B model worked flawlessly. I haven't tried with bigger ones tough.

I'm complete newbie on python, but, would it be possible you help me on running this on a bigger model… Or how can I run this, let's say I want to use falcon 30b model (which is amazing results as an llm chat)

Thank you very much for your explanation. After I followed the steps you mentioned and started using instructBLIP, there were two errors as follows:
Traceback (most recent call last):
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/urllib/request. py", line 1354, in do_ Open
h. Request (Req. get_method(), Req. selector, Req. data, headers,
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/http/client. py", line 1256, in request
Self_ Send_ Request (method, URL, body, headers, encode_chunked)
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/http/client. py", line 1302, in_ Send_ Request
Self. endheaders (body, encode_chunked=encode_chunked)
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/http/client. py", line 1251, in endheaders
Self_ Send_ Output (messagebody, encode_chunked=encode_chunked)
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/http/client. py", line 1011, in_ Send_ Output
Self. send (msg)
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/http/client. py", line 951, in send
Self. connect()
File "/yq/software/anaconda3/envs/navis/lib/Python 3.8/http/client. py", line 1425, in connect
Self. lock=self_ Context. wrap_ Socket (self. lock,
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/ssl. py", line 500, in wrap_ Socket
Return self.sslsocket_ Class_ Create（
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/ssl. py", line 1040, in_ Create
Self.do_ Handshake()
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/ssl. py", line 1309, in do_ Handshake
Self_ Sslobj.do_ Handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "useiblip. py", line 7, in<module>
Model, vis_ Processors, _= Load_ Model_ And_ Preprocess（
File "/yq/dmz/IntrutBLIP/LAVIS main/lavis/models/__init__. py", line 200, in load_ Model_ And_ Preprocess
Model=model_ Cls. from_ Pre trained (model_type=model_type)
File "/yq/dmz/IntrutBLIP/LAVIS main/lavis/models/base_model. py", line 70, in from_ Pre trained
Model=cls. from_ Config (model_cfg)
File "/yq/dmz/InstrumentBLIP/LAVIS main/lavis/models/blip2_models/blip2_vicuna_instruct. py", line 729, in from_ Config
Model. load_ Checkpoint_ From_ Config (cfg)
File "/yq/dmz/IntrutBLIP/LAVIS main/lavis/models/base_model. py", line 102, in load_ Checkpoint_ From_ Config
Self load_ From_ Pre trained (url_or_filename=pre trained path, * * kwargs)
File "/yq/dmz/IntrutBLIP/LAVIS main/lavis/models/blip2_models/blip2. py", line 87, in load_ From_ Pre trained
Cached_ File=download_ Cached_ File（
File "/yq/dmz/IntrutBLIP/LAVIS main/navis/common/dist_utils. py", line 132, in download_ Cached_ File
Timm_ Hub. download_ Cached_ File (URL, check_hash, progress)
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/site packages/tim/models/hub. py", line 51, in download_ Cached_ File
Download_ URL_ To_ File (URL, cached_file, hash_prefix, progress=progress)
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/site packages/torch/hub. py", line 611, in download_ URL_ To_ File
U=urlopen (req)
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/urllib/request. py", line 222, in urlopen
Return opener.open (URL, data, timeout)
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/urllib/request. py", line 525, in open
Response=self_ Open (req, data)
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/urllib/request. py", line 542, in_ Open
Result=self_ Call_ Chain (self. handle_open, protocol, protocol+
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/urllib/request. py", line 502, in_ Call_ Chain
Result=func (* args)
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/urllib/request. py", line 1397, in https_ Open
Return self.do_ Open (http. client. HTTPSConnection, req,
File "/yq/software/anaconde3/envs/navis/lib/Python 3.8/urllib/request. py", line 1357, in do_ Open
Raise URLError (err)
Urllib. error. URLError:<urlopen error [Errno 104] Connection reset by peer>

May I ask how to solve it

Can I confirm that the yaml file to edit is: blip2_instruct_vicuna7b.yaml
and the line to change is llm_model:
?
these files:
pytorch_model-00001-of-00002.bin
pytorch_model-00002-of-00002.bin
are stored in this folder:
C:\Users\james.cache\huggingface\hub\models--lmsys--vicuna-7b-v1.5\snapshots\de56c35b1763eaae20f4d60efd64af0a9091ebe5
so should I change:
llm_model: C:\Users\james.cache\huggingface\hub\models--lmsys--vicuna-7b-v1.5\snapshots\de56c35b1763eaae20f4d60efd64af0a9091ebe5


microphone PermissionStatus.unknown

I am trying to record audio, so in app/src/profile/AndroidManifest.xml I added
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
and in the actual workflow I request and check permission with:
await PermissionHandler().requestPermissions([PermissionGroup.microphone]);
PermissionStatus microphone = await PermissionHandler().checkPermissionStatus(PermissionGroup.microphone);
print("microphone ${microphone}");

While the same procedure works perfectly fine for storage, here  I get
D/permissions_handler( 8148): No permissions found in manifest for: 7
D/permissions_handler( 8148): No permissions found in manifest for: 7
I/flutter ( 8148): microphone PermissionStatus.unknown

I saw several similar issues here in the repo, so I tried several approaches:

Made sure, I am using 3.2.1
Did a flutter clean
Tried on a Samsung Galaxy Tab A with Android 8.1 and on a second device: Nokia 5 with Android 9
Checked for a blocked permission on the device itself.
It seems to me, that the app does not know about the permission, although it is in the Manifest.

Any clues what I am doing wrong here would be highly appreciated.
The app itself is open source and the full current source code is over there.

Hello @haslinger, thank you for raising this issue. I have tried our example app that is part of the plugin (see here) which works as intended.
Next I looked at your repo and noticed that you only included the permissions in de "profile" version of the AndroidManifest.xml (https://github.com/informatom/recomendo/blob/master/android/app/src/profile/AndroidManifest.xml).
And not the "main" version. This means these settings are only applied when you are running the app in profiling mode (not in release or debug). Are you sure you are running the app using the profile scheme when you are testing this?

That's totally it!
Thank you so much, @mvanbeusekom .
(Now I am a bit confused, why the storage permission worked at all. I guess, I have to catch up on that.)

Glad to hear that solved the problem and for the feedback.


Add incrementals

I'd like to incrementalize stapler. This will be handy in general and will make it easier to do some other changes we want.
Since stapler isn't a plugin, I couldn't follow the easy mechanism. Instead I followed the step-by-step, manual instructions. The changes match what I've seen the automated, easy version do, plus the addition of the profiles needed because the parent is different.
While I've used this to effectively generate incrementals locally I don't know that it is sufficient to automatically generate them in Jenkins CI environment. Specifically, updates my be required for the stapler settings in repository-permissions-updater.
Do we want a Jira ticket associated with this change?

Good catch. I just copied from the documentation and somewhere else, which are clearly out of date. I didn't check for latest version.

Fixed the link. Don't use the quoted one. Not sure how that got there.

IIRC @jglick pointed out this wouldn't work.

It won't fully work, because it's not fully connected to the Jenkins CI system. The automatic publishing of incrementals won't work. I think it could still be useful for development, though.

The automatic publishing of incrementals won't work. I think it could still be useful for development, though.

Yes you should be able to
mvn -Dset.changelist clean deploy

if you have permission to the repository.

it's not fully connected to the Jenkins CI system

There's https://ci.jenkins.io/job/Stapler/job/stapler/ though, or what do you mean?

Yes there is, but actually deployment requires that an Azure function be called, and that function would in turn check repository-permission-updater stuff which is not going to work since this repo normally gets deployed to OSSRH not the Jenkins Artifactory.


Text to Speech is reading markdowns

Version

Describe the bug
Text to speech is reading the markdowns like

URL
horizontal line
(previously it used to read ** bold text ** asterisk as well but I recently checked that it is fixed now)

I can see that the markdowns are not rendered as text.
URL -> goes to href and only the text is present inside the tag
horizontal line gets rendered as

To Reproduce
Steps to reproduce the behavior:

add markdowns to the messages
formatting used in code:

URL " [text to be displayed](https://url.com) "
Horizontal line " \r\n     __________     \r\n "

Expected behavior
it shouldn't read the markdown text
Other related information
Whenever there is a message sent along with the card it only reads the message and skips the card.
When the card is sent without any message it reads the card aloud.
is this the expected behaviour?
for example if I send a message like this:

it skips reading the card and only reads aloud "Fetching Details".
In the c# backend I tried changing the Speak attribute of the Activity reply (reply.Speak="something else")
but it doesn't speak the text defined in reply.Speak.
[Bug]
Update
I noticed this occurs only when we are using underscores for horizontal lines
when I replaced them with asterisks it is working as expected
But the URL is still an issue

This is a duplicate issue of #2001. Please feel free to add your comments over there.


Fixed a number of bugs in the module:migrate + module:seed commands

Refactored the "module:seed" command logic in order to reduce code duplication.
Fixed an existing bug which would cause the "module:migrate" command to throw an offset warning if the --seed option is specified.
Fixed a newly introduced bug(my bad) where the SeedCommand:dbseed() method would append the base module namespace to the FQN of a seeder class.  This would only occur if the user had provided an explicit classname using the optional "migration.seeds" argument.
Removed the "class option" from "module:seed" since it should logically only be set from within the dbSeed($class) method which in turn issues each of these calls directly to the "db:seed" command.
Removed the "all option" from "module:seed" since it actually wasn't being used for anything.
ie: The existing behavior for this command is to seed all modules if the module argument is not specified.
Removed the MigrateCommand:getPath() method in favor of (Migrator($module))->getPath() which has been updated to account for the additional logic.
Note: Since the Laravel "migrate" command requires a path which is relative to the base_root() module:migrate will still executing a string replacement on the result.

Update:
In order to further reduce code duplication I made some more changes to the MigrationPublisher class which will now accept Migrator as a class dependency.
Calls to the MigrationPublisher:getSourcePath() method should be delegated to the Migrator:getPath().
Note:  It doesn't look like this class even needs to extend the AssetPublisher.  It could probably just extend Publisher but I decided to leave it as is for now.

Thanks again!
I'll have to try these out.

Looks like on my simple tests.
Could be nice if you can PR the readme file to add info on how to overwrite the migration/seed path. :)


Added option not to use audio

The camera package allows to set the parameter enableAudio in the CameraController to false in case you do not want to record video / silen video. Together with https://github.com/flutter/flutter/issues/80649, this can remove the MICROPHONE permission from the application.

Thanks your PR!

Are you going to merge, @gabuldev? It perfectly works in our applications.


Pubsub: Doesn't work subscriber in Rails

I'm using GCP Pubsub in Rails application. Environment:
Rails: v5.1.4
Ruby: v2.4.2
google-cloud-pubsub: v0.29.0
MacOS: 10.12.6 Sierra

this is code:
require 'json'
require 'google/cloud/pubsub'

module ActiveJob
  module QueueAdapters
    class PubSubQueueAdapter

      def enqueue(job)
        Rails.logger.info "[PubSubQueueAdapter enqueue job #{job.inspect}"

        topic = PubSubQueueAdapter.pubsub.topic(job.queue_name)
        topic.publish(job.class.name, arg: job.arguments)
      end

      class << self
        def pubsub
          @pubsub ||= begin
            project_id = Rails.application.config.x.settings['project_id']
            Google::Cloud::Pubsub.new(
                project_id: project_id,
                credentials: "#{Rails.root.join('config')}/#{Rails.application.config.x.settings['auth_file']}"
            )
          end
        end

        def run_worker!(queue_name = 'default')
          p 'Running worker'
          topic = pubsub.topic(queue_name)
          sub = topic.subscription("#{queue_name}_task") || topic.subscribe("#{queue_name}_task")
          subscriber = sub.listen threads: { callback: 16 } do |message|
            p message
            message.acknowledge!
          end

          subscriber.start

        end
      end
    end
  end
end

And I exec a rake command:
$ bundle exec rake run_worker

"Running worker"
E0121 21:39:49.713197000<PHONE_NUMBER>88896 backup_poller.cc:105]         run_poller: {"created":"@1516538389.713182000","description":"Shutting down timer system","file":"src/core/lib/iomgr/timer_generic.cc","file_line":630}

What is this error message??
I wanna use streaming subscriber.

@blowmage What is the recommend way to keep the connection open on an heroku worker?

I am not familiar with Heroku workers. I'd suggest asking this on StackOverflow.


The bot will think a demon hunter is harlequin and merge them

in running the bot the Harlequin detection at higher levels is needed.

it seems to now not prioritize that Demon Hunter is the dps unit It is weird that even though demon hunter is being prioritized it's not being used well.

it just keeps merging everything no dps priority

That's because special units have priority, ie mime, harlequin, dryad. I
would like to start again with the way it merges everything because it's so
cluttered and needs simplicity.
I'm going to work on it soon and I want to speed it up because it builds up
so much mana.
On Sat, 3 Feb 2024, 06:55 ToxicGigante, @.***> wrote:

it just keeps merging everything no dps priority
—
Reply to this email directly, view it on GitHub
https://github.com/Jimm1432/Rush-Royale-Bot/issues/13#issuecomment-1925173885,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI2CHWLYYF5JAGZQMD6LBQLYRXNPPAVCNFSM6AAAAAA7NJN2XOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGE3TGOBYGU
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Add missing keywords

This PR adds some keywords defined in dircolors that are missing from this package.

Thanks a lot for the PR.


breakpoints do not match

Hi, we are testing Judy, and we find that when we set a breakpoint at blank line, the breakpoint is still valid.
Thanks.

fixed in blockbp


Unable to get listitems. (Newbie)

Unable to get listitems; It returns an empty array every time.
const baseURL = `https://swayam.gov.in/explorer`;
scrapeIt(`${baseURL}`, {
        courses: {
            listItem: ".shadowBox.course-card",
            data: {
                 courseName: {
                     selector: "h4 > a:nth-child(2)",
                     attr: "title"
                 }
            }
        },
    }).then(({ data, response }) => {
        console.log(`Status Code: ${response.statusCode}`);
        console.log(data);
    })

What is the html you are scraping?

Please ask questions on Stackoverflow.


Text format / CSS not used when switching to "New look" in D365

Hi Florian,
we can reproduce a problem with the formatting when switching to the "new look" in D365.
It seems that the CSS within the HTML isnt used at all. We already updated it to the latest release.
"New look" turned off:

"New look" tuned on: (it also seems that another Editor is in use then, but i am not sure about that)

Thank you to have look into it in advance!
Marcus

Hi Marcus,
this seems to be about the display of the templated data inside the dynamics rich text editor rather than about the designer itself, right?
I'll take a look at it. Might be though that it's Microsoft that is interfering with the CSS classes in the new UI.
Kind regards,
Florian

Hi Marcus,
this seems to be about the display of the templated data inside the dynamics rich text editor rather than about the designer itself, right? I'll take a look at it. Might be though that it's Microsoft that is interfering with the CSS classes in the new UI.
Kind regards, Florian

Yes, the problem seems to be within the rich text editor when switching to "New look". Thanks for having a look into it.
Regards,
Marcus

Hi Florian,
I can confirm we have the same issue in our tenant with the templates when switching to the New look.
Thank you for taking a look.
Best Regards,
Catalin

Could you find the find to have a look into it?
Kind regards,
Marcus

Update:
The above issues still persist with activating the new look.
Lately there is a new "development" and with the new look randomly the body of email fails to load

The error message is:
Error Details: Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
at bu (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:89469)
at Nl (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:101256)
at t.unstable_runWithPriority (https://content.powerapps.com/resource/uci-infra-bus/scripts/app.1770bc40965b9d51aafd016172077d13.js:14:3768)
at Wo (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:44549)
at Tl (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:99217)
at pl (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:95328)
at https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:44772
at t.unstable_runWithPriority (https://content.powerapps.com/resource/uci-infra-bus/scripts/app.1770bc40965b9d51aafd016172077d13.js:14:3768)
at Wo (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:44549)
at Qo (https://content.powerapps.com/resource/uci-infra-bus/scripts/vendor.1cae5aa28fca3d26e5e989792f80fda6.js:9:44717)
Did anyone else encounter this?
Thank you in advance for your help.

I set up an organization where I can try the "new look" and report my findings.
The issue you posted looks very much like the platform was doing something that breaks it.


WIP: 1-ci-srv-01: [no-test] Check for NPM dependency updates

Check for any outstanding update of point version of any outstanding NPM package dependency

[ ] npm-update

npm-update in progress on centosci-tasks-b52ds.
Log: https://logs-https-cockpit.apps.ci.centos.org/logs/npm-update-753-20190802-150303/

npm-update in progress on 1-ci-srv-01.
Log: https://<IP_ADDRESS>:8493/logs/npm-update-753-20190802-150303/

npm-update in progress on 4-ci-srv-01.
Log: https://<IP_ADDRESS>:8493/logs/npm-update-753-20190802-150404/


404 not found

[y ] Check you are using the LATEST release or the development branch.
[y ] Make sure you have SEARCHED existing issues first.
[y ] Read the GUIDELINES linked in the yellow notice box above.
[ ] COMPLETE this issue template.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'http://2share.info/wci'
See error:
Not Found
The requested URL /wci was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Expected behavior
Usuell the site with corresponding link shall be opened http://2share.info/wci > https://www.worldcheckin.com but instead a 404 failure is displayed in browser.
Failure Screenshot > https://www.screencast.com/t/TcK1N0Vt
DC screenshot > https://www.screencast.com/t/qtGBY6x5bf
I have just updated version 1.7 to 1.7.2 and pointend then into new folder public_html/2share.info/yourls/YOURLS-1.7.2_AW
Url Folder Screenshot > https://www.screencast.com/t/6sECeM0V then, the error ocur.
I have then tried to switch back to old version by pointing back into old folder
public_html/2share.info/yourls/YOURLS-1.7_AW also even tried to switch PHP version from 5.6 to 7.1 pr 7.2 with same failure.
Environment (please complete the following information):

YOURLS version: 1.7.2

Plugins enabled:
Allow Hyphens in Short URLs; Fix Long URL; Force Lowercase; Google Analytics; Google Safe Browsing; Popular Links; QR Code Short URLS

PHP version: 5.6
Other relevant details depending on the context (
server version perl 5.16.3, cpanel vers. 72.0 (build 7), appache 2.4.33, Linux
MySQL version, 5.6.39
browser version, …)

Additional context
Add any other context about the problem here.

This error always comes from a bad .htaccess configuration.
Be sure to have:

A valid .htaccess configuration
A working Apache with all needed extensions (i.e. mod_rewrite)

Hi support team,

the addon domain has been recently migrated from cpanel account worldcheckin to wussleri
the addon domain has pointed to public_html/2share.info/yourls/YOURLS-1.7_AW
then I made and update of yourls software by creating a new folder and pointed then the addon to public_html/2share.info/yourls/YOURLS-1.7.2_AW
then I tried to use a combination of wordpress with yourls combined apppoach by mixing the software in folder public_html/2share.info/wp+yourls
As I found out, that the forward of shorten links is not working any more I have then pointed the addon domain back to public_html/2share.info/yourls/YOURLS-1.7.2_AW without success.

I cannot say if it has worked before (right after migration 1 week ago) as I did not checked about the same if there is a problem existing after the migration. The only thing I can say is, that it is already not working because of httaccess rules.
The goal is to use the mixed approach with the addon domain share.info to point to folder public_html/2share.info/wp+yourls to use wordpress together with yours.
Please help to find out how to estabish this and adjust or give advice to change the htaccess rules correspondingly.
Best, Alex

Hi just be informed,
to enable a combined usage of "yourls" together with "wordpress" in one folder where software is installled. In my case it has helped to use these rules. Will you agree or would you suggest any other approach or rules to be used?
Best, Alex
# BEGIN YOURLS
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /yourls-loader.php [L]
</IfModule>
# END YOURLS

# BEGIN WordPress
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteBase /
#RewriteRule ^index\.php$ - [L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]
#</IfModule>
# END WordPress

to enable a combined usage of "yourls" together with "wordpress"

As explained in the wiki, this situation can't be done.

Yourls Url: http://2share.info/wci forward to worldcheckin.com > 404 Error

I can only stick to my previous advice.
Be sure to have:

A valid .htaccess configuration
A working Apache with all needed extensions (i.e. mod_rewrite)

I'm closing since it doesn't seems to be a real bug with YOURLS, but feel free to continue the discussion here.


License?

Hey, I was searching for a blog template for leptos to learn and test. Yours is looking very nice, any way you'd MIT the template?

Yes, please feel free to use it for any of your purposes
I've updated the license to MIT as well.

Thank you!


Disable isStartOfType's lookahead when called from isStartOfParameter

isStartOfType has lookahead for parenthesized types. Now that unified JSDoc parsing allows types to start parameters, this lookahead compounds with speculative arrow-function parsing's lookahead (which also cares about parentheses). Disable the lookahead when isStartOfType is called from isStartOfParameter, which was introduced with the addition of unified JSDoc parsing.
Fixes #18123

Thanks guys 👍

@sandersn can you port this to release-2.5 as well

It's in release-2.5 now.


String parsing optimization

Improves string serialization / deserialization. Attempts at closing #16.
Significant improvements in deserialization, following Ethan's suggestions in #16.
Slight improvements (~10%) in serialization. To try and improve on this, I can't think of anything else than trying with an external / optimized escaping crate / lib.
Any ideas?

How do you measure the performance changes? I always compiled it into a local contract and measured the gas consumption of some standard calls.

I measured using the hackatom contract integration tests, as discussed in cosmwasm #314.
Noticed an improvement of ~17% for deserialization, and ~10% for serialization. ~27% overall, which is not bad.

How do you measure the performance changes? I always compiled it into a local contract and measured the gas consumption of some standard calls.

I measured using the hackatom contract integration tests, as discussed in cosmwasm #314.
Noticed an improvement of ~17% for deserialization, and ~10% for serialization. ~27% overall, which is not bad.

Noticed an improvement of ~17% for deserialization, and ~10% for serialization. ~27% overall, which is not bad.

This is good indeed. Since https://github.com/CosmWasm/cosmwasm/pull/379, we charge gas for external API calls. This happened after https://github.com/CosmWasm/cosmwasm/pull/314. This means the increase/decrease percentages cannot be compared directly anymore.

Noticed an improvement of ~17% for deserialization, and ~10% for serialization. ~27% overall, which is not bad.

This is good indeed. Since https://github.com/CosmWasm/cosmwasm/pull/379, we charge gas for external API calls. This happened after https://github.com/CosmWasm/cosmwasm/pull/314. This means the increase/decrease percentages cannot be compared directly anymore.

OK, I'll merge this, and create a branch in coswasm to modify the tests / gas limits.

OK, I'll merge this, and create a branch in coswasm to modify the tests / gas limits.

OK, I'll merge this, and create a branch in coswasm to modify the tests / gas limits.

Let me double check one thing now, then I approve

OK, I'll merge this, and create a branch in coswasm to modify the tests / gas limits.

Let me double check one thing now, then I approve

Oops, didn't saw your last comment. Let's revert it if you want.

Oops, didn't saw your last comment. Let's revert it if you want.


RFC: Phoning home to OpenCFP Cenral

I have received a request from someone to ask if I have considered having OpenCFP sites that are configured to use OpenCFP Central "phone home" to share details about the conferences themselves.
After thinking about it, I am not opposed to adding in functionality like this. Here is what I am thinking:

the feature is turned off by default
enabled by setting a preference in the configuration file
it will share application.title, application.url, application.eventurl, application.enddate

What I am unsure of how to accomplish is HOW to send that information. I don't want to be sending it on every OAuth request. Perhaps it could be done as a console command?
Would like to get your thoughts.

Console command seems reasonable to me. At which point you wouldn't need to even turn it off/on via a config preference, snce you'd have to explicitly run the command anyway.

Button in the admin would be easier.
Console stuff makes cloud based deployments annoying to manage.


The docs here are a mess

[Enter feedback here]
Could someone please make this easier to follow - its a car crash to follow

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

ID: df55b676-8ff7-1470-3525-d0edfd406af6
Version Independent ID: ac264c26-7196-870b-760f-94a97ae437e8
Content: Deploy an ASP.NET Core and Azure SQL Database app to Azure App Service - Azure App Service
Content Source: articles/app-service/tutorial-dotnetcore-sqldb-app.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@gsuttie
Thanks for your feedback! We will investigate and update as appropriate.

@gsuttie, Apologies! you did not find much clarity in the doc.
With a sample application, the doc outlines steps to deploy an ASP.NET Core app to Azure App Service and connect to an Azure SQL Database under 5 sections/steps - 1. Create App Service and Azure SQL Database , 2. Verify database connectivity, 3.Deploy sample code, 4. Generate database schema, 5. Browse to the app  - Kindly let us know if you found any specific section/steps you had trouble following.
Much appreciate your feedback!

@gsuttie,  Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply and we will gladly continue the discussion.


Test the creation of a Wikidata subset for WikiProject Invasion biology

As per
https://www.wikidata.org/wiki/Wikidata:WikiProject_Invasion_biology
and
https://www.wikidata.org/wiki/Wikidata:WikiProject_Schemas/Subsetting

One option to do this is via WDumper: https://wdumps.toolforge.org/ .
I just triggered a test dump:

Test dump not available yet:

Dump still not available yet.

Dump still not available yet.


Why i nee to enter an 'enter' button to give response!?

Can anyone help me? Why my express server has no response when i make a 'get' request, while it give response when i enter the 'enter' button?!!!!!

I'm sorry, @fishfreetaken I have no idea what the question is. Can you provide more information?

How do you make the request?
If you use, for example telnet, then the last enter  is required for a complete http request.

This is not a express problem.

I make a get with Python import requests or chrome html request; And this situation occurs at random, mostly express work well, but at some moments, express is blocked when i make a get request, then it work well(give a response) when i press 'enter' on terminal window!

I'm sorry, @fishfreetaken I have still have no idea what the question is. Can you provide more information?

I'm going to close this since I haven't heard anything further.


Changing the meaning of bool values is a bad idea

In https://github.com/iwongu/sqlite3pp/commit/b7800951a92bedbc3a5cf37b57245153342e09ed the fstatic parameter has been renamed to fcopy, which in itself is probably better API but is really dangerous for people who already use a previous version and want to upgrade.
All the people who have previously passed true as fstatic will still pass true after updating to your newest version, and then their code will be broken. Fixing it would require inspecting every single bind call, and is error prone as heck.
Instead of reversing the boolean, a better approach would be to make it an enum. For instance I would call:
const char* str1 = "foo";
std::string str2 = "foo";
stmt.bind(0, str1, strlen(str1), sqlite3pp::reference);
stmt.bind(1, str2, str2.size(), sqlite3pp::copy);

This has two benefits:

It provides a compiler error to upgrading developers, instead of silently breaking their programs.
It's also much more readable than any of the previous two versions, so I know what it does without even looking up the function in the header file.

Please fix this and save your existing users from segfaults.

Jakob, I agree.
Can you check this commit and give some feedback?
https://github.com/iwongu/sqlite3pp/commit/8583f2d5569fef326ab8649c4ac58bb2f66337ed

That seems fine, yes. Thank you!


chore: Switch from deprecated vscode dep

https://code.visualstudio.com/api/working-with-extensions/testing-extension#migrating-from-vscode

@928PJY not sure if you're also looking after this repo too 😄 , but I saw you had a commit in here

@bharney0 if this lands, it would be good to bump the submodule in docs-authoring


Remove version: Bitvise.SSH.Client version 9.34

:warning: Vanity URL
This package uses a vanity URL, which always points to the latest version. Since a newer version is released, outdated versions should be removed from the repository.

Resolves #198832

Microsoft Reviewers: Open in CodeFlow

URL: https://dl.bitvise.com/BvSshClient-Inst.exe
OK
(Automated message - build 923)


fix: handle environment variables for *nix

Today we convert environment variables into cli argument. But if we take an example;
const flags = {
  fooBar: cliArgs.registerFlag<string>('foo-bar 'string'),
};

This will be usable by either setting foo-bar=baz on the machine that runs garn or passing it in as an argument garn --foo-bar baz. However hypen (-) is not valid for shells like bash or sh. The accepted characters range is [a-zA-Z_]{1,}[a-zA-Z0-9_]*.
There is hacky ways to get env vars in using tricks like env 'foo-bar=baz' && echo env | grep foo-bar. But it's better to be 100% POSIX compatible so we do not have to do inconvenient things for *nix environments.

Merge, merge merge


feat request: mocking Diamond proxy schemes

This is not a bug report - rather it's probably the start of a discuthis ssion, which could either lead to discovering that smock could have new features around the diamond pattern, or a contribution from people who found ways to do things neatly.
Consider the following architecture:

You have a contact named Diamond.
You have several facets - say FacetA and FacetB.
You want to test FacetA, and you don't want to mix concerns from FacetB - in a nutshell, you would like to somehow act as if FacetB would be a separate contract.

At this point, I found myself stuck - because although FacetA and FacetB are split into different contacts, all their methods are in fact accessible through the Diamond contract. I didn't find a way to mock FacetB - and I found myself quite often testing things from the FacetA tests that are relevant to FacetB and reciproquelly.
I think since Diamonds often use libraries for functions that are reused across facets, there could be overlap with https://github.com/defi-wonderland/smock/issues/50 ... But it's not always the case. Very often in FacetA.sol there are calls such as FacetB(address(this)).someFunction() - and it's not something that smock can help with unfortunatelly.
Can we maybe brainstorm a bit - it might be that I am missing something obvious here - but if not, I think it would be of great help to think about how smock could be improved to help with the diamond pattern.
One of the solution I found which would potentially work, would be to have some facets duplicated just for tests... But that would require quite some boilerplate written in solidity all the time - for example having FacetBMock.sol have a fallback() function which would record all calls so that they could be inspected by the typescript test - return values wouldn't work though.
Another option would be to allow smock to "connect" to an existing address... For example the flow would look like:

Deploy diamond with only FacetA.
Create a mock of FacetB (Eg smock.mock('FacetB')) and perform a diamondCut` to set it on the diamond.

In case it helps gathering ideas: this is a stack overflow post I've made regarding this particular topic.

hi @hickscorp,
could you provide a basic example within the smock repo of a diamond deployment and the expected behaviour?
we're not very experienced with proxies and i'm afraid i do not totally understand how the feature would work.
if you can include the required packages and some test contracts, i can help you to develop the tests and add it as a bounty to develop

I will!

@wei3erHase happy to team up together today if you have a bit of time. We could get clean requirements written together?

I made a repository which has a README explaining the specs: https://github.com/hickscorp/smock-diamond-showcase


Job queue without schedule priority - document example

Description
Show example of using create_scheduling_policy
Motivation and Context
By default it creates a scheduling policy without specifying any, it is optional, supported in this TF but no doc for it.
Breaking Changes
No, just an example.
How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

Terraform plan went through upon additional.

Related PR this addresses example, document wise: https://github.com/terraform-aws-modules/terraform-aws-batch/commit/86546af08a5791149693374e9206fb5166914b37

Related PR this addresses example, document wise: https://github.com/terraform-aws-modules/terraform-aws-batch/commit/86546af08a5791149693374e9206fb5166914b37


Hi,How can i save the result image?

I found the result images in the Results/model-name/test-datasets-name. But if i use   <--infer >,where to find my result images?

Still under Results/model-name/infer-folder-name

Still under Results/model-name/infer-folder-name

谢谢回答，我这里还有一个问题想请教，我在测试使用Vespcn-tensorflow获得超分辨率视频，15秒24帧720P的视频被我切分成200多张图片，这组图片序列通过Vespcn需要非常长的时间（在2600X上进行测试，未使用GPU加速），请问有没有什么办法能够加快预测的速度，使用Pytorch会有帮助吗?
同时我查阅了Vespcn那篇论文，原论文声称使用了动作补偿来加快视频超分辨率化的速度，但在这个模型上似乎并没有体现，请问是否有完整复现论文的模型？

Pytorch's CPU implementation is quite slow.
For VESPCN, it will process 3 frames to generate 1 output.
Motion compensation is not for acceleration...

Thank you, I got it. By the way, which model should i choose if i want a fast VSR.

FRVSR is highly recommended

Thank you so much.

hi,when I test the vespcn-tensorflow, it can't save image to infer,can you give me some advice ? @Undercut @LoSealL
It just return
Test: 0it [00:00, ?it/s]
my command is
python eval.py dbpn -t vid4 --pretrain=../Results/vespcn/save

You should use
python eval.py vespcn -t vid4 --pretrain=../Results/vespcn/save

Thanks, I see that you have change the '/VSR/Backend/TF/Framework/Trainer.py', it works for testing vespcn model. Thank you very much!

Hi, when I use
python eval.py vespcn -t vid4 --pretrain=../Results/vespcn/save
The terminal reports some issues. I don't know how to solve it. Can you give me some advice?
Here is the report information:
(TF2.1) D:\GP_AI\Super Resolution\VideoSuperResolution\Train>python eval.py vespcn -t vid4 --pretrain=../Results/vespcn/save
2022-05-07 20:01:40,213 INFO: LICENSE: VESPCN is proposed at CVPR2017 by Twitter. Implemented by myself @LoSealL.
Traceback (most recent call last):
File "eval.py", line 122, in
main()
File "eval.py", line 83, in main
model.load(opt.pretrain)
File "d:\gp_ai\super resolution\videosuperresolution\VSR\Backend\Torch\Models\Model.py", line 137, in load
self.sequential_load(model, str(pth), map_location)
File "d:\gp_ai\super resolution\videosuperresolution\VSR\Backend\Torch\Models\Model.py", line 148, in sequential_load
state_dict = torch.load(pth, map_location=map_location)
File "F:\Anaconda\envs\TF2.1\lib\site-packages\torch\serialization.py", line 699, in load
with _open_file_like(f, 'rb') as opened_file:
File "F:\Anaconda\envs\TF2.1\lib\site-packages\torch\serialization.py", line 231, in _open_file_like
return _open_file(name_or_buffer, mode)
File "F:\Anaconda\envs\TF2.1\lib\site-packages\torch\serialization.py", line 212, in init
super(_open_file, self).init(open(name, mode))
PermissionError: [Errno 13] Permission denied: '../Results/vespcn/save'


Model was changed but provided model parameters haven't been updated yet

I get the following error when trying to load the latest code and published model in the tacotron notebook when trying to load the Waveglow model:
AttributeError: 'WN' object has no attribute 'cond_layer'

My guess is that commit 883651d22a07831d16834eafbda67d6b09378dc2 changed things and the provided model hasn't been posted yet?

Same here

@hadaev8 @scnerd you can use convert_model.py to convert the pre-trained model to the new one. It solves the issue.

@hadaev8 @scnerd you can use convert_model.py to convert the pre-trained model to the new one. It solves the issue.

Thank you.
This works.

Closing due to inactivity.

@hadaev8 @scnerd you can use convert_model.py to convert the pre-trained model to the new one. It solves the issue.

How can I use convert_model.py to convert old model to new one?

@hadaev8 @scnerd you can use convert_model.py to convert the pre-trained model to the new one. It solves the issue.

How can I use convert_model.py to convert old model to new one?

like:
python convert_model.py old_model_name.pt new_model_name.pt

I solve this by use the pretrain version 3 at this link: https://ngc.nvidia.com/catalog/models/nvidia:waveglow_ljs_256channels/files?version=3

re-trained mo

how and why do I need to convert the pre-train to new model? I just want to run inference, can you be more specific

@hadaev8 @scnerd you can use convert_model.py to convert the pre-trained model to the new one. It solves the issue.

how and why do I need to convert the pre-train to new model? I just want to run inference, can you be more specific


PDOException in app/Modules/Visittransfer/Console/Commands/ApplicationsCleanup.php:42

Error in VATSIM-UK/Core (Laravel)
PDOException in app/Modules/Visittransfer/Console/Commands/ApplicationsCleanup.php:42
SQLSTATE[HY000] [2002] Connection refused
View on Bugsnag
Stacktrace
app/Modules/Visittransfer/Console/Commands/ApplicationsCleanup.php:42 - App\Modules\Visittransfer\Console\Commands\ApplicationsCleanup::cancelOldApplications
app/Modules/Visittransfer/Console/Commands/ApplicationsCleanup.php:34 - App\Modules\Visittransfer\Console\Commands\ApplicationsCleanup::handle

View full stacktrace

An error linked to this issue has been marked as fixed in Bugsnag
PDOException in app/Modules/Visittransfer/Console/Commands/ApplicationsCleanup.php:42


How to produce mask for new image, in few-shot inference?

Hi everyone, after running demo/demo.py to infer in zero-shot successfully, I want to try infer in few-shot mode:

I downloaded the correct models
But I stuck at producing the class prototypes(demo/build_protytypes.ipynb), which require images, AND THEIR MASKS.

In the provided demo, images and mask are provided, but I can not find how those masks were made, so that I can make segmentation mask of my new images. I have searched in issues and could not find a similar question.
So my question is:
How do I make segmentation mask for new images? i.e. see my attached image, from left image, how can I make the segmentation on the right?
I appreciate every suggestion, even how small it is, thank you all!

Hi @nguyenthekhoig7,
I generated my masks using Segment Anything Model.
Best,


Salsa did not write scaffolds_FINAL.fasta

Hi,
I am trying to run Salsa on a mouse (2.7 GB), but it did not write the final scaffolds fasta.
I am running using the following command:
$  python run_pipeline.py -a  data/M_musculus_129_v1.assembly.fasta -l data/M_musculus_129_v1.assembly.fasta.fai -b salsa/create_bed/bwa.bed -e DpnII -o scaffolds
I don't get any errors, and the last file written is contig_links_scaled_sorted_iteration_2.
If I check the scaffold_length_iteration_2, the n50 is identical to the original fasta, I guess this means
that no links and no scaffolds have been made, and as a consequence the scaffolds_FINAL.fasta is not printed out?
Below more details.
Thank you very much,
Francesca
The files I get are:
alignment_iteration_1.bed  breakpoints_iteration_2.txt	contig_links_iteration_2
contig_links_scaled_sorted_iteration_1  misasm_2.DONE re_counts_iteration_2 scaffolds_iteration_1.p
alignment_iteration_2.bed  commands.log	contig_links_scaled_iteration_1
contig_links_scaled_sorted_iteration_2  misasm_iteration_2.report  scaffold_length_iteration_1
assembly.cleaned.fasta   contig_links_iteration_1 contig_links_scaled_iteration_2
links_avoid_iteration_2	 re_counts_iteration_1  scaffold_length_iteration_2
The output was:

python /lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/RE_sites.py -a scaffolds/assembly.cleaned.fasta -e DpnII > scaffolds/re_counts_iteration_1
Starting Iteration 1
python /lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/make_links.py -b scaffolds/alignment_iteration_1.bed -d scaffolds -i 1 -x abc
bedfile started
bedfile loaded
python /lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/fast_scaled_scores.py -d scaffolds -i 1
sort -k 5 -gr scaffolds/contig_links_scaled_iteration_1 > scaffolds/contig_links_scaled_sorted_iteration_1
python /lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/layout_unitigs.py -x abc -u abc -t abc -l scaffolds/contig_links_scaled_sorted_iteration_1 -c 1000 -i 1 -d scaffolds
Loading Hi-C links
Finished loading Hi-C links, Loading unitig links now..
Hybrid scaffold graph loaded, nodes = 5412 edges = 2724
Hi-C implied edges = 0
Unitig tiling implied edges = 0
Assembly graph implied edges = 0
10x implied edges = 0
/lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/break_contigs -a scaffolds/alignment_iteration_2.bed -b scaffolds/breakpoints_iteration_2.txt -l scaffolds/scaffold_length_iteration_2 -i 2 > scaffolds/misasm_iteration_2.report
python /lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/refactor_breaks.py -d scaffolds -i 2
Starting Iteration 2
python /lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/make_links.py -b scaffolds/alignment_iteration_2.bed -d scaffolds -i 2
bedfile started
bedfile loaded
Starting Iteration 2

Hi,
For the -e option, you need the enter the actual sequence rather than name
of the enzyme. If you enter the nucleotide sequence for DpnII, if would
work.
On Dec 14, 2017 5:21 AM, "Francesca Giordano"<EMAIL_ADDRESS>wrote:
Hi,
I am trying to run Salsa on a mouse (2.7 GB), but it did not write the
final scaffolds fasta.
I am running using the following command:
$ python run_pipeline.py -a data/M_musculus_129_v1.assembly.fasta -l
data/M_musculus_129_v1.assembly.fasta.fai -b salsa/create_bed/bwa.bed -e
DpnII -o scaffolds
I don't get any errors, and the last file written is
contig_links_scaled_sorted_iteration_2.
If I check the scaffold_length_iteration_2, the n50 is identical to the
original fasta, I guess this means
that no links and no scaffolds have been made, and as a consequence the
scaffolds_FINAL.fasta is not printed out?
Below more details.
Thank you very much,
Francesca
The files I get are:
alignment_iteration_1.bed breakpoints_iteration_2.txt
contig_links_iteration_2
contig_links_scaled_sorted_iteration_1 misasm_2.DONE re_counts_iteration_2
scaffolds_iteration_1.p
alignment_iteration_2.bed commands.log contig_links_scaled_iteration_1
contig_links_scaled_sorted_iteration_2 misasm_iteration_2.report
scaffold_length_iteration_1
assembly.cleaned.fasta contig_links_iteration_1
contig_links_scaled_iteration_2
links_avoid_iteration_2 re_counts_iteration_1 scaffold_length_iteration_2
The output was:
python /lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/RE_sites.py -a
scaffolds/assembly.cleaned.fasta -e DpnII > scaffolds/re_counts_iteration_1
Starting Iteration 1
python /lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/make_links.py
-b scaffolds/alignment_iteration_1.bed -d scaffolds -i 1 -x abc
bedfile started
bedfile loaded
python /lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/fast_scaled_scores.py
-d scaffolds -i 1
sort -k 5 -gr scaffolds/contig_links_scaled_iteration_1 >
scaffolds/contig_links_scaled_sorted_iteration_1
python /lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/layout_unitigs.py
-x abc -u abc -t abc -l scaffolds/contig_links_scaled_sorted_iteration_1 -c
1000 -i 1 -d scaffolds
Loading Hi-C links
Finished loading Hi-C links, Loading unitig links now..
Hybrid scaffold graph loaded, nodes = 5412 edges = 2724
Hi-C implied edges = 0
Unitig tiling implied edges = 0
Assembly graph implied edges = 0
10x implied edges = 0
/lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/break_contigs -a
scaffolds/alignment_iteration_2.bed -b scaffolds/breakpoints_iteration_2.txt
-l scaffolds/scaffold_length_iteration_2 -i 2 >
scaffolds/misasm_iteration_2.report
python /lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/refactor_breaks.py
-d scaffolds -i 2
Starting Iteration 2
python /lustre/scratch117/sciops/team117/hpag/fg6/bin/SALSA/make_links.py
-b scaffolds/alignment_iteration_2.bed -d scaffolds -i 2
bedfile started
bedfile loaded
Starting Iteration 2
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/machinegun/SALSA/issues/16, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8OKAAi-Kc2QOu7aaRWiIpYncznQAk0ks5tAPa1gaJpZM4RB1nV
.

Thank you,
I will try again!
Cheers,
Francesca


Modifications, add assigned by column

How many non automated Modification annotations do we import from UniProt?
(and how many do we keep after filtering the redundancy).
I am trying to establish how much  duplication of effort there has been historically so I can include that information in my
e-mail.
These have their own PMID so they don't appear here:
https://www.pombase.org/reference/PMID:36408920

I just looked at the modifications download file, but it doesn't have an assigned_by column. We should add that.
Although I still s would not be able to get the numbers because I would not know how many were in the intersection (filtered as duplicates).
v

How many non automated Modification annotations do we import from UniProt?

Here are the counts of modifications with each evidence code.  I wasn't sure which code count as non automated.

count
evidence_code
evidence_name

204
ECO:0000250
sequence similarity evidence used in manual assertion

55
ECO:0000255
match to sequence model evidence used in manual assertion

2370
ECO:0000269
experimental evidence used in manual assertion

7
ECO:0000305
curator inference used in manual assertion

(and how many do we keep after filtering the redundancy).

We're keeping them all at the moment.  The filtering isn't implemented:

https://github.com/pombase/pombase-chado/issues/1223

Thanks.
Could you extract
PMID number for the EXP codes I think most are from  single dataset (Wilson -Grady)

count
evidence+PMID

204
ECO:0000250

55
ECO:0000255

2
ECO:0000269 PubMed:10364209

1
ECO:0000269 PubMed:10485849

1
ECO:0000269 PubMed:10488332

1
ECO:0000269 PubMed:10617667

4
ECO:0000269 PubMed:10921878

2
ECO:0000269 PubMed:11283354

4
ECO:0000269 PubMed:11486016

5
ECO:0000269 PubMed:11937031

2
ECO:0000269 PubMed:12135491

2
ECO:0000269 PubMed:12697825

3
ECO:0000269 PubMed:12773390

3
ECO:0000269 PubMed:12805221

1
ECO:0000269 PubMed:12931193

1
ECO:0000269 PubMed:14585996

4
ECO:0000269 PubMed:14633985

2
ECO:0000269 PubMed:15226425

3
ECO:0000269 PubMed:1547790

4
ECO:0000269 PubMed:16087749

14
ECO:0000269 PubMed:18076573

2258
ECO:0000269 PubMed:18257517

2
ECO:0000269 PubMed:18378696

2
ECO:0000269 PubMed:19155267

5
ECO:0000269 PubMed:19804755

1
ECO:0000269 PubMed:20444689

1
ECO:0000269 PubMed:207525

1
ECO:0000269 PubMed:20924356

6
ECO:0000269 PubMed:21376600

1
ECO:0000269 PubMed:22375062

1
ECO:0000269 PubMed:22375066

2
ECO:0000269 PubMed:22682245

1
ECO:0000269 PubMed:22792081

3
ECO:0000269 PubMed:22976295

1
ECO:0000269 PubMed:23415232

2
ECO:0000269 PubMed:24074952

1
ECO:0000269 PubMed:24247430

2
ECO:0000269 PubMed:24352239

2
ECO:0000269 PubMed:24550462

1
ECO:0000269 PubMed:29192674

6
ECO:0000269 PubMed:30051891

3
ECO:0000269 PubMed:33836577

1
ECO:0000269 PubMed:3910104

3
ECO:0000269 PubMed:7628693

1
ECO:0000269 PubMed:7957097

1
ECO:0000269 PubMed:8226998

1
ECO:0000269 PubMed:8524294

2
ECO:0000269 PubMed:9430640

3
ECO:0000305

1
ECO:0000305 PubMed:14585996

1
ECO:0000305 PubMed:22792081

2
ECO:0000305 PubMed:37731000

OK after the filtering it would be good to know how many of these are filtered as a consistency check.
Then I will contact UniProt about ingesting our additional  ~67000, but I can show them the precise overlap

The modifications export file now has an "assigned_by" column:
https://curation.pombase.org/dumps/builds/pombase-build-2024-10-13/misc/modifications.tsv


[DOCS 📄] Add Tech Stack

Description
Add Vite as a tech stack in README.md
Screenshots
No response
Additional information
No response

I don't think I can do anything about vercel check, right?


CSS for forget password in dark mode

When dark mode is on, the forgot password card does not reflect it. I want to solve the problem. Kindly assign it to me

Sure


update code.google dependencies to github

@bfowle Thanks! Are you using this lib in production?

code.google packages will give an error now when performing a go get. I didn't realize there was the official golang/protobuf one until the 3rd patch. But should work now.

@bfowle Cool, thanks! What's your use case for this driver?

@mrb It was originally my client of choice while learning Riak for a work project. Later, I found it to be one of the most intuitive clients to use (along with the official Python one) for personal projects as well. :+1:

@bfowle Cool! Can I interest you in helping me out as a maintainer?

@bfowle  Can you fetch merge and resolve conflicts ?

@indykish Nope! But you can!

@mrb  I think this is fixed in my prior pull request. But let me fetch/merge it.

@indykish Great! Feel free to announce that you're helping to maintain this now, and to fix the README!

@mrb  sure


Find all Implementations on an interfaces needs defined

If you trigger "Find all implementations" on the name of an interface declaration, we show all the references for the implementation including the originating interface:

There are two issues here:

Find all implementations is really just find all references - it is not building up the inheritance tree and giving results based on that
there is a question of what is the right thing to do - should all children of the interface/contract be shown, or just the immediate children in the hierarchy

The final implementation should:

deal with interfaces extending other interfaces
deal with abstract contracts
exclude the originating interface/contract from the "implementations list"

I suspect we should focus our efforts on slangs usedef work to resolve this.


Accessing X & Y values of a layer?

I'm able to access a layers name with layer.name but there is nothing for the value layer.x or layer.y.
How can I access these?

Looking through the source I found an attribute called bbox which seems to work. layer.bbox produces a format like this BBox(x1=0, y1=2, x2=1373, y2=531).
I'm wondering what's the difference between x1 and x2 here?

Ah never mind I'm going to guess that x1 is the left-most point and x2 the right-most.


[FLINK-31108][Connectors/Kinesis] Use Stream ARN instead of Stream Na…

…me for Kinesis API calls
Purpose of the change
Modifies Kinesis Source to use Stream ARN instead of Stream name.
Verifying this change
This change added tests and can be verified as follows:

Added unit tests

Significant changes
(Please check any boxes [x] if the answer is "yes". You can first publish the PR and check them afterwards, for convenience.)

[x] Dependencies have been added or upgraded
[ ] Public API has been changed (Public API is any class annotated with @Public(Evolving))
[x] Serializers have been changed
[ ] New feature has been introduced

If yes, how is this documented? (not applicable / docs / JavaDocs / not documented)

Superseded by https://github.com/apache/flink-connector-aws/pull/65


Investigate gas cost of a byte in the IBC memo field

Context
IBC messages may contain a memo.
Proposal
Investigate the gas cost of a byte in the IBC memo field and compare it to the gas cost of a byte in a PFB blob.

one simple and accurate way of doing this is compare the entire gas costs of the txs sumibtted to mocha and comparing it to a similarly large pfb tx.
some potential outcomes of this:

wait until IBC fixes the issue (as I believe its consensus breaking)
price tx bytes even higher
price blob bytes lower

The major downside of people including data in ibc transactions instead of PFBs is that consensus nodes have to download all of that data in the future

On first glance, I don't see why a byte in the IBC memo field would be priced any differently than via auth.TxSizeCostPerByte=10. It's also worth noting that it doesn't look like there is an explicit bound on the max IBC memo.

Chains should ensure that there is some length limit on the entire packet data to ensure that the packet does not become a DOS vector.

Source

Quick comparison:

PFB tx with 109,383 byte blob used 990,636 gas.
IBC tx with 963 byte memo used 105,786 gas.

but that doesn't seem informative enough so I'm going to analyze gas costs on a local devnet.

Confirmed that characters in the IBC memo field are charged based on via auth.TxSizeCostPerByte=10. See this test.


OpenLLaMa

Isn't OpenLLaMa supposed to be in this list ?

Hi @BinaryQuantumSoul,
thanks for your interest in this collective open-source work.
OpenLLaMa is already part of the table. However I just saw that the referenced checkpoints are outdated. Do you want to update them by the reference you just provided?
If so, feel free to quickly create a PR and mention this issue as a reference. I will take care of merging it.
Best,
Ludwig

Hello,
Sorry, I'm really not that much good at reading at table 🤣. I don't have time right now for PR. But anyway this table is mainly useful for model names since they are constantly updating.
Have a good day/night

Sure, no worries,
then I will take this over and correct the link. Thanks for bringing this to our attention.


Create a DTO for list user threads with tests

Create a DTO for list user threads with tests

Please rebase from main :D


prepare.bat not prearing x64

Hello,
I'm trying to build the branch 20180320-peercc-unity but I can't seem to get past the bin/prepare.bat part. After downloading everything, I run the prepare.bat and this is what I get:
CRITICAL ERROR: Could not generate WebRTC projects for winuwp_10 platform, x64 CPU

FAILURE:Preparing WebRTC development environment has failed.
=======   WebRTC prepare script summary   =======
=======   platform   =========   result   =======
            arm                 not run
            x64                  failed
            x86                 not run
            win32               not run
=================================================

Here's a more detailed version with -loglevel 4
Pastebin Link
Any ideas why this is happening?

Here's the error you're hitting:
You must install the "Debugging Tools for Windows" feature from the Windows 10 SDK.
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive
This branch requires 16299 I believe. Let us know if this helps.

That did the trick, I had 2 versions of the SDK and none of them were the correct ones.
Thank you!

Great, apologies for the lack of documentation!


Full resolution delay

Describe the bug
When swiping through the images of any album, it takes 1 to 2 seconds to load the full resolution. The full resolution is only saved for 10 images. Swiping back from the 11th image to the 1st, then the first image again takes long to load its full resolution.
Resolution of the images in the album: 3024x4032
Image sizes: 3-4MB
It does not seem to be a phone issue, as other gallery apps (Google, Piktures) are showing the full resolution without delay
EDIT:

It does not matter if the images in the album are saved on system memory or SD card.
The problem is independent from the number of images in the album

To Reproduce
Steps to reproduce the behavior:

Open Album
Swipe through images
It takes 1-2 seconds to load full resolution

Expected behavior
Full resolution should be shown (almost) instantly
System information and logs:
Package: deckers.thibault.aves
Installer: com.android.vending
Aves version: 1.10.2-play, build 111
Flutter: stable 3.16.5
Android version: 9, API 28
Android build: PPW29.116-20-28
Device: motorola moto g(6) plus
Geocoder: ready
Mobile services: ready
System locales: de_AT
Storage volumes: /storage/9320-F9CF/, /storage/emulated/0/
Storage grants:
Error reporting: false
aves-logs-20240115_061959.txt

Duplicate:

#464


Skyrim modding DepotDownloader.bat not working even with every step taken

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant. DepotDownloader.bat is still saying its not an internal or external file on the Win+r menu. I need help so I can continue to try and fix my mods on skyrim

Hi @Wolfknight9
What is DepotDownloader.bat and how is it related to .NET Core?

Also, if you can paste what's the error message that you're getting.


Rename osc to os as that is the name in OS 0.6 onwards.

ok to test

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/557/
Test PASSed.

Actually @davsclaus the command line tool was renamed to oc not os :)

@christian-posta ah darn what a crappy name, open crap? open confusing name here or open cube?

Oops! I even reviewed this one ;)

@christian-posta fancy doing a PR ? I just mess up and name it something else again

sure, on its way

The rename happened to stop conflict with existing CLI tool called osc.


Mocha 8.3.1 breaks ability to add configuration to tail of it blocks

Prerequisites

[x] Checked that your issue hasn't already been filed by cross-referencing issues with the faq label
[x] Checked next-gen ES issues and syntax problems by using the same environment and/or transpiler configuration without Mocha to ensure it isn't just a feature that actually isn't supported in the environment in question or a bug in your code.
[x] 'Smoke tested' the code to be tested by running it outside the real test suite to get a better sense of whether the problem is in the code under test, your usage of Mocha, or Mocha itself
[x] Ensured that there is no discrepancy between the locally and globally installed versions of Mocha. You can find them with: node node_modules/.bin/mocha --version(Local) and mocha --version(Global). We recommend that you not install Mocha globally.

Description
In a few places in our codebases we configured retries and timeout using the following syntax:
 it('should delete note', () => {
    const output = execSync(`node deleteNote.js "${projectId}" "${noteId}" `);
    assert.include(output, `Note ${formattedNoteName} deleted.`);
    // Sometimes the delete note test is failing with the error:
    // Error: 5 NOT_FOUND: note with ID "test-note-${uuid}" for project
    // ${projectId} does not exist.
    // Attempting to work around this issue by retrying a few times.
    // DO NOT MERGE.  If this works, we should submit an upstream bug.
  }).retries(3);

In https://github.com/mochajs/mocha/pull/4574 helpers like it() are refactored, such that they're wrapped in a closure and no longer have the attributes .retries(), .timeout(), etc.

Steps to Reproduce
Use mocha 8.3.1 to run the following block:
it('foo').retries(3);

Expected behavior: [What you expect to happen]
Settings can be chained on to it block.
Actual behavior: [What actually happens]

Exception occurs.
Reproduces how often: [What percentage of the time does it reproduce?]
Always happens.
Versions
Mocha 8.3.1.
Additional Information

One potential patch is returning the result of it.apply in the new closures that have been introduced.

Your sample is not completely correct though, and I'm glad about this

@juergba ohhhh, that makes a lot of sense. I was surprised you didn't have more bug reports.


Package.json: incorrect module file name

Error Description:
https://github.com/ginkgobioworks/react-json-schema-form-builder/blob/main/package.json#L19
Currently package.json has:
{
      "module": "dist/index.modern.js",
}

but the generated build file is actually index.modern.mjs

This throws a build error when using this package with vite.
Fix:
update module file name in package.json
{
      "module": "dist/index.modern.mjs",
}

Sorry about that. Should be fixed in the next release.


Add distributed sampler warning

Adds warning on dataspec creation if no distributed sampler is provided.
Note: Still a draft to get design right, might be buggy / need check to be moved around

@hanlint I see a few options here:

Only emit a warning
Only emit an error (would anyone want to use something else? this seems too restrictive)
Emit warning and add a bool flag to let user skip warning (seems like weird design)
Autowrap distributed sampler and give user option to skip with bool flag
Let me know if you have any thoughts? Or we can move to design meeting

Conclusion from poll w research: option 2 for now, with long term plan to do 4

Mismatched elements: 1 / 5 (20.0%)
Greatest absolute difference: 3.3387914299964905e-07 at index (0, 0) (up to 1e-08 allowed)
Greatest relative difference: 8.56401274043212e-05 at index (0, 0) (up to 1e-05 allowed)

@hanlint  I think this is just bad thresholds. Can you do a closer pass just to double check on this though?

Migrating this to https://github.com/mosaicml/composer/pull/1598 -- its easier to start from scratch than revert changes to all the tests


Fixed Path Appending Issue

The bin folder path get's pre-pended to the system path each time exec is called.  This causes an issue in Windows when you call exec multiple times in the same script.   This change just adds a check to see if the folder is already in the path before pre-pending it.

I like where this thought is going, but I see concerns using regex to do it.  Perhaps it's done once outside the pipe.  Perhaps it's as simple as opt.env.PATH.split(path.delimiter).indexOf(binPath) === -1.

Which of those options do you prefer? I can do either.

I'm thinking moving it to outside the loop would be a major version bump, so let's just split path and check inside the loop and call it a patch release.


avoid test flake in "delay" test; closes #2469

failure is sauce flake.  I think the sauce connect tunnel is not getting shut down quickly enough.  see #2478

Wait, what? How come that test didn't work? Do you have any insight @boneskull? It would be nice to have a link to an example of this test causing the run to fail.

We have a limited number of concurrent sessions (5) with SauceLabs.
If we limit the concurrent sessions within Karma itself, our tests should not flake, if and only if we have only one (1) build running at any given time.
If we have multiple builds running, we cannot ensure we won't exceed our concurrent session limit.
I researched this, and there seems to be no way to limit the number of concurrent builds on Travis CI.  You can limit the number of concurrent jobs (which is only part of a build), but this is not necessary, and slows CI way down, since it has to run all jobs in serial.
Potential solutions:

Don't run Karma tests on Travis CI; run them on a service or CI server which supports this behavior.
Run Karma tests in Travis CI, but keep them in a separate repository.  That config should have a single job in its matrix, which would use Travis CI's concurrency limit of 1, and Karma's concurrency limit of 5.
Build with Jenkins or something else we have more control over.

From my conversations with @drazisil, it seems like CircleCI wouldn't be helpful to us, given the use case.  But I'd love to know his opinion after having looked at our Travis config, and the problems we're having.

@dasilvacontin ^

@boneskull But I thought we were only using Karma (for the browser tests) on one of the TravisCI jobs (?) eg Node 7

Thought I'd pipe in and offer to help, should you decide to move part of the work to CircleCI. I'm pretty familiar with that service, and like it a lot. I've done some work with Sauce Labs in the past, on a python project.
@boneskull BTW, I just recently sent you a note on gitter. I'm looking for a good place to plug in!


It's possible to reach the datamap UI without the plus flag

Bug Description
Running the fides backend, the UI will allow navigating to /datamap if you type it in the URL even though that should be a plus protected route.
Steps to Reproduce

nox -s dev
npm run dev
Type in localhost:3000/datamap. you should see the datamap UI

Expected behavior
Be rerouted to the home page if not running the plus backend
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

Version:
OS:
Python Version:
Docker Version:

Additional context
Add any other context about the problem here.

@allisonking When trying to access localhost:3000/datamap I do not see the datamap ui. Instead I end up at the home page. I should note that I was able to see the datamap yesterday.

test

running fides OSS you can’t navigate to /datamap
running fidesplus you can navigate straight to /datamap

test passed
moving to done


Fix bugs in the accessibility tree created by Masonry

Fix the layout values set in the accessibility tree.

@mwcampbell I think we should be good to merge?


collectd: bring back xencpu plugin

Xen is no longer in a broken/unmaintained status, so we can bring the xencpu plugin back easily.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

cc @bjornfor and @NixOS/xen-project

lib.meta.availableOn can be used for availability checks. Enabling functionality in a module should not automatically increase attack surface as root. An assertion or warning is a better idea.

Oops... I accidentally deleted the remote branch I'm working on, I'm sorry.


Startup script option to pull properties from config file

Add a new command line option (maybe -c filename/path?) to run.sh to allow specifying the startup parameters in a configuration file, not via command line.  If a configuration file is used then the other command line options shouldn't be allowed.

This was done as part of the v5 refactoring.


Python 3 support fix

I think there's an indent issue in this patch?

Yep:
Traceback (most recent call last):
  File "run_statetest.py", line 13, in <module>
    from ethereum.messages import apply_transaction
  File "/usr/lib/python3.6/site-packages/ethereum-2.1.0-py3.6.egg/ethereum/messages.py", line 19, in <module>
    from ethereum import vm
  File "/usr/lib/python3.6/site-packages/ethereum-2.1.0-py3.6.egg/ethereum/vm.py", line 238
    if sys.version_info.major == 2:
                                  ^
TabError: inconsistent use of tabs and spaces in indentation


build: upgrade setuptools version to 73.0.0

Issue link

What changes have been made

Verification steps

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] Testing is not required for this change

/lgtm

/approve


Vd/disable screenshots

Hi,
When disabling screenshots on UTM prefences the user cannot delete their screenshots after selecting "Do not save screenshots". This merge proposes a new configuration value "Enable screenshots" which will enable/disable them as well as delete them on disk when disabled.
Addresses https://github.com/utmapp/UTM/issues/3936
Cheers
Peter

Thanks for the PR but I think this overly complicates things. Also, an accidental check of the option shouldn't go and delete (screenshot) files from every VM without an additional prompt or something. I think it's enough to just delete any stale screenshot when the VM starts and the disable option is checked.
e958cc42c4eec2d0cf3e3bf0d3eb9403edd0b79b

Cool thnx @osy

Is there any possibility for an option to disable screenshots entirely or allow manually setting an image?
It's a security risk having screen capturing running constantly in the background. Even with the option disabled, it saves every 30 seconds so can still screenshot sensitive info like login details or emails and this appears on closing the VM, which then gets flushed on closing the app.
I'd like to be able to disable the screen capturing process and also set a VM screenshot manually and have it persistent so that different Windows and Linux VMs have different screenshots each.


<style> block causes error on browser back on nuxt dev

Environment

Operating System: Linux
Node Version:     v18.16.1
Nuxt Version:     3.5.2
Nitro Version:    2.4.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
https://github.com/phanect/repro-nuxt-scss-browserback
I'm attaching the reproduction as a GitHub repository because this issue was not reproduced on Stackblitz.
If you disable the cache using DevTools, this issue is not reproduced.
Describe the bug
Step to reproduce:

Clone the repro and run the app:

$ git clone https://github.com/phanect/repro-nuxt-scss-browserback.git
$ cd repro-nuxt-scss-browserback
$ npm ci
$ npm run dev

Open http://localhost:3000/
Click the link "Go to another page" to move to http://localhost:3000/another/
Press the browser back button to go back to http://localhost:3000/

Expected: The link text "Go to another page" is properly shown.
Actual: An error message "500 Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151" is shown.
In the browser console, some error messages are shown:
index.vue:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/css". Strict MIME type checking is enforced for module scripts per HTML spec.
vue-router.js:201 [Vue Router warn]: uncaught error during route navigation:
vue-router.js:2663 TypeError: Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151
nuxt.js:94 [nuxt] error caught during app initialization TypeError: Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151
vue-router.js:201 [Vue Router warn]: Unexpected error when starting the router: TypeError: Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151
nuxt.js:94 [nuxt] error caught during app initialization TypeError: Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151
chunk-3Q27KRJ5.js:1358 <Suspense> is an experimental feature and its API will likely change.
chunk-3Q27KRJ5.js:97 [Vue warn]: Hydration node mismatch:
- Client vnode: div
- Server rendered DOM:
 (start of fragment)
  at <ErrorDev statusCode=500 statusMessage="Internal Server Error" description="Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151"  ... >
  at <AsyncComponentWrapper statusCode=500 statusMessage="Internal Server Error" description="Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151"  ... >
  at <NuxtErrorPage key=0 error= TypeError: Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151 >
  at <AsyncComponentWrapper key=0 error= TypeError: Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151 >
  at <NuxtRoot>
chunk-3Q27KRJ5.js:97 [Vue warn]: Hydration children mismatch in <div>: server rendered element contains fewer child nodes than client vdom.
  at <ErrorDev statusCode=500 statusMessage="Internal Server Error" description="Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151"  ... >
  at <AsyncComponentWrapper statusCode=500 statusMessage="Internal Server Error" description="Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151"  ... >
  at <NuxtErrorPage key=0 error= TypeError: Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151 >
  at <AsyncComponentWrapper key=0 error= TypeError: Failed to fetch dynamically imported module: http://localhost:3000/_nuxt/pages/index.vue?t=1685504873151 >
  at <NuxtRoot>

(These error messages are produced on Google Chrome 114.0.5735.90. On Firefox, similar error messages are produced too.)
Additional context
This is probably caused by CSS.
If you remove <style> block from index.vue, this error is not raised.
Browser: Google Chrome 114.0.5735.90 (64bit)
OS: KDE neon (an Ubuntu-based Linux distribution)
Logs
No response

Apologies for not responding long.
Since it passed 6 months since my first report, I reproduced this issue with the latest Nuxt and updated the report and the repro.
I confirmed @liggiotti's comments:

I confirmed SCSS itself is not relevant to this issue. This issue also happens when you have CSS in index.vue. By removing <style> block, this issue does not happen.
I confirmed this issue does not happen when you disable the cache with DevTools.

@ennioVisco Can you try my repro again without disabling the browser cache?

@ennioVisco Apologies, I missed an important thing.
This issue only happens on nuxt dev. It does not happen on the production server (node .output/server/index.mjs).
Since disabling the cache is a workaround for the local environment, I think this issue can be less prioritized.

Also ran into this issue with a brand-new project using npx nuxi@latest init app (nuxt 3.6.5) and just adding <style> to app.vue. I don't know if it only happens on Linux systems but it is really annoying.

The same issue occurs when you navigate backward or forward in the browser as well.

This still occurs to me when navigating forward and backward in the browser; is there a fix?

Workaround: Disable browser cache by Browser Developer Tools.
If you don't know how, the following page explains (Chrome and Firefox):
https://www.webinstinct.com/faq/how-to-disable-browser-cache
Since this Issue does not happen on production build, it does not affect your end users.

I had the same error on it i think it related to SSR mode i set SSR true and it not different between production mode or dev

https://nitropack.io/blog/post/back-forward-cache

https://nitropack.io/blog/post/back-forward-cache

I'm afraid you're looking at the wrong "nitropack"

I'm also pretty sure that this is an upstream issue with vite as I've encountered the same (or a very similar) issue with slidev.


litcovid_source*.tsv missing

where can i find these files
files = glob.glob(source_file_path+"/litcovid_source*.tsv")

it should automatically download those files in the script "load_litcovid.sh" before running litcovid_dataset_from_xml.py.

oh ok, I downloaded only actual xml file, leaving other curl commands, i will check, thanks

thanks you @bernaljg , all issues are resolved, how may I thank you for this.


[Documentation] Updated README.md + Added community guidelines

Changes made:

Added CONTRIBUTING.md (by @vinitshahdeo)
Added CODE_OF_CONDUCT.md (by @vinitshahdeo)
Updated README.md with instructions to run ipscanner.py (by @Kashish121)

@Kashish121 Waiting for your ✅ !


  Do the docs actually show anywhere how stores/actions/dispatcher interact when not using all the magicality of smart components and shortcuts like bindActionCreators.  If they don't consider this a request for more documentation.

@kswope in the Counter example this is a dumb component and this one smart.

 That means i receives what it needs via props (and shouldn't have any state).
A Smart Component is what is often called a Container component. The responsibilities here are handling data changes, meaning it subscribes to store changes, it can have a state and trigger actions.
To recap:

dumb: pure render using props
smart: handles data changes and renders dumb component by passing data via props

If you put <Provider> at the root, you're going to end up with redux in your context (if you want to do all the wiring yourself you'll need to know about React's context).
Then you can use redux.dispatch to dispatch actions and redux.subscribe(listener) to subscribe to the root state update. It's up to you to select from it the state your component is actually interested it.
Because most components are only interested in a particular slice of the global state (akin to subscribing to a Store), Redux providers <Connector> component that does that for you. <Connector> lets you specify a custom state selector function (<Connector select={state => ({ users: state.users })}>), and it will inject the object you returned and the dispatch function into its children:
function select(state) {
  return { counter: state.counter };
}

export default class CounterApp {
  render() {
    return (
      <Connector select={select}>
        {({ counter, dispatch }) =>
          <Counter counter={counter}
                   dispatch={dispatch} />
        }
      </Connector>
    );
  }
}

Now Counter can dispatch actions by calling this.props.dispatch(CounterActions.increment()), but for convenience, there is a bindActionCreators method that wraps each passed action creator in a dispatch call.
Does this make sense?

how stores/actions/dispatcher interact

Action creators are just pure functions so they don't interact with anything. Components need to call dispatch(action) (or use bindActionCreators that wraps it) to dispatch an action returned by the action creator.
Stores are just pure functions too so they don't need to be “registered” in the traditional sense, and you can't subscribe to them directly. They're just descriptions of how data transforms. So in that sense they don't “interact” with anything either, they just exist, and are used by the dispatcher for computation of the next state.
Now, the dispatcher is more interesting. You pass all the Stores to it, and it composes them into a single Store function that it uses for computation. The dispatcher is also a pure function, and it is passed as configuration to createRedux, the only stateful thing in Redux. By default, the default dispatcher is used, so if you call createRedux(stores), it is created implicitly.
To sum it up: there is a Redux instance at the root of your app. It binds everything together. It accepts a dispatcher (which itself accepts Stores), it holds the state, and it knows how to turn actions into state updates. Everything else (components, for example) subscribes to the Redux instance. If something wants to dispatch an action, they need to do it on the Redux instance.
There is no other “interaction” in Redux.

the previous comment worth a whole section on readme.md or something,
totally clear my mind after working on source code for a while.
very light but helpful explanation
@gaearon :+1:

It would be great if there was more documentation around using Redux without Connectors and Providers -- how to subscribe, unsubscribe and so on, essentially removing some of the magic in favor of explicitness and a fully documented API.

It would be great if there was more documentation around using Redux without Connectors and Providers -- how to subscribe, unsubscribe and so on, essentially removing some of the magic in favor of explicitness and a fully documented API.

Agreed. @acdlite is leading the new docs effort in #137, I'm sure he'll consider it!

Awesome, thanks @acdlite :)  The docs for Flummox are great and I'm really rooting for a similar effort to be put into Redux, particularly in exposing some of the internals / patterns around wrappers and event flow.

+1 to more documentation using Redux without Connectors/Providers, a bit stuck at the moment


Capstone: Car App V.01

Requirement:

Create react views for the Car App Back End. Find Back end link here.
Connect React front end with rails back-end.
Follow Vespa design styles.

Hi @Meltrust, thanks for the review!
We have just fixed the observations, can you please take a look again for us to merge it?
Looking forward to it.
Best,
Giovanni!


Fix minDomains note in topology-spread-constraints page

Ref https://github.com/kubernetes/website/issues/38358#issuecomment-1358768560

/cc @sanposhiho

Thanks.
/approve


Story

Story
As a trainee
I want to able to see all availability on the page
So that I am able to meet buddies.
Acceptance Criteria
When I open the availability list
Then I can see a Form next to each session.
Given I have opened the availability list
When I click a Book Session button
Then a random user gets registered to the session
And I am notified that registration is successful.
Implementation Notes
Creating database for availability.
Creating Book button.
Checklist:
[ + ] I have defined the user story
[ + ] I have defined some acceptance criteria
[ - ] I have included any implementation notes
[ - ] I have included all relevant links


Manually specify type info

There are cases where type inference is impossible, even when fully qualified paths to every method/function is given. In those cases the macro author need to specify the type.
Consider this function:
fn cmp_str() -> bool {
    let __v0 = ::std::str::FromStr::from_str("str");
    let __v1 = ::std::result::Result::unwrap(__v0);
    let __v2 = ::std::string::ToString::to_string("str");
    let __v3 = ::std::cmp::PartialEq::eq(&__v2, &__v1);
    __v3
}

In this case it can't infer the type of __v0, since it can't know what the Self type of FromStr is. This instance could be fixed if we allowed specifying the Self type. We could then change the first line to:
let __v0 = <::std::string::String as ::std::str::FromStr>::from_str("str");

A separate issue can arise if we invoke a trait function with generic parameters, and one of the parameters needs to be specified.
I'm not sure what would be a good interface to deal with this issue. We might generate INVOKE_WITH_SELF. where the first parameter is a Type or RuntimeType parameter, and the rest works like regular INVOKE. We might alternatively have a set_self function that deals with this, that can be used after a normal INVOKE. Unfortunately, this only deals with the Self issue, and not generics in general.
Any suggestions here would be helpful.

I also think this functionality should be opt-in, as it as possible to do complete type inference in a lot of cases.

I think this can happen much later, as part of gradually expanding the scope of macros that reflect is suitable for. In the early stage I think it's fine to focus on just simple macros like Debug where very basic inference is enough to generate correct code. Once we have a robust solution there, we can move on to the more complex use cases.
For a possible API for manual type info, we could support specifying the type of any Value as needed, and the types of a function's generic parameters and Self type.
let result = RUNTIME::std::str::FromStr::from_str.INVOKE(input);
let value = RUNTIME::std::result::Result::unwrap.INVOKE(result);
value.set_type(my_field.get_type());  // fn set_type(&self, ty: reflect::Type)

// for a function like `fn huh<A, B, C>(arg: D)`
// where set_type isn't sufficient to determine all the parameters:
RUNTIME::path::to::huh
    .generic(type_a, type_b, type_c)
    .INVOKE(value_d);

// to get `<::std::string::String as ::std::str::FromStr>::from_str(input)`
RUNTIME::std::str::FromStr::from_str
    .impl_for(RUNTIME::std::string::String)
    .INVOKE(input);


Uplift tt-mlir dependancy

Uplift tt-mlir dependancy
Checkout recursive
Remove project build from Dockerfile to speed it up

Can we close this PR in favor of this one:

https://github.com/tenstorrent/tt-forge-fe/pull/418


Building static wheels for macOS & Linux

While BATS.py depends on dynamic libraries like libomp, it turns out that we can still build static wheels with the help of delocate (for macOS) and auditwheel (for Linux). These two projects essentially copy the required libraries into the wheel file and point the loader path of our C/C++ extensions to these copies.
Hopefully, this would obviate the need for a C++ compiler and OpenMP runtime when installing BATS.py.

Thanks! This is great for automating Mac builds.


bundle.js loading under ./public/javascripts

Threw an err [Loading failed for the

Hey Dani,
go to contest/, rename those three files and remove .sample in their name
OR
contest.zip
Download this file and extract it into the contest/ to reach "HackaKaraj2's challenge" as an example

Also, you have to setup MongoDB on your PC and make a DB named "hacka"
you can set up and configure DB information and contest time in config/hacka.config.js
Let me know if this helped you
Thank you:)

Well I got:

MongoDB installed, up and running "hacka" db.
Contest folder is fastened and loaded.
"hacka.config" points db: {       host: 'mongodb://<IP_ADDRESS>/',       dbname: 'hacka'   }

which is the local mongodb server going on but silly me still having the same error! >.>

@thatrealdann Don't worry it's a common testing phrase:D
but give me more information about these questions:

Do you use master branch?
Are DOM elements rendered? (are they just hidden or not rendered at all?)
Can you pull new commits and run npm test to see if everything's ok in contest/ folder?
I tested this, on some PCs, and all results were the same, I'll be glad if you check it more carefully and find what's wrong so we could fix it

Do you use master branch?

Roger, that's the one I'm using.

Are DOM elements rendered? (are they just hidden or not rendered at all?)

Can you pull new commits and run npm test to see if everything's ok in contest/ folder?

@thatrealdann After doing above things, you have to do this to fix your bug:

install webpack globally using npm by running this command: npm install -g webpack
open terminal and go to HackaPanel path
run this command to make a js bundle file: webpack
reopen <IP_ADDRESS>:3000


Added export of WidgetLibraryService

We need to use WidgetLibraryService from our application to override default widgets.
It's possible right now by using Angular weird unicode letters imports like
import { ɵc as WidgetLibraryService } from 'angular6-json-schema-form';
But you don't want to do it :)

@jakubjosef Thank you for your PR. Did you try this import
import { WidgetLibraryService } from 'angular6-json-schema-form/lib/widget-library/widget-library.service';

Nice, i don't know this is possible. It works, thank you.
If this is recommended way, please close this PR. I just created this PR because I didn't want to raise an issue for simple fix like this.
Thank you again.

But it's not working with AOT, during build --prod I see:
ERROR in ./dist/form-generator/form-generator.ngfactory.js
Module not found: Error: Can't resolve 'angular6-json-schema-form/lib/widget-library/widget-library.service' in '/xxx/xxx/xxx/dist/form-generator'```

I passed new widgets using widgets @Input parameter, so now it's working for me without any changes. So resolution of this PR is totally up to you right now.

Has this been merged in and tagged?


FYI, very diff. metrics on let/const/var

I have some very different metrics on let/var/const :
$ node -v
v4.2.2
$ grep "model name" /proc/cpuinfo
model name	: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
model name	: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz

[...]
                      var let const
      45,260,944 op/s » var
      46,583,073 op/s » let
      46,108,278 op/s » const

Sorry, I misread your results ... nevermind