Error in Data Preparation

While executing the Data preparation step using the below-mentioned command, I got the following error:
PYTHONPATH=src python src/scripts/retrieval/document/batch_ir_ns.py --model data/index/fever-tfidf-ngram=2-hash=16777216-tokenizer=simple.npz --count 1 --split train
File "src/scripts/retrieval/document/batch_ir_ns.py", line 24, in
ranker = retriever.get_class('tfidf')(tfidf_path=args.model)
File "/home/ahatua/anaconda3/envs/fever/lib/python3.6/site-packages/drqa/retriever/tfidf_doc_ranker.py", line 39, in init
matrix, metadata = utils.load_sparse_csr(tfidf_path)
File "/home/ahatua/anaconda3/envs/fever/lib/python3.6/site-packages/drqa/retriever/utils.py", line 36, in load_sparse_csr
return matrix, loader['metadata'].item(0) if 'metadata' in loader else None
File "/home/ahatua/anaconda3/envs/fever/lib/python3.6/_collections_abc.py", line 666, in contains
self[key]
File "/home/ahatua/anaconda3/envs/fever/lib/python3.6/site-packages/numpy/lib/npyio.py", line 255, in getitem
pickle_kwargs=self.pickle_kwargs)
File "/home/ahatua/anaconda3/envs/fever/lib/python3.6/site-packages/numpy/lib/format.py", line 727, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False

Numpy has changed the interface for load_sparse_csr recently which breaks DrQA.
I've just updated the dependencies to fever-drqa which should fix that.
git pull
pip install --upgrade -r requirements.txt

should fix

Hello James,
Thanks for your reply.
I am unable to clone the repository.
Amartya
On Fri, Oct 30, 2020 at 9:33 AM James Thorne<EMAIL_ADDRESS>wrote:

Numpy has changed the interface for load_sparse_csr recently which breaks
DrQA.
I've just updated the dependencies to fever-drqa which should fix that.
git pull
pip install --upgrade -r requirements.txt
should fix
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sheffieldnlp/fever-naacl-2018/issues/55#issuecomment-719587920,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCUZFBDMB4QYWAIJC2I5D3SNLFEDANCNFSM4TFBHMUA
.


How to use MIBlurPopup without storyboard

As described in the README file, you can present any view controller that conforms MIBlurPopupDelegate with this line of code:
MIBlurPopup.show(<Any: MIBlurPopupDelegate>, on: <some view controller>)
where
<Any: MIBlurPopupDelegate> is the view controller you want to present
<some view controller> is the parent view controller (typically self)


Dynamic monitor setup

I am using Hyprland on my laptop and I am used to have a dynamic monitor setup: When I am at my desk, I prefer to disable the laptop's monitor and use an external one instead. When I'm not sitting there, I just use the laptop's one obviously.
In Sway I have been using Kanshi and it has been working, but in Hyprland it appears to be crashing. My current workaround is to treat the situation manually:
Whenever I am plugging in a monitor, I disable the laptop's one via hyprctl keyword monitor "eDP-1,disable" and whenever I am about to unplug the former, I run hyprctl keyword monitor "eDP-1, highrr, auto, 2" so that the system is not left without a monitor after the unplugging.
Is there a way to support this workflow automatically? E.g., just before the last monitor gets unplugged, Hyprland re-scans for monitors and re-adds them if needed.

You can write a script that listens to socket2 for the monitoradded/removed events and reacts with hyprctl calls.

