Should add a warning sign regarding capitalization of words

I was trying to restore a wallet after generating a new address using the mobile wallet.
In Android, the keyboard automatically capitalize the first word. This minor error results in "restoring" a completely different wallet.

We will default to no capitalisation I think, since the default is no capitals at all

To add on: I think users should be alerted if the passphrase they entered does not import an existing wallet address, as opposed to having a new wallet generated by default if a passphrase is incorrect. Have seen quite a few confused user because of the lack of error prevention in this process.

I think that a new issue should be created for that @erbogart28


v0.5 Release Banner

Marketing release banner for v0.5.
Refer to #114 for features
Tentative deliverable is end of october.

As an idea moving forward maybe we could just bullet the updates as in the illustration below:

I'm good with this approach!
On Tue, Oct 20, 2020, 6:00 AM J-G-W<EMAIL_ADDRESS>wrote:

As an idea moving forward maybe we could just bullet the updates as in the
illustration below:
[image: image]
https://user-images.githubusercontent.com/36457062/96583163-38307a80-12d4-11eb-9914-bb1f91cafe98.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CityOfZion/neo3-boa/issues/133#issuecomment-712799426,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHDLEEELNHOV24QQJHMJOCLSLV3XDANCNFSM4SKH6ZLQ
.

@J-G-W can we get a final for this?

@lllwvlvwlll Sent it to you in slack!


缺少了这个模块

ModuleNotFoundError: No module named 'llama_cpp'

Sorry, there is a missing package of 'llama_cpp', we will fix it soon. I
f you do not use llama-based LLMs, you can skip the bug by  just deleting the import line. Or, you can install llama_cpp from https://github.com/ggerganov/llama.cpp.

The bug has been fixed. Please have a try.

thank you


[ko] Fix broken link to Xilinx FPGA device plugins

Fixes the broken Xilinx FPGA device plugins link on https://kubernetes.io/ko/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins/
refs #21883

/assign @seokho-son
Thank you for the bug fix!
It looks good to me.
I will approve after #21883 (EN) 's merged.

/lgtm

@kiyoshim55 Thank you!
I've checked that upstream PR #21977 has been merged.
/approve


1.19 support

Would be great to see this supported in 1.19 :) SpigotMC and GitHub Releases all say 1.18.2.

Works fine on my 1.19.2 server


