[PkgEval] Markdown may have a testing issue on Julia 0.4 (2015-06-27)

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their tests (if available) on both the stable version of Julia (0.3) and the nightly build of the unstable version (0.4). The results of this script are used to generate a package listing enhanced with testing results.
On Julia 0.4

On 2015-06-26 the testing status was Tests pass.
On 2015-06-27 the testing status changed to Tests fail.

This issue was filed because your testing status became worse. No additional issues will be filed if your package remains in this state, and no issue will be filed if it improves. If you'd like to opt-out of these status-change messages, reply to this message saying you'd like to and @IainNZ will add an exception. If you'd like to discuss PackageEvaluator.jl please file an issue at the repository. For example, your package may be untestable on the test machine due to a dependency - an exception can be added.
Test log:
>>> 'Pkg.add("Markdown")' log
INFO: Cloning cache of Lazy from git://github.com/one-more-minute/Lazy.jl.git
INFO: Cloning cache of Markdown from git://github.com/one-more-minute/Markdown.jl.git
INFO: Installing Lazy v0.8.4
INFO: Installing Markdown v0.3.0
INFO: Package database updated

>>> 'Pkg.test("Markdown")' log
Julia Version 0.4.0-dev+5624
Commit 2b07246* (2015-06-26 20:21 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Nehalem)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3
INFO: Testing Markdown
ERROR: LoadError: LoadError: LoadError: MethodError: `convert` has no method matching convert(::Type{Dict{Symbol,Any}}, ::Base.Docs.FuncDoc)
This may have arisen from a call to the constructor Dict{Symbol,Any}(...),
since type constructors fall back to convert methods.
Closest candidates are:
  Dict{K,V}(::Any)
  call{T}(::Type{T}, ::Any)
  convert{K,V}(::Type{Dict{K,V}}, !Matched::Dict{K,V})
  ...
 in setindex! at dict.jl:616
 in doc! at docs/Docs.jl:86
 in include at ./boot.jl:254
 in include_from_node1 at ./loading.jl:133
 in include at ./boot.jl:254
 in include_from_node1 at ./loading.jl:133
 in reload_path at ./loading.jl:157
 in _require at ./loading.jl:69
 in require at ./loading.jl:52
 in include at ./boot.jl:254
 in include_from_node1 at loading.jl:133
 in process_options at ./client.jl:305
 in _start at ./client.jl:405
while loading /home/vagrant/.julia/v0.4/Markdown/src/parse/util.jl, in expression starting on line 45
while loading /home/vagrant/.julia/v0.4/Markdown/src/Markdown.jl, in expression starting on line 6
while loading /home/vagrant/.julia/v0.4/Markdown/test/runtests.jl, in expression starting on line 1

==============================[ ERROR: Markdown ]===============================

failed process: Process(`/home/vagrant/julia/bin/julia --check-bounds=yes --code-coverage=none --color=no /home/vagrant/.julia/v0.4/Markdown/test/runtests.jl`, ProcessExited(1)) [1]

================================================================================
INFO: No packages to install, update or remove
ERROR: Markdown had test errors
 in error at ./error.jl:21
 in test at pkg/entry.jl:746
 in anonymous at pkg/dir.jl:31
 in cd at file.jl:22
 in cd at pkg/dir.jl:31
 in test at pkg.jl:71
 in process_options at ./client.jl:281
 in _start at ./client.jl:405

>>> End of log

Is this something to do with new behaviour of doc parsing of
"docstring"
function f() ...

? cc @one-more-minute @MichaelHatherly

This line https://github.com/one-more-minute/Markdown.jl/blob/ae6064d8d506efb0ad4ff6c87ff506d94efd51d6/src/parse/config.jl#L13 is stopping Base.Docs.@init from generating the module's docstring ObjectIdDict cache.
We could either just rename the one here to something else, but I think this will be the cause of confusing errors for users that happen to name something META. Perhaps a gensymd name for the docstring cache?

By gensymd I mean a variable that's impossible to write without a macro's help, but with a consistent name between modules. Something like symbol("#META"), etc.

This should be fixed by the change in Base.


Create churcherscollege.txt

Churcher's College has a sixth form, for 2 years, as is standard in the UK academic system.
They teach a specific Computer Science course:
https://www.churcherscollege.com/sixth-form-16-18-/sixth-form-academic-courses

@SamJakob Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!


Reproducing inference with depth maps

Hi, do you plan to share your "v3_sd15_sparsectrl_depth.ckpt" checkpoint anytime soon? Thanks!

I can't wait to try sparsectrl_depth :)

Hi @guoyww, it has been a while, do you have any updates on using depthmaps?


IIS deploy of a blazor InteractiveAuto application

Description
[Enter feedback here]
Since .Net 8 you can create a combination of a Blazer server and a blazer wasm application. I can find information how tho deploy either on of those, but not about a combined application.
Please advise.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/?view=aspnetcore-8.0&tabs=visual-studio
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/host-and-deploy/index.md
Document ID
c82cf121-831d-75dd-a796-c735aad3b3e9
Article author
@guardrex

Hello @developer-sintmaartencampus ... It's this article ...
https://learn.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/server?view=aspnetcore-8.0
I think the ToC could use an update because it says "Blazor Server" in the node. I think it should probably read "Server-side" at this point to cover both Blazor Server and Blazor Web Apps.
I'll also probably change the introduction of that article to clearly call out that it applies to Blazor Server (still supported BTW) and Blazor Web Apps.
Thanks for the issue.
Leave this issue open, as it will close automatically when the PR merges.

There's literally just these 4 lines for IIS (including title) ;-)
IIS
When using IIS, enable:
WebSockets on IIS.
Sticky sessions with Application Request Routing.
When I publish my application, I find files in the release folder of both the Server as the Wasm-project. I need to publish on a subdomain, like staging.mywebapplication.com, I haven't figured out where I need to place the release-files of the Wasm-application.
I guess I do the sticky sessions (I've done Websockets), follow than the guidelines for path's 'n' stuff for the subdomain, and subsequently the rest of Blazor Server deployment.
Thank you for the swift reply. Sometimes knowing what you're looking for isn't there yet in abundance, is also a great help. I'm already less confused.
Take care and good luck.

There's nothing more specific than this coverage and what appears at ...
https://learn.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/?view=aspnetcore-8.0&source=recommendations&tabs=visual-studio#iis
The content of the publish folder should have the correct folder/file layout.
Everything else defaults back to our main doc set coverage because these are just server-side ASP.NET Core apps.
Things can get a little tricky with app base path changes for subapp hosting, and I hope if you're deploying that way that the app base path guidance in the overview Host and Deploy article help you get the configuration correct.

BTW... ignore the release build folder in the client app AFAIK. I'll double check when I get back to the PC (I'm OOF at the moment), but you should be able to deploy only the publish assets from the main project. I'll add guidance on that when I work this issue.

Confirmed, @developer-sintmaartencampus! ... The publish folder location is ...
bin\Release\net8.0\publish\
... for an 8.0 BWA. Deploy from that folder only, and you should be alright.
I still have an update (or three! 😄) to make based on your issue. Leave this issue open, as it will close automatically when the PR merges. I hope to reach this for work next week.

Actually things have become really complicated with arr.
Here's my starting point.
A very simple webapplication for an organisation with a limited number a users. Some interactivity is required from the webapp. With a single server in the public network, that hosts the db, the website, the application.
(Some limited experience with running/co-managing a .Net/angular-app and a .Net Framework MVC app. And every time the server that hosted the webapp did also host the db and the website.) Also that blazor interactive feature looks cool ... .
The ARR comes a little bit as a surprise. In theory I could maintain just one server in the network, who exposes the IP/runs the website, but he also needs to steer the app servers and the db.
Where do I put my generated code? How do the application servers know what to do? I guess the DB Manager of IIS makes the link with the db for the whole farm.
https://learn.microsoft.com/en-us/iis/web-hosting/configuring-servers-in-the-windows-web-platform/application-request-routing-arr-20-for-shared-hosting?source=recommendations
https://learn.microsoft.com/en-us/iis/extensions/configuring-application-request-routing-arr/define-and-configure-an-application-request-routing-server-farm