So I made a naive implementation where I am trying to bring up the laptop's monitor if the last one is removed:
function handle {
  readarray -t inputArr < <(echo "${1//>>/$'\n'}")
  if [[ ${#inputArr[@]} != 2 ]]; then
    echo "Unrecognized format: $1"
    return
  fi
  event=${inputArr[0]}
  data=${inputArr[1]}
  if [ "$event" == "monitorremoved" ]; then
    if [[ $(hyprctl -j monitors | jq length) == 1 ]] && [ "$(hyprctl -j monitors | jq -r '.[0].name')" == "$data" ]; then
      hyprctl keyword monitor "eDP-1, highrr, auto, 2"
    fi
    return
  fi
}

My scenario: I have manually disabled the laptop's monitor (eDP-1), there is only DP-1 enabled and I am about to unplug it.
Unfortunately this leads to crash.
Here are some logs:
[LOG] Applying monitor rule for eDP-1
[WARN] No rule found for DP-3, trying to use the first.
[WARN] No rules configured. Using the default hardcoded one.
[LOG] Applying monitor rule for DP-3
[LOG] Setting preferred mode for DP-3
[LOG] Monitor DP-3 -> destroyed all render data
[LOG] LayerSurface 20c09a0 arranged: x: 3840 y: 0 w: 3440 h: 26 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor DP-3 layers arranged: reserved: 0.000000 26.000000 0.000000 0.000000
[LOG] Monitor DP-3 data dump: res<EMAIL_ADDRESS>scale 1.00, transform 0, pos 3840x0, 10b 0
[LOG] LayerSurface 20c09a0 arranged: x: 3840 y: 0 w: 3440 h: 26 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor DP-3 layers arranged: reserved: 0.000000 26.000000 0.000000 0.000000
[LOG] Fading out a non-existent LS??
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[LOG] Background created for monitor DP-3
[LOG] Shaders initialized successfully.
[LOG] Keybind triggered, calling dispatcher (64, , 50)
[LOG] Changed to workspace 2
[LOG] Set keyboard focus to surface 33cfd90, with window name: zsh
[LOG] Destroying workspace ID 1
[LOG] Framebuffer created, status 36053
[LOG] Callback 1634098 -> 1634090, Keyboard removed.
[LOG] Callback 1633f60 -> 1633f58, Keyboard removed.
[LOG] Callback 1633fc8 -> 1633fc0, Keyboard removed.
[LOG] Callback 1634030 -> 1634028, Keyboard removed.
[LOG] Destroyed keyboard 1633f30
[LOG] Callback 166db88 -> 166db80, Keyboard removed.
[LOG] Callback 166da50 -> 166da48, Keyboard removed.
[LOG] Callback 166dab8 -> 166dab0, Keyboard removed.
[LOG] Callback 166db20 -> 166db18, Keyboard removed.
[LOG] Destroyed keyboard 166da20
[LOG] Callback 17b2198 -> 17b2190, Keyboard removed.
[LOG] Callback 17b2060 -> 17b2058, Keyboard removed.
[LOG] Callback 17b20c8 -> 17b20c0, Keyboard removed.
[LOG] Callback 17b2130 -> 17b2128, Keyboard removed.
[LOG] Destroyed keyboard 17b2030
[LOG] Callback 16a72d8 -> 16a72d0, Keyboard removed.
[LOG] Callback 16a71a0 -> 16a7198, Keyboard removed.
[LOG] Callback 16a7208 -> 16a7200, Keyboard removed.
[LOG] Callback 16a7270 -> 16a7268, Keyboard removed.
[LOG] Destroyed keyboard 16a7170
[LOG] Callback 15afa08 -> 15afa00, Mouse removed.
[LOG] Destroy called for monitor DP-3
[LOG] onDisconnect called for DP-3
[LOG] Callback 1873d58 -> 1873d50,  removed.
[LOG] LayerSurface 20bcfd0 unmapped
[LOG] Framebuffer created, status 36053
[LOG] LayerSurface 20bcfd0 destroyed
[LOG] Callback 1c76eb8 -> 1c76eb0, layerSurface removed.
[LOG] Callback 1c76d80 -> 1c76d78, layerSurface removed.
[LOG] Callback 1c76de8 -> 1c76de0, layerSurface removed.
[LOG] Callback 1c76e50 -> 1c76e48, layerSurface removed.
[LOG] Callback 1c76f20 -> 1c76f18, layerSurface removed.
[LOG] Monitor DP-3 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Removed monitor DP-3!
[WARN] Unplugged last monitor, entering an unsafe state. Good luck my friend.
[LOG] Callback 1873e28 -> 1873e20,  removed.
[LOG] Callback 1873dc0 -> 1873db8,  removed.
[LOG] Hyprctl: keyword monitor : eDP-1, highrr, auto, 2
[LOG] Applying monitor rule for eDP-1
[LOG] Callback 1852c10 -> 1852c08,  removed.
[LOG] Callback 1852c78 -> 1852c70,  removed.
[LOG] Registered signal for owner 1852a30: 1838760 -> 1852b80 (owner: )
[LOG] Registered signal for owner 1852a30: 18387f0 -> 1852be8 (owner: )
[LOG] Registered signal for owner 1852a30: 18387e0 -> 1852c50 (owner: )
[LOG] Added new monitor with name eDP-1 at -1,-1 with size 3840x2400, pointer 1838610
[LOG] New monitor: WORKSPACEID 1, exists: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Monitor eDP-1: Applying highest mode<EMAIL_ADDRESS>[LOG] Monitor eDP-1 -> destroyed all render data

Let me know if I should file this as a bug

can you post the crash report?

I would like to omit some system and release information if that's OK:
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
Who tried dividing by zero?!

Hyprland received signal 11 (Segmentation fault)

(omitted system info)

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])

(omitted os-release)

Backtrace:
	#0 | /nix/store/w12wsn6p90hdkn7vv0bscx4r08s0dp2x-hyprland-0.22.0+date=2023-03-06_4f647a8/bin/Hyprland() [0x4d025d]
		_ZN13CrashReporter18createAndSaveCrashEi
		??:?
	#1 | /nix/store/w12wsn6p90hdkn7vv0bscx4r08s0dp2x-hyprland-0.22.0+date=2023-03-06_4f647a8/bin/Hyprland() [0x459e0f]
		_Z25handleUnrecoverableSignali
		??:?
	#2 | /nix/store/76l4v99sk83ylfwkz8wmwrm4s8h73rhd-glibc-2.35-224/lib/libc.so.6(+0x3dbf0) [0x7f9d8a03dbf0]
		??
		??:0
	#3 | /nix/store/sg275pvghxp61hxyirxhz0jl3617f5hh-wayland-1.21.0/lib/libwayland-server.so.0(wl_list_insert+0x5) [0x7f9d8ade6435]
		??
		??:0
	#4 | /nix/store/7ids47lamf5pk3831qb82fpkfm42kf35-wlroots-hyprland-hidpi-2023-03-02_5ae17de/lib/libwlroots.so.12(wlr_output_configuration_head_v1_create+0x4f) [0x7f9d8ad4fcbf]
		??
		??:0
	#5 | /nix/store/w12wsn6p90hdkn7vv0bscx4r08s0dp2x-hyprland-0.22.0+date=2023-03-06_4f647a8/bin/Hyprland() [0x52d806]
		_ZN6Events15listener_changeEP11wl_listenerPv
		??:?
	#6 | /nix/store/sg275pvghxp61hxyirxhz0jl3617f5hh-wayland-1.21.0/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7c) [0x7f9d8ade18fc]
		??
		??:0
	#7 | /nix/store/7ids47lamf5pk3831qb82fpkfm42kf35-wlroots-hyprland-hidpi-2023-03-02_5ae17de/lib/libwlroots.so.12(+0x89b65) [0x7f9d8ad4db65]
		??
		??:0
	#8 | /nix/store/7ids47lamf5pk3831qb82fpkfm42kf35-wlroots-hyprland-hidpi-2023-03-02_5ae17de/lib/libwlroots.so.12(+0x89dd8) [0x7f9d8ad4ddd8]
		??
		??:0
	#9 | /nix/store/w12wsn6p90hdkn7vv0bscx4r08s0dp2x-hyprland-0.22.0+date=2023-03-06_4f647a8/bin/Hyprland() [0x4fb0c3]
		_ZN13CHyprRenderer16applyMonitorRuleEP8CMonitorP12SMonitorRuleb
		??:?
	#10 | /nix/store/w12wsn6p90hdkn7vv0bscx4r08s0dp2x-hyprland-0.22.0+date=2023-03-06_4f647a8/bin/Hyprland() [0x501d83]
		_ZN14CConfigManager10ensureDPMSEv
		??:?
	#11 | /nix/store/w12wsn6p90hdkn7vv0bscx4r08s0dp2x-hyprland-0.22.0+date=2023-03-06_4f647a8/bin/Hyprland() [0x4e213d]
		_Z13hyprCtlFDTickijPv
		??:?
	#12 | /nix/store/sg275pvghxp61hxyirxhz0jl3617f5hh-wayland-1.21.0/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7f9d8ade37c2]
		??
		??:0
	#13 | /nix/store/sg275pvghxp61hxyirxhz0jl3617f5hh-wayland-1.21.0/lib/libwayland-server.so.0(wl_display_run+0x25) [0x7f9d8ade1335]
		??
		??:0
	#14 | /nix/store/w12wsn6p90hdkn7vv0bscx4r08s0dp2x-hyprland-0.22.0+date=2023-03-06_4f647a8/bin/Hyprland() [0x42e5fc]
		main
		??:?
	#15 | /nix/store/76l4v99sk83ylfwkz8wmwrm4s8h73rhd-glibc-2.35-224/lib/libc.so.6(+0x2924e) [0x7f9d8a02924e]
		??
		??:0
	#16 | /nix/store/76l4v99sk83ylfwkz8wmwrm4s8h73rhd-glibc-2.35-224/lib/libc.so.6(__libc_start_main+0x89) [0x7f9d8a029309]
		??
		??:0
	#17 | /nix/store/w12wsn6p90hdkn7vv0bscx4r08s0dp2x-hyprland-0.22.0+date=2023-03-06_4f647a8/bin/Hyprland() [0x443795]
		_start
		??:?

Log tail:
[LOG] Shaders initialized successfully.
[LOG] Callback 2f89f98 -> 2f89f90, Keyboard removed.
[LOG] Callback 2f89e60 -> 2f89e58, Keyboard removed.
[LOG] Callback 2f89ec8 -> 2f89ec0, Keyboard removed.
[LOG] Callback 2f89f30 -> 2f89f28, Keyboard removed.
[LOG] Destroyed keyboard 2f89e30
[LOG] Callback 2fb04b8 -> 2fb04b0, Keyboard removed.
[LOG] Callback 2fb0380 -> 2fb0378, Keyboard removed.
[LOG] Callback 2fb03e8 -> 2fb03e0, Keyboard removed.
[LOG] Callback 2fb0450 -> 2fb0448, Keyboard removed.
[LOG] Destroyed keyboard 2fb0350
[LOG] Callback 311b908 -> 311b900, Keyboard removed.
[LOG] Callback 311b7d0 -> 311b7c8, Keyboard removed.
[LOG] Callback 311b838 -> 311b830, Keyboard removed.
[LOG] Callback 311b8a0 -> 311b898, Keyboard removed.
[LOG] Destroyed keyboard 311b7a0
[LOG] Callback 2ffbf38 -> 2ffbf30, Keyboard removed.
[LOG] Callback 2ffbe00 -> 2ffbdf8, Keyboard removed.
[LOG] Callback 2ffbe68 -> 2ffbe60, Keyboard removed.
[LOG] Callback 2ffbed0 -> 2ffbec8, Keyboard removed.
[LOG] Destroyed keyboard 2ffbdd0
[LOG] Callback 3028e48 -> 3028e40, Mouse removed.
[LOG] Destroy called for monitor DP-3
[LOG] onDisconnect called for DP-3
[LOG] Callback 31c83c8 -> 31c83c0,  removed.
[LOG] LayerSurface 3a09a80 unmapped
[LOG] Framebuffer created, status 36053
[LOG] LayerSurface 3a09a80 destroyed
[LOG] Callback 35c86f8 -> 35c86f0, layerSurface removed.
[LOG] Callback 35c85c0 -> 35c85b8, layerSurface removed.
[LOG] Callback 35c8628 -> 35c8620, layerSurface removed.
[LOG] Callback 35c8690 -> 35c8688, layerSurface removed.
[LOG] Callback 35c8760 -> 35c8758, layerSurface removed.
[LOG] Monitor DP-3 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Removed monitor DP-3!
[WARN] Unplugged last monitor, entering an unsafe state. Good luck my friend.
[LOG] Callback 31c8498 -> 31c8490,  removed.
[LOG] Callback 31c8430 -> 31c8428,  removed.
[LOG] Hyprctl: keyword monitor : eDP-1, highrr, auto, 2
[LOG] Applying monitor rule for eDP-1
[LOG] Callback 31a7590 -> 31a7588,  removed.
[LOG] Callback 31a75f8 -> 31a75f0,  removed.
[LOG] Registered signal for owner 31a73b0: 318d1e0 -> 31a7500 (owner: )
[LOG] Registered signal for owner 31a73b0: 318d270 -> 31a7568 (owner: )
[LOG] Registered signal for owner 31a73b0: 318d260 -> 31a75d0 (owner: )
[LOG] Added new monitor with name eDP-1 at -1,-1 with size 3840x2400, pointer 318d090
[LOG] New monitor: WORKSPACEID 2, exists: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Monitor eDP-1: Applying highest mode<EMAIL_ADDRESS>[LOG] Monitor eDP-1 -> destroyed all render data

looks like #804 then

any update regarding this behaviour ? because i have the same issue

@DrummyFloyd this issue is closed because it is a dupe of #804. To be notified of updates to that issue, browse to it then click the bell icon to be notified of changes.


Code cleanup for segmentation

Marker_quantification.py:
Is there a better way to distinguish generate_expression_matrix and compute_complete_expression_matrix? These function names aren't that informative
testing: Many of the test functions here are too long. We should break them up into smaller test functions, named by which aspect of the main function they're testing, so that when errors are raised it's more obvious based on the name of the test that's failing what the problem was.
Signal_extraction.py:
Testing: import the synthetic_data function with a (much) shorter name to increase code readability.
I'm not in love with marker_quantification as the module name here. Open to suggestions for a good name to describe the set of functions that take segmentation masks, channel data, and produce the CSV of counts per cell.

For distinguishing generate_expression_matrix and compute_complete_expression_matrix, what about renaming them to create_marker_count_matrix and generate_segmentation_marker_counts respectively? The latter is a bit long so we could shorten it to gen_seg_marker_counts or something like that.
I personally don't have a huge problem with marker_quantification as a name, but what about marker_count_extraction as an alternative?

Okay, let's leave it as marker_quantification in that case.
How about generate_cell_data or create_cell_table for the complete_epxression_matrix? We can rename it so that it indicates which data structure it produces, which for now we're going to be calling cell_data or something like that.


Group_Constitution_v1

This is the template for our group's constitution, provided by ULife. It will be required when applying for ULife recognition, which will make all subsequent group affiliation requests way easier. We should aim to have this document up and ready to go by the second half of July, so fill in/ or comment on anything that you think should be added or changed!

Thanks, @atavasoli - this is an interesting idea for Study Groups at large - but was this pull request meant for the Toronto fork of this repo? Let me know if I can help!

@BillMills it was! Sorry.
Thanks for pointing that out- I'll send it in that direction.
Campus recognition is great. It gives an opportunity for groups to get access to better meeting space and funding (money!)


[L5] Login Not Working

After pressing login on the login form (on the L5 branch), it throws an error. Not sure if it's related to #608

No error here.

Yeah, completely sure. I just ran it again and got a 500 Internal Server Error. Here's an image when I turn APP_DEBUG to true...

You can't use the file cache. I thought we documented that?

@jbrooksuk: @GrahamCampbell's solution worked! I think this should be more clearly documented.

https://docs.cachethq.io/v1.0/docs/caching


Enhance Min/Max for NumberInput

Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[X] Caught up with develop branch as of last change.
[X] Added CHANGELOG entry, or determined not required.
[X] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[X] Updated doc comments / prop-types, or determined not required.
[X] Reviewed and tested on Mobile, or determined not required.
[X] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

This definitely fixes the issue.
However, I find the new behaviour about discarding out-of-bounds values a bit confusing. There's nothing to indicate why it was discarded, and this lack of user feedback, especially when going from a blank input back to a blank input, makes it feel broken.
Couldn't we just remove these props entirely, and say that if your app wants to enforce min/max values to use validation instead?

Let's discuss -- I do find it useful, especially the ability to have a value of min = 0 or max = 0.  See the usage in LogPanel.
We can recommend validation and forms more strongly in the doc strincs for sure, but I think this is still useful for a raw numberInput.

Looks great, particularly the precisions enforcing! Eager to get this in 👍


Standard Distribution not sampling negative numbers on ndarray and wgpu backends

Describe the bug
Tensors created using the ndarray or wgpu backends using Distribution::Standard only contain positive elements.  The tch backend correctly samples both positive and negative values.
To Reproduce
Run this script:
use burn::tensor::{Distribution, Tensor};
use burn_ndarray::NdArrayBackend;
use burn_tch::TchBackend;

fn main() {
    let torch: Tensor<TchBackend<f32>, 1> = Tensor::random([20], Distribution::Standard);
    let ndarray: Tensor<NdArrayBackend<f32>, 1> = Tensor::random([20], Distribution::Standard);

    println!("Torch: {torch}");
    println!("NdArray: {ndarray}");
}

Expected behavior
The ndarray tensor should contain both positive and negative values, similar to the tch backend.

Thank you. We will look into this.

@vultix OK. I have investigated the issue and I confirm there is a bug. However, the bug is in TchBackend's implementation. It was returning the normal distribution instead of uniform distribution performed by torch's rand function. If you need normal distribution, please use Distribution::Uniform(0.0, 1.0), which is equivalent to what you were expecting.
The bug has been fixed by this PR: https://github.com/burn-rs/burn/pull/469
I updated the documentation to make it clear.

@antimora I'm a bit confused by this.  My understanding is that Distribution::Standard means the standard normal distribution and behaves as a shorthand for Distribution::Normal(0.0, 1.0).  This is consistent with a quick google search of "standard distribution"

If the intent is for Distribution::Standard to be shorthand for Distribution::Uniform(0.0, 1.0), then I'd propose an alternative, less confusing name.  Perhaps we could have two variants, Distribution::StandardNormal and Distribution::StandardUniform?

@antimora I'm a bit confused by this. My understanding is that Distribution::Standard means the standard normal distribution and behaves as a shorthand for Distribution::Normal(0.0, 1.0). This is consistent with a quick google search of "standard distribution"
If the intent is for Distribution::Standard to be shorthand for Distribution::Uniform(0.0, 1.0), then I'd propose an alternative, less confusing name. Perhaps we could have two variants, Distribution::StandardNormal and Distribution::StandardUniform?

Borrowed the naming from rand crate. Here a direct link to the standard variant..
Not the best name, I agree and probably Distribution::Default would be better name though.
Should we rename Distribution::Standard to Distribution::Default, @nathanielsimard ? What do you think? It might be worth considering since not many people use it yet and it might confuse or introduce more bugs over time even more.

Yeah even I got confused, since I implemented the standard variant using Normal(0, 1) with the tch backend. I think we should rename the Distribution::Standard to Distribution::StandardNormal and implement Default for Distribution which returns Uniform(0, 1).

@nathanielsimard

Yeah even I got confused, since I implemented the standard variant using Normal(0, 1) with the tch backend. I think we should rename the Distribution::Standard to Distribution::StandardNormal and implement Default for Distribution which returns Uniform(0, 1).

I will rename Distribution::Standard to Distribution::Default not Distribution::StandardNormal because it's not standard normal.  Distribution::Standard in the current form generates like Uniform(0, 1) not exact the same, please refer to https://rust-random.github.io/rand/rand/distributions/index.html#uniform-numeric-ranges and https://pytorch.org/docs/stable/generated/torch.rand.html#torch.rand. The key difference is the type definition. Uniform(0, 1) will not work for float or bools.

Done in the PR

Yeah even I got confused, since I implemented the standard variant using Normal(0, 1) with the tch backend. I think we should rename the Distribution::Standard to Distribution::StandardNormal and implement Default for Distribution which returns Uniform(0, 1).

I'm planning to change the name of Distribution::Standard to Distribution::Default, rather than Distribution::StandardNormal, mainly because it doesn't generate standard normal distributions. In its current form, Distribution::Standard behaves more like Uniform(0, 1), although not exactly the same. You can check out the detailed behavior at these links: Rust Rand Library and PyTorch Documentation.
It's important to highlight that the key difference lies in the type definition. For instance, Uniform(0, 1) won't be suitable for float or boolean types. So keep that in mind!


Crash in songs where more than 100k notes what doing?

Describe your bug here. If you are modding, try testing your bug in a clean version of the engine instead. Also, if you're using an older version of JSE, please try the latest version/action build. Also, be sure to check the pinned 'JS Engine: Known Issues' issue, to check if your issue hasn't already been found!
im download the new update from github im copy file with mods what's im dowloading and start a fine spamtrack crash what doing?????
Command Prompt/Terminal/Crash logs (if existing)
dont have

Have you identified any steps to reproduce the bug? If so, please describe them below in as much detail as possible. Use images if possible.
im just start song with more than 100k and all

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Nope
If you use 1.12.0 or earlier, did you have Optimized Chart Loading turned on?
None
Did you check for any similar issues to what you're reporting? Check, then come back here. If there is a similar issue, then do not report the issue, otherwise it will be marked as a duplicate.
Yes

can you actually open any other songs

Im tryning

can you actually open any other songs

dont work

can you try going into Options -> Visuals & UI? this will reset your Noteskin and Note Splash settings to default, but you have to do this before going into ANY songs. otherwise, crashes

can you try going into Options -> Visuals & UI? this will reset your Noteskin and Note Splash settings to default, but you have to do this before going into ANY songs. otherwise, crashes

yes try

try that

if it's still crashing, let me see a command prompt output:
step 1. Win + R, type "cmd" in the box
step 2. put in "cd (your JSE directory)"
step 3. type "JSEngine"
show me a screenshot of the command prompt's output AFTER the engine crashes

if it's still crashing, let me see a command prompt output:

i set default why here type physics engine.png

did you actually open the visuals & ui menu

yes

now crashed any song ;( maybe reinstall?

idk then, because im pretty sure 1.32.2 is supposed to fix the bug that sets your default note splash to "Psych Engine"

idk then, because im pretty sure 1.32.2 is supposed to fix the bug that sets your default note splash to "Psych Engine"

check maybe

maybe dont fix that

maybe dont fix that

don't tell us how to do our job, if it wasn't fixed we would have more problems

I had same problem, check this:
https://github.com/JordanSantiagoYT/FNF-JS-Engine/issues/503#issuecomment-2307762745


Improvements to qAlpha algorithm

Add several improvements and modifications to qAlpha, including:

Refine invariant language for pDNF, to avoid cubes with literals that only mention variables that appear before the first existential quantifier in the prefix. Such formulas can be equivalently decomposed into formulas that use disjunctive literals instead of the cube, or that use cubes whose literals mention variables from after the first existential quantifier.
By default, advance the "frontier" frame as much as possible, as opposed to gradually. The gradual option can now be enabled using the flag --gradual-advance. (The gradual SMT option, previously --gradual, is now --gradual-smt.) When using the gradual option, only weaken lemmas which appear in some UNSAT-core, or which have no weakenings.
Add logging of parallel SMT queries during inference, which show how much time elapsed before the first SAT result was encountered, as well as the total time spent, and the number of SAT and UNSAT results encountered.
As preprocessing, ignore atoms in the language which are either universally true or universally false.

I don't think the snapshot tests of qalpha make sense, because they require the invariants in the output to be printed in a specific way, which isn't necessarily the case. The only algorithmic guarantee is that the same invariants will be found, but ordering and variable names may change. Previously, I tried using --gradual-advance to make it more deterministic, but it seems there's still some indeterminism that makes this work only most of the time. @tchajed what do you think?

I agree that snapshotting the invariant isn't worth the trouble. One thing we can (and probably should) do is to omit the entire invariant in the output that we snapshot.

I agree with your snapshotting suggestion. Would you like to implement this as a part of the snapshotting, or to add some command-line argument to avoid printing the invariant? If you want to change the snapshotting, can you implement that? I tried to take a look and I'm not completely sure how you'd want to go about this.

I'll work on changing the snapshotting, I'd prefer to redact there if possible.

I changed my mind and made it a flag, it was a little easier to implement. Is this branch ready for a review now?

I changed my mind and made it a flag, it was a little easier to implement. Is this branch ready for a review now?

Yes, looks ready.


Fix race causing occasional flake

Search for ' fail' before the successful retry in https://travis-ci.org/firebase/firebase-ios-sdk/jobs/497169324
I also reproduced in the simulator by switching the device to iPhone 7 once and then couldn't repeat


Home Assistant core-2021.11.5

Hi @AlexxIT
integration does not work anymore after upgrade HA at core-2021.11.5.
In my case I use magnetothermic with firmware version 3.5.0
Best Regards
Alessandro

Any details?

Hi @AlexxIT,
I give you more details as soon as possible, at the moment I reverted to the previous version of HA
Thanks
Alessandro

Hi @AlexxIT,
i tried again and it worked, yesterday all sensors were NaN also after HA restarts.
Thank you.


Question: How can SolidJS components use the Emotion css prop?

Hello, I'm looking to use emotion-solid and I'm coming as a user of @emotion/react. I know in SolidJS we are working with actual HTML elements and not VDOM-variants as in React. If I'm porting a React component that was using the css prop, how should the SolidJS component port that prop over?

@thedanchez depends on how the css prop is being used !

I think @emotion/css is framework agnostic and this can be closed: https://emotion.sh/docs/introduction

The css prop does two things,

Takes your styles, applies a class name on those styles
Returns that class name.
You use that class name in the element's class

This is cool, However SolidJS supports server side rendering with a switch, When server side rendering there's no head / document / window, so you can't magically find head of the document using the JS Api's, To do this Solid JS has a useAssets hook that allows you to insert assets / tags into the head element when server side rendering.

useAssets is actually used by suid

Assets injected using useAssets are taken by getAssets (forgot the name) and put into the head element in a root.tsx file in SolidStart (done automatically mostly, this behavior has changed in SolidStart beta 2 but kinda similar)
This library however I haven't created a pull request to inject the css into the head element so it might not support server side rendering. This is because I kept it experimental, It had bugs (mostly fixed), I used it in my library @qinetik/emotion I will be making a pull request after shifting to beta 2, You can visit its documentation at Anique CSS
Notice that the Anique css prop returns a function to class name () => string This is because it cannot cache the styles, when you call it outside the solid component. like this
const myclass = css`
color : red;
`
function MyComponent() {
   return Text
}

it returns a hook, When you call myclass() Its similar to calling createEffect or onMount, So you must call the hook in element's class name, This allows us to

Take out styles out of the component
Use cached styles (no need to parse / combine or inject args)

This is because useAssets hook is only available inside the component, To support server side rendering.


bug: ion-spinner not working inside a button

Type: bug
Platform: all
Update: First issue is now solved but second issue is still there. Title & Codepen updated.
Hi there!
Just upgraded from beta-14 to rc.0 and all my animated icons are not working anymore. There is two problems:
First: when you insert animated icon (ion-load-b/a/d ie) it's no more "rolling", it's stable now
Second: I used to combine button disable + showing a loading ionicon inside it but now the icon is no more shown
Please see the codepen: http://codepen.io/anon/pen/ZYqWZy
You can see that inserting loading ionicons are just showing them stable and when you click on the button it adds the space from the span for the dedicated icon but it's not showing it. I don't know how to do it on codepen but if you use beta14 code it's working perfectly.
Do you guys have any idea?

Update: OK so I saw that I should use now "ion-spinner". This resolves the first issue but it's not working when it's inside a button. The codepen has been updated.

My bad, it's working but it's just that I can't see it on my screen due to colors too white. Made a stroke change, everything's fine!


Rework jobs

@tomponline this one PR of course triggers the Tests job because it modified that specific file. Other unrelated changes to .github/workflows/* should hopefully not trigger it anymore.


Check IO object behavior when given for parsing

Change #each to check IO behavior of given object with same methods as Nokogiri
(https://github.com/sparklemotion/nokogiri/blob/master/lib/nokogiri/xml/sax/parser.rb#L80)
instead of checking the IO ancestor.
This will allow ARGF, SFTP read objects, and other objects that implement the IO interface but don't share the ancestor class to be passed in for parsing correctly.
This does not affect the filename argument behavior and falling back to parse_file if the object isn't IO-like.
I couldn't think of a creative way to pass in ARGF for testing without hanging on read, so I added a simpler test case than emulating an IO-like interface.

Thanks @jbielick.
Please consider adding examples of using ARGF and note about IO-like object to README, that would be very useful.
BTW I fixed travis config and the build should be all green when this PR gets finally merged.

rebased and updated!

Thanks!


Feature/81 follow user button counter issue

Resolves #81

I'm "sadik1" user in my local containerized web app. And I follow "sadik2" user.
(1)
When I go to "sadik2" profile page,
I see follower count:1 which is ok.
But I see "Follow" button there, which is not ok.

(2)
When I click Follow button,
followers count becomes zero, which is ok

(3)
When I click Follow button again,
followers count becomes 1 again, which is ok
and button label becomes Unfollow, which is perfectly ok

The only case that must be focused on here is the first case (1).
@aykutkantas Could you handle that bug in this PR as well?

There were also another issue that has to be resolved. That is mentioned in #81  #107
Also the issue @sadikkuzu mentioned is resolved too.

There were also another issue that has to be resolved. That is mentioned in #81 #107
Also the issue @sadikkuzu mentioned is resolved too.
Can you please check again?

Thank you so much.
I'll check asap.


PMID:15537393 sensitive to amiloride

PMID:15537393 sensitive to amiloride

decreased cell wall biosynthesis

increased vegetative cell population growth on sorbitol carbon source
(check, not sure from the session)

My notes also have
Normal growth on lantrunculin
Normal growth on butonedione monoxide (Myosin ATPase inhibitor)
but maybe I didn't use these.


fix: don't sync block filter hashes if finalized checkpoint is too less than the last proved header

Why < self.check_point_interval * 2?
https://github.com/nervosnetwork/ckb-light-client/blob/fc45e35cd3ce40fae5762daa97e4c89991094262/src/protocols/light_client/peers.rs#L539-L541
Because light client don't finalize the latest checkpoint, light client will keep a checkpoint as a safe distance, so it don't have to rollback such many blocks. (N.B. Light client won't handle a long fork.)

If the last number is $N$, denote check_point_interval as $I$, light client will use the $(| \frac{N-I+1}{I}| - 1)\mathrm{-th}$ checkpoint as finalized checkpoint if there are more than  $\frac{1}{2}\mathrm{MAX\_OUTBOUND\_PEERS}$ peers have this checkpoint.
Before the finalized checkpoint (include), light client will only sync all checkpoints.
After the finalized checkpoint, light client will sync all block filter hashes.

So, as an approximated value, I use < self.check_point_interval * 2 here.

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (fc45e35) 71.41% compared to head (82a46db) 71.39%.

Files
Patch %
Lines

src/protocols/light_client/peers.rs
50.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #169      +/-   ##
===========================================
- Coverage    71.41%   71.39%   -0.02%
===========================================
  Files           25       25
  Lines         6478     6479       +1
===========================================
  Hits          4626     4626
- Misses        1852     1853       +1

Flag
Coverage Δ

unittests
71.39% <50.00%> (-0.02%)
:arrow_down:

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.


Enable the zlib feature of flate2

We're already pulling in zlib for other dependencies like curl/libgit2
so there's not really much use in duplicating the compression code with
miniz, so let's instruct flate2 to use libz as well to compress and
decompress chunks.

SGTM!
@bors: r+

:pushpin: Commit d9eca8c764eb147d4616c6c32d6be380b9aedcf2 has been approved by dwijnand

:hourglass: Testing commit d9eca8c764eb147d4616c6c32d6be380b9aedcf2 with merge ac0bb47719c11ac52468055a00fb4f7d07ac792b...

:sunny: Test successful - status-appveyor, status-travis
Approved by: dwijnand
Pushing ac0bb47719c11ac52468055a00fb4f7d07ac792b to master...


Break the kubernetes-minion state in smaller components

At some moment we will install the kubelet in all the machines (including the masters), and maybe the proxy will be run as a daemon set, so it would be good to split this state in several states (ie, kubelet and proxy) and add the kubelet to the role:kube-master

And if we want to add additional services (like fluentd for logging, or a DNS server for when we scale out) having kubelet on the masters would be very useful

I'm actually doing some of this work as part of adding haproxy...

This has been done


Problem with horizontal linear joints

Hi, I was trying to apply linear joint transformations to horizontal joints that move left/right rather than up/ down. Here is a screenshot of what I'm trying to achieve -

I was trying to move Both the joints horizontally left and right, so that it can grip on things. Here is the project -
SampleKinematics.zip
In the scene, there is the model without the gripper, which is disabled. That one works well. The active robot in the scene has 2 extra linear joints for the 2 grippers. The script attached to it is CustomRobotWithGrip.
When I run the scene, the grippers don't move at all. They just get detached and stay in the initial position.

Hi @abhijeet-sridhar
In this case this should not be done with linear joints of the inverse kinematics library, but rather with normal scripts that move the GameObject, which should be pretty straight forward to do. Just animate the local position of the gripper-fingers.

Okay sure... I was trying to over-engineer it then :D


Fixing logic issues

Hi,
I completely reworkerd the logic. Now the logic for file and directory is correctly separated.
It fix #10 and #11 and i added tests for them.

@Geelik thanks for your contribution! Will you squash this please?

Done it, hope it's good for you

Thanks @Geelik!


This module does not appear to work with the .wad files from the latest version of the League Alpha Client.

Could you give more details?? What's the alpha client version?

I sure can! Let me know if you need anything I might have missed.
Node version: 6.2.1
Alpha client version: v0.4-2581801.2581470
File location: LOLPBE\RADS\projects\league_client\releases\installer\deploy\Plugins\rcp-fe*\assets.wad

The code I'm using to attempt to extract is as follows:
const path = require('path');
const minimist = require('minimist');
const wad = new (require('lol-wad-parser'))();

var args = minimist(process.argv.slice(2));

if(!args.i) {console.error('input file required!'); process.exit(0);}
if(!args.o) {console.error('output location required!'); process.exit(0);}

var inPath = path.resolve(args.i);
var outPath = path.resolve(args.o);

wad.extract(inPath, outPath, (e) => {
  if(e) {console.error(e);} else {console.log('done.');}
  process.exit(0);
});

The error I'm getting is as follows:
> node wad.js -i rcp-fe-plugin-runner/assets.wad -o plugin-runner/

buffer.js:830
    throw new RangeError('Index out of range');
    ^

RangeError: Index out of range
    at checkOffset (buffer.js:830:11)
    at Buffer.readUInt32LE (buffer.js:892:5)
    at Parser.module.exports.XP.Class._read.value (/Plugins/node_modules/binary-buffer-parser/lib/index.js:234:62)
    at Parser.module.exports.XP.Class.uint32 (/Plugins/node_modules/binary-buffer-parser/lib/index.js:163:25)
    at module.exports (/Plugins/node_modules/lol-wad-parser/lib/parse.js:31:33)
    at FileReader.module.exports.fileParser.parse (/Plugins/node_modules/lol-wad-parser/lib/index.js:16:13)
    at Object.apply (/Plugins/node_modules/expandjs/lib/function/apply.js:45:68)
    at WadParser.XP.Class._do.value (/Plugins/node_modules/lol-file-parser/lib/parser.js:103:24)
    at /Plugins/node_modules/lol-file-parser/lib/parser.js:64:30
    at /Plugins/node_modules/lol-file-parser/lib/parser.js:113:25

The file structure must have changed. Unfortunately I don't have access to the PBE alpha client, got only the standard one which is at v0.3. Could you upload the file you are having problems with so I can take a look?

Sure thing. I've attached a .zip file which includes two example files that won't open using this package: wad.zip
Additionally, you can grab the alpha client installer from Riot's CDN here, if you're interested in taking a look. You'll have to have the PBE client installed, and you'll need a PBE account to log in, but afaik, the alpha client downloads everything it needs without you needing to log in, so you can probably still look at its file structure without needing the account.

They updated the file version and structure indeed. Updated the parser, it should be good to go now.
Let me know if you encounter any other problems,
Cheers.


Bug-crash right after open an example (Ubuntu 20.04 foxy edifice)

Environment

OS Version: Ubuntu 20.04

Source or binary build? Binary ignition-edifice
 ignition-edifice

Generally, mention all circumstances that might affect rendering capabilities:

[ ] running on real hardware
[ *] other... (Using intel i7 on laptop local)

Rendering system info:

00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06)
:0

direct rendering: Yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 530 (SKL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.0.3
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.0.3
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.0.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

bwuk         965  1.5  0.6 1090784 50744 tty2    Sl+  Jul22 689:53 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
bwuk      869792  0.0  0.0  18384   808 pts/13   S+   19:57   0:00 grep --color=auto Xorg

X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Ubuntu
Current Operating System: Linux robots 5.8.0-59-generic #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.8.0-59-generic root=UUID=e5b0707a-0f04-425c-91af-b430e5c42a61 ro quiet splash vt.handoff=7
Build Date: 06 July 2021  10:17:51AM
xorg-server 2:1.20.11-1ubuntu1~20.04.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.38.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.

Bug here:
https://user-images.githubusercontent.com/65916520/130339487-6ee4b4b9-69a2-4dff-8c51-49c8a54ebdcf.mp4
Tried to do tutorials on ign using Foxy. This is the result after source install/setup.bnash
Steps to reproduce

(source /opt/ros/foxy/setup.bash)

colcon build --merge-install
source install/setup.bash
ros2 launch ignition_ros2_control_demos cart_example_position.launch.py
Crash suddenly.

Output
The video uploaded above

Any update on this issue ? I have the same bug on foxy with ignition fortress. There is a segmentation fault when you are using the  gazebo ignition plugin:
<gazebo>
    <!-- Joint state publisher -->
    <plugin filename="ign_ros2_control-system" name="ign_ros2_control::IgnitionROS2ControlPlugin">
      <parameters>$(find ign_ros2_control_demos)/config/cartpole_controller_position.yaml</parameters>
    </plugin>
  </gazebo>

I tried to change the plugin filename and name into the one proposed by the README.md
<gazebo>
  <plugin name="ign_ros2_control" filename="libignition_ros2_control.so">
    <parameters>$(find ign_ros2_control_demos)/config/cartpole_controller.yaml</parameters>
    <controller_manager_prefix_node_name>controller_manager</controller_manager_prefix_node_name>
  </plugin>
<gazebo>

and it could'nt find the library
[ign gazebo-1] [Err] [SystemLoader.cc:66] Failed to load system plugin [libignition_ros2_control.so] : couldn't find shared library.

What will be the final syntaxe and how can we fix the seg fault ?

Any update on this issue ? I have the same bug on foxy with ignition fortress (using the foxy branch of ign ros control). There is a segmentation fault when you are using the gazebo ignition plugin:
<gazebo>
    <!-- Joint state publisher -->
    <plugin filename="ign_ros2_control-system" name="ign_ros2_control::IgnitionROS2ControlPlugin">
      <parameters>$(find ign_ros2_control_demos)/config/cartpole_controller_position.yaml</parameters>
    </plugin>
  </gazebo>

I tried to change the plugin filename and name into the one proposed by the README.md
<gazebo>
  <plugin name="ign_ros2_control" filename="libignition_ros2_control.so">
    <parameters>$(find ign_ros2_control_demos)/config/cartpole_controller.yaml</parameters>
    <controller_manager_prefix_node_name>controller_manager</controller_manager_prefix_node_name>
  </plugin>
<gazebo>

and it could'nt find the library
[ign gazebo-1] [Err] [SystemLoader.cc:66] Failed to load system plugin [libignition_ros2_control.so] : couldn't find shared library.

What will be the final syntaxe and how can we fix the seg fault ?

Hi Mcaniot!
Ah, this issue....yes, good ol time. This issue is outdated and old. I'm closing this, but there's another issue where I'm active following:
https://github.com/ignitionrobotics/ign-gazebo/issues/721
https://github.com/ignitionrobotics/ign-gazebo/issues/722
I learned about those from my other issue
As for your controller_manager. I never had any luck with that so I end up using joint_control from ignition which worked perfectly! Maybe I should come back to that and check it out again since I have gained some experience now. :)
I'm sure you already looked into this, but here is the multiple tutorials for ros2
I made a documentation on joint_controller. I hope this is at least help you to find a new route to move forward. This is not finalized and I'm about to review on the doc to finalize. I know there's a ton of stuff to be updated. I've tested it on Fortress and Citadel. I'm addicted with Fortress. :P
As for the seg issue, it's still ongoing issue. They are working on it atm. I have no idea how to help or fix that as it's outside of my field. :(
Hope all of this helps you!


Install on OSX

ok @bouweandela updated the instructions and added warning that these are not continuously tested via CircleCI - let's get this in :beer:

@valeriupredoi This looks a bit outdated. is it still relevant?

this an ancient branch that is most probably not useful to you but am tagging you anyhoo @bvreede - I am going to close it since it's too old and I am fairly against a separate env file anyway (me from 2021 does not agree with me from back in 2019) :grin:


Added a new Contributor to GDSC team

In this contributors/profiles.json I have added myself as one of the contributors

In this contributors/profiles.json I have added myself as one of the contributors

Deployment Failure
Reason: JSON Error
FIx:  mission , in between 2 json objects


Update Doxyfile.in

test11

@jonastest00 has been requested to review this pull request as specified in the REVIEWERS file.


device_role in import devices are not getting recognised

While trying to import multiple devices device_role which is created is not getting recognized despite device role being created
Error: Required column header "device_role" not found

anyone the community who can help here, please? appreciate your time
We are trying to import bulk of machines and for some reason the define device role is not getting picked up.

when you import now, you have to define headers. If you reload the page you should see an example of the headers.

Its isnt working properly, data are getting mismatched

can you give me an example of a set of data? I'd venture a guess that you aren't lining up the headers properly
It may be useful for you to put the data into excel, save as csv, then open that csv in notepad to get the content to paste

yeah you are right sorry about that , yes i messed up the headers a bot wrongly
figured that out
Thanks a lot friend


Refactor server to use the daemon as a service

Follow up of #12937
This pr clean server.go to deal with container struct. Everything that should be done on a container should be handled from the daemon (acting as the service layer). Adapting types, new api version, upgrading should be a breeze now since no logic nor nothing is handled in controllers anymore.
I tried to keep AttachWithLogs handler as simple as possible to deal with container configuration and version like ContainersLogs is already doing.
/cc @tiborvass since you looked at the previous pr
@calavera for api too
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

ping @vieux updated (forget my previous comment)

ping @calavera @tiborvass

@duglin updated

As much as I welcome this PR overall, I still think we should make sure we are consistent.
Currently there are methods on containers to do things, and this PR would introduce methods on the daemon to manipulate the containers by name.
I know for sure that @crosbymichael wanted to make containers just structs without methods, and have the daemon take container instances in its methods, which I think would be really nice. In that light, should we suffix the daemon methods in this PR with "ByName" or do that in due time?

I don't want to introduce suffixes in favor of currently non-existent concepts. And I don't understand from where we will take instances to pass them to daemon.

@LK4D4 fair enough :)
LGTM

ping @duglin could you take another look?

just one question... other than that LGTM

LGTM


How to run the code for the sample data given in the datasets folder?

Hello,
The paper seems very interesting to me.
Can you please give a step-by-step guide for running the given model for the sample dataset (eg. cpp samples)?

Hello @chanchalIITP and thanks for your patience! I will add a proper guide and switch to the updated version of astminer in the next couple of days!

Thanks a lot, Sir.
On Tue, Sep 1, 2020 at 3:59 PM Egor Bogomolov<EMAIL_ADDRESS>wrote:

Hello @chanchalIITP https://github.com/chanchalIITP and thanks for your
patience! I will add a proper guide and switch to the updated version of
astminer https://github.com/JetBrains-Research/astminer in the next
couple of days!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JetBrains-Research/authorship-detection/issues/2#issuecomment-684747791,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGRCCYL4FJBOSWIVWHNQ5PLSDTEJRANCNFSM4QMXUATQ
.

Sorry for the long wait! I've added instructions to run cross-validation on arbitrary data in README. For example, you can download java40 data and run experiments on it.


Expose HMAC (and other message authentication functions)

Would it be possible to expose the HMAC (and other MAC functions) you added in this commit (https://github.com/JiriHoffmann/react-native-cryptopp/commit/d2fac4e8b4667be858d1afe264e9be7dbbe0b836) to the exposed interface please?

Working on it


Add missing semicolons

Hi,
Just a quick PR to merge quickly if possible to ensure react-native 0.18 compatibility for the moment (the error messages are not clear on this release) :)

Thanks, I won't be able to publish for an hour or so though, unless
@salakar is around.
On 8 Jan 2016 17:43, "Mathieu Acthernoene"<EMAIL_ADDRESS>wrote:

Hi,
Just a quick PR to merge quickly if possible to ensure react-native 0.18
compatibility for the moment (the error messages are not clear on this
release) :)
You can view, comment on, or merge this pull request online at:
https://github.com/react-native-material-design/react-native-material-design/pull/17
Commit Summary

Add missing semicolons
Update version number

File Changes

M lib/Drawer/Section.js
https://github.com/react-native-material-design/react-native-material-design/pull/17/files#diff-0
(2)
M lib/polyfill/Ripple.js
https://github.com/react-native-material-design/react-native-material-design/pull/17/files#diff-1
(4)
M package.json
https://github.com/react-native-material-design/react-native-material-design/pull/17/files#diff-2
(2)

Patch Links:

https://github.com/react-native-material-design/react-native-material-design/pull/17.patch
https://github.com/react-native-material-design/react-native-material-design/pull/17.diff
—
Reply to this email directly or view it on GitHub
https://github.com/react-native-material-design/react-native-material-design/pull/17
.

No worry, one hour is really quick! (I was thinking in days)

I've merged it but have no permission to publish on npm atm, will have to wait for @Ehesp

Published!


VencordInstallerCli: Add version 1.4.0

Add https://github.com/Vencord/Installer (only the CLI variant, there's also a GUI one).
I'm not certain if the GUI version should be it's own manifest or part of this one.
Hope I've not messed up anything but do lemme know if something's wrong, thanks!
Relates to #13200

[x] I have read the Contributing Guide.

/verify

/verify

Virustotal report:
https://www.virustotal.com/gui/file/466d2a0be1f380ddffed052df3cc132125fa34dc1af29312e14f13f358c8d2a2
Even if false positive (Vencord/Installer#127), may cause installation errors when binaries blocked/quarantined by antivirus.

Is that a big blocker? If so, isthere anything I can do here or do I just close this?

The CLI version should belong to https://github.com/ScoopInstaller/Main; maybe you can create your PR there instead


xcode build failed due to dependencies

Hi, thanks for the awesome app.
Here, i'm have a problem while building.
error: The package product 'ZipArchive' requires minimum platform version 15.5 for the iOS platform, but this target supports 13.0 (in target 'SwiftGit2' from project 'SwiftGit2')

How can i settle this problem ?

Are you running an Intel Mac?

Nope, I am running a M1 Monterey Mac

You might have accidentally updated ZipArchive to a newer version. Reset all changes you made to the repo in git and re-download the dependencies.
You can do this by running git reset --hard or simply re-clone the project.
if this doesn't work, go to Xcode file navigator > Packages > SwiftGit2 > Modify platforms: [.iOS(.v13)], to platforms: [.iOS("15.5)],. Do the same for 'iOS Deployment target` in the Code project.

thanks a lot.
I settle this problem by using git reset --hard


python3Packages.regenmaschine: 2021.10.0 -> 2022.01.0

Motivation for this change
https://github.com/bachya/regenmaschine/releases/tag/2022.01.0
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

3 packages built:

home-assistant-component-tests.rainmachine
python310Packages.regenmaschine
python39Packages.regenmaschine


Autoloading dependencies with Grape as a stand-alone API?

All my search efforts and reading of the documentation for Grape seems to indicate that autoloading is a feature provided when Grape is used in combination with another framework, such as Sinatra or Rails. I'm using Grape API as a stand alone application, and with many modules and classes I'm finding I have to explicitly define require_relatives throughout my app.
My question is, does Grape provide an autoloader similar to this out of the box?

AFAIK Grape does not, but this could be a good development opportunity, I'll label this as a feature

Grape already depends on ActiveSupport, so maybe it can be used for this.
require 'active_support/dependencies'
ActiveSupport::Dependencies.autoload_paths = [
  'app'
]

ActiveSupport::Dependencies private API has been deleted


[5.1][Diagnostics] Don't crash when gathering info about property wrapper …

…in l-value base

Explanation:

Make TypeBase::getTypeOfMember more resilient to base type
being either an l-value (which we can look through), or an
error type - in such can it would return immediately.

Issue: rdar://problem/54184846

Scope: Constraint solver in diagnostic mode.

Risk: Very Low.

Testing: Added compiler regression tests.

Reviewed by: @DougGregor

Resolves: rdar://problem/54184846
(cherry picked from commit c67cf88b7dbb86600d91c68265c07844ccb445e9)

@swift-ci please test

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - b483549342b1a5887ff46596f0dc770fb5a9efe6

That failure doesn't make sense:
fatal error: error in backend: Unexpected end of file

@swift-ci please test macOS


Can MONITORENUMPROC be generated to have "ref RECT param2" instead of "RECT* param2"?

I'm wondering if it's valid (and within the scope of CsWin32) to generate MONITORENUMPROC from EnumDisplayMonitors like so:
[UnmanagedFunctionPointer(CallingConvention.Winapi)]
public unsafe delegate BOOL MONITORENUMPROC(HMONITOR param0, HDC param1, ref RECT param2, LPARAM param3);

instead of the way it's currently generated:
[UnmanagedFunctionPointerAttribute(CallingConvention.Winapi)]
public unsafe delegate BOOL MONITORENUMPROC(HMONITOR param0, HDC param1, RECT* param2, LPARAM param3);

I imagine the answer to this could apply to other callback signatures as well.
From reading the documentation for MONITORENUMPROC, it looks like the param2 RECT pointer will never be null, so I think this would be a valid generation? I tried the "ref RECT" signature in my code, and it seems to work ok for me.
The only reason I'm looking for the "friendlier" non-pointer version is to make the callback directly usable when calling EnumDisplayMonitors from PowerShell.
This is the friendly overload I had previously before I realized I could just override MONITORENUMPROC myself to use ref RECT instead:
public static unsafe BOOL EnumDisplayMonitors(SafeHandle hdc, RECT? lprcClip, Func<HMONITOR, HDC, RECT?, LPARAM, BOOL> lpfnEnum, LPARAM dwData)
{
    return EnumDisplayMonitors(hdc, lprcClip, (HMONITOR monitor, HDC hdc, RECT* lprcMonitor, LPARAM lParam) =>
    {
        return lpfnEnum(monitor, hdc, lprcMonitor != null ? *lprcMonitor : null, lParam);
    }, dwData);
}

I think using in, out or ref for non-array, non-optional struct pointers is probably a reasonable trade-off.


Capture and log all data coming from/going to instances through catchall

We want to capture all the data, including headers and body information, that is being passed in requests from WP instances to the .org endpoints, and the responses from .org coming back to the instances.
We need to set up a table with the following fields:

request_type (GET, POST, etc.)
request_headers (jsonb)
request_body (jsonb)
response_code (string/int)
response_headers (jsonb)
response_body (jsonb)

This data should be logged after the request is sent but BEFORE we send a response to the requester.
Note that this data is NOT anonymized so we won't collect it forever. It's important that the plugin disclose we are logging this information so that users are not surprised.

You'll need to submit a migration to aspirepress/aspirecloud-migrations and also submit the code to write this information here.

Implemented in #27


re-generate PDFs

:+1:

Great. Ready to hit the "submit" button as soon as @sdtaylor approves.

yep!


improvement(frontend): add React Typescript example

Same as #29 but with Typescript!

Made some changes in attempt to simplify some things


Carthage support

Hi,
For iOS projets it's will be great to make your component Carthage compatible
Take a look at these articles:

Ruthlessly Simple Dependency Management with Carthage
Carthage Tutorial: Getting Started
Making Carthage-compatible Frameworks with Swift
Creating Cross-Platform Swift Frameworks for iOS, watchOS, and tvOS via Carthage and CocoaPods 👍

On your README.md add   on top and add section for the installation with Carthage.

i am no able to upload application  ,
ERROR ITMS-90087: "Unsupported Architectures. The executable for PosterMaker.app/Frameworks/TCMask.framework contains unsupported architectures '[x86_64, i386]'."
ERROR ITMS-90087: "Unsupported Architectures. The executable for PosterMaker.app/Frameworks/TCMask.framework contains unsupported architectures '[x86_64, i386]’.”
ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'PosterMaker.app/Frameworks/TCMask.framework/TCMask' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."
ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'PosterMaker.app/Frameworks/TCMask.framework/TCMask' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."
ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."
ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."
WARNING ITMS-90080: "The executable 'Payload/PosterMaker.app/Frameworks/TCMask.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library."
WARNING ITMS-90080: "The executable 'Payload/PosterMaker.app/Frameworks/TCMask.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library."

@bingh0616 Could you take a look at this issue?

@zengxinzhy Sure I will take a look.


Add simple game to examples

Basic example can be extended to simple game - probably something like simple exploration game.

Closing this because I think there are already plenty examples, this issue will be eventually fixed when a series of tutorials will be finished.


arcanist: 20170323 -> 20180916

Motivation for this change
Making sure arcanist is up-to-date and not lagging behind too much…
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build arcanist

Success on x86_64-darwin (full log)
Attempted: arcanist
Partial log (click to expand)
/nix/store/kn05vcamay1p0jpr7406y4scldaxjylj-arcanist-20180916/libexec/libphutil/scripts/utils/directory_fixture.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/fpyqp40skdiv31b1d4h7rkj67x3f404f-php-7.2.10/bin/php"
/nix/store/kn05vcamay1p0jpr7406y4scldaxjylj-arcanist-20180916/libexec/libphutil/scripts/update_compat_info.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/fpyqp40skdiv31b1d4h7rkj67x3f404f-php-7.2.10/bin/php"
/nix/store/kn05vcamay1p0jpr7406y4scldaxjylj-arcanist-20180916/libexec/libphutil/scripts/daemon/torture/resist-death.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/fpyqp40skdiv31b1d4h7rkj67x3f404f-php-7.2.10/bin/php"
/nix/store/kn05vcamay1p0jpr7406y4scldaxjylj-arcanist-20180916/libexec/libphutil/scripts/daemon/launch_daemon.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/fpyqp40skdiv31b1d4h7rkj67x3f404f-php-7.2.10/bin/php"
/nix/store/kn05vcamay1p0jpr7406y4scldaxjylj-arcanist-20180916/libexec/libphutil/scripts/daemon/exec/exec_daemon.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/fpyqp40skdiv31b1d4h7rkj67x3f404f-php-7.2.10/bin/php"
/nix/store/kn05vcamay1p0jpr7406y4scldaxjylj-arcanist-20180916/libexec/libphutil/scripts/build_xhpast.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/fpyqp40skdiv31b1d4h7rkj67x3f404f-php-7.2.10/bin/php"
/nix/store/kn05vcamay1p0jpr7406y4scldaxjylj-arcanist-20180916/libexec/libphutil/scripts/phutil_symbols.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/fpyqp40skdiv31b1d4h7rkj67x3f404f-php-7.2.10/bin/php"
/nix/store/kn05vcamay1p0jpr7406y4scldaxjylj-arcanist-20180916/libexec/libphutil/scripts/sandpit/harden_directory.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/fpyqp40skdiv31b1d4h7rkj67x3f404f-php-7.2.10/bin/php"
/nix/store/kn05vcamay1p0jpr7406y4scldaxjylj-arcanist-20180916/libexec/libphutil/scripts/format_log.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/fpyqp40skdiv31b1d4h7rkj67x3f404f-php-7.2.10/bin/php"
/nix/store/kn05vcamay1p0jpr7406y4scldaxjylj-arcanist-20180916

Success on x86_64-linux (full log)
Attempted: arcanist
Partial log (click to expand)
/nix/store/sd2zvlsp8q2as92ykgsbain87g9r5kfb-arcanist-20180916/libexec/libphutil/scripts/sandpit/harden_directory.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/ax4ld5rmnagcff08srgxbjpsb75vsmf4-php-7.2.10/bin/php"
/nix/store/sd2zvlsp8q2as92ykgsbain87g9r5kfb-arcanist-20180916/libexec/arcanist/bin/arc: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash"
/nix/store/sd2zvlsp8q2as92ykgsbain87g9r5kfb-arcanist-20180916/libexec/arcanist/scripts/repository/binary_safe_diff.sh: interpreter directive changed from "/bin/sh" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh"
/nix/store/sd2zvlsp8q2as92ykgsbain87g9r5kfb-arcanist-20180916/libexec/arcanist/scripts/arcanist.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/ax4ld5rmnagcff08srgxbjpsb75vsmf4-php-7.2.10/bin/php"
/nix/store/sd2zvlsp8q2as92ykgsbain87g9r5kfb-arcanist-20180916/libexec/arcanist/scripts/hgdaemon/hgdaemon_client.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/ax4ld5rmnagcff08srgxbjpsb75vsmf4-php-7.2.10/bin/php"
/nix/store/sd2zvlsp8q2as92ykgsbain87g9r5kfb-arcanist-20180916/libexec/arcanist/scripts/hgdaemon/hgdaemon_server.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/ax4ld5rmnagcff08srgxbjpsb75vsmf4-php-7.2.10/bin/php"
checking for references to /build in /nix/store/sd2zvlsp8q2as92ykgsbain87g9r5kfb-arcanist-20180916...
wrong ELF type
wrong ELF type
/nix/store/sd2zvlsp8q2as92ykgsbain87g9r5kfb-arcanist-20180916

Success on aarch64-linux (full log)
Attempted: arcanist
Partial log (click to expand)
/nix/store/5m4l7lr6n0742l4wjvsmj4rp3pcnkdzb-arcanist-20180916/libexec/libphutil/scripts/example/subworkflow.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/rn16hz5rzy5rniknwkqnlxykljfmbv18-php-7.2.10/bin/php"
/nix/store/5m4l7lr6n0742l4wjvsmj4rp3pcnkdzb-arcanist-20180916/libexec/libphutil/scripts/example/calculator.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/rn16hz5rzy5rniknwkqnlxykljfmbv18-php-7.2.10/bin/php"
/nix/store/5m4l7lr6n0742l4wjvsmj4rp3pcnkdzb-arcanist-20180916/libexec/libphutil/scripts/daemon/torture/resist-death.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/rn16hz5rzy5rniknwkqnlxykljfmbv18-php-7.2.10/bin/php"
/nix/store/5m4l7lr6n0742l4wjvsmj4rp3pcnkdzb-arcanist-20180916/libexec/libphutil/scripts/daemon/launch_daemon.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/rn16hz5rzy5rniknwkqnlxykljfmbv18-php-7.2.10/bin/php"
/nix/store/5m4l7lr6n0742l4wjvsmj4rp3pcnkdzb-arcanist-20180916/libexec/libphutil/scripts/daemon/exec/exec_daemon.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/rn16hz5rzy5rniknwkqnlxykljfmbv18-php-7.2.10/bin/php"
/nix/store/5m4l7lr6n0742l4wjvsmj4rp3pcnkdzb-arcanist-20180916/libexec/libphutil/scripts/build_xhpast.php: interpreter directive changed from "/usr/bin/env php" to "/nix/store/rn16hz5rzy5rniknwkqnlxykljfmbv18-php-7.2.10/bin/php"
checking for references to /build in /nix/store/5m4l7lr6n0742l4wjvsmj4rp3pcnkdzb-arcanist-20180916...
wrong ELF type
wrong ELF type
/nix/store/5m4l7lr6n0742l4wjvsmj4rp3pcnkdzb-arcanist-20180916


Support for capability statement

Would be great to expose capability statement on /metadata endpoint (TerminologyCapabilities), as specified in http://hl7.org/fhir/http.html.

Hi @psiotwo,
Indeed, that would be really great addition to the FHIR API, definitely on our radar.
Cheers,
Mark

Hi @psiotwo,
It's been a while. I just want to let you know that the /metadata endpoint is now available in the latest 8.0.0 release.
Cheers,
Mark


Add doc on Mutations, Nodes etc

Hi there! Beginner at graphql, I'm slowly discovering the power or graphql and I was wondering how do you add doc to your mutations etc? I'm using PynamoDB and I can't find a way to add doc to the graphiql :thinking:
Any idea ?

https://github.com/graphql-python/graphene-sqlalchemy/issues/111 This doesn't solve my issue :/

Closing as this is not something I work on anymore


Build failing on master

I get the following error when trying to build master -
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project kernel: Compilation failure
[ERROR] kernel/src/main/java/org/kframework/kompile/KompileFrontEnd.java:[74,102] unreported exception org.kframework.minikore.ParseError; must be caught or declared to be thrown

It was temporarily broken due to updated dependencies. Now it should work. You can follow:
https://app.codeship.com/projects/130795/builds/21832044

You can close once you find it is fixed. I think we have to think about a better approach to prevent this happen later.

@daejunpark Thanks.


Verifying Proxy-Authorization Header

I am hoping to use the Junit verify functionality to test that a Proxy-Authorization header is correctly added to my request.  However, the Proxy-Authorization header is stripped from the request before the verification takes place.  It seems like a better flow would be to record the request with all the headers for verification, then remove the headers that will not be passed on.
I've been playing around with this locally and would be happy to create a PR based on your feedback.

This would be possible it would likely require mapping hop-by-hop headers into a request when it gets converted from a Netty request into a MockServer request then removing these hop-by-hop requests before this request is forwarded. From memory I believe in the current approach they are not mapped from the Netty request so they don't get recorded. From memory the correct place to remove the headers would be HttpProxyHandler probably in using a request filter.
I can't see the code at the moment so this may be slightly wrong but i don't think it shouldn't be too hard to do. I can certainly take a look or if you would like to submit a PR that would also work.

Actually it seems like the cause of the problem is that the HopByHopHeaderFilter doesn't clone the request.  So when it removes the hop-by-hop requests they are remove from the request.  In addition the recorded of request can't happen until after the response has been received.  There is a fix for this but it requires slightly refactoring the way the request is sent and may have other side effect.  Partly because the RequestFilters can completely remove a request from the pipeline by returning null.
All of this means the solution is not immediately straight forward but still doable.

This should now be fixed but has not yet been released. To be able to take advantage of this before the next release you could use the latest SNAPSHOT version.

@jamesdbloom Any idea when the next release will be?

The next release will be in the next 2/3 days once I have completed some
work on JSON Schema validation for the REST API.

Sounds good, thanks!

Hey @jamesdbloom, any update for when we can expect the next release?  Thanks!


iOS app not available on AppleSilicon Macs?

Hello,
I absolutely love the app and use it on my iPhone all the time. But now with the AppleSilicon Macs it would be great to also run it on them. Would be great for monitoring in the corner of the screen and having one less tab open. And probably less power draw then the browser.
At the moment it seems it was opted out of the AppStore. Why is that? Is it planned to add it later?
Thanks!

Hi @Technofrikus, thanks for bringing this up. I just configured the App Store to let you run OctoPod app in AppleSilicon Macs. Those M1 look very attractive .... if only they had 32GB and more ports. I'll have to wait for MBP 16'' hoping to have those features

Wow, that was fast, thanks! Works great :) Even the window is resizable. That doesn't work with several other iOS-Apps.
RAM doesn't seem to be such a big issue. Performance is not impacted as much as I would have thought. But more ist still better of course.
https://www.youtube.com/watch?v=h487I_5xOZU

Nice to hear you got it working. It would be great if you could record it running on the new AppleSilicon Macs. Would you be ok if I share your video (if you make one)?
Thanks,
Gaston

Sure can do, no problem :) What do you want me to show? Just clicking though the App and show everything once? Or something else?

Here, I made something :) Hope it helps and is what you were looking for.
https://wenecloud.wenedeux.de/index.php/s/pKR7B6FronRfD3P

That video is very good. I was thinking of doing the same exact video but showing that it is running in your Mac. Maybe show the desktop and the app running so people can see that it is not a recording on my phone but on a Mac?
If you are ok with that video, are you ok if I share it in Twitter and Facebook groups? I think this is very impressive!!! More people will want the M1 now. ;)

Now with the complete display visible and some resizing action. Feel free to use it anyway you want. I'm glad to be able to help :)
https://wenecloud.wenedeux.de/index.php/s/qdNBr5RLPCxAgFy

That video is AWESOME!!!! Thanks so much @Technofrikus for sharing. Have you joined the new OctoPod Facebook group? I will share your video there, on youtube and Twitter. I will mention you as the author.

Glad you like it :) I just joined the group. Happy promoting :)


[Bug]: AttributeError: 'NoneType' object has no attribute 'info'

What happened?
I have a simple class that creates/connects to a persistent Chroma index, along with add and search functions. When I call this class I am get the following error from the duckdb.py library every time:
Exception ignored in: <function PersistentDuckDB.__del__ at 0x7fe22f7f2710>
Traceback (most recent call last):
  File "/home/adam/.local/lib/python3.10/site-packages/chromadb/db/duckdb.py", line 445, in __del__
AttributeError: 'NoneType' object has no attribute 'info'

The traceback seem to point to this line:
    def __del__(self):
>>        logger.info("PersistentDuckDB del, about to run persist")
        self.persist()

The code seems to otherwise execute as expected.
Versions
Chroma v0.3.21, Python 3.10.6, Ubuntu 22.04
Relevant log output
[status] loading config file: /home/adam/Research/machine-learning/fable/fable/../config/fable.conf
Using embedded DuckDB with persistence: data will be stored in: data/fable
No embedding_function provided, using default embedding function: SentenceTransformerEmbeddingFunction
[status] searching for 3 nearest neighbors
[debug] query_str='threat activity' query_embedding=None doc_ids=None top_k=3
[status] found 1 results
found 1 results
Exception ignored in: <function PersistentDuckDB.__del__ at 0x7efb0c38a680>
Traceback (most recent call last):
  File "/home/adam/.local/lib/python3.10/site-packages/chromadb/db/duckdb.py", line 445, in __del__
AttributeError: 'NoneType' object has no attribute 'info'

File "/home/adam/.local/lib/python3.10/site-packages/chromadb/db/duckdb.py", line 445, in del
AttributeError: 'NoneType' object has no attribute 'info'

I don't know if this will help but I came across a similar issue when I was trying to feed data into chroma straight from an SQL query. What was happening was that some fields returned by my SQL query were NULL fields which made chroma produce the same error you are showing. I added some logic to replace NULL with empty strings and everything started working with no errors.
Hope that helps

Oh, interesting! That could definitely make sense... I'll take a look. Thank you for the tip! :pray:

I have the same problem！
When I use HuggingFaceInstructEmbeddings and HuggingFaceEmbeddings, chromadb will report a NoneType bug, but it won’t when I use OpenAIEmbeddings
 iEmbedding = HuggingFaceInstructEmbeddings() db = Chroma.from_documents([texts[0]], iEmbedding ,persist_directory='ss1') db.persist()
Traceback (most recent call last):   File "D:\Anaconda\lib\site-packages\chromadb\db\duckdb.py", line 445, in __del__ AttributeError: 'NoneType' object has no attribute 'info'

Hey, I am using langchain too, version 0.0.143, tested with chromadb version 0.3.21 and 0.3.20.
I can confirm the above behaviour of HuggingFaceEmbeddings vs OpenAIEmbeddings.
Output error:
Exception ignored in: <function DuckDB.__del__ at 0x7f21d773d790>
Traceback (most recent call last):
  File "/home/pedro/repos/finesse_work/.venv/lib/python3.8/site-packages/chromadb/db/duckdb.py", line 358, in __del__
AttributeError: 'NoneType' object has no attribute 'info'

and yes, you can avoid that by forcing the deletion of the object, I did do:
try:
    del vectordb
except Exception as e:
    print(e)

Hi everyone, I've tried to replicate this and I can't seem to. Can anyone provide a code snippet? If this only shows up with HuggingFaceEmbeddings - does that mean it is a Langchain issue?

Hello, I have the same issue but with OpenAIEmbedding :
import langchain
import chromadb
from langchain.document_loaders import DirectoryLoader
#from langchain.indexes import VectorstoreIndexCreator
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.text_splitter import CharacterTextSplitter
from langchain.llms import OpenAI
from langchain.vectorstores import Chroma
import logging
logging.basicConfig(level=logging.DEBUG)

loader = DirectoryLoader('/Users/someuser/dev/ML/data-public-domain/', glob="**/*.*")
docs = loader.load()
text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
texts = text_splitter.split_documents(docs)

embeddings = OpenAIEmbeddings(openai_api_key="mykey")

collection_name="long-docs"
persist_directory="/Users/seomeuser/dev/ML/langchain/poc/content/sample_data/chromadb"
db = Chroma.from_documents(texts,embeddings,collection_name=collection_name,persist_directory=persist_directory)

db.persist()
#db=None

If I uncomment the last line, I have the 'NonType' object has no attribute 'info'

Same issue for me, but I'm getting it when using SentenceTransformerEmbeddingFunction, and NOT via Langchain.

same error,when i use ipython to run the code ,the error disappeared.

@jeffchuber I had this error until I added these two lines to my code: https://github.com/nagolinc/toypedia/blob/master/flaskApp.py#L30-L31

Hi everyone, we have removed the logger from del and do this in a different way
https://github.com/chroma-core/chroma/blob/main/chromadb/db/duckdb.py#L478
sorry for the trouble!

I just came across this too. Any chance we could get a release with this fix? 🙏🏻

@technicalpickles can you tell me more about which versions you are using? i thought we fixed this but maybe we missed something!

@jeffchuber I'm on chromadb-0.3.25. I went to check if the change was integrated, but think I misinterpretted as not released.
Here's the error I'm getting:
cException ignored in: <function DuckDB.__del__ at 0x152d9ec20>
Traceback (most recent call last):
  File "/Users/technicalpickles/.asdf/installs/python/3.10.5/lib/python3.10/site-packages/chromadb/db/duckdb.py", line 387, in __del__
AttributeError: 'NoneType' object has no attribute 'info'

The line in question:
https://github.com/chroma-core/chroma/blob/36855ea68995909fa467320a9281f23f885f1f02/chromadb/db/duckdb.py#L386C1-L388

@technicalpickles hmmm @HammadB any thoughts here? I think you helped clean up similar lifecycle code recently.

The log call needs to be removed from the base duckdb class as well. Logger can be none in del.
The changes we made were only for the subclass PersistentDuckDb which switched to atexit

This resolved it for me:
try:
    client.persist()
    del client
    del collection
except Exception as e:
    print(e)

Those variables are instantiated via:
embeddings = embedding_functions.InstructorEmbeddingFunction(model_name="hkunlp/instructor-xl")

client = chromadb.Client(Settings(chroma_db_impl="duckdb+parquet",
                                    persist_directory=dirname))
collection = client.get_or_create_collection("gardner", embedding_function=embeddings)

@HammadB just to be clear - we should remove/move this line, https://github.com/chroma-core/chroma/blob/main/chromadb/db/duckdb.py#L387?


openclip device bugfix

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

fixes bug with OpenCLIPEmbeddingFunction when passing device="cuda"
Test plan
How are these changes tested?

[x] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?

none needed

cc @itaismith


enabled video in the option for using galaxy tutorial

I was going through the tutorial of adding automatic video to slides and I created one for the " option for using galaxy "  tutorial

Thanks @Alaa-Elghamry.
To really be able to create a video out of this slide deck, all slides should have speaker notes as explained here

We'd love it if you could write those @Alaa-Elghamry ! Just imagine you are giving these slides as a presentation to an audience, and write down what you would say on each slide.

of course! I would be happy to help but I'm not sure I fully understand
where to write my speaker notes though
I tried the tutorial but I just don't get the idea
it would be great if you could explain that to me
On Tue, 2 Nov 2021 at 13:29, Helena @.***> wrote:

We'd love it if you could write those @Alaa-Elghamry
https://github.com/Alaa-Elghamry ! Just imagine you are giving these
slides as a presentation to an audience, and write down what you would say
on each slide.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/galaxyproject/training-material/pull/2959#issuecomment-957353593,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQSL6CC2DBYJS3HUSSSW4ZLUJ7DSBANCNFSM5HAFPPDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You can speaker notes directly with the slides. See the documentation here: https://training.galaxyproject.org/training-material/topics/contributing/tutorials/create-new-tutorial-slides/slides.html#18


[BEAM-5184] Multimap side inputs with duplicate keys and values are being lost

BEAM-5184 Side inputs aggregating multimap changed from HashMultimap to ArrayListMultimap, which allows for duplicated key-value items. Tests in ViewTest modified to exercise duplicate key-value items scenario.

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---
---

Retest this please

Retest this please

Run Java PreCommit

Run Java PreCommit

It seems that Google Cloud Dataflow Runner did not pass one of the updated tests. I tried with direct runner and it pass. Can somebody check the test?

This seems to break Dataflow, it's side input handling is different.
The Jenkins logs for org.apache.beam.sdk.transforms.ViewTest.testMultimapSideInputWithNonDeterministicKeyCoder fail with
Expected: iterable over [<KV{apple, 1}>, <KV{apple, 1}>, <KV{apple, 2}>, <KV{banana, 3}>, <KV{blackberry, 3}>] in any order
but: No item matches: <KV{apple, 1}> in [<KV{apple, 2}>, <KV{apple, 1}>, <KV{blackberry, 3}>, <KV{banana, 3}>]
I'll try to take a look as to why this is failing as the error message is implying a comparison issue since all the values do exist in the actual output

I would say that the error message is a bit misleading. It should say that there is no second KV{apple, 1} in presented collection. The message is hard to understand.

Yes your right. What I find odd is that only the one failed.

I figured out that the issue is that BatchViewOverrides.java is also using a HashMultimap instead of a list based multimap like ArrayListMultimap. I'll send you a patch to add to your PR.

Opened up https://github.com/seznam/beam/pull/25 against your PR branch.

Run Dataflow ValidatesRunner

Run Java PreCommit

Run Java PreCommit

Thanks for your contribution. This should make it out into the 2.7.0 release which is starting soon.

Great. 👍


Fix unused warning in fields_count.hpp

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
407

Relevant Lines:
407

💛  - Coveralls

Would you be open to a PR that changes CIs to use warnings-as-errors=on and warnings=extra so Boost.PFR is ensured to be clean of common warnings for downstream consumers (like me)?

warnings-as-errors=on and warnings=extra

Would you be open to a PR that changes CIs to use warnings-as-errors=on and warnings=extra so Boost.PFR is ensured to be clean of common warnings for downstream consumers (like me)?

Sounds good, please make a PR


SymmetricBlock: Same template for identical blocks in a symmetry pair

Whenever two blocks in a symmetry pair are of the same abstract template, auto-generate a SameTemplate constraint so that these are instantiated using the same concrete template for improved matching.

No longer needed as compiler auto generates SameTemplate for physical hierarchy.


Update scalafmt-core to 2.7.4

Updates org.scalameta:scalafmt-core from 2.7.3 to 2.7.4.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-patch

@mergifyio update


Deploy an NFT collection contract - FetchError: Internal Server Error

Although local sent a request to distribute the NFT collection contract this time, the following error message was displayed.

FetchError: Internal Server Error
    at new FetchError (/home/pslab2/node_modules/api/dist/core/errors/fetchError.js:21:28)
    at APICore.<anonymous> (/home/pslab2/node_modules/api/dist/core/index.js:152:51)
    at step (/home/pslab2/node_modules/api/dist/core/index.js:44:23)
    at Object.next (/home/pslab2/node_modules/api/dist/core/index.js:25:53)
    at fulfilled (/home/pslab2/node_modules/api/dist/core/index.js:16:58)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  status: 500,
  data: {
    response: 'NOK',
    error: {
      status_code: 500,
      code: 'internal_server_error',
      message: 'The request could not be completed due to an internal server error.'
    }
  },
  headers: Headers {
    [Symbol(map)]: [Object: null prototype] {
      server: [Array],
      date: [Array],
      'content-type': [Array],
      'content-length': [Array],
      'access-control-allow-origin': [Array],
      'access-control-allow-headers': [Array],
      'access-control-allow-methods': [Array],
      via: [Array],
      'alt-svc': [Array],
      connection: [Array]
    }
  },
  res: Response {
    size: 0,
    timeout: 0,
    [Symbol(Body internals)]: { body: [PassThrough], disturbed: true, error: null },
    [Symbol(Response internals)]: {
      url: 'https://api.nftport.xyz/v0/contracts/collections',
      status: 500,
      statusText: 'Internal Server Error',
      headers: [Headers],
      counter: 0
    }
  }
}

Please try again or provide more info.
Also ,This is unrelated to this Sample or unity SDK - please divert via https://discord.gg/7SZrVZRs32.


new: multiple builders

What type of PR is this?
/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build
/area cmd
/area pkg
/area docs

/area tests

What this PR does / why we need it:
This PR adds support for multiple builder images.
At the moment, 3 of them are supported:

the old buster one
a bullseye one
a bookworm one

In my tests, they allowed to build basically every 5.X kernel for ubuntu, using config stolen by test-infra, with kernelurls (aside from a bunch of kernel headers not found that probably mean that Ubuntu dropped support for these kernels).
More tests can be useful of course :)
I will try to auto-review the PR to make it easier to follow the code.
Moreover, a new option gccversion is now available, to force a gccversion (and therefore a builder image) for a given build.
Note that i completely dropped support for multiple clang versions, removing clang from our support matrix; if an eBPF probe cannot be built with clang shipped in any of the supported builder distros, then it is a bug of libs and an issue should be opened.
We support clang7+ for our eBPF probe in libs.
Which issue(s) this PR fixes:

