Helping Speed up Inference

Hi,
I am trying to integrate AWQ into vLLM library.  The current issue is that AWQ has worse throughput than the unquantised variant: I think it should at least match this.
Issues when profiling AWQ gemm kernels:
i) hitting limiting of shared memory means low occupancy of GPU
ii) lots of bank conflicts when trying to store to shared memory
I think if resolved this could speed up inference a lot.
Are any of the maintainers willing to discuss more - can add me on discord: "robert1".  Main issue at moment is trying to understand some parts of the kernel.

Hi, thanks for the pointer. Maybe @kentang-mit and @ys-2020 can take a look at the issue?

Hi @ri938,
Can you please try to benchmark AWQ with HuggingFace's text-generation-interface instead of the native HuggingFace model.generate method? I have a fork that supports loading AWQ models in TGI.
For e.g., you can load AWQ models as follows (after building the source):
text-generation-launcher --huggingface-hub-cache ~/.cache/huggingface/hub/ --model-id abhinavkulkarni/codellama-CodeLlama-7b-Python-hf-w4-g128-awq --trust-remote-code --port 8080 --max-input-length 2048 --max-total-tokens 4096 --max-batch-prefill-tokens 4096 --quantize awq

Please install Flash Attention v1 or v2 and vLLM so that you benefit from PagedAttention and FlashAttention?


Bun Install Command (+Orb Config Cleanup)

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/ksylvest/bun?version=0.0.1


Memory leak

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below): 2.0.0
Python version:3.7
CUDA/cuDNN version: 10.0/7.4
GPU model and memory: 1060 6GB

Tell me how to run the code on TF 2.0?
The problem arises only in the second era, as if the memory of the GPU is not cleared.
The first version helps
tf.keras.backend.get_session().run(tf.global_variables_initializer())
Code
https://github.com/sgenza/keras_crnn

@sonfiree, Please provide the minimal standalone code to reproduce the issue reported here. Indeed, it will help us to investigate the root cause. Thanks!

@sonfiree, Please provide the minimal standalone code to reproduce the issue reported here. Indeed, it will help us to investigate the root cause. Thanks!

https://github.com/sgenza/keras_crnn

https://github.com/tensorflow/tensorflow/issues/33178

@sonfiree, Please provide more information on reproducing the issue. I cloned your repo but there is no description for how to use the repo. Thanks!

Duplicate of #33178 (in lack of reproducer being provided here, OP pointed to duplicate)


Problem with regex

The regex used doesn't seem to pass for all valid dids
^did:peer:(([01](z)([1-9a-km-zA-HJ-NP-Z]{46,47}))|(2((\.[AEVID](z)([1-9a-km-zA-HJ-NP-Z]{46,47}))+(\.(S)[0-9a-zA-Z=]*)?)))$
See here https://regex101.com/r/NSAniA/1 where there is 2 dids but only 1 is matching
It looks like the {46,47} might not account for all key sizes. Changing these to {44,47} appears to properly match

hmm 44, 47 didn't work either so I changed it to a * in my implementation

I think this was a bug in my multibase implementations. now that I have that fixed all of the dids I've tried pass the regex. closing until I see this again but I think the regex is fine as it is


Add new rebus

Associated Issue: #34
Please get familiar with the contributing guide before submitting a PR.
Summary of Changes

Add 4 new rebuses (Fireman, Lighter, Moonlight, and Fairy)

@indraarianggi Could you change this so that you want to merge your branch into ollelauribostrom:master instead? 🙂


valueChanged firing twice?

the property grid is set up like below but whenever I enter only a new value but the valueChanged events gets fired twice. What am I missing?
here's how it is set:
  const pg1 = document.getElementById('pg1')
  pg1.options = pgOptions
  pg1.config = pgConfig
  pg1.selectedObject = pgData
  pg1.addEventListener('valueChanged', (v) => console.log('new data!'))

a screen record of what is happening:
https://imgur.com/a/5LrWy6Y

@MassMessage Can you try to update the package to the latest version?
That issue should be fixed there.
I was planning to make some improvements this weekend so I will check that part again.


Re-export druid_shell::Scalable & remove to_px/to_dp helpers on Scale

This allows use-ing Scalable and thus various type's implementation of to_px ect

@xStrom does this make sense as public API to you?

It kinda already is. Scale has the public and very confusingly named to_px which accepts a generic arg which impls Scalable before calling the argument's own to_px passing in the instance of Scale.  I say it is confusingly named because for the types which implement Scalable their to_px functions convert themselves using the Scale passed in but this apparent helper function on Scale does the opposite by converting the argument using itself as the scale.
When I initially drafted this PR I hadn't looked into these functions to much but now after using this branch for my project and poking around I think that the helper function on Scale should be removed and simply use the methods on these Scalable types.
My specific use case of having this functionality provided to applications is that I'm using it to handle font size in a DPI aware way by converting to absolute pixel values.

I've removed the helper functions and corrected any callsites I could find with a quick grep. I decided to leave the px_to_dp* functions as despite not finding any places which call any of them they seem reasonable enough to exist on Scale as is. I expect the CI to probably fail on some non-GTK shell

After fixing the CI and fiddling with merge conflicts I think this is ready for a review. Thankfully removing those functions turned out to be a fairly small change

So none of the CI seems to be running and the changelog still has a merge conflict after manually fixing it so I'm just going to let this sit for a while and hope Github sorts itself out

GH claims there is only one conflict and it is the following

Combined with the CI bugging out I think that Github is being silly so I'm going to let this sit for a bit and see if it figures itself out

I managed to fix the merge conflict by just moving the conflicting line up a line, not ideal but better than screwing up the PR's git log. The CI also seems to be functioning again, not sure if the conflict was blocking the CI from running as I'm 90% sure that I've had PRs run CI with merge conflicts but I don't know if the CI runs on just the PR's branch or on the master branch w/ the PR merged which would cause it to be blocked :shrug:

Sorry for not taking a look sooner, but yeah I think this change is fine.


param_set accept block

v0.4.5
task :task1 do
  param_set :key, -> { "value_#{Time.now}" }
end

v0.5.0
You don't have to write -> before block
task :task1 do
  param_set :key, { "value_#{Time.now}" }
end

I don't clear this change is good or not, so move this issue to v0.6.0 milestone.

Continue to discuss on #81

Now I think this change is needed to consistency of DSL syntax. So I decided to implement this in v0.6.0


FR QueryAll

Is it possible to add QueryAll so the nextRecordsUrl can be ignored with a single request?

Updated so that the number of records specified by maxFetch can be acquired with single request.


Update LibraryX screenshots

Addition:(libraryx style screenshots)

@SunsetTechuila @windowz414 what do you think?

@SunsetTechuila @windowz414 what do you think?

Looks awesome if you ask me!

The style is different and the existing screenshots should also be updated imho. Otherwise - good

maybe also add lyrics/transparent menus screenshots

maybe also add lyrics/transparent menus screenshots

yah, sure i will do that!

The style is different and the existing screenshots should also be updated imho. Otherwise - good

and

The style is different and the existing screenshots should also be updated imho. Otherwise - good

and

You have an eagle's eye for real, @SunsetTechuila!


[event-hubs] add support for sending AmqpAnnotatedMessage

Placeholder: See https://github.com/Azure/azure-sdk-for-js/pull/14703 for example of what was done in service bus.

/azp run js - event-hubs - tests


Flannel sunnet does not match the subnet set by Docker

Expected Behavior

Current Behavior

Flanneld Service The output error：
Dec 29 13:41:12 kube-node-2 flanneld-start[15205]: I1229 13:41:12.913005   15205 network.go:243] L3 miss but route for <IP_ADDRESS> not found
Dec 29 13:41:13 kube-node-2 flanneld-start[15205]: I1229 13:41:13.914890   15205 network.go:243] L3 miss but route for <IP_ADDRESS> not found

Possible Solution

Steps to Reproduce (for bugs)

Check Flannel sunnet does not match the subnet set by Docker

cat /run/flannel/docker
DOCKER_OPT_BIP="--bip=<IP_ADDRESS>/24"
DOCKER_OPT_IPMASQ="--ip-masq=true"
DOCKER_OPT_MTU="--mtu=1450"
cat /run/flannel/subnet.env
FLANNEL_NETWORK=<IP_ADDRESS>/17
FLANNEL_SUBNET=<IP_ADDRESS>/24
FLANNEL_MTU=1450
FLANNEL_IPMASQ=false

2.Restart Flannel servicce  sunnet the same in /run/flannel/subnet.env and /run/flannel/docker file，network become normal.
Context

Your Environment

Flannel version: 0.7.1
Backend used (e.g. vxlan or udp): udp
Etcd version:3.3.11-2
Kubernetes version (if used): v1.12.4
Operating System and version: CentOS 7.7
Link to your project (optional):

@lklkxcxc  youre running an old version of flannel can you try and recreate in v0.12.0 or greater? there's suspicions that youre using an older subnet.env or something, leftover data maybe?  we are going to mark this closed and reopen if it doesnt work in later versions.

@lklkxcxc  youre running an old version of flannel can you try and recreate in v0.12.0 or greater? there's suspicions that youre using an older subnet.env or something, leftover data maybe?  we are going to mark this closed and reopen if it doesnt work in later versions.

Closing this issue. Please re-open if needed.

Closing this issue. Please re-open if needed.


Question on Loss function

Hi! I must say that your paper is truly inspired. I have a query though,
In the paper you have mentioned that you have used minimax objective function which also includes the log term. But in the code module loss.py I am not able to find the same. Can you help me understand how the loss function is working?

Thanks!


Running tool/EditorScript code to send UDP packets freezes the whole system irrevokably

Godot version:
3.3.rc8
OS/device including version:
linux64 GLES3
Issue description:
I was experimenting with sending UDP packets by executing an immediate function to make it easier to develop and hit this unfortunate situation.  Window close doesn't even work.
Steps to reproduce:
Open the project and the udp_immediate.gd file, and hit Cntrl-Shift-X to run the code immediate.
Minimal reproduction project:
udpsendingtest.zip

Can you reproduce this in 3.2.3?

You execute 1000 times OS.delay_msec(2000), so for me this is expected behavior

