Version upgrade should keep previous config

Hi Carsten,
thanks for this very useful tool.
It would be great if after upgrading to the last version, previous settings could be kept.
Thanks
Eric

You are very welcome.
I agree - it annoys me as well. The thing is, that I use .NET's built-in Properties.Settings module to handle default and user-specific settings. And I also use Visual Studio Installer project extension to make the installer MSI.
For some strange reason these two components don't play well together. So I'll probably have to run with my own user settings file instead. This means that next release will also have this annoying problem (because now it will be a completely new settings-system) but after that, subsequent releases should keep existing settings.

I found out, that the built-in ApplicationSettings have a nice way of fetching user's custom settings on upgrade: http://stackoverflow.com/questions/534261/how-do-you-keep-user-config-settings-across-different-assembly-versions-in-net
So this will now automatically work when next version of StopWatch is released.

Hi @carstengehling,
thanks for the info and this enhancement.
Eric


Autocomplete filled with object returns a string

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
<Autocomplete
          {...field}
          freeSolo
          isOptionEqualToValue={(option, value) => {
              return option.ID === value.ID;
            }
          }
          autoComplete={true}
          style={{width: "440px"}}
          classes={{
           root: "backgroundColor: yellow"
          }}
          getOptionLabel={(option) => option.name ?? option}
          options={categories?.data || []}
          renderOption={(props, option) => {
            const { name, color } = option;
            return <AutocompleteItem key={name} props={props} color={color!} name={name} />;
          }}
          renderInput={(params) => (
            <TextField
              {...params}
              label="Catégorie"
              inputRef={field.ref}
              error={fieldState.invalid}
              helperText={fieldState.error?.message}
            />
          )}
          value={selectedCategory}
          onChange={(e, value) => field.onChange(value)}
          onInputChange={(_, value) => {value && field.onChange(value)} }
        />

selectedCategory is an object : {ID: string, userID: string, name: string, color: string} which is in the value props of the Autocomplete.
but when the form is submitted the value return by the Autocomplete is a string which is the property name of this object. But when I select a value from the option list, the value returned by the Autocomplete is the right object {ID: string, userID: string, name: string, color: string} .
I've searched on the web for hours, and read the docs, try every props of the Autocomplete, but I'm unable to make it works. It's puzzling.
Expected behavior 🤔
When I pre-fill the Textfield inside the Autocomplete with an object, when the form is submitted the object should be returned, not just a string
Steps to reproduce 🕹
Steps:

Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Please share the reproducible CodeSanbox, thanks!


Rebuild CppinterOp to use latest llvm