Fixes #194
Special notes for your reviewer:
Most probably the CI will fail because the needed builder images are not present (given that they will be pushed only once the PR is merged :D )
We might want to avoid running integration-tests on this one, to avoid the errors; i don't really know.
Does this PR introduce a user-facing change?:

new: support multiple builder images

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Failing tests from make test will be fixed with #201; i will rebase then.

Hey, this PR is incredible/exactly what we need downstream too.

Note that i completely dropped support for multiple clang versions, removing clang from our support matrix; if an eBPF probe cannot be built with clang shipped in any of the supported builder distros, then it is a bug of libs and an issue should be opened.

💯
Seeing all of the standard packages used in the Docker images makes me happy 🙂

Aside from @dwindsor's question on nearest GCC version, I say :shipit: - this is a gamechanger for us downstream where we're looking at having multiple build images around to handle new stuff coming in.
Incredible work 🎉

Thank you both! @EXONER4TED @dwindsor :)
I think i will:

move the builder.README in a doc file under docs
add a new doc file about how to add a new builder image
add a test for defaultGCC function
Port the defaultGCC algorithm to use the nearest greater gcc version instead of the nearest one (?, i am not sure about this one)

I think that to fix tests, we could update this PR using fededp as docker org for the build-test CI jobs; this would allow the build CI job to pass and the new latest img to be pushed to falcosecurity docker org once the PR is merged.
Or, we could also entirely disable the integration tests (that require proper docker images) just for this and then open a new PR to add them back, once the images are pushed to falcosecurity.

