Error when using $httpProvider.defaults.withCredentials = true

Hi,
There is a problem with CORS when using your library and withCredentials mode is on. Im using angular ver 1.4
Here is error message:
XMLHttpRequest cannot load https://logs-01.loggly.com/inputs/XXX/tag/AngularJS/. A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://localhost:9000' is therefore not allowed access. The credentials mode of an XMLHttpRequest is controlled by the withCredentials attribute.

So the solution is very easy. Just need to add withCredentials: false in your $http config object.
I can do a PR if you want, or you will do it?
Best,
Milos

@milosh012 , thanks for pointing that out.  Go ahead and open a pull request and I'll get it merged in.  Make sure you target the develop branch

@ajbrown Great!, here is PR https://github.com/ajbrown/angular-loggly-logger/pull/42

Released with v0.2.2

@ajbrown Can you make version 0.2.2 available through npm ? I also have the same problem with CORS and I'm using npm for my dependencies.

@Olgagr all done. Sorry about that, It used to auto publish when new tags were added.  I'm not sure when this changed.

@ajbrown One more question: do you think is could be possible for npm package to remove bower as dependency ? Right now, when I install package through npm, the postinstall is called, then bower install that installs angular, angular-loader etc. This is problematic. For example, I couldn't install  angular-loggly-logger during my CI process (I use Jenkins for CI) because Jenkins didn't know what to do with 'bower install' command.


When user likes a highlight, show story to people who follow that user

Don't do this for comments.  We should separately track and design for comments which is more complicated.

Bug Report Dump (Auto-generated)

Version 1.25.0<PHONE_NUMBER>)
Device: iPhone X (iOS 12.1.2)
TestFlight: false

@deekay are you sure? You are reporting Githawk bug of feature request. If not pls close it.
Sent with GitHawk

Sorry, my bad.  Just downloaded Githawk and still trying to figure it out.  How do I close?
Sent with GitHawk


Translate TimeSpan and NpgsqlInterval members

We need to translate things like TimeSpan.Hours. Among other things, this would allow translating expressions such as (a - b).Hours where a and b are timestamps.
NpgsqlInterval is the provider-specific equivalent of TimeSpan, operations on it should be translated as well.
/cc @ralmsdeveloper

Initially we will translate:
(b - a).Days
(b - a).Hours
(b - a).Minutes
(b - a).Seconds

Just to be sure we're on the same page, this doesn't really have anything to do with subtraction - it's just about mapping TimeSpan member access to the corresponding PostgreSQL interval member access.


The forest of the cat slimes

New Area Suggestion
What will this area look like?

it's a forest with cherry blossom trees and tulip fields and it will have water pools and waterfalls and long thick dense grass it's an extension of the moss blanket. In the center of the forest is a temple that looks like it’s from the ancient ruins. Around the temple, you can find fountains and gardens the gardens are growing fruits like cuberries, mint mangos, phase lemons or if you’re lucky it will be growing lucky fruits (the fruits change each day and in the gardens, the fruits are fully grown) there is a lucky slime icon on the front of the temple. There is a big slime face door it needs the tabby slime plort, the hunter slime plort, the calico slime plort, the black cat plort, and the ragdoll cat slime plort to open the door on the inside of the temple is a maze that has black cat slimes littered inside if you reach the end of the maze it opens up to a throne room that has lucky slimes inside and lucky fruits and a golden icon of a lucky slime on the wall above the throne and calmed black cat slimes inside the throne room on the throne you can find a big NewBuck that will stop black cat slime from attacking and you get 1000 NewBucks*

What slimes will exist in this area?

tabby slime, hunter slime, calico slime, ragdoll cat slime, pink slime, and the black cat slime*

What foods will exist in this new area?

cuberries, mint mangos, phase lemons, lucky fruits, fish, henhens, Roostro, White Roostro, briar henhens, and Stoney henhens*

What is the reason for this area to exist?
The Forest was rediscovered by Viktor the Forest was originally discovered by a lucky slime worshipper. The temple was created by the lucky slime worshipper. The reason why people would come to the forest of the cats and the temple is to 1 get more slimes 2 to get lucky slimes and the big NewBuck and lucky fruit
How do you get to this area?
It is behind a slime key door located in the moss blanket
Possible names for the area? (Optional)
The black cat slime, the calico cat slime (or the calico slime whatever you prefer), the Ragdoll cat slime (or the Ragdoll slime whatever you prefer), the temple of lucky slimes and the forest of the cat slimes
Additional context
*The location of the slime key door:

*

cat pog


@conda-forge-admin, please rerender

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/seispy-feedstock#21.


Camera take_picture gets stuck sometimes

System:

OS version: Ubuntu 22.04
Python version (if applicable): Python 3.10
SAPIEN version (pip freeze | grep sapien): 2.2.2
Environment: Server with xvfb

Describe the bug

Although this bug is encountered when I run SimplerEnv, deep down I think it's more related to how SAPIEN takes picture for cameras. But feel free to forward me to SimplerEnv if you think this issue fits in there instead.
When I create a new environment, using this, the process can sometimes (but not always) be frozen forever at this step to take picture. When it occurs, I can't even Ctrl-C the process. And it (almost) never throws an error.
Occasionally, when I launch multiprocessing jobs, I do have seen in my own log files a traceback which might be related to this problem:

