Directly moving/dragging an event after creation gives TypeError

First, thanks for this component, it saved me some work to figure out how to use fullcalendar in vue!
The issue: When trying to move a newly created event after creation for the first time (can be 1 second or 10 seconds) it will give an error:

TypeError
Cannot read property 'def' of undefined

(full traceback from the sandbox below)
As soon as you move another event or create an additional one, the initial event can be moved without any issues. This happens also in your example sandbox (https://codesandbox.io/s/5xlp873rkl). (To reproduce: First create a new event by click&drag and then immediately try to move it by dragging it somewhere else)
I quickly looked through the FullCalendar.vue-code but did not see anything obvious (but I'm quite new to VueJS).
In the web-example of fullcalendar.io (https://fullcalendar.io/js/fullcalendar-3.7.0/demos/selectable.html) this does not happen.
full error:

TypeError
Cannot read property 'def' of undefined
EventInstanceGroup.getEventDef
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:2107:64
Constraints.isEventInstanceGroupAllowed
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:8309:43
SubClass.InteractiveDateComponent.isEventInstanceGroupAllowed
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:3325:42
HitDragListener.hitOver
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:10696:47
HitDragListener.DragListener.trigger
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:5701:32
HitDragListener.handleHitOver
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:2207:14
HitDragListener.handleDragStart
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:2181:18
HitDragListener.DragListener.startDrag
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:5608:18
HitDragListener.DragListener.handleDistanceSurpassed
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:5667:18
HitDragListener.DragListener.handleMove
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:5622:22
HitDragListener.DragListener.handleMouseMove
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:5680:14
GlobalEmitter.proxy
https://5xlp873rkl.codesandbox.io/node_modules/jquery/dist/jquery.js:496:14
GlobalEmitter.intercept
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:1298:28
GlobalEmitter.dispatch
https://5xlp873rkl.codesandbox.io/node_modules/jquery/dist/jquery.js:5206:27
GlobalEmitter.elemData.handle
https://5xlp873rkl.codesandbox.io/node_modules/jquery/dist/jquery.js:5014:28
Object.trigger
https://5xlp873rkl.codesandbox.io/node_modules/jquery/dist/jquery.js:8201:12
jQuery.fn.init.triggerHandler
https://5xlp873rkl.codesandbox.io/node_modules/jquery/dist/jquery.js:8275:24
GlobalEmitter.EmitterMixin.trigger
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:1320:17
GlobalEmitter.handleMouseMove
https://5xlp873rkl.codesandbox.io/node_modules/fullcalendar/dist/fullcalendar.js:1829:18
HTMLDocument.proxy
https://5xlp873rkl.codesandbox.io/node_modules/jquery/dist/jquery.js:496:14
HTMLDocument.dispatch
https://5xlp873rkl.codesandbox.io/node_modules/jquery/dist/jquery.js:5206:27
HTMLDocument.elemData.handle
https://5xlp873rkl.codesandbox.io/node_modules/jquery/dist/jquery.js:5014:28

...somehow the event does not seem to work with any click-event after creation: In my own code I delete an event using the "event-selected"-event, and this also does not work when clicked for the first time (second time does)

Hi @schober-ch,
Thanks for this, I will look into it, is there any chance that you could fork my codesandbox with a failing example?

I don't think this is possible - the error does not happen for events created via props/data in the code (just tested in a fork).
I can provoke the error in any sandbox by just two steps: Create a new event by click&drag in the week-view and then click the event.
I can't test any other browser atm (I'm on chromium), but at least it does also happen in an incognito window without any addons/extensions running.

Ah got you, thanks for trying. I will look into it shortly.

So digging around, it looks like that is a bug with fullcalendar
But the reason that their selectable demo is working is because it is creating a proper event after prompting for a title, whereas I think the select helper was tricking you into thinking it had created an event when you selected part of the calendar.
To do this, you should listen for the select event and add your logic for creating an event. To get you started I have replicated their logic in this sandbox
Hope that helps :)

Ah, interesting. So I assumed too much from their example - thank you for looking into it, I'll change my code. Do you think it would make sense to add an example to the vue-fullcalendar doc for this?


The Page Preview plugin auto-scrolls before I can click any indented link in Reading Mode

Hey there, I need help with clicking indented links on my bullet points, but the Page Preview plugin in reading mode keeps scrolling down before I can click on anything. None of my other plugins are interfering btw. I want to cease the scrolling when I use Page Preview before clicking on links.
To recreate this, simply make a bullet point, and then add several indented bullet points with links under the initial bullet point.
https://github.com/nothingislost/obsidian-hover-editor/assets/112918049/0057aaac-b12b-41e0-8068-8eb5941d7123

Can you reproduce this in a fresh sandbox without the stock theme, no other plugins, and no CSS snippets?  If so please post or upload the text in question so I can attempt to reproduce it.

Sure! Here I'm trying to click on the first indented link, but it keeps cutting down. Here's also a link to the sandbox.
https://github.com/nothingislost/obsidian-hover-editor/assets/112918049/3725ea09-9257-4be2-b9ec-93d7e5f007d4
Test.zip

Ok, so this issue is actually an Obsidian issue - I can get it to happen (jump-scrolling) without Hover Editor by explicitly requesting a workspace re-layout in the dev console, or by splitting right.  It's tricky as it doesn't happen literally every time; it's a lot easier to trigger the scroll with hover editor on.  The nested list isn't the key part either - I can make it happen with any list as long as a list has been scrolled partway off-screen.
I will talk to the Obsidian devs and see if they have any ideas on how to prevent this.

While I'm waiting to hear back from the Obsidian devs, I have released Hover Editor 0.11.12 with a workaround for this issue, and confirmed the fix in my local copy of your demo vault.  Please let me know if it fixes the issue in your real vault as well.

Splendid! The new update fixed my problem, for now I can click and stop anywhere I please.
https://github.com/nothingislost/obsidian-hover-editor/assets/112918049/24cab107-e886-4bdf-ab60-145c7f11412d
Thank you very much for helping me here!


refactoring the validators

Towards: https://github.com/giantswarm/giantswarm/issues/13827
We want to fetch the g8scontrolplane only once for all validators plus some general refactoring and cleanup.

I tested all of this (including the Pod CIDR defaulting) on gauss and it all looks good. We have agreed on further refactoring steps as described here: https://github.com/giantswarm/giantswarm/issues/13827
If it's fine I want to merge this soon and get a release with the current changes ready.


Move EEType.cs to Common and use it from CoreLib

This enables us to remove the various EEType interrogation exports from Runtime.Base.

@davidwrighton Pointed out that instead of using EEType.cs from Runtime.Base, we would want to pull out EEType.cs from the type loader (still lives on the TFS side) and use that instead. It's more full featured and doesn't call into the unmanaged runtime to do the "complicated" things.

Two EEType.cs that we got are very similar. Ideally, all System.Private.CoreLib, Runtime.Base and TypeLoader would share the same copy.

Agreed.

This was fixed by me a few days ago.


Add ext-mbstring to check it's installed

Changed log

Add ext-mbstring extension to check whether it's installed.

Thanks for your pull request!


Fix Readme file typo

pip install -r requirements.txt instead of pip install -r requirement.txt

Thanks @sikgyu!


Undefined method 'admin_url'

I have installed Devise with a model called admin. When I go to http://localhost:3000/admins/sign_in I see the form and register for an account. However, after registering I get the error
undefined method `admin_url' for #<Devise::RegistrationsController:0x007fb39714fe68>
Similarly, after signing in I get the error
undefined method `admin_url' for #<Devise::RegistrationsController:0x007fb39714fe68>
In Routes.rb I have
devise_for :admins
using rails 3.1.1

I think the issue was that my Devise model and my rails_admin were both named "admin"


Code cleanup

Reformats of manifest for Colors-Theme
Uniform setup of README's

Thank you mate.


⚠ GitLab Server has degraded performance

In cc4985c, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6925 ms

Resolved: GitLab Server performance has improved in 1fd57bd.


Random Data Generator - Primary option

Extension
https://www.raycast.com/loris/random
Description
Feature Request
It would be handy to have an option in the settings to change the primary action between copy in the clipboard and paste in active app
Who will benefit from this feature?
All users of the Raycast extension
Anything else?
No response

Created an update in #10570 that adds this option


Request with no changes save loops

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
After making a change to a request and reverting that change Bruno think the request has changes.
After saving those non-changes Bruno still thinks there are changes that need to be saved.
When closing the request Bruno asks to save unsaved changes, after then opening the request again Bruno still says there are changes
.bru file to reproduce the bug
Any request add a space and remove said space
Screenshots/Live demo link

@MWDidata - thanks for submitting. I've created a repro of what you describe below.
For the Bruno team, here are the comprehensive steps:

Open collection
Make any modification (typing a letter/character, deleting a letter/character)
Manually revert that modification (delete typed letter/character, replace deleted letter/character)
Press save
Attempt to close application/collection

https://github.com/user-attachments/assets/43a19118-c3c5-435a-80bf-a691089c68aa

Hey @anusreesubash
I reviewed the changes you made, including the extra line, but it seems the pop-up is still appearing, so the issue may not be fully resolved yet. If you could take another look, I’d really appreciate it. Please see the video attached. Thank you!


Cast from INT64 to TEXT not supported

A simple reproducer:
import modin.pandas as pd

df = pd.DataFrame({"A": [100]}).astype(str)
print(df)

Error:
modin/experimental/core/execution/native/implementations/hdk_on_native/hdk_worker.py", line 76, in _executeRelAlgJson
    res = rel_alg_executor.execute()
  File "_sql.pyx", line 103, in pyhdk._sql.RelAlgExecutor.execute
RuntimeError: Cast from INT64 to TEXT not supported

We can likely support this by projecting a non-encoded string, but we won't be able to use that in subsequent queries (it will only work single step).


Composer Install Problem

In one of my projects while installing I get the following error
Your requirements could not be resolved to an installable set of packages.

Problem 1
    - dektrium/yii2-user 0.9.x-dev requires yiisoft/yii2-authclient ~2.0 -> satisfiable by yiisoft/yii2-authclient[2.0.0, 2.0.0-beta, 2.0.0-rc, 2.0.1, 2.0.2, 2.0.x-dev].
    - dektrium/yii2-user v0.9.0 requires yiisoft/yii2-authclient ~2.0 -> satisfiable by yiisoft/yii2-authclient[2.0.0, 2.0.0-beta, 2.0.0-rc, 2.0.1, 2.0.2, 2.0.x-dev].
    - dektrium/yii2-user v0.9.1 requires yiisoft/yii2-authclient ~2.0 -> satisfiable by yiisoft/yii2-authclient[2.0.0, 2.0.0-beta, 2.0.0-rc, 2.0.1, 2.0.2, 2.0.x-dev].
    - dektrium/yii2-user v0.9.2 requires yiisoft/yii2-authclient ~2.0 -> satisfiable by yiisoft/yii2-authclient[2.0.0, 2.0.0-beta, 2.0.0-rc, 2.0.1, 2.0.2, 2.0.x-dev].

composer.json
...
"require": {
        ...
        "dektrium/yii2-user": "0.9.*@dev"
    },
...

I can't reproduce this issue. Could you please provide full composer.json?

{
	"name": "abhi1693/yii2-app-advanced-startup-kit",
	"description": "Yii 2 Practical Advanced Application Template (Startup Kit)",
	"keywords": ["yii2", "framework", "practical", "application template","advanced"],
	"type": "project",
	"license": "BSD-3-Clause",
    "authors": [
        {
            "name": "Abhimanyu Saharan",
            "email"<EMAIL_ADDRESS>            "role": "Developer"
        }
    ],
	"support": {
		"issues": "https://github.com/abhi1693/yii2-app-advanced-startup-kit/issues?state=open",
		"source": "https://github.com/abhi1693/yii2-app-advanced-startup-kit/"
	},
    "minimum-stability": "dev",
    "require": {
        "php": ">=5.4.0",
        "yiisoft/yii2": "*",
        "yiisoft/yii2-bootstrap": "*",
        "yiisoft/yii2-swiftmailer": "*",
       "dektrium/yii2-user": "0.9.*@dev"
    },
    "require-dev": {
        "yiisoft/yii2-codeception": "*",
        "yiisoft/yii2-debug": "*",
        "yiisoft/yii2-gii": "*",
        "yiisoft/yii2-faker": "*"
    },
    "config": {
        "process-timeout": 1800
    },
    "extra": {
        "asset-installer-paths": {
            "npm-asset-library": "vendor/npm",
            "bower-asset-library": "vendor/bower"
        }
    }
}

I can't reproduce. Everyting install as it should.

I have the same problem. If I install without version, I get v0.5.1
test@alexd-Lenovo-B560:~$ composer require "dektrium/yii2-user: *"./composer.json has been
********
  - Installing dektrium/yii2-user (v0.5.1)
    Downloading: 100%
********
}