Dang, you might be right.  The whole UDP business is a red herring.
I've just tested OS. delay_msec(20000) in a different tool; EditorScript file (where I normally check out small GDscript snippets), and the whole interface hangs.
I'd normally use yield(get_tree().create_timer(1.0), "timeout") for this, but when you are running an EditorScript file there is no tree, so I looked for the next best thing.
Maybe all I really needed was a health warning on the function.
https://docs.godotengine.org/en/stable/classes/class_os.html?highlight=delay_msec#class-os-method-delay-msec

but when you are running an EditorScript file there is no tree

Actually there is, it's just not directly accessible. If you use EditorScript.get_editor_interface(), you'll get back a EditorInterface node, which you can then call get_tree() on. So in your case, you'd be using yield(get_editor_interface().get_tree().create_timer(1.0), "timeout").


Refactoring - Replace use of PropertyValueFactory

PropertyValueFactory is used at several places in the application, to retrieve values to display from models in the controller classes.
While it is useful in some situations, it can also lead to some problems due to accessibility as for issue #45.
This ticket is about refactoring the application, replacing all usages of PropertyValueFactory by lambda expressions using model getters.
Example in LegalEntityReportController:
   id.setCellValueFactory(new PropertyValueFactory<LegalEntity, String>("id"));

replaced by:
   id.setCellValueFactory(cellData -> cellData.getValue().getId());

(Note: Consider keeping PropertyValueFactory only for the exceptional cases where the model structure is discovered at runtime.)

Tests OK.
This ticket #56 will be included in branch release/v1.1.x


Create todo creation page

Create todo page has a form with following fields:

[ ] title field
[ ] description field
[ ] status dropdown field
[ ] priority dropdown field

may i take this task


fix update_nested_dict

When creating a task from a workgraph, the top-level input of a task should be a namespace

Codecov Report
Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 80.70%. Comparing base (5937b88) to head (54fb771).
Report is 76 commits behind head on main.

Files with missing lines
Patch %
Lines

aiida_workgraph/utils/__init__.py
80.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #317      +/-   ##
==========================================
+ Coverage   75.75%   80.70%   +4.94%
==========================================
  Files          70       66       -4
  Lines        4615     5130     +515
==========================================
+ Hits         3496     4140     +644
+ Misses       1119      990     -129

Flag
Coverage Δ

python-3.11
80.70% <85.71%> (+5.03%)
:arrow_up:

python-3.9
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add ping extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi @pernielsentikaer 👋  updated the extesion taking your suggestion into account 😃


Categories and tags not displayed

I'm seeing an issue with 6.2.2 on DNN version 7.3.4 where the categories and tags are not displayed under the "Publishing Details" section.

What could cause this?
Thanks,
Steve

Either: 1. no categories created yet, 2. css conflict causing stuff to hide, or 3. js conflict causing the tree to break. It has to be debugged using Firebug for instance.


Use string_types instead of basestring

... in order to get python 3 compatibility
Otherwise, it's impossible to use django-crispy-forms with python 3
This is similar to pull request #310 but #310 can't pass CI because of other changes.

As I've merged #417 I'm closing this patch. Thanks a lot for taking the time to submit it.
Please read my changelog:
https://github.com/maraujop/django-crispy-forms/commit/2b808e955c74c87b31b8d2d66fb101f35cf15767#diff-4ac32a78649ca5bdd8e0ba38b7006a1eR9
Cheers,
Miguel


QWait Event Causing Issues

Hello,
I have a thread (or rather 4 for four cameras) that are al implementing gstCamera class.  I have a function that is being run in an endless loop (serviceCamera) for each thread.  I have gstream pipelines created on TX2 to capture at 30fps and appsink them.  In the serviceCmaera thread is where I lock and call gstCamera->Capture().  After some time, I will get a wait_Result that is not 1 in the gst::Capture() function.  I print out like the following:
    if( !wait_result )
    {
        fprintf(stderr, "%s: returning false because waiting on mutex failed!\n", __FUNCTION__);
        return false;
    }

What I have noticed is when that happens, it never clears.  It happens from that point forward until I restart my program.  My question, is what would cause the wait() event to fail, and why would it not recover?
If I set my gstream pipeline to run at 20fps the failing takes much much longer, if at all.

Hi @benlemond, did you find a solution to this? I've been looking for quite some time now, but not yet managed to pinpoint the exact issue and workaround.


Update mark task, unmark task and edit task features in UG

Codecov Report

Merging #313 (0614f07) into master (6b041b9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #313   +/-   ##
=========================================
  Coverage     76.95%   76.95%
  Complexity     1183     1183
=========================================
  Files           165      165
  Lines          3307     3307
  Branches        459      459
=========================================
  Hits           2545     2545
  Misses          627      627
  Partials        135      135

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


MRUBY_CONFIG not globally available as before

Hi @shuujii ,
I'm trying to compile mruby-esp32 examples.
It compiles ok against 2.1.2 mruby. But not against master branch.
It issues a NameError: uninitialized constant #<Class:MRuby::Lockfile>::MRUBY_CONFIG
I think this error was introduced at 81c21088196fd92d08c253efc2feb8dbead88acf
Before that MRUBY_CONFIG was being set in Rakefile and readly available.
But from this patch on MRUBY_CONFIG is being set "after" running MRuby::Build.load_config.
The problem rises because MRuby::Lockfile.instance is called before MRUBY_CONFIG is set.
I'm opening a PR for discussion.
The complete error message follows.
make MRUBY_EXAMPLE=wifi_example_mrb.rb flash monitor
Toolchain path: /Users/abinoam/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: esp-2020r3
Compiler version: 8.4.0
Python requirements from /Users/abinoam/esp/esp-idf/requirements.txt are satisfied.

