Testing on small_val_set gives same super res for all input images

Hello,
I was trying out the different commands with the pretrained weights ( pretrain_network_g: esrgan_16S2.pth and no weights for the pretrain_network_d) on the small validation set, specifically the one to evaluate the model on a validation or test set, when ground truth high-res images are available.  I was using this python -m ssr.test -opt ssr/options/esrgan_s2naip_urban.yml
However, I am getting the same super res image for all of the input, which differs greatly from the ground truth. I have placed some screenshots below.
Example of the ground truth data

My output regardless of the input image

I was wondering if I am missing some important configuration, or what is the reason behind me getting the same super res image?
Your help would be greatly appreciated.

Hm, I just tested the esrgan_16S2.pth weights and am getting normal results:
Target:

SR:

I ran:
python -m ssr.test -opt ssr/options/testing.yml
where testing.yml looks like this (with my filepaths):
testing.yml.zip
Can you confirm that you downloaded the right weights and changed the pretrain_network_g path to point to those weights?

Hi Piper, thank you so much for your quick reply and help!
I am using the model weight that is provided in the README page. May I ask if I have to perform some training on the model in order for it to work? I was initially planning to test it out using the pretrained weights. I have tried using the configuration you provided above and just changing the file paths accordingly for the datasets and pretrain_network_g but I still get the same output result.
Here is the config file I am using
testing.zip
and the model weight I am using from the README page
16-S2-images

You should not have to train these models to get the quality that I showed in the above example. I just double checked that the weights I used to get that output matched the weights on the website and they are the exact same file.
Can you confirm that the weights are being loaded into the model?
And do you get the same result when using one of the other models (ex. 8S2 model)?

Hi Piper,
Thank you so much for your help. I have tried with the 8S2 model, and I get the same output images. I believe my file paths are correct since the inference using this command works as expected with the same file paths:
python -m ssr.infer -opt ssr/options/infer_example.yml
Additionally, if I comment out the pretrain_network_g, I get a completely black image instead of the current output. I assume this means the model weights are being loaded?
I'm not really sure why I am getting the same output regardless of input when testing against the ground truth. For my project, I am only using the inference images, so testing against the ground truth is not as important, but I wanted to try it out for comparison.

Hi!
I am unsure why this is happening for you. So running the inference script, with the same weights, gives you good results, but running the test script is resulting in the same image every time?


DSERV-93-load-MPRA-regulatory-elements

Adapter for loading regulatory regions nodes & regulatory regions to biosamples edges from ENCODE MPRA experiments.

Looks good. But I think you forgot to return some of the properties for search result in schema?

I will add them, thank you!


[Event Request] codeunit 950 "Time Sheet Management" procedure AddServLinesFromTSDetail()

Please can you add the following event/code at the start of the above procedure...
OnBeforeAddServLinesFromTSDetail(ServiceHeader, TimeSheetDetail, LineNo, IsHandled);
if IsHandled then
    exit;

with a local variable...
var
    IsHandled: Boolean

The event publisher would be...
[IntegrationEvent(false, false)]
local procedure OnBeforeAddServLinesFromTSDetail(ServiceHeader: Record "Service Header"; var TimeSheetDetail: Record "Time Sheet Detail"; LineNo: Integer; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10855.


dragon bolts

Hello sir,
when making tipped dragon bolts, e.g. rubies, the action progress is not shown.
Thanks overall for your app making osrs life more comfy :)

Here's an example of my client.logs while adding diamond tips to dragon bolts
java.lang.NullPointerException: null
	at java.base/java.util.stream.ReferencePipeline$4$1.accept(Unknown Source)
	at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.IntPipeline.allMatch(Unknown Source)
	at com.github.calebwhiting.runelite.plugins.actionprogress.Product.isMadeWith(Product.java:39)
	at com.github.calebwhiting.runelite.plugins.actionprogress.detect.UseItemOnItemDetector.onMenuOptionClicked(UseItemOnItemDetector.java:67)
	at net.runelite.client.eventbus.EventBus$Subscriber.invoke(EventBus.java:70)
	at net.runelite.client.eventbus.EventBus.post(EventBus.java:223)
	at net.runelite.client.callback.Hooks.post(Hooks.java:193)
	at ce.kc(ce.java:17751)
	at client.tb(client.java:12101)
	at client.ii(client.java:3573)
	at client.bw(client.java:1134)
	at bq.bd(bq.java:363)
	at bq.run(bq.java:342)
	at java.base/java.lang.Thread.run(Unknown Source)
2023-08-04 01:08:23 [Client] WARN  c.g.c.r.p.a.detect.ChatboxDetector - [*] Unhandled chatbox action
2023-08-04 01:08:23 [Client] WARN  c.g.c.r.p.a.detect.ChatboxDetector -  |-> Question: How many sets of 10 would you like to tip?
2023-08-04 01:08:23 [Client] WARN  c.g.c.r.p.a.detect.ChatboxDetector -  |-> Item ID: 21969

Thanks for the log! It pointed me to what I am confident is the issue. I wasn't able to try it, but I changed something and made the following PR on runelite. Whenever it gets merge you can try again and let me know if it fixed it.
https://github.com/runelite/plugin-hub/pull/4719

And thank you for the extremely quick fix.
I'll let you know when it's merged if it's working properly. I looked at the change and it looks like it might work. :)

Not sure @Erutpur would said it was a quick fix, but thanks :D

Have you been able to try it?

@guillaume009 It looks like adding diamond bolt tips to a dragon bolt is still way off. I finish the action much earlier.
It seems to incorrectly identify what action is being triggered. I was adding 20 diamond bolt tips to 20 dragon bolts and it showed the following on the info box:

It shouldn't be 5 actions, but actually 2 each(10 bolts each).
I have a clients log error, but I'm not sure if this one is related:
java.lang.NullPointerException: null
	at java.base/java.util.stream.ReferencePipeline$4$1.accept(Unknown Source)
	at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.IntPipeline.allMatch(Unknown Source)
	at com.github.calebwhiting.runelite.plugins.actionprogress.Product.isMadeWith(Product.java:39)
	at com.github.calebwhiting.runelite.plugins.actionprogress.detect.UseItemOnItemDetector.onMenuOptionClicked(UseItemOnItemDetector.java:67)
	at net.runelite.client.eventbus.EventBus$Subscriber.invoke(EventBus.java:70)
	at net.runelite.client.eventbus.EventBus.post(EventBus.java:223)
	at net.runelite.client.callback.Hooks.post(Hooks.java:193)
	at ce.kc(ce.java:17751)
	at client.tb(client.java:12101)
	at client.ii(client.java:3573)
	at client.bw(client.java:1134)
	at bq.bd(bq.java:363)
	at bq.run(bq.java:342)
	at java.base/java.lang.Thread.run(Unknown Source)

Alright, I was able to try it and there were couple of issues, but it should be sorted out now. I created the following PR on RuneLite. Once it's merged it should be fixed for good :)
#4787

Fix was merged, please re-open if the issue persist


[BUG] GPT-NeoX Inference returns nonsense

Describe the bug
Running inference with Deepspeed using GPT-NeoX 20B model produces garbage output, indicating an implementation bug.
To Reproduce
For example, can be seen when using example script: deepspeed --num_gpus 2 inference_test.py --name EleutherAI/gpt-neox-20b --batch_size 1 --ds_inference --use_kernel --use_meta_tensor --checkpoint_path <downloaded-checkpoint>
Which prints:
in=DeepSpeed is a machine learning framework
out=DeepSpeed is a machine learning framework BytePtrFromString BytePtrFromString BytePtrFromString BytePtrFromStringamssymb errnoErr errnoErr BytePtrFromString BytePtrFromString BytePtrFromStringamsfonts BytePtrFromStringblockList BytePtrFromString errnoErr BytePtrFromString errnoErr BytePtrFromString BytePtrFromString BytePtrFromString BytePtrFromString BytePtrFromString errnoErr errnoErr BytePtrFromString BytePtrFromString BytePtrFromString BytePtrFromString BytePtrFromString errnoErr BytePtrFromString errnoErr errnoErr errnoErr BytePtrFromString BytePtrFromString BytePtrFromString BytePtrFromString errnoErr BytePtrFromString BytePtrFromString errnoErr BytePtrFromString errnoErr BytePtrFromStringblockList BytePtrFromString errnoErr BytePtrFromStringblockList

I tried with deepspeed==0.8.1 and 0.8.3. To load the model checkpoint, one also needs to change split_qkv=False to split_qkv=True here , otherwise the error reported in this issue  shows up. From what I could tell, deepspeed could correctly load model weights with this change, but then something goes wrong in the CUDA kernel.
Expected behavior
Correct model inference.
ds_report output
--------------------------------------------------
DeepSpeed C++/CUDA extension op report
--------------------------------------------------
NOTE: Ops not installed will be just-in-time (JIT) compiled at
      runtime if needed. Op compatibility means that your system
      meet the required dependencies to JIT install the op.