[#1091]add workflow/catalog grpc protocols

Fixes #1091
Motivation
Applications can access the EventMesh Workflow/AysncAPI capabilities through the EventMesh SDK to fill the event governance capabilities
Modifications
add workflow/catalog protocol into eventmesh-common module
Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@walterlife please help to split the pr to two prs and associating the respective issues , namely workflow grpc protocol 、catalog grpc protocol, thanks.


A single _ (underscore/discard) gets auto-completed to something else

Type: Bug
When I want to use a discard in a C# project, I type _ usually followed by a space or comma, which triggers the auto-completion.
For other words this is fine, but a single underscore is not part of the autocompletion list, so it gets completed to some public class name that contains an underscore.
Can you add the discard character to that autocompletion list?
Extension version: 2.45.25
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 5600X 6-Core Processor              (12 x 3693)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
31.95GB (15.39GB free)

Process Argv

Screen Reader
no

VM
0%

+1 annoying issue, trying to set up a discard like:
_ = ReturnIntMethod();

After typing _ and pressing space it ends up in a random thing containing _.
For example:
SHA3_256 = ReturnIntMethod();

Not 100% sure yet, but potentially related to https://github.com/microsoft/language-server-protocol/issues/1791
We're getting an 'invoked' trigger kind which may be causing us to hard select the item (including space as a commit char).  Still investigating

Thank you! It works perfectly and never got in the way since the update 👍🏼


keycloak: optional realm and url modification in KeycloakSettingsHelper

fixes #293
:heart: Thank you for your contribution!
Description
This PR should allow the usage of the KeycloakSettingsHelper without a realm and also provide the option to use just the base_url together with the endpoint in the make_url function. For further practicality, description in the KeycloakSettingsHelper is also set as an optional argument.
The above changes enable broader use of the Keycloak contrib, as some IAM services e.g. https://github.com/indigo-iam/iam do not use realms, as they are not multi-tenant or Keycloak based.
This change does not affect the use of the package in the old way but only introduces new options to omit realm and protocol/openid-connect in the URL.
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

[x] I'm aware of the code of conduct.
[x] I've created logical separate commits and followed the commit message format.
[ ] I've added relevant test cases.
[x] I've added relevant documentation.
[ ] I've marked translation strings (for relevant code).
[ ] I've followed the CSS/JS and React guidelines (for relevant code).
[ ] I've followed the web accessibility guidelines (for relevant code).
[ ] I've followed the user interface guidelines (for relevant code).
[ ] I've identified the copyright holder(s) and updated copyright headers for touched files (>15 lines contributions).
[x] I've NOT included third-party code (copy/pasted source code or new dependencies).

Third-party code
If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

You license your contribution under the same terms as the current repository’s license.
You agree that you have the right to license your contribution under the current repository’s license.

@max-moser can you please have a look?

PR has become obsolete, but thanks for your help! Close #293


Lint/OutOfRangeRegexpRef does not detect captures from pattern matching syntax.

The Lint/OutOfRangeRegexpRef does not seem to recognize regular expressions (which have capture groups) that are used in Ruby's new pattern matching syntax. The cop fails to recognize captures when the regex is used in a case-in expression as well as the => array syntax.
Both forms invoke Regexp#=== under the hood, which still trigger's ruby's Regexp.last_match capabilities (as well as setting the 'last-match' special global variables like $1). Since the variables are set from the captured groups, I would expect rubocop's linter to recognize them as valid capture references.

Expected behavior
Ruby's new pattern matching syntax accepts regular expressions and captures groups. It still stores captures in the special globals as documented here: https://ruby-doc.org/core-3.1.2/Regexp.html#class-Regexp-label-Special+global+variables
case "rubocop"
in /rubo(.*)/ then p $1 # prints "cop"
end

"rubocop" => /rubo(.*)/
p $1 # prints "cop"

Actual behavior
Rubocop doesn't recognize the regex pattern in the "case-in", nor "arrow" pattern matching syntax.
in both cases, it prints:
  app/lib/vtiger/webservice/id.rb:6:39: Lint/OutOfRangeRegexpRef: $1 is out of range (no regexp capture groups detected).

Steps to reproduce the problem
The two ruby snippets above will reproduce the cop error.
RuboCop version
    rubocop (1.35.0)
    rubocop-ast (1.21.0)
    rubocop-performance (1.14.3)
    standard (1.16.0)

I presume this is just an issue with rubocop-ast, but assume the issue was better reported here?


I cal uid

Changed the project to use the Office 365 event property iCalUID instead of creating our own hash value. The iCalUID property was not exposed in earlier versions of the SDK.

Thanks @Ricalo :+1:

Of course, @iambmelt!


Issues with openjdk:8-alpine as the base image for JVM

FYI for others, we saw the following issue when running our application with the stock Spark Dockerfiles that are built on openjdk:8-alpine
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fcfc75d9088, pid=1, tid=0x00007fcfa0cb2ab0
#
# JRE version: OpenJDK Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: OpenJDK 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 3.3.0
# Distribution: Custom build (Thu Feb  9 08:34:09 GMT 2017)
# Problematic frame:
# C  [ld-musl-x86_64.so.1+0x50088]  memcpy+0x24
#
# Core dump written. Default location: /opt/spark/core or core.1
#
# An error report file with more information is saved as:
# /opt/spark/hs_err_pid1.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#

There's some activity online around tracking down issues between the OpenJDK and the version of libc used in the alpine base images -- musl.  It seems like musl isn't fully compatible with what the OpenJDK expects
We fixed this by switching the base image of the Spark images to an internally-created image based on alpine plus the glibc package from https://github.com/andyshinn/alpine-pkg-glibc

I'm also having issues with the alpine base image. E.g. I'm building on top of the driver-py image and installing my PySpark application into it. This app has -- amongst others -- pyarrow as a dependency. Pyarrow is not supported on alpine according to https://stackoverflow.com/questions/49059779/installing-pyarrow-in-alpine-docker.
I switched the base image to openjdk:8 (Debian Stretch based) and everything's working fine. Is there some deeper reason in using the alpine base besides it probably being smaller? Or would it be worth it to submit a PR changing it to the Debian one?


⚠ UdeS website (prod) has degraded performance

In 4b51616, UdeS website (prod) (https://www.usherbrooke.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1029 ms

Resolved: UdeS website (prod) performance has improved in 4cb3147.


Writing a unit test for CodeMirror

I would like to write an extremely simple test for CodeMirror.
This is what I wrote :
    test(' codemirror ', () => {

        let text = document.createElement("div");

        let settings = {}

        codemirror(text, { ...settings, value: '' });
    });

Unfortunately I get this error  :

TypeError: document.body.createTextRange is not a function
at range (A:\frontend\node_modules\codemirror\lib\codemirror.js:94:25)
at hasBadBidiRects (A:\frontend\node_modules\codemirror\lib\codemirror.js:1343:12)
at buildLineContent (A:\frontend\node_modules\codemirror\lib\codemirror.js:1838:9)
at updateExternalMeasurement (A:\frontend\node_modules\codemirror\lib\codemirror.js:2442:28)

What do I need to do to get this running?

In which context are you running this? It looks like the old-IE fallback for creating ranges is running, but that should only happen when document.createRange doesn't exist, which shouldn't be the case on any reasonably current browser.

Of course we want to use it in a non-browser process. We want to unit test our code.

Right. As I mentioned, this library doesn't work outside the browser.


Connect: final proposal

This is the last step for connecting the backend to the frontend.
@codewithvk @purnima143 pls assign
Do you want to work on it? - [Yes/No]
Yes, I want to work

@himanshujaidka go ahead!


Dashboard not visible via embedded SDK.

I am working to embed the dashboard inside my angular application using superset SDK.
After doing the whole integration the dashboard is not visible.
Used this below article to integrate the dashboard.
<EMAIL_ADDRESS>Below is my config changes apart from the default file.
FEATURE_FLAGS = {"ALERT_REPORTS": True,
    "EMBEDDED_SUPERSET": True}
ALERT_REPORTS_NOTIFICATION_DRY_RUN = True
WEBDRIVER_BASEURL = "http://superset:8088/" (OR "http://localhost:8088/"  tried both)
# The base URL for the email report hyperlinks.
WEBDRIVER_BASEURL_USER_FRIENDLY = WEBDRIVER_BASEURL
SESSION_COOKIE_SAMESITE = None
ENABLE_PROXY_FIX = True
PUBLIC_ROLE_LIKE_GAMMA = True

CORS_OPTIONS = {
  'supports_credentials': True,
  'allow_headers': ['*'],
  'resources':['*'],
  'origins': ['*']
}
GUEST_ROLE_NAME = "Admin"
GUEST_TOKEN_JWT_EXP_SECONDS: 300  # 5 minutes, or you could set it longer

I am using admin user as the default login and created custom as well as tried using the predefined dashboards.
User list

Dashboard settings

Chart Settings

My UI code.

How to reproduce the bug
Expected results
Should see the dashboard on the application.
Actual results
Blank screen with no errors.
Screenshot

Environment
(please complete the following information):

browser type and version: NA
superset version: superset version
python version: python --version NA
node.js version: node -v : 16.15.0
any feature flags active: Yes  {"ALERT_REPORTS": True,
"EMBEDDED_SUPERSET": True}

Frontend Code:
  public embed() {
    // const token = await this.fetchGuestTokenFromBackend();
    const element = document.getElementById('my-dashboard');
    embedDashboard({
      id: '5a99f740-1f70-46f5-8563-422ec22badcb', // given by the Superset embedding UI
      supersetDomain: 'http://localhost:8088',
      mountPoint: element, // any html element that can contain an iframe
      fetchGuestToken: () => this.fetchGuestTokenFromBackend(),
      dashboardUiConfig: {
        // dashboard UI config: hideTitle, hideTab, hideChartControls, filters.visible, filters.expa0nded (optional)
        hideTitle: true,
        // filters: { expanded: true },
      },
    });
  }

###API requests

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[X] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[X] I have reproduced the issue with at least the latest released version of superset.
[X] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

Was supplying iFrame element instead of a div.
  public embed() {
    // const token = await this.fetchGuestTokenFromBackend();
    const element = document.getElementById('my-dashboard');
    embedDashboard({
      id: '5a99f740-1f70-46f5-8563-422ec22badcb', // given by the Superset embedding UI
      supersetDomain: 'http://localhost:8088',
      mountPoint: element, // any html element that can contain an iframe
      fetchGuestToken: () => this.fetchGuestTokenFromBackend(),
      dashboardUiConfig: {
        // dashboard UI config: hideTitle, hideTab, hideChartControls, filters.visible, filters.expa0nded (optional)
        hideTitle: true,
        // filters: { expanded: true },
      },
    });
  }


Roadmap for Null safety

Is there a roadmap for null safety in redux_saga?

Subscribed

still working on it

redux_saga 3.0.3 version is now null safe and available on pub.dev

Thanks


Issues #46 & #48

Wow, sorry this took so long to get around to (new job, life, etc...).
@matan129 and @polishmatt,   Thank you for finding those bugs and code contributions to fix them. I needed to modify how they were handled and this PR happens to (hopefully) handle both those issues.
If you could both please look at the last file, the tests, and just make sure that your respective bug would be caught with it, would be much appreciated.

Hello @cdgriffith! Thanks for submitting the PR.

In the file test/test_functional_box.py, following are the PEP8 issues :

Line 599:26: W601 .has_key() is deprecated, use 'in'
Line 600:27: W601 .has_key() is deprecated, use 'in'
Line 606:22: W601 .has_key() is deprecated, use 'in'
Line 607:23: W601 .has_key() is deprecated, use 'in'
Line 638:1: W391 blank line at end of file

@cdgriffith - cool. Sorry that I didn't get around to update my own PR, I was (and still am) very much busy with work and education.

Looks good to me!


Hooks hooks hooks

idk what I'm doing tbh but it's dope (rather)

Does someone have some initial thoughts?
@kmagiera @adamczyk777

Try: https://reactjs.org/docs/hooks-reference.html#usememo


typography fix for better legibility

Enhance the legibility on high DPI screens.  Applied to light, dark, and high-contrast.
Light

Dark

High-Contrast

Sadly, Ive not been able to test on Windows nor a Linux device.
refs #9152

All this does to me when I try it on my Mac is that the font looks thinner compared to before. What is the rationale of making such a change, it seems like having a rather big impact on the overall UI so it should maybe be put behind a setting?

The rationale was to improve the legibility of the fonts, they were rather thick before and I think the general consensus was for them to be rendered  thinner like the rest of the system and program fonts.
Ideally it would live behind a setting, so one can control the behavior of the fonts rendering.  If this is the case, we should really consider keeping the antialiasing on the shell and allow the user to control the editing of the editorParts only.
Sublime has setting as an array to provide such, but they render the fonts with a direct renderer.  We have only none, subpixel-antialias (current default), and antialiased (PR solution).
    // Valid options are "no_bold", "no_italic", "no_antialias", "gray_antialias",
    // "subpixel_antialias", "no_round" (OS X only), "gdi" (Windows only) and
    // "directwrite" (Windows only)
    "font_options": [],

I'd turn this into a setting.

:+1: for a user configurable setting

I'd like to propose the editor.fontSmoothing option with either none, subpixel or antialias with subpixel as the default.
I could add the styles to the top-level editor as such
.font-smoothing-none .monaco-editor { -webkit-font-smoothing: none; }
.font-smoothing-antialiased .monaco-editor { -webkit-font-smoothing: antialiased; }
.font-smoothing-subpixel .monaco-editor { -webkit-font-smoothing: subpixel-antialiased; }

I think need to subscribe to onDidUpdateConfiguration in the workbench to add to the top level el.  I cannot seem to get that service to emit on the editor config.  EditorConfiguration.apply will be triggered if one changes the editor.fontSmoothing config, however.
Any tips on how to get the config update events to behave as I intend are appreciated.
/cc @bpasero

@wprater I think this option is very similar to the existing editor.fontFamily and you can probably find out how it works by following that setting.
/cc @alexandrudima who knows more about how editor.fontFamily is wired in

Are you actually suggesting to only apply the smoothing to the editor and not the general workbench theme?

My preference would be to keep the change in this PR to affect the Workbench, and add the options to alter the editor parts separately.
What do you think @bgashler1 as far as improving general workbench legibility?

I think Apple does linear blending of fonts with -webkit-font-smoothing: subpixel-antialiased and it doesn't compensate by darkening the stems. That is why they appear too thin.
On Linux you can also enable "linear blending". And here the render engine does automatic stem darkening, but it requires hacking and doesn't work out of the box.
First, it only works for CFF fonts and you need to configure freetype to enable stem-darkening.
And then you must patch electron to enable linear blending in Skia:
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index c3255b876816..ade645c6e88f 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -330,13 +330,10 @@

 //////////////////////////////////////////////////////////////////////

-#if defined(SK_GAMMA_EXPONENT) && defined(SK_GAMMA_SRGB)
-#  error "cannot define both SK_GAMMA_EXPONENT and SK_GAMMA_SRGB"
-#elif defined(SK_GAMMA_SRGB)
-#  define SK_GAMMA_EXPONENT (0.0f)
-#elif !defined(SK_GAMMA_EXPONENT)
-#  define SK_GAMMA_EXPONENT (2.2f)
-#endif
+#undef SK_GAMMA_EXPONENT
+#undef SK_GAMMA_CONTRAST
+#  define SK_GAMMA_EXPONENT (1.8f)
+#  define SK_GAMMA_CONTRAST (0.0f)

 //////////////////////////////////////////////////////////////////////

Then build electron with libchromiumcontent and strip and overwrite code with the newly build binary.
The result looks excellent on my box.
And hopefully all of this will get easier in the future.

I agree that this looks visually better in many cases, but I think that this should be behind a setting (affecting both workbench and editor together).
The reason I feel that way is that this is a non-standard technique and is controversial, despite a number of people using it.  Technically, this should not look better, because antialiasing, by nature, is a lower-resolution procedure, but in practice it arguably does in some situations.  I hope someday Chrome will improve their default font-smoothing (Safari seems to do it better).
After testing (only on Mac), I believe that using -webkit-font-smoothing: antialiased makes VS Code look better on Retina with dark themes.  But, in non-hdpi screens, it makes some things too thin and jagged, particularly the status bar text and glyphs.  In light theme, I'd argue that the viewlet text appears too thin irrespective of the display type.
Because it has mixed effects on UI, I would prefer we put this behind a setting (for the whole UI, not just the editor).  That way, we can give people the control to do what is best for their eyes.

@bgashler1 sounds good.  I hope to get back to exploring the setting this week.  Spent quite a bit of time already trying to learn how the settings system is setup.  So I just need to get myself aligned on the events system for settings.  I'll set this up for the whole workbench as you suggested.
I'll move it into a workbench.fontSmoothing option.

@bpasero who would be the right owner of this?

Closing until further activity.


None of the coredns-custom examples work

On AKS k8s 1.15, none of the examples on this page work, I've tried custom domains, custom forward server, hosts plugins.

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

ID: 2f95537e-770a-739c-0175-4447a995f8b2
Version Independent ID: 6c9a1132-05af-70f1-5a2b-8dad56de9cc3
Content: Customize CoreDNS for Azure Kubernetes Service (AKS)
Content Source: articles/aks/coredns-custom.md
Service: container-service
GitHub Login: @jnoller
Microsoft Alias: jenoller

Can you please elaborate on what issues/errors are you seeing running the examples?

@bitsofinfo Is there any update? Please share the details as asked above so that we can assist you better. Thanks :)


Frontend issue prevents editing meta (Object detection with bounding boxes)

Describe the bug
For each bounding box, label studio provides a text area to add "Selected region meta".
Currently this works exactly one time.
Further edits are not getting saved because the frontend is not sending the updated meta to the backend.
Frontend is still sending the initially provided value to the backend even when the user has edited the value and "Updated".
To Reproduce
Steps to reproduce the behavior:

Create a project of the type "Object Detection with Bounding Boxes"
Upload an image
Start a labelling task and draw a bounding box.
Select the bounding box and in the right sidebar click "Info > [ + ]"
Put in an inital value in the text area ("apple")
Submit the task.
Click on the same bounding box change the meta value to a new one ("ball")
Click update
Click on the same bounding box again and check the meta value of the box.
The value is still the initial value ("apple" )
Check the network request made when the bbox is being updated. It shows that the value is still "apple" even when the meta was changed.

Expected behavior
Edited meta should be properly saved on every "Update".
Video demo
https://github.com/HumanSignal/label-studio/assets/2761491/29cae8f5-d354-4ee7-8403-e6992ee3bec4
Environment (please complete the following information):

OS: Ubuntu
Label Studio Version : 1.10.1

Additional context:

I copied the network request as cURL and modified the value being sent to checked if backend was working properly. And it was. :+1:
This seems like a frontend fix, and I would have loved to contribute a fix, but my frontend skills are unfortunately severely limited.

Hi @hogepodge can you review this issue

I'm sorry, I no longer work for HumanSignal.

/jira create

The problem still occurs in version 1.12.1.
It was also reported in #5138.

I commented out the code as shown in the image to solve this issue, but I'm not sure if this will cause other bugs, because my front-end skills are weak and I can't fully understand the source code.

has anyone found a reliable fix for this ?


Commenting out not used consts, for OpenSSL v1.1.0 compatibility.

ChangeLog:none
Signed-off-by: Peter Grzybowski<EMAIL_ADDRESS>

We'll decide on this PR after today's Client Team meeting.

We'll decide on this PR after today's Client Team meeting.

fyi @kacf

@merlin-northern Sorry I got late to this one. I had a complicated day...

@merlin-northern Remember to follow-up with the dependency update in mender repo so that we can fix the build error.

@merlin-northern Sorry I got late to this one. I had a complicated day...

it is fine. I know how it is.


database/sql: all named []byte types get driver memory like RawBytes

Go version: 1.4.3, 1.5.2, and git
OS: Linux x86_64

I added this test to src/database/sql/convert_test.go:
func TestUserDefinedBytes(t *testing.T) {
	type userDefinedBytes []byte
	var u userDefinedBytes
	v := []byte("foo")

	convertAssign(&u, v)
	if &u[0] == &v[0] {
		t.Fatal("userDefinedBytes got potentially dirty driver memory")
	}
}

I expected this test to pass, but
It fails

The problem is line 207 of convert.go;  in this case, dest is assignable the src pointer, so it just assigns it instead of cloning it.  The documentation doesn't actually make any promises about where memory is going to come from when you call Scan, but it seems obvious from the code that RawBytes was supposed to be treated specially as it gets driver memory via a different code path.  Having that behavior inadvertently for non-RawBytes named []byte types seems like an oversight.
This patch fixes it, though it may potentially be present for other types or in line 217.
diff --git a/src/database/sql/convert.go b/src/database/sql/convert.go
index bba5a88..fda6293 100644
--- a/src/database/sql/convert.go
+++ b/src/database/sql/convert.go
@@ -204,7 +204,12 @@ func convertAssign(dest, src interface{}) error {

        dv := reflect.Indirect(dpv)
        if sv.IsValid() && sv.Type().AssignableTo(dv.Type()) {
-               dv.Set(sv)
+               switch b := src.(type) {
+               case []byte:
+                       dv.Set(reflect.ValueOf(cloneBytes(b)))
+               default:
+                       dv.Set(sv)
+               }
                return nil
        }

I signed the CLA and wouldn't mind going through the contribution process, though I've never done so.

CC @bradfitz

A temporary workaround may be an explicit cast to *[]byte.
This passes the test:
convertAssign((*[]byte)(&u),v)

For json.RawMessage:
var msg json.RawMessage
row := db.QueryRow(`SELECT '{}'::json`)
err := row.Scan((*[]byte)(&msg))
...

This is not a regression, and we are late in the release cycle, so postponing until 1.7.


Fix auto dependency bumps, include appropriate license information where necessary

http://manhattan.ci.chef.co/job/chefdk-build/474/

:+1:


api-driven: fix typo

equlivent -> equivalent

Issue number:
Closes #
Description of changes:
Terms of contribution:
By submitting this pull request, I confirm that my contribution is made under
the terms of the licenses outlined in the LICENSE-SUMMARY file.

LGTM, thanks @sam-berning


Install external clang and enable arm64 sourcekit

Using clang from official llvm project release to build sourcekit and syntaxparser.

Posting already for early review. Build check is running: https://github.com/lxbndr/swift-build/actions/runs/1722798189

Oh, the build is failed. I think it is unrelated to the changes, but I'd like to see it green before we merge. I will do another try later.

https://github.com/lxbndr/swift-build/actions/runs/1746876690
In this run I finally got arm64 build green. amd64 is timed out though, so I am running a new attempt. Maybe the stars will align this time.

https://github.com/lxbndr/swift-build/actions/runs/1751729944
And here I have amd64 success and arm64 timed out. Almost there...

https://github.com/lxbndr/swift-build/actions/runs/1753383136
Finally! Both arm64 and amd64 toolchains are green!
vscode_plugin fail is unrelated, so I guess the test is passed :)
@compnerd


increase version in Readme, use openjdk8 for travis

I have no idea if the travis change fixes the builds as I have no experience with that CI.

Hi @lenala - would you mind taking a look at it?


fix gdal link in readme

Coverage remained the same at 100.0% when pulling ddf961d3702cc5befcc6f62bb4b7898f92ac3846 on wessm:readme into 36c208a313d65f5f22b3d95e7b240824e5582c54 on sgillies:master.

Coverage remained the same at 100.0% when pulling ddf961d3702cc5befcc6f62bb4b7898f92ac3846 on wessm:readme into 36c208a313d65f5f22b3d95e7b240824e5582c54 on sgillies:master.


kernel/sched: More nonatomic swap fixes

[This was popping up all over the place on ARM tests, both in hardware and emulation.  Seems like a likely cause for #13536, #12559 and #12352 at least.]
Nonatomic swap strikes again.  These issues are all longstanding, but
were unmasked by the dlist work in commit d40b8ce1fb5a ("sys: dlist:
Add sys_dnode_is_linked") where list node pointers become nulls on
removal.
The previous fix was for a specific case where a timeslicing interrupt
would try to slice out the "wrong" current thread because the thread
has "just" pended itself.  That was incomplete, because the parallel
code in k_sleep() didn't flag itself the same way.
And beyond that, it turns out to be basically impossible (now that I'm
thinking about it correctly) to prevent interrupt code from calling
into the scheduler to suspend a "just pended but not quite" current
and/or preempt away to another thread.  In any of these cases, the
scheduler modifications to the state bits remain correct but the queue
nodes may be corrupt because the thread was already removed from the
ready queue.  So we have to test and correct this at the lowest level,
where a thread is being removed from a priq: check that it's (1) the
ready queue and not a waitq, (2) the current thread, and (3) already
marked suspended and thus not in the queue.
There are lots of existing issues filed in the last few months all
pointing to odd instability on ARM platforms.  I'm reasonably certain
this is the root cause for most or all of them.
Signed-off-by: Andy Ross<EMAIL_ADDRESS>

Codecov Report

Merging #13770 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #13770   +/-   ##
=======================================
  Coverage   52.26%   52.26%
=======================================
  Files         307      307
  Lines       45408    45408
  Branches    10504    10504
=======================================
  Hits        23733    23733
  Misses      16886    16886
  Partials     4789     4789

Impacted Files
Coverage Δ

kernel/sched.c
84.01% <ø> (ø)
: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 0f6b6fc...277d52f. Read the comment docs.


Mongoose Database Adapter page is out of date

Reference: https://v5.keystonejs.com/keystone-alpha/adapter-mongoose

The mongoDbUri section on this page should be removed or updated as this is not how you set the URI of the database connection. This is set via the CONNECT_TO env variable or -connect-to cli switch.

The code example in Usage is also out of date.

@jordanoverbye Thanks so much! We are in Alpha and things are changing frequently so sorry this is out of date. You're right in noting that that the docs need some attention and we're going to starting a big push on this soon.
For now, I've made a PR to update the example you've pointed out: https://github.com/keystonejs/keystone-5/pull/1458
Thanks so much for helping us!

Fixed in #1468


[Question] Is it posisble to get a tweet based on Twitter Status ID?

I was wondering if we could use Twint to fetch the tweet text for a given twitter status id or a set of status ids. I could not find this in the documentation.
Appreciate any direction.
sbs

Not that I know of.
There is a twitter endpoint which can be used for this, but it only allows to fetch a single tweet's details per 1 GET Request. So it's gonna be very slow even with parallel requests. Also it might get the IP banned but that we won't know without testing.
Still, I think this can be done. But currently there are much more critical functionalities that need to be fixed.
Maybe someone else wanna take this up?


Implement ActionItem (customView/actionView)

I don't think this is possible with {N} + ng2 yet (unless there's an unknown trick to it):
<ActionBar>
  <ActionBar.actionItems>
    <ActionItem tap="navigate">
      <ActionItem.actionView>
        <StackLayout orientation="horizontal">
          <Label text="Green" color="green" />
          <Label text="Red" color="red" />
        </StackLayout>
      </ActionItem.actionView>
    </ActionItem>
  </ActionBar.actionItems>
</ActionBar>

This would also allow custom fonts (I think) to be used with ActionItems?
Would love to be able to use this on ActionItems: https://github.com/NathanWalker/nativescript-ng2-fonticon
Should be based on the implementation from here:
https://github.com/NativeScript/NativeScript/pull/1554

Nvm, this is totally possible. very simply:
<ActionItem>
   <Button class="fa" [text]="'fa-bars' | fonticon"></Button>
</ActionItem>

Awesome.


Controlled IcTypography Expansion

When using IcTypography as a developer I want to be able to set when the text is expanded using a Prop.

This can be seen in the truncation section of the IcTypography code section on the guidance pages. https://design.sis.gov.uk/components/typography/code
It shows a see more button by default, want to be able to control this behaviour so that it can default to being opened if desired.


Operation error

hello,I met a problem when I using the command :  python superpixel-inceptionV1OnFire.py models/test.mp4 .  And it reported problems as follow: File "superpixel-inceptionV1OnFire.py", line 92, in  slic = cv2.ximgproc.createSuperpixelSLIC(small_frame, region_size=22)
AttributeError: module 'cv2' has no attribute 'ximgproc'  . I got no idea about that ,could you please give me a hand?

Duplicate issue.


Fix typo

Using this PR to also thank you very much for this tool. Haven't tried it yet, just watched your lightning talk in ROSCON, but it looks amazing!

Hahaha thank you very much @awesomebytes! :)


Modify TelemetryConstants to use static properties

Fixes #2063
Description
As noted in #2063, instantiation of TelemetryConstants should not be necessary. Converted TelemetryConstant properties to static ones and adjusted TelemetryLoggerMiddleware accordingly.
Specific Changes

modify TelemetryConstants to use static properties
remove instantiation of TelemetryConstants from TelemetryLoggerMiddleware
add TSDoc comment to TelemetryConstants, same as C#

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: mrestorff sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Intellisense not working properly.

Environment data

Language Server version: <IP_ADDRESS>
OS and version: window 10 version 1909, os build-18363.720
Python version (& distribution if applicable, e.g. Anaconda): 3.7.7(Anaconda)
Type of virtual environment used: conda
Python Language Server version : <IP_ADDRESS>
VS Code version:Version: 1.43.2 (user setup)
Commit: 0ba0ca52957102ca3527cf479571617f0de6ed50
Date: 2020-03-24T07:38:38.248Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

Expected behaviour
Intellisense suggests print,asarray,array,arange function.
Actual behaviour
Intelli-sense is not suggesting print,array,asarray,arange and many more built-in function.
Logs

XXX

Code Snippet / Additional lnformation

XXX

When I change enviornment from python 3.7.7(Anaconda) to python 3.7.3 it works fine,so i think It is caused by python version.

XXX aren't logs; please follow the troubleshooting guide / template to give us the verbose logs which will contain info we need to see what's going on. https://github.com/microsoft/python-language-server/blob/master/TROUBLESHOOTING.md#filing-an-issue

sorry but i dont know how to produce vs code log file.

Have you looked at the link I provided? You have to enable a config, reload VS Code, then look at the Python Language Server output window.

I sort out this problem by deleting vscode intellicode folder(C:\Users\My World.vscode\extensions\visualstudioexptteam.vscodeintellicode-1.2.6) .The problem was not due to Python version but was due to cache of vscode intellicode.I reinstall Intellicode extension
and everything works fine now.But microsoft should find a proper way to solve this issue.Sorry for my bad English.

You seem to have deleted the comment (I got an email, but it's gone), but if the fix was actually to delete IntelliCode and reinstall it, you may want to report an issue on their tracker. https://github.com/MicrosoftDocs/intellicode

Yes everything was working fine after I deleted vscode intellicode  extension folder from C:\Users\My World.vscode\extensions\visualstudioexptteam.vscodeintellicode-1.2.6 then reinstalling VS Intellicode  extension  and It was working smoothly but after few hours of my coding same problem arose.Sometime it works as expected,sometimes it doesn't work .And I delete my previous comment because I think i sort out my problem.I am going to file this issue on https://github.com/MicrosoftDocs/intellicode. Sorry for my bad English.

You seem to have deleted the comment (I got an email, but it's gone), but if the fix was actually to delete IntelliCode and reinstall it, you may want to report an issue on their tracker. https://github.com/MicrosoftDocs/intellicode

One thing can I point out this issue on https://github.com/MicrosoftDocs/intellicode.

You may want to cross link it, yes.


OKE - K8s LoadBalancer creation is failing - SyncLoadBalancerFailed  service-controller  Error syncing load balancer: failed to ensure load balancer

Is this a BUG REPORT or FEATURE REQUEST?
I am trying to create a K8s LoadBalancer with annotations being applied.
Choose one: BUG REPORT or FEATURE REQUEST
Issue while creation

Versions
CCM Version:
Environment: OKE Cluster

Kubernetes version (use kubectl version): OKE 1.23.4
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Others:

What happened?
K8s LoadBalancer creation is failing even after adding the below annotations, I am trying to create an LB within the specific subnet.
oci.oraclecloud.com/load-balancer-type: lb
service.beta.kubernetes.io/oci-load-balancer-subnet1: OCIDvalue

What you expected to happen?
K8s LoadBalancer should get created
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?

Please share the output of kubectl describe svc <svc-name> for the service which failed to get created.
If no other annotations are given, we try to create a public LB by default. If the subnet you are passing is private the LB creation can fail.

@AkarshES Thanks akarsh for your response. Yes, we have to use a private subnet which is dedicated to LoadBalancers.
I've used the below annotations for this K8s LB creation. If the subnet is private, do I need to pass different annotations? Can you please share details/annotations specific to LoadBalancer(Private Subnet)?
oci.oraclecloud.com/load-balancer-type: lb
service.beta.kubernetes.io/oci-load-balancer-subnet1: OCIDvalue
Error:
Type     Reason                  Age                  From                Message

Warning  SyncLoadBalancerFailed  4m53s                service-controller  Error syncing load balancer: failed to ensure load balancer: creating load balancer: Service error:RelatedResourceNotAuthorizedOrNotFound. The following tag namespaces / keys are not authorized or not found: 'oracle-tags'. http status code: 400. Opc request id:

Set this annotation for a private LB. For reference, these the docs for annotations are present in annotations.md. Also, more detailed docs are present in public docs for OKE
service.beta.kubernetes.io/oci-load-balancer-internal: "true"
Are you also trying to set some tags on this LB?

No luck, same error even after adding the above annotation. Total 3 annotations I've used. Do I need to add something else here? We don't need a tag for that LB. The motive is to have a K8s LB from a Private Subnet.
oci.oraclecloud.com/load-balancer-type: lb
service.beta.kubernetes.io/oci-load-balancer-internal: true
service.beta.kubernetes.io/oci-load-balancer-subnet1:

In kubectl describe svc <service-name> do you still see the same RelatedResourceNotAuthorizedOrNotFound?

After adding shape it worked. Is there any limitation like we have to use 5000Mbps or 8000Mbps? It can be scaled dynamically?
service.beta.kubernetes.io/oci-load-balancer-shape

OCI LB has dynamic shapes and flexible shapes. OCI LB suggests you use flexible shapes where you can define the min and max bandwidth range the LB should scale within. Please refer to the public docs for the same
https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengcreatingloadbalancer.htm#flexible
Note that there are only a small set of fixed shapes like 10, 100, 400, 800Mbps supported as dynamic shapes. To chose anything else you will have to use a flexible shape LB.

If this answers your question, please consider closing the issue

Thanks for sharing all the required information.


Ayatweb patch 1

Summary of the pull request
References and relevant issues
Detailed description of the pull request / Additional comments
Validation steps performed
PR checklist

[x] Closes #xxx
[x] Tests added/passed
[x] Documentation updated

[
npm.pdf
](url)


Reparenting a child dino

Hi, If I already have a modified dino that I subclassed from an original dino, can I just reparent it to your Pack Dino BP or do I need to delete it and start again with a copy like you suggest?

Sorry for the late reply. Reparenting a subclassed dino will lead to all dino specific info being lost (only those things you changed in the child will be kept), hence the suggestion to copy the dino instead.


python310Packages.mplhep: init at 0.3.28

Description of changes
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
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.

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

6 packages built:

python310Packages.mplhep
python310Packages.mplhep-data
python310Packages.mplhep-data.dist
python310Packages.mplhep.dist
python311Packages.mplhep-data
python311Packages.mplhep-data.dist


Random IV in encrypt data example

Already since .NET 2 and MSDN lot of examples about symmetric cryptography treat IV the same way as encryption key. Unfortunately this anti-pattern is quite often used in production code too. Main purpose of IV is to add some randomness to encrypted data. So that encrypting the same text gives different output each time. This way an attacker cannot tell if the encrypted message/password is the same or not.
Therefore I updated Encrypting data and Decrypting data using AES pages. There are following changes:

The updated example stores IV together with encrypted data and it is not part of source code as secret.
Decrypting example is organized the same way as encrypting example. In "snippets" folder.
Streams are disposed by using statement and not Close method.

Open question: I used new using form in C# 8 without nested code block. Is this ok, or should the example be compatible with previous versions of C#?

I have a question. Would this repository join Hacktoberfest by adding tag? https://hacktoberfest.digitalocean.com/hacktoberfest-update

I have a question. Would this repository join Hacktoberfest by adding tag? https://hacktoberfest.digitalocean.com/hacktoberfest-update

I'm actually not sure, let's ask @BillWagner about that.

Closed and reopened to trigger build validation... odd happens 😵


Add "eslint" command

ESLint has been added, but there is no command in the package.json to run it. (i.e. "npm run eslint" from the command line)
I propose we add one, and I'd like to make the change.

Fixed by #12

Not sure if error is caused by this or #10 but I am seeing error:

Cannot find module /Users/connorphee/projects/league_app/eslint

if someone wants to tackle it, let me know, if not I will fix it.

I believe this issue lies in the script provided in the package.json. I should've looked more carefully before merging but not a huge deal. @ajripley if you would like to fix it, it seems like a pretty easy fix.

I am unable to recreate your error. Have you run npm install after pulling the code?
I have tried both npm run eslint --ext=js ./routes ./models ./middleware and npm run eslint, and neither are giving me an error.
What command is giving you that error?

@ajripley I was able to find my issue, this looks good! Thank you so much! If you are interested in contirbuting more please let me know and I will find more to do!


Release this as a regular npm module as well

I really like what astronomy has to offer but i don't see a reason why you'd limit it with just meteor. I know we have mongoose, but this seems much better approach. Do you think it's a possibility for you to release an npm variant of this package?

Hmm it's interesting proposition. Some thing are Meteor specific like for example document transformation or document EJSON-ification. It's definitely not possible to easily create an npm module out of the current version. However I will consider this when creating Astronomy 2.0

You closed this issue, does it mean that 2.0 is going to get npm support?

Yes it's not going to be the npm package as it's to closely integrated with Meteor.


Set up 130s-RPi3-1

Purpose TBD.
Wanna set it up quick so I may just go with the most common OS for RPi3.
CoS

[ ] OpenHAB server to be started on RPi3-1. (maybe switch the server location from rpi2)
[ ] RPi3-1 added to Ansible.

Ubuntu Core requests logon via ssh using key registered on SSO. Looks like I've made ssh key pair for Ubuntu SSO so using that in ~/.ssh/config (just as https://stackoverflow.com/questions/2419566/best-way-to-use-multiple-ssh-private-keys-on-one-client) I was able to log on via ssh.

$ sudo snap install tmux
error: snap "tmux" is not available on stable but is available to install on the following
       channels:

       edge       snap install --edge tmux

       Please be mindful pre-release channels may include features not completely tested or
       implemented. Get more information with 'snap info tmux'.
uo130s@localhost:~$ snap install --edge tmux
error: snap "tmux" requires classic confinement which is only available on classic systems

:/
This isn't going to be a production system at all so not being able to install tools like tmux doesn't make much sense to me. Quickly giving up Core, and will try Ubuntu 20.04 Server.
Then hit monitor issue similar to raspberrypi.stackexchange.com#q107943.

$ arp -na | grep -i "b8:27"
? (<IP_ADDRESS>) at b8:27:eb:32:f5:54 [ether] on wlp4s0
? (<IP_ADDRESS>) at b8:27:eb:32:f5:54 [ether] on enp5s0f2

These are different device (RPi2), so looks like RPi3 is not even connected to LAN yet.
Answer https://raspberrypi.stackexchange.com/a/116529/58336 solved distorted HDMI monitor issue.
Now I see:
BusyBox v1.30.1 (Ubuntu 1:1.30.1-4ubuntu6) buit-in shell (ash)
Enter 'help' for a list of built-in commans.
(initramfs)
(initramfs)
(initramfs) _

Then exiting as recommended in https://askubuntu.com/questions/741109/ubuntu-15-10-busybox-built-in-shell-initramfs-on-every-boot doesn't take me anywhere.
(initramfs) exit

mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
:

Then once again I forgot RPi3 is 64b board, but for RPi3 32b might be still recommendable according to https://ubuntu.com/download/raspberry-pi

32 bit vs 64 bit
The Raspberry Pi 2 only supports 32 bits, so that’s an easy choice. However the Raspberry Pi 3 and 4 are 64 bit boards. According to the Raspberry Pi foundation, there are limited benefits to using the 64 bit version for the Pi 3 due to the fact that it only supports 1GB of memory; however, with the Pi 4, the 64 bit version should be faster.

xzcat ubuntu-20.04.1-preinstalled-server-armhf+raspi.img.xz | sudo dd of=/dev/mmcblk0 bs=32M

Seems to be working with only adding dtoverlay=vc4-fkms-v3d in /system-boot/usercfg.txt.
New problems! Either USB keyboard nor network devices seem to be working:

USB kb: No response.
Ethernet: Light not even blinking.

I see ubuntu: login then slowly something keeps printed like:
INFO task kworker/3:1:146 blocked for more than 120 seconds
:
echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Cloud-init v.20.2-45-X-0ubuntu~20.04.1 running 'module:config' at Mon, 12 Oct
Cloud-init v.20.2-45-X-0ubuntu~20.04.1 finished at Mon, 12 Oct. Datasource DataSourceNoCloud [seed=/dev/mmcblk0p1][dsmode=net]. Up 616.01 seconds

As the log indicates, the OS has been almost up to 10 mins or so. Still network not blinking.

Too tired. Went back to Ubuntu Core 18.
$ xzcat ubuntu-core-18-armhf+raspi.img.xz | sudo dd of=/dev/mmcblk0 bs=32M
0+85561 records in
0+85561 records out
704222208 bytes (704 MB, 672 MiB) copied, 3.38824 s, 208 MB/s
$ sync

I have never been hugry for problems today...Now:
Cannot find the 'snap' command. This means something went wrong.

Reinstalled ubuntu core.
$ sudo mkfs.vfat -F32 -v /dev/mmcblk0p1
mkfs.fat 4.1 (2017-01-24)
/dev/mmcblk0p1 has 4 heads and 16 sectors per track,
hidden sectors 0x0800;
logical sector size is 512,
using 0xf8 media descriptor, with 524288 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 1 sector per cluster.
FAT size is 4033 sectors, and provides 516190 clusters.
There are 32 reserved sectors.
Volume ID is c5b1d3e8, no volume label.
$ xzcat ubuntu-core-18-armhf+raspi.img.xz | sudo dd of=/dev/mmcblk0 bs=32M
0+85839 records in
0+85839 records out
704222208 bytes (704 MB, 672 MiB) copied, 3.34935 s, 210 MB/s
$ sync
$ sudo umount /dev/mmcblk0p1
umount: /dev/mmcblk0p1: not mounted.
$ sudo umount /dev/mmcblk0p2
$ lsblk

This time that snap error doesn't happen.
Then, for some reason ssh gets rejected even with the ssh config https://github.com/130s/hut_10sqft/issues/474#issuecomment-707288209
Turned out wrong username. Now sshed in.

I want tmux! So trying to enable classic following https://askubuntu.com/questions/724026/how-to-get-snappy-enable-classic
$ sudo snap install classic --devmode --edge
error: cannot communicate with server: Post http://localhost/v2/snaps/classic: EOF

I want tmux! So trying to enable classic following https://askubuntu.com/questions/724026/how-to-get-snappy-enable-classic
$ sudo snap install classic --devmode --edge
error: cannot communicate with server: Post http://localhost/v2/snaps/classic: EOF
$ sudo snap install --channel=18/edge classic --devmode
error: cannot communicate with server: timeout exceeded while waiting for response

Disk full? I'm using 64GB SD card but I do not see that amount used at all.
uo130s@localhost:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            355M     0  355M   0% /dev
tmpfs            86M   12M   75M  13% /run
/dev/mmcblk0p2  393M  384M     0 100% /writable
/dev/loop0       46M   46M     0 100% /
/dev/loop1      190M  190M     0 100% /lib/modules
tmpfs           427M  4.0K  427M   1% /etc/fstab
tmpfs           427M     0  427M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           427M     0  427M   0% /sys/fs/cgroup
tmpfs           427M     0  427M   0% /mnt
tmpfs           427M     0  427M   0% /tmp
tmpfs           427M     0  427M   0% /var/lib/sudo
tmpfs           427M     0  427M   0% /media
/dev/loop2       25M   25M     0 100% /snap/snapd/8792
/dev/loop3       26M   26M     0 100% /snap/snapd/9612
/dev/loop4       12M   12M     0 100% /snap/pi/73
/dev/mmcblk0p1  253M   45M  208M  18% /boot/uboot
tmpfs            86M     0   86M   0% /run/user/1000
uo130s@localhost:~$

Enabling classic seems to be not trivial?
https://www.raspberrypi.org/forums/viewtopic.php?t=62977

You cannot use NTFS. The first partition must be FAT formatted for the chip to understand it, the Linux partition usually needs something like ext4 / f2fs to suitably work properly with both linux and SD cards!

So FAT32 I formatted with above is the culprit?
uo130s@localhost:~$ sudo fdisk -l
Disk /dev/loop0: 45.7 MiB, 47943680 bytes, 93640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop1: 189.2 MiB, 198361088 bytes, 387424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop2: 24.6 MiB, 25804800 bytes, 50400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop3: 25.5 MiB, 26705920 bytes, 52160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop4: 11.5 MiB, 12013568 bytes, 23464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mmcblk0: 59.5 GiB,<PHONE_NUMBER>6 bytes, 124735488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x29e6a53d

Device         Boot  Start       End   Sectors  Size Id Type
/dev/mmcblk0p1 *      2048    526335    524288  256M  c W95 FAT32 (LBA)
/dev/mmcblk0p2<PHONE_NUMBER>35487 124209152 59.2G 83 Linux

So /dev/mmcblk0p2 is seen with a good size. But in df it's only small amount visible:
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            355M     0  355M   0% /dev
tmpfs            86M   12M   75M  13% /run
/dev/mmcblk0p2  393M  384M     0 100% /writable
/dev/loop0       46M   46M     0 100% /
/dev/loop1      190M  190M     0 100% /lib/modules
tmpfs           427M  4.0K  427M   1% /etc/fstab
tmpfs           427M     0  427M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           427M     0  427M   0% /sys/fs/cgroup
tmpfs           427M     0  427M   0% /mnt
tmpfs           427M     0  427M   0% /tmp
tmpfs           427M     0  427M   0% /var/lib/sudo
tmpfs           427M     0  427M   0% /media
/dev/loop2       25M   25M     0 100% /snap/snapd/8792
/dev/loop3       26M   26M     0 100% /snap/snapd/9612
/dev/loop4       12M   12M     0 100% /snap/pi/73
/dev/mmcblk0p1  253M   45M  208M  18% /boot/uboot
tmpfs            86M     0   86M   0% /run/user/1000

The following verifies the claim from raspberrypi.org/forums (which seems to be posted by senior guy at RPi org) above https://www.raspberrypi.org/documentation/installation/sdxc_formatting.md:

According to the SD specifications, any SD card larger than 32GB is an SDXC card and has to be formatted with the exFAT filesystem. This means the official SD Formatter tool will always format cards that are 64GB or larger as exFAT.
The Raspberry Pi's bootloader, built into the GPU and non-updateable, only has support for reading from FAT filesystems (both FAT16 and FAT32), and is unable to boot from an exFAT filesystem. So if you want to use NOOBS on a card that is 64GB or larger, you need to reformat it as FAT32 first before copying the NOOBS files to it.

uo130s@localhost:~$ cat /proc/filesystems
nodev	sysfs
nodev	tmpfs
nodev	bdev
nodev	proc
nodev	cgroup
nodev	cgroup2
nodev	cpuset
nodev	devtmpfs
nodev	configfs
nodev	debugfs
nodev	tracefs
nodev	securityfs
nodev	sockfs
nodev	bpf
nodev	pipefs
nodev	ramfs
nodev	devpts
	ext3
	ext2
	ext4
	squashfs
	vfat
nodev	ecryptfs
	fuseblk
nodev	fuse
nodev	fusectl
nodev	mqueue
nodev	pstore
nodev	autofs

uo130s@localhost:~$ ls /lib/modules/$(uname -r)/kernel/fs
9p    afs     befs            btrfs       cifs    dlm       f2fs      fscache  hfs      isofs  lockd  nfs_common  nls    omfs       pstore  quota     shiftfs.ko  udf
adfs  aufs    bfs             cachefiles  coda    efivarfs  fat       fuse     hfsplus  jffs2  minix  nfsd        ntfs   orangefs   qnx4    reiserfs  sysv        ufs
affs  autofs  binfmt_misc.ko  ceph        cramfs  efs       freevxfs  gfs2     hpfs     jfs    nfs    nilfs2      ocfs2  overlayfs  qnx6    romfs     ubifs       xfs

uo130s@localhost:~$ uname -r
5.3.0-1030-raspi2

uo130s@localhost:~$ uname -a
Linux localhost 5.3.0-1030-raspi2 #32~18.04.2-Ubuntu SMP Fri Jul 24 10:02:25 UTC 2020 armv7l armv7l armv7l GNU/Linux

raspi2?? Hm.
Anyways, I might have f*ed up by re-formating SD card to FAT32...?

But the same raspberrypi.org/documentation/installation/sdxc_formatting reads FAT32 is enough, to me.

Other Options
Linux and Mac OS
The standard formatting tools built into these operating systems are able to create FAT32 partitions; they might also be labelled as FAT or MS-DOS. Simply delete the existing exFAT partition and create and format a new FAT32 primary partition, before proceeding with the rest of the NOOBS instructions.

Gave up. Going down with rpi-imager GUI tool :/.
$ sudo snap install rpi-imager
rpi-imager v1.4 from Alan Pope (popey) installed

$ rpi-imager &
[1] 29775
$
$ Qt: Session management error: None of the authentication protocols specified are supported
propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.3164\" (uid=1000 pid=29775 comm=\"rpi-imager \" label=\"snap.rpi-imager.rpi-imager (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=3059 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.3164\" (uid=1000 pid=29775 comm=\"rpi-imager \" label=\"snap.rpi-imager.rpi-imager (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=3059 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")"
"Object path cannot be empty"
QObject::setParent: Cannot set parent, new parent is in a different thread
Available disk space for caching: 0 GB
mountutils: Reading /proc/mounts
mountutils: Couldn't read /proc/mounts
Drive: "/org/freedesktop/UDisks2/drives/SC64G_0xfd764bfb"
Device: "/org/freedesktop/UDisks2/block_devices/mmcblk0p2" belongs to same drive
Unmounted "/org/freedesktop/UDisks2/block_devices/mmcblk0p2" successfully
Device: "/org/freedesktop/UDisks2/block_devices/mmcblk0p1" belongs to same drive
Unmounted "/org/freedesktop/UDisks2/block_devices/mmcblk0p1" successfully
Device: "/org/freedesktop/UDisks2/block_devices/mmcblk0" belongs to same drive
Sector size: 512 Device size:<PHONE_NUMBER>6
Try to perform TRIM/DISCARD on device
BLKDISCARD successful
Image URL: "http://cdimage.ubuntu.com/ubuntu-core/18/stable/current/ubuntu-core-18-armhf+raspi.img.xz"
Received header: HTTP/1.1 200 OK

Received header: Date: Tue, 13 Oct 2020 10:02:50 GMT

Received header: Server: Apache/2.4.29 (Ubuntu)

Received header: Last-Modified: Wed, 12 Aug 2020 15:30:22 GMT

Received header: ETag: "12e83f10-5acafddae5f80"

Received header: Accept-Ranges: bytes

Received header: Content-Length: 317210384

Received header: Content-Type: application/x-xz

Received header:

Seems to be working ok so far. Not sure why reboot is scheduled though.
reboot scheduled to update the system
The system is going down for reboot at Tue 2020-10-13 10:09:37 UTC!

$ cat /proc/filesystems
nodev	sysfs
nodev	tmpfs
nodev	bdev
nodev	proc
nodev	cgroup
nodev	cgroup2
nodev	cpuset
nodev	devtmpfs
nodev	configfs
nodev	debugfs
nodev	tracefs
nodev	securityfs
nodev	sockfs
nodev	bpf
nodev	pipefs
nodev	ramfs
nodev	devpts
	ext3
	ext2
	ext4
	squashfs
	vfat
nodev	ecryptfs
	fuseblk
nodev	fuse
nodev	fusectl
nodev	mqueue
nodev	pstore
nodev	autofs
uo130s@localhost:~$ ls /lib/modules/$(uname -r)/kernel/fs
9p    afs     befs            btrfs       cifs    dlm       f2fs      fscache  hfs      isofs  lockd  nfs_common  nls    omfs       pstore  quota     shiftfs.ko  udf
adfs  aufs    bfs             cachefiles  coda    efivarfs  fat       fuse     hfsplus  jffs2  minix  nfsd        ntfs   orangefs   qnx4    reiserfs  sysv        ufs
affs  autofs  binfmt_misc.ko  ceph        cramfs  efs       freevxfs  gfs2     hpfs     jfs    nfs    nilfs2      ocfs2  overlayfs  qnx6    romfs     ubifs       xfs
uo130s@localhost:~$ uname -a
Linux localhost 5.3.0-1030-raspi2 #32~18.04.2-Ubuntu SMP Fri Jul 24 10:02:25 UTC 2020 armv7l armv7l armv7l GNU/Linux
uo130s@localhost:~$

Hm, fdisk output doesn't seem to differ much since the previous regarding Linux partition, non-working installation.
$ sudo fdisk -l
Disk /dev/loop0: 45.7 MiB, 47943680 bytes, 93640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop1: 190 MiB, 199241728 bytes, 389144 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop2: 189.2 MiB, 198361088 bytes, 387424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop3: 24.6 MiB, 25804800 bytes, 50400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop4: 11.5 MiB, 12013568 bytes, 23464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mmcblk0: 59.5 GiB,<PHONE_NUMBER>6 bytes, 124735488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x29e6a53d

Device         Boot  Start       End   Sectors  Size Id Type
/dev/mmcblk0p1 *      2048    526335    524288  256M  c W95 FAT32 (LBA)
/dev/mmcblk0p2<PHONE_NUMBER>35487 124209152 59.2G 83 Linux

Enabling classic seems to be not trivial? Still do not want to give up tmux.
$ snap install classic --edge --devmode

$ snap info classic
name:      classic
summary:   Classic environment
publisher: Canonical✓
store-url: https://snapcraft.io/classic
contact<EMAIL_ADDRESS>license:   unset
description: |
  Classic environment
commands:
  - classic
  - classic.create
  - classic.reset
snap-id:      QbSFwGGAgvG8zHl9nWLY7vEee8lhgFsp
tracking:     latest/edge
refresh-date: today at 10:16 UTC
channels:
  latest/stable:    –
  latest/candidate: –
  latest/beta:      16.04     2019-07-22 (42) 12kB devmode
  latest/edge:      ↑
  18/stable:        –
  18/candidate:     –
  18/beta:          –
  18/edge:          18.04-0.1 2019-07-22 (48) 21MB devmode
installed:          16.04                (42) 12kB devmode

I'm still told I'm not on classic. Can be future work.
$ snap install --edge tmux
error: snap "tmux" requires classic confinement which is only available on classic systems

OpenHAB seems to be installed w/o any problem via snap. But its systemd service not found. Hmm.
$ sudo systemctl daemon-reload
$ sudo systemctl start openhab2.service
Failed to start openhab2.service: Unit openhab2.service not found.
$ sudo systemctl start openhab.service
Failed to start openhab.service: Unit openhab.service not found.
$ sudo systemctl enable openhab2.service
Failed to enable unit: Unit file openhab2.service does not exist.
$

emacs cannot be installed either without classic confinement. It's a pain for me not being able to use these dev tools.
$ snap install emacs
error: snap "emacs" requires classic confinement which is only available on classic systems

So by being packaged as snap, there seems to be a specific way to start a service from snap first of all.
$ snap info openhab
name:      openhab
summary:   openHAB smart home server
publisher: openHAB Foundation e.V. (openhab)
store-url: https://snapcraft.io/openhab
contact<EMAIL_ADDRESS>license:   unset
description: |
  openHAB - a vendor and technology agnostic open source automation software for your home.
commands:
  - openhab.backup
  - openhab.client
  - openhab.help
  - openhab.influx
  - openhab.karaf
  - openhab.restore
  - openhab.start
  - openhab.status
  - openhab.stop
services:
  openhab.influx-setup: oneshot, disabled, inactive
  openhab.influxd:      simple, disabled, inactive
  openhab:              simple, enabled, active
snap-id:      WpdPxW72JupkC8XTgaJsig3LEHdrR56x
tracking:     latest/stable
refresh-date: today at 10:19 UTC
channels:
  latest/stable:    2.5.9    2020-10-01 (553) 161MB -
  latest/candidate: 2.5.9    2020-10-01 (553) 161MB -
  latest/beta:      2.5.9    2020-10-01 (553) 161MB -
  latest/edge:      3.0.0.M1 2020-10-12 (581) 159MB -
installed:          2.5.9               (553) 161MB -
uo130s@localhost:~$ openhab.start
There is a Root instance already running with name openhab and pid 1743. If you know what you are doing and want to force the run anyway, export CHECK_ROOT_INSTANCE_RUNNING=false and re run the command.

$ ps -ef|grep -i openhab
root       811     1  0 10:29 ?        00:00:01 /bin/sh /snap/openhab/553/runtime/bin/karaf server
root      1743   811 18 10:30 ?        00:01:02 /snap/openhab/553/jre/bin/java -Dopenhab.home=/snap/openhab/553 -Dopenhab.conf=/var/snap/openhab/553/conf -Dopenhab.runtime=/snap/openhab/553/runtime -Dopenhab.userdata=/var/snap/openhab/553/userdata -Dopenhab.logdir=/var/snap/openhab/553/userdata/logs -Duser.home=/var/snap/openhab/553/ -Dfelix.cm.dir=/var/snap/openhab/553/userdata/config -Djava.library.path=/var/snap/openhab/553/userdata/tmp/lib -Djetty.host=<IP_ADDRESS> -Djetty.http.compliance=RFC2616 -Dorg.ops4j.pax.web.listening.addresses=<IP_ADDRESS> -Dorg.osgi.service.http.port=8080 -Dorg.osgi.service.http.port.secure=8443 -Djava.awt.headless=true -Djava.endorsed.dirs=/snap/openhab/553/jre/jre/lib/endorsed:/snap/openhab/553/jre/lib/endorsed:/snap/openhab/553/runtime/lib/endorsed -Djava.ext.dirs=/snap/openhab/553/jre/jre/lib/ext:/snap/openhab/553/jre/lib/ext:/snap/openhab/553/runtime/lib/ext -Dkaraf.instances=/var/snap/openhab/553/userdata/tmp/instances -Dkaraf.home=/snap/openhab/553/runtime -Dkaraf.base=/var/snap/openhab/553/userdata -Dkaraf.data=/var/snap/openhab/553/userdata -Dkaraf.etc=/var/snap/openhab/553/userdata/etc -Dkaraf.log=/var/snap/openhab/553/userdata/logs -Dkaraf.restart.jvm.supported=true -Djava.io.tmpdir=/var/snap/openhab/553/userdata/tmp -Djava.util.logging.config.file=/var/snap/openhab/553/userdata/etc/java.util.logging.properties -Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath /snap/openhab/553/runtime/lib/boot/org.apache.karaf.diagnostic.boot-4.2.7.jar:/snap/openhab/553/runtime/lib/boot/org.apache.karaf.jaas.boot-4.2.7.jar:/snap/openhab/553/runtime/lib/boot/org.apache.karaf.main-4.2.7.jar:/snap/openhab/553/runtime/lib/boot/org.apache.karaf.specs.activator-4.2.7.jar:/snap/openhab/553/runtime/lib/boot/osgi.core-6.0.0.jar org.apache.karaf.main.Main
uo130s    2738  1898  0 10:35 pts/0    00:00:00 grep --color=auto -i openhab

The OpenHAB's web site on rpi3-1 is unreachable. Probably snap's security setting?
Oops, it was just a bad port. Firefox automatically used https, for which the port is 8443. Now I can open GUIs.
Getting too long without expecting. Porting other tasks to another tickets.

Looks like unfamiliarity with Ubuntu Core is causing pain. But Snap's future is unclear, it may turn well. Helpful article from Maker https://twitter.com/130s/status/1460825251814772737. I'll stick at least on rpi3-1 with it.


Mast: Watch endocannabinoid[\W_]*+framework

Mast requests the watch of the watch_keyword endocannabinoid[\W_]*+framework. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

endocannabinoid[\W_]*+framework has been seen in 5 true positives, 0 false positives, and 0 NAAs.

Rejected by Daniil in Charcoal HQ. Reason: 'Qualifies for a blacklist.'


Update CosmWasm deus to v1.0.0

The last week Conf.io released CosmWasm v1.0.0 🎉.
I think now we can update the bindings deps towards this version:
https://github.com/CosmWasm/cosmwasm/releases/tag/v1.0.0

I've also opened this issue #873 and the relative PR #875 to update the chain's code as well to support wasmd 0.27.0 (which supports CosmWasm v1.0.0).


Refactor code for allclose

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (23295ee) 100.00% compared to head (caccdf2) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #195   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           18        20    +2
  Lines          935       944    +9
  Branches       187       187
=========================================
+ Hits           935       944    +9

Impacted Files
Coverage Δ

src/coola/testers/equality.py
100.00% <ø> (ø)

src/coola/__init__.py
100.00% <100.00%> (ø)

src/coola/allclose.py
100.00% <100.00%> (ø)

src/coola/comparators/__init__.py
100.00% <100.00%> (ø)

src/coola/comparators/allclose.py
100.00% <100.00%> (ø)

src/coola/comparators/base.py
100.00% <100.00%> (ø)

src/coola/comparators/numpy_.py
100.00% <100.00%> (ø)

src/coola/comparators/pandas_.py
100.00% <100.00%> (ø)

src/coola/comparators/polars_.py
100.00% <100.00%> (ø)

src/coola/comparators/torch_.py
100.00% <100.00%> (ø)

... and 4 more

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Testing Error

Hello there,
I was keen to look and understand your project EndPresso. But there is this error that is not allowing me to run the model. Traceback Tree has been attached here. Can you please help me as to how can I resolve it?
E:\EndPresso-master>python detect.py --images images/test5.jpg --quality 10
Loading network.....
Traceback (most recent call last):
  File "E:\EndPresso-master\detect.py", line 122, in <module>
    model.load_weights(args.weightsfile)
  File "E:\EndPresso-master\darknet.py", line 436, in load_weights
    bn_biases = bn_biases.view_as(bn.bias.data)
RuntimeError: shape '[32]' is invalid for input of size 28

Hi there, it seems like a PyTorch or darknet version issue.
Sorry, I don't have the environment setup for this project anymore, So I won't be able to test the issue on my end.

Hey there,
No problem, I have found out a solution to it, line 122 in detect.py where you declare the
https://github.com/zeeem/EndPresso/blob/1a2fd58f205c1de14176c7cfdec22f1be3667e31/detect.py#L122
Just commenting on the line will do the work.


Get the index.php to show without web.config, but it doesnt work.

Describe the bug
When the web.config file is there i get this error:
Configuration file '\?\C:\inetpub\wwwroot\web.config' does not contain a root  tag
When I rename the Web.config file so it wont be used. The login page will be shown but I get this error when I try to login:
cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL
Steps to reproduce the behavior:

Go to http://localhost/index.php with the web.config file
Go to http://localhost/index.php without the web.config file
try to login without the web.config file
See error

Desktop (please complete the following information):

OS: Windows server 2016
Browser chrome
Version IIS 10 and PHP 7.3

UPDATE
So I figured out was what wrong with the web.config file for IIS/Windows.
Have pasted the missing part:

                            """ The veeam rules"""

But but but... It still doesnt work.. Now i hit this issue:
cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL
Can you help please?

Which cURL version are you using?

The default from PHP 7.3.7

cURL error 35 usually means the package has issues due to version mismatch of cURL and SSL, outdated cURL package or firewall restrictions.
Could you tell me the output of curl -V (in a cmd window)? Also, do you have a firewall active on the server?

Hi.
I thought that IIS would install curl by it self.. But nope. It only own the curl dll, which you can enable but have no function..
So.. I have installed curl version 7.46.0 now, and now the error is gone. But now I get this error:
curl error 7 failed to connect to <IP_ADDRESS> port 4443: Connection refused

Hi.
I thought that IIS would install curl by it self.. But nope. It only own the curl dll, which you can enable but have no function..
So.. I have installed curl version 7.46.0 now. I'm still getting this error:
cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL

Any suggest?

I will have to do some testing myself to see what may cause this as this is a new error to me.

Okay, I wait :)
Hopefully you will find something usefull.

Have you tried it yet? :)