But if  I use composer require "dektrium/yii2-user:0.9.*@dev", then I get this error:
composer require "dektrium/yii2-user:0.9.*@dev"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - dektrium/yii2-user v0.9.0 requires yiisoft/yii2-authclient ~2.0 -> satisfiable by yiisoft/yii2-authclient[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4].
    - dektrium/yii2-user v0.9.1 requires yiisoft/yii2-authclient ~2.0 -> satisfiable by yiisoft/yii2-authclient[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4].
    - dektrium/yii2-user v0.9.2 requires yiisoft/yii2-authclient ~2.0 -> satisfiable by yiisoft/yii2-authclient[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4].
    - dektrium/yii2-user v0.9.3 requires yiisoft/yii2-authclient ~2.0 -> satisfiable by yiisoft/yii2-authclient[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4].
    - dektrium/yii2-user v0.9.4 requires yiisoft/yii2-authclient ~2.0 -> satisfiable by yiisoft/yii2-authclient[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4].
    - yiisoft/yii2-authclient 2.0.4 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - yiisoft/yii2-authclient 2.0.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - yiisoft/yii2-authclient 2.0.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - yiisoft/yii2-authclient 2.0.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - yiisoft/yii2-authclient 2.0.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - Installation request for dektrium/yii2-user 0.9.*@dev -> satisfiable by dektrium/yii2-user[v0.9.0, v0.9.1, v0.9.2, v0.9.3, v0.9.4].

Installation failed, reverting ./composer.json to its original content.

Have you any ideas? Thank you!

Solved by installing and enabling php5-curl extension.

@alexd73 : Thanks! Worked like a charm.


execute_command() and response callbacks