Or, we could also entirely disable the integration tests (that require proper docker images) just for this and then open a new PR to add them back, once the images are pushed to falcosecurity.

tbh I think this is the cleanest way forward. wdyt?

Btw to test this out:

update GetBuilderImage to just return image for your arch (because with next step we will just push the image for current arch, not the manifest one with both arm64 and x86_64): assuming you are on x86_64, add "_x86_64" as a suffix to https://github.com/falcosecurity/driverkit/blob/new/multiple_builders/pkg/driverbuilder/builder/builders.go#L235

call push/builder makefile target pointing the env variable DOCKER_ORG(https://github.com/falcosecurity/driverkit/blob/master/Makefile#L19) to your personal dockerhub name, ie: make -e DOCKER_ORG=fededp push/builder

ok now you are good to go!

I will rebase on top of new master.

Rebased :green_circle:

Ok now ci is failing as i thought:
DEBU pulling builder image                         arch=amd64 image="docker.io/falcosecurity/driverkit-builder_buster:latest"
FATA exiting                                       error="Error response from daemon: pull access denied for falcosecurity/driverkit-builder_buster, repository does not exist or may require 'docker login': denied: requested access to the resource is denied"
make: *** [Makefile:127: test/x86_64/configs/al.yaml] Error 1

As per https://github.com/falcosecurity/test-infra/pull/824 issues with various centos 3.X kernels, that need gcc 4.9, i added gcc-4.9 to the buster builder image.

Great job :star_struck:
:clap:

Rebased on top of master ;)