Finally managed to proper testing but I haven't been able to reproduce this issue in any way. From the looks of it, it is related to OpenSSL not accepting the certificate due to security issues. Can u try to perform a curl against your RESTful API service and see if that works from the server running the portal?


Add ignores for user-based Visual Studio files. Fixes issue #8

Merged. Thank you @BrandonLegault   👍


provide order field on base node

order, as-is the index on the node hierarchy. seems like rest api supports order property, but plugin api does not.
Plans for adding this field on next update?

It's not clear from the original posting which REST API properties are being singled out. The plugin API does return node children in their logical order.
Since this is an older issue, I'm going to close it out.


Hide add question button for non-admin users

This pull request adds the feature to hide the add question button for non-admin users. As this is the first feature that uses the user_service, it also introduces user functions that facilitate communication between the frontend and backend, as well as necessary functions to support this feature. The following key features have been implemented:
Frontend Functions:
Added functions that allow the frontend to query the user service backend for a user's admin status.
Changed Create Account button to create an entry in the users collection - this is needed for all accounts as admin status is a flag in the user collection
Backend Routes:
Established new routes on the user service backend. These routes provide endpoints that the frontend accesses to perform various user operations. For this PR they are fetching the admin status of a user, and adding a user to the users collection when they create their account
Response Logic:
Implemented response logic on the backend to handle requests from the frontend. This includes structured responses for both successful operations and error handling.
Other Changes:
Addition of userServiceBackendUrl to utils.ts
Addition of callUserFunction() to utils.ts