Thanks for wanting to report an issue you've found in redis-py. Please delete this text and fill in the template below.
It is of course not always possible to reduce your code to a small test case, but it's highly appreciated to have as much data as possible. Thank you!
Version: all
Platform: all
Description: there is quirkiness in how the response from execute_command is handled, which is case- (pun intended) dependent. When calling execute_command('info'), the callback is skipped and the result is returned as a newline-separated string. Calling execute_command('INFO') returns it as a parsed dict. The same would possibly happen with any custom response callback.
That said, changing this (e.g. upper() on the command's name) would break existing code relying on this behavior.
Credit: @oranagra

Is there ever a reason to using client.execute_command('info') over client.info()?

yes, i think so.
in my case, the code that decide how / when / where to run the command is complicated, and i call it like find_replica(tips).query(command_args).
or in fact: info = find_replica(tips).query('info', 'memory')

I don't really know how common this is, but my guess is that most people use the client methods. However, I don't think it would impact many users if we changed the response callback lookup to be case insensitive. I'll work on a patch.
FYI: this will likely require any multi-word command name to be specified as a single string, just like the existing client methods. e.g., .query('config get', ...) instead of .query('config', 'get', ...).

I don't follow...
we use .query('config', 'get', ...)
are you saying your fix will somehow affect this?

The client assumes the first argument is the full command name. e.g.: https://github.com/andymccurdy/redis-py/blob/master/redis/client.py#L904
That command name is what's used to look up the appropriate response callback. 2-word commands are stored as a single string in the lookup dict.

I started implementing this and realized there's a second issue. There's a handful of commands that pass extra parsing options to the response callbacks. For example, look at ZRANGE: https://github.com/andymccurdy/redis-py/blob/master/redis/client.py#L2413
The withscores and score_cast_func are extra options that be supplied to the ZRANGE function and are passed though to the callback function via keyword arguments. A user would have to pass these explicitly along with the command to get the same behavior as calling the client.zrange().

I suppose that if someone's using execute_command he can't expect to be able to pass these special (command specific) arguments.
IMHO the only thing to fix is the odd behavior that execute_command returns different value on uppercase vs lowercase.

@oranagra Just pushed a branch with the case insensitive command names. Would you mind trying it out before I merge it?

@andymccurdy basic feature of case insensitive execute_command obviously works fine.
I'm not sure if you intended for me to test for any regression, if so, i'm not able to do that at the moment. hope you have a good test coverage.

Merged this into master.


An easy way to generate the correponding figure according to the problem sentence

According to the author's update ref. https://github.com/google-deepmind/alphageometry/commit/82364a7f3f245ba00df5574a1db40bf38def9a7f, I found an easy to way to generate the figure according to the sentence:
import unittest
from absl.testing import absltest
import dd
import graph as gh
import problem as pr

txt = 'f g h i j = pentagon f g h i j; a = intersection_ll a f j g h; b = intersection_ll b f g h i; c = intersection_ll c g h i j; d = intersection_ll d h i f j; e = intersection_ll e f g i j; o1 = circle o1 a f g; o2 = circle o2 b g h; o3 = circle o3 c h i; o4 = circle o4 d j i; o5 = circle o5 e j f; k = intersection_cc k o5 o1 f; l = intersection_cc l o1 o2 g; m = intersection_cc m o2 o3 h; n = intersection_cc n o3 o4 i; o = intersection_cc o o4 o5 j; ox = circle k l m ? cyclic k l m n'
defs = pr.Definition.from_txt_file('defs.txt', to_dict=True)
p = pr.Problem.from_txt(txt,translate=False)
g, _ = gh.Graph.build_problem(p, defs)
goal_args = g.names2nodes(p.goal.args)
gh.nm.draw(
      g.type2nodes[gh.Point],
      g.type2nodes[gh.Line],
      g.type2nodes[gh.Circle],
      g.type2nodes[gh.Segment])

The plot functions was in the numeric.py  file, the authors remove the save disk options. I recover it and now I can draw batch of figures correspond to the given problem sets
Here is the following code
draw() function in numericals.py
def draw(
    points: list[gm.Point],
    lines: list[gm.Line],
    circles: list[gm.Circle],
    segments: list[gm.Segment],
    goal: Any = None,
    highlights: list[tuple[str, list[gm.Point]]] = None,
    equals: list[tuple[Any, Any]] = None,
    block: bool = True,
    save_to: str = None,
    theme: str = 'dark',
) -> None:
  """Draw everything on the same canvas."""
  plt.close()
  imsize = 512 / 100
  fig, ax = plt.subplots(figsize=(imsize, imsize), dpi=100)

  set_theme(theme)

  if get_theme() == 'dark':
    ax.set_facecolor((0.0, 0.0, 0.0))
  else:
    ax.set_facecolor((1.0, 1.0, 1.0))

  _draw(ax, points, lines, circles, goal, equals, highlights)

  plt.axis('equal')
  fig.subplots_adjust(left=0, right=1, top=1, bottom=0, wspace=0, hspace=0)
  if points:
    xmin = min([p.num.x for p in points])
    xmax = max([p.num.x for p in points])
    ymin = min([p.num.y for p in points])
    ymax = max([p.num.y for p in points])
    plt.margins((xmax - xmin) * 0.1, (ymax - ymin) * 0.1)
### save figure to disk;
  #plt.show(block=block)
  plt.savefig(fname = save_to, dpi=300)

import unittest
import random
from absl.testing import absltest
import dd
import graph as gh
import problem as pr

problem_file = "imo_ag_30.txt"
problems = pr.Problem.from_txt_file(
    problem_file,
    to_dict=True,
    translate=False
)

for key in problems:
    print(key)
    defs = pr.Definition.from_txt_file('defs.txt', to_dict=True)
    p = problems[key]
    g, _ = gh.Graph.build_problem(p, defs)
    goal_args = g.names2nodes(p.goal.args)
    gh.nm.draw(
      g.type2nodes[gh.Point],
      g.type2nodes[gh.Line],
      g.type2nodes[gh.Circle],
      g.type2nodes[gh.Segment],
      #block=True,
      save_to="./output/plot/"+key+".jpg")

Here is figure correponding to the problem imo 2015 P3

I meet a trouble when run this code, can you solve it 'TypeError: cannot unpack non-iterable Point object'


Finding 3D cordinates

How can we get 3D cordinates from the depth image?

We can't, because we do not know the projection matrix of the camera.

What if we have the parameters ? I.e. intrinsic and extrinsic parameters of
camera.
On Wed, Sep 26, 2018, 2:57 AM Mingxiang Fan<EMAIL_ADDRESS>wrote:

We can't, because we do not know the projection matrix of the camera.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/darkthecross/SingleImageDepthEstimation/issues/1#issuecomment-424507570,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ahr4U-Uwb41CGrkmCJ_Wu_QnVinXJeYqks5uep_FgaJpZM4W2hIi
.

This is more like a mathematical problem:
https://www.researchgate.net/post/How_can_I_Convert_Kinect_rgb_and_depth_images_to_real_world_coordinate_xyz
GL!


Whether the Development.md can add a guidance to help fix regular error? such as the below error.

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
2.5.1
Current Behavior
Hi, during Kong start, I found below error, is there any quick guidance for this problem? thanks ! :)
2023/03/16 10:29:43 [emerg] 229298#0: SSL_CTX_load_verify_locations("/home/liuph/kong/bazel-bin/build/kong-dev/kong/servroot/.ca_combined") failed (SSL: error:0200100D:system library:fopen:Permission denied:fopen('/home/liuph/kong/bazel-bin/build/kong-dev/kong/servroot/.ca_combined','r') error:2006D002:BIO routines:BIO_new_file:system lib error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib)
Expected Behavior
Normal booting
Steps To Reproduce
Kong start,
cat bazel-bin/build/kong-dev/kong/servroot/logs/error.log
....
SSL_CTX_load_verify_locations("/home/kong/bazel-bin/build/kong-dev/kong/servroot/.ca_combined") failed (SSL: error:0200100D:system library:fopen:Permission denied:fopen('/home/liuph/kong/bazel-bin/build/kong-dev/kong/servroot/.ca_combined','r') error:2006D002:BIO routines:BIO_new_file:system lib error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib),
....
Anything else?
SSL_CTX_load_verify_locations("/home/kong/bazel-bin/build/kong-dev/kong/servroot/.ca_combined") failed (SSL: error:0200100D:system library:fopen:Permission denied:fopen('/home/liuph/kong/bazel-bin/build/kong-dev/kong/servroot/.ca_combined','r') error:2006D002:BIO routines:BIO_new_file:system lib error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib),

it works using below settings.
nginx_user = root root
nginx_main_user = root root

@fffonion do you think this could be improved?

@bungle I happended to discuss with @liupenghui-owen over email today. Although permission is the root cause here,
I feel it might be dependent on a specific setup, as I was able to run kong start without tweaking user. It might be an
issue where some commands was executed with root user. So I'm inclined to not add this workaround to the doc.


Added heartbeat functionality

Please use your existing pull request at #261
You just reverted the README commit rather than removing it.


Error: Critical File transfer error

Hi,
I've deployed the container fine and logged into a FTP server using the web GUI however when I try and transfer any files I get the following error in the log window:
Error: Critical file transfer error
Any ideas?, please 🙏

Can you share a screenshot of the the error ?
Do you have the same issue with any FTP server ?
Does the location where you save the file makes a difference (e.g. do you have the same problem if you download to /tmp)?

Hey I don't get the error when downloading to the /tmp dir? How do I use dir my choice?

Normally when you create the container you configure a volume to map the /storage inside the container to a folder of your choice on the host.
How did you create the container ?

Hey thanks for replying. See attached
filezilla:     image: jlesage/filezilla     container_name: filezilla     # ports:     # - "5800:5800"     volumes:       - /home/dietpi/filezilla:/config:rw       - /mnt/shared:/storage:rw     restart: unless-stopped     network_mode: service:vpn     depends_on:       - vpn

So you need to make sure that /mnt/shared has proper permissions/ownership to allow writes from the container's user, which is controlled by USER_ID and GROUP_ID environment variables.
See https://github.com/jlesage/docker-filezilla#usergroup-ids

Hi,
I have the same issue.
I have make sure that my storage has proper permissions/ownership - also edited environement variables with proper user id and group id but still cannot download files into my storage - show critical file transfer error

Do you have the same issue if you download to /tmp?  If no, then the problem points to a permission issue.

Do you have the same issue if you download to /tmp? If no, then the problem points to a permission issue.

Yes, I able to download to tmp folder - how to fix the permissions issue? On my NAS, the path involved already have permissions for read and write

Nevermind - i figure it out. Thanks! Works like a charm now.

Great ! Closing this issue.


support "x-nullable" property

Closes #92
For now, just supporting x-nullable. Once OpenAPI publishes a version with nullable, will be very easy to add support for that.
I just picked a light-blue-ish color for "Nullable" in the UI. If you would rather use some other color that is totally ok with me, let me know and I can update the PR or you can do it after in a separate commit.
Let me know if I didn't get to anything that should also be changed for this.

Coverage increased (+0.008%) to 86.466% when pulling 027cdc19c8fec61de64c5522fcf9a9db622d20d6 on kedashoe:x-nullable into 22eff033e38020d0c721a0eb78c951df79067c1d on Rebilly:master.

@kedashoe thanks for your PR!
Will release a new minor version in a few hours :)

Awesome, ty!


ERROR TypeError: undefined is not an object on V2.1.1

When testing the latest version 2.1.1 the following error occurs.
file:///app/tns_modules/nativescript-google-maps-sdk/map-view.js:28:32: JS ERROR TypeError: undefined is not an object (evaluating 'this._owner.get')
May 30 10:25:59 --- last message repeated 1 time ---

Seems an exception on my side was causing this.
Closing it.


1.3.3

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.92%. Comparing base (bae41e2) to head (daf1eba).
Report is 17 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
+ Coverage   99.80%   99.92%   +0.11%
==========================================
  Files          31       31
  Lines        2529     2529
  Branches      228      228
==========================================
+ Hits         2524     2527       +3
+ Misses          4        2       -2
+ Partials        1        0       -1

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


Bump driver version to 5727c45

Signed-off-by: Michele Zuccala<EMAIL_ADDRESS>What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
This PR bumps driver version to https://github.com/falcosecurity/libs/commit/5727c456ce22f3c1da8c3b1d7d6b6937a9b2126b since some useful PRs were merged there since last update.
Just to mention a few:

https://github.com/falcosecurity/libs/pull/40
https://github.com/falcosecurity/libs/pull/49
https://github.com/falcosecurity/libs/pull/56
https://github.com/falcosecurity/libs/pull/59
https://github.com/falcosecurity/libs/pull/72
https://github.com/falcosecurity/libs/pull/81

Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
N/A
Does this PR introduce a user-facing change?:
build: upgrade driver version to 5727c45

/milestone 0.30.0

LGTM label has been added.  Git tree hash: b7907ca48bab6256783cc280da565445a96c0cdf

/approve

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

Needs approval from an approver in each of these files:

OWNERS [leogr]

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


calibrate loopout display in various contexts

The SVG path drawn to represent a Loopout was only calibrated to look good for a few different cases.
Try out many different cases, varying the length of the Loopout, as well as the start and end helix (including where the start and end are the same, e.g., for a hairpin), and the relative offsets of each end. Ensure that the loopout looks decent, and that the textPath drawn to indicate the DNA sequence is also properly calibrated and shows all the DNA bases clearly without squishing them together too much, nor going off the end of the loopout.

Now that loopouts are drawn "loopier" than before (#176), also need to calibrate when the two offsets being connected are not equal. It looks pretty good when they are equal (like a hairpin), but when unequal, it crosses one of the BoundSubstrands it connects. It would be nicer if it didn't cross either BoundSubstrand.
Here's an example showing how all look good except the top right, which connects two different horizontal offsets:

Also it would be good to shrink the font if the length is too long to display all bases at full size:

Insertions (having much less space for display than most loopouts) shrink the font size beyond length 1:

One thing that would be good to fix is loopouts that do not initially cross the helix they are on. For example, here's a "typical" loopout between two adjacent helices:

Here's a similar one with the strand polarities reversed. It's a bit awkward in that it moves over the helices, even though it goes strictly between them. It might be better if it didn't cross those helices (but still bowed to the right more, to emphasize that it is not a crossover)

Here's a more awkward example:

YUCK


Nit: Improve log formatting

/kind cleanup
Otherwise the log message is not properly formatted:
{"controllerInstallation":"foo-wh4rv","level":"error","msg":"Failed to patch ControllerInstallation status: %+van error on the server (\"Internal Server Error: \\\"/apis/core.gardener.cloud/v1beta1/controllerinstallations/foo-wh4rv/status\\\": Post \\\"https://host:443/apis/authorization.k8s.io/v1/subjectaccessreviews?timeout=10s\\\": context deadline exceeded\") has prevented the request from succeeding (patch controllerinstallations.core.gardener.cloud foo-wh4rv)","ts":"2022-04-21T13:13:27.187Z"}

Release note:

NONE

/lgtm
/approve

/lgtm
/approve


[Bug] Breakage is broken

Breakage is broken
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`.
Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

See this job for instance.

@amontoison Do you have this problem too? :-(

@ocots
I didn't encounter this bug yet but your should use the version v4 of actions/upload-artifact.

@amontoison Yes but now we have a new bug with the v4:
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

Can you send me the link to the .yml file?
I can maybe have before the conference AD2024.

It's this Breakage.yml (here it is with the v2) file. I think that the .yml which makes the comment will need to be updated. It's this CommentPR.yml.
@amontoison Thanks!


High Memory Leak

Hello,
I've been using this plugin for an Ionic Framework (based on AngularJS) app and it is leaking memory.
Here's a very good analysis that proves the leak:
https://github.com/driftyco/ionic/issues/1096#issuecomment-206020609
The sample project the previous analysis references is this one:
https://github.com/cenobyte321/ionic-pdf-video-memory

@cenobyte321 good point. I need to add a pdfDoc.destroy() on destroy. Or at least expose a destroy method.
I noticed there's a bunch of stuff happening in the app you created: DOM manipulation and adding the video tags, etc. Could you run another test where you remove all that and just leave the PDF in the view. Just curious if that makes any impact.

Hello @winkerVSbecks I've made another branch without the videos and with less operations:
https://github.com/cenobyte321/ionic-pdf-video-memory/tree/test-2-no-videos
The memory usage increments by transitioning between the two views but in a lower rate now.
I still believe having the destroy() and clean() methods of PDF.js at least exposed in the wrapper could help to actually clean anything that is left by that plugin, and would be a very good upgrade.
One more thing, I am using in the project this pull request to render all pages from the PDF
https://github.com/winkerVSbecks/angular-pdf-viewer/pull/51
Would adding the destroy and clean methods also solve this situation with that pull request?

Yes, I'm absolutely going to add the destroy and clean methods. Was just curious if PDFJS did some of that automatically. Doesn't seem like it though.

I'm sure the render all pages is increasing the memory leak. 1 vs multiple canvases. Since PDFJS methods still reference them the canvases are probably not being destroyed.

@cenobyte321 If you are curious, I added this functionality in my fork and created a PR on this repo.

Thanks for reporting btw, I was not aware of this issue!


icons not being displayed

Current behavior
Icons are not showing properly (as seen in #220 and #106)
Expected behavior
my prompt to appear as in the repo's screenshots
X resources font configuration (.Xdefaults)
URxvt.font: xft:Source\ Code\ Pro\ for\ Powerline:pixelsize=12,xft:PowerlineSymbols,xft:Unifont:pixelsize=12,xft:noto-fonts-emoji:pixelsize=12,xft:Material-Design-Icons:pixelsize=12

Relevant Zsh configuration (.zshrc)
# # If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes

# Set Spaceship ZSH as a prompt
autoload -U promptinit; promptinit
#prompt spaceship
ZSH_THEME="robbyrussell"

# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

source $ZSH/oh-my-zsh.sh

Environment
Spaceship version:
➜  ~ echo $SPACESHIP_VERSION
➜  ~
Zsh version: 5.7.1
Zsh framework: OMZ
Zsh plugin manager: None
Terminal emulator: urxvt
Operating system: Arch Linux
Screenshot
Provide a screenshot that shows your issue.

Update: I have gotten the icons to display correctly, by removing ALL font definitions from .Xdefaults, however they are showing up extremely small, and it appears to be defaulting to a font that I do not wish to use.

(the different from right --> left is that the following line is commented OUT on the left, and is not commented on the right)
URxvt.font: xft:Source\ Code\ Pro\ for\ Powerline:pixelsize=12,xft:Material\ Icons:pixelsize=12

This is most likely an issue with your terminal emulator font/unicode configuration and not directly related to spaceship-prompt. Closing this now, Feel free to reopen if face issues with prompt.


texinfo: fix reference to build platform gawk

Description of changes
texinfo 6.8 added custom code to search for awk specifically for texindex, which picks up build platform awk from PATH. Therefore, we need to override this check using the TI_AWK variable. This variable is only used since 6.8, but should be harmless in older versions.
This should cause no rebuilds for native builds.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin
[x] armv7l-linux (cross)

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

cc @vrthra @oxij

Someone else submits this same PR and it gets merged within a couple of hours... #255393


v1.5.0 crash when adding a link

I recently updated to v1.5.0. Everytime I add a link the docker container exits. I only see the scanning pop-up followed by the captcha(open circle) and then the screen goes black. This issue doesn't exist with v1.4.3.
Just say if you need logs or anything...

Which captcha methods are you using?  Do you know which one is causing the crash?  Is the link you are adding can be shared so I can try to reproduce?

It's an open circle captcha by filecrypt.cc.
Yes the links are public but I guess I can not post them here, if you know what I mean :sweat_smile:

I was able to reproduce by creating and encrypted link with filecrypt.cc:
https://filecrypt.cc/Container/E5C1F51ECC.html
Just add this link to JDownloader on a freshly create container.

Thanks, it's working again :smile:
Amazing project with great support 👍


DeepSpeed streaming, max_length is ignored

serving.properties:
option.model_id=EleutherAI/gpt-neo-1.3B
option.task=text-generation
option.tensor_parallel_degree=2
option.dtype=fp16
option.enable_streaming=true
#option.enable_streaming=huggingface
engine=DeepSpeed
option.parallel_loading=true

curl command:
curl -X POST "http://localhost:8080/invocations" \
     -H "content-type: application/json" \
     -d '{"inputs": ["Large language model is"], "parameters": {"max_length" :2}}'

Expected to return 2 new tokens, but 50 tokens are returned

This is not a valid inputs, given max_length < input_token size. You may want to use a value larger than input token length, or use max_new_tokens instead to avoid input token size limitation

tried max_length = 25, still the same. We need standard the parameters as much as possible.


hey ayon i had added complete java codes from  basics to linearlinkedlists remaining will be uploaded soon

if you have any doubt in this you can refer my repository named java placement course
https://github.com/SaikiranVoladri/Java-Placement-course

Merging to alternate branch for reformatting


show more info for nodes

Is your feature request related to a problem? Please describe
it is needed from the dashboard to view extra node info like:

network speed (download/upload)
dmi data

Describe the solution you'd like

get dmi data for each node from zos.system.dmi rmb call
get speed data either from zos.system.diagnostics or zos.perf.get(network) calls

update: (wip)

merged the indexer to be in a single package
used a single rmb client across all the proxy
introducing dmi watcher

update: (work is done)

description & changes on the pr description https://github.com/threefoldtech/tfgrid-sdk-go/pull/726


transfer of repo ownership

@mbenford you've done an excellent job, but it seems that you may not have the time to commit to the project. Would you consider transferring ownership, or at the very least giving other's write access to the repo?
Thanks

Thanks for the kind words. I guess I'm not ready to transfer ownership of this project yet, but I absolutely welcome any help in maintaining it. Are you willing to help? If you are, please ping me at @mbenford on Twitter.

This issue was selected to be spring-cleaned by a script. More information can be found here.
If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file.


Searching without the hotkey

Hey @drgrib, I have a quick Q if you don't mind!
I was hoping to have Alfred automatically draw up results from my bear without me having to specifically put in bs at the starting of the query - could you please guide me through how to do that?
I have the workflow editor open in front of me and I was wondering if simply changing the script filter to a file action or a universal action would let me achieve what I'm gunning for?
Thanks a ton!
Cheers,
J

Closed as either resolved or unclear request.


Add python 2 and python 3 testing through tox

This module is designed to run on both major versions of python! But unfortunately I haven't been able to write the tox config that would enable that.
@benjaoming any pointers? Feel free to add this too :)

Went ahead with this in #8, actually didn't see this issue :) But can be closed now :)


Hard to reproduce results locally

Hi, I was able to run all models locally (run_end_to_end.sh) but weren't able to run catboost on top of the models.
TypeError: fit() missing 1 required positional argument: 'validation_data'
It looks like I am missing something. Is it possible to reproduce your pipeline without loading data from the cloud?

If it will help, here are some things that I noticed/changed:
-- wrong catboost config name parameter in run_end_to_end.sh (should config_catboost_ensemble.yaml instead of catboost_ensemble.yaml)
-- no mention of train_split.csv and valid_split.csv in local run instruction.
-- it's not hard but a bit annoying to rewrite paths in configs to your local paths. I would point them to local repo directory.
-- same thing goes for ensembling notebook which points to data on the cluster. Also, names for particular models there (model_name.csv) differ from what run_end_toend.sh produces (model_name/submission.csv).
But overall it is very useful and interesting pipeline, which helped me a lot both in terms of ML and software design.
Thank you for sharing this!

@lodurality  how did you resolve the train_split.csv and valid_split.csv issue?

@setuc Hi, you can generate train_split.csv and valid_split.csv by running
neptune run experiment_manager.py --config neptune_config.yaml --train_valid_split
on master or
neptune run --train_valid_split on master
Just specify the paths in the neptune_config.yaml
@lodurality I am still working on this but everything seems to be working just fine on the dev branch.
I want to smoke test some stuff over the weekend and post a nice update on kaggle on Monday but if you are short on time just use the dev.

@lodurality Fixes and improvements are on master now.
As for config management I am not sure if I want to employ something like ansible for every user or keep it simple as it is and let people put this layer of abstraction themselves if they want to. Some people will only have one neptune.yaml

@jakubczakon @lodurality @setuc,
I'm closing this issue -> fixes are on master, and competition is over. Since last post here, a lot of improvements were added to our codebase.
Best,
KK


stdenv: bump required Bash version from 4 to 5

Description of changes
Currently stdenv requires Bash 4.x that was released in 2009. This change bumps the required version to Bash 5.x (2019, 5 years ago).
See https://mywiki.wooledge.org/BashFAQ/061 for more details.
Using a relatively modern Bash version allows us to rely on newer features (e.g. ${var@a}) and remove workarounds for older quirks (e.g. https://stackoverflow.com/a/7577209, “old bash empty array problem”). Note that many setup hooks are using features added after 4.0 version, e.g. makeWrapper uses ${var@Q} from 4.4, but some even require Bash >5.0, e.g. cargoBuildHook uses ${var@U} from 5.1.
References:

#108102
https://github.com/NixOS/nixpkgs/pull/318614#discussion_r1706164958

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Honestly it’s unclear to me why we even support Bash versions other than the one in Nixpkgs. I guess with direnv or similar you can end up loading stdenv stuff into a non‐Nixpkgs shell, but we already don’t support e.g. macOS’s Bash version. (In other words, 👍)

Honestly it’s unclear to me why we even support Bash versions other than the one in Nixpkgs. I guess with direnv or similar you can end up loading stdenv stuff into a non‐Nixpkgs shell, but we already don’t support e.g. macOS’s Bash version. (In other words, 👍)

IIRC nix-shell uses Bash from the user environment in some cases. I don’t think that’s the case for nix develop though.
See also https://nix.dev/manual/nix/2.23/command-ref/nix-shell.html#environment-variables:~:text=Defaults to the bash,PATH if not found.

cc @roberth in case you know of some other cases on the Nix side that this change may affect.

cc @reckenrode for a view from the Darwin side? I think the main reason this was not done for long was due to Darwin, but I don't know any details.

macOS ships an ancient Bash claiming to be 3.2.57(1)-release, so I don’t think there’s a reason for it to block here. IIRC it might backport some Bash 4 features, but I doubt enough to make things actually work, and it would trigger the previous error anyway.

Apple ships an ancient Bash because they stopped updating GNU tools when they switched to GPLv3. Other ones have been replaced, but Apple continues to ship the ancient bash along with zsh instead of replacing it.
I don’t know why Darwin was an issue in the past. It’s possible that the bootstrap tools shipped Bash 4, but they were updated in https://github.com/NixOS/nixpkgs/pull/302387, so that should not be an issue. The bootstrap tools now have Bash 5.2. The Darwin bootstrap also rebuilds Bash very early and uses that in preference to the bootstrap tools Bash.

but some even require Bash >5.0, e.g. cargoBuildHook uses ${var@U} from 5.1.

Does this mean we need to check for at least 5.1, too?

In this particular case, we can use ${var^^} (Bash 4.0) instead of ${var@U} 😅


lropoller.result returns incomplete data

Package Name: azure-core
Package Version: 1.22.0
Operating System: Linux - Ubuntu Impish 21.10
Python Version: Python 3.9.7

Describe the bug
The result method of azure.core.polling.lropoller returns invalid data. Even after the operation is completed (wait has returned), result returns data with all fields set to None. We noticed this recently and it wasn't the case before (~1 week ago).
To Reproduce
Run the following script:
from azure.mgmt.resource import ResourceManagementClient
from azure.mgmt.network import NetworkManagementClient
from azure.mgmt.resource import SubscriptionClient
from azure.identity import DefaultAzureCredential

LOCATION = 'francecentral'
GROUP_NAME ='test-group'
SUBSCRIPTION_ID = 'XXXXXXXXXXXXXXXXXXX'

credentials = DefaultAzureCredential()

resource_client = ResourceManagementClient(credentials, SUBSCRIPTION_ID)
resource_client.resource_groups.create_or_update(
        GROUP_NAME, {'location': LOCATION})

network_client = NetworkManagementClient(credentials, SUBSCRIPTION_ID)
public_ip_addess_params = {
    'location': LOCATION,
    'public_ip_allocation_method': 'Dynamic'
}

op = network_client.public_ip_addresses.begin_create_or_update(
    GROUP_NAME,
    GROUP_NAME,
    public_ip_addess_params
)

op.wait()
print(op.result())

The output is:
{'additional_properties': {'status': 'Succeeded'}, 'id': None, 'name': None, 'type': None, 'location': None, 'tags': None, 'extended_location': None, 'sku': None, 'etag': None, 'zones': None, 'public_ip_allocation_method': None, 'public_ip_address_version': None, 'ip_configuration': None, 'dns_settings': None, 'ddos_settings': None, 'ip_tags': None, 'ip_address': None, 'public_ip_prefix': None, 'idle_timeout_in_minutes': None, 'resource_guid': None, 'provisioning_state': None, 'service_public_ip_address': None, 'nat_gateway': None, 'migration_phase': None, 'linked_public_ip_address': None, 'delete_option': None}

Even if the "status" is "Succeeded", non of the fields are set.
Expected behavior
Some of the fields should be set (eg the id)
Additional context
The behavior causes our application to fail where it wasn't failing before and while we did not change the code. We think that the issue happens on Azure side.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Network - Virtual Network:0.28311682,ARM:0.10726081,IoT:0.04631142'

Thanks for the feedback, we’ll investigate asap.

closing this issue because the core patch release (release 1.22.1) unblocks end users. However, the real root cause of the issue are SDKs generated from incorrect swaggers, but @lmazuel is escalating that through different channels


People.find doesn't return corrent person_id value

This is coffeescript but you'll get the idea. I can get People.find to return the correct value if I do it right after doing setParent but that's cause it's in memory. If I quit my app and restart the app then run this, the value of parent_id is 0 even though using my MySQL client shows me that the value is in fact 2. Therefore, the subsequent call to john.getParent fails. Again, john.getParent doesn't fail if run immediately after setParent because it's in memory still. I'm coding for the use case where the app has crashed and something like Forever has restarted it so values need to be recovered from the database. I cannot rely on memory.
code start-----------
assert = require 'assert'
orm = require("orm");
#establish the db connection
db = orm.connect<EMAIL_ADDRESS>(success, db) ->
if !success
console.log "Could not connect to database!"
else
console.log "success"
# you can now use db variable to define models

People = db.define "people"
	name: { "type": "string" },
	surname: "string", #@ shortcut
	age: Number # another shortcut

People.hasOne("parent");

People.sync()

People.find
	name:'john'
,
	1
,
	(results) =>
		console.log "john results:"
		console.dir results[0]

		#result is that person_id is 0 regardless of fact that actual value in db is (in my case) 2
return

code end-----------

Thank you for the report. I'll check the code now and see if I spot the bug.


Build phase triggers "extraneous input" error

Running Kin against this project causes the following errors:
ERROR: line 1868:4 extraneous input '6W8N7WB7Z36QWEFVAW5LHTNV' expecting {')', REFERENCE}
ERROR: line 1892:4 extraneous input '0CO5J70NW5JDTTZ5BCHAVYZE' expecting {';', ')', 'buildRules', 'rootObject', REFERENCE}
ERROR: line 1914:4 extraneous input '6OBYKZXD36MCSZYQLYVIY1AY' expecting {';', ')', 'buildRules', 'rootObject', REFERENCE}
ERROR: line 2125:2 extraneous input '0CO5J70NW5JDTTZ5BCHAVYZE' expecting REFERENCE
ERROR: line 2191:2 extraneous input '6OBYKZXD36MCSZYQLYVIY1AY' expecting REFERENCE

The project has been updated with Xcode 12.2 (12B45b) so it is expected to be valid.

Hi @dnicolson,
This is most probably because the pbxproj format has been updated or we didn't capture those scenarios in the first place. We'd need to:

Update the grammar
Add the offending project.pbxproj file as a test
Release a new version of Kin.

I'll raise a PR addressing the two first points and let the Karumi team release a new version when they have time.
Thank you so much for the report!

Than you so much @Serchinastico 😃 you rock! I've already reviewed and merged your PR. Could you please @davideme release a new version?

Than you so much @Serchinastico 😃 you rock! I've already reviewed and merged your PR. Could you please @davideme release a new version?

Sure, I'll add it to my list!

Sure, I'll add it to my list!

Thanks!

Thanks!


ORC-849: Core Benchmark Cleanup

What changes were proposed in this pull request?
Add additional output. Code cleanup.
Why are the changes needed?
Adding this logging helped me identify an error condition.
How was this patch tested?
This is benchmark code. No change in functionality. Use existing unit tests.

I'll backport this to branch-1.7 for Apache ORC 1.7.0.


httpd.enablePHP option force PHP version

Hi,
With the following configuration to use php 5.4:
      services.httpd = {
        enable = true;
        documentRoot = "/srv/http";
        enablePHP = true;
        extraModules = [
          { name = "php5"; path = "${pkgs.php54}/modules/libphp5.so"; }
        ];
      }

The following httpd.conf file is generated:
....
LoadModule php5_module /nix/store/fmwdjsmrkx9zlcf950mxhd9wkhi9wc3c-php-5.6.12/modules/libphp5.so
LoadModule php5_module /nix/store/jzh3ah2p1yz36jn62ybfr5m2jamxb2fk-php-5.4.44/modules/libphp5.so
....

so PHP 5.6.12 is used. (related code)
On the other side, skipping enablePHP setting like this:
      services.httpd = {
        enable = true;
        documentRoot = "/srv/http";
        extraModules = [
          { name = "php5"; path = "${pkgs.php54}/modules/libphp5.so"; }
        ];
      }

activate the desired PHP version(5.4), but no php.ini is generated and phpOptions setting is ignored. (related code)
It would be nice to be able to use specific PHP versions with httpd.

In configuration.nix you can change the default PHP version with an override:
  nixpkgs.config = {
    packageOverrides = {
      php = pkgs.php54;
    };
  };

Works perfectly, Thanks!
I added the info to the wiki.


Weird square appearing on Android devices

This link describes the problem of a weird square appearing on Android devices, with Ionic 2 applications, and how to reproduce it using a starter application.

Hello, thanks for opening an issue with us! I am going to be closing this issue as a duplicate of https://github.com/driftyco/ionic/issues/6416. Thanks for using Ionic!


Weird behavior while logging blank exports (Svelte)

Reproduce

Create a project normally
Create any route

bud new controller hello:/ index show

bud run
Add console.log(hellos); in the script tag (index.svelte)
Go to http://<IP_ADDRESS>:3000/ and we will see an error message. For the first time:

gob: bad data: field numbers out of bounds

Reload. For the second time:

What the terminal looks like:

More details:

The error message varies between reloads
Remove console.log(hellos); doesn't fix the problem unless I bud run again

OS: Arch linux

Go: v1.18.2

Node: v14.19.3

bud: 0.1.4

Edit: app made with bud build works normally.

Thanks for reporting @012e! I haven't confirmed but I can see how this could be an issue. Can you quickly test if this occurs on an app generated with bud build?
bud build
./bud/app
open http://localhost:3000

I'm going to assume that the above works as expected.
I believe the problem is two-fold:

console.log to stdout support was added to the V8 package. This is mighty convenient for debugging. You can test this with:
echo "console.log('hi')" | bud tool v8

The v8client is used to avoid needing to recompile V8 for every change to a Go file. What this does is from your development app it will call the bud tool v8 client to evaluate JS using the V8 pre-built into Bud. This operates over stdio through a bare-bones protocol.

The problem seems to be that the console logs getting logged to stdout are interfering with the data sent over the protocol.
I'm currently reworking the V8 client to not need to know where the bud binary is, so I'll work on fixing this in that push.

Not sure if it's related but localStorage, window, document or setInterval, etc have a weird behavior too.
view: render error ReferenceError: setInterval is not defined

when wrapped inside a if (typeof document != "undefined") or anything that v8 will appreciate, everything is fine, console.log included

Hey @ldlac, I just moved this comment into a separate issue. Please have a look at my response there! I'm going to hide your comment since I'd like us to chat about it in that issue!


Create Documentation for Kingdom

For New Contributors
How to contribute
Description

Create a document (Google doc) describing the Kingdom class.
Use dnspy to analyze the given class.

Create a description of what the class is responsible for.

List all assignable data in the class, this includes all inherited data.

This will include properties and fields.
A property example from Settlement would be
public TextObject Name
{
  get
  {
	  return this._name;
  }
  set
  {
	  this.SetName(value);
  }
}

Ignore properties without setters, i.e.
public bool IsAlerted
{
  get
  {
	  return this.NumberOfEnemiesSpottedAround >= 1f;
  }
}

List all classes that are used by this class.

An example from Settlement would be
public Hideout Hideout;

The hideout class is used so it should be listed.

Intended Design

N/A
Location

In a document named Taleworlds Kingdom Class Documentation
Related Issues

N/A
Requirements

N/A
Additional information

N/A
Definition of Done

[ ] A document exists with a description of the class
[ ] A document exists with a list of all assignable data
[ ] A document exists with a list of all classes used by this class

This may not add enough value to be worth it


[HOLD for payment 2023-11-17] Login - Chat loads infinitely after logging in unless user opens another chat

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Navigate to staging.new.expensify.com
Log in with an existing account with chats.

Expected Result:
Chat loads without issue after login.
Actual Result:
Chat loads infinitely until user opens another chat.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/93399543/dea88529-11b9-4f68-88ea-2e985d37793f

View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

I'm taking a look into this one

This is being discussed here: https://expensify.slack.com/archives/C035J5C9FAP/p1699374131021109

I've confirmed that https://github.com/Expensify/react-native-onyx/pull/412 is the cause of the problems. I'd like to see if I can find a fix for it without needing to revert, though I know that's going to delay the deploy.

Getting this reviewed and merged today. Once the Onyx PR is merged, I need to create an App PR to bump the Onyx version. I think I'll create a draft PR for that now so that it'll be ready.

@tgolen could you please add the Bug label to assign BZ for C+ payment?

@laurenreidexpensify Could you please help with payments on this one? @getusha needs to be paid for a C+ review on the PR.

Payment Summary:

C+ Review @getusha $500, offer sent in Upwork

@laurenreidexpensify accepted!

Payment Summary:
C+ Review @getusha $500, payment issued in Upwork


NoW Challenge

How did you submit your results in Now Challenge (https://ringnet.is.tue.mpg.de/challenge)? Would you please share the script that produces output compatible with their desired structure?

Hi,I also had a similar problem,did you know how to submit your results in Now Challenge?


feat: org change & fixed types

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Docs: Add documentation on emitter scoping

fix #2860

All changed packages have been documented.

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/3016/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/3016/


Revert d6b048da1dc545b8afe998aa933e06fb9e583595

See https://github.com/bbatsov/rubocop/issues/2871.
In the patch, @jonas054 applied a suggestion by one user who later
realizes that "the patch does not actually fix anything". I think it's
better to keep it out to reduce complexity.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[ ] Squashed related commits together.
[ ] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.

In the patch, @jonas054 applied a suggestion by one user who later
realizes that "the patch does not actually fix anything". I think it's
better to keep it out to reduce complexity.

Closed in favor of #3547.


Support

@geekcomputers
Can I help you with the pull requests and issues?

That might be an idea, I’ll look into that

On 11 Aug 2018, at 18:12, Christian Bender<EMAIL_ADDRESS>wrote:
@geekcomputers https://github.com/geekcomputers
Can I help you with the pull requests and issues?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/geekcomputers/Python/issues/357, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHa0hHrYBrPJC_TQdD4IMSpCaPAR8WBks5uPxCJgaJpZM4V5PZg.


Secret token pending: Request failed with status code 401

After entering the verification code am receiving this message: Secret token pending and an error message; Request failed with status code 401. Please assist

The installation ID expired, or  Truecaller use a different API for your country ?
Could you please provide me with more information about your country and the version of TruecallerJS you are using ?


[TypeScript] Consider using ReactNode instead of ReactChild to describe children

Hi,
I'm introducing ReasonML into a large TypeScript React Native application, and I noticed that genType defines children: React.ReactChild in the .gen.tsx file, which does not allow boolean, null, undefined, and React.Fragment in place of component child(ren). This prevents me from writing common components in ReasonML.
From React type definitions:
type ReactChild = ReactElement | ReactText;

type ReactNode = ReactChild | ReactFragment | ReactPortal | boolean | null | undefined;

For better interoperability with TypeScript, it seems that ReactNode is more appropriate than ReactChild. Could you please consider making this change?
#240

The change is easy to do, just a single line. I’d need to first check the interaction with other things.
Away for 1 week.

@vknez here's the PR:
https://github.com/cristianoc/genType/pull/266
Let me know if it looks good for your.

In release 2.41.0.

Thanks @cristianoc!
I'll upgrade today/tomorrow, but I'm sure it will work, as I already use a forked genType, where I fixed the issue the same way, and it works.


ly ERROR: Augment target node "private-key-type" in grouping "asymmetric-key-pair-with-certs-grouping" was not found

Hi,
I updated the latest devel branch and the following error occurred via the netopeer2-cli.
netopeer2-cli
> connect
root@localhost password:
ly ERROR: Augment target node "private-key-type" in grouping "asymmetric-key-pair-with-certs-grouping" was not found. (/ietf-keystore:keystore/{uses='keystore-grouping'}/asymmetric-keys/asymmetric-key/{uses='ks:asymmetric-key-pair-with-certs-grouping'}/{uses='ct:asymmetric-key-pair-with-certs-grouping'})
cmd_connect: Connecting to the localhost:830 as user "root" failed.

By the way, I want to support schema-mount, how do set parameter PATH in netopeer2-server, can you give any examples?
Thanks,
Best regards.

The error will most likely be caused by some YANG module incompatibility. It should not occur but you probably have all the old modules downloaded and the client uses them with the new ones that is causing the problems. Try removing all the stored modules, by default in ~/.netopeer2-cli/modules/.
As for the schema mount, if you want to use it, it is your responsibility to understand it first and I mean it. It is not that simple and the specs are not easy to understand but I am not here to explain the standard but provide support using our tools. But, in short, you need to provide the server with the operational data of ietf-yang-library and ietf-yang-schema-mount YANG modules.

The error will most likely be caused by some YANG module incompatibility. It should not occur but you probably have all the old modules downloaded and the client uses them with the new ones that is causing the problems. Try removing all the stored modules, by default in ~/.netopeer2-cli/modules/.
As for the schema mount, if you want to use it, it is your responsibility to understand it first and I mean it. It is not that simple and the specs are not easy to understand but I am not here to explain the standard but provide support using our tools. But, in short, you need to provide the server with the operational data of ietf-yang-library and ietf-yang-schema-mount YANG modules.

I see, Thanks.

The ~/.netopeer2-cli/modules/ has deleted, but the problem persists.
[root@bogon Baicells_O-DU_O1]# rm -rf ~/.netopeer2-cli/modules/
[root@bogon Baicells_O-DU_O1]# netopeer2-cli
> connect
root@localhost password:
ly ERROR: Augment target node "private-key-type" in grouping "asymmetric-key-pair-with-certs-grouping" was not found. (/ietf-keystore:keystore/{uses='keystore-grouping'}/asymmetric-keys/asymmetric-key/{uses='ks:asymmetric-key-pair-with-certs-grouping'}/{uses='ct:asymmetric-key-pair-with-certs-grouping'})
cmd_connect: Connecting to the localhost:830 as user "root" failed.
>

What exactly did you update to devel, all the 4 projects (libyang, libnetconf2, sysrepo, netopeer2)?

What exactly did you update to devel, all the 4 projects (libyang, libnetconf2, sysrepo, netopeer2)?

Yes，All the 4 projects are devel.

Have you installed your own ietf-crypto-types YANG? The supplied revision 2019-07-02 is expected, which matches the supplied ietf-keystore revision.

Have you installed your own ietf-crypto-types YANG? The supplied revision 2019-07-02 is expected, which matches the supplied ietf-keystore revision.

I have installed two versions of ietf-crypto-types.
sysrepoctl -l
Sysrepo repository: /root/yangr/O1/bin/O-DU/Baicells_O-DU_O1/sysrepo_repository

Module Name                   | Revision   | Flags | Owner     | Startup Perms | Submodules | Features
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
iana-crypt-hash               | 2014-08-06 | i     |           |               |            |
iana-hardware                 | 2018-03-13 | I     | root:root | 600           |            |
iana-if-type                  | 2017-01-19 | I     | root:root | 600           |            |
ietf-crypto-types             | 2019-07-02 | i     |           |               |            |
ietf-crypto-types             | 2019-04-29 | I     | root:root | 600           |            |
ietf-datastores               | 2018-02-14 | I     | root:root | 666           |            |

That will be the problem. ietf-keystore does not have import of ietf-crypto-types by revision so it probably uses your revision of the module, which has a different non-suitable grouping. Best would be for you not to implement the older revision of the module (there are only typedefs and groupings, you do not need it implemented) and then import it by revision in whatever modules you want. By default, the latest revision should then be imported.


Set --installdir option to install correctly

When using the walkthrough tutorial the binaries were left in a very hard to find directory within the project. Adding the --installdir option links the binaries into the ~/.local/bin created earlier in the walkthrough.

Looks sensible to me

~/.local/bin is not necessarily present in yout $PATH environment variable.
When using ghcup to install ghc (prerequisite), ~/.cabal/bin will always be part of $PATH environment variable.
If we're changing the natural way cabal deploys, then we should ensure the other places have the path updated as well (eg: line just below the change)


setup staging deployment branch with amplify + CI

created protected branch dev and AWS amplify deployment on https://dev.d1qvlu9jr497xw.amplifyapp.com/docs/


Add copy link to editor tools

Closes #153

Just one suggestion for future PRs, it's best to give each commit a commit message that describes the changes in the commit itself rather than the overall branch. It helps for being able to go back and figure out where things are if anything goes wrong. :)

Yep looks really good @arantzardzm ! (for another time feel free to just comment on the PR when you think you've fixed stuff and you're ready for another review).
Just a quick thing that's a new standard that I'd like to hold that I didn't myself either when writing the original codebase, when you bind a function or use an arrow function in props like you did in the onClick one it actually makes the Javascript recreate that function every time which will make the component think it's getting new props every time which is of course a bit unfortunate, so if you could just quickly do like they suggest here and refactor it to another component, also like I did here that'd be great and should be really quick. So you would just pass the amazonURL as a prop :).
But really great, I love how simple the copy looks. If you haven't just remember to test it in a few browsers (Chrome, Firefox and if you have a mac Safari) and see that the copy actually works, but other than that I'm definitely also happy with merging it in :).

Hi Emil :) Just fixed the binding problem with the help of the documentation you sent me!
Also, I'm not sure if the way I'm outputing the web browser compatibility is the best one. Through a div instead of an alert/banner. Let me know what you think!

Great @arantzardzm ! I hadn't even noticed that amazonURL was already a prop so it was as easy as you did, awesome. Looks perfect now :).
And yeah as for the div, it definitely won't be the prettiest of solutions :P, but if you're okay with this I'm good with merging it in, as it's for an edge case where it isn't fully supported anyway, so it's okay if it's a bit ugly haha ^^.
I think it would be quite easy to make a banner though if you like. Just make a div with the following css:
display: fixed;
top: 0;
left: 0;
width: 100vw;
background-color: red;

Though of course @zanemountcastle will laugh now because I used a named color so find some fancy hex instead :P :P.
And then just since that div would probably get called 20 times like that (one for each image preview) you could just quickly add a bit of state to EditorImagePreviewList that is just a boolean bannerShowing or whatever, and you you could display the div there in that component (only once) based on that boolean and pass a callback something like:
displayBanner() {
this.safeSetState({ bannerShowing: true });
}

And remember to bind this to it before you pass down the callback through a prop.
I know to someone that isn't that familiar with React yet this could seem not that obvious so feel free to ask any questions, but as this should be quite simple I actually quite like having it if that's okay?

I think we should hold off on adding the alert banner until we get the Material UI code merged in. Material UI makes it super easy to add in alerts like this and takes care of all sizing issues. It'd be a more permanent solution and it'll look better than backround-color: red :)
See here: http://www.material-ui.com/#/components/dialog

Makes sense @zanemountcastle, in that case, let's approve it! I just added a quick TODO comment so we won't forget :).


Fix Ang #s in Dasam Granth

[x] move to 1428 angs
[ ] ensure each ang # matches standardized sarroop

PDF is done

Excel file is updated


Prepare v0.17.0 release

Description of the changes being introduced by the pull request:
Add CHANGELOG entries and bump version numbers for a 0.17.0 release
Please verify and check that the pull request fulfills the following
requirements:

[ ] The code follows the Code Style Guidelines
[ ] Tests have been added for the bug fix or new feature
[ ] Docs have been added for the bug fix or new feature

This release should also include the sslib bump in #1285. I'll update this PR to mention it.

Thanks for the review @jku! I've just force pushed a new version of the patch which includes #1285 (not yet approved/merged) in the changelog.

How does Coveralls integration work?
The checks are done in the CI workflow (once per build) and then some finalize step in the end. But:

why did two of those builds lead to a special "Coveralls" item on the check list on this page (but others did not)
why does one of them claim to be a failure?

How does Coveralls integration work?
The checks are done in the CI workflow (once per build) and then some finalize step in the end. But:

why did two of those builds lead to a special "Coveralls" item on the check list on this page (but others did not)
why does one of them claim to be a failure?

I see this issue even on merges to master: I'll file a separate issue. It should not stop the release, this is likely an infra issue

How does Coveralls integration work?
The checks are done in the CI workflow (once per build) and then some finalize step in the end. But:

Yes, that's how it works.

why did two of those builds lead to a special "Coveralls" item on the check list on this page (but others did not)

I have no idea. None of the other pending PRs have those items. However, if I look at the "Status checks found in the last week for this repository" in the "Branch Protection Rules" in the repo settings, there's a check for each build of the ci matrix.
In the coveralls.io settings, there's a "USE STATUS API?" checkbox which is checked. I guess I could just uncheck that, so that it doesn't bother us?

why does one of them claim to be a failure?

I don't know. There are no values for "COVERAGE THRESHOLD FOR FAILURE" and "COVERAGE DECREASE THRESHOLD FOR FAILURE" in the coveralls.io settings. I do have a faint memory that they just assume (but don't show) default values, if none are supplied. Couldn't find anything in the docs though.

Taking the python2 discussion out of the subthread: it's not really about the patch.
I think @lukpueh's concern is that if we don't do something before the release, then a pip install tuf with python 2 can easily be broken when one of our dependencies (direct or transitive) updates and drops Python2 support.
I mean, yes it could theoretically be broken if the application developer doesn't pin the releases of the obsolete software he wants to use: I'd argue it's his job... I'm not sure we (who are not interested in running/maintaining/testing obsolete software) are going to be better at maintaining the pin list than the people who are interested in using obsolete software.

That said I guess we can make this discussion a little more practical.
  install_requires = [
    'requests>=2.19.1',
    'six>=1.11.0',
    'securesystemslib>=0.18.0'
  ],

Out of these securesystemslib should be good now, right? There is a version that supports python2 and future version don't so they won't get pulled in. I don't think six is going to drop python2 support :grin:. requests seems to work like securesystemslib: latest version explicitly does not support python 2.7 but there is a version that does.
So direct dependencies seem covered: they cannot break (let me know if there's a flaw in this logic)
So the possible issues would be transitive dependencies... I guess I can do the same analysis to those.

OK: I looked at all the dependencies. There are still a surprising amount of projects where the python2 strategy has not been publicly decided.
These support py2 and always will:
subprocess32
enum34
ipaddress
six

These have already moved to py3 only:
idna
cryptography

These have made the change in master or are expected to do it next release
securesystemslib
chardet
urllib3

The rest are "undecided":
pynacl
cffi
pycparser
requests
certifi

Nevertheless: I believe if the new releases of dependencies are correctly packaged (they set python_requires correctly), the correct versions should get installed (this means there actually was an extra requirement in my recent cryptography  change in SSLib: pip will figure out that cryptography 3.4 can't be installed on python2 without us saying so in setup.py).
So us pinning maximum dependency versions in our setup.py would be covering for errors made in the depedency packaging. I suggest we don't do that except in specific cases.

So us pinning maximum dependency versions in our setup.py would be covering for errors made in the depedency packaging. I suggest we don't do that except in specific cases.

You are absolutely right. I didn't think of the (in my defense relatively recently added) python_requires field. It should help us here.

Thanks for the detailed investigation @jku. If I am following things correctly, I think we are good to merge this PR and make a release?
If pinning dependencies (direct or transitive) is required for Python 2.7 support, we can help someone to create a release branch and handle the required changes to setup.py there.


something weird happened to this graph

In a  nice way, but I don't think it is correct!
a lot (but not all) of the 'uncurated' paper went missing. MAinly the recent ones. Check to the version in the rotations.

Sorry about that.  It's fixed now:


What is the proper way to decode a JSON array.

I needed to decode a JSON array from database column.  My solution was to use regex to split the string into individual objects for decoding.
pub fn parse_json_array(
  array: String,
  decoder: fn(String) -> Result(a, json.DecodeError)
) -> List(a) {
  let assert Ok(re) = regex.from_string("\\{[^}]*\\}")
  regex.scan(with: re, content: array)
  |> list.map(fn(match) { match.content })
  |> list.map(decoder)
  |> result.values
}

It works, but is this the best way or does this library have something better that I'm not seeing?

Hello! Here's the function you want: https://hexdocs.pm/gleam_stdlib/gleam/dynamic.html#list


Format Includes not works in VS 2022

I recieve this message when I try to do "Format Includes":
System.NullReferenceException: Object reference not set to an instance of an object.
at IncludeToolbox.VCUtil.d__8.MoveNext() in D:\a\IncludeToolbox\IncludeToolbox\IncludeToolboxShared\Util\VCUtil.cs:line 79
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at IncludeToolbox.Commands.FormatIncludes.d__3.MoveNext() in D:\a\IncludeToolbox\IncludeToolbox\IncludeToolboxShared\Commands\FormatIncludes.cs:line 50
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Community.VisualStudio.Toolkit.BaseCommand.<>c__DisplayClass8_0.<b__0>d.MoveNext()

what is in a file, that produces error and what are the settings?

Hello, I too have encountered this issue. The error occurs in all files, but for the sake of diagnosis I am using an Unreal Engine 5 project and an example of a failure is the file is Engine\Source\Developer\TraceAnalysis\Private\Analysis\Engine.cpp. The failure is for these includes:

Here is the error output after right click -> Format Includes:

Using VS22 Community 17.4.1. Also occurred using VS 22 Professional. Thank you for your time :)

thank you, will investigate the issue

I don't have full knowledge on where does UE put its include directories, but I queried them from VC++, hope that's enough

It’s fixed for me, thank you!


Reference Architectures: Update Azure IoT diagram

Summary of the changes / Why this is an improvement
Mainly updated the image to the latest version, but also adapted one of the integration links.
Please, add other relevant links if applicable.

Hi Karyn. I've squashed your commits and edited the crosslinking into the state how you intended to have, at my best guess. Please submit fixes if I was wrong. Thanks!


Create Route53 routing to EC2 host

Currently, the IP address to the EC2 host is hardcoded into the code.
Let's fix this by creating a hostname and using route53 to DNS map it to an elastic IP for the Ec2 instance, so we can avoid the IP commenting issue.

[ ] use an env var for the hostname in the various code places
[ ] something something manually poke route53

Env var sounds right for switching localhost vs EC2.
My route53 foo is minimal if others has more exp.

I know how to route53 either by hand or yaml or tears.

Seems like this ticket and ticket #8 (https://github.com/Index01/RoomBot/issues/8) are blending together.
I'll probably scrape the description from #8 into this ticket

If we want the shortcut hostname on the roomserviceparty.com domain then it might need to be configured on squarespace. Unless we do a subdomain which feels like more trouble than worth (unless we end up wanting an actual (non-local) dev instance).

My target would be to link a host to a subdomain, like roombaht.roomserviceparty.com. It's a nice to have, at the least it would be good to have a static IP to point to.

@mpesavento to map IP address to DNS name roombaht.roomserviceparty.com

We have http://rooms.take3presents.com pointing to our <IP_ADDRESS> elastic IP address.
It looks like there is an incomplete DNS record, as only port 80 is forwarding. We need an A record to point to the IP address

A record created, looks like ports are forwarding.


Jpa person app

a jpa / rest starter app for the java-openliberty stack

What do you think about moving this to:
https://github.com/OpenLiberty/application-stack-samples  ?

Closing since we moved to samples repo


updated signature validation

This is in-response to this fix https://github.com/Comcast/caduceus/issues/126

Codecov Report

Merging #13 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   38.53%   38.53%
=======================================
  Files           5        5
  Lines         301      301
=======================================
  Hits          116      116
  Misses        181      181
  Partials        4        4

Impacted Files
Coverage Δ

primaryHandler.go
52.06% <100%> (ø)
: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 e7055f6...10d5364. Read the comment docs.


Update Dependencies

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