--------------------------------------------------
JIT compiled ops requires ninja
ninja .................. [OKAY]
--------------------------------------------------
op name ................ installed .. compatible
--------------------------------------------------
 [WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
 [WARNING]  async_io: please install the libaio-dev package with apt
 [WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
async_io ............... [NO] ....... [NO]
cpu_adagrad ............ [NO] ....... [OKAY]
cpu_adam ............... [NO] ....... [OKAY]
fused_adam ............. [NO] ....... [OKAY]
fused_lamb ............. [NO] ....... [OKAY]
quantizer .............. [NO] ....... [OKAY]
random_ltd ............. [NO] ....... [OKAY]
 [WARNING]  please install triton==1.0.0 if you want to use sparse attention
sparse_attn ............ [NO] ....... [NO]
spatial_inference ...... [NO] ....... [OKAY]
transformer ............ [NO] ....... [OKAY]
stochastic_transformer . [NO] ....... [OKAY]
transformer_inference .. [NO] ....... [OKAY]
utils .................. [NO] ....... [OKAY]
--------------------------------------------------
DeepSpeed general environment info:
torch install path ............... ['/opt/conda/lib/python3.7/site-packages/torch']
torch version .................... 1.13.1+cu117
deepspeed install path ........... ['/home/ppetrushkov/.local/lib/python3.7/site-packages/deepspeed']
deepspeed info ................... 0.8.3, unknown, unknown
torch cuda version ............... 11.7
torch hip version ................ None
nvcc version ..................... 11.7
deepspeed wheel compiled w. ...... torch 1.13, cuda 11.7

System info (please complete the following information):

2X V100 GPUs
transformers==4.27.2
Python 3.7.15

+1 to be in loop.

Also running into this issue.


Prompts of the day

Looks good to me. Were we able to test the rating system with any placeholder/existing data? couple of small changes we can probably make to front end, but may be best to open another front end branch

Yeah we were able to test it, I'll probably comment it out for now though, until we get some rated prompts in


[Proof Of Concept] Do Not Merge

This Pull Request is a Proof Of Concept for Google Bug Hunters.
This issue is being tracked at https://issuetracker.google.com/issues/341467291
Do not merge this PR, I will close it after the test has completed.

This PR seems unrelated to the tour-of-wgsl. Please don't use this repo for testing unrelated bug issues.

This testing was authorized from https://issuetracker.google.com/issues/341467291, and it has completed


Chat room skeleton

Replacement for ECO-4901 so that we can discuss / link in the open. Text of that issue:

Awaiting on a spec from the Chat-JS team but current understanding:
The room lifecycle manager is the most complicated piece when accounting for the implicit attach/detach requirements. This task is responsible for making a simple attempt at attaching and detaching to rooms, without additional complexities uncovered in the spec. They will be tackled in a later task.

┆Issue is synchronized with this Jira Task by Unito

I misunderstood the scope of this task; I thought it was to implement Andy’s spec in https://github.com/ably/specification/pull/200/. That's not what it is. The idea is to implement the following:

Rooms.get to return a room
and then Room.attach() will then attempt to attach to all of the channels listed in https://ably.atlassian.net/wiki/spaces/CHA/pages/3083501593/CHADR-025+Chat+Permissions+and+Implicit+Permissions+for+Realtime+Channels, succeeding if and only if all of these calls succeed
ditto for Room.detach(), detaching from the channels
emit ATTACHED and DETACHED room status updates if attach / detach method succeeds, respectively

Also we won't implement this in the example app as part of this task; will revisit at start of next sprint where hopefully the skeleton of the example app will have been built out.


[AutoPR operationalinsights/data-plane] Update Java configuration for Log Analytics

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3269

Codecov Report

Merging #2785 into restapi_auto_operationalinsights/data-plane will not change coverage.
The diff coverage is n/a.

@@                             Coverage Diff                              @@
##           restapi_auto_operationalinsights/data-plane    #2785   +/-   ##
============================================================================
  Coverage                                        56.01%   56.01%
============================================================================
  Files                                             7365     7365
  Lines                                           154340   154340
============================================================================
  Hits                                             86459    86459
  Misses                                           67881    67881

Continue to review full report at Codecov.

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

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/2772


Using fairseq-interactive to translate one sentence at a time outside terminal

I want to write a Python script that loads a checkpoint file once and waits for inputs and translates when input is received. It will be the same as running fairseq-interactive in the terminal and inputting sentences one by one, but here it will be done in a Python file.
Something like the Python Hub example in https://github.com/pytorch/fairseq/tree/master/examples/translation. I think fairseq.tasks.translation.TranslationTask is what I'm looking for, but there's not enough details to implement it. An example would help.
I'm new to PyTorch.

I accomplished it by modifying interactive.py. If anyone knows a better way, do write.

I think your way sounds good!

@sharad461 So how did you do it??

https://github.com/sharad461/nepali-translator/blob/master/translator/app/modules/interactive.py
I made a class for the job that interactive.py does. There is also a usage example towards the end.

@sharad461  As here https://github.com/sharad461/nepali-translator/blob/master/translator/app/modules/interactive.py you had created a class and post which you are calling method but it will call the constructor again and again whenever there is any call having 'fairseq-interactive $BPE_TXT --batch-size 1 --path $MODEL_FILE --fixed-dictionary $DICT -s $SRC -t $TGT --remove-bpe 'sentencepiece' --beam 5 --task translation_multi_simple_epoch --lang-pairs $LANG_PAIR --decoder-langtok --encoder-langtok src'.
How could we resolve that?

I wouldn't be surprised if my solution doesn't work anymore - it's almost 3 years old now. By this time maybe there's a better way to do it, one offered by fairseq itself perhaps.


Add a section about the interaction during development for Static Web Assets and static files middleware

In the context of serving files from a separate folder, it is important to note that when the app uses static web assets (which is enabled by default). The assets are discovered at build time and served during development based on the locations they were discovered at.
When updating the convention to serve files from a folder different than the wwwroot folder by updating the IWebHostEnvironment.WebRootPath it is important to also update the static web assets configuration to reflect this fact, as otherwise, the assets inside the wwwroot folder will still be considered and served during development.
To update the configuration you can do it in one of two ways:

Completely disable static web assets (which will prevent content from Razor Class Libraries from being taken into account) by setting up <StaticWebAssetsEnabled>false</StaticWebAssetsEnabled> in your project file.
Remove the files inside the wwwroot folder from the list of implicit content items <Content Remove="wwwroot\**" /> so that they don't get considered.

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

ID: d47f38e2-bc36-cfb8-b0cc-17a534689f8b
Version Independent ID: 3fec6e08-fc99-7a5c-796f-3f2347cad891
Content: Static files in ASP.NET Core
Content Source: aspnetcore/fundamentals/static-files.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@space-alien see https://github.com/Rick-Anderson/WebRoot

Remove the files inside the wwwroot folder from the list of implicit content items <Content Remove="wwwroot\**" /> so that they don't get considered.

See https://github.com/Rick-Anderson/WebRoot/blob/main/WebRoot.csproj#L10
That hides wwwroot from project manager in VS, but in dev mode, still serves files from wwwroot
It seems easier to just set ASPNETCORE_ENVIRONMENT to anything other than Development in Properties\launchSettings.json
You can also set WebApplicationOptions.EnvironmentName to anything other than Development
see https://github.com/Rick-Anderson/WebRoot/blob/main/Program.cs#L5


0.2.0

Things to be included

[x] will fix #26, in the PR #27
[ ] #23
[ ] #15
[ ] #14
[ ] #12

closing issue, we will implement the new schemas before the breaking release update


Add formic small ship to game

This module adds a ship, formic small to the game.

Can one of the admins please verify this patch?

Okay, so I really like the ship, but I can't say the same about the PR.
I'm not sure what workflow you're using (eclipse? cmd? intellij? something else?) but adding all the files back to /src/main/java is definitely not what we want to do - efforts have gone into following the same project structure as Terasology, and the old structure (that your PR re-introduces) is not the way to go.
So, I recommend you get on irc/slack sometime, and figure out the problem with your workspace so we can continue working without having to add files here :)
(as an added bonus, we might be able to support eclipse/whatever properly too, so i definitely encourage it)

I also like the ship a lot. It looks like it is made with that one modular ship pack from Open Game Art, so make sure you aren't breaking the license.

@Sigma-One It is one of the ones from Open Game Art. The license is CC-BY-SA which (as I understand) means we can use it for anything without giving credit.

Let's see what our resident bot has to say about you.
@GooeyHub: ok to test

Hooray Jenkins reported success with all tests good!

It is one of the ones from Open Game Art. The license is CC-BY-SA 3.0 which (as I understand) means we can use it for anything without giving credit.

Not quite. BY means it does require attribution and is our default. The SA means "share-alike" which means it must be shared the same way, as in we couldn't take it closed source or anything (which you can do with BY or even Apache v2 for code)
Whenever possible it helps to use BY alone since the SA makes changing things harder if we should want to one day. But in modules it isn't too bad - we could always just walk away from it one day. Engine type stuff should always be Apache 2 + BY

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Okay, so I'm not a hundred percent sure about the Medium1 file. Is it required?

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

I'm not sure how much shot-gun this is, and how much machine-gun.. but, I like it :D

Is more like an auto shotgun

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!


how i can use first response in second request in SAGA with http ?

how i can use first response in second request in SAGA with http ?  or it is not supported

https://en.dtm.pub/practice/saga.html#more-advanced-scenarios
Results of other branches as input#
The previous design session descibed why dtm does not support such a requirement, so how do you handle it if there are very few actual business needs like this? For example, branch B needs the result of branch A's execution
dtm's suggested approach is to provide another interface in ServiceA so that B can get the relevant data. Although this solution is slightly less efficient, it is easy to understand and maintain, and the development workload is not too big.
If you need the results of other branches as input, you can also consider the TCC pattern inside dtm, which has different scenarios, but provides a very convenient interface to get the results of other branches
PS: There is a small detail to note, you should make network requests outside your transaction to avoid the transaction time becomes longer and lead to concurrency problems.


SPDX Object Model diagram link in README is dead

Is this the substitute? https://github.com/spdx/spdx-spec/blob/development/v2.2.1/model/SPDX-UML-Class-Diagram.jpg
You might want to actually link to a specific revision so it won't break again, which would be https://github.com/spdx/spdx-spec/blob/2a7aff7afa089a774916bd5c64fc2cb83637ea07/model/SPDX-UML-Class-Diagram.jpg

Thanks @rpavlik for pointing this out.
Resolved with PR #36

Thanks @rpavlik for pointing this out.
Resolved with PR #36


Budget categories highlighted green

I can't find a reason in the settings why some of the rows in my budget view are highlighted green and others aren't.

Do you have goal progress bars turned on?
"Budget Rows Progress Bars" in the Budget section of the settings screen.
Goals progress shows as green, Pacing as blue with a vertical dateline on the whole budget sheet.

No, I don't have either the goals progress or pacing progress options selected. I do have the "highlight all  negative category balances red" option ticked, but I'm not sure why that would turn the rows of positive balances green.

It seems to have something to do with goals, though. I noticed it's only affecting categories for which I have a goal, and when I delete a goal the highlight disappears.

Sorry if you've already checked this, just want to be sure.
It could be that you had goals progress turned on, then loaded YNAB, then turned it off. If you're in Firefox your new settings won't apply until you open a new tab: #132.
Could you try opening a brand new tab, then loading YNAB in it?

@blargity was right! Opened a new tab after turning on and off the setting and that worked. Thanks!

Alrighty, in that case it sounds like the root cause was a duplicate of #132. Thank you for the report!


Providing folder structure in providedFiles

Hello!
First of all, great package, thank you for your work.
I'm trying to use it for my workshops but I'm missing one thing, uploading folder structure instead of only files with key and content values. Is that possible with the current API or would it need some changes?
Thanks

It would need changes, unfortunately.
Note that
files={{
  'some/path/to/file.js': {
     content: '/* Some file contents */'
  }
}}

works.
Passing in files, we uploading directly that object to codesandboxer, so want to keep it in that format. Do you think a utility to flatten a folder structure would make this work for you? Something like?
converterFunction({
  some: {
    place: {
      'file.js': '/* string of file contents */'
    }
  }
})

to output:
{
  'some/place/file.js': {
    content: '/* string of file contents */'
  }
}

@Noviny I didn't know that was possible. I built my own converter function so I got the folder structure now 🎊
The only problem is my examples already have an "index.js" file that's located in the "src" folder (they're CRA apps), and I don't want the example.js file there. Is there a way to remove the example.js file, the /index.js file and to point at src/index.js as the main file?
Thanks so much for your help.