overall good

tried to docker compose after switching to ur branch to test but encountered bugs

please fix the docker compose bugs as well

make sure to hide the delete question button as well

ah my bad i left something unneeded in there. I'll amend number 2 and commit

Error Observed (Docker Compose Up)
Some errors observed otherwise works fine.
1. Connection refused and failed to fetch upon registering.

Due to listAllUsers not being removed from code

2. User is not admin but allowed to delete or edit questions. Please update.

make sure to hide the delete question button as well

done

Error Observed (Docker Compose Up)

2. User is not admin but allowed to delete or edit questions. Please update.

Known issue: each button checks the admin property once. I'll try to make this a single check per view, but this would mean that each component will have to be edited to take in a property like isAdmin.

Thanks for adding the admin logic and hide button functionality! 👍
Overall it seems fine, just some adjustments that I have pointed out with individual comments below.

Thanks so much! There's a lot you pointed out,  I'll get to fixing that! Will update when I'm done


style(frontend): update favicon and social image

Motivation
Updating favicons and social image.

meta-share-v1.png is 1.24mb, it's 80% heavier. Can we compress the file?
are the icons, notable 192x192 and 512x512 compressed / optimized?

@peterpeterparker optimized all, have a look

Changing theme color with:

PR #1911


Avatars and channels incorrectly persist accross login sessions