The best set of cross-links to guidance for your scenario with web farms is in the [Publish an ASP.NET Core app to IIS article](https://learn.microsoft.com/en-us/aspnet/core/tutorials/publish-to-iis?view=aspnetcore-8.0&tabs=visual-studio article), which includes information on configuration of data protection. Combine that with the content behind the two cross-links provided in the server-side Host and deploy article (incorrectly named "Blazor Server" right now in the sidebar table of contents, which I'll update soon), you also should follow the cross-linked guidance in ...

WebSockets on IIS
Sticky sessions on IIS

I don't have further information other than the cross-links that I've provided. If you reach out to devs on public support forums, I'm certain that you'll find some folks who actively maintain web farms with Blazor apps. We recommend the usual places ...

Stack Overflow (tag: blazor)
ASP.NET Core Slack Team
Blazor Gitter


Support for directory named module

When creating an application that follows atomic design, you usually want to create 1 folder per module, this folder containing both the tsx file and the scss file.
The issue is that, right now you're forced to either name your tsx files "index.tsx", so that you can import them using 'import "/path/to/DirectoryName"', but then it means that every single file module file in your project now have the same "index.tsx" name, which is a pain.
The other solution is to name your component files the same name as the folder, but now you have to specify the file name in the import. Exemple : 'import "/path/to/DirectoryName/DirectoryName".
But now you have import statements that are longer than needed, and it doesn't force you to name your tsx file correctly (unless you use CI), because it's not a default name anymore.
To have the best of both wold, we'd need for the default name to be either index.tsx or DirectoryName.tsx, so that we can do 'import "/path/to/DirectoryName"' to import /path/to/DirectoryName/DirectoryName.tsx
Webpack already supports this through this plugin : https://www.npmjs.com/package/directory-named-webpack-plugin (25k weekly downloads), so you can get an application that works using this kind of imports.
But the IDE's can't resolve the directory named imports, mostly because TS doesn't support it.
Adding support to this would be greatly appreciated.
This is been an issue for quite a long time, as been documented here : https://github.com/microsoft/TypeScript/issues/24116
This linked above issue also contains a proposed solution by @tylerkayser
@gaui 's comment summarizes that well : https://github.com/microsoft/TypeScript/issues/24116#issuecomment-399724546

This will be a great enhancement. Please consider it!

I wish this feature would get more attention.  It's insanity having to make dozens of one-liner index.ts files just to have shorter and more sensible imports.
It used to be possible with this package pre-ts@5.
https://github.com/channel-io/directory-named-typescript-plugin


Error is hidden if you leave trailing slash in AUTH0_DOMAIN

If you include the trailing slash "/" in the AUTH0_DOMAIN as shown in these instructions, all you will see is 401 Unauthorized trying to call auth/me endpoint after logging in. Maybe it's best for the error “jwksError: Not Found” to be logged, because it wasn't obvious this was the problem. For reference: solution

I'm happy to merge a PR if you have a solution for this.

I think even just removing final "/" here would be good enough, since it documents clearer what the format should be


Span::log() without specified timestamp leads to an exception

Hi, I see there is already an open PR for this issue. Right now, this issue is holding us back from providing Zipkin support in our opentracing bundle. Is there any chance this bug will be resolved?

@cawolf I just updated the PR. Could please give it a look and then if green I will merge it.


No connection

Not able to get any connection. Using an android emulator and a Samsung S6. Both do a position update but transmitting error occurs right after that. Using my public ip and tried local ip also as the S6 is inside the same network. Firwall on/off makes no difference.
Log:
2016-02-15 13:40:05  INFO: Starting server...
2016-02-15 13:42:21  INFO: [84C556C1] connected
2016-02-15 13:42:21 DEBUG: [84C556C1: 5037 < <IP_ADDRESS>] HEX:<PHONE_NUMBER>6f73743a76657273696f6e
2016-02-15 13:42:21  INFO: [287DFD7F] connected
2016-02-15 13:42:21 DEBUG: [287DFD7F: 5037 < <IP_ADDRESS>] HEX:<PHONE_NUMBER>6f73743a636f6e6e6563743a3139322e3136382e3139322e3132383a35353535
2016-02-15 13:42:21  INFO: [287DFD7F] disconnected
2016-02-15 13:43:21  INFO: [CE3F1B9C] connected

There is nothing in the log from Traccar Client. It means server doesn't receive any data from device. There must be some network issue.

"port 5055 is closed", so that's my problem. Opened the port at the windows firewall but it's still closed. Sure it's my router. Tried to open that port on the router but fails. Looks like a problem with this W724 router in general (to open ports). I will try again today.

Are you sure your ISP provides you with public IP address?

I tried this for example: https://www.whatismyip.com/what-is-my-public-ip-address/
And here it shows the ip

Some internet provider use NAT. If that's the case, you won't be able to access it.

Looks like Telekom Germany is using NAT. Even if the NAT type is set to open?

I would recommend to contact your ISP and clarify it. If you are behind NAT, you won't be able to use Traccar on your local computer. You would have to get a VPS server.

The router supports DDNS. Would this help?

It would help if your internet provider gives you dynamic public IP address. But it won't help in case of NAT.

Which means the only solution for me would be a VPS server.

Are there any specifics I must note before I get a VPS server? I would like to get one but as there are costs involved I want to be sure to do the right choice. And thanks a lot for your help @tananaev!

I would recommend to get at least 1GB of RAM for VPS.

Thanks, I will try tomorrow.

Could this VPS do the job?
https://contabo.com/?show=configurator&vserver_id=145

Yes, it should be fine.

Got it worky without a VPS. Set router NAT Type to open and opened port 5055. Works with local network (IPv4) and also with the public IP.  Thanks again!


Conduct a survey among users

I think it would be very effective to ask users what icons they want to see, not everyone can have GitHub, so not everyone can or wants to create an issue in this repository.
So I thought of this plan:
When the user goes to vscode, a one-time notification from the Material Icon Theme extension arrives and asks "What icons do you want us to add?"
And the first thing to think about is the number of users who will receive this notification, in my opinion, the circle of surveyed users should be limited to every third, this can be solved very simply - generate a random number between 1 and 3, and if the number is 3, then send a notification
As I said, not everyone can have GitHub account, so you need to create a survey form on a special platform (I don't know yet which one) so that you can take the survey without registration.
And if the user clicked "Yes" on the notification, he is redirected to the survey page

You can make an even smaller circle of respondents, because there are a lot of users of this extension

I understand your suggestion, but I would like to avoid such surveys. I myself usually find it annoying when I go to a website and am confronted with a survey. It annoys more users than it helps. I would like to avoid that. GitHub is currently the pivotal point for the further development of the extension and that includes requests for icons. A GitHub account is therefore mandatory.
It is important to me that this extension remains free of such notifications so that users can simply go about their business without being actively prompted to take part in a survey.
And if someone wants new icons, they have to create a GitHub account to create an issue (it's free and simply requires an email address). In my opinion, everything else is too much effort for us as maintainers to check a survey platform to see which icons have been requested.

Oh boy I don't recommend doing this.  Not to mention you'll be nagging users who don't really care about this at all.
You can add a new menu for "feature requests" or "icon requests" instead. But honestly I won't recommend it.

I understand your suggestion, but I would like to avoid such surveys. I myself usually find it annoying when I go to a website and am confronted with a survey

There are such "non-intrusive surveys", for example, I saw this on stackoverflow, there is not a big window that pops up with a request to take a survey, but just an unobtrusive banner that does not distract and at the same time offers to participate in the survey

It is important to me that this extension remains free of such notifications so that users can simply go about their business without being actively prompted to take part in a survey.

Understand.

And if someone wants new icons, they have to create a GitHub account to create an issue (it's free and simply requires an email address). In my opinion, everything else is too much effort for us as maintainers to check a survey platform to see which icons have been requested.
it's free and simply

simply

In fact, registration is quite difficult, really, because a few months ago I registered an account for a colleague (he could not figure it all out himself), and I f****ng spent half an hour on passing the captcha.
Okay, well then, so I need to somehow invite users to help
I think it would be great to add a **Suggest an icon** • **Contributing** text with links to the README.md


find_by is not implemented on Rails 3.2

This commit breaks support for Rails 3.2 because find_by was not implemented in Rails 3.2. While the change is nice, I believe it is the only reason I'm prevented from using the latest version (0.1.31 currently) on Rails 3.2.16.

That's fair enough; yeah, the change is nice but it's not worth breaking compatibility. I've reverted that commit, and version 0.1.32 should work for you again.

Also, issue #100. Woot, woot! :)

Appreciate it!


Update Helpers.php

Simple method for using the UrlGenerator in a controller.

I am now realizing this doesn't handle route parameters... I will submit another.


License?

This is pretty cool 😎
You don't mention a license in any of your repositories though, so i assume it's just copyrighted?

Thank you for bringing this up! I just added the MIT License to both photon and fract (submodule on which photon depends on to perform vector and matrix operations). Feel free to use it as you like.


Audio System (V1)

Completed a very simple and naive implementation of the Audio system. A lot of features missing but it's a start and we'll add more features when we encounter a need for them.

Audio processing

Convert Ogg and Wav to PCM and put it in the binary

PlayOnce api, supports Volume, Frequenzy and Loop.
Playback using XAudio2
Device selection using CoreAudio API in Windows
Started working on an Ogg-Vorbis reader, but due to the complexity it was paused and I took a shortcut and used NVorbis.

I'll revisit this later, when we rework parts of the audio.

No compression yet, so the binary file is huge.

Nice stuff,
Instead of ogg you could use opus/celt which is better, there is a C# port
https://github.com/lostromb/concentus/tree/master/CSharp


SDK missing files

Hello,
we have a ARM GO project which is builded by meta-goland (it means inherit golang).
When I make SDK by command bitbake -c popolate_sdk <our_os_image> there in SDK are missing directories go/src, go/pkg/include ...
Due to nobody can build GO project using our SDK.
Please, fix behaving of meta-golang for using populate_sdk command.

Have you added the cross-canadian toolchain to your SDK build, as described here and here?

Thank you very much for that suggestion. I have added this files but there was classical problem with sstate cache.
I fixed that and I have followed errors now:
| net/rpc/jsonrpc
| # cmd/trace
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/lib/go/pkg/tool/linux_amd64/link: running x86_64-oesdk-linux-gcc failed: exit status 1
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/../../libexec/x86_64-oesdk-linux/gcc/x86_64-oesdk-linux/5.2.0/ld: /tmp/go-link-867602856/000001.o: unrecognized relocation (0x2a)
in section `.text'
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/../../libexec/x86_64-oesdk-linux/gcc/x86_64-oesdk-linux/5.2.0/ld: final link failed: Bad value
| collect2: error: ld returned 1 exit status
|
|
| # cmd/trace
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/lib/go/pkg/tool/linux_amd64/link: running x86_64-oesdk-linux-gcc failed: exit status 1
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/../../libexec/x86_64-oesdk-linux/gcc/x86_64-oesdk-linux/5.2.0/ld: /tmp/go-link-867602856/000001.o: unrecognized relocation (0x2a)
in section `.text'
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/../../libexec/x86_64-oesdk-linux/gcc/x86_64-oesdk-linux/5.2.0/ld: final link failed: Bad value
| collect2: error: ld returned 1 exit status
|
| # cmd/pprof
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/lib/go/pkg/tool/linux_amd64/link: running x86_64-oesdk-linux-gcc failed: exit status 1
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/../../libexec/x86_64-oesdk-linux/gcc/x86_64-oesdk-linux/5.2.0/ld: /tmp/go-link-292705861/000001.o: unrecognized relocation (0x2a)
in section `.text'
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/../../libexec/x86_64-oesdk-linux/gcc/x86_64-oesdk-linux/5.2.0/ld: final link failed: Bad value
| collect2: error: ld returned 1 exit status
|
|
| # cmd/pprof
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/lib/go/pkg/tool/linux_amd64/link: running x86_64-oesdk-linux-gcc failed: exit status 1
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/../../libexec/x86_64-oesdk-linux/gcc/x86_64-oesdk-linux/5.2.0/ld: /tmp/go-link-292705861/000001.o: unrecognized relocation (0x2a)
in section `.text'
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/../../libexec/x86_64-oesdk-linux/gcc/x86_64-oesdk-linux/5.2.0/ld: final link failed: Bad value
| collect2: error: ld returned 1 exit status
|
| # cmd/go
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/lib/go/pkg/tool/linux_amd64/link: running x86_64-oesdk-linux-gcc failed: exit status 1
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/../../libexec/x86_64-oesdk-linux/gcc/x86_64-oesdk-linux/5.2.0/ld: /tmp/go-link-929775248/000001.o: unrecognized relocation (0x2a)
in section `.text'
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/../../libexec/x86_64-oesdk-linux/gcc/x86_64-oesdk-linux/5.2.0/ld: final link failed: Bad value
| collect2: error: ld returned 1 exit status
|
|
| # cmd/go
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/lib/go/pkg/tool/linux_amd64/link: running x86_64-oesdk-linux-gcc failed: exit status 1
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/../../libexec/x86_64-oesdk-linux/gcc/x86_64-oesdk-linux/5.2.0/ld: /tmp/go-link-929775248/000001.o: unrecognized relocation (0x2a)
in section `.text'
| /mnt/ssd/konecny/devel/iota-os/builddir/tmp-glibc/sysroots/x86_64-linux/usr/bin/x86_64-oesdk-linux/../../libexec/x86_64-oesdk-linux/gcc/x86_64-oesdk-linux/5.2.0/ld: final link failed: Bad value
| collect2: error: ld returned 1 exit status

I am not sure if this is your problem....
However, I found one a workaround:

instead packagegroup-cross-canadian.bbappend, packagegroup-core-standalone-sdk-target.bbappend I added nativesdk-packagegroup-sdk-host.bbappend with content

RDEPENDS_${PN} += "golang golang-dev"

after this, SDK obtains src directory but still has missed ../go/pkg/include/* - see:

../uaos-sdk/sysroots/x86_64-oesdk-linux/usr/lib/go/src/runtime/internal/atomic/asm_amd64.s:9: #include: open /home/konecny/devel/uaos-sdk/sysroots/x86_64-oesdk-linux/usr/lib/go/pkg/include/textflag.h: no such file or directory

so I added pkg directory into meta-golang/recipes-devtools/golang/golang-target.inc

--- a/recipes-devtools/golang/golang-target.inc
+++ b/recipes-devtools/golang/golang-target.inc
@@ -30,9 +30,9 @@ do_compile() {
 do_install() {
     install -d ${D}${libdir}/go
     install -d ${D}${libdir}/go/bin
-    install -d ${D}${libdir}/go/pkg/tool
+    install -d ${D}${libdir}/go/pkg
     install -d ${D}${bindir}
-    cp --preserve=mode,timestamps -R ${S}/pkg/tool/${TARGET_GOTUPLE} ${D}${libdir}/go/pkg/tool/
+    cp --preserve=mode,timestamps -R ${S}/pkg/ ${D}${libdir}/go/
     for f in ${B}/${GO_BUILD_BINDIR}/*
     do
         base=`basename $f`

The recipes are patterned more like other OE recipes (specifically the gcc ones), which separate host and target roots, rather than being more Go-like (with all sources and binaries for all architectures under one root).
With the cross-canadian setup, you should be invoking the go tool using the target prefix, just as you would gcc.  For example, arm-poky-linux-go.  That will invoke the installed go tool such that the host-side tools are in the OE host-side sysroot and the runtime is in the OE target-side sysroot.  The header files you're referring to should reside with the runtime.
Make sure you add the appropriate flags to your go build command(s) when you use the SDK's cross-compiler, too, to match what would be used during your bitbake builds.

Thank you for explanation


Allow for undefined userConfig

Fixes #18249
This PR fixes an error that occurs when running react-native link in projects laid out as described on the React Native website section on integrating with existing apps (https://facebook.github.io/react-native/docs/integration-with-existing-apps.html) where an ios/ subdirectory exists but an android/ subdirectory does not exist
Test Plan

Related PRs
None
Release Notes
[CLI] [BUGFIX] [local-cli/core/android/index.js] - Allow for undefined userConfig

Thanks for adding tests! Can you sign the CLA and fix the conflicts so we can proceed?

@hramos done....not sure what is up with the test failures, looks unrelated to this code


WarningEliminator: Annihilator of Issues

Alright, the time has come for a review!
This is 3 weeks of chasing Eslint, Yarn & Console warnings/errors.
A collaborative effort between @darkbrewery (smooth brain)  and @eonwarped (wrinkle brain).
Yes, we know this pull is obscenely large and going to be a bit of work to review, @pyc92 which we do apologize for, but wanted to make it exhaustive and be thoroughly tested so the app does not break after merge.
A couple of packages have been updated. Dependency changes should be double-checked as some were a source of fairly difficult bugs, and often required a small amount of restructuring.
The most difficult and evil part of this was chasing loops after missing dependencies were added to useEffect hooks.
Notable Changes:

Browser console errors have been significantly reduced, and the app is much more responsive.
Adventure location images have been moved from the api side, as they were periodically coming back as 502's.
All of the minor image 404's have been fixed as well.

Missions list now updates as intended
Adventure workflow is smoother with less hang-ups
Adjusted eslint config, and removed --quiet flag in pre-commit
Various code refactoring and logic simplified

Here's a breakdown of the ESLint warnings:

1x  Invalid next.config.js options
2x  Use of unnamed function
19x Forbidden non-null assertion
15x React Hook useCallback has a missing dependency
1x  React Hook useCallback received a function whose dependencies are unknown
24x React Hook useEffect has missing dependencies
8x  React Hook useMemo has a missing dependencies
3x  React Hook useMemo has unnecessary dependencies
1x  React Hook useMemo has a complex expression in the dependency array
1x  React Hook useLayoutEffect has missing dependencies
2x  Dangerous property 'dangerouslySetInnerHTML'
1x  Missing "key" prop for element in iterator
5x  Do not use an  element to navigate
19x  Do not use  element. Use  from next/image instead
4x  The href attribute is required for an anchor to be keyboard accessible
4x  No-Restricted-Globals Warnings
1x Unexpected use of 'self'
1x Unexpected use of 'global'
1x Unexpected use of 'location'
2x Unexpected use of isNaN

reviewing, it will take me some time

reviewing, it will take me some time

No worries, going forward we will ensure pulls are submitted in bite-size chunks


Versioning of pypiprivate

Hi,
I ran into an issue when I was using pypiprivate package installed from https://pypi.org/project/pypiprivate/. It seems that version 0.4.0 is the latest version. Although version of the package from the pypi and the master branch has same version number (i.e. 0.4.0), there are differences within the package.
Please update your versioning.
Anyway, great project. Thank you.

Yes, you're right. A few PRs have been merged in master since the 0.4.0 release but next version hasn't been released yet. I'm hoping to get some time in the coming weeks to look at a few more PRs and release 0.5.0.
Thanks.

Hi @naiquevin any traction on this?

Sorry about the delay. Have been busy with work lately. Hoping to get some
time in the next week though.
On Wed, 16 Sep 2020 at 10:52 PM, Aditya Naik<EMAIL_ADDRESS>wrote:

Hi @naiquevin https://github.com/naiquevin any traction on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/helpshift/pypiprivate/issues/12#issuecomment-693547694,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEOZHEBUW7YIYE5QNROQITSGDX6VANCNFSM4N4X6AKA
.
--
~ Vineet

@anaik-zam @muhammadsyahyas Released version 0.5.0 and published it to PyPI - https://pypi.org/project/pypiprivate/0.5.0/.
Closing this issue.

Thanks!


Repeat Alarm might be a nice feature

I was thinking it might be a useful feature to include a number of repeats for an alarm. That way you could use it a bit like a Pomodoro timer.
For example for the next 2 hours - remind me to stand up and take a break every 20 minutes...
This feature could be enabled as foreground-only (at least initially) so it wouldn't require additional code to kill the background task.

Really useful, I literally want/need this so will get this in ... thank @greywidget


centerMode/slidesToScroll issues

I know variations of this issue are all over your Github and I don't mean to repeat what others have already said.
But I'm trying to create a centered slideshow (centerMode: true), that is not infinite (infinite: false), that shows 3 slides and scrolls 3 slides as well.
Unless I'm mistaken that's impossible - correct? With centerMode: true, slidesToScroll is always set to 1 - right?
What's so puzzling about this is that if I look at this site: https://kinfolk.com/ (the slideshow beneath "SELECTED STORIES FROM ISSUE TWENTY-FOUR") somehow they've managed to show 6 slides and scroll 6 slides. And I know they're using Slick.
Another thing they've managed to solve which I'm unable to solve is to show 6 slides on the "first page" and all subsequent pages. When I set infinite: true I get the same behavior (every page shows the same number of slides) but when I set infinite: false the first page doesn't show any slides to the left of the centered slide.
How it should work - 3 pages of 6 slides each, every page shows 6 slides

How it works for me - 6 pages with 1 slide each, first page only shows 2 slides

So my question is; How can I achieve what they've achieved at Kinfolk? I've checked their (minified) source and from what I can gather all they do is set slidesToShow: 6, slidesToScroll: 6. How come it works there but not for me?
I am using the latest version of Slick.

@powerbuoy This website is not using centerMode at all.  It styles slick-listwith  overflow: initial and make all slick-slide which is not active has some opacity style. like this:http://jsfiddle.net/fyj4e38s/

Oh :P I didn't even realise that. Ok so that solves my issue, thanks :)


Portion of bottom of app is just black space, cuts off comments

https://imgur.com/a/nxmfZ

That is where the navigation controls are (but there was a bug that hid them in the latest alpha). Is fixed in alpha 3


Unauthorized error with mailgun.js

Whenever I run the request I keep getting Unauthorized.
Here is my code
`
import { Response, Request } from "express";

import { emailData } from "../types";

import formData from "form-data";

import Mailgun from "mailgun.js";

import * as dotenv from "dotenv";

import log from "../utils/logger";

dotenv.config();

const mailgun = new Mailgun(formData);
const mg = mailgun.client({
  username: "api",
  key: process.env.MAILGUN_API_KEY as string
});

export const sendContactEmailHandler = async (req: Request, res: Response) => {
  const { name, email, desc, subject }: emailData = req.body;
  const app_email = process.env.APP_EMAIL as string;
  const domain = process.env.MAILGUN_DOMAIN as string;

  if (!name || !email || !desc || !subject) {
    return;
  }

  try {
    const sendResult = await mg.messages.create(domain, {
      from: `Test User <me@${domain}>`,
      to: email,
      subject: subject,
      html: `<p>${desc}</p>`,
      text: desc,
    });

    res.send(sendResult.message);
  } catch (error: any) {
    log.error(error.message);
  }
};

`

I would ask you to check environment variables if you haven't done it yet.
Also in the case, your mailgun account is EU hosted you would need to define EU's subdomain as the URL in mailgun's Client constructor:
JS const mg = mailgun.client({username: 'api', key: process.env.MAILGUN_API_KEY || 'key-yourkeyhere', url: 'https://api.eu.mailgun.net'});

I don't see any issues with your code, and It doesn't look like an issue in the SDK.
Can you contact support?
You may find the support button on the documentation site's bottom right corner.
https://documentation.mailgun.com/en/latest/
It seems like an issue with your account or something like that.

Thanks @olexandr-mazepa. Its an issue with my account

yes,
Really please don't fool the EU users, extend the docs by the url notice!
This missing documentation part is really frustrating.


java.io.IOException: java.util.zip.DataFormatException: invalid distance too far back

Hello, guys. I found an issue when I integrated Java project with kotlin project. This issue occurred when a java client calling a kotlin api (javalin). This issue confused me a lot. Would you guys give some explain of this.
Error trace as
Caused by: java.io.IOException: java.util.zip.DataFormatException: invalid distance too far back
	at okio.InflaterSource.readOrInflate(InflaterSource.kt:99)
	at okio.InflaterSource.read(InflaterSource.kt:49)
	at okio.GzipSource.read(GzipSource.kt:69)
	at okio.Buffer.writeAll(Buffer.kt:1642)
	at okio.RealBufferedSource.readByteArray(RealBufferedSource.kt:236)
	at okhttp3.ResponseBody.bytes(ResponseBody.kt:124)

Thank you for your updates. This is not easy to reproduce. But I'd prefer to provide it, if there is any more detail to reproduce it.

Thanks, please reopen with more detail.


Add UU-dissertation-template

Please ensure your pull request adheres to the following guidelines:

[x] Why do you think your project is a great addition? Please describe how it is useful or inspirational to other researchers.
This template can be used by PhD students that write their thesis in LaTeX. It provides the basic required elements and instructions on how to expand on that or adapt it.
[x] Use the following format for adding repositories: - [repository_name](repository_link) - short description of the repository
[x] Repositories should be added alphabetically in the relevant category.
[x] New categories or improvements to the existing categorization are welcome.
I currently listed it under "Research project management". This is the best fit among the existing categories, but it is not perfect. Adding a new category would probably mean that this repository would be in a category of its own (something like "Research output templates"). I'm not sure if that is the way to go either.
[ ] For collaboration groups, add only the github organization and a description of the organization.

Thanks for contributing!

Hi @RoelBrouwer, I think project management is fine as a category

@kequach @J535D165 , something is going wrong with the approvals. It still says there is 1 approval although there are 2. Merging is still blocked for me. Can one of you look into this?

@jelletreep it looks like my approval doesn't work. My first guess would be that I don't have permissions anymore

I don't have admin rights in this repo, so I cannot fix it. @J535D165 , could you look into this?


Integration of Prometheus alertmanager and Prometheus with basic auth in domain name

What did you do?
I want to integrate alertmanger with Prometheus with domain name and basic auth. How to make this possible. When I put basic auth at Prometheus alert manager it gives error while sending alerts.
What did you expect to see?
No response
What did you see instead? Under which circumstances?
I see no alerts at alertmanager after putting the auth at alertmanger. What will be the url/ api url to send alerts to alertmanager using basic at alertmanager end?
System information
No response
Prometheus version
No response
Prometheus configuration file
No response
Alertmanager version
No response
Alertmanager configuration file
No response
Logs
No response

Hi bhattanil,
Thank you for reaching out. Could you please provide some more details regarding your setup? Such as:

What version of Prometheus and Alertmanager are you using?
Could you please share your Prometheus and Alertmanager configuration files?
What is the error message that you're seeing when trying to send alerts with basic auth?
What URL are you using to send alerts to Alertmanager?

Once we have this information, we may be able to better assist you with resolving this issue.
Thank you.


Adjust configuration options

Allow a configuration's options (if any) to be adjusted after the configuration is created.
This is particularly useful for DynamoDB. A configuration can be created with a certain value for read and write capacity units, but then later need an increase to scale for usage.
This can be done using AWS' console of course...But that's not real convenient and maybe the credentials being used only allow access to DynamoDB - no console login. So it's super handy to be able to adjust any settings for a configuration through discfg.
When more storage options are added, like S3, then different options may be available. Though I can't see all too many being needed. I can't think of anything S3 would need... Well, maybe it can turn on/off reading from a public URL. Who knows.
Config the config =) Gotta happen.

This is mostly done. Just needs a refactor. The original thinking was all based around how the API would work. A simple HTTP OPTIONS request that would be both a getter and a setter. If there was a JSON body passed, then parse that and update the configuration storage options. Otherwise, just read the configuration info - which would include information about the configuration storage options.
Though it works differently from the CLI. There's less info returned to the command line for starters. Also, it doesn't make sense to have one command with an optional argument that changes the behavior of the command. There's an cfg info (also available as just info for convenience) command as well as an cfg update. So it doesn't make sense to lump the getter and setter into one function.


BUG - Bitfinex - Place order

I have a BUG in the place order of bitfinex, this code below return {"{"message":"Key amount should be a decimal number, e.g. \"123.456\""}"}
Code
var result = client.PlaceOrder(new ExchangeOrderRequest()
{
	Amount = 1.0M,
	IsBuy = true,
	OrderType = OrderType.Market,
	Symbol = "XRPUSD"
});

Decimal to string with invariant culture, return "1,0"... maybe this is problem

string test = 1.0m.ToStringInvariant(); // "1.0"
// do you see the same if you put this line of code as first line in the main function in the console app project?

It's really happen but when i debug my program showing "1,0"

For test i make one chance in the method PlaceOrder of ExchangeBitfinexAPI.cs
//payload["amount"] = ClampOrderQuantity(symbol, order.Amount).ToStringInvariant();
payload["amount"] = ClampOrderQuantity(symbol, order.Amount).Result.ToStringInvariant();

So now the error is {"message":"Key price was not present."} but this happen because order is Market.

And ToStringInvariant really return "1.0"

This is finish code
protected override async Task<ExchangeOrderResult> OnPlaceOrderAsync(ExchangeOrderRequest order)
{
	string symbol = NormalizeSymbolV1(order.Symbol);
	Dictionary<string, object> payload = await OnGetNoncePayloadAsync();
	payload["symbol"] = symbol;
	payload["amount"] = (await ClampOrderQuantity(symbol, order.Amount)).ToStringInvariant();
	payload["side"] = (order.IsBuy ? "buy" : "sell");
	payload["type"] = (order.OrderType == OrderType.Market ? "exchange market" : "exchange limit");
	if (order.OrderType != OrderType.Market)
	{
		payload["price"] = ClampOrderPrice(symbol, order.Price).ToStringInvariant();
	}
	else
	{
		payload["price"] = 1.ToStringInvariant();
	}

	order.ExtraParameters.CopyTo(payload);

	JToken obj = await MakeJsonRequestAsync<JToken>("/order/new", BaseUrlV1, payload);
	return ParseOrder(obj);
}

Thanks!


Unknown Type: int

Hello All,
I try to implement the example as follow.
My type is:
type SwaggerProjectList struct { 	ProjectId   string 	ProjectName string 	NumTasks    int }
My Swaggo comments
// @Success 200 {object} models.SwaggerProjectList "project list"
The problem is in swaggo UI:
{   "NumTasks": "Unknown Type: int",   "ProjectId": "string",   "ProjectName": "string" }

@easonlin404 Could you give me some advice on this? Thank you.

@easonlin404 sorry for bugging you, I follow the trace, so the quick fix just add a new type of integer
type integer struct {}
This will fix the issues.
So moving forward, which I find out the reason, it generates the swagger doc on top of this go-swagger. And go-swagger do not have the int type.

Fix via #26. Thank you for your contribution. 💯


IGNITE-11645 Fix outdated assertion

@akuznetsov-gridgain please review.

https://issues.apache.org/jira/browse/IGNITE-11645 is closed and merged, closing PR


e2e: add test for audit logs to have workspaces set

With https://github.com/kcp-dev/kcp/pull/1042, audit events should have a workspace annotation. This deserves a small e2e test, e.g.:

[ ] start e2e test server always with audit logs
[ ] verify that the created audit files contain workspace annotations.

I would like to take this if no one is working on this.

/assign @bipuladh


Replace example object with SNAD101

Replace HZ Her on the main page with SNAD101, oid<PHONE_NUMBER>04730

I replaced!


classNames and stylesheets getting recreated when controlled input value changes

I am using material-ui-next (v1.0.0-beta.31), redux, with redux-saga.
Every time I enter a new character into a controlled input (MuiTextField), it seems like every single jss clasname gets a new value.
I've uploaded some diff output of the DOM here:
http://www.mergely.com/31BCf7n5/
I expected the class names not to change. Is this a bug or is this by design?

Also, I'm using server side rendering, and this is in development with webpack. (I can elaborate on my webpack configuration but I'll wait to see if that's useful first.)

I figured out the issue. Redux was triggering an update at the root of my component, above where I was inserting the MuiThemeProvider component. I moved my MuiThemProvider outside of the the redux connect state change handling and that resolved the changing classnames.


Can't Compile:))))

Describe your problem here.
source/flixel/addons/ui/FlxInputText.hx:744: characters 12-23 : Unmatched patterns: SHADOW_XY
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Yes

Fixed It. If You Get This Error. Revert To 5.8.0


Russian commit messages?

I saw something like than in issues (some kind of fallback thing?), but can't figure out - what should i do to commit with proper encoding?
Its like this now:

+1


feat(payment): INT-4170 added hosted_field schema for Mollie

What? INT-4329 INT-4170
Added Hosted Field schema to HostedWidgetPaymentMethod in order to show error messages on TSV for Mollie
Why?
TSV Verification Hosted field was not showing the error messages
Testing / Proof

@bigcommerce/checkout

💚 Tested
QA Details: I made a test case for TSV to check in-line errors


3D Object is not visible in Windows Server 2012 R2

System Configuration:
Windows Server2012 R2
RAM 12GB
JeelizFaceFilter is not working for the above system configuration. Please help me on this issue. Thanks in advance

Give logs, what do you me to do with such crappy bug report?


Info: Add alignment options

Description
This PR adds options to align the info output into columns! This works by specifying a max width for the subtitle $align_amount and then subtracting the length of the subtitle from that ${#subtitle}.
$align_amount has to be hardcoded since we won't know the length of the longest subtitle when we start displaying info. The default amount works for all of the default subtitles in the config file and if there are any issues the user just has to up the value of $align_amount.
This is mentioned in the config file and docs so it shouldn't be an issue.
Examples:
# LEFT

user@hostname
-------------
OS            : Arch Linux
Kernel        : Linux 4.9-ARCH
Uptime        : 1 hour, 41 minutes

# RIGHT

user@hostname
-------------
           OS : Arch Linux
       Kernel : Linux 4.9-ARCH
       Uptime : 1 hour, 41 minutes

Features

Align the info output into columns.

Issues

[ ] $align_amount must be hardcoded since we don't know the max subtitle width.

Testing
neofetch --align_info left
neofetch --align_info right

I had a test run, it seems battery function won't play nice with alignment.

It looks like I've forgotten to update prin().
Thanks for testing.

It should be fixed now.

This isn't working at all for me on macOS with iTerm2

Does it work with --config off added as well?
I can't reproduce that at all.

I can reproduce this if I set --align_amount to a low value. Try using --align_amount 20 and see if it fixes the issue.

Yeah that fixes it. What's the default value?

The default is 14 which is slightly longer than Terminal Font which is the longest default subtitle.

Well iTerm2 doesn't print the terminal font so hmm. Longest for me with default config is 8

It's hardcoded at 14 so even if the max subtitle size is smaller (8) it just means that there will be a bigger gap. The breakage should only happen if the subtitle is longer than the default value.

I've figured out how to calculate the longest subtitle length. We basically run print_info() again and exit right after we get the subtitle value. This is the only way I can see this implemented and it works surprisingly well.
Try this revision @iandrewt and let me know if it works now.

Works now!

Awesome :+1:

I've found a new bug.
For example: If term_font fails (ie we don't print anything) the length of the subtitle is still logged. This means that the alignment calculation is off and you end up with more padding than needed.

Closed in favor of https://github.com/dylanaraps/neofetch/pull/532


Portholes - can't get them to work

I can't get any parallax effect with this material. My mesh is named PORTHOLE, the material is named hublots and the MSFS material is set to porthole.  I am using the A320 textures as placeholders.  The textures display but don't move with the angle of view.  I have tried to reproduce everything as in the default airbus.  Exporting from Blender 3.1.2.

I spend some more time and see there is a parallax effect but the texture only shows when looking forwards and down or vice versa depending on how the textures are set up.  I can duplicate the mesh and flip the textures in the second mesh and then set the transparency of the material to 50% and get the desired effect from all viewing angles.  But the image flickers a bit.  The default aircraft do this with a single mesh somehow.  The SDK is totally silent on how this material is supposed to be set up.

Hello,
To get this effect to material to work properly you need :

An emissive map= this is this one that will be projected at the back of the parallax.
Albd = for colors, the alpha is used to give depth to the surrounding and to the window.
Comp = nothing special on this map, this is the usual Ao, roughness, metallic
Norm = if you want to add an extra normal effect

The effects:

Glass = alpha between 0.8 and 1
Border = alpha between 0.5 and 0.75
Invisible = alpha to 0

If there is alpha 0% in the emissive, it will act ‘’transparent’’ like and receive the global lighting on the other side of the airplane.
The depth will be done automatically depending on the alpha levels of the albd.
Make sure, the normals are horizontal otherwise you may have unexpected results

Thanks for the reply.
I am using all Asobo textures for the time being so there is no issue with the alpha values. I'm afraid I don't understand the advice about the normals.  The normals are perpendicular to their faces as always.  I don't believe it is possible for them to be in any other orientation.  The polys themselves are not perfectly vertical due to the curvature of the fuselage, which is also the case for the A320.  My windows aren't flat like the A320, but the problem is just the same if I use the mesh imported from the A320.
On the developer forum it was suggested I try Blender 3.3 and the new exporter -- I will let you know if that makes a difference.

So, I have issues with Blender 3.3.3 and the new exporter.  No mesh with a texture will export. I can't very well  Also, I understand from another thread that export times will be unacceptably long with complex models having animations created in previous versions.
I have installed the new exporter (1.3.0) in Blender 3.1.2 and the porthole issue remains. The image is only visible when viewed looking forward on one side of the aircraft and when looking aft on the other side.

Hello,
Can you send us your blend file and package to try to repro ?

Still can't get it to work.  the windows are visible if looking aft but disappear if the view is angled forward.  This can be reversed if the orientation of the window object is flipped around, but always the windows are visible only from one viewing angle.  The parallax effect does work correctly within the noted limitation.
I have attached a blend file which is my external model with everything except the windows and a couple of related objects deleted. The windows use the textures taken from the default A320 simply because I need to get the effect to work correctly before making my own textures.  The geometry/mesh of the windows is also lifted from the A320.
I have tried using Blender 3.3.10 and the latest exporter. The problem is the same.  I don't generally use those versions as they don't work with many of my model's animations which were made with Blender 3.1.2.
I'm not willing to attach the package of a 2/3 finished widebody airliner on a public forum for obvious reasons.  Is there some way I can send you the package privately?
porthole example.zip


Possible Titan Bug

If the Titan server errors out (for example, because the file size is too big, or wrong mimetype, or no certificate or token) while a relatively big file (e.g. 5MB) upload is still uploading, instead of showing the error message sent by the server, this message is shown:

There's a chance this could just be a problem with my own server, but I'm not entirely sure.

The error could be incorrectly presented to the user here. The "Incomplete Header" message is only supposed to be shown if the server responds with some nonsense or nothing at all.

Version 1.13.6
I'm uploading a file that's too big for the server, the server returns 50 File too big\r\n
Lagrange's upload byte counter keeps increasing once and then the application becomes unresponsive


sigma algebras?

depending on how you wanna use mesures on the reals, it seems to me that something like having measures provide a sorta of "valuation" function on the elements of their sigma algebras might be useful? (or at least the generators of the sigma algebras etc etc, lets ignore filtrations )
eg, for the Real line (and approximations thereof), the sigma algebra generator set would be intervals (open or closed or clopen etc), because we can define the lesbegue/riemann measure on these to be the length ?
would this allow eg, talking about dirac delta as a measure/distribution?

Hi @cartazio ,
I really like this idea. Julia has a few different interval libraries:
https://github.com/JuliaIntervals
I like the ideas I've seen from @dpsanders , for example I this this package could be really helpful for this:
https://github.com/JuliaIntervals/IntervalContractors.jl
The big questions I have currently are

Are libraries that include intervals and operations on them generally compatible? Or would tightly coupling with one part of the interval ecosystem limit users wanting to use other parts of it?
Is there a good way to generalize this beyond embedding in R^n? Or is that the best approach?

This is a great idea.
Unfortunately there is not much compatibility right now.
You may want to use your own interval type (yet another one) and then provide interfaces to the different packages if necessary.
Note that anything beyond Lebesgue measure / Dirac delta is more complicated, since in general it will need an integral over a density to be involved.

Or (better?) to express everything in terms of the [cumulative] distribution function instead.

Beyond R^n you will probably want something like https://github.com/JuliaManifolds/Manifolds.jl and work with atlases somehow?
Or what context did you have in mind?

Unfortunately there is not much compatibility right now.
You may want to use your own interval type (yet another one) and then provide interfaces to the different packages if necessary.

Maybe IntervalSets? That seems intended for a use case like this.

Or (better?) to express everything in terms of the [cumulative] distribution function instead.

For one dimension, yes. I haven't thought much about how to do this in higher dimensions. I've seen people use copulas (or is it copulae?), but I haven't worked with them much.

Beyond R^n you will probably want something like https://github.com/JuliaManifolds/Manifolds.jl and work with atlases somehow?

Maybe that's the right way, I'm not sure.

Or what context did you have in mind?

Mostly I want to have something that covers the common cases and is easily extensible beyond this. So maybe nothing too opinionated beyond the core stuff

Maybe IntervalSets? That seems intended for a use case like this.

Yes, that's probably a good option since it can handle both closed and open sets, unlike IntervalArithmetic.jl.

Or (better?) to express everything in terms of the [cumulative] distribution function instead.

For one dimension, yes. I haven't thought much about how to do this in higher dimensions. I've seen people use copulas (or is it copulae?), but I haven't worked with them much.

Not my area, but looks interesting.

Beyond R^n you will probably want something like https://github.com/JuliaManifolds/Manifolds.jl and work with atlases somehow?

Maybe that's the right way, I'm not sure.

Or what context did you have in mind?

Mostly I want to have something that covers the common cases and is easily extensible beyond this. So maybe nothing too opinionated beyond the core stuff

Maybe you literally want a SigmaAlgebra type for finite unions (so I guess just an Algebra, though now I'm really struggling to remember my measure theory course from aeons ago).

That would be amazing! I had a similar use case and ended up hacking something together using intervals from the Intervals.jl package here.  I liked that Intervals.jl has interval types parametrized by each endpoint being unbounded, open or closed.
Another package that could be relevant here is DomainSets.jl.

Allowing products of intervals should go a long way.

There are a couple of general challenges:

Adding a dependency sometimes brings lots of other dependencies of its own, which can mean slower precompilation and more fiddly version bounds.
Sometimes there are incompatibilities, so including one means excluding another.

At the same time, we obviously want lots of nice capabilities, so we need to try to find a good middle ground.
IntervalsSets has
help?> IntervalSets.Interval
  An Interval{L,R}(left, right) where L,R are :open or :closed is an
  interval set containg x such that

    1. left ≤ x ≤ right if L == R == :closed

    2. left < x ≤ right if L == :open and R == :closed

    3. left ≤ x < right if L == :closed and R == :open, or

    4. left < x < right if L == R == :open

I also added InfiniteArrays.jl, mostly (for now) to use its nice definition of ∞, so for example we can write Poisson ≪ CountingMeasure(ℤ[0:∞]) . I don't see that IntervalSets has half-lines. 0..∞ returns a value, but I haven't checked any of its properties to make sure it works as we'd expect.

Fully agree! I was previously using Intervals.jl here for exactly this reason, i.e., letting type information capture half-lines (for example Intervals.Interval{Int64, Closed, Unbounded}), but 0..∞ actually seems even better (assuming it has the right properties of course). At least the following works:
julia> halfline = 0..∞
0..∞
julia> typeof(halfline)
Interval{:closed,:closed,Union{InfiniteArrays.Infinity, Int64}}
julia> in(1, halfline)
true
julia> in(-2, halfline)
false

Following up on this as well (it's functionality I would love to have), i.e., to be able to call m(ℐ) where m::AbstractMeasure  and ℐ::Interval. At least for probability measures, it would be possible to implement this given access to cdf and the density with respect to Dirac at interval end points (depending on whether an interval is open, closed etc). On the other hand this would depend on IntervalSets which would be an additional dependency. Would there be any scope for reincluding this package in MeasureTheory.jl?
(Related discussion in https://github.com/cscherrer/MeasureTheory.jl/pull/130)

Thanks @nignatiadis . @oschulz and I were talking about this recently, and I think it's a good idea.
I think a full representation of sigma algebras will always be intractable (but I'd love to be wrong about this). But for a given measure, there's usually a coarse representation for which the measure can be evaluated easily and efficiently. For univariate continuous (Lebesgue-dominated) measures intervals are a good fit.
We could have something with finer granularity (disjoint sets of intervals, or interval trees) but that has a cost of heavier dependencies. But IntervalSets is very light, so that should be good. Happy to take a PR on this :)

But IntervalSets is very light, so that should be good.

I agree, at least for univariate measures IntervalSets would be a good solution. And maybe a vector of intervals for powers of univariate measures?

We definitely should add massof (good name, @cscherrer ?) to MeasureBase as a first step. Do we want massof(measure) to return the mass of the whole space, or should that be massof(measure, Omega) or so?
Oh, also - if we support truncation of measures (we should, where applicable), then getting the mass in a subspace could also be expressed as getting the mass of a truncated measure.

Yes, we started some discussion of that here:
https://github.com/JuliaMath/DensityInterface.jl/issues/8
I think we should prototype this for addition to MeasureBase.


luizpericolo patch update readme

make it more readable so we can have a better vision of what is going to be taught and suggest other themes

Pq desistiu do PR?

Pq as minhas soluções estavam na branch que eu ia fazer o merge request.
Limpei lá e abri outro merge request só com a sugestão de alteração do
README mesmo.
Atenciosamente,

--
Luiz Felipe da Costa Pericolo Barbosa
"Are you suggesting coconuts migrate?"
"Stay hungry. Stay foolish."
On 23 June 2016 at 23:41, Renzo Nuccitelli<EMAIL_ADDRESS>wrote:

Pq desistiu do PR?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/renzon/hotel-urbano/pull/1#issuecomment-228243578,
or mute the thread
https://github.com/notifications/unsubscribe/AAWX3geWHncoOL7XkgqChLkBP8jTKBlOks5qO0PYgaJpZM4I6HOg
.


Add constants for window flags

@IntelOrca Is this the proper way to do flags?

Likely, but I'd rather see the implementation first before resorting to guesswork


Fixes for overrideAttrs (split from #201734)

Description of changes
Fixes from #201734 that don't come with a significant performance impact.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

The report looks great! The relevant numbers are all <1%. (And ignore cpuTime as always, although I wish -10% was true)
If you could add some tests in pkgs.tests, this lgtm.


contributing: extensions: Revamp extension docs

@niclimcy can you revert your commit regarding the deeplinkParser component? I already reworked it and just need to make a PR for it myself.


Server with two network cards with xockets

Looking at the code, if I understand correctly I can feasibly have a server with two network cards and have websockets listen on one card with one IP on port 443 and the domino server itself listen on the other card on a different ip on port 443, correct? I would just need to set the allowed origins to be from the network card with the IP listening for wss requests? This would alleviate the need for two ports but necessitate the need for two IP but those might be easier to come by vs poking open a different port in my case

You might not even need two real ips, if the two network cards could speak
to each other internally. The servers on the high side come with 4-8
network cards.
The problem on the high side would be coming up with new real ips,
apparently
On October 26, 2016 at 10:06:31 PM, Miguel<EMAIL_ADDRESS>wrote:
Looking at the code, if I understand correctly I can feasibly have a server
with two network cards and have websockets listen on one card with one IP
on port 443 and the domino server itself listen on the other card on a
different ip, correct? I would just need to set the allowed origins to be
from the network card with the IP listening for wss requests? This would
alleviate the need for two ports but necessitate the need for two IP but
those might be easier to come by vs poking open a different port in my case
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mwambler/xockets.io/issues/28, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACdrR71pMPYfOv0QbWIVfGAs8C84S016ks5q4CNHgaJpZM4Kh7HI
.

Might need to start a new thread for this but instead of all mentioned above, when we use the SSLContextBuilder we set ClientAuth to true. Then we can set the TrustMangerFactory to use our Keystore that we create in the websocket set up process


Inverter power change for Powerstream does not propagate to device

First off: thanks for your work on this project! It has helped me a lot in automating charging/discharging but also monitoring of my Ecoflow Powerstream 800/Delta 2 Max EB combo!
Describe the bug
It looks like I'm not able to change the inverter power from Home Assistant. However changes from the EcoFlow app do seem to propagate back to Home Assistant.
To Reproduce
Steps to reproduce the behavior:

Enable debug logging in iobroker for home assistant input and output
Modify inverter wattage from Home Assistant from 140 to 100
Check battery screen, HA battery output to see if the wattage decreases from a bit over 140 to a bit over 100
See that the wattage stays at a bit over 140

Expected behavior
The value of 100 is propagated to the device and after a couple of seconds the battery shows that it is discharging at approx 100 watts
Screenshots & Logfiles
HA msg: iob_ef/HW51ZEH4SF5R5062/set/inverter_heartbeat/permanentWatts 100 {"type":"Buffer","data":[49,48,48]}

ecoflow-mqtt.0
2024-08-27 20:31:31.409	debug	[HA] pstream800: processing HW51ZEH4SF5R5062 inverter_heartbeat permanentWatts value : 100

ecoflow-mqtt.0
2024-08-27 20:31:31.410	debug	[HA] sending cmd value 100 to HW51ZEH4SF5R5062.inverter_heartbeat.permanentWatts

Versions:

Adapter version: 1.0.0
JS-Controller version: 7.0.23
Node version: 20.17.0
Operating system: Raspbian 64-bit

Additional context
I have the feeling that this worked on 0.3.0 and stopped working after upgrading to 1.0.0.

Thank you for the report.
With version 1.0.0 I have used some different state roles with additional context like level.power, that caused not recognizing the change.
With version 1.0.1 from git or npm it should work again.
Please try 1.0.1 and report.

Amazing, thanks for the quick fix! I can confirm that setting the inverter wattage now works as it used to 🙌


Update hello.c

Removed extra space from end of first printed line
What does the program do ?

In what programming language it is written?

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


How can you add grade reference points (e.g. "# 7") to the DXF?

We want to grade DXFs programmatically, but the DXF files don't have grade reference points to start (we have to choose them). Is there a way we can add those to the DXF object and save it back to file with a subset of points denoted as grade reference points?
Thanks!

I'm not sure what you mean by grading a reference point as number 7, etc.  Can you provide sample files, ideally a before and after of the same file with graded reference points so I can better understand?  If you can't share the files publicly here, you can email them directly to me at<EMAIL_ADDRESS>and I'll keep them private and delete them as soon as I'm done.

Thanks @brettfo for resolving my issue over email! I wanted to follow up for anyone else having the same issue:
var myFile = DxfFile.Load(“Example2b.dxf”);

foreach (var myBlock in myFile.Blocks)

{

    for (int i = 0; i < myBlock.Entities.Count; i++)

    {

        var myEntity = myBlock.Entities[i];

        if (myEntity is DxfModelPoint myPoint)

        {

            var pointReferenceText = GetPointReference(myPoint);

            if (pointReferenceText != null)

            {

                // create the TEXT item at the same location as the point with the correct text…

                var referenceText = new DxfText(myPoint.Location, pointReferenceText);

                // …and insert it right after in the list

                myBlock.Entities.Insert(i + 1, referenceText);

            }

        }

    }

}

myFile.Save(“Example2b_graded.dxf”);


Optional fields on dataclasses

Bug

OS: OS X
Python version: 3.7.1
Pydantic version: 0.32

I can't initialize a Pydantic's dataclass missing optional fields, even though that's possible with Pydantic's BaseModel.
import pydantic

class User(pydantic.BaseModel):
  id: int
  name: Optional[str]

User(id=1)

@pydantic.dataclass
class User:
  id: int
  name: Optional[str]

User(id=1)

The dataclass one gives me the error message:
TypeError: __init__() missing 1 required positional argument: 'name'

That's a limitation of dataclasses, this piece of logic is handled completely by python's standard dataclass implementation.
I can see both arguments but I think this is probably correct.

I see, then I am going back to BaseModel, because that's a feature I can't opt-out.
Thanks for the prompt response

I believe you can solve it by putting name: Optional[str] = None in the class definition if you want to stick with dataclasses. Not sure if that’s a problem for you though.


Use EnterTransaction() before EnterLock(name) exceptions with v5.0.19

I am using LiteDb as a singleton without any explicit transactions. It is merely a cache for me, not much actual concurrency is there. All tasks use their respective collections, with no concurrency at all on the collection level.
I am getting such an exception:

LiteDB.LiteException: Use EnterTransaction() before EnterLock(name)
at LiteDB.Engine.EngineState.Validate()

Then all consequent calls fail with the same or with:

Object name: 'System.Threading.ReaderWriterLockSlim'.
at System.Threading.ReaderWriterLockSlim.TryEnterReadLockCore(TimeoutTracker timeout)
at System.Threading.ReaderWriterLockSlim.TryEnterReadLock(TimeSpan timeout)
at LiteDB.Engine.LockService.EnterTransaction()

Switching from 5.0.19 back to 5.0.17 instantly solved the issue.

I also use a singleton instance and consume it in a transient service that gets invoked by a scheduler, very simple code I've used in other projects for years and seemingly at random the same issue popped up. I'll try letting my service run with an older version now like you suggested and see if it goes away, thank you!

Hm, odd, after the downgrade and letting it run for an hour I now consistently run into a different error with v5.0.17:
[15:45:05 ERR] Unhandled exception in processing job
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Threading.ReaderWriterLockSlim'.
   at System.Threading.ReaderWriterLockSlim.TryEnterReadLockCore(TimeoutTracker timeout)
   at System.Threading.ReaderWriterLockSlim.TryEnterReadLock(TimeSpan timeout)
   at LiteDB.Engine.LockService.EnterTransaction()
   at LiteDB.Engine.TransactionMonitor.GetTransaction(Boolean create, Boolean queryOnly, Boolean& isNew)
   at LiteDB.Engine.LiteEngine.Query(String collection, Query query)
   at LiteDB.LiteQueryable`1.ToDocuments()+MoveNext()
   at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Boolean& found)
   at Service.Commands.SearchResultCommandHandler.Handle(SearchResultCommand request, CancellationToken cancellationToken)

Faulty code:
internal class SearchResultCommandHandler : IRequestHandler<SearchResultCommand>
{
    private readonly LiteDatabase _db;
    private readonly ILogger<SearchResultCommandHandler> _logger;
    private readonly IMediator _mediator;

    public SearchResultCommandHandler(ILogger<SearchResultCommandHandler> logger, IMediator mediator, LiteDatabase db)
    {
        _logger = logger;
        _mediator = mediator;
        _db = db;
    }

    public Task Handle(SearchResultCommand request, CancellationToken cancellationToken)
    {
        try
        {
            ILiteCollection<StateEntity>? collection = _db.GetCollection<StateEntity>("Searches");

            StateEntity entity = collection.FindOne(entry => entry.SearchTerm == request.SearchTerm) ??
                                 new StateEntity { SearchTerm = request.SearchTerm };
			...
		}
	}
}

I don't really see any API misuse here 🤔

I an confirm this same

the following code worked many months perfect on version 5.0.17, but after upgrade to 5.0.19 it started to fail.
public List<Order> LoadOrdersByStatus(OrderStatus status)
{
	var col = Db.GetCollection<Order>();
	col.EnsureIndex(x => x.OrderStatusId);
	var statusId = (int)status;
	return col.Find(r => r.OrderStatusId == statusId).ToList();
}

LiteDB.LiteException: Use EnterTransaction() before EnterLock(name)
at LiteDB.Engine.LiteEngine.AutoTransaction[T](Func2 fn)    at LiteDB.Engine.LiteEngine.EnsureIndex(String collection, String name, BsonExpression expression, Boolean unique)    at LiteDB.LiteCollection1.EnsureIndex(String name, BsonExpression expression, Boolean unique)
at Salamander.Data.Logics.OrderStorage.LoadOrdersByStatus(OrderStatus status)
at Salamander.Data.Logics.OrderStorage.LoadUserCartOrder(Nullable1 userId)    at Salamander.Data.Logics.OrderStorage.<>c__DisplayClass13_0.<GetUserCartOrderId>b__0(ICacheEntry entry)    at Microsoft.Extensions.Caching.Memory.CacheExtensions.GetOrCreate[TItem](IMemoryCache cache, Object key, Func2 factory)
at Salamander.WebHost.Pages.Shared.Pages_Shared__LayoutHeaderPartial.ExecuteAsync()
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
at Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper.RenderPartialViewAsync(TextWriter writer, Object model, IView view)
at Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper.ProcessAsync(TagHelperContext context, TagHelperOutput output)
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, Int32 i, Int32 count)
at Salamander.WebHost.Pages.Shared.Pages_Shared__Layout.b__58_2()
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync()
at Salamander.WebHost.Pages.Shared.Pages_Shared__Layout.ExecuteAsync()
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderLayoutAsync(ViewContext context, ViewBufferTextWriter bodyWriter)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable1 statusCode)    at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable1 statusCode)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.HandleException(HttpContext context, ExceptionDispatchInfo edi)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

Thanks folks, I was starting to think I was imagining things, something sure broke over the past 2 releases 😅

I have the same error, but the location of the error is slightly different.
Occurs in 5.0.19, does not occur in 5.0,16.
DB Update Error : LiteDB.LiteException: Use EnterTransaction() before EnterLock(name)
   at LiteDB.Engine.LockService.EnterLock(String collectionName)
   at LiteDB.Engine.Snapshot..ctor(LockMode mode, String collectionName, HeaderPage header, UInt32 transactionID, TransactionPages transPages, LockService locker, WalIndexService walIndex, DiskReader reader, DiskService disk, Boolean addIfNotExists)
   at LiteDB.Engine.TransactionService.CreateSnapshot(LockMode mode, String collection, Boolean addIfNotExists)
   at LiteDB.Engine.LiteEngine.<>c__DisplayClass27_0.<Update>b__0(TransactionService transaction)
   at LiteDB.Engine.LiteEngine.AutoTransaction[T](Func`2 fn)
   at LiteDB.LiteCollection`1.Update(T entity)

Could this be recognized and triaged as a bug please, or some explanation provided what we might do wrong otherwise? Cheers.

I can confirm this behavior, rolled back to 5.0.17

Thank you for reporting this issue.
This issue has been resolved in the latest version of LiteDB.
Please update to the latest version of LiteDB to resolve this issue.
If the issue persists, please let us know.

This issue has been resolved in the latest version of LiteDB.

Thank you! Could you provide a commit or PR with the cause/fix or briefly explain what the issues was? Thx!

This issue has been resolved in the latest version of LiteDB.

Thank you! Could you provide a commit or PR with the cause/fix or briefly explain what the issues was? Thx!
@nefarius
https://github.com/mbdavid/LiteDB/pull/2488


fix(variables): fix undefined

fix #490

Deploy preview for js-primer ready!
Built with commit eca592a55f810a400b65cb962c4aa55028bb85b3
https://deploy-preview-513--js-primer.netlify.com


fix:aliyun jsonRequest 增加i/o timeout retry

这个 PR 实现什么功能/修复什么问题:
aliyun jsonRequest 增加i/o timeout retry

是否需要 backport 到之前的 release 分支:

release/3.4

/area region
/cc @ioito @zexi

Codecov Report

Merging #8275 into master will increase coverage by 3.16%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #8275      +/-   ##
=========================================
+ Coverage    6.11%   9.28%   +3.16%
=========================================
  Files         762     221     -541
  Lines      118035   28933   -89102
=========================================
- Hits         7213    2685    -4528
+ Misses     110168   25994   -84174
+ Partials      654     254     -400

Flag
Coverage Δ

#aFlag
9.28% <ø> (+3.16%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/mcclient/options/k8s/fed_clusterrole.go

pkg/mcclient/options/secgroup.go

pkg/multicloud/aws/keypair.go

pkg/compute/guestdrivers/esxi.go

pkg/util/httputils/fs.go

pkg/util/sysutils/hostname.go

pkg/compute/models/scaling_group_resource.go

pkg/compute/models/cloudsyncelb.go

pkg/mcclient/options/k8s/pvc.go

pkg/multicloud/ucloud/ufile.go

... and 531 more

Continue to review full report at Codecov.

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

/lgtm

/lgtm
/approve


Feature: Ability to view architecture diagram for my ecosystem

🔖 Feature description
For architecture diagram for my ecosystem, currently we use some tools, where we provide the dependencies/hierarchy of the services and metadata for that service. Since we configure these services on devtron for cicd, so if we can generate the arch diagram from devtron itself (on project level or any other level), that can be helpful.
🎤 Pitch
To get rid of the extra tool for architecture diagram
✌ Solution
While configuring the application, there should be a way to configure caller/calling apps and meta-data of this app (In meta-data we can write the steps to start the app for devs or any other information for that application which can be given to any developer directly or any person)
🔄 Alternative
NA
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#293

@manish-agrawal-ai Could you please share some examples/links of tools you currently use to generate architecture diagrams.

@manish-agrawal-ai Could you please share some examples/links of tools you currently use to generate architecture diagrams.

Hello @uxarya-d -
You can find the tools here :
https://www.redhat.com/architect/diagramming-tools-cloud-infrastructure
https://geekflare.com/create-application-architecture-diagram/


An idea for a model of error-carried-forward

Here's an idea for how we could implement error-carried-forward marking (or "method marking") that's been bubbling in my head:
Add a tab to the part editing screen which lets you give a list of variables used in the computation of the correct answer, and replace each of them with the student's answer to another part of the question.
When the student submits the part, the following will happen:

Their answer will be marked against the correct answer, scoring credit_original amount of credit.
Make a new JME scope to evaluate the error-carried-forward version of the "correct" answer.
For each variable in the list of variables to be replaced, look up the corresponding part and see if the student has answered that question (and got less than full marks?). If yes, replace the variable in the new scope with the student's answer to that part.
Work out the alternate "correct" answer using this new scope, and mark it against the student's answer, to get credit_error_carried_forward amount of credit.
Optionally apply a percentage penalty to credit_error_carried_forward.
If credit_original > credit_error_carried_forward, use that and give the same feedback you'd currently get.
On the other hand, if credit_error_carried_forward > credit_original, add a line to the feedback saying "This part has been marked using your answers to parts X,Y and Z [, and a penalty of P% has been applied]." so that the student knows they're getting error carried forward. (Should this message be customisable?)

Example
Suppose you're asking the student to do a linear regression on some data to get y=mx+c. Part a asks for the intersect (c) and part b asks for the slope (m). Part c asks for the model's value for y at x = 5.
The correct answers for the parts are as follows:

a - c = 1 (1 mark)
b - m = 2 (1 mark)
c - m*5+c = 11 (1 mark)

Case 1 - student gets everything right

Enters 1 for part a, gets 1 mark
Enters 2 for part b, gets 1 mark
Enters 11 for part c. This is marked as correct against the original correct answer. Parts a and b both have 100%, so don't bother with trying error-carried-forward. Student gets 1 mark.

Total score: 3 marks.
Case 2 - student makes a mistake in part b

Enters 1 for part a, gets 1 mark
Enters 3 for part b, gets 0 marks
Enters 16 for part c. This is marked as incorrect against the original correct answer. Now look for errors to carry forward. Part a has 100%, so don't bother with it. Part b has 0%, so substitute 3 for the variable m.
Now, recalculate a correct answer for c - m*5+c = 3*5+1 = 16. The student's answer is marked as correct against this, so they're shown the message "This part has been marked using your answer to part b" in the feedback box. They get 1 mark.

Total score: 2 marks.
Case 3 - student makes a mistake applying their incorrect value
Same as above for parts a and b, but the student swaps m and c and calculates 5*1+3 = 8 as their answer for part c. Neither the original answer nor the error-carried-forward answer match this, so they get 0 marks for c
Total score: 1 mark.
Case 4 - student is inconsistent

Enters 2 for a, gets 0 marks
Enters 3 for b, gets 0 marks.
When working out their answer for part c, somehow uses the correct value for m, but their incorrect value for c, and enters 2*5+2 = 12 as their answer. This matches neither the correct answer nor the error-carried-forward answer, so the student gets 0 marks.

Total score: 0 marks
Things to think about
In case 4, a really charitable marker with access to all the student's working-out might give a mark for the single error carried forward. We've got to hope that students will be consistent.
If the correct answer is 1/x, and the student's value of x is 0, we need to catch the error and conclude that error-carried-forward isn't possible.
If the student answers part c first, using wrong values for m and c, then submits those values to parts a and b, should part c be resubmitted automatically? Should the student be invited to resubmit it? On clicking the submit part button for a, should a popup tell them something like "Your answer to this part was used when marking part c. It will be remarked when you submit this part"?
If the student gets points with error carried forward for part c, then goes back and resubmits the correct values for a, should c be resubmitted automatically? Otherwise, the feedback for part c will be inconsistent with what's shown on the rest of the page.
If we're going for warnings instead of automatic resubmission, what do we do when feedback is turned off?
Suppose the correct answer to the part is defined with just a reference to a single variable ans, which is defined to be 5*m+c in the variables screen. That implies we need to recalculate variable definitions in order to finally get to an updated value for ans. This could be quite powerful - replace some initial data, and go through a lot of calculations involving several variables to work out the correct answers to several subsequent parts. On the other hand, if one of the variable definitions along the way involves a random value, we're stuck! Maybe we should only allow direct substitutions and not recompute the dependencies.
Can you carry errors forward in JME parts? For example, suppose you want the student to differentiate a function y(x), and you want the student to use a substitution u(x). Get them to enter du/dx, and then use that in the answer for y'(x). You'd need to be able to substitute a subexpression into the expression for y'(x).

Just realised this can be used to allow "give an example of X" questions, where the student could give one of many correct answers to an initial part (or it could just be something like "think of a number", where anything is acceptable), and then you ask them to do something with that in the following parts.
A really cool example would be to let the student enter experimental data, then ask them to compute statistics about it.

Edgar Seemann talked at CAA 2015 about his system for allowing error-carried-forward (he models marking algorithms for parts as unit tests, using the student's answers as inputs - basically, verifying the student's answers are consistent).
Something that came up was that the student could enter really stupid answers to an early part, so that they can very easily write down a "correct" answer to a later part, which would have been hard to compute with the correct answer.
For example: the question asks (a) to compute the stationary point of f(x,y) = a*x^2 + b*xy + c*y^2 + d*x + e*y, and then (b) to evaluate the function at that point. If the question allows error-carried-forward when marking (b), and the student can't answer (a), they can just enter (0,0) as the stationary point and they know immediately that f(x,y) = 0, earning them an easy point.
Is it incorrect to use error-carried-forward in this case, or should the author be able to reject trivial answers like this, and allow error-carried-forward for "legitimate" errors?

The algorithm described at the top first tries to mark using the correct answer, then tries to carry errors forward. Should there be an option to demand that the student is consistent with their own errors, i.e. only do the error-carried-forward marking?

I've been working away at this, on the error-carried-forward branch.
Here's how it goes now when the student submits an answer:

There are two variable replacement strategies: "Try the original marking first", and "always replace variables".
If the strategy says to, the answer will be marked against the default correct answer, scoring credit_original amount of credit.
Make a new JME scope to evaluate the error-carried-forward version of the "correct" answer.
For each variable in the list of variables to be replaced, look up the corresponding part and see if the student has answered that question. If yes, replace the variable in the new scope with the student's answer to that part. (There's an option to insist that the referenced part is answered first, in which case an error message is shown when you try to submit)
Recalculate the rest of the variables in the question which depend on the replaced variables. The question author has to be careful not to introduce any randomness in the definitions of these dependent variables.
Work out the alternate "correct" answer using this new scope, and mark it against the student's answer, to get credit_error_carried_forward amount of credit.
If credit_original > credit_error_carried_forward, use that and give the same feedback you'd currently get.
On the other hand, if credit_error_carried_forward > credit_original, add a line to the feedback saying "This part has been marked using your answers to previous parts." so that the student knows they're getting error carried forward. (This message is not customisable at the moment)

If part A is used in the marking of part B, and the student changes their answer to part A, they should resubmit part B. They're shown a warning next to the input for part B and it's marked as dirty so they can't leave the question until they resubmit. I decided automatically resubmitting led to too many possibilities for crazy bubbling behaviour or infinite loops.

Now implemented!


Scroll Jacking in Safari

Website is Scroll Jacking in Safari 11.1.1
I had posted same issue in another project
Maybe you find solution there 👉 https://github.com/callstack/react-native-paper/issues/330

I'm not sure what this is about. We don't have a website here, but a tool that runs headless Chromium. If you are referring to the docs site, pptr.dev, please file an issue here: https://github.com/GoogleChromeLabs/pptr.dev/issues

Yeah its https://pptr.dev


Fix memory leak on RDF::Util::Cache

Hello @gkellogg,
This PR fixes the cache that contains a memory leak on MRI because of the way it defines its finalizers. Before this fix any entry stored in the cache was stored ad eternam by defining a hard reference. So when the GC was run the cache was untouched.
The old code:
def []=(key, value)
  if capacity?
    id = value.__id__
    @cache[key] = id
    @index[id] = key
    ObjectSpace.define_finalizer(value, proc {|id| @cache.delete(@index.delete(id))})
  end
  value
end

The issue here is that proc is a closure that holds a reference to self with its local bindings (that contains value).
The new code:
def []=(key, value)
  if capacity?
    id = value.__id__
    @cache[key] = id
    @index[id] = key
    ObjectSpace.define_finalizer(value, finalizer_proc)
  end
  value
end

def finalizer_proc
  proc { |id| @cache.delete(@index.delete(id)) }
end

I took the opportunity to add some tests on the class RDF::Util::Cache

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Coverage: 91.682% (+0.02%) from 91.659% when pulling 75746e6104baea1297a19ae4a6617d2ba471923b on PerfectMemory:fix/util-cache into ac80b2f2b82e3030fbedafc37125b588266eecd7 on ruby-rdf:develop.

Awesome! Thanks.

Thank you for the quick merge @gkellogg, as always!


what is this？？？

SerialPort Version: All versions

NodeJS Version:6.11.0

Operating System and Hardware Platform: windows 64

Have you checked the right version of the api docs?:yes

Are you having trouble installing and you checked the Installation Special Cases docs?

Are you using Electron and have you checked the Electron Docs?:

Summary of Problem
I tried all the versions, but there was a mistake in this file. What should I do? Many of my colleagues in the windows system in the packaging process will be the problem
Steps and Code to Reproduce the Issue

在electron环境下要重新编译
看electron的文档
rebuild

so? do you meet the same wrong with me? I tried the rest of the five to have this error ， 5 windows system

@reconbot  yes we try serialport 6 for many times，only one success


[mgmt] playwrighttesting ga

https://github.com/Azure/sdk-release-request/issues/5766

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/arm-playwrighttesting


Move kotlin-dsl* projects to platforms/core-configuration

This PR moves all kotlin-dsl* subprojects into the core-configuration platform directory.
Almost all changes are file moves.
Others are simply supporting the new paths.
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.


Adds play_until functionality.

Should review from a0a70e454df2ff16ad08338f74fd4bfb8bc2f105 onwards.
This PR goes on top of #3
It adds play_until functionality and provides unit tests for it.
A future PR will work on the CLI and python bindings.

I merge galactic-backport into this branch in commit dd5c054 .

@gbiggs this is ready for review.

Closed by #5