The latest recipe for llvm is cleaner (the last one was having lot of undefined symbols)
That was fixed and once the upload to quetz is successful (https://github.com/emscripten-forge/recipes/actions/runs/11459827816/job/31885189811) we could rebase and merge this.

Converting to draft as needs discussion


A showcase of a compilation issue with iOS

Run ./gradlew :shared:compileKotlinIosArm64 to reproduce. The issue is caused by model classes (Fruittie) were moved to a separate Gradle module.
Note that Android compilation still works:
./gradlew :shared:compileDebugKotlinAndroid

Created to show case https://issuetracker.google.com/issues/338842136


Review missing mocks

Our current roots-react-native mocks are a great start.
We need to catch-up with the rest of the RootsWallet UI.
Eventually roots-react-native will always be ahead of RootsWallet, as we will iterate all UI changes here first (after figma mocks).
@AlexAndrei98 has completed several mocks that show existing and future UI features/modals/pages.
He will close his tickets in the other repos and post the links to those mocks on this ticket so that @HunnySajid can review them and ask questions, etc.

[ ] Review the figma mocks that @AlexAndrei98 and I post here and ask questions
[ ] Comment here with the list of features we are still missing
[ ] Lets negotiate what we can add for this next 2 week period so I can get the work approved for another $1000
[ ] We will create the issues needed based on what is missing and what we prioritize first.

@HunnySajid take a look at the animatedGifs and vids here to see some of the parts we are still missing (most of it should already look faimiliar) https://drive.google.com/drive/folders/1ah7o1HoPL05ien6Z30tAN9aKE0tgKST0?usp=sharing
For instance we need:

the QR Code modal from RootsWallet
we need to the barcode scanner model from RootsWallet
we need the verify button (question mark) on the credential detail to turn into a check mark or x mark (perhaps alternate in our mock screen)
we have a task in RootsWallet to be able to see info about all operations (like tooltips, but for mobile)
etc.

Also you can take a look at our settings screen and import/export modal https://youtu.be/6y_d2rTyoY4

@2byrds Sure, I will take a look today and reach out with feedback.

@2byrds
I went through the mockup, it looks great.
A quick question -- are we going to follow the one with white/light theme or sticking with the old/black theme for now?
Here is the list:

Setting Screen
Ability to approve/ review verified credentials
QR code modal
Scan QR code modal
What happens when a credential is revoked?

I need some clarity on the following:

What happens when a credential is revoked in terms of UX
Number of entities involved, I think there are three main entities a user, a protocol (prism in this case), a mediator (rootsId)

Let's create some issues regarding the missing screens mentioned above and we can finish these before moving forward with the next. What do you say?

Sounds great!
For now, when thinking about a credential being revoked, think of a driver's license.  If the expiration date is in the past, the license is no longer valid.
So think of it as a simple call that returns a boolean, 'is this valid?' yes/no.
I'll create those tickets.

@HunnySajid as for the entities involved.  Because this is a self-sovereign identity (some call it Web5) there are three main roles:

Holder (the mobile wallet containing ALL of your digital identity information like licenses, education credentials, passport, medical records, etc).  A holder might use a mediator as a communication relay with the rest of the internet.
Issuer who issues licenses, edu creds, passport, medical records.  They also have some of your identity information, since that is how they issue verifiable credentials to you.  And they can have their own identity wallet as well, although likely on a server or in the cloud.  But currently issuers, like our doctors, have our medical records.... in self-soveriegn identity, you both have the medical records and the issuer has no more information about you than they need in order to provide you medical credentials.
Verifier is anyone who is verifying your credentials in order to provide you some service or access.  For instance your university might require a graduation certificate from you lower-education.  In that case your university is verifying your credential.  they might also ask for your id card to verify you are Hunny.  They should only be getting enough information from the holder to process the service/access.

In our app.  The holder sees other holders, verifiers, issuers as contacts.  The chat view is a log of all of the transactions between you and them.  And the credentials are all of the credentials you have been given or sent (in which case you are acting as an issuer).
thats a good start for now.  happy to discuss more on a call.

Regarding white theme, @AlexAndrei98 had presented that to us. We haven't said yes/no.  My initial comment was that dark themes rule nowadays.  But we'd love your input too @HunnySajid.  Colors aside, one thing I'm challenging us to do is avoid pages.  To keep the UX contact/chat/credential based. previous wallets have many pages and we are trying to use richchat and workflows instead.  We would love to discuss more soon.  But not quite yet, we still need to get the current mock complete so we can start iterating changes that can be incorporated into RootsWallet easily


ensure prefix is applied for GCSSponsorLogoStorage

added resolutions to comments from https://github.com/pypa/warehouse/pull/9792#pullrequestreview-706588243


bug: Enabling Code Lenses has no effect

Version
latest
Describe the bug
When I enable the code lenses feature, I don't see any code lenses being added.
Expected behavior
code lenses being shown and cody can be triggered from inside the doc.
Additional context
No response

I can verify the same issue on Windows 11 and Linux (Ubunt 22.04 LTS, LXDE)


Erorr in Widows 10 and 11

Hi
when run ChromeDriver in windows 10 and 11
Chrome: 129.0.6668.71
ChromeDriver: 129.0.6668.70
Starting ChromeDriver 129.0.6668.71 (369c6304b45dc2746ba231c5edfc4bbe1657a98f-refs/branch-heads/6738@{#1}) on port 0
and  Erorr REST request failed: Error sending data: (12029) A connection with the server could not be established.
but WIndows 7 OK
Do you have a solution?

Same here, does not work with Windows 11. Same error.


SVG doesn't respect initial width/height

While the svg is being load it does not respect the width/height assigned to it. The non-svg works properly. Please fix for svg.
View:
  styles:
    useSafeArea: true
  body:
    Column:
      children:
        - Image:
            styles:
              borderColor: red
              width: 50
              height: 50
            source: https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/USStates.svg
            ```

@vusters Looks like it's working fine. See the video - https://drive.google.com/file/d/1Rz0M03rXR2qm2A6sCttWSPw8ouzLx8YP/view?usp=share_link

PR - #925


UX: Unset width for sorting methods on mobile

As part of https://github.com/discourse/discourse-post-voting/pull/164 this bug was introduced where the two buttons would be far on the right in mobile.

This introduces a specific desktop stylesheet so the width set in the earlier PR can be applied to it.

TY both!


try heavily overload panjf with lots of locks and unlock, then u can see lock slow, semaphore issues and crash

try heavily overload panjf with lots of locks and unlock, then u can see lock slow, semaphore issues and crash
goroutine 6 [chan receive]:
github.com/panjf2000/ants/v2.(*Pool).purgePeriodically(0xc000112460)
/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.4.6/pool.go:69 +0x109
created by github.com/panjf2000/ants/v2.NewPool
/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.4.6/pool.go:137 +0x232
goroutine 7 [chan receive]:
github.com/panjf2000/ants/v2.(*Pool).purgePeriodically(0xc0001124d0)
/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.4.6/pool.go:69 +0x109
created by github.com/panjf2000/ants/v2.NewPool
/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.4.6/pool.go:137 +0x232
goroutine 21 [runnable]:
sync.runtime_SemacquireMutex(0x15f56f4, 0x0, 0x1)
/usr/local/go/src/runtime/sema.go:71 +0x47
sync.(*Mutex).lockSlow(0x15f56f0)
/usr/local/go/src/sync/mutex.go:138 +0x105
sync.(*Mutex).Lock(...)
/usr/local/go/src/sync/mutex.go:81

sry my issues. resolved.

should this be added in for "in case" scenarios?
https://stackoverflow.com/questions/58008462/will-the-number-of-os-threads-spawned-by-go-process-never-decrease

Please show me some example code.


Always authenticate users in the shell after startup and when switching users

Issue #3427 reported a change in behavior of the shell, where the shell will not fail if started using invalid credentials. This is due to a change in AccumuloClient not performing the fast-failure that Connector used to (an intentional choice).
To restore expected behavior in the shell, the AccumuloClient should authenticate the current user every time a new AccumuloClient is constructed. This occurs when starting the shell initially, as well as when switching to another user.

To authenticate the client, it should just be a simple matter of calling client.securityOperations().authenticate() immediately after it is constructed. However, this is made slightly complicated by the fact that the AccumuloClient can be constructed using the client config file. You can call .whoami() to get the username, but I'm not sure if there's an easy way to get the AuthenticationToken parameter that authenticate(username, token) requires.

A user also reported that when the shell is idle for too long, and it asks to re-authenticate, it doesn't matter what you enter, and it will still work. That is related to this issue. It should also authenticate the client object when that happens as well as startup and switching users.

There's a challenge that the credentials could be in the client config file, too. So, re-authenticating by asking the user to re-enter things, doesn't necessarily make sense... they might not know the credentials if it's sourced somewhere in the environment. So, we need to make sure that the re-authentication is working correctly for those cases, as well, and we're not pointlessly prompting.


gfx: Correct GetFramecount call

Update gfx.GetFramecount to correctly call SDL_getFramecount
Add gfx to the makefile package list (so gfx tests are run)
Add tests for the FPSmanager

This change is

Thanks. Looks good!


Major changes in OpenAI API

OpenAI has announced today many changes in its API  at DevDay
See new API structure: https://github.com/openai/openai-openapi/blob/master/openapi.yaml

Changes have been identified in the endpoints:

Audio
Chat
Completions
Embeddings
FineTuning
Files
Images
Models
Moderations

@didalgolab I'm working on these specific changes on this issue


add short-circuit return for isRegenerated

isRegenerated(): if there is no proxiedSession then the regenerate() method has not been called (because it would have created the proxy), so it should return false without triggering a proxy instantiation by itself. (the proxy instance is encapsulated, the only way to "regenerate" it is by calling the lazy wrapper/decorator's regenerate() method)
hasChanged(): replaced the getProxiedSession() calls with the proxiedSession property as the preceding "if" condition ensures we have an instance at this point.

Thanks, @pine3ree! Cherry-picked to master for release with 1.2.1.

Just ot of curiosity...my usual silly question (@weierophinney )
why couldn't we just delegate hasChanged() call directly to the proxied session (if existing) instead of calling the proxy's isRegenerated() method as well?
https://github.com/zendframework/zend-expressive-session/blob/695fe2e7528ae0d52ef2b5c8c58415ff1fa52798/src/LazySession.php#L101
The proxy method  checks by itself the proxy's isRegenerated property.
https://github.com/zendframework/zend-expressive-session/blob/695fe2e7528ae0d52ef2b5c8c58415ff1fa52798/src/Session.php#L122
From this test though https://github.com/zendframework/zend-expressive-session/blob/695fe2e7528ae0d52ef2b5c8c58415ff1fa52798/test/LazySessionTest.php#L151 it seems we don't want to call the proxy hasChanged() method.
The proxy is encapsulated so the only way to get a regenerated clone it is to call the lazy wrapper regenerate() method.
In the current implementation, assuming that a proxied has been instantiated
$lazySession->hasChanged()
calls
$proxy->isRegenerated()
which internally checks the
$proxy->isRegenerated property
if false, calls
$proxy->hasChanged()
which internally checks (again) the
$proxy->isRegenerated property
if false (again, if it was before it is now) finally
compares data with original data

kind regards
PS
I didn't change that behaviour in the PR because of the test case, but I couldn't find a good reason for it


Instanced CollisionPolygon2D's cannot perform collision detection

Operating system or device - Godot version:
Ubuntu 16.06, Windows 8.1, Godot 2.3.1
Issue description:
Save a collision polygon as a scene, instance it thru scripting onto a rigidbody2d. Enable visible collision shapes. The shapes will appear correct, but collision checking fails. QA context
Link to minimal example project:
GitHub upload is not working but you can view the project here

This appears to be an issues with my polygons. When I added it directly as a node instead of instancing via scripting it still did not work. I recreated it using the editor and suddenly it was working. I would like to save the working CollisionPolygon2D to compare the xml with the broken one, but the Resource's save icon is grayed out. Is there any way to fix that?

Broken polygon:

<?xml version="1.0" encoding="UTF-8" ?>
<resource_file type="PackedScene" subresource_count="1" version="2.1" version_name="Godot Engine v2.1.3.stable.official">
	<main_resource>
		<dictionary name="_bundled" shared="false">
			<string> "conn_count" </string>
			<int> 0 </int>
			<string> "conns" </string>
			<int_array  len="0"> 				 </int_array>
			<string> "editable_instances" </string>
			<array  len="0" shared="false">
			</array>
			<string> "names" </string>
			<string_array  len="5">
				<string> "CollisionPolygon2D" </string>
				<string> "build_mode" </string>
				<string> "polygon" </string>
				<string> "shape_range" </string>
				<string> "trigger" </string>
			</string_array>
			<string> "node_count" </string>
			<int> 1 </int>
			<string> "node_paths" </string>
			<array  len="0" shared="false">
			</array>
			<string> "nodes" </string>
			<int_array  len="15"> 				-1, -1, 0, 0, -1, 4, 1, 0, 2, 1, 3, 2, 4, 3, 0 </int_array>
			<string> "variants" </string>
			<array  len="4" shared="false">
				<int> 0 </int>
				<vector2_array  len="11"> 					16.5, 16, -17.5, 16, -10.5, 37, -25.5, 42, -47.5, -16, -29.5, -42, -1.5, -29, 29.5, -42, 46.5, -17, 24.5, 44, 9.5, 36 </vector2_array>
				<vector2> -1, -1 </vector2>
				<bool> False </bool>
			</array>
			<string> "version" </string>
			<int> 2 </int>
		</dictionary>

	</main_resource>
</resource_file>

Working polygon:

<?xml version="1.0" encoding="UTF-8" ?>
<resource_file type="PackedScene" subresource_count="1" version="2.1" version_name="Godot Engine v2.1.3.stable.official">
	<main_resource>
		<dictionary name="_bundled" shared="false">
			<string> "conn_count" </string>
			<int> 0 </int>
			<string> "conns" </string>
			<int_array  len="0"> 				 </int_array>
			<string> "editable_instances" </string>
			<array  len="0" shared="false">
			</array>
			<string> "names" </string>
			<string_array  len="5">
				<string> "CollisionPolygon2D" </string>
				<string> "build_mode" </string>
				<string> "polygon" </string>
				<string> "shape_range" </string>
				<string> "trigger" </string>
			</string_array>
			<string> "node_count" </string>
			<int> 1 </int>
			<string> "node_paths" </string>
			<array  len="0" shared="false">
			</array>
			<string> "nodes" </string>
			<int_array  len="15"> 				-1, -1, 0, 0, -1, 4, 1, 0, 2, 1, 3, 2, 4, 3, 0 </int_array>
			<string> "variants" </string>
			<array  len="4" shared="false">
				<int> 0 </int>
				<vector2_array  len="12"> 					-28.9916, -41.6547, -11.8205, -33.713, 10.0727, -33.4984, 27.6732, -41.6547, 46.5614, -16.1126, 25.0975, 41.4108, 10.7167, 36.4741, 15.6534, 16.298, -16.9718, 16.0833, -10.5326, 36.2594, -25.9867, 42.2693, -47.8799, -16.5419 </vector2_array>
				<vector2> -1, -1 </vector2>
				<bool> False </bool>
			</array>
			<string> "version" </string>
			<int> 2 </int>
		</dictionary>

	</main_resource>
</resource_file>

updated project
According to diffchecker.com the only difference btw the two files is in the vector2_array, which appears fine to me but idk what I'm looking at really

Changing up the collision polygons somehow fixed it in my little test project, but I couldnt replicate in my actual project. I started another (simpler) test project and cannot get it to work. And the working test project.

Ok I think I've figured out how it's working in one project and not the other, but IDK why.
Create a new scene with a CollisionPolygon2D as root, draw something, save it as polygon.tscn.
Create a new scene, make root RigidBody2D and save as body.tscn. Add a Sprite child and load its texture. Attach a script to Sprite, and in _ready call get_parent().call_deferred("add_child",load("res://polygon.tscn").instance()).
Create a main scene and load multiple bodies. Set "Visible Collision Shapes" to ON. Run. Shapes are visible, but collisions don't work.
Go back to body.tscn. Add a CollisionPolygon2D, then delete it. Run scene again, collisions work.

On the example project you are trying to load an xml as a resource, Godot does not know what is that xml.
And in the case you create a valid resource, I do not see any attempt to set the loaded polygon as a ConcaveShape2D on the body either (loading on the helper only and not on the body is a common mistake).

Yeah I am saving the CollisionPolygon2D as a scene and trying to instance it directly under a RigidBody2D. Should I instead copy over the CP2D's polygon to a Polygon2D or something?

@JarLowrey well, you can't just copy the polygon, I think CollisonPolygon2D does not have a simple way to retrieve the shape, you may need to create a ConcaveShape2D, append the segments, then add it to the body.

Currently testing the below code with a convex shaped CollisionPolyon2D scene, same issue - visible polygons but no collision. This time an error is thrown - " Index p_shape_idx out of size (shapes.size())." when I attempt to 	get_node("../CollisionShape2D").set_shape(shape).

func _ready():
	var collider = load("res://polygon.tscn").instance()
	var polygon = collider.get_polygon()
	var shape = null

	if collider.get_build_mode() == 0:
		shape = ConvexPolygonShape2D.new()
		shape.set_points(polygon)
	else:
		shape = ConcavePolygonShape2D.new()
		shape.set_segments(polygon) #causes issues

	get_node("../CollisionShape2D").set_shape(shape)
	pass

This is how I add a CollisionPoligon2D in my TileMapPlugin
func setCollisionPolygon(seletedNode): 	if seletedNode.get_owner() != null: 		var _owner = seletedNode.get_owner() 		var _newStaticBodyNode = setStaticBody(seletedNode,_owner) 		var _newCollisionPolygonNode = CollisionPolygon2D.new() 		_newCollisionPolygonNode.set_polygon(getVector2ArrayFromSprite(seletedNode)) 		_newCollisionPolygonNode.set_name("CollisionPolygon2D") 		_newCollisionPolygonNode.set_meta("_edit_lock_",true) 		_newStaticBodyNode.add_child(_newCollisionPolygonNode) 		_newStaticBodyNode.set_meta("_edit_lock_",true) 		_newCollisionPolygonNode.set_owner(_owner)
https://godotengine.org/asset-library/asset/9

This seems pretty similar to what I'm doing, IDK why it's failing for me.

do you set owner?

I was able to make a concave shape added by script on a rigid body to collide with other shapes but not with another concave shape added by script (maybe I'm missing something).

I did not set owner originally, but a few comments ago I am trying to extract the polygon from the CollisionPolygon2D and apply it to a CollisionShape2D that is added via the editor. That wasn't working either.

Ok, made a couple of concave shapes with the editor (build mode on segment) and they ignore each other but collide with the rest of the shapes, is not just a script thing.
But this may be a problem related to other issues with concave shapes (I know this is going to change on 3).
The main issue is the way CollisionPolygon2D is being used outside the editor, you may better get rid of that node and work only on the bodies.

Couldn't get anything to work - work around:
Create a RigidBody2D node with sprite and CollisionPolygon2D children. Instance the body where needed instead of the collision polygon. Switch out the bodies by calling this function:

func _change_body(body_path,script_path):
	var old_body = get_node("RigidBody2D")
	old_body.set_name("delete_me_thx_Aaaaaaaaa")
	var new_body = load(body_path).instance()
	new_body.set_name("RigidBody2D")
	_init_body(new_body)

	if old_body.has_node("Camera2D"):
		var cam = old_body.get_node("Camera2D")
		old_body.remove_child(cam)
		new_body.add_child(cam)

	add_child(new_body)
	if script_path and script_path.length() > 0:
		new_body.set_script(load(script_path))
	old_body.free()

If you only want to change a collisionShape durring runtime you can use this:

func _ready():
	shapetransform = get_shape_transform(0)
	shape_ball = get_shape(0)
	shape_pad = get_shape(1)
	shape_tri = get_shape(2)
	shape_square = get_shape(3)
	mode = "normal"
	set_shape(mode)

func set_shape(newMode):
	hide_all_shapes()
	if (newMode == "normal"):
		get_node("shapes/normal").show()
		add_shape(shape_ball,shapetransform)
	elif(newMode == "pad"):
		get_node("shapes/pad").show()
		add_shape(shape_pad,shapetransform)
	elif(newMode == "tri"):
		get_node("shapes/tri").show()
		add_shape(shape_tri,shapetransform)
	elif(newMode == "square"):
		get_node("shapes/square").show()
		add_shape(shape_square,shapetransform)
	else:
		get_node("shapes/normal").show()
		add_shape(shape_ball,shapetransform)
	mode = newMode

func hide_all_shapes():
	clear_shapes()
	get_node("shapes/normal").hide()
	get_node("shapes/pad").hide()
	get_node("shapes/tri").hide()
	get_node("shapes/square").hide()

I think this should be fixed now. Can you recheck?

I am also running into this issue with Godot 2.1.3.
Basically, I am trying to use the same collision shapes for different purposes. I am making a game which involves positioning of blocks. When the player is in the process of positioning the blocks, the collision shape needs to be used as a child of an Area2D node (i.e. to detect overlap but not affect physics) and, once positioned, it needs to be used as a child of a StaticBody2D (since the block then forms a part of the game world). The obvious way to do this would be by instancing a collision shape, but as noted above, this does not work. Without this functionality, it does not seem to be possible to reuse collision shapes, unless I am missing something...
@kubecz3k - When you say this should be fixed now, do you mean only in Godot 3.0? Do you know if there is there any plan to fix this in Godot 2.1.4 as this is literally a game-breaking bug for me :(

I have the opposite issue, which I'm assuming is closely tied to this one. If I instance an Area2D scene, and add a CollisionShape2D as a child to that instance, the Area2D scene doesn't have any collision detection. If I discard instancing on the Area2D scene then collision works fine.


remote development doesn't work well for virtual environment python interpreter

VSCode Version: 1.35.0
OS Version: macOS 10.14.5

Steps to Reproduce:

attaching running container with vs code, activate python virtual interpreter and choose python path for the interpreter.
But python language service doesn't work well for code hover hint and go to definition.
all default python interpreters work well(python2.7 and python3.5), but virtual environment doesn't.
just show "Code analysis is in progress..." all the time and can't finished.

Does this issue occur when all extensions are disabled?: Yes/No
Just keep three extensions, python, gitlens and visual studio intelliCode, all installed in container.

Please report the issue against the python extension.

python extension: ms-python.python
installed in docker container.


Remove semantic information from razor parse trees

Razor parse trees contain semantic information in the nodes themselves, such as whether a node is a tag helper or a regular HTML tag. This is very bad for performance: it means that we need to parse all trees multiple times and need input from the C# compilation in order to parse correctly. We need to restructure this to be closer to roslyn: SyntaxNodes just reflect the syntax structure of a file, needing no compilation input, and then expose a semantic model-type construct for the IDE to use to query semantic info such as whether an HTML tag is a tag helper.

Putting this in 17.5 for now. I'm not sure whether this will actually fit in the 17.5 milestone, but we should definitely be trying to make progress on it.


Service load balancer oper state changes and other minor fixes

The following PR contains:

service lb inspect changes
service lb fixes
Bgp fixes

LGTM


Improve portability test log access

This is a small change to the portability test script to format the logs nicely and print them even for runs that succeed.

These changes were included in #211


Implement a mini-template syntax when creating SHIELD config resources

Hi @jhunt !
As discussed earlier today, here is our contribution at Orange to help distinguishing different targets created for each nodes of a given instance_group.
Let us know what you thing of it!
Benjamin

Changes made. We should be good now!


implement quat.fromEuler()

Just add this interface to help people easily create a quaternion from the familiar euler system.

Why has this not been merged? It would be useful.

i would find it usefull too

#249 contained the quat.fromEuler() function, but not the vector inverts. Probably best to do those as a separate pull request.


latest build on 2015/01/27 fetchrart problem

latest build downlloaded at 2015/01/27 07:08
it gives this problem with  beet version or beet import .
[~_downloads]$ beet import -t --flat .
** error loading plugin fetchart
Traceback (most recent call last):
File "/home/winters/buildtests/beets/beets/plugins.py", line 261, in load_plugins
namespace = import(modname, None, None)
File "/home/winters/buildtests/beets/beetsplug/fetchart.py", line 28, in
from beets import importer
File "/home/winters/buildtests/beets/beets/importer.py", line 47, in
'ALBUMS'])
File "/usr/local/lib/python2.7/dist-packages/enum/init.py", line 325, in call
return cls.create(value, names, module=module, type=type)
File "/usr/local/lib/python2.7/dist-packages/enum/init.py", line 433, in create
enum_class = metacls.new(metacls, class_name, bases, classdict)
File "/usr/local/lib/python2.7/dist-packages/enum/init.py", line 190, in new
enum_class = super(EnumMeta, metacls).new(metacls, cls, bases, classdict)
TypeError: type() argument 1 must be string, not unicode
Traceback (most recent call last):
File "/usr/local/bin/beet", line 20, in
beets.ui.main()
File "/home/winters/buildtests/beets/beets/ui/init.py", line 927, in main
_raw_main(args)
File "/home/winters/buildtests/beets/beets/ui/init.py", line 913, in _raw_main
subcommands, plugins, lib = _setup(options, lib)
File "/home/winters/buildtests/beets/beets/ui/init.py", line 816, in _setup
from beets.ui.commands import default_commands
File "/home/winters/buildtests/beets/beets/ui/commands.py", line 34, in
from beets import importer
File "/home/winters/buildtests/beets/beets/importer.py", line 47, in
'ALBUMS'])
File "/usr/local/lib/python2.7/dist-packages/enum/init.py", line 325, in call
return cls.create(value, names, module=module, type=type)
File "/usr/local/lib/python2.7/dist-packages/enum/init.py", line 433, in create
enum_class = metacls.new(metacls, class_name, bases, classdict)
File "/usr/local/lib/python2.7/dist-packages/enum/init.py", line 190, in new
enum_class = super(EnumMeta, metacls).new(metacls, cls, bases, classdict)
TypeError: type() argument 1 must be string, not unicode
grtz
jm

You have installed the wrong enum package. You want enum34,

this is a part what I get when I run pip list
Cython (0.20.1post0)
decorator (3.4.0)
discogs-client (2.0.2)
dnspython (1.11.1)
docutils (0.11)
enum34 (0.9.23)
eyeD3 (0.7.5)
eyeD3-pip (0.6.19)
feedparser (5.1.3)
httplib2 (0.9)
ipython (1.2.1)
Jinja2 (2.7.2)
So it looks like it's there.
All the previous version of beet were running perfectly.
Has something been changed regarding this enum34?
grtz jm

Can you try upgrading the library with pip install -U enum34?

Yup,
I was reading up on pip and enum34 and saw they had a new version. The upgrading did it.
oeffff.... back to enjoying beet.
Thx alot
jm


Empty text field bugs

When creating new card or list and clicking "Add Card"/ "Add List" it automatically marks empty text field as red (when clicking enter to create card this bug doesn't appear).
Labels: When creating new label and leaving empty name, it doesn't mark the text field red when clicking "create label".

Should be fixed - verify


link1s.com is not bypassed

Domain
link1s.com
Link
https://pennbookcenter.com/how-to-write-a-book-report/
Version
0.0.0
What browsers are you seeing the problem on?
Chrome
What OS are you seeing the problem on?
No response
(Optional) Anything else?
Original link: https://link1s.com/ycs7ygc7
Code of Conduct

[X] I agree to follow this project's Code of Conduct

captcha & bypassed by crowd

I was trying to bypass link1s.com but it doesn't work, have crowd bypass enabled.

The crowd bypass server is currently down right now. It should be up soon.


Compression

Is your feature request related to a problem? Please describe.
We should enable the ability to have GZIP compression from discord to decrease bandwidth used when sending data
Describe the solution you'd like
I think Deno implemented gzip compression
https://github.com/denoland/deno/pull/3597
Describe alternatives you've considered
NA
Additional context
NA

I saw this on deno.land<EMAIL_ADDRESS>might be what you're looking for

Nice, ill keep that in mind. Since its a bit new and untested id prefer to give it some time to have other users test it thoroughly find any bugs etc

No, it isn't. For zlib-stream compression, you need to use zlib-stream compression, which requires a shared zlib context - which wasm_gzip doesn't provide.

No, it isn't. For zlib-stream compression, you need a shared zlib context - which wasm_gzip doesn't provide.

Ahh good catch!

For regular compression though (compress = true in IDENTIFY), no shared context is needed.

Just found this<EMAIL_ADDRESS>

oo nice, @TTtie have u had a chance to take a look at this, could we use this for compression stuff?

For packet-based decompression, yes it should: https://github.com/Denocord/Denocord/commit/d729b7169acaa1d1db9f027586a1a96f3d3934a2

Closed in #100


Librarify rulesets

It'd be nice to rip out rulesets into a separate npm package, this way Core could be used more as a storage+rendering+summarising engine and the rulesets could be re-used across the ecosystem, such as in the judging app, or on a server for live results

related to #40


solution to challenge bad87fee1348bd9aedf08829

solution to challenge bad87fee1348bd9aedf08829 Create a Text Field

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and reopened this PR in an attempt to resolve the following Travis build error:

AssertionError: Test suit does not fail on the initial contents

@RandellDawson This is not a problem of tests, a problem with the changes provided.
And why you close/open PR instead of restart build in Travis CI?

@ValeraS The original failure error is was different than what the current Travis build is failing for.  95% of the PRs I have been closing/reopening with these types of errors have not responded to just clicking the Restart Build.

This is not a problem of tests, a problem with the changes provided.

What is wrong with the changes exactly which causes it to failing with the following?
  1) Check challenges tests
       Create a Text Field
         Test suite must fail on the initial contents:
     Test suit does not fail on the initial contents

@ValeraS I see the changes you just made, but I would not have guessed that fix based on the cryptic error message showing in the build log.

@RandellDawson Could you give me a PR problem that cannot be solved by restarting in Travis?
Tests check challenges provided by getChallengesForLang, these tests don't check the structure of md files. In this case <section id='challengeSeed'> is duplicated. Parser gets the second section with the provided solution, because of this tests pass on seed content.

Could you give me a PR problem that cannot be solved by restarting in Travis?

@ValeraS Almost every single PRs showing "missing script: test-ci" in the Travis build error message can not currently be resolved by simply clicking the Restart Build button.  If it was, then I would not have been closing/opening about 1000 PRs over the past couple days which had this error.  For example, PR #33455 showed the following before I clicked Restart Build:

About 4 minutes after I clicked the Restart Build button, I get the following which is the same failure as before.  This is why we are closing and restarted the majority of the Travis failures.  The only time that neither the Restart Build or the Close/Open works is if the PR has an existing merge conflict, so we have not been closing/opening those.  Plus, if it has a merge conflict, it will should resolve once a true rebase is performed during the merge conflict resolution which will trigger a new build anyway.

NOTE: If after a closing and opening, the PR it still fails, the next step is to pull down the PR locally and do a rebase and push back to the user's branch.

@RandellDawson So you open/close PR only with incorrect Travis config. https://github.com/travis-ci/travis-ci/issues/1485

  1) Check challenges tests
       Create a Text Field
         Test suite must fail on the initial contents:
     Test suit does not fail on the initial contents

Before I closed and reopened it, it failed with a slightly different message:
AssertionError: Test suit does not fail on the initial contents

But this is the same error, and restarting build is enough for this PR.

Hi @anassalam
It seems that similar changes have already been accepted earlier for this article you're editing, sorry about that. 😓
If you feel you have more to add, please feel free to open up a new PR.
Thanks again! 😊

If you have any questions, feel free to reach out through Gitter or by commenting below. 💬


doc(charts): doc why failurePolicy must be Fail

Description:
failurePolicy in the MutatingWebhookConfiguration should
always be set to Fail so that no new resources get created
and thus bypass SMI Traffic Target policies if the for some
reason the webhook server is down. This is intentional and
guarentees that new pods in the monitored namespaces and those
intended to be injected with the sidecar are indeed injected.
Setting this value to Ignore may expose Pods to traffic
they should not be exposed to.

Affected area:

New Functionality      [ ]
Documentation          [ ]
Install                [ ]
Control Plane          [ ]
CLI Tool               [ ]
Certificate Management [ ]
Networking             [ ]
Metrics                [ ]
SMI Policy             [ ]
Security               [ ]
Tests                  [ ]
CI System              [ ]
Performance            [ ]
Other                  [ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

Codecov Report

Merging #2178 (0ddabe7) into main (d0cd814) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2178      +/-   ##
==========================================
+ Coverage   58.38%   58.40%   +0.01%
==========================================
  Files         145      145
  Lines        6169     6169
==========================================
+ Hits         3602     3603       +1
+ Misses       2564     2563       -1
  Partials        3        3

Impacted Files
Coverage Δ

pkg/envoy/route/config.go
96.03% <0.00%> (+0.79%)
:arrow_up:

Continue to review full report at Codecov.

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


Comrade Mao: Chinese Downloaded instead of english

Source information
Comrade Mao
Steps to reproduce

open any novel in the source
open a chapter or download it
See that Chinese is shown instead of english

Expected behavior
English should be shown or downloaded for each chapter just like in the browser on a laptop or chrome browser on the phone. It defaults to chinese and then after a slight delay switches to english. It even does this in web view.
Actual behavior
Chinese is displayed or downloaded.
LNReader version
1.1.18
Android version
Android 14
Other details
Location of Code: https://github.com/LNReader/lnreader/blob/main/src/sources/en/comrademao.js#L130
I believe that the title needs to be specified for cheerio to choose the right one, as the order of the two anchored links/hrefs may have changed if this was working before.

ZH-CN

EN

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 1.1.18.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

The website loads the english translations as the users scroll the screen (they make Google Translate API calls for that). Mocking that behaviour in the app wouldn't be possible as it scrapes once on initial page load.

@rajarsheechatterjee couldn't you just add a wait() there for a few seconds or something?
And then let it scrape?
There are several stories that only appear there, and letting it download in the background would be fine.


Advice on cross-domain localization

Hello,
I have two websites and one is used as an IdentityServer, where user login to enter credentials or register and where he is redirected back to the second website after. Each website lives on a different domain but I can also target them to sub-domains of a main domain if that is a needed.
Localization is implemented successfully on each website with a dropdown button for the cultures. What I would like is, when a user comes to the website 2, chooses a culture (say DE) and decides to login, I want him to be redirected to IdentityServer with culture DE instead of the default.
I welcome any hint on how to achieve this?

Frankly I didn't work with Identity server, but if there's a way to pass the culture to the identity server, you could simply append the culture to the querystring when you redirect to other website
I'm happy to hear from @damienbod which wrote a lot of great blog posts about the Identity Server and localization

@hishamco , thank you for your answer and hint. Any link to blog posts on identityserver+localzation would be great as a start; a quick google search returns nothing at first attempt.

Using a query string parameter is probably the best approach here. I think that the security middleware has callback events where you can add additional data to the authentication process, which would get transferred to the authentication server.
@Tratcher - do you know the secret sauce to pass additional data to the auth server? It seems that there are OAuth-standard request parameters for things like "ui locale".

OAuth2 or OpenIdConnect? The process is similar.
For OAuth2 you implement the OnRedirectToAuthorizationEndpoint event and tack your parameters onto the already assembled RedirectUri.
https://github.com/aspnet/Security/blob/rel/1.1.2/src/Microsoft.AspNetCore.Authentication.OAuth/Events/OAuthEvents.cs#L23
For OpenIdConnect it's OnRedirectToIdentityProvider where you add your custom parameters to the ProtocolMessage.
https://github.com/aspnet/Security/blob/rel/1.1.2/src/Microsoft.AspNetCore.Authentication.OpenIdConnect/Events/OpenIdConnectEvents.cs#L33

Thanks @Eilon and @Tratcher , I thought that modifying the endpoint is not a secure procedure. I recall having read something like this on the IdenttityServer repo but cannot find the thread anymore. Perhaps @leastprivilege could comment on the procedure above.

Hi @Tratcher, can you point to some example using the Funcs you refer to? Cheers

Have a look to the test project here and there

Thanks @hishamco I will look at that, then.


Missing version git tags

Yeah .. looks like there is no any git version tags in repo.

done.

Looks like again git tag is missing :)
This time for 0.0.21.

0.0.21 is not present in this repo, but IIRC it was basically cd0fc0a45d6afec9db66e770ff7257154cb58cd0 on top of 0.0.20 content-wise.


Release v0.52.0

https://twitter.com/carvel_dev/status/1557776285086146560
https://community.chocolatey.org/packages/kapp/0.52.0

https://twitter.com/rastadidi/status/1557851485475524608


reset_offset_on_start edge case

The situation:

Run a BalancedConsumer with reset_offset_on_start=True and auto_commit_enable=True.
Observe that it starts at the latest available offset.
Before the first autocommit, start another BalancedConsumer with the same settings.
Observe that the first consumer consumes the entire history of the topic.

This is an error. It happens because _reset_offsets is not called on rebalances. Since the rebalance happens before an autocommit has occurred, the initial fetch_offsets call after the rebalance finds nothing and defaults to 0. _reset_offsets is not called on rebalances since it can result in dropped messages: any messages produced during the rebalance will be skipped when the newly created internal consumer goes straight to OFFSET_LATEST.
How should this be handled? The current workaround is to set auto_commit_interval to a short enough timespan that this situation is very unlikely to happen, but it feels like we should have a smarter way of dealing with this.
Input from @kbourgoin welcome.

This can be avoided by committing offsets immediately before a rebalance starts - we should look into that.

It's how samsa did it, and I think maybe it should be configurable, but for now having it commit before the rebalance should be sufficient to handle the corner case.


[REQUEST]: General Open Science documentation

please provide content on the goals/aims of open science, the components it consists of and a short description on open science principles (using provided documentation & people) in open-science.md*
+also including FAIR principles? provenance?
*currently provided as single page for now - once content gets bulky enough this can be separated into different files
(side note: principles might be left out of for first release)

here also, I'd like to do this today but don't know where the file it I should edit....

open-science.md can also be found and edited in the refactor/move-to-new-jekyll-vliz-theme branch (https://github.com/vliz-be-opsci/vliz-be-opsci.github.io/tree/refactor/move-to-new-jekyll-vliz-theme)

wrote something on https://github.com/vliz-be-opsci/vliz-be-opsci.github.io/blob/dev/open-science.md


feat: add support for redis serverless

what

Add support for Serverless Redis instances

why

Supporting Redis Serverless for demanding applications

notes

This upgrades the required version of the AWS provider from   ">= 5.27.0" to  ">=  5.32" as this is the first release where aws_elasticache_serverless_cache was introduced

/terratest


Automigrate: Change column size

Your Question
Hi everyone,
I'm actually using the v2 of gorm. In the documentation, I found the following information
NOTE: AutoMigrate will create tables, missing foreign keys, constraints, columns and indexes, and will change existing column’s type if it’s size, precision, nullable changed, it WON’T delete unused columns to protect your data.
https://gorm.io/docs/migration.html
I tried to change the size of one column using AutoMigrate but it appears that it is not working.
First of all, before creating any BUG issue, I wanted to double check that it is doable ?
Here is my code:
type Module struct {
	gorm.Model
	Name  string `gorm:"size:36"`
}

I only changed the size from 128 to 36
But nothing changed on my modules table.

The driver is a mysql one.
Thanks in advance @jinzhu 👍

EDIT: It seems that this issue is related as well
https://github.com/go-gorm/gorm/issues/3628
@jinzhu

@maeglindeveloper can confirm that it's related, the tests failing in this PR show that mysql does not have size information when calling ColumnTypes (used by AutoMigrate).

@maeglindeveloper can confirm that it's related, the tests failing in this PR show that mysql does not have size information when calling ColumnTypes (used by AutoMigrate).

Hi @asmeikal, I have tested postgres with datatime, seem it save the precision information into datetime_precision, which doesn't work correctly, could you check it out?

I have updated tests to test this case  https://github.com/go-gorm/gorm/tree/smart_auto_migrate

Hi @jinzhu, I'm having some problems with mysql. I've fixed the datetime precision issue, but this line fails with mysql.
The salary column is first created with data type double using this version of the entity.
Then the second version of the entity is not migrated correctly with mysql.
The desired type is decimal(2, 0) as returned by m.DB.Migrator().FullDataTypeOf(field).SQL, and the current data type is double as returned by columnType.DatabaseTypeName(). See the beginning of this function.
But the data type is not changed from double to decimal(2, 0), so the salary test fails. I'm not sure how to solve this.
I opened this PR for postgres and this PR for mysql for the datetime precision issue.

Hi @jinzhu, I'm having some problems with mysql. I've fixed the datetime precision issue, but this line fails with mysql.
The salary column is first created with data type double using this version of the entity.
Then the second version of the entity is not migrated correctly with mysql.
The desired type is decimal(2, 0) as returned by m.DB.Migrator().FullDataTypeOf(field).SQL, and the current data type is double as returned by columnType.DatabaseTypeName(). See the beginning of this function.
But the data type is not changed from double to decimal(2, 0), so the salary test fails. I'm not sure how to solve this.
I opened this PR for postgres and this PR for mysql for the datetime precision issue.

Just added a comment for the mysql driver.

Merged the PR, thank you for your awesome work ;)


Avoid or improve step by step examples when needed

Step by step examples are good. But they are not a silver bullet and I don't think they should be used when the story is not really step by step. For example, the agg guide is structured as follows:

Work with global*
Work with viewport*
Work with cluster*
Disable code from steps 1 and 2 since step 3 is not compatible with those previous steps by calling .off methods

I think this should be solved in one of the following ways:

Separate the example in one example with steps 1 and 2 and another stand-alone examples with the code of 3 without the code of steps 1 and 2.
Make a different map in which step 3 is compatible and produces a map that makes sense in combination with steps 1 and 2

I agree with you. It is a matter of choosing a good style for each guide. Sometimes a step-by-step fits well to "complete a final map" and sometimes it doesn't (and a more "catalogue of examples" approach is needed).
In this particular  case I would try to adapt 'step 3' to better fit the current approach,  so we can avoid removing code and creating off methods.

related too many maps in zoom based styles hindering map loads : https://github.com/CartoDB/developers/issues/480#issuecomment-442807500


ARROW-11667: [Rust] Add documentation for utf8 comparison kernels

ARROW-11667: [Rust] Add documentation for utf8 comparison kernels
When looking at the docs for https://docs.rs/arrow/3.0.0/arrow/compute/kernels/comparison/index.html I noticed there were several kernels without documentation, so I added some.

nit: when we wrap a name with [], cargo auto creates a link in the documentation to that struct.

That is an excellent suggestion @jorgecarleitao  -- more links == more better :)

Codecov Report

Merging #9513 (5fda248) into master (ce9d425) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9513   +/-   ##
=======================================
  Coverage   82.15%   82.15%
=======================================
  Files         243      243
  Lines       54904    54904
=======================================
  Hits        45106    45106
  Misses       9798     9798

Impacted Files
Coverage Δ

rust/arrow/src/compute/kernels/comparison.rs
95.84% <ø> (ø)

Continue to review full report at Codecov.

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


ARDebug with showPlanes: true throws an error if a surface is not found quickly.

Description:
Generally finding surfaces is a bit hard, especially on tables / chairs. If I set the debugger's showPlanes: true, it throws an error if a plane is not found immediately

Additional Information:

three.ar.js version:  latest
three.js version: 89

[X ] WebARonARKit (iOS)

The surface you are showing should work - try moving your device forward/backwards or in a circle/figure eight pattern.
As far as the error, that looks like a bug. We will investigate. Thanks!

Looks like a duplicate of https://github.com/google-ar/WebARonARKit/issues/52


Display messages with rich HTML formatting

WIP, waiting on full makepad support

Closing in favor of #62


Kata Containers 1.13.0

Version bump no changes

/test-ubuntu

From Static checks:
 ERROR: rootfs build failed
INFO: ERROR: test failed
INFO: rootfs:
total 8
drwxr-xr-x 17 root root 4096 May  5 17:22 clearlinux_rootfs
drwxr-xr-x 21 root root 4096 May  5 17:22 ubuntu_rootfs
INFO: images:
total 0
INFO: running: /home/runner/work/osbuilder/osbuilder/../tests/cmd/kata-manager/kata-manager.sh configure-image
file not found: /home/runner/work/osbuilder/osbuilder/../tests/cmd/kata-manager/kata-manager.sh at /usr/bin/chronic line 66.

And that's also happening on the jenkins-ci-ubuntu-16-04.

/test-ubuntu


Running Databricks Output with Data Factory?

I have a Databricks notebook that displays different graphs and charts that I eventually show as a dashboard. When I trigger my pipeline designed to run this notebook, none of the charts get displayed. I know that the notebook has run, though, because files are successfully written to blob storage and the code runs with no exceptions. Is there a way for the pipeline trigger to run all of the notebook outputs? Or do I not have the pipeline set up properly?
Thanks,
Brendan

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

ID: a176f27b-f9fc-e0ff-0a48-aa42036051f2
Version Independent ID: d2356b83-3101-4b56-baaf-8bdf31e3bb57
Content: Run a Databricks Notebook with the Databricks Notebook activity in Azure Data Factory
Content Source: articles/data-factory/transform-data-using-databricks-notebook.md
Service: data-factory
GitHub Login: @nabhishek
Microsoft Alias: abnarain

@brendanstec Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@brendanstec In the Databricks Notebook activity output, we return the runPageUrl which has the link to the output in Databricks. This can be found in the ADF UI after activity execution. You will find the charts by accessing the runPageUrl.
Databricks will not return those charts to data factory as such.

#please-close

Hi I am running databricks notbook on data factory and it's keep on running. once i check it on databricks log there it's showing Succeeded. Please suggest how to get the success status in data factory.


setCanvas method references same memory pointers between calls to paint() method

Thanks to @samturner3 for finding this.
When scrolling (or performing other effects), calls to setCanvas method modify existing values in memory, rather than setting the value in a declarative way.  For example, if some scrolling text is defined at position x = 0, the effects are applied to start the scroll off the screen.  But on the next call to setCanvas, x = 64 (for example).  The text keeps getting moved further off the display on each subsequent call.
Considering some new method implementations:

setCanvas wipes the canvas and redeclares the variables using either deepCopy (not implemented in older versions of Node.js), or manually assigning the CanvasSection object?
Have paint() method do the wipe of the canvas?
Create a new immutable variable for the sake of keeping the representation in sync with the declaration in the paintingInstruction representation?

This will be a new minor version.

Hmm...
https://github.com/wesleytabaka/rpi-led-matrix-painter/blob/72ce6f04b796027b18f4cc89aa8edfdf11fcedaf/src/painter.ts#L275C1-L277C23

https://github.com/wesleytabaka/rpi-led-matrix-painter/blob/72ce6f04b796027b18f4cc89aa8edfdf11fcedaf/src/painter.ts#L273C36-L273C36
let dereferencedPaintingInstruction: PaintingInstruction = JSON.parse(JSON.stringify(paintingInstruction));

Serializing and deserializing (and referencing the new variable) here seems to fix the problem, but I wonder if there's not a more clever solution.

I think we're going to go with serializing/deserializing to fix this.  Not quite ideal but my initial tests seem to have little if any noticeable performance impact.
I just need to get around to commit this code.  Should be able to sometime next week I hope.

Hey @samturner3, I have published version 1.3.0 to npm, which should fix this issue.
Thank you for your patience.  Let me know how it works out for you!

Hey @samturner3, I have published version 1.3.0 to npm, which should fix this issue.
Thank you for your patience. Let me know how it works out for you!

Cheers!
This project has sunk to the bottom of my priority list for now 😢  but will let you know once I have tried.


chore: close mixpanel telemetry for tidb-dashboard op

Codecov Report

Merging #1482 (fe08c75) into master (f318bea) will decrease coverage by 15.75%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #1482       +/-   ##
==========================================
- Coverage   24.67%   8.93%   -15.75%
==========================================
  Files         167     121       -46
  Lines       14972   12682     -2290
==========================================
- Hits         3695    1133     -2562
- Misses      11006   11428      +422
+ Partials      271     121      -150

Flag
Coverage Δ

backend_integration
8.93% <100.00%> (+0.03%)
:arrow_up:

backend_ut
?

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

Continue to review full report at Codecov.

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


Whitesource credentials not set in a complex sbt project

Hi
I'm integrating several projects with Whitesource. I use ' credentials += Credentials(realm = "whitesource", host = "whitesourcesoftware.com", userName = "", passwd = "Organization API Key" ) ' in the build.sbt file instead of the ~/.sbt/0.13/credentials.sbt file so that I don't have to propagate the credentials.sbt file to all build servers. This works well in most projects which are single-module.
However, one of the projects has a complex sbt structure with custom scala code describing the build in order to satisfy dynamic dependencies (basically it's 'shared lib' <- 'plugins' <- 'master app', with the master app depending dynamically on all the plugins). This project fails the 'whitesourceUpdate' task with ' java.lang.RuntimeException: Whitesource credential is missing. Append to credentials key with realm "whitesource" ' even though I added the same ' credentials += ... ' line to all build.sbt files throughout the project (lib, plugins AND app) AND dynamically to all projects using the custom build class.
Attached the MasterBuild.scala (heavily abridged to only include the relevant parts)
Any ideas how can I fix this? What additional info can I provide?
TIA

import sbt.Keys._
import sbt._
import sbtwhitesource.WhiteSourcePlugin.autoImport._

object AbridgedMasterBuild extends Build {

  val scalaLangVersion = "2.11.8"

  credentials += Credentials(realm = "whitesource", host = "whitesourcesoftware.com", userName = "", passwd = "Organization API Key" )

  whitesourceProduct in ThisBuild := "Whitesource Product"
  whitesourceAggregateProjectName in ThisBuild := "Whitesource Project"
  whitesourceAggregateProjectToken in ThisBuild := "Project API Key"

  lazy val defaults =
    Defaults.coreDefaultSettings ++
      Seq(
        credentials += Credentials(realm = "whitesource", host = "whitesourcesoftware.com", userName = "", passwd = "Organization API Key" ),
      )

  lazy val lib = Project(id = "lib", base = file("lib"), settings = defaults ++ Seq(
    credentials += Credentials(realm = "whitesource", host = "whitesourcesoftware.com", userName = "", passwd = "Organization API Key" )
  ))

  def isSbtProject(path: File): Boolean = path.isDirectory && path.listFiles.map(_.getName).contains("build.sbt")

  def subprojects(base: File, dirName: String) = for (x <- (base / dirName).listFiles if isSbtProject(x)) yield
    Project(id = s"${x.getName}", base = x, settings = defaults ++ Seq(
      credentials += Credentials(realm = "whitesource", host = "whitesourcesoftware.com", userName = "", passwd = "Organization API Key" )
    )) dependsOn lib

  def plugins(base: File) = subprojects(base, "plugins")

  override def projectDefinitions(baseDirectory: File) = {
    val pluginsProjects = plugins(baseDirectory)

    def asClasspathDep(p: Project): ClasspathDep[ProjectReference] = p

    val dynamics = pluginsProjects

    val master = Project(id = "master", base = file("master"), settings = defaults ++ Seq(
      credentials += Credentials(realm = "whitesource", host = "whitesourcesoftware.com", userName = "", passwd = "Organization API Key" ),
    )) dependsOn ((lib +: dynamics).map(asClasspathDep): _*)
    dynamics ++ Seq(lib, master)
  }

}

Fixed it!!
The trick is to use  ' credentials in ThisBuild += ... ' instead of ' credentials += ... '


Not working with DoH

i'm the founder and Inventor of keweon and with this DoH Server it's not working. keweonDNS is more than just an Adblocker and with the keweon Root Certificate it becomes an incredible security solution which is DNS based.
The current DoH Domain is:
https://secdns.keweon.center/keweonDNS
Yesterday it was working for a view hours but suddenly the App is not longer connecting.
Via Browser the Name request is still working. I'll keep the Server up if you are interested.

I think there may be a problem with your server's SSL configuration.  For example, I see that this domain cannot be loaded in Firefox Focus on Android due to an SSL error.

Firefox using his own Certificate Store which is complete independent from the device Cert Store.
Within Chrome and IE it's working on any Browser.
The current certificate is base on Let's Encrypt CA.
Hmmm... I will verify it with my own Certificate.
Weird thing.

EDIT:
When I'm using Intra with my own DoH Server and I enable the Option "Show recent queries" then I see within the Log it's using the IP Address [::1] for Resolver location. When I'm using Google (dns.google.com) then it will use a valid IPv4 Address.

I try to adjust Nginx because may be this causing the troubles. I don't understand why it's working with Chrome, IE and Mozilla withing the Browser but the App don't accept the Certificate.
For the Certificate I will copy the Certificate from Google or Cloudflare and use this as Template because it might be that Let's Encrypt Certs missing things.

The Client ignores everything. It doesn't matters what kind of certificate I create I will get always the same error message. Intra can't connect because it's using the ::1 resover address. See this picture.
https://image.ibb.co/fMqzWp/915f9bc5_cd4a_4e62_9673_b74c1c6cf500.jpg
I have no problems with any Certificate within any Browser. Actually it's a Certificate from my own RootCA. It's working within every App. The same behaviour is when I'm using the LetsEncrytpt Certificate.
As frontend I'm using NGINX and it also doesn't matters what settings I do it will not work. I also tried it by direct embeded certificate within the DoH Server - everytime the same error.
Actually it's frustrating.

Does it work with dnscrypt-proxy? If it does, this is probably an issue in Intra. If it doesn’t, it’s probably on your end.

The "::1" error message is not accurate.  The underlying error here is actually a certificate validation failure.
Given that you're now using a custom root CA, this is not too surprising.  We haven't considered how to support custom root certificates in Intra.

OK, I have done some Tests and actually it's also not clear what will go wrong. You are at the moment I'm using my own CA and Cert and with this it is somehow working.
If you are interested you can also take my Root Certificate to verify.
http://pki.keweon.center/certs/keweonAdBlockCertificate.crt

With Let'sEncrypt Certificate are not working with DoH.
It seems it's required to use the IP Address within the URL because there is no DNS to resolve the URL.
Why it's anyway working with Google and Cloudflare - no Idea
When I'm using the IP Address within the Certificate I can use my own DoH within Mozilla. For testing I was using the "FORCE DoH SERVER" Option and I was using IP address instead of Server FQDN.

https://i.imgur.com/QFKvlb5.png
I have anyway installed my Root Certificate for some reasons on my mobile device but Intra is not working with IP Address. I will get again the ::1 resolver.
https://secdns.keweon.center/keweonDNS or https://<IP_ADDRESS>/keweonDNS are both not working with Intra.
Mozilla:
https://secdns.keweon.center/keweonDNS is not working
https://<IP_ADDRESS>/keweonDNS is doing the Job.
No idea if this will help to find what's going wrong and actually I have no additional idea what to do or to test.

      Does it work with dnscrypt-proxy? If it does, this is probably an issue in Intra. If it doesn’t, it’s probably on your end.

I would never use DNSCrypt but for testing I can do a setup if it would help to solve the problem.

I would never use DNSCrypt but for testing I can do a setup if it would help to solve the problem.

???
dnscrypt-proxy is the most popular DoH client.
Testing your DoH server using IE and Chrome is not going to help you much.

For using DNSCrypt Proxy I would need to root my device. That's not possible.
But I was talking about DNSCrypt itself. With this you encapsulate a package of average 70byte into a 8kb container. A default daily mobile communication will have round about 30.000 DNS requests per Day. Depends on the amount of Apps and 60.000 with Ads and Tracking is the maximum. Now you can calculate the senseless traffic per Day and Month on mobile device just for "secure DNS communication". To finalize the number game you can also calculate the DNSCrypt traffic for Google. They have round about 900.000 requests per Second. Funny traffic number.
Based on MTU size of 1500 you have a huge delay on the package. It also takes time to decrypt the package and if you have a bad connection you need to request the entire package again. DNSCrypt is a funny thing and it was just a nice PoC. I'm working with DNS since round about 20yrs but DNSSEC and DNSCrypt are are a mess. Although DoH is existing since round about 5 yrs there is a lot of work to do with it. But from my point of view it is the very first solution which has a huge potential.

I guess I will setup a different server. With my own Certs it's only working within FF on Windows. Some of my User within XDA reported the same config on FF within Android will not work.
Weird thing...

@TorstenJahnke
I am using dns-over-https connect to unbound and caddy.
DoT and DoH work well for me.
https://doh1.eieidns.com/dns-query

Thanks a lot. Actually I'm working on dnscrypt-proxy as DoH. I will take a look at your recommendations 👍


my modernized smallpt howework assignment

AAA + const + constexpr + concepts + ranges and some parallel STL as well

Nice! You took it all the way :D

Thanks for merging.
This assignment caused me to work on constexperifying range-v3: https://github.com/ericniebler/range-v3/pull/1683
Unfortunately, Eric has no time to review PRs these days.


Poor rspamd results for a single mailbox

Classification

[X] Question

Reproducibility

[X] not applicable

Docker information
Not relevant
Description
Running 20 mailboxes across 5 domains there is a good rspamd filter accuracy for 19 mailboxes with nearly no spam delivered to inbox.
For one account however there is a flood of spam (~20 pcs/day) coming to mailbox with "no action" taken.
How is that possible and is there anything I can do to resolve this issue?
I know that is quite a generic question and maybe more relevant for rspamd community but any input is very much appreciated..
Score of spam seems to be max 3-4/20 usually but some are even negative
Steps to reproduce
n/a
Expected results
Same filter accuracy on all mailboxes
Actual results
Single mailbox is receiving significantly more spam then others
Debugging information
n/a
Configuration (docker-compose.yml, traefik.toml...etc)
Everything default. Let me know if something helpful can be provided..
Thanks a lot in advance!

Can you scan some e-mails in the user's INBOX or spam folder and post the result ?
docker exec -ti mailserver rspamc symbols /var/mail/vhosts/domain.tld/john.doe/mail/cur
docker exec -ti mailserver rspamc symbols /var/mail/vhosts/domain.tld/john.doe/mail/.Spam/cur/*

hi
thanks for your response!
Spam:
https://pastebin.com/raw/dq7QTsqu
(mail.censored.com is my server<EMAIL_ADDRESS>is the problematic account)
Ham:
https://pastebin.com/raw/dcEEGGfk
(from inbox, some spam might not yet be moved to Spam...)
Does that shed some light on it?

Can you give me some example of mail with "no action" taken but that you think is spam. I need maildir filename for each mail, example<PHONE_NUMBER>.M475606P30012.mail.domain.tld,S=64906,W=66412:2,S.

i will ask user to sort undetected spam into a seperate folder an dget back to you. he moved all to spam so i can't decide which was detected and which wasn't

he moved all to spam

Ok, with that i was able to check some emails in Spam folder with properties set to Spam=false and Action=no action or greylist. Most of these mails have a negative bayesian classifier (BAYES_HAM) and they don't have enough symbols increasing the score.
Your user must train rspamd to handle correctly this kind of e-mails by putting them in the Spam directory. He will have less spam after some time.
My docker image is configured to perfom an auto ham learning when a message have a negative score, but you can change that :
https://rspamd.com/doc/configuration/statistic.html#autolearning
https://github.com/hardware/mailserver/blob/c5fad7eb17ddef039ae61132fe1f60510f86e6b4/rootfs/etc/rspamd/local.d/statistic.conf#L10-L12

https://rspamd.com/rspamd_statistics/

rspamadm utility can convert fuzzy hashes from SQLite storage to Redis using fuzzyconvert tool.
Rspamadm fuzzyconvert
This command migrates fuzzy hashes from SQLite to Redis. Typical invocation would be something like rspamadm fuzzyconvert -d /var/lib/rspamd/fuzzy.db -h <IP_ADDRESS>:6379 -e 2419200 where -e is your hash expiry time in seconds.
Application Options:
  -d, --database     Input sqlite
  -e, --expiry       Time in seconds after which hashes should be expired
  -h, --host         Output redis ip (in format ip:port)
  -D, --dbname       Database in redis (should be numeric)
  -p, --password     Password to connect to redis

hi hardware
thanks for your reply. I meanwhile asked the user to copy undetected Spam to a dedicated folder to seperate it from the ones that go to .Spam automagically.
27 pcs in 22 hours ended in this dedicated folder. Actually he is doing the move to .Spam manually as he was hopign the filter learns and this is for at least 3 months now.
Maybe the autolearn to ham for negative scores is an issue in this case.
As I had the all in a dedicated place I tried to teach them to the filter like this (does that work?):
find . -type f -name '*mail.digitalkr.am*' | while read line; do docker exec -i mailserver rspamc learn_ham < $line ; done

The majority of files were giving this output:
Results for file: stdin (0.000 seconds)
HTTP error: 410<EMAIL_ADDRESS>is skipped for bayes classifier: already in class ham; probability 100.00%

And only five (probably those with a score > 0) gave this output:
Results for file: stdin (0.000 seconds)
success = true;

So I should disabled that ham leaning on negative score, right?
And is there a way to learn definite Spam anyways even if it is learned as ham before? Som kind of a force flag? Tried to google it but found nothing obvious...
Thanks again!
Cheers,

27 pcs in 22 hours ended in this dedicated folder. Actually he is doing the move to .Spam manually as he was hopign the filter learns and this is for at least 3 months now.

If your user train rspamd every day but that there is no change after several months, ask on rspamd mailing list if there is a better approach in this case.

I will but obviously I should also disable auto ham learning as it refuses to learn spam that it learned before as ham..
thanks


Refactor the logic of GET /api/projects

The current logic:
GET /api/projects?is_public=1 returns all public projects.
GET /api/projects and GET /api/projects?is_public=0 both need the user login and return the projects which the login user is member of.
Ideally:
GET /api/projects  should returns all projects the user has permission to no matter the user login or not.
GET /api/projects?is_public=0 should returns a sub-collection of GET /api/projects in which all the project are private.
Maybe we can use this one:
GET /api/repositories?owner=xxx&name=xxx&public=true&member=xxx&role=1&page=1&size=3
The query conditions are described as follows:
owner: the username of project owner
name: the name of project
public: the project is public or not
member: the username of the user who is the member of the project
role: the role of user specified by member parameter to the project

Mentioned also in #674 .

Completed by #2485 .


chore(package): update deps

Now that tests are fixed, just trying to skip all the existing Greenkeeper PRs in one fell swoop.

Coverage decreased (-0.002%) to 99.533% when pulling ec5416a9e4d3031c154c4edaaa854b2b765ea9c5 on nexdrew/update-deps into d8bcd7ed3ae08c6e941f68374a42101311463941 on master.


Support for --internal network?

Just found this project and super excited, works great for the default or other non --internal docker networks.
$ docker run --rm --name nginx -d nginx
$ docker inspect nginx --format '{{.NetworkSettings.IPAddress}}'
<IP_ADDRESS>
$ curl -m 1 -I <IP_ADDRESS>
HTTP/1.1 200 OK
Server: nginx/1.23.3
Date: Wed, 08 Mar 2023 03:44:47 GMT
Content-Type: text/html
Content-Length: 615
Last-Modified: Tue, 13 Dec 2022 15:53:53 GMT
Connection: keep-alive
ETag: "6398a011-267"
Accept-Ranges: bytes

But it doesn't work if I use an --internal network
$ docker network create --internal internal
$ docker run --rm --name nginx-internal -d nginx --network internal
# note that NetworkSettings.IPAddress is empty
$ docker inspect nginx-internal --format '{{.NetworkSettings.Networks.internal.IPAddress}}'
$ curl -m 1 -I <IP_ADDRESS>
curl: (28) Connection timed out after 1002 milliseconds

Was wondering if its even possible for this to work with an internal network?

Hey @dkoshkin, thanks for reaching out. Without --internal, Docker creates a bridge network between the container and the host (Linux VM) to give it external access. Since adding --internal removes this bridge, you no longer get access to the Wireguard tunnel that lives on the Linux VM.
Curious what your use case is using --internal with this tool?

We use it to simulate air-gapped (specifically no egress) networks in docker.

Got it. Yeah this is a bit of an interesting case, as typically air-gap would exclude all networks, including your host (but of course, that makes dev/debugging hard).
The solution here would be to somehow create a connection only between the --internal container and the host, without passing through the Linux host's network namespace. I'll have to think more about this one.

Okay I did a deep dive on this today. This is what I discovered (for those curious):
How it works

I was partially wrong about the bridge network above. For internal networks, a bridge network is created. This makes sense of course - how else would multiple containers talk to each other within the internal network?
The difference between an internal bridge and a regular bridge actually just comes down to a few iptables rules:

If internal, 2 additional iptables rules are added to the Linux host:

iptables -I DOCKER-ISOLATION-STAGE-1 ! -d <IP_ADDRESS>/16 -i br-f653b152ce48 -j DROP
iptables -I DOCKER-ISOLATION-STAGE-1 ! -s <IP_ADDRESS>/16 -o br-f653b152ce48 -j DROP
Uses br-f653b152ce48 as the example internal bridge interface and <IP_ADDRESS>/16 as the example subnet

Basically Docker is saying, "If any packet from the internal subnet is going anywhere other than the same network, drop it"
There are a few additional NAT rules for a normal bridge and missing for an internal bridge that will masquerade when going to an external network - not relevant here

Solution
We need to respect the above isolation rules for internal networks while still giving access to the Wireguard VPN. I think the solution is to add 2 iptables rules to the Linux host:

iptables -I DOCKER-USER -o chip0 -j ACCEPT
iptables -I DOCKER-USER -i chip0 -j ACCEPT

Basically anytime a packet is headed to or from the chip0 (Wireguard) interface, accept it.
Fyi, DOCKER-USER is a custom iptables chain created by Docker intended to be augmented by end users. See:
https://docs.docker.com/network/iptables/
I've tested the above and it works. I think it is safe to add these rules as defaults (rather than some sort of opt-in), because this is more-or-less the default behaviour if you were to run Docker on a vanilla Linux host.


Feature Request: Option to create media links instead of raw text

Current behavior:
The plugin generates frontmatter entries, such as:
feature: mythumb.png
Desired behavior:
Creation of media links, such as:
feature: ![[mythumb.png]]
Reason: In DataView it is possible to create media links from the text parameters, but it is more complex. In the DB Folder plugin, it is even more complicated or even impossible to display it as a thumbnail if it is not a media link.
I would therefore like to suggest creating media links as an option in the settings.
Thank you for your great plugin! It realy makes my workflow much easier.

Thanks for your positive feedback!
I have already fixed this for version 1.0.5, but before I publish it I just want to make sure:
If I set the feature to ![[mythumb.png]] in Frontmatter, Obsidian will then write it to the file as:
feature: "![[mythumb.png]]"
Note the quotation marks. It does this if the frontmatter property includes markdown syntax. When reading the property however the quotations marks won't be included. Will this work for your use case?

I just published 1.0.5 - maybe you can try it out and report here how it works for your use case?

Closing it now, let me know if you need further changes! 👍

Hi,
I have now tried 1.0.6 and it works wonderfully in my vault. Thank you very much!


fix: Fix grpc schema hack in flight integration test

Which issue does this PR close?
Closes https://github.com/apache/arrow-rs/issues/1398
Rationale for this change
Certain flight integration tests are failing with rust
We think something about the gRPC library has changed recently to be more strict, but I never found a good way to verify this.
What changes are included in this PR?
Change some workaround code in the "scheme" passed to gRPC to use http:// rather thangrpc:// https://github.com/apache/arrow-rs/issues/1398#issuecomment-1059610103 as suggested by @lidavidm ❤  ❤
Are there any user-facing changes?
No this is a test only change

Codecov Report

Merging #1402 (c8fb66d) into master (afcf304) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

:exclamation: Current head c8fb66d differs from pull request most recent head 6132b3b. Consider uploading reports for the commit 6132b3b to get more accurate results

@@            Coverage Diff             @@
##           master    #1402      +/-   ##
==========================================
- Coverage   83.10%   83.10%   -0.01%
==========================================
  Files         181      181
  Lines       53244    53244
==========================================
- Hits        44249    44248       -1
- Misses       8995     8996       +1

Impacted Files
Coverage Δ

...ng/src/flight_client_scenarios/integration_test.rs
0.00% <0.00%> (ø)

parquet_derive/src/parquet_field.rs
65.98% <0.00%> (-0.46%)
:arrow_down:

arrow/src/array/transform/mod.rs
86.43% <0.00%> (+0.11%)
:arrow_up:

Continue to review full report at Codecov.

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

🎉


Fix codeblocks in Configuration doc

Fixes codeblocks:

Indentation
Some line references

Hi @GuardRex, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;


[build] VSCode can't start executable after compiling

So, I followed the "Using raylib in VSCode" guide. When launching the "Debug" run task. It successfully outputs an executable called game.exe, but when launching, it's trying to launch main.exe. So it gives the error main is not an executable.
This is what it runs:
gcc -o game main.c -O1 -s -Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces -Wl,--subsystem,windows -I. -IC:/raylib/raylib/release/include -IC:/raylib/raylib/src -IC:/raylib/raylib/src/external C:/raylib/raylib/raylib.rc.data -L. -LC:/raylib/raylib/release/libs/win32/mingw32 -LC:/raylib/raylib/src  -lraylib -lopengl32 -lgdi32 -DPLATFORM_DESKTOP
Oh, it also seems that C:/raylib/raylib/raylib.rc.data doesn't actually exist, so that also returns an error each time.

Now it doesn't even generate the executable anymore. This is the error I'm getting. (I haven't changed any files)
gcc: error: C:/raylib/raylib/raylib.rc.data: No such file or directory

Unfortunately, I'm not giving support for VSCode. Closing this issue.


Link to Parent Issue

Link issues if there is a parent issue.
Requested by: @robertjahn
If a JIRA ticket is created and an evaluation is requested from that ticket, We should link the evaluation-done ticket to the parent (originating ticket).
For the purposes of this ticket we will standardise on the key of jira-issue. We will also assume that the parent is responsible for adding the jira-issue key to the labels value of the start-evaluation JSON.
eg.
"labels": {
  "jira-issue": "AB-123"
}

Do you think the service should expect the org as in these examples?  or do you want to assume to use the jira-base-url from the jira-details secret?
"labels": {
  "jira-issue": "AB-123",
  "jira-org": "https://dynatracedemos.atlassian.net"
}

or perhaps
"labels": {
  "jira-issue": "AB-123",
  "jira-org": "dynatracedemos
}


Better message when exceeding rate limit

$ dev-time SamVerschueren

SamVerschueren
HTTPError: Response code 403 (Forbidden)
    at /Users/Hemanth/.nvm/versions/node/v5.1.0/lib/node_modules/dev-time-cli/node_modules/got/index.js:102:11
    at BufferStream.<anonymous> (/Users/Hemanth/.nvm/versions/node/v5.1.0/lib/node_modules/dev-time-cli/node_modules/read-all-stream/index.js:64:3)
    at emitNone (events.js:72:20)
    at BufferStream.emit (events.js:166:7)
    at finishMaybe (/Users/Hemanth/.nvm/versions/node/v5.1.0/lib/node_modules/dev-time-cli/node_modules/readable-stream/lib/_stream_writable.js:509:14)
    at endWritable (/Users/Hemanth/.nvm/versions/node/v5.1.0/lib/node_modules/dev-time-cli/node_modules/readable-stream/lib/_stream_writable.js:519:3)
    at BufferStream.Writable.end (/Users/Hemanth/.nvm/versions/node/v5.1.0/lib/node_modules/dev-time-cli/node_modules/readable-stream/lib/_stream_writable.js:484:5)
    at Unzip.onend (_stream_readable.js:490:10)
    at Unzip.g (events.js:260:16)
    at emitNone (events.js:72:20)

This looks like I have exceeded the request limit, should we log something meaningful here?
Say like use an auth-token?

Good point. But the error should be thrown in dev-time.

Should the cli catch and throw a suitable message based on what kind of error it was, rather than dev-time doing it?
As in dev-time just throw the error and based on that the cli will log a suitable message.

Yes, the error Response code 403 doesn't say a lot. I think that GitHub returns the throttle limit in the headers so if the throttle limit is exceeded, it should throw new Error('throttle limit exceeded'). The message can then be formatted here.

Either ways, makes sense.

1.3.1

:+1:


Buttons for answers

It would be great if instead of adding radio list or checkboxes you could just add a list of buttons where the label is the asnwer, So instead of having to click twice to select the radio or checkbox and then next, you just click the relevant answer button and it goes to the next page.

@BIGANDYT I believe that you are talking about this functionality: http://surveyjs.org/examples/jquery/survey-autonextpage.html

Sort of, but i wouldn't want radio buttons, i want an actual click button, where the answer is rendered as the text of the button. The use case is a touch screen type survey its more user friendly to click a button rather than click a radio element. Thanks for the response.

@BIGANDYT You may change the rendering: http://surveyjs.org/examples/knockout/survey-customtemplate.html
Though, It is supported in react and knockout versions only.

Perfect thanks


Most permission are not not working

MC version: 1.14.4
PEX version: 1.23.4
I am having an issue with permission not working. I have setup permission correctly. I had a friend try to figure the issue out but couldn't figure it out. The issue I have with is all perms except bskyblock perms.
default:
default: true
permissions:
- auctionhouse.use
- auctionhouse.menu
- auctionhouse.search
- auctionhouse.help
- auctionhouse.sell
- auctionhouse.expired
- auctionhouse.auctions.2
- BeastTokens.balance
- BeastTokens.shop.TokenShop
- BeastTokens.MobTokenDrop
- BeastTokens.withdraw
- minions.player.linkchest
- minions.player.helpcommand
- minions.skins.*
- jetshoppers.default.linkchest
- jetshoppers.default.hologram
- BossShop.open.*
- BossShop.open.command
- bskyblock.island.*
- bskyblock.settings.*
- bskyblock.team.maxsize.3
- bskyblock.island.maxhomes.1
- bskyblock.island.range.100
- chestshop.shop.*
- citizens.npc.talk
- essentials.pay
- essentials.helpop
- essentials.spawn.*
- essentials.itemdb
- essentials.mail.send
- essentials.mail
- essentials.kit
- essentials.tpa
- essentials.tpdeny
- essentials.tpahere
- essentials.tpaccept
- essentials.sethome
- essentials.home
- essentials.delhome
- essentials.back
- essentials.ping
- essentials.seen
- essentials.msg
- essentials.warp
- essentials.warp.list
- essentials.warps.crates
- essentials.warps.tutorial
- essentials.warps.pvp
- essentials.warps.spawn
- goldencrates.user
- signurls.use
- silkspawners.place.*
- ultimatekits.use.*
- ultimatekits.kit.starter
- mcmmo.ability.*
- mcmmo.chat.partychat
- mcmmo.commands.defaults
- multiverse.access.bskyblock_world
- multiverse.access.bskyblock_world_nether
- multiverse.access.bskyblock_world_the_end
- multiverse.access.spawn

PEX 1.23.4 isn't supported here, nor is it supported anywhere else.


Home page loading updated

There have some conflict check it once

There have some conflict check it once

I have thoroughly reviewed the situation from my end, and I'm pleased to report that I haven't encountered any conflicting issues.

There have some conflict check it once

I'm pleased to inform you that the conflict issue has been successfully resolved.


Allow for switching between date systems

Hi there,
I was unable to find this feature in the plugin nor in the documentation, so I thought I would make a feature request for it.
It would be nice to be able to switch date systems, in my case from m/d to d/m

Thanks for submitting the issue! This is a duplicate of #52


[ENH] Add log cache

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

...

New functionality

This PR adds a cache for the log to reduce the latency of the brute force operator.
It utilizes foyer (https://github.com/MrCroxx/foyer) as the cache library. Foyer provides in memory as well as hybrid cache which allows us to apply it as block cache.
The key for the cache entry is collection_id + start_offset, and the value is Arc<[LogRecord]>.  To call out, the cache is not yet aligned on a batch boundary. We may want to make the cache key align on the batch boundary to reduce unnecessary caching.
Cache invalidation is not yet implemented and will be added as a follow up PR based on collection version and log position for the latest compaction.

Test plan
How are these changes tested?

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

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

@MrCroxx Thank you for making Foyer compatible with Rust stable. This PR uses Foyer's memory cache to cache the log records reading from databases in batches. It would be great to have you take a look and offer some insights on the PR.

Hi, @Ishiihara . Thanks to invite me to review this PR. I'll finish it in 2-3 days.
I noticed you introduced both foyer and foyer-memory. IMO, with the latest version (0.8.6), foyer is enouth for most usecases. Is there something that cannot be achieved? Please tell me and I'll export it if necessaey.

Hi @Ishiihara , you can run cargo update -p foyer-memory -p foyer-storage -p foyer to upgrade foyer and resolve the comments.


Add unit tests

This work was done in preparation for adding support for additional features (FIFO, interrupts).
Hardware-dependent tests were rewritten as unit tests, so tests can be run regardless of the i2c bus number or if the ADXL345 is attached or not.  While the unit tests confirm expected values, actual hardware responses need to be validated using the examples.
JSDoc was added so the module remains easy to use, although this does make the PR a big bigger than I had hoped (sorry).

Sorry for the delay! This looks awesome but give me a few so I can fire things up and run through to take a closer look. Thank you for your contribution.


[Event Request] codeunit 6620 Copy Document Mgt. - Add parameter to function OnAfterCopySalesLinesToDoc

Dear ALAppExtensions Team,
Is it possible to add a parameter to function OnAfterCopySalesLinesToDoc in codeunit 6620 ?
-OnAfterCopySalesLinesToDoc(
FromDocType, ToSalesHeader, FromSalesShipmentLine, FromSalesInvoiceLine, FromReturnReceiptLine, FromSalesCrMemoLine,
LinesNotCopied, MissingExCostRevLink);
+OnAfterCopySalesLinesToDoc(
FromDocType, ToSalesHeader, FromSalesShipmentLine, FromSalesInvoiceLine, FromReturnReceiptLine, FromSalesCrMemoLine,
LinesNotCopied, MissingExCostRevLink,RecalculateLines, IncludeHeader);

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


Speed: Slow processing in ubuntu

I have 8 GB RAM Ubuntu in EC2. The image background removal command is taking time around 6-10 seconds but My CPU & RAM is utilizing only 1-10 %
Is there any option to increase the speed via utilizing more resources?
I really appreciate support of this repo.

For Video or image?

It is from Image.

Try newest version

Thanks for the reply. But How to know the existing version and the new version?
backgroundremover -v command is not working.
Also, How to update it using cli?


After validation of providers fails, spinner keeps spinning

Validation provider when e.g. putting there non existent url which will result in timeout

@dclarizio anybody has seen that. @martinpovolny is the 'throw error' instead of the referrer check? Interesting fact is, that it still puts there the flash message, but hiding of the spinner is not finished.

Ignore the throw. Yes, that is there to prevent execution in context of JSONP.


Rule 932270 False Positives for Tilde + Number

Description
In version 4.6.0, rule 932270 seems a little too aggressive on the tilde + number matches. For example, "~20 minutes" triggers a false positive. I wonder if https://github.com/coreruleset/coreruleset/blob/main/regex-assembly/932270.ra can be updated to check for word boundaries or something.
How to reproduce the misbehavior (-> curl call)

Set up a server with CRS 4.6.0.
Add a GET parameter with a value of ~20 minutes (~20+minutes URL encoded).

Your Environment

CRS version (e.g., v3.3.4): 4.6.0
Paranoia level setting (e.g. PL1) : 1
ModSecurity version (e.g., 2.9.6): 3.0.12
Web Server and version or cloud provider / CDN (e.g., Apache httpd 2.4.54): Nginx
Operating System and version: Linux

Confirmation
[X] I have removed any personal data (email addresses, IP addresses,
passwords, domain names) from any logs posted.

Issue confirmed.
Curl call:
curl -v -o/dev/null 'localhost/?foo=it+takes+~20+minutes'

Log:
[Thu Oct 03 16:42:05.587601 2024] [security2:error] [pid 59:tid<PHONE_NUMBER>51424] [client <IP_ADDRESS>:38586] [client <IP_ADDRESS>] ModSecurity: Warning. Pattern match "~(?:[\\\\+\\\\-](?:$|[\\\\s\\\\x0b0-9]+)|[0-9]+)" at ARGS:foo. [file "/etc/modsecurity.d/owasp-crs/rules/REQUEST-932-APPLICATION-ATTACK-RCE.conf"] [line "398"] [id "932270"] [msg "Remote Command Execution: Unix Shell Expression Found"] [data "Matched Data: ~20 found within ARGS:foo: it takes ~20 minutes"] [severity "CRITICAL"] [ver "OWASP_CRS/4.8.0-dev"] [tag "modsecurity"] [tag "application-multi"] [tag "language-shell"] [tag "platform-unix"] [tag "attack-rce"] [tag "paranoia-level/1"] [tag "OWASP_CRS"] [tag "capec/1000/152/248/88"] [hostname "localhost"] [uri "/"] [unique_id "Zv7JXUTZVnBcPQylYzYr_AAAAFg"]

I can see the logic of what rule 932270 is trying to achieve.
The other things it detects, like ~+2 and ~-, are very unlikely to ever appear in natural language, but something like ~20 is very likely to do so.
Moving the pattern ~\d+ to a higher paranoia level is the obvious solution.

Do you have some feedback about this problem?

@airween the test was fine and I commented the PR with my tests.

Any ideas which Paranoia Level would be better to the ~\d+? I think PL2 is not suitable, and we should move it to PL2, any suggestions?


Starting white frame

Hi,
The video recording works fine but all the videos have a single transparent frame. How can i avoid that or remove it so that thumbnails shows correct image in all places.
Issue environment:

Device Model: iPhone 7
Xcode Version: 9
iOS Version: 11
Pod Version or Repo Commit: 1.3.2

Issue Details:

1.3.3 fixes this. Please try and let me know.

Updated the pod, But now its option unwrapping error  in  captureSession.stopRunning() under ' finishWriting ' method. Anything i should have changed.

The white frame is still coming in the latest update 1.3.8

Can you please try with the new version (1.4.0) This should be fixed now. Promise

Awesome. It has been fixed. It works fine now and multiple videos in the same session is also working without any videos being lost. No black/white thumbnails or starting frames. Kudos.
Have an issue with the new audio method. Audio not being recorded. Have started an issue for the same.


fix: Dataset duplication fatal error

SUMMARY
Minor fix for dataset duplication.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS
Try duplicating a dataset. It should work now.
ADDITIONAL INFORMATION

[x] Has associated issue: #21281
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@michael-s-molina @lyndsiWilliams ^^

/testenv up

LGTM

@eschutho Can you update the description and write 'Fix #21281' to auto close the GitHub issue?


fixed html raw debris on the login form

Issue #7
Fixed the HTML debris on the login form

Publify needs to be usable by an international audience of non-english speakers. Your are hardcoding the english words "Email" and "Login".


Create a system for invoking the situation dependent graphics system and window system declarations

like XR_USE_GRAPHICS_API_OPENGL
and XR_USE_PLATFORM_WIN32
etc.

The compile flags used on my windows computer for the OpenXR SDK may help us coax clang into segregating the windows specific parts of the API. The following definitions from the openxr loader compile line might be relevant:

XR_USE_GRAPHICS_API_OPENGL
XR_USE_GRAPHICS_API_VULKAN
XR_OS_WINDOWS
XR_USE_PLATFORM_WIN32
XR_USE_GRAPHICS_API_D3D11
XR_USE_GRAPHICS_API_D3D12
OPENXR_HAVE_COMMON_CONFIG
XR_USE_TIMESPEC
XR_CURRENT_API_MAJOR_VERSION=1
XR_CURRENT_API_MINOR_VERSION=0
XR_CURRENT_API_PATCH_VERSION=18

These defines do not change when I select/deselect build all extensions.