Describe the bug
I noticed that sometimes when I'm logged in to the main server, the java client shows me as having an avatar. I think this is because on the test server I gave myself some avatars for testing purposes, and when I log in to the test server, those avatars are associated with my username. If I then log out and log back in to the main server without restarting the client, whatever avatar was selected continues to show up in the chat window of my client even though I don't have any avatar on the main server.
Edit: Apparently this also happens for auto-joined channels, as the client has joined me into the moderator channel automatically as well.
To Reproduce

Log in to test server where you have an avatar.
Log out and log in to the main server with the same username.

Expected behavior
The selected avatars and the autojoin channels should have been cleared when logging out.
Screenshots

OS
Windows
Related
#1419
Wanna have the bug fixed quickly?
Visit Issue hunt...

Well yes login and log out are critical not ever thing is cleared there may always be funny effects XD


[iOS] Update RedBox copy error and stack to send the text to the Mac clipboard

Add the ability for the Copy option in the RedBox screen on iOS to send the text all the way to the desktop clipboard when running in the iOS Simulator on a Mac. The error message and stack are sent through the action delegate method which passes the text on to the packager. If the packager is running on MacOS, it uses pbcopy to copy that text to the Mac clipboard in the copyToClipboard middleware function. copyToClipboard could be extended to other platforms and should be usable by the Android implementation if someone adds Copy to the Android RedBox.
With this change, you no longer need to hit Cmd-C on the Mac after clicking the Copy button in the RedBox error screen, the text will be sent through to the Mac clipboard as long as the packager is running.
There are no written tests for this code, but it was verified by running pbpaste on the Mac to see the current value of the clipboard, clicking the Copy option in the error screen and then running pbpaste again to see that the clipboard now contains the proper stack trace.