@Noviny nvm I achieved that ☝by forking your package and removing the ...baseFiles and example.js. Thanks for the help!


This application does not work.

Thought you should know, but this application does not compile. Tested  on both Windows and Mac environments.
Any ideas? Were able to get it to run?
cheers,

Hi @yousaid ! ^_^
The application was using a deprecated version of the angular cli (the former angular-cli instead of the current @angular/cli)
I have updated and now it should work:

Clone it
npm install
ng serve --open

And you should be able to see the same app in your computer. ^_^


Avalon GUI improvements

Add icon for who is good or evil when it's assassination time
Logic: Don't allow choosing team when it's assassination time
Add icon for who is Merlin after someone is assassinated (or just show everyone's role?)
Add icon for who is assassinated after someone is assassinated

Show how many of each role there are (especially number of good/bad people)


Unexpected injection of NODE_OPTIONS environment variable

Terminals opened with code-server have NODE_OPTIONS="--max-old-space-size=2048" injected into the environment. This appears to come from this code: https://github.com/cdr/code-server/blob/d48a74c317f59d4a467ba004dcbe38abfefbf73f/src/node/wrapper.ts#L309-L319
I noticed this because our Dockerfile also injects the same setting as an environment variable, so it results in the same setting being set twice; we end up with: NODE_OPTIONS=--max-old-space-size=2048 --max-old-space-size=8192
I would propose that we remove the environment variable injection, as I don't think that's expected behavior from a users' perspective. If users want to control the environment of terminals opened with Code-Server (or VSCode), in a manner different from their shell settings (e.g. .bash_profile, .bashrc), they can always modify their workspace settings:
  // Object with environment variables that will be added to the VS Code process to be used by the terminal on Linux. Set to `null` to delete the environment variable.
  "terminal.integrated.env.linux": {},

  // Object with environment variables that will be added to the VS Code process to be used by the terminal on macOS. Set to `null` to delete the environment variable.
  "terminal.integrated.env.osx": {},

  // Object with environment variables that will be added to the VS Code process to be used by the terminal on Windows. Set to `null` to delete the environment variable.
  "terminal.integrated.env.windows": {},

If we just need the setting for code-server itself, then we might be able to use the --max-old-space-size=SIZE command-line flag, which would run our child process with the desired max old space size setting, but not propagate that option to VSCode's children (instead just using the NODE_OPTIONS we were provided).
cc @vapurrmaid

@jawnsy Great find, I had no idea code-server was performing this injection. I agree that's not expected at all. @code-asher do you happen to have any additional context on this behavior?

I think this started as an attempt to support the max-memory flag of VS Code but we had that option fall back to 2048 instead of just not setting it. At some point the flag was removed and we were left with just the default.
I almost removed it but I was worried that the lower default limit might cause existing users to suddenly run into memory limit issues. But it does seem like a weird thing to do so I'm down to remove it.
For what it's worth Node will take the later flag when specified twice, at least according to the last time I tested.


Fix for bugg when move window between screens with different DPI

What does the pull request do?

Fixes a bugg when move window between screens with different DPI.
Code cleanup.

Tested on Windows with Firefox and Edge.
What is the current behavior?
On Windows:
If you move a browser window between screens with different DPI then you get a incorrectly rendered UI on Firefox and Edge.

Good reads on this topic:
https://webgl2fundamentals.org/webgl/lessons/webgl-resizing-the-canvas.html (where I based my code from)
https://web.dev/articles/device-pixel-content-box

I made changes based on your feedback @maxkatz6, I was also able to resolve a rounding error causing the canvas to be 1 pixel too small sometimes.


Slide Animation Direction

Slide animation direction seems pseudo-random, whether changing desktops or activities (it appears repeatable, but doesn't make any sense that I can figure). I would expect that it would make some topological sense, though whether it will match the widget arrangement, of course would depend on the arrangement of the widgets.

animation direction is only supported if you are using the hyprkool plugin in addition to the cli. so make sure you have that installed and enabled.
assuming you have that installed, can you explain what weird behavior you are experiencing?
it is roughly supposed to be like this:

using the hyprkool move-<direction> commands will have the animation be in the appropriate direction.
any other way to switch workspaces / activities defaults to the fade animation. (it's hard coded mainly because there aren't many choices here)

Ok, I took a closer look, and my apologies, it's predictable, even sensible, though a little unexpected.
I have used your buttons in the same topographical arrangement, though I'm only using a single column of workspaces. So, activities go right to left, 123, and workspaces go down:
1
2
3
My keybindings to the move-up/downcommands behave as expected on the grid buttons, but the windows slide the opposite way. Like, when I move-down, the button shows it moving to the next desktop down, but the windows also slide down, which doesn't make sense to the arrangement of the desktops. If it's moving to a desktop down from the present, the windows would slide up. I presume I could address this in the eww button code by arranging the workspaces on the buttons to be the opposite order, but it seems a little strange to have them like 321 (or maybe not, depends on where you expect the origin to be).
Activities are less obvious, because there isn't any instinctive way they should be arranged. I have mine arranged in one row horizontally 1234. It is animating them vertically, which if you have to pick one makes as much sense as anything, but to really be topographical maybe the user needs to set that. How it appears on my system is that it slides up/down, and based on the slide direction, as if each next activity is above the other (ie if I go from activity 1 to activity 2, the windows slide down, implying that activity 2 is above activity 1. I find this unexpected, instinctively if there is an order I would expect the next activity to be below the present activity. And ideally, for my arrangement, I'd like to have the next activity to be to the right of the previous, so the windows should slide left when incrementing.
Which is, all this to say, I think it depends on one's expectations, and their button arrangements. It's quite likely that the only solution that will offer real coherence while letting them make their own buttons is to let the user set the topological directions in the configuration.

How it appears on my system is that it slides up/- down

activities are hardcoded to have fade animation. the CLI will set animation to Fade (if the plugin is active) and only then do the workspace switch (hypeland does not differentiate between hyprkool activities, everything is a workspace for hypaland). I don't see how this is happening.
does it show any errors when you execute hyprkool next-activity (also try hyprkool toggle-overview) in your terminal?

I'd like to have the next activity to be to the right of the previous

it seems like you are trying to make a 2d grid out of these workspaces and activities. each activity is already a grid. asking out of curiosity, can you tell me why you are using activities in such a way?

when I move-down, the button shows it moving to the next desktop down, but the windows also slide down

just like animations for hyprkool next-activity, animations for hyprkool move-down is also hardcoded to have the correct animation. with move-down, windows  should move up. you can see it working correctly here. if i can't reproduce this issue, i won't be able to help you. can you try to figure out what is wrong? try to read the readme of this repo. i have tried to include as much useful information as i could.

depends on where you expect the origin to be

just to be clear, the workspaces are arranged like this
(x y)

(1 1) (2 1)
(1 2) (2 2)
(1 3) (2 3)

the y direction is flipped. maybe this should be mentioned in the readme.

while letting them make their own buttons is to let the user set the topological directions in the configuration

to me, activities go in the z direction, it would be best to have popin / popout animations for these, but hyprland does not support these animations in v0.39 (latest version of hyprland supported by hyprkool as of now). it is possible to do it via a plugin, but it is not trivial to do. i will have to give it another shot.
hyprland does not support many animations for workspaces, so it didn't seem very practical to add config options for it. i'll do it if there's enough demand for it.

Let me take another look at my configuration. It sounds like what I am seeing is not what hyprkool does; it's probably hyprland doing the animation according to what it things the workspaces are, which wouldn't be sensible.

Well I think my conjecture above is correct, that I am seeing Hyprland's animations, not Hyprkool's. But I'm unable to get Hyprkool to do any animations. I rolled all the way back to your configurations, which I got from https://github.com/thrombe/dotfiles-promax/tree/372a47c0a7ed3c3280e110755803ee422c7c4977/configma/tools/home/.config (don't remember where I got that); I took eww and hypr from there. It's got your buttons and grids, and everything works like the demo except there are no transitions, just fast fades. I think that's why I started fiddling around with Hyprland's animation settings, and it looked like it kind of worked but the directions are all wrong.
So I guess the question is why I can't get Hyprkool to do any slide animations. I'm using the current Hyprkool from github, and Hyprland version 0.39.1.r4462.e57a2d7e-1.
❯ hyprpm list
 → Repository hyprkool:
  │ Plugin hyprkool
  └─ enabled: true

Anything else I should look at?

BTW I was checking versions and I was on hyprkool 0.5.0, I noticed you have a 0.5.2, so I updated to that, no change.

As far as your question about my use of Activities being just like a column on a grid - well, yeah, it's definitely similar. Activities have names; I've modified my buttons to show the names. Even then, it wouldn't be quite the same as a grid with a column name, in the sense that I'm designing for both a 3-screen (all horizontally arranged) and single-screen scenarios. On 3 horizontal screens, having more virtual desktops in the horizontal dimension is unwieldy, and animation in that direction is kind of dizzying. On my 3-screen setup I would imagine 3 virtual desktops per activity, arranged vertically. That would seem very easy to keep track of.
But I want roughly the same interface for a single-screen setup, which would have a 2-dimensional grid per activity, probably 6 or 9 virtual desktops per activity.
In general I think your suggestion that workspaces should animate in the obvious directions, and then switches between desktops would be on a Z axis and therefore fade, is sensible. But I do like the sense of direction that animation gives me, and if I have buttons representing the activities, arranged either horizontally or vertically on my panel, it would be helpful to have animations respecting that direction (though I wouldn't find it necessary for them to show each screen on its way by).
I really appreciate this project because it promises to bring together 3 things that I can't get together anywhere else: Activities on Virtual Desktops, Automatic Tiling, and Animation. Plasma comes closest but their animation is screwy, tiling is weak, and it's real buggy. I've been working on something for Awesome but it'll never do animation.

I noticed you have a 0.5.2, so I updated to that, no change.

i'd recommend always using hyprkool from the master branch. all development happens on the dev branch anyway.
also make sure to use hyprkool plugin and hyprkool cli+daemon from the same commit. and restart both the plugin and daemon after updating.

you have a pretty cool setup. I see now why you would want to have it that way.

there's one thing you can check. are you getting any errors printed by the daemon or the cli when you start the daemon or do hyprkool commands?

If I start the daemon from the command line, every time I switch desktops (using the eww buttons) I get messages like:
A unknown event was passed into Hyprland-rs
            PLEASE MAKE AN ISSUE!!
            The event was: workspacev2
A unknown event was passed into Hyprland-rs
            PLEASE MAKE AN ISSUE!!
            The event was: createworkspacev2
A unknown event was passed into Hyprland-rs
            PLEASE MAKE AN ISSUE!!
            The event was: destroyworkspacev2

Same if I do move-down from the cli.
Is pypr relevant? I saw that in your autostart.sh, but don't have it on my system.

you can ignore these. these will be fixed when hyprland-rs supports these events.
and no. pypr is not relevant here.
so no errors :(
i am confused why the animations won't work for you.

I figured it out... the plugin was enabled, but not running. I did not notice it was necessary to "reload" the plugins, I thought the report of it being "enabled" meant it was running.

that is good to know. i'll close this as resolved now.


Vulcan 130/remove loading confirmation

Hi. Please ignore commits until def1a87b90c9018d5288434e100b699dc5f8ba6c.
Only commit b053cf66d2df55a65522dbf8ebc819618c39ac29 and e853738de886d6b4ee760a83db53f0ed3901e0a2 are valid for upstream repo, and to be considered for review. Unfortunately I had already forked the repo and made some diverging changes - so creating a pull request with cherry picked commits is locally not possible (or at least I don't know how?)

Sorry this approach doesn't work either. I'll send in a new PR.


add min/max/log and which graph is selected to url

s= already does a multi/single graph

thx! we can follow up in #242


add uniandrade to domains

@daniellvaz I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host uniandrade.uniandrade.edu.br not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


repr for everyone!

I can do this. Maybe we can add both __str__ and __repr__ methods. Should I take this up? Also, indicating the classes to make additions would be helpful.

This would be a good issue to get started. However, as I said in #51, we're shuffling the code, so I'd hold off for a few days, but then it would be nice to get __repr__ methods. Most of our classes have too complex entries for __str__, so don't bother. Therefore, as a rule, I'd recommend that __repr__ states the class name and the size of the most relevant container object.

This would be a good issue to get started. However, as I said in #51, we're shuffling the code, so I'd hold off for a few days, but then it would be nice to get __repr__ methods. Most of our classes have too complex entries for __str__, so don't bother. Therefore, as a rule, I'd recommend that __repr__ states the class name and the size of the most relevant container object.

Thanks for the insights. I'll get started.


added business details layout

*Issue:*https://github.com/bcgov/entity/issues/18357
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

/gcbrun


Clicking multiple times to create dump leads to multiple loading icons

This issue is faced in Chrome Version 43.0.2357.81. I am running OS X Version 10.10.2.
Each time a dump action is tried by clicking on the buttons labeled "Dump Images" or "Dump (CCA format)", it creates a new dump request even though another dump request is active. Screenshot is attached below for reference which shows multiple loading icons.

looks like my remove logic didn't work. Nice catch, @shivikathapar

@nipunhere @shivikathapar please deal with this when you make changes to the crawl page


Global list of strings

Hello, while I know that using globals is undesired and limited, can someone shed light on these errors:
base=['CAD', 'EUR', 'GBP', 'USD']
@numba.njit()
def test():
    res=base[3]
test()

Cannot lower constant of type 'reflected list(unicode_type)'
File "", line 4:
def test():
res=base[3]
^

with tuple even worse:
base=('CAD', 'EUR', 'GBP', 'USD')
@numba.njit()
def test():
    res=base[3]
test()

LLVM IR parsing error
:35:84: error: invalid use of function-local name

Is this all expected behavior or can be fixed? (Errors go away when base is made an argument and gets passed)
Numba v 0.42

Thanks for the report. The issue in the first example is that the type of base is a "reflected list", this is a list which Numba has detected must have changes "reflected" (i.e. you change the list contents in the JITted function, the contents must be updated in the CPython interpreter once the JITted function returns). In Numba globals are frozen at compile time as compile time constants so reflection is simply not permitted. i.e. this also complains the same way and unicode is not involved:
import numba

base=[1, 2, 3, 4, 5]
@numba.njit()
def test():
    res=base[3]
test()

This second sample works on the current Numba master branch so should be working fine for the next release. You can grab a Numba development build to check it out with conda install -c numba/label/dev numba (usual caveats with development versions apply!).
import numba

base=('CAD', 'EUR', 'GBP', 'USD')
@numba.njit()
def test():
    res=base[0]
test()

Closing since receiving the :+1: from @fingoldo


ODT files alignment

How to keep original's file (.odt) alignment ?
Converting .odt files to .txt through odt2txt.
After identifying entities in the converted .txt file, the output should be converted back to the original's file format (.odt).
Although odt2txt offers exporting file to raw format, I still can't find a way to keep the original's file (.odt) alignment.

Fixed using odfpy.
Closing issue.


deps: update all

updated all deps including tendermint to the latest release (0.33.5)

Thanks for keeping this alive!


Add JSON exporter

Hello :hand:
Thanks for writing this database!
I've made an exporter to JSON and thought to share, perhaps it might be useful to others.

Thanks!


How long for training in a single GPU?

Hi, authors!
Thanks for your excellent work. I would like to know how long it takes to train your model on a single GPU (e.g., 3090Ti).
Besides, I would like to know if you have tested the inference speed and FLOPs on high-resolution (e.g., 2k) images. How is your computational efficiency compared with the previous state-of-the-art?

Thanks! Training takes around one day with the training settings specified in the code. We didn't test computational efficiency since it wasn't in the scope of the paper, but it would be useful if you make a test to report the results here for future reference.


Data Set connection issue

Hi, I tried to run transfuser on my server but my attemption to download the dataset failed with error code 403.  Could you offer some suggestions?

Maybe related to https://github.com/autonomousvision/transfuser/issues/94 ?


Feature/#703 typed injectiontokens

New Pull Request
Closes #703
Prerequisites
Please make sure you can check the following boxes:

[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project (I hope so)
[ ] All new and existing tests passed (see below)

Type(s) of Changes
Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[x] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have updated the documentation accordingly
[ ] I have added tests to cover my changes (see below)

Description
This adds new InjectionToken constants to piral-ng and additionally registers the known services using these tokens.
This improves compatibility with Angular's inject function.
Remarks
I've written this PR without actually being a consumer of this project. So my understanding of it is limited.
Existing tests: on my system some tests have failed before the change, still failing after the change:

src/tooling/piral-cli/src/common/npm.test.ts > npm Module > makeFilePath returns valid file path
src/tooling/piral-cli/src/common/npm.test.ts > npm Module > gets path to file package
src/tooling/piral-cli/src/common/utils.test.ts > only unique > should filter out child directories from back

New tests: Setting up an automated test for piral-ng is currently beyond my scope / understanding of this project.
A reasonable test (be it manual or automated) would ensure:

Using the new tokens in inject survives the type check (in contrast to the existing string based tokens)
Using the new tokens in inject or @Inject really leads to injection of the services

Injection token types: I'm also a bit unsure about the typing of the PROPS token. Currently it's InjectionToken<any>.
Without much experience in this project, it seems to me that almost anything can be passed here. Perhaps any can be improved to Record<string, any> or something similar but a simple any should make sure the consumer can just write down their own props type on the @Inject-decorated parameter / inject-assigned field.
Injection token names:: I've reproduced the original service names (uppercase) to name the exported injection token constants. The names passed to the InjectionToken constructor are just for debugging purposes.
Feel free to edit anything in this PR.

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

Thanks a lot - all tests are working as they should.
Much appreciated!


Create issue follow-up buttons

Originally the "clone" button was created to facilitate this need, however in hindsight, the word "clone" does mean an exact copy.
What we often have in issues are follow-ups that need to be created after discussion of the issue has reviled more pieces of the puzzle. This helps prevent the current issue from becoming "scope creeped".
We could utilize and expand the existing bare issue summary template:
Before any issues have been created (missing [#N] inside the <li>):

After an issue has been created ([#N] present inside <li>):

cc/ @yesct

Dreditor is being decommissioned due to the lack of availability of current maintainers and the fact that Drupal.org is becoming more feature rich at a much faster rate than Dreditor itself now.
This decision was also partially made due to the amount of work (complete rewrite) it would take to create an "official" Firefox extension (#256).
If you already have the extension installed, it should continue working for a while until, inevitably,  the markup on Drupal.org changes. It will no longer be updated.
We understand that many of you love this extension, as do we. This isn't the end, in fact, it's a much brighter beginning. All the things we love about Dreditor can, and should, be moved into Drupal.org natively.
For more information, please follow: https://www.drupal.org/node/2779729

This issue was moved to dreditor/dreditor#20


v0.3.0

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@70ad2e3). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main       #11   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         2
  Lines           ?        55
  Branches        ?         0
========================================
  Hits            ?        55
  Misses          ?         0
  Partials        ?         0

Continue to review full report at Codecov.

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


Typescript definitions and missing documentation

I created a PR to improve the typescript definitions -- hoping that someone merges it.
I used the documentation to create the definitions (using some emacs macros), but I discovered, that some important features are not documented. If you look at this diff, you see the undocumented features.
I am not sure if I am missing some of the properties.

@scharf, thanks your contribution, but I'm not sure what's that means for missing documentation, anything I need to do?, I'm very pleasure to improve it :)

The following properties in the diff are not documented:
The attributes in <BootstrapTable>
		remote?: boolean,

		fetchInfo?:FetchInfo;

		tableStyle?: any;
		containerStyle?: any;
		headerStyle?: any;
		bodyStyle?: any;

in the options the following attributes are not documented:
		     paginationShowsTotal?: boolean;

		     onSearchChange?: Function;
		     onAddRow?: Function;
		     onExportToCSV?: Function;

		     insertText?: string;
		     deleteText?: string;
		     saveText?: string;
		     closeText?: string;

The attributes in <TableHeaderColumn>
   	onSort?: Function;
   	csvFormat?: Function;

   	columnTitle?: boolean;
   	sort?: SortOrder;
   	formatExtraData?: any;

For me the most important missing property was BootstrapTableProps.remote.

@scharf, sorry for lately reply, I'll add these missing documents in near future.

@scharf,  I've updated the docs. Thanks you :)


Packed-Decimal columns help required in outgoing EBCDIC file

Background [Optional]
Hi,
I have requirement to create outgoing EBCDIC file (fixed width) with header, detail and footer records of length 155 bytes. I am aware that cobrix dont support writing to EBCDIC using copybooks hence I am writing dataframe to TEXT and encoding to CP037.
Question
In my copybook (file spec) there are few columns with Packed-Decimal. I am trying to understand how numeric data can be converted into packed decimal before encoding to Cp037.
Attribute Name = File Date
Format = S9(07) Packed Decimal (This field indicates the file creation date. The date format is Julian (YYYYDDD))
Length = 4
I tried converting to binary and populated in file but not working when reading back using cobrix (pyspark). Please help with some examples of converting to packed decimal.

For testing I am trying to create outgoing EBCDIC file and read it using cobrix in pyspark. Below is the copybook i created for reading header
   01 HEADER.
      10  HeaderRecordKey                                       PIC X(32).
      10  SourceStatus	                                           PIC X(01).
      10  FileDate                       PACKED-DECIMAL PIC S9(7).
      10  FileTime                       PACKED-DECIMAL PIC S9(11).
      10  Filler							   PIC X(112).

Packed decimals are supported by Cobrix when such fields have USAGE IS COMP-3.
As you said, Cobrix does not support writing to ebcdic files, but maybe the source code of teh decoder can help you encode them: https://github.com/AbsaOSS/cobrix/blob/6f66bf561ee59b5f26b2ef9698f85a1111bdc906/cobol-parser/src/main/scala/za/co/absa/cobrix/cobol/parser/decoders/BCDNumberDecoders.scala#L30-L30
Example:
10 SOME-FIELD  PIC S9(4)  USAGE IS COMP-3.

Further documentation:
https://www.ibm.com/docs/en/i/7.2?topic=type-packed-decimal-format
https://www.geeksforgeeks.org/comp-3-in-cobol/

Hi,
Thanks for your reply.
below are sequence of steps am doing to create EBCDIC file for the above header

All string columns (non COMP-3) Using withColumn transformation am encoding to 'cp037'
Concatenating all columns and writing to TEXT file (not encoding again as in 1st step i have done column by column encdoding)

Issue is around COMP-3 columns - I am currently using below UDF to pack comp-3 and storing in BinaryType() column in a dataframe. As data is already converted, should i need to encode to 'CP037'? I tried but no luck
If it is not right, please help me with sequence steps to convert to COMP-3 and encoding to ebcdic (Cp037)
For example:
value = 2023115
packed = pack_number(value)
Result is = b' #\x11_'
def pack_number(n):
""" Pack a COMP-3 number. Format: PIC 9(9). """
# Cobol numbers are stored without decimal info.  Remove the decimal before
# calling pack_number()
n = int(n)
# Is the number negative?  Remember for later.
negative = False
if n < 0:
    negative = True
    n *= -1

# Treat the number as a string.  Makes it easier to loop over.
n_str = str(n)
b = int(n_str[0])

# For each digit, shift it onto the result.
for c in n_str[1:]:
    b = (b << 4) | int(c)

# Make the number negative if needed.
if negative:
    b = (b << 4) | 0xd
else:
    b = (b << 4) | 0xf

# Pack the number as a long long and chop off the unused bits at the
# beginning.  This will need to be changed for varying PICture clauses.
b_packed = pack('>q', b)
if len(b_packed) > 4:
    b_packed = b_packed[-4:]

return b_packed

Regards,
Manoj

Hi @ManojKolisetty-git , sorry for the late response.
COMP-3 fields should not be encoded in CP037 nor any other encodings. Encodings are for string and numerics in DISPLAY format only. COMP-3 defines representation of numbers encoding-agnostic.
Did the code above worked an the end to create COMP-3 fields?


Looking forward to get involved and contribute to the community 🎉

First Name
Jay
Last Name
Patel
Discord Username (if applicable)
imjp19#7561
Let us understand your motive.
We are friends from when colleges were open for the events. I want to meet new peoples and build some connections. Contribute in their projects, helping them in their problem, if they need mentoring will guide them.

Hey @imjp19 👋🏻
Thanks for requesting an invite! Welcome to SidHacks Community 🎉
Before going ahead, I would want you to complete the below To-Do list.
Your To-Do List ✔

Accept the invitation sent to you via mail.
Change the appearance of this organization to "Public" from the people list here.
Join our Discord Server here.

Accept the Rules from #📓〡rules channel.
Introduce yourself to our community in 👋〡introduction channel.

Feel free to share your excitement on socials with #SidHacksCommunity. You can also tag me @siddharth_hacks.

Close this issue once you complete all the above points.

Looking forward to interacting with you in our community! Welcome once again! 🤓


Imagenet cifar notebooks

Description

[x] I have read the contributing guidelines
[x] I have updated the HISTORY.rst and AUTHORS.rst files
[x] Linting passes successfully : make lint
[x] Typing passes successfully : make type-check
[x] Unit tests pass successfully : make tests
[x] Coverage is 100% : make coverage
[x] Documentation builds successfully : make doc

Codecov Report

Merging #145 (f1e4d20) into master (244ba08) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #145   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           17        17
  Lines         1323      1323
  Branches       116       116
=========================================
  Hits          1323      1323

Continue to review full report at Codecov.

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

Good job Vincent !
Please remove the temporary files in .ipynb_checkpoints and Cifar10_files in the notebooks/classification folder.


Dev middleware configuration should be optional

Hi, I've noticed that when using the development server unless you put some configuration in appsettings.json an exception is thrown:
      System.NullReferenceException: Object reference not set to an instance of an object.
         at Vite.AspNetCore.Services.ViteDevMiddleware..ctor(ILogger`1 logger, IConfiguration configuration, IWebHostEnvironment environment, IHostApplicationLifetime lifetime)
         at InvokeStub_ViteDevMiddleware..ctor(Object, Object, IntPtr*)
         at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
         at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
         at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
         at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
         at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
         at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)
         at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
         at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
         at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
         at Microsoft.AspNetCore.Http.MiddlewareFactory.Create(Type middlewareType)
         at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
      --- End of stack trace from previous location ---
         at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

This is because the dev middleware expects the options object to always be non-null:
https://github.com/Eptagone/Vite.AspNetCore/blob/e1445995e0f427037775f693ced09b03cda8c3f8/src/Vite.AspNetCore/Services/ViteDevMiddleware.cs#L49-L53
However the readme says that:

By default, the manifest name is manifest.json and it's expected to be in the web root folder.

So I guess the aim was to have some defaults that don't require adding configuration manually.
A workaround is to add empty configuration objects in appsettings.json, like:
{
  "Vite": {
    "Server": {
    }
  }
}

Which isn't really ideal.
I would suggest to either make configuration "optional" (with defaults) or to make it clearer in the docs that you always need to add some settings.
Thanks!

Hi, you're right. The Server option should be optional too.
I'll fix it, thanks.

Done. Fixed with 7ab556bc686c06634c2d1e97f3c2bd2e479cf37f!

Thanks for the quick feedback!
I think there's the same problem in ViteManifest too though.

in the json too?

What do you mean? I mean that the configuration is assumed to be always present here too, in the ViteManifest class:
https://github.com/Eptagone/Vite.AspNetCore/blob/2f3dfbdbd671d263742e7dc416f75455fd806535/src/Vite.AspNetCore/Services/ViteManifest.cs#L43

Ohh it’s true. I’ll fix it too


[firebase_auth] Support sign in with Apple

Sign in with apple should be added, Firebase Auth now supports it.

Here are the links to the apis for the supported platforms:
iOS
Android
Web

Hi @EliasDeuss
for what I can see the issue is related to a FlutterFire plugin,
please open the issue in the dedicated github.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
thank you


Configuration page won't allow webhook notification

I'm having trouble getting the configuration page to accept my input. The only items I've configured are Title, Description, Webhook URL and Channel.
Clicking 'Execute Test Notification' works and produces a test message in my slack channel.
Clicking the 'Create' button causes a popup 'Please fill out this field.' together with a highlight around the 'Slack Token' field. I'm not using slack tokens, nor is any field like 'Notify Users' or 'Add acknowledge button' configured.
The only way I can get the dialog to accept my configuration is if I add a dummy value in the 'Slack Token' field, but then my notifications do not work.
Versions: graylog v3.13 and graylog-plugin-slack-notification-3.1.0.jar

@jasedragon I have remove required field from Slack Token. Please checkout
https://github.com/omise/graylog-plugin-slack-notification/releases/tag/v3.1.1

Thanks for the quick response. This has resolved my issue, cheers!


/usr/bin/env: ‘bash\r’: No such file or directory

hi im getting this error on Ubuntu 16.04.3 LTS
/usr/bin/env: ‘bash\r’: No such file or directory

Hey @silverbux
I believe it's because of new line endings (which works fore me in Ubuntu weirdly though) in the script.
As a quick fix, can you please run this, and try to execute the backmeup.unix.sh instead?
sed $'s/\r$//' ./backmeup.sh > ./backmeup.unix.sh

Or this:
dos2unix backmeup.sh

If it works, I'll try to release an updated version.

@Ardakilic hi thanks for the reply,
the /usr/bin/env error is gone and it seems to generate the backup file now
but the problem is it's not uploading to dropbox, and i think it has something to do with "filename".
i think it creates this weird character in that unix cant read
because right now i cant event delete the files. you'll notice in the screenshot it has "?" in the beginning of the filename.
im not sure if it really is the problem though

@silverbux
Which way did you use to convert the file? Sed or dos2unix? Can you try the other way around?
https://github.com/Ardakilic/backmeup/blob/7e7c7ce21890b4d75f5e3655153268bbdd30eb2b/backmeup.sh#L182
https://github.com/Ardakilic/backmeup/blob/7e7c7ce21890b4d75f5e3655153268bbdd30eb2b/backmeup.sh#L184
There's nothing as a prefix to the filename. I need to investigate a bit more.
I'll try to run on a fresh Ubuntu VM today and let you know if I encounter.
Also, you can delete the files like this:
find . -name "*.tar.gz" -type f -delete

or
rm "*.tar.gz"

etc. Either one should work.

hey @Ardakilic  thanks for the reply
i used dos2unix
it was weird but i was able to solved it by just grabing an old copy of backmeup.sh and uploading it to server.
i still havent figure out what went wrong though


Camera_path is empty. Generate a camera_path.json to render a Video without using Viewer!

How to get the camera_path/camera_path.json  to render a video without using the "viewer" to set a keyframe? I need to use clusters in which it is not possible to use the viewer to set the keyframes to generate the camera_path.json file and render a video.
Could anyone please guide me in this regard?

you can use luma ai instead.
https://lumalabs.ai/dashboard/captures

@tersite1 do you mean instead of nerfstudio? or just for generating the camera_path?


What is the right way to render a template in a loop?

For lists of things on a page, you want to render a range of keys but it's impossible to know beforehand how many indexes are available without incurring a round trip to the data source.
What is the best practice here?

I usually make a request for the first n items in the list (Like titles[0..19] to grab the first 20 - this won't throw an error, even if there are less than 20 items in the list) and also grab the length at the same time, which allows me to render pagination controls.
I do agree it would be nice to be able to make length-based requests, though. It's wasteful to send back 19 $atoms if there's only one item in the list. And sometimes, I just happen to know there's not a huge number of items in the list and I do in fact want to grab them all.

So I think I left out some info that would be helpful to explain the problem further...
Suppose I have a "posts" component that looks like this (angular 2 example):

  <post [data]="item">

Here I don't know statically:

what data is needed by the post component
what page of the feed I'm on

Basically I need to "speculatively" unravel that loop somehow to discover what data the post is requesting, so that those requests can then be batched and sent to the server. E.g. perhaps <post> looks like:

{{data.getValue('title')}}

But the feed item should not need to know this statically, to maintain maximum decoupling.
Is there any way to do this yet? I'm thinking a method that returns an Observable<Array<Model>> where the first published Array is as long as the maximum number of items requested but then a new Array truncated to the correct length in published when the results are back from the server.

Perhaps most succinctly: what should I put in the question marks?

I'm currently performing issue triage as we get ready to perform a proper release, and closing/tagging as I go.
Netflix follows a pattern of over-expressing paths in order to accommodate polymorphic results, as well as lists of unknown size as Dallon noted.
I know this is a VERY stale issue, but if you can provide a bit more information about your data model, we might be able to make some recommendations about how to make this a bit easier. For now however, I'm going to lose this.


Integrate LLVM at llvm/llvm-project@203cd159

MHLO : https://github.com/tensorflow/mlir-hlo/commit/647f079db3e38ddaa39d38ae7958022a40625676
TensorFlow : https://github.com/tensorflow/tensorflow/commit/5dd766f144ee0fc20506ee6476dc21c8e1816b69

Could you update the commit message accordingly too?

Let's ignore experimental benchmarks.. they shouldn't be a blocker for integrates.
MobileNetV1_fp32 result is dancing between [7.83, 8.7] recently, I'd say that it is a noise.
EfficientNetV2SPT has been improved after CodegenStrategy deprecation. In the PR it "regresses" to the previous state. I think the model is not on our focus set and we won't look into it soon. It's fine to land the PR w/ regression. (No action items here)
The rest looks likely noise, the gaps are all within ~5% or 1 ms. The PR looks good to me!

Thanks Hanhan! I changed the default threshold for x86_64 to 10%. Somehow that's still not enforcing on this pull request. Weird.. Need to look into this later.


(Question) What happens if I withdraw the L2 WNativeToken?

WNativeToken of L2 is also an ERC20 token.
What happens if I withdraw the L2's WNativeToken (0x4200000000000000000000000000000000000006)?

Can I normally bring TON(nativeToken) to L1?
Can I not execute the transaction as a reverting transaction?

Hi @Zena-park
In L2, TON is equivalent to ETH on L1. L2'TON is not an ERC20 token. So we have WNativeToken with the same role as L1's WETH.
So one way we can do is swaping WNativeToken to L2 Native Token then withdraw to L1

According to your answer, if I execute the above case, I will lose the L2's WNativeToken that I requested a withdrawal?

Yes, you are right. You will lose token. It is a normal cases. In Optimism as well, if we withdraw an arbitrary token, it is possible for losing token. There is nothing different compared to Optimism

Thanks for your reply. I will close the issue.


Consolidate helpers, remove py2exe deps, fix URL

This PR prepares building installers with PyInstaller and a runnable Python package via consolidating some modules and removing obviously obsolete ones. Changes:

Consolidate misc helpers in new helper module
Remove py2exe build helper modules
Fix website URL in About dialog
Update installation instructions in README

Please note that with this PR I'm also addressing your concern from https://github.com/cool-RR/PythonTurtle/pull/109#issuecomment-424219658.


RNVectorIconsManaget not available.

Using: "react-native-vector-icons": "^4.0.0", "react-native": "0.38.0",
And react-native link,
After running npm install I am getting this error screen

Try manual integration, link command is flaky.

Actually on second read, you need to use 3.0 with react native versions prior to 0.40.

It is my fault. I used the 4.0 no unlink after the link, and then I use 3.0, thank you.


'No valid JSON filenames...' warning is too vague

In the json_to_df method of the VERIS class (verispy/veris.py[378]) a warning is raised if the filenames list is empty. This list would only be empty if the directory provided contained no .json files, but the warning makes no mention of that cause. This is too vague of a warning to be useful. Should include the cause in it.

Feel free to fix this to include a better warning message.

https://github.com/RiskLens/verispy/pull/20

??? Confused, the error message wasn't changed as a part of that pull.

You changed it from a print statement to a warning, so I figured you were ok with the message. This was your opportunity, man!

Check the line numbers, that's a different, though related message.

So, the line you are talking about -- there are two ways filenames can get into that function. One, if you instantiate the object, then it loads the filenames in the __init__ function. OR, if someone wants, they can specify the filenames themselves. So your statement "This list would only be empty if the directory provided contained no .json files, but the warning makes no mention of that cause" isn't completely true -- that's only true in the init function.
The reason this is important is sometimes you might want to test or run your code on a subset of all the filenames -- OR if your files are in more than one directory, you'll combine a multiple lists. In that case, you will have to manually specify your filenames (either by slicing your original list, creating a list on your own, or concatenating two or more lists). In that case, you end up passing a list to the json_to_df function, with the filenames parameter, rather than the VERIS object finding your list of filenames and storing those in the self.filenames parameter.
So, you did a solid for me by changing the print statement in the __init__ function to a warning (thanks!). That is the spot where we need to talk about the directory being empty. But if someone chooses to actually pass a list of their own filenames to json_to_df, then we need a different warning message, and I believe the one in there at that location is adequate. Of course, it doesn't error check if the files are actually valid files that can be parsed, but that instance would cause an error later on.

I guess you could argue that the error message could be something like "Your filenames list is empty...."

Aah, gotcha! Public method, ok, good point.


[improvement][config] change be 2pc config  enbale  defalut

Proposed changes
Issue Number: close #xxx
Problem Summary:
default disable_stream_load_2pc=false
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

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

Why enable this by default? I think it has not been fully tested.

At present, the latest version of flink doris connector is submitted in 2pc mode to ensure the exactly once semantics of doris storage. We have done a lot of tests based on this, and there is no problem at present, so we hope that from the 1.1 version of doris, this configuration will be turned on by default.
On the other hand, even if this configuration is enabled by default, it has no effect on the normal streamload, because the 2pc streamload also needs to be displayed in the header to declare that 2pc is enabled

If it has been tested, I think we can merge this into 1.1. So that we can match the new version of flink-connector in next release.
@yiguolei please add dev-1.0.1 label if it looks good to you.


Correct read timeout instruction

Correct the instruction that show how to set up read timeout.

This is only README update right? 👍  Gogogo.

Then I will merge this PR 😁


test: /bootstrap e2e test

add codecept with a first test using gherkin in french (https://codecept.io/bdd/#gherkin)
also add step_definitions base to have custom matchers
it use playwright under the hoods (https://codecept.io/playwright/#setup)

En cas de fail des tests e2e, un screenshot est pris et est ajouté au artefact du pipeline (dans la vue summary https://github.com/SocialGouv/carnet-de-bord/actions/runs/1505173157)

:tada: This PR is included in version 1.62.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix gson number serialization #912, #908

With this I am able to generate the correct interactions format using junit5

Thanks for the PR. You'd think this is something GSon would do out of the box!


Benchmark comparison is weird when opposite's implement doesn't exist

I came to this site to compare the execution speeds of Java and C++, and I saw the following: the Java source code was the fastest, and the C++ source code didn't even show up in the rankings.
I thought this was odd, so I dug deeper and realized that the algorithm implemented in Java was not implemented in C++.
https://programming-language-benchmarks.vercel.app/cpp-vs-java
https://programming-language-benchmarks.vercel.app/java-vs-cpp
In the first link, you can see that C++ and Java are properly compared, but in the second link, it doesn't look right because it is compared to the unimplemented C++ code.
After seeing this, I think it shouldn't show up unless there is code implementing the algorithm in another language.

For “mainstream” languages you can check original project:
https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/gpp-java.html

I've seen it, and now I know which language is faster.
I just think it's strange that the "vs" tab on that page shows the execution speed of language A even when there is no implementation of language B, giving the illusion that language A is much faster than language B.
It's not just java vs c++, it's c++ vs csharp or whatever.


Make <Dialog.Content /> grow out of <Dialog.Trigger /> (or a consumer's custom control)

Implemented in https://github.com/penumbra-zone/web/pull/1665


error when build command in vue-cli webpack template

ERROR in static/js/vendor.7fa26e985f44def8b403.js from UglifyJs
Unexpected token: operator (>) [./~/vue-multiselect/src/multiselectMixin.js:12,0][static/js/vendor.7fa26e985f44def8b403.js:59161,29]
function filterOptions (options, search, label) {
  return label
    ? options.filter(option => includes(option[label], search))
    : options.filter(option => includes(option, search))
}

something about "option => includes"

How does your setup look like? Are you using webpack? It seems that there’s a problem with es6 support. How do you import the library?

sory about that

It’s okay :)

Still seeing this message, using webpack, importing like this:
import Multiselect from 'vue-multiselect/src/Multiselect.vue'
Any thoughts?

Change src to lib.

what about dist folder? Can I use that one? Or better to stick with lib?

Well actually you can just do
import { multiselectMixin } from 'vue-multiselect'
// or
import Multiselect from 'vue-multiselect'


Can't starrt

MacOS, native installation
RobinH:wechaty-getting-started robinhe$ npm install
audited 915 packages in 5.166s
found 0 vulnerabilities

RobinH:wechaty-getting-started robinhe$ npm start

><EMAIL_ADDRESS>start /Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started
> ts-node examples/starter-bot.js

08:31:11 INFO Wechaty start() v0.17.98 is starting...
08:31:11 ERR Accessory static get puppet() please see issue #1217: https://github.com/Chatie/wechaty/issues/1217
08:31:11 INFO Wechaty initPuppet() using puppet: puppeteer
08:31:11 ERR PuppetPuppeteerBridge init() exception: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
08:31:11 ERR PuppetPuppeteer initBridge() exception: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
Error: no page
    at Bridge.<anonymous> (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty-puppet-puppeteer/src/bridge.ts:303:13)
    at Generator.next (<anonymous>)
    at /Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty-puppet-puppeteer/dist/src/bridge.js:26:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty-puppet-puppeteer/dist/src/bridge.js:22:12)
    at Bridge.quit (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty-puppet-puppeteer/dist/src/bridge.js:246:16)
    at PuppetPuppeteer.<anonymous> (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty-puppet-puppeteer/src/puppet-puppeteer.ts:332:25)
    at Generator.throw (<anonymous>)
    at rejected (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty-puppet-puppeteer/dist/src/puppet-puppeteer.js:23:65)
    at <anonymous>
08:31:11 ERR PuppetPuppeteer start() exception: Error: Error: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
Error: Error: Error: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
    at PuppetPuppeteer.puppet.on.error (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty/src/wechaty.ts:586:32)
    at PuppetPuppeteer.emit (events.js:159:13)
    at PuppetPuppeteer.emit (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty-puppet/src/puppet.ts:246:18)
    at PuppetPuppeteer.<anonymous> (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty-puppet-puppeteer/src/puppet-puppeteer.ts:177:12)
    at Generator.throw (<anonymous>)
    at rejected (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty-puppet-puppeteer/dist/src/puppet-puppeteer.js:23:65)
    at <anonymous>
08:31:11 ERR Wechaty start() exception: Error: Error: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
Error: Error: Error: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
    at PuppetPuppeteer.puppet.on.error (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty/src/wechaty.ts:586:32)
    at PuppetPuppeteer.emit (events.js:159:13)
    at PuppetPuppeteer.emit (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty-puppet/src/puppet.ts:246:18)
    at PuppetPuppeteer.<anonymous> (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty-puppet-puppeteer/src/puppet-puppeteer.ts:177:12)
    at Generator.throw (<anonymous>)
    at rejected (/Users/robinhe/Documents/Dev/GitHub/wechaty-getting-started/node_modules/wechaty-puppet-puppeteer/dist/src/puppet-puppeteer.js:23:65)
    at <anonymous>

Sorry, the master branch of this repo is broken from yesterday.
Please wait for the fix before you try again, I'll let you know it by keep posting the progress at here.

Oh, I saw that you are using Puppeteer.
If you are not testing with padchat, please use Wechaty v0.14 instead.
Because currently the versions above v0.14 is all UNSTABLE and for Alpha/Beta test only.

started after set the env to change it to padchat.
WECHATY_PUPPET_PADCHAT_TOKEN=botorange_tempory_token WECHATY_PUPPET=padchat node ./starter-bot.js

Glad to hear that, Cheers!


Fix readme formatting

Code formatting fixes; fixes one broken case and makes the README more consistent in style.

@StevenMaude If you are interested this feature has been merged into the laces3 theme https://github.com/lgiordani/laces3

Hi!
First of all, thanks for your pull request! I appreciate the contribution, but I cannot accept this PR at the moment. It's with heavy heart that I have decided that I can no longer maintain this theme due to lack of time and changing interests. To makes sure the theme lives on however and not goes to waste, I've donated it to the Pelican community. It can now be found in the official pelican-themes repository. I'd suggest you re-submit your pull request there.
Sorry for the inconvenience!


chore: changes to make testing easier

Purpose

How does the solution address the problem

Changes made

/deploy

PR NET pr-1676 Successfully deployed! explorer  https://explorer-pr-1676.prnet.taraxa.io  RPC  https://rpc-pr-1676.prnet.taraxa.io Boot NodesBoot Node <IP_ADDRESS>Boot Node <IP_ADDRESS>Boot Node 3<IP_ADDRESS> RPC NodesRPC Node 1<IP_ADDRESS>RPC Node <IP_ADDRESS>RPC Node 3<IP_ADDRESS>

/cleanup

prnet cleaned-up successfully


Add fix for scroll and drag

Fix for: Scroll was causing an assert error and windows could not be dragged because dragging was not implemented

Perfect, thanks!


hey thank you for releasing this! but it throws one error

AttributeError: 'NoneType' object has no attribute 'find_all'

See the discussion in https://github.com/ccabrales/TabHero/issues/1. The site layout has changed since this was created, so the crawling no longer works as expected. But you are more than welcome to open a PR to fix it!
Closing this as a duplicate.


Depreciation warning in AutoGMM

Actual Behavior
Importing AutoGMM throws the following warning
Full Traceback
FutureWarning: The sklearn.mixture.gaussian_mixture module is  deprecated in version 0.22 and will be removed in version 0.24. The corresponding classes / functions should instead be imported from sklearn.mixture. Anything that cannot be imported from sklearn.mixture is now part of the private API.
 warnings.warn(message, FutureWarning)

Your Environment

Sklearn version 0.22

I'll get this done this semester


ICE when parsing use

I recently switched to rustfmt-preview, which grouped my use statements.
But this made cargo tarpaulin --all start to ICE:
error: expected one of `,` or `as`, found `::`
 --> /home/travis/build/Ekleog/yuubind/smtp-message/src/parse_helpers.rs:1:22
  |
1 | use std::{collections::HashMap, fmt};
  |                      ^^ expected one of `,` or `as` here
error: internal compiler error: Error constructed but not emitted

The same code works perfectly fine with both stable, beta and nightly vanilla rust.
You can also check the error on Travis and rust stable managing to build.
Anyway, thanks for your work!

Huh, that's odd, checking it out now to see if I can get to the bottom. As it's ICE it actually crashes in rustc so it might be the rustflags and arguments I use to get the info/layout I need for coverage causes the crash.  I'd also raise an issue in rustc, the flags we add are -C relocation-model=dynamic-no-pic -C link-dead-code

Unless it's down to syntex_synax... Which would be an issue.

Great, thanks!

This is fixed with #88, it does require an addition to your RUSTFLAGS when tarpaulin builds so proc-macro2 includes it's position reporting code which is semver-exempt. Looking in the develop branch and the new .cargo/config it should be clear what to do, but any issues getting it working let me know :+1:

Hmm… So I guess I'm mis-building tarpaulin? I'm building this way, got apparent success (despite the test failure it appeared to successfully upload to codecov), yet get no coverage?
At worst I can just wait for 0.6.0, anyway waiting 20 minutes for every travis build is not really pleasant :)
Anyway, thanks! :)


Source file path strings in compiled library

When building TDLib with the standard instructions (taken from https://tdlib.github.io/td/build.html?language=C%2B%2B) under Linux (more precisely: Sailfish OS 3.3), the final *.so files always contain strings with the file paths of the original sources. Example:
strings libtdjson.so.1.7.0 | grep mersdk

/home/mersdk/share/git/td/tdutils/td/utils/Status.h
/home/mersdk/share/git/td/tdutils/td/utils/Slice.h
/home/mersdk/share/git/td/tdutils/td/utils/JsonBuilder.h
/home/mersdk/share/git/td/td/telegram/ClientJson.cpp
/home/mersdk/share/git/td/tdutils/td/utils/MpscPollableQueue.h
/home/mersdk/share/git/td/td/telegram/Client.cpp
...

While that doesn't affect its productive use (by the way thank you very much for providing TDLib, it's a pleasure to work with it!), it's probably an issue when I want to pass the Jolla Harbour rules as the validator complains about hard-coded file paths in my application. Yes, I could argue that it's a false-positive and get admitted anyway, but I wanted to check if there is a way to avoid it as it's specific to TDLib (other libraries and sources don't show that) and I haven't found anything in the sources or in the issues here yet (OK, it's a lot and the solution probably easy to miss...).
Anybody here who knows what to change in the original source or which flag I need to set in order to avoid that the source file path strings are in the compiled library?
Thanks in advance for any help. Regards, Sebastian

All these paths come from the FILE macros, which is used by the logging system, so I don't think there is a way to easily remove them.

Thanks @levlam for the hint! In the meantime, I tried it with the "false-positive" approach and was successful (well, it is a false positive, right? ;)). So from my perspective there is no further need to keep this one open. I'll close it.

@Wunderfitz You can find some workarounds in https://reproducible-builds.org/docs/build-path/.


HAProxy PROXY command

The HaProxy support involves a small prefix with the original IP.  See stud README for more:
https://github.com/bumptech/stud

the HAProxy protocol is specified here

PR here. https://github.com/hannesm/tlstunnel/pull/22

List of software supporting HA PROXY v1: http://blog.haproxy.com/haproxy/proxy-protocol/
(I guess tlstunnel now has a place on that list, too?)

I tested this locally works nicely.  should I do a new release of tlstunnel, now with proxy protocol support?


GSoC 2020 Proposal - Implement event loop telemetry

Hello Everyone,
I'm a third-year undergrad at Indian Institute of Technology, Roorkee. I successfully participated in GSoC last year. This year I am looking forward to contributing to Netty.
Here is my proposal for the topic, Implement event loop telemetry. I have added all other details in it.
I am looking forward to working with you.

Seems good.
How are you planning to implement those metrics counter into Netty? During Server bootstrapping or some different approach?

@dev-ritik Consider https://github.com/netty/netty/pull/9080 in the mix, although very basic :)

I think this could be done using some interfaces. Custom implementations, as required, can be added to various EventLoops and EventLoopGroups or their superclasses. Users can decide while Server bootstrapping if they want to observe those counters or not.

Let's close this... the students were selected for GSOC


[All hosts] Fix community call agenda

Fixes copy/paste error on agenda for January.

Docs Build status updates of commit b72e0e7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/overview/office-add-ins-community-call.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 365242b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit bf47245:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/overview/office-add-ins-community-call.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add docs on spatial indexes

Fixes #8563.
Addresses #7835, #7900, #7901, #7902, #7903, #8172, #8356, #8377, #8513, #8567.
Summary of changes:

Add a new page 'Spatial Indexes' that:

Describes what they are and how they work at high and lower(ish)
levels

Provides some examples of usage, including how to tune them to
generate tighter or looser coverings with 'CREATE INDEX', as well as
exploring potential coverings with 'st_s2covering'.

Add links to/from 'CREATE INDEX', 'Indexes', and 'Inverted Indexes'
pages.

Also, add lots of cross-linking among various spatial pages,
esp. where indexing is mentioned in the text thereof.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/1a563a0b0472b665b4befce5134e696cf57f3f76/
Edited pages:

v20.2/create-index.md
v20.2/indexes.md
v20.2/install-cockroachdb-spatial.md
v20.2/inverted-indexes.md
v20.2/migrate-from-geojson.md
v20.2/migrate-from-geopackage.md
v20.2/migrate-from-openstreetmap.md
v20.2/migrate-from-shapefiles.md
v20.2/spatial-data.md
v20.2/spatial-features.md
v20.2/spatial-glossary.md
v20.2/spatial-indexes.md

Hi Becca, Oliver, Sumeer:
Sorry to ping all of you - wasn't sure if it would be enough to get just one person's eyes - I think this doc could benefit from each of your perspectives, since it's kind of trying to be the all-singing all-dancing spatial indexes page (for now).
In addition to pointing out any errors, would appreciate suggestions on how to make this better so it's more helpful to users trying to understand stuff.
Thanks!

v20.2/spatial-indexes.md, line 130 at r1 (raw file):

| `s2_max_level`   | 30                                            | The maximum level of S2 cell used in the covering. Allowed values: 1-30. Setting it to less than the default means that CockroachDB will be forced to generate coverings using larger cells.                                                |
| `s2_max_cells`   | 4                                             | The maximum number of S2 cells used in the covering. Provides a limit on how much work is done exploring the possible coverings. Allowed values: 1-30. You may want to use higher values for odd-shaped regions such as skinny rectangles. |
| `geometry_min_x` | Derived from SRID bounds, else `-(1 << 31)`   | Minimum X-value of the [spatial reference system](spatial-glossary.html#spatial-reference-system) for the object(s) being covered. This only needs to be set if you are using a custom [SRID](spatial-glossary.html#srid).                  |

This only needs to be set if the default bounds of the SRID is too large/small for the given data, or SRID = 0 and you wish to use a smaller range (unfortunately this is currently not exposed, but is viewable on https://epsg.io/3857).
By default, SRID = 0 assumes [-min int32, max int32] ranges.

  Sorry that I seem to have missed some obvious things.  What do you think of the recent changes?  Do you feel like they address your feedback?  If not please let me know and I will try to fix.
(Also, sorry for forgetting to mention that I also ran the scripts to update the diagrams for create_table and index_def as you suggested in your opening comment.  It looks like no changes were generated for the 20.2 pages, so it seems they are up to date as well.)


Queue onDidWriteTerminalData events going to extensions hosts early on while they are being initialized

Apparently even for Codespaces the initial events don't make it?

Hi Daniel, can you please mark it as higher priority since we need this for our PortForwarding UI?

@fara-nak done, can you please verify this when you get the change?

i just checked in insider version 1.49 and issue still exist

@fara-nak guessing that the extension activation is happening too late after ext host spawn then.

Actually no, the buffered events are now sent when the first extension starts listening to onDidTerminalWriteData. @tara-nak are there multiple extensions listening and does it take the extension host longer than 10 seconds to launch?