Traceback (most recent call last):
  File "[...]/anaconda3/envs/legion_eval/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "[...]/anaconda3/envs/legion_eval/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "[...]/anaconda3/envs/legion_eval/lib/python3.10/site-packages/tianshou/env/worker/subproc.py", line 90, in _worker
    env_return = env.step(data)
  File "[...]/workspace/code/TriBench/tribench/eval/simpler/simplerenv_wrapper.py", line 202, in step
    obs, reward, done, truncated, info = self.env.step(
  File "[...]/anaconda3/envs/legion_eval/lib/python3.10/site-packages/gymnasium/wrappers/time_limit.py", line 57, in step
    observation, reward, terminated, truncated, info = self.env.step(action)
  File "[...]/anaconda3/envs/legion_eval/lib/python3.10/site-packages/gymnasium/wrappers/order_enforcing.py", line 56, in step
    return self.env.step(action)
  File "[...]/anaconda3/envs/legion_eval/lib/python3.10/site-packages/gymnasium/core.py", line 522, in step
    observation, reward, terminated, truncated, info = self.env.step(action)
  File "[...]/workspace/code/SimplerEnv/ManiSkill2_real2sim/mani_skill2_real2sim/envs/custom_scenes/place_in_closed_drawer_in_scene.py", line 246, in step
    return super().step(action)
  File "[...]/workspace/code/SimplerEnv/ManiSkill2_real2sim/mani_skill2_real2sim/envs/sapien_env.py", line 553, in step
    obs = self.get_obs()
  File "[...]/workspace/code/SimplerEnv/ManiSkill2_real2sim/mani_skill2_real2sim/envs/custom_scenes/base_env.py", line 350, in get_obs
    obs = super().get_obs()
  File "[...]/workspace/code/SimplerEnv/ManiSkill2_real2sim/mani_skill2_real2sim/envs/sapien_env.py", line 265, in get_obs
    return self._get_obs_images()
  File "[...]/workspace/code/SimplerEnv/ManiSkill2_real2sim/mani_skill2_real2sim/envs/sapien_env.py", line 313, in _get_obs_images
    self.take_picture()
  File "[...]/workspace/code/SimplerEnv/ManiSkill2_real2sim/mani_skill2_real2sim/envs/sapien_env.py", line 289, in take_picture
    cam.take_picture()
  File "[...]/workspace/code/SimplerEnv/ManiSkill2_real2sim/mani_skill2_real2sim/sensors/camera.py", line 187, in take_picture
    self.camera.take_picture()
RuntimeError: vk::Device::createFenceUnique: ErrorOutOfHostMemory

I'm not sure if they are related.
P.S. 1. I am 80% sure that my GPUs didn't go out of memory even if it says ErrorOutOfHostMemory.
P.S. 2. This error has only been seen a few times when I launch multiprocessing jobs. But in most cases, multiprocessing also just gets stuck wthout throwing an error.
P.S. 3. When I run with a single process, the bug can also occur (but never with this traceback; it's just frozen forever) but in that case it's very unlikely to go out of memory.
To Reproduce

As far as I can tell, this is a probabilistic bug, and might have something to do with GPU models or system-level software. I'm not sure what combination can reproduce the bug, but I'm willing to provide any further information to break this down.
Since I am running SimplerEnv to evaluate my own agent model, the probability of this bug can vary with different models. Thus, I guess it might have something to with the GPU or the driver? Maybe somehow take_picture ends up in a deadlock when it tries to acquire some kind of resources from the GPU?
When I don't load the model and only try to instantiate the env, it seems fine and extremely unlikely to get stuck (I created an infinite loop to repetitively instantiate the env and close it and let it run for an hour without getting stuck).

Expected behavior
The gym.make doesn't get stuck. Or at least it should throw an error.
Screenshots
No.
Additional context
I tried on H100 and L40. This bug can occur on both types.

The out-of-memory is actually due to exhaustion of fences. The message by Vulkan is a bit misleading. The driver is simply saying it cannot create more fences. For each camera, SAPIEN will create a fence to synchronize its work. When creating many cameras across many processes, it seems to hit a limit of the maximum fences that can be created system-wide defined by the driver.
While we do not have a workaround for this issue, in SAPIEN 3 and ManiSkill3, we have introduced GPU-batched camera that allows running many cameras at once sharing the same fence. Simulating and rendering everything in the same process (even on the same GPU) is also much more efficient than ManiSKill2 (often 10-100x faster), so that is now the recommended way to use batched environments. If you would like to switch to ManiSkill3, you can find the documentation here https://maniskill.readthedocs.io/en/latest/user_guide/
For the frozen issue, I cannot really tell what is causing it. I may be able to take a look if you can reproduce it with pure SAPIEN code. SimplerEnv seems to be on top of ManiSkill2, which is 2 layers of encapsulations from SAPIEN and many things could go wrong.

@XYZ-99 since you are using SIMPLER I am still migrating that over to ManiSkill 3 so you can't quite use the new system yet. Hopefully I will have some example environments in SIMPLER ported over to the GPU sim + rendering system for faster batched evaluation, currently only have some of the CPU side of things done.

@fbxiang Thank you for your timely response!

"The out-of-memory is actually due to exhaustion of fences." Then it is strange enough that when I run the same script multiple times with a fixed number of environments, this error sometimes occurs but sometimes doesn't.
Also, if the fence is used to "synchronize", it seems suspicious to me if my "stuck" problem arises from a deadlock when the processes try to synchronize.
I will do more investigation and share any information that I think might be helpful to you to identify the problem.
Thank you for the reminder of the release of ManiSkill3! However, since my use case is mostly in SIMPLER, it might be non-trivial to myself how to migrate SIMPLER to ManiSkill3.

I actually partially migrated SIMPLER just yesterday. See this for how to access the parallelized simpler environments (only bridge dataset atm) and how to run inference fast on it: https://maniskill.readthedocs.io/en/latest/tasks/digital_twins/index.html#bridgedata-v2-evaluation
Runs about 60-100x faster than real world evaluation speed, 10x faster than CPU sim (and higher if you have a good gpu)

@StoneT2000 Thank you for your reply!
Actually I have just seen your tweets on GPU-parallelized read2sim.
May I kindly ask your timeline on this thread of work on google robot (on variant aggregation and visual matching)? No rush, I'm just trying to assess how hard and necessary it is for me to port SIMPLER to ManiSkill3 myself, probably by imitating how you did it for bridge, if all I need is use your GPU-parallelized environment to accelerate the evaluation?

Google robot is complicated because it uses ruckig originally for the controller. I don't know if there exists a GPU parallelized version of the google robot controller out there, so someone would need to write cuda / pytorch code to imitate that controllers behavior. This is the hardest part and why I avoided adding google robot tasks for now.
It's possible but not trivial. It is currently easier now to add new environments for robots that use existing controllers (like pd joint delta pos, or ik based ones that control the end effector like the robot in bridge dataset)

Got it! It sounds non-trivial to take advantage of the GPU-parallelization for google robot then.
I still highly appreciate your work on bridge and I look forward to your any forthcoming update on ManiSkill!

@fbxiang Actually deep down the camera is stuck at this line:
https://github.com/haosulab/sapien-vulkan-2/blob/4914f8747a8cf9f0138c8dbc93e972df19a307d0/src/renderer/rt_renderer.cpp#L377
I don't know if this is going to help your diagnosis, just FYI.


InvertColor tweaks, minor issues

@Mango-3 i missed the review, but there are a couple of points worth reviewing in https://github.com/appleseedhq/appleseed/blob/master/src/appleseed.shaders/src/appleseed/as_inv_color.osl
In https://github.com/appleseedhq/appleseed/blob/master/src/appleseed.shaders/src/appleseed/as_inv_color.osl#L32can you please rename it to as_invert_color ? For consistency's sake with the other nodes.
In https://github.com/appleseedhq/appleseed/blob/master/src/appleseed.shaders/src/appleseed/as_inv_color.osl#L62 please rename the color models rgb, hsv, hls to RGB, HSV, HLS.
In https://github.com/appleseedhq/appleseed/blob/master/src/appleseed.shaders/src/appleseed/as_inv_color.osl#L62 , CIE XYZ and xyY require knowledge of RGB primaries and white point. You need to connect this with the color management information passed by the plugin and/or explicitly add parameters for the user to choose the input color primaries and white point, and the working/rendering space input color primaries and white point.
It's not very intuitive from a user POV to invert CIE x or y coordinates - what does it mean from a user POV? Inverting Y would invert the relative luminance though.
The easiest solution would be to keep it simple and remove the CIE XYZ and CIE xyY options there since RGB, HSV, HLS would cover almost the totality of use cases.
In https://github.com/appleseedhq/appleseed/blob/master/src/appleseed.shaders/src/appleseed/as_inv_color.osl#L71 (and line 82 and 93)
The widget checkBox is either on or off: having the integer min and max values there is redundant.
In https://github.com/appleseedhq/appleseed/blob/master/src/appleseed.shaders/src/appleseed/as_inv_color.osl#L112 this would only work if the input colors are in [0,1] range.
If one wants to deal with HDR input we would need to convert the input into some sort of log representation to compress the range, perform the inversion, and expand again. I'm not sure this is desirable or useful here so take it with a grain of salt. The best solution would be to perhaps just clamp the input color to [0,1] then do the the inversion.

Thanks Luis, great points you have raised.
I have some comments to add.

I renamed the shader as suggested
The color model names are on purpose not capitalized because this is the exact form the OSL built-in color conversion function transformc() expects them. The name strings get passed to it as function arguments via the popup widget. I tried the mapper widget to map RGB -> rgb etc. but it does not work with string-string key value pairs.
I removed CIE XYZ and xyY. Now it is same as with PxrInvert
For Blender integer limits make sense. Blender implements the checkBox widget via adjustable slider type controls where one could easily end up like this:

with negative values causing confusion among users.
Added input color clamping

Thanks Herbert. Regarding the transformc color space, you can use a options & mapper widget with the numerical value (enum) and map the numeric value to the desired string. We do that with the subsurface shader for example, https://github.com/appleseedhq/appleseed/blob/673276031a611be02c0f70a9117f2d3337a0e95c/src/appleseed.shaders/src/appleseed/as_subsurface.osl#L52
Regarding the checkBox widget, that is strange, because OSL considered the possibility of integer sliders, float sliders, besides checkBox (and has slidermin and slidermax tokens too). I can see the problem there. Is this a Blender limitation or Blenderseed limitation? Are all shaders with checkBox widget affected like that?

Ok, I changed the string mapping to have RGB, HSV & HSL in the menu selector.
The checkBox in Blender is implemented this way. If you click on the small arrows left & right of the selector you can decrease/increase the value (which is a integer). If thereare no limits you can just click up and down the full integer range. I keep the limits [0,1] in the OSL file so one can just select 0 or 1. The real issue is that OSL has no dedicated bool type and we just use the integer for a boolean comparison and don't need the integer range of values.
It is no problem to keep the limits and has no effect on the working logic, just helps to avoid confusion for Blender users.

Addressed in https://github.com/appleseedhq/appleseed/pull/2369


Force Vulkan only on Windows

This makes sure that on other platforms than Windows any available backend is picked.

Is the Metal backend mature enough for usage yet?

Is the Metal backend mature enough for usage yet?

I guess Berend will find out :)

As discussed: let's only force a backend if a certain envvar is given

LGTM!

I would expect this to fail, but I forgot that I had simply disabled all render-tests on CI. With this change, there are some tests running on CI (e.g. juggling with buffers and textures) which were previously skipped :)


upgrades to boosted_trees: an example with feature importance + tuning + savedmodel

System information
N/A
Describe the problem
Feature Request: I hate to make a trite request, but is there any plan to add more documentation or examples to the tensorflow.contrib.boosted_trees submodule? Now that there's a GB classifier available, I am hoping to replace my production XGBoost code with boosted_trees as soon as I can prove it out. Perhaps it's my newness to tf.contrib.learn's Estimators and Experiments, but I found the examples a bit opaque and repetitive. For example, would it be possible to have an example script demonstrating these properties:

some feature importance metrics (I see the Hooks but don't know how to use them)
some type of hyperparameter tuning (max_depth, examples_per_layer, etc.)
the implementation of an ExportStrategy in the Experiment; or better yet, throw away the experiment and directly operate on a trained Estimator. I'm struggling to write a proper serving input function
a (perhaps commented out) example of using each input in the GradientBoostedTreeClassifier constructor

Sorry to ask for hand-holding here. It's just taking me longer than usual to figure these things out from the source code.
Also, to the extent that I've figured out some of these, are you welcoming PRs for more thorough examples?

I also notice that boosted_trees is using what I think is a deprecated version of the Estimator class. I discovered this when <instance of GBTClassifier>.train(input_fn=my_input_fun) throw an error. Seems like .fit accomplishes the same goal but this created some uncertainty about how compatible the boosted_trees estimators were with other tf features (like SavedModel).

@ThomasColthurst

There are some examples here but I agree that we should add the documentation and examples for the scenarios you mentioned (feature importance, exporting and predicting, etc). SavedModel export should work.
boosted_trees estimator is implementing the older version of estimator (tf.contrib.learn.Estimator) that didn't have a train() but switching to the new Estimator is on the roadmap is well.

Sounds great, thanks so much for addressing my questions.
As for generating a more thorough example, I'm happy to assist if you guys need help. If you DM me a snippet for feature importance I can probably figure out the rest.

I added an example here.  Contributions are also welcomed :)
The serving_input_fn in the example takes in tensorflow.Example but you can see the implementation and adjust it based on the type of input you want to serve.

Mind reposting the link to your example? I’m getting a 404 not found when I click on it. Thanks!

Here is the commit: https://github.com/tensorflow/tensorflow/commit/20e2fdc2f95f213eef5a736a140d8591ef7a5b6e

It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.


WIP: JSON output with --write flag

Closes #10
When running cargo bench -- --write, produce a JSON file of the following shape:
{
  "main.parse.strings": {
    "display_name": "strings",
    "sample_count": 100,
    "iter_count": 200,
    "time": {
      "fastest": 921251,
      "slowest": 1322751,
      "median": 954001,
      "mean": 980421
    },
    "counts": {
      "bytes": {
        "fastest": 60,
        "slowest": 60,
        "median": 60,
        "mean": 60
      }
    }
  },
  ...
}

for this benchmark:
main               fastest       │ slowest       │ median        │ mean          │ samples │ iters
├─ parse                         │               │               │               │         │
│  ╰─ strings      921.2 ns      │ 1.322 µs      │ 954 ns        │ 980.4 ns      │ 100     │ 200
│                  65.12 MB/s    │ 45.36 MB/s    │ 62.89 MB/s    │ 61.19 MB/s    │         │
...

The JSON file is written to $CARGO_MANIFEST_PATH/target/divan/{time}.json, where {time} is a RFC3339 formatted timestamp, e.g. 2023-11-12T22:12:00.231816795Z.
I'm planning to create a web app to plot and compare different benchmarks, show changes over time, etc.
TODO:

[ ] create a nested JSON object, instead of joining benchmark names with .
[ ] make it an optional feature? (so users need divan = { version = "*", features = ["json"] } to opt-in)
[ ] include info about the git revision (branch, tag, commit, commit date)?

Feedback is appreciated!

Any progress on this, given it has been draft for 65 days?
I also need json output for a report, so am considering just doing it myself.


Typo in Pyanodons Industry Changelog

Mod source
Factorio Mod Portal
Which mod are you having an issue with?

[ ] pyalienlife
[ ] pyalternativeenergy
[ ] pycoalprocessing
[ ] pyfusionenergy
[ ] pyhightech
[X] pyindustry
[ ] pypetroleumhandling
[ ] pypostprocessing
[ ] pyrawores

Operating system
MacOS
What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[X] Other

What is the problem?
There seems to be typo in the Changelog for version 2.0.8
"refuced charge energy of construction zone extenders mk02 from 5MW to 3MW and mk03 from 6MW to 4MW"
I believe that should be "reduced".
Steps to reproduce
Go to https://mods.factorio.com/mod/pyindustry/changelog and click on Changelog
Additional context

Log file
No response

Fixed. Thanks for the report.


Add styling rules to limit size of the FQDN column.

Add styling rules to limit size of the FQDN column. Break words for very long FQDNs.
References #221.

You may not enjoy the fact that it breaks words. In this case, I may suggest simply lowering the font-size or using internal php magic to force-shorten the too-long FQDN and add an ellipsis (...) to the end which will avoid needing to add styling rules.

How it looks with this:

I think we could just add a CSS class that handles word-wrapping since I can see this being needed on quite a few other columns around the panel.
Also, with 0.6.0 implementing a new theme it might be best to wait for that to be released before implementing this fix. I'm going to leave this open for discussion, let me know what you think.

I'm going to close this as we've changed our theme for 0.6.0 which addresses these issues by making scrollable tables when things get too long.
Thanks for your PR, and I hope you'll continue to support this project! 🛩


[NoQA] add generatePolicyID

cc @thienlnam
Details

Add generatePolicyID() to generate PolicyID on the client.
Fixed Issues

$ https://github.com/Expensify/Expensify/issues/224679
Tests

N/A This function is going to be used for https://github.com/Expensify/Expensify/issues/224690
QA Steps

N/A
Screenshots

N/A

Hmm it's failing because of no-unused-vars eslint rule, I think it will be better to move this function to NumberUtils.js and import it into Policy.js when it's used. What do you think @thienlnam? In that way, I could also add a unit test here

Hmm it's failing because of no-unused-vars eslint rule,

You should just be able to include the variable in the export below to fix this error

Going to merge to push this forward - feel free to leave comments still if you notice something @MonilBhavsar

Tests had passed

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @thienlnam in version: 1.1.90-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Update IcedID.yar to avoid False positives in HTML and PCAPs

We see a lot of false positives for this rule.
IcedID uses google analytics cookie names for these values, and this is what this rule detects.
This is a problem, because you'll find a lot of google analytics cookies in Pcaps, python scripts,  html files, etc. I suggest restricting the detection to PE files, should solve most of the false positives for this

Thank you!


[frontend] [backend] add backend API, frontend form for editing questions

@sltsheryl Does it LGTY besides the prettier warnings?

@sltsheryl Does it LGTY besides the prettier warnings?

i will try to implement to pre-fill in the edit form with the previous data

@sltsheryl Does it LGTY besides the prettier warnings?

sorry abt the previous comment, i went to edit a non valid question so i thought there wasnt a pre filled edit form
for the backend, we are still able to access http://localhost:3000/question/<question-id>/edit
where question-id is not an existing question, should we throw error for this

Yes, I intend to address that in one swoop by implementing a middleware for 404 pages. Even for non-valid pages, others are allowed to access them.

currently when i go to
eg. http://localhost:3000/question/2/edit (a valid question)
and don't edit anything, and press submit question, i am able to edit nothing, is this the intended behavior or shd we disallow/ show a warning

This behavior is harmless and does not affect the functionality of the application. While I suppose it does incur some cost in computation, I assume this is negligible.
Additionally, making the submit button not available on the frontend should be a relatively easy fix after this PR.

I believe that 'duplicate checking' actually caused some other issues, which is why I deleted it. But I will explore it, good option for implementation.
I assume 'invalid questions' means duplicate questions?

I believe that 'duplicate checking' actually caused some other issues, which is why I deleted it. But I will explore it, good option for implementation.
Thank you @sltsheryl .
I assume 'invalid questions' means duplicate questions?

oh what other issues? im afraid if i overlooked if it's serious

Forget I said anything. Duplicates disallowing implemented.


chore(master): release 1.1.2

:robot: I have created a release beep boop
1.1.2 (2023-11-19)
Bug Fixes