By analyzing the blame information on this pull request, we identified @jeanregisser and @martinbigio to be potential reviewers.

Awesome @poppybank!
I think we don't have to restrict the copy using the packager to only when it's running on the Simulator.
That when when it's running on a device it's copied to both the device pasteboard and the computer's pasteboard running the packager.
What do you guys think?

@poppybank updated the pull request.

@poppybank updated the pull request.

@poppybank updated the pull request.

@poppybank updated the pull request.

@jeanregisser This should be all set now based on your feedback. The only thing I didn't do was move the stack formatting into the delegate and that's for 3 reasons.

it lets the delegate be more generic - just adding any text to the clipboard
There is already formatting code for the stack in the class for the table cell generation so it makes sense to keep that all in the main class
it would involve passing a lot of the internal structure of the RCTRedBoxWindow class into the delegate which isn't very clean.

It's been a while since the last commit was reviewed and the labels show this pull request needs review. Based on the blame information for the files in this pull request we identified @frantic as a potential reviewer. Could you take a look please or cc someone with more context?

@poppybank A part of this has been implemented in the meantime, sorry for the delay!
https://github.com/facebook/react-native/commit/dc3fce06ea6db48285d31d8d00889c942d4b8aee
Would you mind rebasing on top of it?

@poppybank do you still plan to ship this? A rebase is needed.