App "mruby_example" version: a08fb71-dirty
rake aborted!
NameError: uninitialized constant #<Class:MRuby::Lockfile>::MRUBY_CONFIG
/Users/abinoam/esp/mruby-esp32/components/mruby_component/mruby/lib/mruby/lockfile.rb:29:in `instance'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/mruby/lib/mruby/lockfile.rb:21:in `build'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/mruby/lib/mruby/build.rb:253:in `locks'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/mruby/lib/mruby/build/load_gems.rb:87:in `load_special_path_gem'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/mruby/lib/mruby/build/load_gems.rb:17:in `gem'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/esp32_build_config.rb:61:in `block in <top (required)>'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/mruby/lib/mruby/build.rb:111:in `instance_eval'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/mruby/lib/mruby/build.rb:111:in `initialize'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/mruby/lib/mruby/build.rb:400:in `initialize'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/esp32_build_config.rb:28:in `new'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/esp32_build_config.rb:28:in `<top (required)>'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/mruby/lib/mruby/build.rb:50:in `load'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/mruby/lib/mruby/build.rb:50:in `load_config'
/Users/abinoam/esp/mruby-esp32/components/mruby_component/mruby/Rakefile:17:in `<top (required)>'
/Users/abinoam/.rvm/gems/ruby-2.6.3/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/Users/abinoam/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
/Users/abinoam/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `<main>'
(See full trace by running task with --trace)
make[2]: *** [all] Error 1
make[1]: *** [build] Error 2
make: *** [component-mruby_component-build] Error 2

I hit this issue too.
It happens when I write conf.gem :github => 'iij/mruby-process' in default.rb.

Sorry, the problem that occurs when MRuby::Lockfile.disable is not called and the key of conf.gem has :github,:git, :mgem, butbucket, etc. is.


Not everyone uses express...

I'd like to use this library but it seems like it's built explicitly for express.js or a similar framework.
I'm currently unable to return an access token, because the framework i'm using doesn't have a redirect method, so the authorize() does nothing for me.

@joseym Agreed. Do you think the below method could work for you?
if (res.redirect) {
   res.redirect(url);
} else {
   res.writeHead(302, {'Location': url});
   res.end();
}

maybe make res optional all together, and if it doesn’t exist then return
the url.
Josey Phone:<PHONE_NUMBER> | Gtalk<EMAIL_ADDRESS><EMAIL_ADDRESS>Twitter: @joseym http://www.twitter.com/joseym LinkedIn: Josey Morton
http://www.linkedin.com/profile/view?id=59813483 Github: joseym
http://www.github.com/joseym Blog: Tumblr http://tumblr.joseymorton.com
On Thu, Feb 12, 2015 at 11:39 AM, Hamza Waqas<EMAIL_ADDRESS>wrote:

@joseym https://github.com/joseym Agreed. Do you think the below method
could work for you?
if (res.redirect) {
res.redirect(url);
} else {
res.writeHead(302, {'Location': url});
res.end();
}
—
Reply to this email directly or view it on GitHub
https://github.com/ArkeologeN/node-linkedin/issues/26#issuecomment-74115657
.

Resolved via bf2d9cf0bdcac5410f55d8ed9172d5e652158bfc


Use consistent type for token balances

We have been using inconsistent types for token balances. We use a BN in most places, but if we fail to find a balance we set it to the number 0.
We now use BN in all cases; new BN(0) is the fallback now instead of 0.
This error was made possible because of various type errors surrounding BN and these balances. typeof BN was used as the type instead of BN, because BN was imported using require and TypeScript was treating it as a value rather than a class, and unhelpfully suggested using typeof BN. This resulted in the type being any in effect.
We now import BN using import, and use BN as the type.
This highlighted another problem as well: the return type of the getBalancesInSingleCall function in AssetsContractController was incorrect. It claimed to return a string balance, but in fact it returned a BN balance. The type has been corrected. Fortunately we were not actually using the balance anywhere (I checked mobile as well). We only use the keys of the return type. The main utility of the method is that it automatically omits any tokens with zero balance.
Lastly, the type corrections also highlighted that we had an export not covered by unit tests. The type BN was being re-exported, presumably in response to a TypeScript error about the use of a private type. This is another case of TypeScript giving bad advice when it doesn't have proper type information. The unused export has been removed. I confirmed that it was unused in this repo as well as in mobile.

This has been rebased to resolve conflcits


Option to disable double-click and double-tap behavior

I require d3-zoom to not zoom in on a double-click or double-tap since it is interfering with my use case. The use case is as follows: Given a graph, the zoom behavior is programmatically changed when the user clicks on a node in such a way that the node appears on the center of the screen. When clicked on the background, the zoom is reset.

You can disable double-click by removing the dblclick.zoom event listener after applying the zoom behavior:
selection
    .call(zoom)
    .on("dblclick.zoom", null);

Unfortunately, there’s not a similarly easy way to disable the double-tap because this is a “synthetic” event caused by a single-touch touchstart quickly following another single-touch touchstart.
Are you still allowing wheel-based zooming and multi-touch zooming? Or are you only allowing zooming by tapping on nodes or the background? In the later case you could simply avoid applying the zoom behavior to the selection, and simply use it programmatically via zoom.transform.

Well, what you mentioned is exactly the point why I have opened this issue. The synthetic behavior is contained inside d3-zoom. Therefore, it would make sense to have an option to disable the behavior entirely.

Yes; if you there were an easy way to accomplish the requested feature without modifying d3-zoom, I would have already closed this issue. Currently the only way to disable double-tap would be to fork d3-zoom or to only use d3-zoom programmatically, handling input events yourself can then calling zoom.transform as desired.

Many thanks to you @mbostock!

@mbostock how do you disable these events with this demo? As it is not calling on selection.
http://bl.ocks.org/mbostock/34f08d5e11952a80609169b7917d4172
Or actually what I would like to implement, rather than disabling, is to undo zooming with double-click. And after that animation has finished, to call a custom function (to resample datasets).

there is no dblclick property d.3 v3


Styling Improvements - Nicer Motor Controls, CSS Tweaks

Changes
Motor Control Group
Rather than buttons and plain text, this uses sliders to control / display the motor. I also added a "lock" button to lock and unlock the sliders so that when a user moves them, they sync together. This makes driving  forward and backwards a little easier until we have actual controller support.
Styling
I added the FIRST robotics brand logo following this guide: https://www.firstinspires.org/sites/default/files/uploads/resource_library/brand/first-brand-guidelines-2020.pdf

Can you explain how this handles Being in a locked state when the interpreter changes just one value?

This looks great though

Can you explain how this handles Being in a locked state when the interpreter changes just one value?

Right now the lock is only for manually moving the sliders - the VM can set the motors to be whatever it wishes. If still locked and the user overrides the vm then they'll sync together.
Thoughts?


Add "Platinum Taq Hot-Start"

Adding "Platinum Taq Hot-Start" for library_polymerase.
Reported by Nwosu et al., 2023: "PlatinumTM II Taq Hot-Start DNA Polymerase (Invitrogen, ThermoFischer Scientific)"

I guess, it's not used for lib prep for shotgun though? Not sure if it's helpful to add anymore.

Correct, lets close as it's not clear - set to the 'unspecified' equivalent in the main PR


Create an example for starvput usage

Simple example showing starvput usage in PyMAPDL to pass a user array as a result to PyMAPDL.
In this example, we pass three unit arrays to replace the results of Ux, Uy and Uz and let PyMAPDL calculate the Usum based to the user set displacement components.
As mentioned in the below post,
#1032

Thanks for this! CI won't pass for our docker images, but I (or @germa89) will validate it locally and will review late today/early tomorrow.


#Update readme so that it does not throw error in PyCharm

Hi, my IDE looks like this:

and I found no way to get rid of the red sonar lid.
I don't know if this happens to you as well, but for me this is quit annoying, so I applied the changes the ide suggested to me.

I don't think I understood the purpose of this

Can you please explain what is the purpose of IGNORE-PREVIOUS anchor? It seems unlikely that it will only change the behavior on your IDE. I must be changing the resulting page as well, no?

Closing this PR. If you think this still deserves some light, make sure to talk to us about this in Discord or here if you want.

Hi, sorry for not responding.
My ide has a problem with this:

It saies "Anchor reference "ffmpeg-installation-1" is not resolved.
I see this error every time I fetch the newest master, so it would be cool to find a way to not get the red sonar lid in my project-folder.

The reference is resolved because there are multiple sections with the name Cairo installation, FFMPEG installation etc, so GitHub numbers them. It seems the IDE is not doing that, so it's not parsing the references. In that case, just find a way to have your IDE ignore the file.

ok

If/when this has been settled, please delete the branch @kolibril13


Make size an associated constant

(rendered)
Personally I'd prefer lower case names such as size and alignment for these associated constants, but I guess upper case is more in line with other Rust guidelines.

I definitely want this, but the implementation is non-trivial, since you need to call into llvm to obtain this value. That is usually only done in trans, but for this to be a constant it needs to be available much earlier.

This is super wacky and I think I love it. It would also let us ditch the sizeof and alignof keywords that we have reserved.

I love this; it's so obvious in hindsight... but I have one concern: having these on every type seems a little out of proportion to how often this information would presumably be needed.  I'm still marginally in favour of const functions for that reason.

Functions don't have to be freestanding - maybe the .size_of() and align_of() functions could be methods on the Sized trait?

But then maybe associated constants would make more constant expressions possible...

@diwic My concern is that putting anything on the Sized trait makes it visible everywhere.  Shoving in a dark corner of std::mem means you only see it if you need it.  Making them associated functions doesn't change that.

You can always define a trait MemInfo + impl<T: Sized> MemInfo for T that is in a dark corner of std::mem and exposes those functions.

@DanielKeep I see your point, but for perspective, sizeof and alignof in C and C++ are also visible everywhere (even more everywhere), being keywords - which we have also already reserved. I do agree that, all else equal, it would be preferable to scope these more narrowly, but the fact that we've already reserved sizeof and alignof as keywords suggests that a more-global scope would not be particularly hard to swallow, either. (And all else is probably not equal: for example, there is the matter that the Sized trait feels like the natural, logical, intuitive, and rightful place for the size constant to belong, which has to be weighed against it.)

I find myself rather in love with this idea. It's elegant, simple, and just makes sense.

Note #1062, which would have to be accepted first (and in fact, that RFC mentions this very idea in one of the examples). I am generally in favor of this, modulo backwards compatibility issues. I have always though that size/alignment in bytes made more sense as associated consts than const functions.

Correction, #1062 does not actually have to be accepted for this, but if it isn't, you won't be able to use T::SIZE in a constant expression for a generic type T. And we will need a little work to get it in non-constant expressions, i.e. just to be able to use it in the same way that we use size_of::<T>() right now.

I wouldn't worry about a BC hazard here. I'd expect exactly 0% of stable Rust code to have a problem since associated constants are still unstable, and so there's no reason for anyone to be using ALL_CAPS_CASE for an associated item (let alone the specific identifiers SIZE and ALIGNMENT). Not that we shouldn't still run Crater to give us assurance.

@quantheory
Allowing associated consts as ExprPath shouldn't have the #1062 problems.

@arielb1 I guess that this was what I was trying to clarify in my second comment. I don't think that the syntax really matters for the #1062 issue. If you have SIZE be an associated const, but you don't let it actually be used in constant expressions, then it's not fundamentally all that different from a size_of call right now.
But if you allow the size of a type parameter to be used in a constant expression (e.g. an array size), you will definitely hit the #1062 issue, regardless of whether you accomplish this by using an associated const or by making size_of a constant function. So in that sense, the issue of allowing the size to be queried in a constant expression at all is orthogonal to the interface design issue in this RFC (though important in its own right).

This seems very nice, if we figure out the details around implementation.

This would be adding T::SIZE for all types that currently exist today, so I think it'd be also get a preliminary run through crater to see if there are any backwards-compatibility hazards with this.

Minor point: there are non-Sized types that have static alignment info, specifically I believe [T] is aligned like T. However, I don't think we handle this "properly" today (align_of::<[u8>() doesn't work) so it doesn't seem so bad.

@alexcrichton Couldn't someone just grab all the crates.io packages and grep for every instance of [^A-Za-z0-9_]SIZE[^A-Za-z0-9_]?

I would prefer making size_of and align_of the stable interface, even if associated constants are being used under the hood, but either way, it's great to move forward on this.

I definitely want this, but the implementation is non-trivial, since you need to call into llvm to obtain this value.

Not entirely accurate. We already do a lot of size/alignment computations ourselves for aggregates; the algorithm for structs is straight-forward and enums get their LLVM type after variants have been laid out.
What we're missing right now is querying the size and alignment for primitives - those are encoded in the datalayout string.
A big chunk of trans::adt would have to be moved to librustc for this to work; IMO that's going to help with a back-end agnostic specification (though not necessarily a stable ABI).

@huonw, are there any types which have a size but no alignment? Off the top of my head I don't think so, and I wonder if an Aligned OIBIT that Sized derives from would be possible, i.e.
trait Aligned { const ALIGNMENT: usize; }
trait Sized: Aligned { const SIZE: usize; }

I don't think that would break any existing code, though I could be wrong.

@eternaleye it wouldn't need to be OIBIT, it could be implemented by the compiler for all sized types (and also [T] where T: Aligned).
I should also mention that lifting layout computation up from trans would allow us to operate with less known information, e.g. <*mut T>::SIZE is the same for all T: Sized.
This could be used in transmute checking to allow more cases than today and/or perform all checking before trans.

We discussed in the language design subteam meeting and decided that while we like this idea, it is premature, given the current state of associated constants. Therefore, we are going to close the RFC for the time being, and revisit this approach once associated constants are in better shape. Thanks very much for the writeup!

Greetings from the future! Associated consts are on the verge of being stabilized ( https://github.com/rust-lang/rust/issues/29646 ), likely landing in 1.20, so as per @nikomatsakis' comment I think it may be time to un-postpone this RFC.
@eddyb re: "I would prefer making size_of and align_of the stable interface, even if associated constants are being used under the hood", do you still hold this opinion? IMO, mem::size_of::<Foo>() just looks plain less nice than Foo::SIZE.

@bstrie As @alexcrichton mentioned above, I'm not sure we could do that backwards compatibly-- there are almost certainly types with methods called SIZE, and AFAIK associated consts and associated fns share the same namespace.

@cramertj I'll dispute the "almost certainly" claim, I think it's vanishingly unlikely that we'll find any types that defy convention (in defiance of the default-on style lint) to give themselves an all-uppercase method name like that. Of course, I still welcome a crater run to determine this (or are we on cargobomb by now?).
That said, if we do want to ever do this, it's true that we should take action to reserve the names before associated consts reach the stable channel.

@bstrie yeah, we can certainly check. I was surprised that someone had a struct named catch, but, well...
If crater is clean, we can probably just do a warning cycle. Still, I personally prefer the mem::size_of route, since it seems a little less magic to me.

You can always write <Foo as Sized>::SIZE if you prefer (and, IMO, most unsafe code should write it this way so that inference changes don't lead to UB).

You can implement the associated constant version, in a library, using the intrinsic.
I prefer size_of because it's used everywhere already and some of that code can become CTFE-enabled.

One issue with making it a constant is that changing the size of an object becomes a breaking change, because people might code things in constants like arr[5 - sizeof::<T>()] where arr: [U; 3], which would compile as long as T is in 3..6.

You can do that with transmute already though.

@cramertj size_of also seemed less magical to me at first, but now I've reconsidered. My new opinion is that, since size is a static property of a type (which is itself a notion that only exists statically), it makes more sense to present it as a constant property rather than something computed by a function (since my normal intuition is that a function is something that ought to have something to do dynamically, but size_of never can). I'd still prefer a size_of function to the sizeof keyword for the sake of keeping the language small, but I want to resist the notion that size_of should be preferred simply because "that's how we've always done it".

@eddyb re: "I prefer size_of because it's used everywhere already and some of that code can become CTFE-enabled.", but const fn is nowhere near stable, and associated consts are being stabilized as we speak. With this RFC, size would be available in const contexts immediately. Or are we intending to allow the stable channel to const-evaluate while disallowing stable users from defining const functions; if so, then what's the timeframe on that?

Regarding @oli-obk 's good point about changing size becoming a breaking change, perhaps the size should not be exported for structs that have private fields?

Or just document it? At some point, every change is a breaking change...

Yeah, the more I think about it, the more I think that you really don't want to prevent code from creating types based on the size of anything, and code that breaks when the size changes is broken code. After all, the point of using the const sizes is to properly handle the case when there size changes!

I'm strongly against polluting the namespace of every single type with something that is mostly useful in a subset of contexts (FFI most likely). I personally never had to use std::mem::size_of.
With the change applied, in IDE's, SIZE (or size) would always show up if you expanded the methods that you can call on a type. It would always be part of rustdoc output. Unless of course, you did the choice to leave it out of rustdoc and out of IDE's, but IMO that would be a bad idea as well.
So while I'm not against the general idea of having an associated constant (I understand why it can be seen as advantageous over a const fn), can this be be opt in at usage site? As in, you have to use std::mem::MemInfo; or use std::mem::SizeOf; or something similar.

Or are we intending to allow the stable channel to const-evaluate while disallowing stable users from defining const functions; if so, then what's the timeframe on that?

Yes, that it what is probably going to happen: https://github.com/rust-lang/rust/pull/43017. Not sure about the timeframe, there is still some discussion going on about whether all const fns currently available in std should have their constness stabilized at once.


scaleNat is slow

The current implementation of scaleNat is linear in its second argument (that is, the scale), which is extremely suboptimal. There are two fixes that need to be made for it:

Rewrite the current implementation to use exponentiation-by-squaring instead.
Use SPECIALIZE to boil down to multiplication for all cases where this is doable.

It's also important to 'pin this in place' with benchmarks.

Both scaleNat and the original scale @Integer @Value are pretty useless IMO. I'd much rather have mapQuantities :: (Integer -> Integer) -> Value -> Value. And there'd be no mistaking its complexity class.

@blamario scaleNat stems from the fact that Module is too strong in its requirements (should really have been Semimodule IMHO). Additionally, scale can be used to great effect on Rationals (and in fact, this bug was found on exactly this kind of usage).

For 2) - do we need to consider off-chain types like Int?

@re-xyr Yeah, this is why the number of SPECIALIZEs required is practical: not a lot of instances.

Does the Plutus compiler actually pick up the rewriting rules? I did a small test and the script size didn't change after I added a rewriting rule.

@re-xyr I'm actually not sure about that. If it doesn't seem like it makes any difference, you can leave it to me to investigate.


Nested tables

Hi,
Is the tool already supporting nested tables? Is there any example with this scenario?
Regards,
Cláudio Ramos

Just realized it work. Once I finish my templates I can share the content as example if you want.


Update moving-data-to-new-datacenter-geos.md

Hi Kelley, before I had added Qatar to this table; I need to pull it back, wait for the GA date (Aug. 31); can you post this soon for me please? Thanks!

Docs Build status updates of commit 37de51a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/enterprise/moving-data-to-new-datacenter-geos.md
:white_check_mark:Succeeded

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 c8ef0ce:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/enterprise/moving-data-to-new-datacenter-geos.md
:white_check_mark:Succeeded

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 c8ef0ce:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/enterprise/moving-data-to-new-datacenter-geos.md
:white_check_mark:Succeeded

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


Fix typo in README.md

This is just a tiny PR fixing a typo in the README.

 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.

 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!


IGAPP-552: Add dari

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

Still do not get how these language adding is working and do not know where to test, so just drop my "approve" with no value^^

If the fonts are already there, it's just about adding it to the config and setting the right direction attribute. On native, the app crashes if the language is not included in the config, so it is enough to run the app, choose the new language and if everything works fine then we are good to go.
Dari you can test e.g. here: https://malteapp.de/nrw/prs


docs: fix code example for similar commands

The previous example returned both messages when a command was found.

Changed it to return early in both examples.

Sure, I was just going with the suggestion of @roziscoding . I changed to a separate return in the if branch and left out the return at the end of the function now, as it would be meaningless.

@rojvv I took the liberty to sync everything, we can directly merge into main without doing any translations on an intermediate branch


Folder hashes not identical for Windows and Unix

Hello,
Thank you for developing and maintaining this project!
There seems to be an issue with getting the same directory's hash on Windows and Unix. The individual files' hashes are identical, however the files are not ordered in the same way on Unix and Windows inside the directory (small vs caps ordering is different). Therefore one obtains a different hash for the exact same directory depending on the OS.
I checked the source code and I saw you have:
const children = files.sort()

on line 112, probably to address exactly this. However, since files is not an array of strings, but of objects, it seems that it never gets rearranged.
I think it needs to be:
const children = files.sort((a, b) => {
  if (a.name > b.name) {
    return 1;
  }
  etc...
});

Could you please look into it?
Regards,
Vladislav

Thanks @vladitasev, I broke this by accident with commit b2c9fc6


CORS error

Hello, thanks for the git.
I am to send a message to the chat room after entering it, it no message dispalys.
The browser console is showing CORE error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://localhost:3000/socket.io/?EIO=3&transport=polling&t=NhZpgt9. (Reason: CORS request did not succeed).
Kindly help.

Can you attach a screenshot?

Hello, here is the screen-shot

Also, I had to modify my socket url to localhost in chat.js
`...
const roomMessage = document.querySelector('.room-message');
const users = document.querySelector('.users');
//Socket server URL
const socket = io.connect('https://localhost:3000');`

same issue

There was a hardcoded url present. Now I have removed it. It should work now.


TF: Evaluate terraform implementation of aks-secure-baseline from CAF

Description

[ ] Review terraform implementation of aks-secure-baseline from CAF
[ ] Implement the default setup
[ ] Create bug issues for items to be updated/resolved
[ ] Review & evaluate with team

Evaluate the terraform implementation for aks-secure-baseline from the Microsoft cloud adoption framework(CAF)

The goal is to see how we can reuse existing assets to deploy an environment

https://github.com/Azure/caf-terraform-landingzones-starter/tree/starter/enterprise_scale/construction_sets/aks/online/aks_secure_baseline

References #588 (add user story link)

Implementing default setup using terraform was successful with minor modification. This changes would be incorporated in forked repo.

Update global_setting.tfvars to use eastus2
Admin Azure AD group is not assigned to cluster by default, resulting in failure of initializing 1traffic-ingress-controller

Convert aim-and.ignore file to tfvar and validate if cluster admins are assigned successfully before creating SecretProviderClass


Fix breakpoints' path option

It should distinguish if path is a string or a regexp and match them with the path in different ways.

Could you update doc too?

@ko1 updated 👍


Add support for PostgreSQL Insert table aliases (#1069)

This is a fix for #1069

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 87.828%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
18789

Relevant Lines:
21393

💛  - Coveralls


Get the data for top 5 card from API

Create Elements in JS file for card.
Get data from Crypto Compare API
Test to verify that API call works
Display Data On Top Five Card

All other elements are complete
Currently outstanding - populate twitter feed and new api call to get sentiment information


Add OpenShift-Pipelines-Operator v0.9.1 CSV

Add OpenShift-Pipelines-Operator v0.9.1 to canary channel
Signed-off-by: Nikhil Thomas<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[X] Has you operator nested directory structure?
[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[X] Are you familiar with our contribution guidelines?
[X] Have you packaged and deployed your Operator for Operator Framework?

[X] Is your submission signed?

Updates to existing Operators

[X] Is your new CSV pointing to the previous version with the replaces property?
[X] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[X] Have you tested an update to your Operator when deployed via OLM?
[X] Is your submission signed?

Your submission should not

[X] Modify more than one operator
[X] Modify an Operator you don't own
[X] Rename an operator - please remove and add with a different name instead
[X] Submit operators to both upstream-community-operators and community-operators at once
[X] Modify any files outside the above mentioned folders
[X] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[X] Description about the managed Application and where to find more information
[X] Features and capabilities of your Operator and how to use it
[X] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[X] Human readable name and 1-liner description about your Operator
[X] Valid category name1
[X] One of the pre-defined capability levels2
[X] Links to the maintainer, source code and documentation
[X] Example templates for all Custom Resource Definitions intended to be used
[X] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file a PR against this repo and explain your need
2 For more information see here

@nikhil-thomas, please remove CSV line 80 as it causes double header. You can preview it.

@nikhil-thomas, please remove CSV line 80 as it causes double header. You can preview it.

@J0zi  done :+1:


Create codeql-analysis.yml

Creates alerts, visible here:
https://github.com/bp/resqpy/security/code-scanning

Codecov Report

Merging #99 (97554b3) into master (a05826a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #99   +/-   ##
=======================================
  Coverage   37.65%   37.65%
=======================================
  Files          49       49
  Lines       21601    21601
=======================================
  Hits         8133     8133
  Misses      13468    13468

Impacted Files
Coverage Δ

resqpy/model.py
61.66% <0.00%> (ø)

Continue to review full report at Codecov.

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

Nb. The "1 analysis not found" message is expected the first time this analysis runs. The step expects to compare the code scanning results with a previous run in master, but when doing first-time setup there is obviously no existing analysis to compare against.

Yes absolutely. That is controlled by the top bit of the YAML file, it is easy to configure. I have gone with the suggested defaults:
on:
  push:
    branches: [ master ]     # Triggered after a pull request is merged into master
  pull_request:
    branches: [ master ]     # Triggered when a pull requests is opened or updated
  schedule:
    # 10:16 on Fridays       # Also runs on a schedule, to pick up new alert rules or 3rd party issues
    - cron: '16 10 * * 5'

There is definitely some advantage in having code scanning before a PR is merged, to catch issues early. But as a minimum, we could have it scanned before making a release and using it.


Pipeline

@deniseschannon , can you please merge this pr to staging? It uses a lot of shortcodes, and I want to put it in staging before I request a technical review from bill and frank.

@MBishop17 I'll merge to staging and review it on staging as well


No Max set causes repeat ingame warnings

Great plugin so far!
If you only set a Min and no Max, you will repeatedly get warnings about not having enough energy to request item.
I just figured that not having a Max set meant that the item would only be resupplied when it goes below the Min.  Are we forced to set a Max as well?
Thanks!

I think I need to do some work around this. The original idea I had was that if max is set then extra items will get sent to logistics network. With no max then you can have as many as you like in your inventory and they will just be ignored.
I think it's confusing though, and needs some more thought as to how it should work.

Yea, no problems pulling items now.  Thanks!


Doesn't change view if I put it in a TabBar with iOS 7

I add the SLPagingViewController in a tabbar, the library doesn't change of view, and If I touch or swipe, both doesn't respond.
This only happens with iOS 7. iOS 8 works.

I am also having this issue


Remove these checks will improve performance, isn't it?

When I Read the source code.  I can not understand the follow piece of code in class HandlerPoster and BackgroundPoster. As far as I understand, only one thread can run through these code. Because both main thread and background thread are only one per process. So it is not necessary to use synchronize and check null twice.
And remove these check will improve performance, isn't it?
            while (true) {
                PendingPost pendingPost = queue.poll();
                if (pendingPost == null) {
                    synchronized (this) {
                        // Check again, this time in synchronized
                        pendingPost = queue.poll();
                        if (pendingPost == null) {
                            handlerActive = false;
                            return;
                        }
                    }
                }
                eventBus.invokeSubscriber(pendingPost);
                //...
            }

synchronized is required, because writes to and reads from the queue happen on separate threads.
Example for BackgroundPoster:
Take a look at queue.enqueue, which is called by the enqueue method. This method is executed on the calling thread (and is also inside a synchronized block).
Afterwards the BackgroundPoster instance is passed into an executor. This means its run method is executed on another thread. The run method then calls queue.poll periodically.
This means queue.enqueue and queue.poll are called on separate threads, which requires synchronization.
The double null check is known as double-checked locking. This is a performance optimization, because it means a lock is only obtained when the first poll returns a null value.

Thank you for your explanation. I got it now.

Thanks @markuspfeiffer. You can also read up about double-checked locking on Wikipedia.
Closing this then as the implementation here seems valid (not constructing a new instance). -ut

queue

Maybe synchronized is required,but i do not agree with your answer.
See PendingPostQueue,the method enqueue and poll are all synchronized.


Specifications of machine to run the codes

[ ]  Hi, can you please specify the specifications of machine on which the codes of this project can be run. Like ram, GPUs etc.

Thanks.

You don't need a GPU although it will run much faster if you have one. RAM also isn't a hard requirement, depending on the size of your model/dataset. Basically if your machine can run Theano, it'll run this.

Hi @taolei87 ,
I would like to run the code in qa/api.py to see how the model ranks instances.
I used:
myqrapi = QRAPI(
   <model_path>,
   <corpus_path>,
   <emb_path>
)

results = myqrapi.rank(
    {
        "query": "why does n't ubuntu 12.04 upgrade libreoffice , as firefox ?  i use ubuntu 12.04 in a machine for working , and do n't know why libreoffice does n't upgrade to last version , and firefox does .",
        "candidates": [
            "why no menu bar in libreoffice   when you move your cursor to the top of the screen in libreoffice you do n't get a menu . you do for other applications like firefox and thunderbird but not for libreoffice .",
            "how do i install the latest stable version of libreoffice ?    libreoffice is seeing some dramatic improvements each version and subversion that goes out . i would like to have always the latest version of libreoffice on my machine ( s ) . i know of the ppa that exists but is it recommended to use it with 12.04 for daily use ? what are the pro and cons of using the ppa ? will it break my system/libreoffice installation ? does libreoffice get eventually also upgraded in the ubuntu repositories or does this upgrade happen only with new releases ? who manages the upgrades of libreoffice in ubuntu and in the ppa ?",
            "why does unity launcher start the wrong program ?  when i left click the libreoffice icon firefox launches instead . a right click gives me a choice of new document firefox lock to launcher . until some recent updates this never happened before . other programs do n't exhibit this behaviour . why ?",
            "ibreoffice version now , i use libreoffice writer <IP_ADDRESS> . according to http : //ask.libreoffice.org/en/question/34088/selecting-copying-pasting-text/ and further things i need libreoffice writer 4.0 or higher . when it may be in the ubuntu software center for my ubuntu 12.04 ? if it is there , is it offered by my upgrade manager without my request ? thanks .",
            "libreoffice-core seems to have corrupted   i had libreoffice version 3.x installed along with my ubuntu version 11 . after i did the upgrade to 12.04 , my libreoffice behavior changed . i decided to upgrade tto libre office 4x . during the setup since i was getting errors on desktop integration , i tried removing version 3 of libreoffice . this seems to have caused problem with some of libreoffice files , which seems to be essential to run different application . libreoffice-core- depends libreoffice-common has unmet dependencies now , my update manager does n't work and i having problems installing any new apps . is there a solution to fix this problem without having to re-install ubuntu ? i tried to do repair of libreoffice.. did n't work . cheers anil rao"
       ]
    }
)

With this, the batch shape created in QRAPI.rank() is (124,6) and gives 5 scores, therefore line assert len(scores) == len(batch)-1 gives an error.
I suppose this is a small bug, otherwise am I using the QRAPI wrongly?
Thanks


Update the prepass shaders and fix the batching logic for bindless and multidraw.

This commit resolves most of the failures seen in #16670. It contains two major fixes:

The prepass shaders weren't updated for bindless mode, so they were accessing material as a single element instead of as an array. I added the needed BINDLESS check.

If the mesh didn't support batch set keys (i.e. get_batch_set_key() returns None), and multidraw was enabled, the batching logic would try to multidraw all the meshes in a bin together instead of disabling multidraw. This is because we checked whether the Option<BatchSetKey> for the previous batch was equal to the Option<BatchSetKey> for the next batch to determine whether objects could be multidrawn together, which would return true if batch set keys were absent, causing an entire bin to be multidrawn together. This patch fixes the logic so that multidraw is only enabled if the batch set keys match and are Some.

Additionally, this commit adds batch key support for bins that use Opaque3dNoLightmapBinKey, which in practice means prepasses. Consequently, this patch enables multidraw for the prepass when GPU culling is enabled.
When testing this patch, try adding GpuCulling to the camera in the deferred_rendering and ssr examples. You can see that these examples break without this patch and work properly with it.

I played around with the deferred rendering example, and this happens if you first go to "Forward + Prepass", back to just "Forward" and then resize the window. I don't know if it's related to this PR or not, it didn't happen on main but main was broken in other ways.

Probably unrelated, but I can verify for sure.

@kristoff3r That bug is still there in 0.15, so it's unrelated.


source ~/.vimrc error after installation

Hi, after installation, run source ~/.vimrc cause following error:

~/.dotfiles[master*]% source ~/.vimrc
/home/haoliu/.vimrc:1: no matches found: (much better!).
/home/haoliu/.vimrc:4: command not found:  This must be first, because it changes other options as a side effect.\nset nocompatible\n\n
/home/haoliu/.vimrc:17: command not found:  Don't use Ex mode, use Q for formatting\nmap Q gq\n\n
/home/haoliu/.vimrc:21: command not found:  text is lost and it only works for putting the current register.\nvnoremap
/home/haoliu/.vimrc:25: command not found:  Also switch on highlighting the last used search pattern.\nif (&t_Co > 2 || has(gui_running)) && !exists(syntax_on)\n  syntax on\n  set hlsearch\nendif\n\n
/home/haoliu/.vimrc:34: command not found:  Only do this part when compiled with support for autocommands.\nif has(autocmd)\n
/home/haoliu/.vimrc:37: command not found:  Use the default filetype settings, so that mail gets 'tw' set to 72,\n
/home/haoliu/.vimrc:39: command not found:  Also load indent files, to automatically do language-dependent indenting.\n  filetype plugin indent on\n\n
/home/haoliu/.vimrc:43: no matches found: *.txt
/home/haoliu/.vimrc:45: command not found:  Enable soft-wrapping for text files\n  autocmd FileType text,markdown,html,xhtml,eruby setlocal wrap linebreak nolist\n\n
/home/haoliu/.vimrc:49: command not found: augroup
/home/haoliu/.vimrc:50: command not found: au!
/home/haoliu/.vimrc:52: command not found:  For all text files set 'textwidth' to 78 characters.\n
/home/haoliu/.vimrc:55: no matches found: Dont do it when the position is invalid or when inside an event handler\n  " (happens when dropping a file on gvim).\n  autocmd BufReadPost *\n    \ if line("") > 0 && line("") <= line("$") |\n    \   exe "normal g\"" |\n    \ endif\n\n  " Automatically load .vimrc source when saved\n  autocmd BufWritePost .vimrc source $MYVIMRC\n\n  augroup END\n\nelse\n\n  set autoindent\t\t" always set autoindenting on\n\nendif " has("autocmd")\n\n" if has("folding")\n  " set foldenable\n  " set foldmethod=syntax\n  " set foldlevel=1\n  " set foldnestmax=2\n  " set foldtext=strpart(getline(v:foldstart),0,50). ... .substitute(getline(v:foldend),^[ #]*,,g). \n" endif\n\n" Softtabs, 2 spaces\nset tabstop=2\nset shiftwidth=2\nset expandtab\n\n" Always display the status line\nset laststatus=2\n\n" \ is the leader character\nlet mapleader = ","\n\n" Edit the README_FOR_APP (makes :R commands work)\nmap <Leader>R :e doc/README_FOR_APP<CR>\n\n" Leader shortcuts for Rails commands\nmap <Leader>m :Rmodel \nmap <Leader>c :Rcontroller \nmap <Leader>v :Rview \nmap <Leader>u :Runittest \nmap <Leader>f :Rfunctionaltest \nmap <Leader>tm :RTmodel \nmap <Leader>tc :RTcontroller \nmap <Leader>tv :RTview \nmap <Leader>tu :RTunittest \nmap <Leader>tf :RTfunctionaltest \nmap <Leader>sm :RSmodel \nmap <Leader>sc :RScontroller \nmap <Leader>sv :RSview \nmap <Leader>su :RSunittest \nmap <Leader>sf :RSfunctionaltest \n\n" Hide search highlighting\nmap <Leader>h :set invhls <CR>\n\n" Opens an edit command with the path of the currently edited file filled in\n" Normal mode: <Leader>e\nmap <Leader>e :e <C-R>=expand("%:p:h") . "/" <CR>\n\n" Opens a tab edit command with the path of the currently edited file filled in\n" Normal mode: <Leader>t\nmap <Leader>te :tabe <C-R>=expand("%:p:h") . "/" <CR>\n\n" Inserts the path of the currently edited file into a command\n" Command mode: Ctrl+P\ncmap <C-P> <C-R>=expand("%:p:h") . "/" <CR>\n\n" Duplicate a selection\n" Visual mode: D\nvmap D y /home/haoliu/.vimrc:132: command not found:  Press Shift+P while in visual mode to replace the selection without\n /home/haoliu/.vimrc:135: parse error near \n'

Although vim work fine even with this, I wonder if you can help me solve this.

.vimrc is not a shell script, and is not meant to be sourced from the shell. it's run by .vimrc at program start.

Oh, I see, thank you.


Code Generation error

having
/// <summary>
/// A fixed-size string structure with a maximum length of 32 characters.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct FixedString32
{
    private const int MaxLength = 32;
    [MarshalAs(UnmanagedType.ByValArray, SizeConst = MaxLength)]
    private char[] _chars;

    /// <summary>
    /// Initializes a new instance of the <see cref="FixedString32"/> struct.
    /// </summary>
    /// <param name="value">The string value to initialize with.</param>
    public FixedString32(string value)
    {
        _chars = new char[MaxLength];
        if (value == null) return;
        int length = Math.Min(value.Length, MaxLength);
        value.CopyTo(0, _chars, 0, length);
    }

    /// <summary>
    /// Returns the string representation of the fixed-size string.
    /// </summary>
    /// <returns>A string that represents the fixed-size string.</returns>
    public override string ToString()
    {
        return new string(_chars).TrimEnd('\0');
    }
}

public readonly struct TestStruct
{
    public readonly FixedString32 Test1;

    public readonly FixedString32 Test2;

    public readonly FixedString32 Test3;

}

[MultiArray(typeof(TestStruct))]
[MultiArrayList]
public readonly partial struct TestList
{
}

var list = new TestListMultiArrayList();
list.Add(new TestStruct());
// Access elements
var firstOddsId = list.Test1[0].ToString();
var firstSportsKey = list.Test2[0].ToString();
var firstSportsTitle = list.Test3[0].ToString();

// Iterate
foreach (var odds in list)
{
    Console.WriteLine($"t1: {odds.Test1}, t2: {odds.Test3}, t2: {odds.Test3}");
}

I do not get any errors in the design time but the compiler gives the following errors on build
1>TestList.cs(7,32): Error SOA005 : The MultiArray struct 'TestList' element 'TestStruct' members contains reference type
1>Benchmark.Models.TestList.MultiArrayList.g.cs(31,74): Error CS1061 : 'TestList' does not contain a definition for 'Test1' and no accessible extension method 'Test1' accepting a first argument of type 'TestList' could be found (are you missing a using directive or an assembly reference?)
1>Benchmark.Models.TestList.MultiArrayList.g.cs(32,74): Error CS1061 : 'TestList' does not contain a definition for 'Test2' and no accessible extension method 'Test2' accepting a first argument of type 'TestList' could be found (are you missing a using directive or an assembly reference?)
1>Benchmark.Models.TestList.MultiArrayList.g.cs(33,74): Error CS1061 : 'TestList' does not contain a definition for 'Test3' and no accessible extension method 'Test3' accepting a first argument of type 'TestList' could be found (are you missing a using directive or an assembly reference?)
1>Benchmark.Models.TestList.MultiArrayList.g.cs(43,23): Error CS1729 : 'TestList' does not contain a constructor that takes 1 arguments
1>Benchmark.Models.TestList.MultiArrayList.g.cs(51,20): Error CS0021 : Cannot apply indexing with [] to an expression of type 'TestList'
1>Benchmark.Models.TestList.MultiArrayList.g.cs(56,13): Error CS0021 : Cannot apply indexing with [] to an expression of type 'TestList'
1>Benchmark.Models.TestList.MultiArrayList.g.cs(65,38): Error CS1061 : 'TestList' does not contain a definition for 'Length' and no accessible extension method 'Length' accepting a first argument of type 'TestList' could be found (are you missing a using directive or an assembly reference?)
1>Benchmark.Models.TestList.MultiArrayList.g.cs(68,13): Error CS0021 : Cannot apply indexing with [] to an expression of type 'TestList'
1>Benchmark.Models.TestList.MultiArrayList.g.cs(82,9): Error CS0021 : Cannot apply indexing with [] to an expression of type 'TestList'
1>Benchmark.Models.TestList.MultiArrayList.g.cs(87,35): Error CS1061 : 'TestList' does not contain a definition for 'Length' and no accessible extension method 'Length' accepting a first argument of type 'TestList' could be found (are you missing a using directive or an assembly reference?)
1>Benchmark.Models.TestList.MultiArrayList.g.cs(87,89): Error CS1061 : 'TestList' does not contain a definition for 'Length' and no accessible extension method 'Length' accepting a first argument of type 'TestList' could be found (are you missing a using directive or an assembly reference?)
1>Benchmark.Models.TestList.MultiArrayList.g.cs(91,28): Error CS1729 : 'TestList' does not contain a constructor that takes 1 arguments
1>Benchmark.Models.TestList.MultiArrayList.g.cs(98,22): Error CS1061 : 'TestList' does not contain a definition for 'Test1' and no accessible extension method 'Test1' accepting a first argument of type 'TestList' could be found (are you missing a using directive or an assembly reference?)
1>Benchmark.Models.TestList.MultiArrayList.g.cs(98,60): Error CS1061 : 'TestList' does not contain a definition for 'Test1' and no accessible extension method 'Test1' accepting a first argument of type 'TestList' could be found (are you missing a using directive or an assembly reference?)
1>Benchmark.Models.TestList.MultiArrayList.g.cs(99,22): Error CS1061 : 'TestList' does not contain a definition for 'Test2' and no accessible extension method 'Test2' accepting a first argument of type 'TestList' could be found (are you missing a using directive or an assembly reference?)
1>Benchmark.Models.TestList.MultiArrayList.g.cs(99,60): Error CS1061 : 'TestList' does not contain a definition for 'Test2' and no accessible extension method 'Test2' accepting a first argument of type 'TestList' could be found (are you missing a using directive or an assembly reference?)
1>Benchmark.Models.TestList.MultiArrayList.g.cs(100,22): Error CS1061 : 'TestList' does not contain a definition for 'Test3' and no accessible extension method 'Test3' accepting a first argument of type 'TestList' could be found (are you missing a using directive or an assembly reference?)
1>Benchmark.Models.TestList.MultiArrayList.g.cs(100,60): Error CS1061 : 'TestList' does not contain a definition for 'Test3' and no accessible extension method 'Test3' accepting a first argument of type 'TestList' could be found (are you missing a using directive or an assembly reference?)
1>Benchmark.Models.TestList.MultiArrayList.g.cs(105,28): Error CS1729 : 'TestList' does not contain a constructor that takes 1 arguments
1>------- Finished building project: Benchmark. Succeeded: False. Errors: 20. Warnings: 0

Ok, I just see what's going on here, please ignore the issue


How to support webp images?

How to automatically generate webp image API ?

WebP images are not supported at this moment.


Swap prereq download file types: xz -> {bz2,gz}.

Current coverage is 39.12%

Merging #139 into master will not affect coverage as of 12c7835

@@            master    #139   diff @@
======================================
  Files            2       2
  Stmts          892     892
  Branches         0       0
  Methods          0       0
======================================
  Hit            349     349
  Partial          0       0
  Missed         543     543

Review entire Coverage Diff as of 12c7835

Uncovered Suggestions

+1.92% via src/mpi/mpi_caf.c#1904...1920
+1.58% via src/mpi/mpi_caf.c#2002...2015
+1.58% via src/mpi/mpi_caf.c#1557...1570
See 7 more...

Powered by Codecov. Updated on successful CI builds.

LGTM


Add Effective Dimension class for PyTorch models.

What should we add?
This issue covers adding Effective Dimension class for all PyTorch models. This would help to compare effective dimensions between the classical and quantum/hybrid models.

Thanks for bringing this up. This a low priority issue and currently there are no plans to introduce support for all pytorch based models.

@Kowalikov it would be interesting to implement this! Could you please suggest a sketch of the class you have in mind? This would help with scoping this request and speed up the implementation.


Agenda item - Collab Summit Session for the CPC?

In the collaborator summit planning meeting today, we discussed whether we need to save a spot in the schedule for a CPC meeting or session. Let's take ~5-10 to discuss on Monday's call?

I think it’s a great idea. In the history of the TSC we restrained from doing so because most of us where involved in other sessions, and we prefer to keep things offline for the TSC.
What will be the agenda? I think it could be a good moment to present the CPC/charter/processes etc to most of the projects, and get us to know better.

RE the agenda; great question... I figured that would be up for discussion. I'm just imagining it would be highly valuable to convene the CPC when so many folks would be able to participate, having set aside the time and place 😄

Just wanted to capture that this session was submitted to the collab summit

Time: CEST Thu 30-May-2019 12:00 (12:00 PM)
Zoom link: https://zoom.us/j/381668642

closing this issue as the summit has concluded <3 thanks all!


NineSlice; size property ignores tweens

For NineSlice - it is not possible to tween the size vector directly like this Actuate.tween(nineslice.size, 1.0, { x: 300, y: 300 });. For a workaround, one has to manually update it via onUpdate event for the tween object.

https://github.com/underscorediscovery/luxe/commit/8038c341ccc1e720cd3dea28c4cb780728d84f88 should have fixed this as well


Please add Automatic-Module-Name to the manifest

This will allow us to use the library with other Java modules.

will do, just need to figure out what that looks like...

done in 0.1.17

Sorry to bother you again, but it turns out that module names must not contain dashes or Java keywords. https://sormuras.github.io/blog/2018-11-16-invalid-automatic-module-names.html
I learned that today, after I tried importing the library inside my module-info.java file.
I could have warned you earlier before release, for which I apologize.
So, right now, the module name com.github.davidmoten.aws-lightweight-client-java is actually invalid and unusable. Java's module system is a real PITA. :neutral_face:


[release-1.25] Fail-closed webhooks blocking resource creates/writes can cause k3s to be unstartable

Backport:

#6815

Validated on release-1.25 branch with commit 97100de8d06117ecff5f94eeb7a38e8cbd073fec
Environment Details

Infrastructure

[ ] Cloud
[ ] Hosted

Node(s) CPU architecture, OS, and Version:

Linux ip-172-31-45-8 5.15.0-1026-aws #30-Ubuntu SMP Wed Nov 23 14:15:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
PRETTY_NAME="Ubuntu 22.04.1 LTS"

Cluster Configuration:

1 server

Config.yaml:

write-kubeconfig-mode: 644
token: summer
cluster-init: true

Additional files

webhook.yaml

apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
  name: example-mutating-webhook-config
webhooks:
  - name: example.mutating.webhook.com
    clientConfig:
      service:
        namespace: webhook
        name: example-mutating-webhook-svc
        path: /mutate
    admissionReviewVersions:
      - v1
      - v1beta1
    rules:
      - operations: [ "CREATE", "UPDATE" ]
        apiGroups: [ "" ]
        apiVersions: [ "v1" ]
        resources: [ "pods", "namespaces", "serviceaccounts" ]
    failurePolicy: Fail
    sideEffects: None

Testing Steps

Copy config.yaml

$ sudo mkdir -p /etc/rancher/k3s && sudo cp config.yaml /etc/rancher/k3s

Install k3s
Check cluster is up and running
Apply webhook.yaml
Kill k3s: sudo k3s-killall.sh
Restart k3s service: sudo systemctl restart k3s
Check service status: sudo systemctl status k3s
Check for errors in log

Replication Results:

k3s version used for replication:

k3s version v1.25.6+k3s1 (9176e03c)
go version go1.19.5

Observed k3s is stuck in activating with failure

k3s.service - Lightweight Kubernetes
     Loaded: loaded (/etc/systemd/system/k3s.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Thu 2023-02-16 19:40:03 UTC; 2s ago
       Docs: https://k3s.io
    Process: 4438 ExecStartPre=/bin/sh -xc ! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service (code=exited, status=0/SUCCESS)
    Process: 4440 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
    Process: 4441 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
    Process: 4442 ExecStart=/usr/local/bin/k3s server (code=exited, status=1/FAILURE)
   Main PID: 4442 (code=exited, status=1/FAILURE)

Observed error in log

Feb 16 19:40:03 ip-172-31-45-8 k3s[4442]: W0216 19:40:03.702040    4442 dispatcher.go:195] Failed calling webhook, failing closed example.mutating.webhook.com: failed calling webhook "example.mutating.webhook.com": failed to call webhook: Post "https://example-mutating-webhook-svc.webhook.svc:443/mutate?timeout=10s": service "example-mutating-webhook-svc" not found
Feb 16 19:40:03 ip-172-31-45-8 k3s[4442]: time="2023-02-16T19:40:03Z" level=fatal msg="Failed to register service-controller handlers: Internal error occurred: failed calling webhook \"example.mutating.webhook.com\": failed to call webhook: Post \"https://example-mutating-webhook-svc.webhook.svc:443/mutate?timeout=10s\": service \"example-mutating-webhook-svc\" not found"

Validation Results:

k3s version used for validation:

k3s version v1.25.6+k3s-97100de8 (97100de8)
go version go1.19.5

Observed k3s is activated successfully
Observed NO errors in logs related to webhook failure


added comments for clarity

Checklist:

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the main branch of freeCodeCamp.
[ ] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Hey @akshitha2903
Thank you for opening this pull request.
This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


CORE-3020 No warning when included file doesn't exist (missing extension)

Fixes CORE-3020.

Thank you for the merge @nvoxland !


Update of tutorial #12

Updates to old notebook:

Changed SMC target to new one
Extended wavelength range studied to better see the differences between SMC and LMC extinction curves
Created exercise for the reader to see (with solutions)
Added citations/additional resources

(Edited for typo)

I think we can use the PR as the primary PR for the Exploring UV Extinction Curves notebook.  Please update the title of the PR.
Next time you add some commits, please try not clearing outputs. Lets's see what the plots look like in ReviewNB. :)

For some reason I am not able to create an issues, so this comment is to set a reminder that it should be decided how we approach the notebooks exercises and their solutions!


Public Roadmap and ideas.

The Roadmap aims to set out when certain features will appear. It reduces in clarity the further we go into the future, and is constantly being added to as we move forward.
1.2.8

[ ] Add GLOBALUSERSTATE support.
[ ] Better handling of graceful reconnection.
[X] Buy a domain name and host everything related to twitch-irc on it. (docs and forums)
[ ] Create a forums.
[ ] Deprecate uncaughtException once and for all.
[ ] Deprecate TWITCHCLIENT once and for all. (Twitch is also deprecating it)
[x] First message when using emitSelf not being sent. #82
[x] Improve performance of IRCv3 tags by just reading and sending back to the user object.
[ ] Include client id in header requests (if available) for twitch-irc-oauth. (Requested by Twitch Staff)
[ ] Move this Roadmap to the forums.
[ ] Remove unused code and try to improve existing one.
[ ] Use the new msg-id tag.

1.3.X

[ ] Improve the logging feature. (Might use Winston with categories)
[ ] Use ES6 new features as soon as they are available for Node.js (Current state of ES6 with Node.js)

:+1: And welcome back

Thank you! :smile:

Lot of changes from Twitch, we will need more time to release 1.2.8. You can still use the GitHub repository as the latest version of the module. Right now I am more focused on the forums and reading the new changes from Twitch.

Have a link to any significant changes?

Most of the changes are announced on their dev forums but I always take the source code of twitch.tv and check the tmi.js file to see the upcoming changes :smile:

Schmoopii, have you thought of using io,js in place of node to take advantage of es6 features sooner?

A merge between io.js and node.js is on it's way and will be under a new entity called The Node Foundation. There are no plans to use ES6 features as long as the merge is not done. At this time, the module is compatible with io.js and node.js and if we add ES6 features, the module would be compatible with io.js only.


Publish lastest version

Hey xinthink can you publish the latest version with the podspec so I can start using it from the npm registry in one of my projects?
Thanks again

I'd like to publish the next version with fully android support, and I'm very close to finish it, 1~2 days should be sufficient.

v0.2.0 is just released

Awesome! Thanks! :D


CSS and JS not working for login form

Currently, only the html is working on the login form, and django can't find the stylesheet, despite being in the static folder. Django recommends moving the templates and the static files into their respective apps, since django just returns the first matching file it can find, meaning the wrong file can be returned.

Is there any reason why we are using just one overall template and static folder? To get Django to display the html for the login page I had to move it to a templates folder under the login app.

Just got it working on the home-page branch, css stylesheets are now properly displaying.


Add hack scripts

This PR adds required scripts for knative-automation to work.
Changes

:gift: Add hack/ scripts
:gift: Add vendor/ dir
:bug: Fix missing license headers
A lot of vendored sources.

/cc @cardil @rhuss

thanks ! I think this PR is now superceded by #15 , so we might close this one in favor of #15

Superseded by #15


Lessons cut off if there is a music lesson

Title

Thats what happens with music lesson
What is should look like

How to replecate
Put music lesson in class like this

I think I know what could be causing it, will have a look at that.

I have one problem. Due to not having any classes that overlap, I can't figure out a way of testing (and therefore fixing) the problem... If you have any ideas I'm all ears.

Fixed in d139e37. Closing the issue now, you should see an update soon.


Api requests in components with new fetch hook?

With Nuxt v2.12 the new fetch() was introduced, allowing for get reqests not just in pages, but in every component. This, of course, is unutterably useful combined with storyblok.
Is context.app.$storyapi.get usable in components inside fetch? If so, how? If no, please make it work asap!

Since the context is the same I don't see why it should not already be possible as it is the same functionality. :)
Will have to test it – but no changes required from how I understand that feature from nuxt.

Hi Dominik :)
good to hear from you, hope you're doing well these times!
Of course I tried, but was not able to get it to work.
in vue component
async fetch(context) {
    this.story = await context.app.$storyapi.get(`cdn/stories/test`, {
      version: 'draft'
    })
  }

Error:
vue.runtime.esm.js?2b0e:619 [Vue warn]: Property or method "$fetchState" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

...
Cannot read property 'pending' of undefined

Hi! @simonhermann I wasn't able to reproduce your issue
I implemented a simple example using our boilerplate in codesandbox, you can check here.
The component that I edited was the components/Teaser.vue and I using the fetch hook doing a console.log in both this.$nuxt.context.app.$storyapi and this.$nuxt.context.$storyapi.
And the request that I made was with the this.$nuxt.context.app.$storyapi.
I hope it is useful

I know this is closed but I got the exact same problem, so in case anybody else is googling this: the problem is passing context into fetch with fetch(context). This causes $fetchState to be left undefined (I think because nuxt uses the old <2.12 fetch when context is passed). Use fetch() with this inside fetch as mentioned above and you're good to go.


Fields queried cannot display normally

Can I see the query and maybe an example page or two which should have the data?

Sure

This one can display one field👇

0.3.13👇

0.4.1👇 Compared with version 0.3.13, a column of "Group" has been added

Ah, I understand what the issue is... I'm not respecting the <name> in GROUP BY <field> AS <name> anymore...

Fixed for release 0.4.2.

0.4.2👇

0.3.13👇

Fixing the second part by allowing you to configure whether the default Group field shows up.

Fixing the second part by allowing you to configure whether the default Group field shows up.

The contents displayed in the "collection" and "collection. Aliases" columns still seem to be abnormal（Repeat display）😂
Can it be fixed？


No quick action to disable markdown link validation in certain contexts

Testing #149979
In this file in our wiki https://github.com/microsoft/vscode-wiki/blob/44f0caa54e7ad18ef3cbb056e9eb375569d20784/December-Pre-Release.md
Both of the following links are valid, however this one does not have a quick fix to disable:

and this one does:

Duplicate of https://github.com/microsoft/vscode/issues/150919#issuecomment-1142672383
This is currently (incorrectly) parsed as a reference link since we don't support MediaWiki style links. We don't support excluding reference links from validation, only links to paths


About custom buttons

Encountered a strange problem, in the renderContent custom button, if the touch time is very short, there is no effect, it needs to be long pressed to trigger. My same logic component works fine in another third-party bottomsheet component. But this problem will be encountered in react-native-reanimated-bottom-sheet.

Solution:
enabledContentTapInteraction={false}


⚠ Bofrost.at has degraded performance

In f605807, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1761 ms

Resolved: Bofrost.at performance has improved in 3672141 after 19 minutes.


Progress bar inserts unnecessary newlines during migration analysis

Steps to reproduce
On Mac default terminal, running migration analysis causes multiple rows of spew while presenting progress bar:

Dart SDK version: 2.11.0-203.0.dev
Thanks for filing!

I've seen before, this and didn't think this was a big deal, but when you re-run the migration and it shows up over and over, it is definitely distracting and confusing.

I figured this one out. Mailing a fix.


fix base view view props typings

generics are slightly broken

this is only broken in 0.15 and a temporary patch exists to deal with the deficiency. 0.16 has solved this with the view model props structure.


Can't upload files, server expecting a user

Hi,
I tried not post here, but I don't know where to ask. I've got jQuery file upload + TOMCAT + php java bridge running. On top of that, I have SPRING security running that authenticates users via active directory.
If I try to upload a file, i'll get a 403 forbidden error.
If I touch a file in the directory /server/php/files and access http://localhost:8080/uploader/server/php/index.php I'll get this in return:
{"files":[{"name":"doge.png","size":18709,"url":"http://bob@<IP_ADDRESS>:8080/uploader/server/php/files/doge.png","deleteUrl":"http://bob@<IP_ADDRESS>:8080/uploader/server/php/index.php?file=doge.png","deleteType":"DELETE","deleteWithCredentials":true}]}
I'm guessing this is because the request, when sent to the server, doesn't include bob@ in front of the full URL.
Inspecting the header reponse from the website, I can see that I have what is required for this to work:
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: Access-Control-Allow-Origin,Access-Control-Allow-Credentials
What am I doing wrong?
Thanks for helping!

Hello @Mgrennes,
A GET request to the PHP demo returns a JSON array of the existing files, which is what you're seeing when you're accessing http://localhost:8080/uploader/server/php/index.php.
Regarding your JAVA Spring setup I can't provide support, but you might find help on StackOverflow.
(see also https://github.com/blueimp/jQuery-File-Upload#support)
Since this is not an issue in the project itself, I'll close it, but feel free to provide more information here, as these posts still provide help for other users as well.

Hi Blueimp, I was mostly interessted to see why I had bob@localhost in front of my URL and how your application was dealing with authenticated users uploaded files. I'll make sure to check out stackoverflow. Thanks for this application and your support! :)

I see. You can see how the absolute URL is constructed on server-side in PHP here in the function get_full_url:
https://github.com/blueimp/jQuery-File-Upload/blob/master/server/php/UploadHandler.php#L224
It looks like for some reason $_SERVER['REMOTE_USER'] is not empty in your case.

That's it. It's not empty because SPRING has the user authenticate against AD first, before presenting your jQuery file upload. Thank you I appreciate :)

I think what I'm trying to do is not doable. TOMCAT + SPRING + jQuery file upload.
I think i'll have to settle with NGINX + some sort of AD auth plugin + jQuery File upload.
Many thanks for your help!


Updating the README.md properly

I wish to add more information about what COCOMO is, along with the different types of COCOMO models.

Kindly assign this issue to me as a part of Hacktoberfest 2022.

Okay
Please send a pull request so that it could be verified


Use the same css minification as internal build tools

Description

Internally, the styling of MWC components is not minified with the sass compiler's defaults, but instead with cssnano.
We should have the same minification internally and externally to make sure our tests are consistent.
Acceptance criteria

Integrate cssnano into the css build process.

Oh we do this now!


fix: bug#340

Description

The library would always use encodeURI or encodeURIComponent.

This should allow users to have more freedom in specifying how URLs get encoded, rather than trying to adjust this library's default behavior to account for every edge case.

I added a test in the test-buildURL.js
Checklist

[x] Read the contributing guidelines.
[x] Each commit follows the Conventional Commit spec format.
[x] Update the readme (if applicable).
[x] Update or add any necessary API documentation (if applicable)
[x] All existing unit tests are still passing (if applicable).

[x] Add some steps so we can test your bug fix or feature (if applicable).
[x] Add new passing unit tests to cover the code introduced by your PR (if applicable).
[ ] Any breaking changes are specified on the commit on which they are introduced with BREAKING CHANGE in the body of the commit.
[ ] If this is a big feature with breaking changes, consider opening an issue to discuss first. This is completely up to you, but please keep in mind that your PR might not be accepted.

Saw the request changes, I will work on this.

Hey, I think I fixed everything you guys suggested. If there's still something for me to do, let me know.

Hey @luqven Just reminding if you didn't noticed, I updated the readme

Hey @luqven sorry for having those dist files again. I thought I removed them, but they're generated automatically, right? Perhaps I generated them again in my previous commit and didn't notice. I think that know everything is right.

Hey @FilipePfluck, sorry I should have been clearer here.
My expectation wasn't that you delete the dist files but rather that you revert the changes made to those files.
Anytime you run our build or test scripts, you'll likely update those files. But we don't stage those changes to our commits because our automated release process does it for us. Before we cut a new release, it updates the /dist folder. Our contributing guide could be clearer on this point.
I know that you've put a lot of work into this already, so I'd be more than happy to revert these myself if you grant me push permissions to your fork. Otherwise, if you feel up to it, you can revert those files to the state their in on the main branch.
Once you've done that, we should be able to merge this in.
If anything about this is unclear, please don't hesitate to reach out!

@luqven  Now I understand what you meant, I just added everything with git add ., and I shouldn't have added them. Anyway, I added you as a collaborator to my fork, so feel free to revert this the way you think suits better.

Updated the branch to rollback the changes to dist/ and updated commit messages to match conventional commit specs.
Just confirming we don't need any additional tests here and we should be good to go.

Hey @luqven do we have any news about this PR? I don't mean to hurry, but if possible, I'd like to get this PR merged today, as it is the last day of october. I want to be respectful to your time as you were to mine, so if there's anything left for me to do let me know. :)

Hey @luqven do we have any news about this PR? I don't mean to hurry, but if possible, I'd like to get this PR merged today, as it is the last day of october. I want to be respectful to your time as you were to mine, so if there's anything left for me to do let me know. :)

Merging in today. Apols for delay!

Thanks for all of your hard work on this @FilipePfluck !


It maybe well to add a build button when build image by dockfile.

In GitLab by @luotian-github on Sep 19, 2018, 15:14
In the method of using yaml file to create service, the node port could be repeated.

In GitLab by @liyanq528 on Nov 8, 2019, 07:59
the solution is add a scrollbar

In GitLab by @liyanq528 on Nov 8, 2019, 07:59
fixed by push request #1697

In GitLab by @luotian-github on Nov 8, 2019, 07:59
No problem yet.

In GitLab by @sokril on Nov 8, 2019, 08:27
closed

In GitLab by @sokril on Nov 8, 2019, 08:27
assigned to @luotian-github


Upgrade Grafana docker image to to 6.0.0

Signed-off-by: Richard Berg<EMAIL_ADDRESS>

FYI, while it is not the only reason for this pull obviously, it was in part inspired by the CVE scans mentioned in another pull.  grafana/grafana:6.0.0 starts out much better but there is still one high risk CVE in this image.  Since this image is based on stretch, there isn't a fix for it currently available.
CVE-2017-14062          libidn11-1.33-1                            High              None                   https://security-tracker.debian.org/tracker/CVE-2017-14062


Null safety, diamond operator, and lambda cleanup

coverage: 87.31%. remained the same
when pulling fee0d542664abbe7b18b11521906ffb66a5eba9f on hazendaz:next
into 814d75511bff9541c287d84753ed019b17a8fa16 on mybatis:master.


Dummy implementation of kernel shap

Hi,
I tried implementing a simple kernel shap generating 2^M counterfactuals and solve the weighted linear regression with Shapely kernel.
However, the solution of the weighted linear regression sums to the output (without the baseline).
Here's a simple notebook that illustrates this.
https://github.com/frederick0329/kernel_shap/blob/master/kernelshap.ipynb
I was expecting the solution of the weighted linear regression and the baseline sums to the prediction.
Am I misunderstadning something?
Thank you!

The y should be f(SUi) - E[f(x)]. Closing this :)