LGTM label has been added.  Git tree hash: 84af6ccc836acc61d57d13f1464166a61725c052

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dwindsor, FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,dwindsor]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Error in directory path?

Are you sure about this:
cd ~/Azure_SAP_Automated_Deployment
cp -Rp samples/Terraform/WORKSPACES config/WORKSPACES
Should it not be:
cd ~/Azure_SAP_Automated_Deployment
cp -Rp samples/Terraform/WORKSPACES samples/WORKSPACES

because, on one of the next pages, there's a reference to the samples/WORKSPACES folder, not the config/WORKSPACES folder....

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

ID: b7989f6b-8843-17dc-36e4-93dec0895590
Version Independent ID: 89d8e28d-c1ea-9ddf-cc86-6cf529559b61
Content: Get started with the SAP on Azure deployment automation framework
Content Source: articles/sap/automation/get-started.md
Service: sap-on-azure
Sub-service: sap-automation
GitHub Login: @KimForss
Microsoft Alias: kimforss

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


Custom Plugin To Revise B and I Buttons

I'm a really strong Javascript coder, but still scratching my head on trying to figure out how to take this documentation:
https://alex-d.github.io/Trumbowyg/documentation/plugins/#create-your-own
...and then make a plugin that intercepts the B and I buttons so that instead of them doing STRONG and EM tags, they do B and I tags in the HTML.
Can you help guide me in the right direction?

You just need to switch semantic: false or customize the object :
https://alex-d.github.io/Trumbowyg/documentation/#semantic

Very good. Thank you.