Note to whoever imports this - it will require a manual import due to the new dependency in package.json.

I think this pull request has been abandoned. It was an inspiration to this getting partially implemented with https://github.com/facebook/react-native/commit/dc3fce06ea6db48285d31d8d00889c942d4b8aee so its spirit will live on. Anyway I am going to close this but please feel free to reopen if you are still interested in working on this part of the developer experience.

Thanks, sorry for the delay. I’ve been swamped with other projects and I haven’t been able to get back to it. I’ll see if someone on my team can pick it up and submit the updated change.
-Chris

On Nov 30, 2016, at 4:38 PM, Kevin Lacker<EMAIL_ADDRESS>wrote:
I think this pull request has been abandoned. It was an inspiration to this getting partially implemented with dc3fce0 https://github.com/facebook/react-native/commit/dc3fce06ea6db48285d31d8d00889c942d4b8aee so its spirit will live on. Anyway I am going to close this but please feel free to reopen if you are still interested in working on this part of the developer experience.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/facebook/react-native/pull/7630#issuecomment-264043130, or mute the thread https://github.com/notifications/unsubscribe-auth/AG11Ty-FvOetddGdfinXfNHD5-8ps1fkks5rDhbxgaJpZM4Ih8Ff.


Drop method triggering issue

drop method； Why is it executed twice when dragging is completed

If the drop list is different from the start, both lists are triggered once.

drop method； Why is it executed twice when dragging is completed

You can actually check the event.oldIndex and event.newIndex.
the list from which the item is dragged will be having event.newIndex = -1, and list which the item is dragged to will have event.oldIndex =-1


make reth cli crate consumeable

Describe the feature
the reth binary crate contains all commands and configures the node specifically for reth.
To make any modifications, at least the reth cli crate would have to be forked.
In order to make modifications more ergonomic, the node command should be configurable, so all boilerplate setup code can be reused easily.
This would be possible if there's an abstraction over a CLI trait or similar that provides all components required by execute function.
So the ideal DX would be:

configure the node via a type that satisfies the CLI trait
feed the type to a CLI executor or something

the simplest solution would be to start with a generic Cli type that replaces the node command entirely so that the node::Command is generic over something that can be executed, by default, this is reth's node command.
Additional context
No response

I think alternatively we should just revisit having a node builder, i.e. two structs Node and NodeBuilder to setup and configure everything that we do in reth node right now, and then have the CLI consume that. It is unlikely that you would want to customize any of the other parts of the CLI anyway, and if you wanted to, you could do that right now since most use 1-2 components