Cannot use strwidth to get string length (#1635) (9e0cff5)
highlight: Do not clear custom highlight groups directly (#1633) (f5381a7)
rework :tabnew (#1601) (1bff688)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/vscode-neovim/vscode-neovim/releases/tag/v1.1.2 :sunflower:

@theol0403  It seems that v1.1.2 is not published normally

Maybe the token expired. I'll have to message alexey.

It may not be related to the token. This is the error message when publishing.

Worked when I published manually


read_gbq should offer an option to save to dataset

Right now read_gbq runs a query and retrieves the results into a data_frame. If one wants to also save it into a dataset table, one then has to call to_gbq which would stream the results back.
The bq command line tool has an option to pass a destination dataset table immediately on query to store the results.
cat queries/sample.sql | bq query --format csv
  --destination_table=collection.table_name > output.csv

Ideally read_gbq would have an additional option like destination_table that could store the results immediately.

cc @parthea1 @aaront @jacobschaer

It looks like the configuration obj for the query job here can take a destinationTable parameter, so we just have to carry it through:
https://github.com/pydata/pandas/blob/f71537ab2561ab5727008095e9685966619fa7b9/pandas/io/gbq.py#L325-L331

xref to #10474 not really sure we should support this

cc @parthea

I'm ok with closing this feature request. I'll keep PR #11209 in my back pocket in case this gets raised again.
Looking at #11209 again, it would be cleaner to create a new api function gbq.bqresults_to_gbq() rather than re-define the existing read_gbq() which returns a DataFrame

@jreback Can we close this as duplicate of #10474 , and continue the discussion there?

sure


parse_ipv6 example query incorrect (copy-paste typo from parse_ipv4_mask)

The example query for the parse_ipv6 function is unrelated with the function as it is using content that should have been used in the parse_ipv4_mask function example. This seems a copy-paste typo.

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

ID: 081657b6-f5c0-42c4-d360-8fb00887fa61
Version Independent ID: ecf247ab-0c30-8774-df2e-1854ddb7dd5b
Content: parse_ipv6() - Azure Data Explorer
Content Source: data-explorer/kusto/query/parse-ipv6function.md
Service: data-explorer
GitHub Login: @orspod
Microsoft Alias: orspodek

Thanks for the feedback! We have assigned the issue to the content author to further review this and update the document as appropriate.

@helderpinto Thanks for your feedback. We've submitted a documentation change based on your suggestion, and the updated article should be live by tomorrow. Please let us know if there's anything more we can do for you. To follow up on this issue, leave us a comment with an @mention.
#please-close


Made enchanted books source more consistent and some small fixes

Feel free to comment if anything looks wrong

While you are at it if you want can you add the stuff to: Hecatomb, delicate and champion

While you are at it if you want can you add the stuff to: Hecatomb, delicate and champion

Anything more besides source and what to apply it to?

While you are at it if you want can you add the stuff to: Hecatomb, delicate and champion

Anything more besides source and what to apply it to?

Dont think so

Source*


Shared event delegation

Updating selections between linked graphs isn't trivial-- I've been coordinating x,y brush selection between multiple visualizations with context & reducers and thought it'd be nice to have something abstracted for this.
Victory has the SharedEvents component that offers a nice api.
I'm wondering if this kind of feature is in line with the vx roadmap?

hey @goaaron 👋, thanks for checking out vx.
this is an interesting idea. I don't think this is out of line with vx, but we may need to think about the API a bit and what exactly this could be used for. personally I find the Victory api strange, particularly the mutations (I don't think that's super aligned with vx, which is more declarative).
I'm actually doing something similar with event/tooltip state in our POC for a higher-level XYChart package (see here). My initial inclination is that you could do this with React Context. In the XYChart POC it also worked well to be able to have a useTooltip hook, which managed state for one component, and then wrap that in Context provider so it could be used for any child consumer as you're describing here. (this may not make as much sense for event delegation, since that's likely always going to be relevant to multiple components)
Curious if you have any more thoughts on what sorts of things you think this could handle. Maybe it could be built as part of the XYChart POC (as a separate package) for fleshing out the API + testing.
curious if @techniq has any thoughts on this.

Context is meant more for things that are updated infrequently (theme, logged-in user) and shared by many components. Where I think in the case of tooltips, we should want to relay frequent events like mousemove on a chart around to other components or charts. In the case of a business dashboard where selecting a time interval highlights the interval across the dashboard, etc.
Maybe we should explore a global event emitter design? share the emitter through context and use hooks for pubsub.
quick sketch of the idea: https://codesandbox.io/s/vibrant-architecture-24kbx?file=/src/App.js

x tooltip position is shared across charts and y is local the currently hovered chart. probably a lot more we could do here.

Looks like long-term, concurrent mode safe, react way will be the new useMutableSource() hook:

RFC https://github.com/bvaughn/rfcs/blob/useMutableSource/text/0000-use-mutable-source.md
PR https://github.com/facebook/react/pull/18000


Laravel 11.x Compatibility

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 11.x.
Before merging, you need to:

Checkout the l11-compatibility branch
Review all comments for additional changes
Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

:warning: The latest version of Laravel has a dependency for phpunit/phpunit of ^10.5. If you would like to also upgrade your tests, you may run the PHPUnit 10 Shift for free.

:information_source: Shift detected you do not have a CI workflow using GitHub Actions. If you would like, Shift can help you get started with the CI Generator. Although the Shift is paid, GitHub Actions is free and having a CI workflow will improve the stability and review process for your package.

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.
To do so, temporarily add Shift's fork to the repositories property of your composer.json:
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/laravel-responder.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:
{
    "require": {
        "flugger/laravel-responder": "dev-l11-compatibility",
    }
}

Finally, run: composer update


Issue 3467 - Non-int integral template parameters not correctly propagated

http://d.puremagic.com/issues/show_bug.cgi?id=3467

I believe issue 3467 is invalid.

I've commented into bugzilla, and REOPENed the issue.
Bug 3467 is definitely a bug.

Updated patch for issue 2550.

The matching level of template value parameter should be calculated base on the original argument type.
Stored expression into dedtypes->tdata()[i] should be optimized to value parameter type.
It is need for internal comparing, and it is the root cause of the issues.

And rewrote title.


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/ldittmar81/ioBroker.info

[x] [E105] Title should not have ioBroker in the name. It is clear, for what this adapter was created. Now: ioBroker information tab
[x] [E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.info"

ERR:["E105","E201"]:ERR
Thanks,
your automatic adapter checker.

Thanks, that all bugs have been fixed.


Update README

It's so useful for me if this plugin works well and I'd like to contribute to this repo. Would you mind to add me as a collaborator?


Colab broken

Started investigating fixing it manually in colab with the following (but a PR with these changes + others needed be much appreciated!). The GPU colab in the readme should always work (idc if the TPU one doesn't, as its harder to maintain).

import issue in app.py: needs to be from stable_diffusion_videos.image_generation import generate_images
import issue in notebook itself, need to do:

from stable_diffusion_videos.stable_diffusion_pipeline import StableDiffusionWalkPipeline
from stable_diffusion_videos.app import Interface

jaxlib throws some issue in gpu colab even when we don't touch jax related stuff, due to some import changing and the hardcoded diffusers verison not being compatible. I had to:

pip install jax==0.4.19 jaxlib==0.4.19

realesrgan has issue on import same as this one. I would guess its fixed upstream and we need to pin new version (hoping it doesn't break something else)

Fixed by #207


ws hangs on to ports when sockets close;can't reuse

This has been a nuisance  issue. Need to make a simple tests case to present to the ws people.
I don't open one socket for the duration of a user session; open and close edit operation of a dataset. Maybe I should look for a way to do it without ws; will look up the spec a bit

Seems some of the issue is the removal of flags arg from on message in the ws project. Changed to using typeof to check or string an assume binary otherwise

If I avoid async on the client side it seems to work; do need to work in cancelling and better error handling

reworked the more conventional way so this problem goes away


size_frac_up definition: size_frac_low and size_frac_up definitions are the wrong way round

Current term details
Please supply the current details of the term that you would like to update:
Term name - size_frac_up
Term ID - MIXS:0000736
Structured comment name -
Definition - Refers to the mesh/pore size used to retain the sample. Materials smaller than the size threshold are excluded from the sample
Expected value -
Value syntax -
Example -
Preferred unit -
Package(s) -
Relationship to other MIXS terms [if applicable] -

Suggested update(s)
Please supply the new suggestions for any of the details listed below (only insert text to those details that should be updated):
Term name -
Structured comment name -
Definition - Refers to the mesh/pore size used to pre-filter/pre-sort the sample. Materials larger than the size threshold are excluded from the sample
Expected value -
Value syntax -
Example -
Preferred unit -
Package(s) -
Relationship to other MIXS terms [if applicable] -

Additional context
size_frac_low and size_frac_up definitions are the wrong way round

see
https://github.com/GenomicsStandardsConsortium/mixs/issues/566
https://github.com/GenomicsStandardsConsortium/mixs/issues/699
https://github.com/GenomicsStandardsConsortium/mixs/issues/566

Corrected with this PR: https://github.com/GenomicsStandardsConsortium/mixs/pull/825


Add form to upload services via CSV

GIF

Key changes
educators_controller.rb, service_uploads_controller.rb

Move service uploads into its own controller, now that it has REST-type actions (create, index, destroy...)
Make sure only districtwide access users with admin status can access the service uploads controller actions
Add spec for ServiceUploadController authorization and #create method

new_service_upload.js

React form for validating the params for a new service upload & sending the request for a valid upload to the server

service_upload_detail.js

React component for showing details of a past uploaded service, with links to the student profiles for students with the service

service_uploads_page.js

Wraps the new_service_upload + service_upload_details

Issue

#820

TODO

[ ] Fix specs
[ ] Tighter client-side validation

[ ] Validate start date / end date format
[ ] Validate that start date comes before end date
[ ] Validate service type names

[ ] Add more robust JS tests

🚢 ing


New release of casepro with reply affinity support

@rudigiesler, @miltontony & @erikh360 I merged in develop into docker-production and resolved the conflicts. There seem to be a few smaller changes that hadn't made their way into production yet,  like the <redacted> stuff.
There also seem to be some older changes that never got shipped as part of production (like bootstrap_dev.py and some whitespace changes in Angular stuff.
Ready for review though.


Add an hotkey for the "Scope to this" command.

It would be great if we could setup a customizable hotkey to quickly focus a folder by just hovering it with the mouse instead of opening the context menu !

Great suggestion! Unfortunately, I don't have the capacity to implement it. PRs are more than welcome!

Or simply use it on an open file and set the scope to its parent folder. I would also like a command as I rarely use the context menu due to clutter.

That's a great idea either. Can you please assist with a PR?


[FEATURE REQUEST] Consider failing after excessive resource oversteps to avoid storage space exhaustion

I recently ran into an issue where I had my user file descriptor (nofile) soft and hard limit set too low for the way I was using feroxbuster, causing some undesired output. The file descriptor is obviously a system configuration issue and not the fault of feroxbuster, and I addressed it. To be clear, I have no reason to think (at this time) that there is any issue with file descriptors leaking- that's not what this issue is about. I simply was too agressive with feroxbuster given my fileno rlimit. That said, please see the additional comment I added to this issue
What drew my attention to the resource overstep/failure was generation of an extremely large output file from a single instance of feroxbuster running at the time. I was using a wordlist with 42,000 lines. The output file that was created for a single instance of feroxbuster eventually became 12GB, which exhausted my free diskspace and finally caused feroxbuster to die.
In my opinion, it would be desirable for feroxbuster to exit upon repeated file descriptor creation failures as opposed to continuously logging the failure to acquire a descriptor
The reason I'm leaning towards this being treated as a bug or feature request, rather than just making sure the file descriptor limit is set high enough on the system is that despite only having 42,000 words in the wordlist, at the time the process died, the log file for the run was 61,208,507 lines (12GB, as I said)
This is due partially to how feroxbuster recurses/spiders into discovered directories, though even still that seems a bit high- though it was worth pointing out- the file was too large for me to | sort | uniq -c to see if there were duplicate entries, but it seems irrelevant if the behavior of feroxbuster is changed to be more defensive when it encounters resource limits.
Given that upon encountering a hard resource limit produced such a large file, might it make more sense to fail early and hard when resource limits are hit? Or maybe as a middle-ground, after some threshold for the count of errors, in the event that other processes on the system are only temporarily holding the bulk of the available file descriptors and may soon release them? Maybe sleep and retry logic would be appropriate?
Additional context

Debian 10 system
nofile set to 100,000 for my user (soft and hard)
10 concurrent instances of feroxbuster running at once (which caused this limit to be reached) each using -r -t 30
Used cargo to build feroxbuster from source, feroxbuster -V showing 1.5.3

Thanks, and sorry for the flurry of bug/feature issues, I've taken a lot of interesting in the project and hope that some of these can be helpful

I should note that while i had 10 instances running simultaneously when I hit this limit- which was 100,000 per ulimit -n- I was using -l 30 for each instance. Maybe I'm misunderstanding how -t and -L work. I had -L unset, which I see then defaults to Limit total number of concurrent scans (default: 0, i.e. no limit)
Am I incorrect in understanding that -l 30 would (functionally) limit the total number of connections at one time to 30?

Thanks, and sorry for the flurry of bug/feature issues, I've taken a lot of interesting in the project and hope that some of these can be helpful

Don't apologize, I'm very happy you're using feroxbuster and providing feedback.  All of your input has been awesome!
As for the nofile limit, the tool automatically adjusts the soft limit for the current process to 8192 (if it's lower than that) as a sane default (added in 1.5.2).  Not to say that would help your issue, just mentioning it as it's at least somewhat related to the discussion.
This particular problem, in my opinion, is really that logging is too verbose.  This is something I noticed before, especially where we log a reqwest::Response or FeroxResponse struct.  The debug output of these structs show the body of the response, which I think is the real problem you saw.
When you ran the scan, did you use any -vs?

I should note that while i had 10 instances running simultaneously when I hit this limit- which was 100,000 per ulimit -n- I was using -t 30 for each instance. Maybe I'm misunderstanding how -t and -L work. I had -L unset, which I see then defaults to Limit total number of concurrent scans (default: 0, i.e. no limit)
Am I incorrect in understanding that -l 30 would (functionally) limit the total number of connections at one time to 30?

-t 30 limits the scan to 30 threads per directory scanned.  Of note, these aren't system threads, but 'green' threads.
To truly have only 30 active requests to a site at any given time, -t 30 -L 1 would be necessary.  -t 30 -L 2 is 60 total requests being processed at any given time for that site, and so on...
Your scan(s) had 30 * [Total number of directories scanned] across all 10 instances.  This could quickly get out of hand, lol.

I toned down some of the dependencies' logging and ensured that the response bodies aren't getting logged anymore.  The code is in the same branch I started for the dns logging request.
-vvvv
-rw-rw-r--  1 epi epi  33M Nov 14 15:35 stuff-master-trace
-rw-rw-r--  1 epi epi  14M Nov 14 15:39 stuff-new-trace

-vvv
-rw-rw-r--  1 epi epi 482K Nov 14 15:37 stuff-master-debug
-rw-rw-r--  1 epi epi 205K Nov 14 15:38 stuff-new-debug

Sorry, to further explain why i think logging is the core problem:  There's nowhere in the code where a log::error statement would generate anything more than what's expected from a log statement.  On the other hand, if you used -vvvv, your logs would have blown up with multiple instances of the same response body per request.  The latter is the one that seems most likely to me when considering a 12 GB log.

When you ran the scan, did you use any -vs?

I did not use -v

I should note that while i had 10 instances running simultaneously when I hit this limit- which was 100,000 per ulimit -n- I was using -t 30 for each instance. Maybe I'm misunderstanding how -t and -L work. I had -L unset, which I see then defaults to Limit total number of concurrent scans (default: 0, i.e. no limit)
Am I incorrect in understanding that -l 30 would (functionally) limit the total number of connections at one time to 30?

-t 30 limits the scan to 30 threads per directory scanned. Of note, these aren't system threads, but 'green' threads.
To truly have only 30 active requests to a site at any given time, -t 30 -L 1 would be necessary. -t 30 -L 2 is 60 total requests being processed at any given time for that site, and so on...
Your scan(s) had 30 * [Total number of directories scanned] across all 10 instances. This could quickly get out of hand, lol.

Thank you for this explanation! This is really helpful. Maybe I missed it in the documentation. If not, will you consider adding it, or will you accept a PR with that bit added?

I should note that while i had 10 instances running simultaneously when I hit this limit- which was 100,000 per ulimit -n- I was using -t 30 for each instance. Maybe I'm misunderstanding how -t and -L work. I had -L unset, which I see then defaults to Limit total number of concurrent scans (default: 0, i.e. no limit)
Am I incorrect in understanding that -l 30 would (functionally) limit the total number of connections at one time to 30?

-t 30 limits the scan to 30 threads per directory scanned. Of note, these aren't system threads, but 'green' threads.
To truly have only 30 active requests to a site at any given time, -t 30 -L 1 would be necessary. -t 30 -L 2 is 60 total requests being processed at any given time for that site, and so on...
Your scan(s) had 30 * [Total number of directories scanned] across all 10 instances. This could quickly get out of hand, lol.

Thank you for this explanation! This is really helpful. Maybe I missed it in the documentation. If not, will you consider adding it, or will you accept a PR with that bit added?

I don't believe that behavior is explained in that way anywhere in the docs.  I'd 💯 accept a PR for that, lol!

So it sounds to me like (unless there is some unidentified/undiagnosed descriptor leak, which I'm not suggesting there is) that the information you've provided here and the bit of extra log suppression you've added have put me in a good place to deal with this myself
I'll close this out and see if I can sneak something into the docs and PR it. I'll assume the primary README.md is an appropriate place unless you specify otherwise (maybe you want a dedicated "advanced documentation" or something?)
Thanks for being so responsive, I really appreciate it.

There's an FAQ section that might be appropriate.  An advanced section would work too.  Really it's dealer's choice, whatever you think works best/where you would have expected to have seen it.
Thanks for giving such awesome feedback!  The least I can do is provide a timely reply, lol

Actually, a bit of clarification if you don't mind- you made the distinction between system threads and "green threads". I'm completely new to Rust (as well as the concept of green threads) but have a background in C so I think I've been able to untangle this. After reading some docs, my understanding is that

Green threads all exist within one OS process (e.g. do not use clone, vfork or any OS system calls that facilitate creation of traditional OS threads)
Green threads are scheduled entirely by the user-space runtime/VM (in this case, the Rust run-time, or some third-party library) as opposed to being scheduled by the kernel scheduler. This is required because the kernel knows nothing about these user-space threads, they appear as a single process/lwp to the kernel. Similarly, they consume less kernel resource than traditional threads, and do not impact system rlimits as much (specifically the nproc limit, which limits how many OS processes may be created by a user/group)

I think this is roughly correct, so I'll include a very brief bit about it, mainly because I think the detail about scaling up threads not affecting the nproc limit will be interesting and important to users using very aggressive settings

FYI, I created #129 with the documentation enhancements if you want to give it a look. Hopefully I got the details right

You've got the gist of it.  If you're familiar with go's goroutines, python's coroutines (part of async/await), kotlin's coroutines, etc... they're all generally the same as what's used in feroxbuster.

Hello all,
not sure, if this is the right place. I was pointed to here when reading the docs.
I am a bit confused on how to establish an overall rate-limit when running feroxbuster.
Here the docs say, that an overall rate limitation can be achieved by ./feroxbuster -u http://localhost --rate-limit 100 --scan-limit 1 (https://epi052.github.io/feroxbuster-docs/docs/examples/rate-limit/#examples).
But then, the default number of threads is set to 50. And I am not sure, how the number of threads affects the overall rate limit. So would that mean, setting a rate-limit plus a scan-limit is then still multiplied by the number of threads?
Or is the rate-limit plud the scan-limit acting globaly and distributed over all threads that are running totally?
I'd be glad to get more and more clear information on this.
Thanks a lot!

howdy! that's a fair question.
the formula is
rate-limit * scan-limit == overall rate limit

a low thread count might prevent you from reaching your preferred rate limit, but a higher thread count can't push a scan over the rate limit.
rate limits are enforced on a per-directory basis, that's why scan-limit plays a part in the formula.
Does that make sense?

Hi @epi052,
thanks for the super fast reply.
So, just to be sure I understand you correclty:
If I want to make sure, that my target URL is only hit by say 4 requests/second, a --rate-limit 2 --scan-limit 2 would do, even if the number of threads was set to an insanely large number?
Thanks a lot for your replies and the amazing tool you developed!

not just me, but tyvm for the kind words!
yes, you've got it.
play with the thread count and call me out if i'm a liar, but that's the way it's supposed to work.

Thanks again and of course to all who contributed!
Just noticed that during a scan something like "removed rate limiter" or "increased scan speed" appeared.
What does that mean? Will the parameters --rate-limit or --scan-limit be automatically overriden?

if you're seeing those, and not using --auto-tune, i'm printing messages when i shouldn't be.
The limit itself should be fine, but i'll take a look this evening

Thanks once more. No, I'm not using --auto-tune.
Here's what I've been running:
feroxbuster -u https://TARGET_URL --rate-limit 2 --scan-limit 2 --thorough -x pdf -x exe -x php -x dat -x txt -x log -x js -x sql --extract-links -t 1

ahhh, --thorough implies auto-tune
      --smart
          Set --extract-links, --auto-tune, --collect-words, and --collect-backups to true

      --thorough
          Use the same settings as --smart and set --collect-extensions to true```

auto-tune tries to go as fast as it can without spurious errors.
try using this
feroxbuster -u https://TARGET_URL --rate-limit 2 --scan-limit 2 -x pdf exe php dat txt log js sql --extract-links --collect-words --collect-backups --collect-extensions```

Thanks again, it is very kind of you that you take the time to answer my stupid questions.
I still don't fully get it.
It would be nice, and I considered it that way, that applying a rate-limit plus a scan-limit supersedes all other parameters, that have an influence on the requests/second. Is it not this way?
In the doc it says --auto-tune  Automatically lower scan rate when an excessive amount of errors are encountered
It does not state, that auto-tune would also try to increase the requests/second.
So are the maximum allowed requests/second defined by rate-limit * scan-limit a "hard" limit, or not? Can those settings be circumvented by any other parameters?
Sorry for bugging on you with this point. But I really want to be carefull to not cause DOS by flooding targets with an insane number of requests/seconds.
This is exactly why I normally don't use tools, which I have not written myself. I don't want to accidentally cause DOS to the targets I am scanning (mainly bug bounty platform targets)..
There are so many nice tools around, but it seems to be really almost impossible to fully control the scan rate, which is a pity.
I'd like to keep on using feroxbuster, which I only just discovered. But I need to be sure to have full control over the absolute number of requests/seconds on a "per target" base, not a "per thread" or "per directory" or whatever base..
Many thanks again and sorry for bugging.
Cheers from Switzerland and have a [nice_time_of_day_in_your_timezone]


500 Internal Server Error on invalid password

When entering username correctly and password wrong, the client browser gets a "500 Internal Server Error" and the logs show:
time="2021-01-28T01:11:03Z" level=warning msg="Failed to authenticate: LDAP Result Code 49 \"Invalid Credentials\": 80090308: LdapErr: DSID-0C09044E, comment: AcceptSecurityContext error, data 775, v2580\x00" time="2021-01-28T01:11:03Z" level=debug msg="<<< GET /auth 401"
Shouldn't the client be getting a 401 instead of a 500?
Other login failures where the username is wrong give the client a 401:
time="2021-01-28T00:59:49Z" level=warning msg="Failed to authenticate: User does not exist" time="2021-01-28T00:59:49Z" level=debug msg="<<< GET /auth 401"

Hi, thanks for reporting, it certainly looks like a bug and the client shall get 401.

Hi, thanks for reporting, it certainly looks like a bug and the client shall get 401.

Understood.  Thank you for looking into it when you have time.


Proposal: Hide Developers, Service Integrators, and Contributors nav items on smaller viewports.

Since the home page directs people to the various use cases with big ol' buttons, and since hamburger navs are awful for UX, I think we can buy back some screen real estate on smaller viewports by hiding these nav items.
This would only happen when horizontal space is too limited to display the full nav.
This affects the mobile-friendliness of the site (#36), so we should talk about it sooner rather than later.
Tagging @nauerz-ibm, @krook, @mrutkows, @jthomas, @yumeforever for feedback.

:+1: on this. I'd find it difficult to hit the links on a mobile screen from this header section.


CME and visual problem when switching back to Home tab

TL;DR:

Java 9 complains about illegal reflective access
ConcurrentModificationException when switching back to Home tab after the chat project started completely
Background in Home area forgot to rerender

I'm using the .jar Version of LightMod 1.0.2, with Java 9.0.1 on Windows. (But the issue also happend with LightMod 1.0.1 and Java 1.8)
I can reproduce the issue every time with the following steps:
Step 1) Start LightMod. (in my case from the command line to see stdout)
As a side note, Java 9 complains about illegal reflective access at this point. This is my entire stdout at the point when the LightMod GUI becomes visible:
E:\downloads\lightmod>java -Xms2g -Xmx4g -jar .\Lightmod-1.0.2.jar
2017-11-15 16:58:28.098:INFO::JavaFX Application Thread: Logging initialized @1268ms
2017-11-15 16:58:29.297:INFO:oejs.Server:main: jetty-9.2.z-SNAPSHOT
2017-11-15 16:58:29.314:INFO:oejs.ServerConnector:main: Started ServerConnector@51e2adc7{HTTP/1.1}{<IP_ADDRESS>:56001}
2017-11-15 16:58:29.316:INFO:oejs.Server:main: Started @2485ms
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by clojure.lang.Reflector (file:/E:/downloads/lightmod/Lightmod-1.0.2.jar) to method com.sun.javafx.collections.VetoableListDecorator.add(java.lang.Object)
WARNING: Please consider reporting this to the maintainers of clojure.lang.Reflector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Step 2) Click on the "chat" project tab and wait until the server is started, and the chat is useable
Step 3) Click on the "Home" tab.
LightMod does not seem to react to that click, but the following Exception is printed to the console:
Exception in thread "JavaFX Application Thread" java.util.ConcurrentModificationException
        at java.base/java.util.HashMap$HashIterator.nextNode(Unknown Source)
        at java.base/java.util.HashMap$KeyIterator.next(Unknown Source)
        at java.base/java.util.Collections$UnmodifiableCollection$1.next(Unknown Source)
        at org.httpkit.server.HttpServer.stop(HttpServer.java:334)
        at org.httpkit.server$run_server$stop_server__7318.doInvoke(server.clj:56)
        at clojure.lang.RestFn.invoke(RestFn.java:397)
        at clojure.lang.AFn.applyToHelper(AFn.java:152)
        at clojure.lang.RestFn.applyTo(RestFn.java:132)
        at clojure.lang.AFunction$1.doInvoke(AFunction.java:29)
        at clojure.lang.RestFn.invoke(RestFn.java:397)
        at lightmod.app$stop_server_BANG_.invokeStatic(app.clj:200)
        at lightmod.app$stop_server_BANG_.invoke(app.clj:196)
        at lightmod.app$stop_app_BANG_.invokeStatic(app.clj:320)
        at lightmod.app$stop_app_BANG_.invoke(app.clj:319)
        at lightmod.ui$create_tab$reify__7954.handle(ui.clj:69)
        at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
        at javafx.base/javafx.event.Event.fireEvent(Unknown Source)
        at javafx.controls/javafx.scene.control.Tab$1.invalidated(Unknown Source)
        at javafx.base/javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
        at javafx.base/javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
        at javafx.controls/javafx.scene.control.Tab.setSelected(Unknown Source)
        at javafx.controls/javafx.scene.control.TabPane$TabPaneSelectionModel.select(Unknown Source)
        at javafx.controls/javafx.scene.control.TabPane$TabPaneSelectionModel.select(Unknown Source)
        at javafx.controls/javafx.scene.control.TabPane$TabPaneSelectionModel.select(Unknown Source)
        at javafx.controls/com.sun.javafx.scene.control.behavior.TabPaneBehavior.selectTab(Unknown Source)
        at javafx.controls/javafx.scene.control.skin.TabPaneSkin$TabHeaderSkin$5.handle(Unknown Source)
        at javafx.controls/javafx.scene.control.skin.TabPaneSkin$TabHeaderSkin$5.handle(Unknown Source)
        at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
        at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
        at javafx.base/javafx.event.Event.fireEvent(Unknown Source)
        at javafx.graphics/javafx.scene.Scene$MouseHandler.process(Unknown Source)
        at javafx.graphics/javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
        at javafx.graphics/javafx.scene.Scene.processMouseEvent(Unknown Source)
        at javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
        at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
        at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source)
        at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
        at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
        at javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
        at javafx.graphics/com.sun.glass.ui.

Step 4) Click on the "Home" tab a second time:

The visual of the "chat" project is the background of the "Home" area now. Only the regular "Home" area buttons are useable, so I suspect it just missed to render the gray background color again?
If I can provide you with any more information, let me know. :)

Wow interesting! I definitely haven't seen this before, but the stack trace will definitely help. Does this happen with the installer version, or just the jar?

I can reliably reproduce it with the installer version as well. Both, 1.0.1 and 1.0.2.
Side note: I just noticed that on Step 3 in my description, the stacktrace also appears in the "Server logs" section.

OK I'll be releasing a new version soon that will hopefully address this.

I released 1.0.3 that should catch that exception. Please let me know if you still notice it. Thanks again! This has been extremely helpful for me.

@oakes , I'm afraid you need to reopen the issue.
I just tested with 1.0.4, and can reproduce the exact same Behavior. Only some line numbers in the Stacktrace changed:
Exception in thread "JavaFX Application Thread" java.util.ConcurrentModificationException
        at java.base/java.util.HashMap$HashIterator.nextNode(Unknown Source)
        at java.base/java.util.HashMap$KeyIterator.next(Unknown Source)
        at java.base/java.util.Collections$UnmodifiableCollection$1.next(Unknown Source)
        at org.httpkit.server.HttpServer.stop(HttpServer.java:334)
        at org.httpkit.server$run_server$stop_server__7318.doInvoke(server.clj:56)
        at clojure.lang.RestFn.invoke(RestFn.java:397)
        at clojure.lang.AFn.applyToHelper(AFn.java:152)
        at clojure.lang.RestFn.applyTo(RestFn.java:132)
        at clojure.lang.AFunction$1.doInvoke(AFunction.java:29)
        at clojure.lang.RestFn.invoke(RestFn.java:397)
        at lightmod.app$stop_server_BANG_.invokeStatic(app.clj:200)
        at lightmod.app$stop_server_BANG_.invoke(app.clj:196)
        at lightmod.app$stop_app_BANG_.invokeStatic(app.clj:320)
        at lightmod.app$stop_app_BANG_.invoke(app.clj:319)
        at lightmod.ui$create_tab$reify__7954.handle(ui.clj:69)
        at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)

Gotcha, thank you for letting me know; I'll look into this later today.

This may be a bug in http-kit: https://github.com/http-kit/http-kit/issues/355

The weird thing is that I added a try/catch, but your stack trace says the exception is happening on line 200 which is where it says (when server. I wonder if moving the (when server inside of the try/catch would allow it to catch the exception. If you happen to have the repo cloned, you can try that out, but either way I'll try to investigate more later.

When I start it from the source using boot, the stacktrace points to a different line number: 203
When trying around a bit more, it looks like the Exception could occur on the (server) and (reload-stop-fn) calls.
After I wrapped the latter one in a try-catch as well, the exception as well as the graphical glitch is gone.

Aha! The reload server also uses http-kit, I completely forgot about that! I'll cut a new release shortly. Once you get a chance to try it and confirm it fixes it, we can close this. I really appreciate the help!

Glad I can help! :)

I'm still building the windows/linux installers but you can download the jar file now if you'd like:
https://github.com/oakes/Lightmod/releases/tag/1.0.5

Everything's fine with 1.0.5 👍

Sweet! Thanks again, and of course I'm all ears if you run into other stuff.


add new sounds to the project

Hi, I want to buy a VST of a piano sound to give my project a realistic touch. I'm wondering if I can play this custom sounds using your project.
Regards

midi-sounds-react uses instruments from WebAudioFont. See
https://github.com/surikov/webaudiofont#custom-samples
about custom samples creation.
You need to know about zones, ADSR envelopes, pitch correction, loop points etc.
The most of VSTi vendor prevent from extraction of samples from their commercial products.
WebAudioFont consists about of 80 pianos already.

Sorry to bump this, but does the above mean that in order to use custom samples, we need to upload them to WebAudioFont so that midi-sounds-react can use them? Is there a way to do that privately?

You can create private instruments. Open
https://github.com/surikov/webaudiofont
read about custom samples


validate the symbiflow dailybuild

Draft PR to validate the dailybuild of symbiflow

@murthyvedula : Please approve this PR for using dailybuild symbiflow-archs


node-mysql pool active connections not getting released

Hi felixge,
Can you please take a look at this?
http://stackoverflow.com/questions/28575164/node-mysql-pool-active-connections-not-getting-released
Thanks for all your previous helps.

@abarik1981 there is something missing from the code you posted, because I cannot run it since there is an error when it tries to call mydbc.connect since no connect method is defined in your code posted.

I have updated... it... anyways, i have posted the whole code here...
/**
 * Test mysql_client (./test.js)
 */
'use strict';
var async = require('async');
var mysqlc = require('../mysql_client');
var connProp = {
        connectionLimit : 10,
        host            : 'xxx',
        user            : 'xxx',
        password        : 'xxx',
        database        : 'xxx'
};
var mydbc = new mysqlc.MySqlClient(connProp);

async.series([
    function(callback) {
        mydbc.connect(callback);
    },
    function(callback) {
        var intervalObject;
        intervalObject = setInterval(function() {
            mydbc.runQry('SELECT 1', function(err, results) {
                if (err) {
                    console.error('foo-err:', intervalObject, err);
                    callback(err);
                } else {
                    console.log('resultsxxxx', results)
                }
            })
        }, 1000*0.5)
    },
    function(callback) {
        mydbc.disconnect(callback);
    }
    ],
    function(err, results) {
        console.log('results', results[1]);
});

// This results in the following output, finally hitting enqueue event:
connecting mysql
running mysql qry: SELECT 1
resultsxxxx [ { '1': 1 } ]
running mysql qry: SELECT 1
resultsxxxx [ { '1': 1 } ]
running mysql qry: SELECT 1
resultsxxxx [ { '1': 1 } ]
running mysql qry: SELECT 1
resultsxxxx [ { '1': 1 } ]
running mysql qry: SELECT 1
resultsxxxx [ { '1': 1 } ]
running mysql qry: SELECT 1
resultsxxxx [ { '1': 1 } ]
running mysql qry: SELECT 1
resultsxxxx [ { '1': 1 } ]
running mysql qry: SELECT 1
resultsxxxx [ { '1': 1 } ]
running mysql qry: SELECT 1
resultsxxxx [ { '1': 1 } ]
running mysql qry: SELECT 1
resultsxxxx [ { '1': 1 } ]
running mysql qry: SELECT 1
results undefined
runQry-Waiting for available connection slot-ERROR
running mysql qry: SELECT 1
runQry-Waiting for available connection slot-ERROR
running mysql qry: SELECT 1
runQry-Waiting for available connection slot-ERROR

// This is the wrapper for node-mysql (pretty straightforward)
/**
 * mysql_client (./mysql_client.js)
 */

// Import modules
var mysql = require('mysql');
var path = require('path');
var fs = require('fs');
var async = require('async');

// Export module with Namespace
var mysqlc = exports;

// Constants
var DEFAULT_MYSQL_PORT = 3306;
var DEFAULT_AUTOCOMMIT = false;
var DEFAULT_CONNLIMIT = 10;

/**
 * MySQL Class Wrapper
 * @param {string} user: user of database account
 * @param {string} password: password for database account
 * @param {string} database: database name
 * @param {string} host: hostname of server
 * @param {string} port: port of server
 * @param {boolean} autocommit: autocommit
 * @return {object} object
 */
mysqlc.MySqlClient = function MySqlClient(connProp) {
    "use strict";
    this.user = connProp.user;
    this.password = connProp.password;
    this.database = connProp.database;
    this.host = connProp.host;
    this.port = connProp.port || DEFAULT_MYSQL_PORT;
    this.autocommit = connProp.autocommit || DEFAULT_AUTOCOMMIT;
    this.connectionLimit = connProp.connectionLimit || DEFAULT_CONNLIMIT
    this.pool = null;

    this.connProp = {
            connectionLimit : this.connectionLimit,
            host            : this.host,
            port            : this.port,
            user            : this.user,
            password        : this.password,
            database        : this.database,
            multipleStatements: true
    };
}

mysqlc.MySqlClient.prototype.runQry = function runQry(qry, args, callback) {
    console.log('running mysql qry:', qry);
    this.pool.getConnection(function(err, connection) {
        if (err) {
            console.error('runQry-cannot getConnection ERROR:', err);
            return callback(err);
        }
        connection.query(qry, args, function(err, rows) {
            if (err) {
                console.error('runQry-cannot run qry ERROR:', err);
                return callback(err);
            }
            connection.release();
            return callback(null, rows);
        });
    });
};

mysqlc.MySqlClient.prototype.connect = function connect(callback) {
    var pool = mysql.createPool(this.connProp);
    this.pool = pool;

    pool.on('enqueue', function () {
        console.error('runQry-Waiting for available connection slot-ERROR');
        return callback('pool-not-empty');
    });

    // verify connection
    pool.getConnection(function(err, connection) {
        console.log('connecting mysql');
        if (err) {
            console.error('ERROR connecting to mysql server with connProp:', this.connProp);
            return callback(err);
        }
        connection.release();
        return callback(null);
    });
};

mysqlc.MySqlClient.prototype.disconnect = function disconnect(callback) {
    var pool = this.pool;
    pool.getConnection(function(err, connection) {
        console.log('disconnecting mysql');
        if (err) {
            console.error('ERROR disconnecting to mysql server with connProp:', this.connProp);
            return callback(err);
        }
        connection.release();
        pool.end();
        return callback(null);
    });
}

Does it have any issues if you change the interval from 1000*0.5 to something like 5000?

Hmm.. The interval doesn't help, as the connections are still present for a long time. Its actually not anything to do with the interval, as this is only to simulate what happens when I use node-mysql with express-js.
When I use it with express-js, I am never calling pool.end() throughout the period the server is up (many days)...  Now, what I have noticed is, after couple of hours during the non-peak hours when there are no requests to the server, the mysql connections are released and watch -n 2 "netstat -an | grep <IP_ADDRESS>.*3306.*ESTABLISHED | wc -l" counter drops (but after couple hrs).
But, during peak hours, when many users access the same page (which makes multiple calls to mysql.pool.getConnection), I see that enqueue event is hit as too many connections have been opened (e.i around 30) and node-mysql hasn't closed them yet (even though connection.release has been called in all cases)

I think you are confused about what the enqueue event means. Hitting that event is in no way an error. The point of it is just to let you know what's happening in the pool. The only time it's an error is if you call getConnection, and the enqueue event is hit and then your getConnection never, ever returns. The purpose is so that this module will never open more than connectionLimit to your server.
If at peak times 10 is not enough for you, then you need to increase that limit.

This module will hold on to those 10 connections for as long as possible, so that when a new request comes in, it doesn't have high latency waiting for a new connection to MySQL to be established. We don't close the connections at all, in fact--it's up to the MySQL server to close them, which happens after a few hours of inactivity, according to your MySQL server's configuration.

TL;DR connection.release() does not close connections, since that would be a determent to your web server, and against the whole reason to even use a pool: so that when a request comes in, a connection may be idling there, waiting to suddenly spring into action to serve that request.

Yes, thanks, I understand it better. I knew that enqueue was never an error; but I was just wondering, if there is a setting to reduce that inactivity period of a connection from few hours to a setting? I am not sure of the implications of having many idle connections on the server, thats why I kept the limit low to 10
Yes, I will eventually increase the limit.

There isn't an idle setting yet, but there is an open ticket: #962 Feel free to submit a PR if you need it quick :) Otherwise it will eventually come some day. Another option is you can ditch this module's pool implementation and use generic-pool if you really need it now and don't have the time to contribute a PR :)

thank you :)


Add support for Windows

vfox is a cross-platform SDK manager. Therefore, it is expected that the plugins also work on all platforms.
Moreover, it would be great to be able to install Elixir (and Erlang) without a graphical installer, since the graphical installer for Windows requires admin rights. Since most people at universities and enterprises have no admin rights, they cannot use Elixir.

I have already do some work in this pull request, but still need to test it. There are still some problems at present.

Awesome! I saw that you install Erlang and Elixir by executing the .exe installers. Like I said they require admin rights. I already opened an issue on the Erlang OTP repo hoping that they will create an installer that doesn't need admin rights. AFAIK it requires admin rights because it executes the installer for Microsoft Visual C++ Redistributable in order to install vcruntime140.dll. But this DLL can be shipped with the installer, like Python does. It is present in the Windows 2022 GH image.

I have released a new plugin version v0.4.0 to support this. You can have a try~. @mardukbp
Note:

vfox version require v0.5.3+
update vfox-elixir plugin

It works! But, I noticed that the elixir-plugin does not know that Elixir depends on Erlang. Therefore one has to install Erlang by hand. Does vfox support dependencies on other plugins?

Yes, you must clear to know whether the Erlang version that the Elixir version you want to install depends on is already installed. Best used in combination with the vfox-erlang  plugin.
Maybe, it will not be a problem to use it with asdf-erlang, but I have not tested this scenario.
Vfox should not support interdependence between plug-ins at present.

Yeah, with vfox-erlang it's a breeze. I like that vfox is fast and intuitive. Thank you for all your efforts!


sql-spark-connector slower than older azure-sqldb-spark connector

Ran the test with the same file 8.5GB with old connector https://github.com/Azure/azure-sqldb-spark and this one sql-spark-connector.  Used the very same parameters bulkcopy , batchsize 150000, tablelock true for both. With the old connector (spark 2.4.0, scala code) job finished in 16m and with this connector, job took around 38m to finish with spark 3.3.1 and pyspark code.  What could be the reason?

I dont see a reason why their performance should be very different ( assuming minimal spark framework additional cost). Investigate load and response time for sql server to find where the bottleneck may be.  Also note that old connector does not use the spark jdbc interfaces and thus not compatible, and meeting perf of old connector is a not our goal. S


should 'holoprosencephaly 13, x-linked' be a child of holoprosencephaly?

@ahamosh in Mondo, we think that MONDO_0026763 'holoprosencephaly 13, x-linked' be a child of MONDO_0016296 holoprosencephaly. 'holoprosencephaly 13, x-linked' is not part of the holoprosencephaly PS (https://omim.org/phenotypicSeries/PS236100). Is OMIM planning to add the type 13 to the PS?
Thanks!
cc @cmungall
Related to https://github.com/monarch-initiative/mondo/pull/2201

Done.  Thanks for letting us know.
Ada

Awesome, thanks @ahamosh!


To do

Description
To do
Screenshot

Hackpad Discussion
https://designpatterns.hackpad.com/Task-lists-PqlWl4PhoYV

@gavinwye This could be seen as a task list. Should it be part of #38?

should be using task list


Update amenity/gym to be leisure/fitness_centre

It's incredibly common to have gym's mistagged in the US as amenity/gym. iD should suggest updating those to leisure/fitness_centre so they actually display correctly on the map

Looks like this is already there


is there a way to remove marker by a custom event (I'm using react and cordova)

I'm submitting a ...  (check one with "x")

[x] question
[ ] any problem or bug report

OS:  (check one with "x")

[x] Android
[x] iOS
[ ] Browser

I can't understand what you ask. Please describe more details. I have no knowledge about react.

solved  by something else..
thank you anyway

@ChEmunah How did you solve it?
I want to update markers when changed this may add or remove additional markers.

I didn't try it but is this what you're looking for?

is this helpfull?


ARROW-10121: [C++] Fix emission of new dictionaries in IPC writer

When a dictionary changes from the previous batch, it is emitted again in the IPC stream.
If this happens when writing the IPC file format, an error is returned.

@wesm This is a first draft. It is functional (i.e. fixes the underlying issue) but doesn't try to detect deltas.

I still need to add tests for this (I'll do that once #8309 is merged). Detecting and writing delta dictionaries is not implemented, but that's a feature, not a bug, so it may also wait for another PR.
(also, it will have to be disabled by default, for compatibility with other IPC readers)

@wesm Do you want to review this again? Otherwise perhaps @bkietz ?

I can take a final look this morning.


Add keyboard without-borders

Description of the new feature / enhancement
mouse-without-borders  is very nice !
So I'm wondering if there is a feature that enables multiple computers to share the same keyboard through software rather than hardware requirements such as bluetooth, and if there is, that would be awesome!
Scenario when this would be used?
multiple computers
Supporting information
No response

You already can use your keyboard on all your connected PCs with Mouse without borders. If it doesn't work please open a bug report.

/helped


SCM - selected repository is not restored

Steps:

open a multi root workspace with at least 2 repositories
from the changes view select the first repo
reload window and verify the changes view still has first repo selected
switch to another profile
switch back

=> 🐛 2 repositories are selected

It seems to work fine once in the second profile the first repo is selected.

It seems like the selection state of repositories is stored in profile scope. Hence after switching profiles, the selection got reset.

Yeah that is possible that I had a case where I went back from the testing profile to my default profile where I saw 2 repositories selected in my default profile, so something is fishy.

Duplicate of https://github.com/microsoft/vscode/issues/183823


Issue 1726 internal see links broken

The inline relative see tags in docblocks of properties and methods could not be resolved for elements in the same namespace as the container class because the property and method descriptors were missing their namespace. This way the context was not complete for the see tags and the relevant element could not be found. With this change the property and method assemblers will set the namespace in the descriptors.
This PR fixes one of the issues that were discovered in the test of issue 1079. This leaves two more bugs to fix.
The code coverage of the two classes is completed to 100%
The result is visually tested with the clean and responsive templates. The links work again and no negative side effects have been noticed.
refs #1726, #1079

I don't have any comments on this. Excellent job!


Spinner button ignores disabled attribute

[x] bug
[ ] feature request
[ ] enhancement

Expected behavior
Once a spinner button has changed state from Loading to Success and the animation has completed, it should respect the 'disabled' attribute on the button.
Actual behavior
It ignores the disabled attribute. In the example below the spinner button starts off as enabled, then once it's clicked it transitions from Loading to Success and the disabled property binding is set to true - however the button remains enabled.
Reproduction of behavior
Stackblitz reproduction
Environment details

Angular version: 6.0.7

Clarity version: 0.12.2

OS and version: Windows 10

Browser: all

@emmalivingstone: Hi. This looks a duplicate of #2375. We have a PR https://github.com/vmware/clarity/pull/2421 which is under review right to now to fix this issue. Please subscribe to both for further updates.
Closing this as a duplicate. Thanks!


[PlanetWideSpray] Pile Sorters don't spray out of Assemblers.

Force Proliferator Level config doesn't seem to work with Pile Sorters.
Upgrading to Pile sorters and pulling out of Assembler doesn't spray items. Downgrading back to Mk III sorter spray items.

I can't reproduce this issue.
Make sure to set Spray All Cargo = true if you want to spray the output.

hey I'm having the same issue and I have Spray All Cargo set to true but the pile sorters don't spray anything while the Mk III does

@edvat List all the mods and the screenshot of pile sorters building layout.

oh sorry I was thinking they'd spray output not input. it does work as intended.


alex/steve shouldn't be used for default parameter

Quote from @krisjelbring:

As far as I know Alex is just a regular account. There's no special handling around the name Alex. I'm not really sure if the Steve account is supposed to have a cape or not but it could potentially change in the future.

Also, the Alex account has no skin and its UUID (ec561538f3fd461daff5086b22154bce) actually defaults to a Steve skin.
We currently use default=alex and default=steve in our examples and have special handling for them.
As Kristoffer suggests, we should use MHF_Alex and MHF_Steve instead.
These two could be stored by us in place of the current Alex & Steve skins.
Breaking changes suck and we have a lot of people using the default parameter with alex or steve.
We should probably implement this without removing the existing special case and then deprecate the use of alex/steve.
Note
This only affects the default parameter. Direct queries for Steve/Alex are no special cases.
If we implement this, I suggest not having any special cases for the default parameter at all and instead make them general special cases.
The only 'special case' would be that we don't query Mojang's server for MHF_Alex + MHF_Steve skins.

Legacy support could work by rewriting default=alex/steve to default=mhf_alex/mhf_steve.

Haven't you fix this?

default: The fallback to be used when the requested image cannot be served. You can use a custom URL or any uuid.
The option defaults to either MHF_Steve or MHF_Alex, depending on the requested UUID. All usernames default to MHF_Steve.


cannot deploy

Describe the bug
cannot deploy
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-r8gtsd
Steps to reproduce
cannot deploy
Expected behavior
cannot deploy
Screen Recording / Screenshot
cannot deploy
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 52451947,
  "usedJSHeapSize": 49379391,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = Vikki
Chat ID = ed52c08165ae

Additional context
Error:
Failed building the project. Make sure the build command is correct and try again.

Appreciate the feedback! We are aware of this issue and are tracking it here: #2019.


compatibility with bower

http://bower.io/
maybe using https://github.com/yatskevich/grunt-bower-task

looks good :+1:

@AndrewEastwood done :)


bump snapshot version

/gcbrun

Failures are caused by missing cdap 6.5.0-SNAPSHOT, which haven't been published yet.


Live Editor: HTML code not working

Hello guys, hope you're doing good.
I've successfully implemented the Live editor plugin with npm as recommended in https://v2.docusaurus.io/docs/markdown-features/#interactive-code-editor
It's working perfectly, however, i'm trying to create a live example of a simple html page and isn't working. Is this the default setting? only javascript and some other languages work.
Thanks

Hi,
We use react-live, so I suspect it's mostly useful for React and JS code, not really HTML or CSS
https://github.com/FormidableLabs/react-live

In order to reduce staled issues, I am closing this issue, but feel free to open it again if needed.


0000: Pando React library

Feedback via PR comments closes on May 2nd, 2023
Rules of engagement
1. Please only leave meaningful comments
In order to prevent "thread clutter", please avoid comments that are only supporting an idea. Instead, leave a reaction on that idea you agree with.
Bad:

"I agree!"
"Same here!"
"I've experienced this too."

Good:

Thumbs, heart, or rocket emoji reaction

2. Please be kind and respectful
Any comment that is rude or appears to be aggressive towards another person will be deleted and not taken into consideration of the RFC for lack of respect towards the community
3. Use Suggestions
If you see a typo or something that can easily be updated via a Github Suggestion, please use that feature vs. commenting that change which is not as helpful.
Bad:

"There is a typo. This should be example.

Good:
Using the Github Suggestion feature.

@caseybaggz Will this be fully typed since HS had accompanying types?

@GianaS Of course!


Any way to input a large number of userid's from pixiv into downloads as well as monitoring.

Im trying to import a large list of userid's from pixiv to download as well as monitor, is there any way that this can be sped up as it is very time consuming considering the load times for each time you search for a userid in the search tab. Any help would be appreciated thanks.

You can't through the UI, but you can edit the monitors.json file manually in the settings directory.

I know android has a ton of apps meant just for downloading tons of images
from pixiv. You could always just manually set the user IDs as the save
file names and then tag your fav artists to monitor. I hope that helps 💖
On Fri, May 21, 2021, 5:19 AM Jack Vasti @.***> wrote:

You can't through the UI, but you can edit the monitors.json file
manually in the settings directory.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Bionus/imgbrd-grabber/issues/2374#issuecomment-845812510,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASBRA5GL4DVDOYESKO6UW43TOYQRVANCNFSM45IQUBUQ
.

Also, sorry to bother any of you but since I only have a mobile phone I
figured I'd give a tip, if that's what you're also stuck with. Soul Browser
is great for customization and usability (especially when it comes to tabs,
since you can set it to swipe left or right or up to close a tab
altogether) and I find that's the easiest method for opening lots of images
I've bookmarked for later tagging. So if you have a ton of images you want
to tag that's the easiest way you're gonna be able to on mobile.
Also it was the option to download all the image files on a page or let you
select each file individually and so if you really want to download a ton
of images that's another great option.
Hope this helps and sorry I'm normally not included much in email threads
like these. Thank you for your time and I hope you find the
simplest solution for you 🥰💞
On Fri, May 21, 2021, 6:28 AM Vera Rei @.***> wrote:

I know android has a ton of apps meant just for downloading tons of images
from pixiv. You could always just manually set the user IDs as the save
file names and then tag your fav artists to monitor. I hope that helps 💖
On Fri, May 21, 2021, 5:19 AM Jack Vasti @.***> wrote:

You can't through the UI, but you can edit the monitors.json file
manually in the settings directory.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Bionus/imgbrd-grabber/issues/2374#issuecomment-845812510,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASBRA5GL4DVDOYESKO6UW43TOYQRVANCNFSM45IQUBUQ
.


Fix core-js detection

In #4421 was added core-js detection, but it misses the most of cases.
The global core variable was available to core-js@2 in some cases.
The global __core-js_shared__ property is available in modern versions in most cases.
The .version and .versions properties are available only in modern versions.
window['__core-js_shared__'].versions contains information about all loaded core-js versions and modes, but I have no ideas how to handle it with your regex syntax.

My detection script https://github.com/zloirock/core-js/blob/5ddafd1/scripts/usage.mjs
Top 1000 results https://gist.github.com/zloirock/7331cec2a1ba74feae09e64584ec5d0e
Top 10000 results https://gist.github.com/zloirock/1fae0b9798b50d3551432ebf100216b9

Thank you for this!

window['__core-js_shared__'].versions contains information about all loaded core-js versions and modes, but I have no ideas how to handle it with your regex syntax.

__core-js_shared__.versions[0].version should work, I updated this line.


Add SDK endpoints for Auth/User methods

:rocket: PR was released in<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>:rocket:


SPDX Tag-Value validator: Unexpected Error: org.spdx.library.model.SpdxIdInUseException: Can not create Apache-2.0. It is already in use with type ListedLicense which is incompatible with type ExtractedLicensingInfo

While attempting to validate the attached SPDX Tag-Value file, it results in this error in the online validator:
Analysis exception processing SPDX file: Unexpected Error: org.spdx.library.model.SpdxIdInUseException:
Can not create Apache-2.0. It is already in use with type ListedLicense which is incompatible with type
ExtractedLicensingInfo

This is difficult to understand what the problem is -- is it a parser issue or something wrong with the SPDX file?
sample.spdx.txt

Thank you very much for the response @goneall -- I've had a hard time finding information about the overall Tag Value format (I see plenty of individual property examples in the SPDX docs, but nothing describing the actual TV format itself). Is there any way you could point me to some documentation for this?

@kzantow aside from the spec itself, there is a repo of examples which may be helpful.