[LINUX] Building process fixes and optimization, huge binary size reduction.

Maybe a better to make a few smaller pull requests instead of one large, but i feel this as one work, there is too many opened pull requests, i'm afraid of merge conflicts if PRs will be merged one by a time and just too lazy. Here is explanation of each of 5 commits:

Using distro-provided freetype2 library on Linux instead of in-tree version
Looks like in-tree version of Freetype2 hasn't any customizations and just added as dependency of ImGUI Truetype library. Although this is a good solution for Windows, any Linux distro already have freetype2 installed and it is a dependency of CSGO itself so there is no reason to link static Freetype2 inside binary, which not only waste a third of whole compiled binary size, but can also lead to rendering inconsistency between static freetype on Osiris GUI and native/steam-runtime libfreetype.so.6 used by rest of CSGO UI.

Add freetype-dev dependency for github workflow on Linux
Using of dynamic-linked freetype add one additional build dependency, but it whole size is smaller than overhead of static freetype added to every Osiris build, so i think this is a good deal.

Using SDL provided OpenGL loader instead of custom one
As we injecting in SDL application and using ImGUI SDL platform binder, SDL had already initialized OpenGL and exported all needed glExt prototypes so there is no need to bloat Osiris with GL3W and waste disk, memory and cpu time for it. Its crazy how ImGUI hasn't this option as one of many predefined loaders, although it need only three lines of code to use.
As a bonus, as we no more calling glExt functions directly, linker is able to link cheat against modern lightweight libOpenGL.so instead of legacy libGL.so & libGLX.so. Of course, if we provide linker with all available options to decide (see item №5.2)

Do not compile imgui_demo.cpp
I have read comments on beginning of file and agree on leaving this file in-tree as live documentation, but i see no reason to spent time first to compile this demo file and then to eliminate it by LTO on every build. I just removed it from both CMakeLists.txt and Osiris.vcxproj(.filters) but didn't touched the file itself.

Fixing CMakeLists.txt to use proper CMake autodetection instead of hardcoded values
It's a pain to look at current CMakeLists.txt which collected almost all "do not do" from CMake docs and ignoring all powerful of CMake, treating it like a primitive GNU Makefile (which it is not). Issues i've decided to fix following issues:

Not using CMake to check presence of build dependencies. Now CMake will check if system have SDL2, Freetype and OpenGL libs/headers installed before build and show nice missing package error instead of typical hundreds of meaningless C++ compiler errors due one missing header
Using hardcoded include dirs and link libraries, which not portable, specified based on Ubuntu 20.04 and can become broken at anytime "tomorrow" for rolling-based distros. Now we let CMake to find all needed include dirs and choose best libraries to link (for example libOpenGL.so instead of libGL.so/libGLX.so on modern distros with GLVND, see item №2)
Documentation discourage usage of include_directories() or link_directories() without a target specifier. And we don't need link_directories() at all as CMake is smart enough to look at /usr/local/lib if needed.
Documentation discourage usage of target_link_libraries() without a visibility specifier. Have set them as PRIVATE.

Here is result of optimization:
Binary size before: 1598256 bytes
Binary size after: 1041136 bytes
It's a 35% reduction of binary size + faster compiling time + slightly faster injection and initialization of cheat (on 10-years old AMD Phenom II, probably unnoticeable on modern CPUs). Hope i did all right and PR will be merged.

Ok, i have did some extreme testing with custom and cross-compilers and was unable to get any issues - CMake is really smart enough to provide -L/usr/lib64 even if compiler instructed to not try to search libraries there. So i think we can revert to linking with just GL as a compromise, because Freetype and GL3W changes are much more important than CMakeLists.txt aesthetic.
By the way, during testing i found a small issue with CMAKE_CXX_STANDARD. According to docs

If the value requested does not result in a compile flag being added for the compiler in use, a previous standard flag will be added instead. This means that using:
set_property(TARGET tgt PROPERTY CXX_STANDARD 11)
with a compiler which does not support -std=gnu++11 or an equivalent flag will not result in an error or warning, but will instead add the -std=gnu++98 flag if supported.

This mean that if we try to compile Osiris with compiler that don't support C++-20 (most LTS distros like RHEL Desktop and Debian Stable bundled with GCC8.3) we will get a lot of compiler errors because unsupported syntax. This can be easily fixed using set(CMAKE_CXX_STANDARD_REQUIRED ON) so we get a nice notification about compiler incompatibility.
I hope this is a final commit before merging.

Thank you!

@mdilai Can You give me .so file for linux i have the load :) i dont know how to compile it many errors


Y coordinates are displayed off center when using the testbed

I expected objects to be placed in the center of the screen when placed at 0 on the x and y axes. However this seems to only be the case for x coordinates and not for y coordinates.

Testbed y offset is not 0 by default, but you can change it:
planck.testbed('Example', function(testbed) {
  testbed.y = 0;
});

Excellent, thanks 👍


Agent react cannot accept gpt4 or gpt 4o as input model

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
The mimial reproduce code is:
from langchain import hub
from langchain.agents import AgentExecutor, create_react_agent
from langchain_community.tools.tavily_search import TavilySearchResults
from langchain_openai import OpenAI

tools = []

# Get the prompt to use - you can modify this!
prompt = hub.pull("hwchase17/react")

# Choose the LLM to use
llm = ChatOpenAI(temperature=0, model="gpt-4o")

# Construct the ReAct agent
agent = create_react_agent(llm, tools, prompt)

# Create an agent executor by passing in the agent and tools
agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)

agent_executor.invoke({"input": "what is LangChain?"})

Error Message and Stack Trace (if applicable)
ile /home/tl688/.conda/envs/cell2sentence/lib/python3.10/site-packages/langchain/agents/output_parsers/react_single_input.py:75, in ReActSingleInputOutputParser.parse(self, text)
74 if not re.search(r"Action\s*\d*\s*:[\s](.?)", text, re.DOTALL):
---> 75     raise OutputParserException(
76         f"Could not parse LLM output: {text}",
77         observation=MISSING_ACTION_AFTER_THOUGHT_ERROR_MESSAGE,
78         llm_output=text,
79         send_to_llm=True,
80     )
81 elif not re.search(
82     r"[\s]Action\s\d*\sInput\s\d*\s*:[\s](.)", text, re.DOTALL
83 ):
OutputParserException: Could not parse LLM output: LangChain is a framework designed to facilitate the development of applications powered by language models. It provides a suite of tools and components that help developers build applications that can interact with language models in a structured and efficient manner. LangChain is particularly useful for creating applications that require complex language processing tasks, such as chatbots, virtual assistants, and other AI-driven communication tools. It supports integration with various language models and offers features for managing conversations, handling inputs and outputs, and maintaining context across interactions.
For troubleshooting, visit: https://python.langchain.com/docs/troubleshooting/errors/OUTPUT_PARSING_FAILURE
Description
This error only happended in gpt4 and gpt4o model, not in 3.5. Replacing it with OpenAI can work.
System Info
The updated version of langchain.

@HelloWorldLTY, which version of langchain are you using. Can you uprade to the latest version. Since I tested the same code and everything seems to be working.

But @HelloWorldLTY if you are facing this error then do the following:

agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True, handle_parsing_errors=True)

Making handle_parsing_errors=True will make sure that agent executor takes care of any parsing error by feeding the parsing error back to llm.

Hi, does it mean I can try reactgpt4 or gpt4o with the referred comments? Thanks.


Average Recall or precision at a specific IoU threshold

how I can get Average Recall (or AP) at a specific IoU threshold? or class_wise AR at a specific IoU threshold.

Your customdataset class has evaluate method, please change iou_thr argument in that method to get your result.

Your customdataset class has evaluate method, please change iou_thr argument in that method to get your result.

@superuser992002 I am using coco format for my annotation. is that still possible? it seems for bbox option the threshold for IoU is a list.

I have tested with COCO format and it works as usual.

@huyphan168 I tried your solution but the output still shows 0.5 to 0.95 thresh which is default, is there any other solution?

Did you solve this problem?


[ci skip] Update JDK to OpenJdk8

Note to reviewer: This is the result of the script that will be pushed to all plugins to ensure that we use the openjdk8 for plugin builds to ensure that builds will still be able to run after Travis migrates to Ubuntu xenial for their default build image.


Rename std.string.splitterLines to std.string.lineSplitter

As discussed in PR #2987.

Actually I'd prefer to call it byLine in analogy with std.stdio.byLine, but I'm worried about the small difference in behaviour with respect to line endings (thanks to @ntrel for pointing it out).

LGTM

LGTM

ping @andralex @AndrejMitrovic

Sorry but there's some issue with the autotester.
Sorry, it looks like you don't have permission to this project at github.

Brad needs to approve him before his PRs will get auto-tested.

No, I have the same problem with Kenji's pull. :/

Oh? Is something wrong with the auto-tester? I did notice this past week that auto-merged PRs get credited to Brad no matter who toggled it. Wonder if that's related...

LGTM

Auto-merge toggled on

Call me old-fashioned. (And I know I am late to the party.) This is a very recent addition and I think it rather rude to rename a library function without consent of its author, especially if the author is @WalterBright. Am I really so far off?

Well, there seemed to have been consensus, and Walter didn't speak up in a week so far (neither here nor in his PR). I guess he's ok with it. The important thing IMO is to get a decision before the release, which is due soon.

Was splitterLines completely deleted?
IMHO it will be better to leave splitterLines with deprecated attribute to show the migration path to the users.

@tom-tan splitterLines was never released, so it's OK to rename it.

Actually it does appear in the release branch here - we need to get this pull merged into 2.067.

@MartinNowak "we need to get this pull merged into 2.067."

splitterLines was never released, so it's OK to rename it.

I see. I did not notice that.


What loss values are reasonable?

What train/test values are reasonable after 1 or 2 days of training?

For samples which I have uploaded to generated_samples folder I've stopped training after ~35 hours. This is how tensorboard looked like.

I'm struggling a bit to correlate your loss values with the results I'm getting (although I'm using a heavily altered implementation).
I just want to make sure that I'm not mistaken due to some naming changes in your code bases, but the total_loss (both train and test) are the L1Loss between eps and eps_hat?
In my experiments audio starts to get good when this loss drops to around 0.03 (albeit on a different batch size, seq len etc.)
I'm also curious as to why test/total_loss is 4 times the train loss? that seems a bit odd.
Thanks for the help and a great repo!

@ohadvb firstly, picture above is irrelevant since a lot of updates have been done to the repo. total_loss is L1-loss between eps and eps_hat. Currently, from my tensorboard I see that train loss is twice less than test loss. Differences between them might appear because for test I set number of iterations to be 50 instead of 1000. Moreover, please, take into account that instead of evaluating a small sequence of audio (during train I cut random audio slice to increase mini-batch size), I calculate test loss between whole test audios, thus it implies test loss to be higher, obviously.