Force QS evaluation during copy

Fixes #327
This was an interesting bug to debug; when attaching a debugger and stepping through the code, the bug automagically dissappeared. Took me a while to figure it out; somewhere between Django 2.2 and 3.2 they changed the behaviour of QuerySet's lazy evaluation, in that it will insert the related PK at the last moment instead of upon definition.
Thus, during copy it was actually querying the state of the copy proposal instead of the original, resulting in related objects not being copied. The debugger fixed this, as the debugger was forcing the evaluation of the QS directly after definition (to show in the variable list). As a result, it was actually a list of the original proposal's related objects when running with the debugger.
This PR tries to do the same by wrapping all QS in a list(), ensuring the QS is evaluated immediatly.
And no, this change in behaviour wasn't documented anywhere :-/

Oof, this process sounds rough. Well found!


./build_all.sh `GLIBCXX_3.4.21' not found

$ ./build_all.sh
bazel: /home/wew57/anaconda3/lib/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by bazel) bazel: /home/wew57/anaconda3/lib/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by bazel)
bazel: /home/wew57/anaconda3/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by bazel)

comment
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${HOME}/anaconda3/lib"

in ~/.bashrc works for me.


[DTMF Dialler] dialpad textfield edit

What

Remove code that forces user's keyboard to end of phone number
Why

allows contoso to edit the phone number with the devices keyboard

https://skype.visualstudio.com/SPOOL/_workitems/edit/3553803
How Tested

Locally in sample and storybook

Adding @carocao-msft that introduced this to see if there's a reason to keep it


377-be-improve-the-relations-and-structure-of-seedts

Closing this PR to add viewedResources, vote, and favorites with their respective relationships.


Pan gesture recognizer should probably yield to the scale gesture recognizer

In his reply to my question regarding zooming a picture inside a TabBarView @collinjackson suggested that: "[...] Flutter's pan gesture recognizer should probably yield to the scale gesture recognizer if it detects that a second pointer is down and a scale gesture recognizer is active."
This makes sense to me, as touching the screen with two fingers probably never is intended to pan/swipe/scroll and always to pinch/zoom.

cc @abarth who looked at something related recently

I just hit this problem.
I'm implementing a pan / scale UX that sits within part of a tab view. The problem I'm seeing is that a horizontal-ish 2-touch scale gesture ends up with the tab view shifting.
I can disable this by also capturing onHorizontalDragStart in the GestureDetector, but that makes the UX feel of panning weird. What I really want to do is to have Scaling work as described above:
"Flutter's pan gesture recognizer should probably yield to the scale gesture recognizer if it detects that a second pointer is down and a scale gesture recognizer is active"
It seems to be a bug that panning doesn't yield to scaling as described. @Hixie's comment suggests that it does already, but I don't see it working that way in today's code.

I worked around this by turning off the drag gesture for the TabBarView, by setting its physics to NeverScrollableScrollPhysics()

I ran into this too.  I have an image "carousel" implement with a pageview that scrolls left and right with a single finger to change the pages.  However, I also want the user to be able to pan/zoom the image if they have 2 fingers down.  As it as with these gestures, the pan gesture "beats" the scale gesture, even if two fingers are down.  I feel that scale should win in the case of 2 fingers down.

I ran into a slightly different but related (I think) issue. I'm trying to update my AppBar's actions depending on the selected tab. I can use a TabController to handle changes via tapping on tabs, however there seems to be no way to be notified when the default swipe gesture is complete. My only choice is to use NeverScrollableScrollPhysics() to prevent the user from using the swipe gesture.
It seems strange that there is no way to handle tab change events via swiping.

I can also reproduce this issue with a GestureDetector with onscaleupdate/onscalestart... and a listview below. I use the parent detector to zoom the listview. But zooming is heratic.


Fix potential error in sample code of Getting Started

Hello,
I’m discovering PromiseKit (it’s been on my todolist for a long time). So I’m reading the « Getting started », and I think there is a typo in the code to create our own Promise. Indeed, in the case of an error, the sample code call fulfill(error). But I think it should be reject(error).
It may be the result of a misunderstanding from me. If it is: I’m sorry !
Thanks for your good work !

Good spot! Thanks.


Adding pdf and creating Relationships

Laravel Version: 5.4
Voyager Version: lastest
PHP Version: 5.6
Database Driver & Version: phpmyadmin

Description:
I just started using Voyager , and i got two main issues :
1- once i wanna create a relationship , it says that it s created , then when i go trying an add statement , it doesn t work
2- I don t know how to upload files (pdf .... )

Can you provide some more information?

@rahat1994 , i created a relationship between two tables (belongsTo) but the content doesn t load .
The second point is about storing and viewing pdfs , i didn t know how to add them , neither viewing them .
If u can help me i d be grateful

On storing pdfs, you should do a standard file upload for the bread. As for being able to view them. You can just provide a link. Most modern browsers will open them in their native pdf viewers.
The relationships voyager makes only work within the context of voyager. You would have to code the relationship in your modals.

That is correct @reageek.  Voyager does not use or know about relationships defined in models.  We're working on a solution to that, but it's a tricky issue.

@reageek  Thank You , would you please leave me a link showing how to do an upload in the bread ? because am actually a begineer in it . Thanks Man

Would highly recommend watching this video.
Its not overly complex. You create your field as a string in your migration, in voyager you set that field to be file. Then you add a new item and upload the file.

@reageek  thank you ,  i just it saw it yesterday , but the things done there didn t help storing a pdf or veiwing it , when i make the add ,  they say it s added and when i look for it in storage or in public directories , it s not there .

the file you upload gets put in {projectName}/storage/app/public/{DataTypeName}/{date('MY'))/
And the path to said file gets stored in the database rather than the actual physical file.

Sure it s stored in the data base but once i try to download it i get this :
 ,
and right after clicking on  download i get this error ;
Sorry, the page you are looking for could not be found.
(1/1) NotFoundHttpException

Well what's the href of the download link...?

i honestly don t know  , that s what am looking for , how can i make a link for it and how can i view my pdf


Getting "We're sorry, but something went wrong."

I'm on Ubuntu 16.04 on digitalocean 512mb ram vps (which is only supposed to run huginn). I followed https://github.com/huginn/huginn/blob/master/doc/manual/installation.md and did everything. And now after going to my server's ip I'm getting

We're sorry, but something went wrong.

We need more information to go on.  What does Rails return?  What does the process worker return?  anything in the log files?  What about the Nginx logs?  That's not enough to troubleshoot from.

The status check shows its running and here are the logs https://gist.github.com/Sowad/02a6dd5348aec83f27239a2f69c53d3d

You seem to have multiple problems, which all might be cause by the server running out of memory:
E, [2017-10-23T15:34:14.315349 #32466] ERROR -- : Cannot allocate memory - fork(2) (Errno::ENOMEM)

Did you configure a swap partition on your server? You need at least 512MB, 1GB might be better https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04
After you configured the swap try restarting the server, if you still get errors afterwards please post the logs again (we only need the last few dozen-hundred lines).

Still same thing
Here are the logs (smaller)
https://gist.github.com/Sowad/aea50689cfd27456f27e79c21bb8c386

It looks like the assets are not precompiled:
ActionView::Template::Error (The asset "odin.jpg" is not present in the asset pipeline.):

It is possible the command failed because the server ran out of memory when you executed it the first time. Try first stopping everything with sudo bundle exec rake production:stop and then run the precompilation again. Afterwards you need to start the services with sudo bundle exec rake production:start

Thanks worked!


Widget not showing on Firefox Developer Edition

based on the picture above, the widget can be displayed normal in google chrome and safari, but it cannot be normally displayed in firefox developer edition right now. and it shows

Hey @ManuRodgers, I could not reproduce this error. Are you using a custom config? Any context info could be helpful.

I cannot reproduce that error at this moment in Firefox developer edition browser too.   <Turnstile           onError={() => {             console.log("has Turnstile error");           }}           siteKey="3x00000000000000000000FF"           onSuccess={setTurnstileToken}           options={{             theme: "light",           }}         />
the above code is context info you need

I'll close this issue as seems is working properly in Firefox Developer Edition.


PAPI Support doesn't contain NEXT or PREVIOUS elements.

Attempting to use something like "%luckperms_prefix_element_next_group_on_track_ranks%"
This doesn't work as there is no element of "Next_group_on_track".
Same issue applies to "Previous_group_on_track".
Will this be implemented in the future / Is this intentional?
Thanks -
Jakob!

There already is %luckperms_next_group_on_track%
https://luckperms.net/wiki/Placeholders

Also this https://github.com/LuckPerms/placeholders/issues will be a better place to for placeholder salted things

If you read, that's not what I asked. Simply using next group on track returns the NAME of a group, I need a PREFIX. Working with the element part of the placeholder API support, it is indeed missing.

"Next group on track" doesn't really fit into the prefix stacking system, unfortunately: https://github.com/lucko/LuckPermsWeb/commit/5602b13cda59b1c4b3b799ea495e3df32f403567
Perhaps you could use a custom placeholder to achieve this. I don't think it's something that is in-scope for LP to support itself.


scheduled cleaning in javatraces , and add null pointer checking

Description

Now javatrace will regularly clean up the space, and users can configure expiration time and cleanup interval through the configuration file.
Fixed a bug in javatrace that could cause a null pointer and crash.
Related Issue

When detecting middleware similar to ShardingSphere, javatrace will experience null pointer crashes in cpuanalyzer.
Due to the lack of scheduled cleaning in javatrace, it may cause memory leaks.
Motivation and Context

Added null pointer checking in analyzerJavaTraceTime.
Scheduled cleaning has been configured in javatrace, and related parameters can be configured in kindling-collector-config.yml.

Please use gofmt to format your changes.


upstream: locality weighted load balancing.

Underlying issue: https://github.com/envoyproxy/envoy/issues/2725
Risk Level: Low (only enabled when explicitly configured).
Testing: Unit tests for EDS, LoadBalancerImpl and UpstreamImpl. The load stats integration test
provides end-to-end validation.
Docs Changes: https://github.com/envoyproxy/data-plane-api/pull/565
Release Notes: https://github.com/envoyproxy/data-plane-api/pull/579
Signed-off-by: Harvey Tuch<EMAIL_ADDRESS>

@alyssawilk @zuercher This is ready for review, I'm particularly interested in @zuercher's thoughts on how this plays with subset LB (I haven't given that a lot of thought, that's the only missing bit AFAICT). For context, this rounds out locality balancing for the non-affinity case. I'll be following up next week with support for affinity balancers.

I'll try to take a look at this tonight or tomorrow, but I'll be out of the office all next week.

@zuercher I've left a TODO for subset LB, as I think the situation is a bit more complicated than just plumbing through the original locality weights. Here's the copy+paste of the comment:
  // We pass in an empty list of locality weights here. This effectively disables locality balancing
  // for subset LB.
  // TODO(htuch): We should consider adding locality awareness here, but we need to do some design
  // work first, and this might not even be a desirable thing to do. Consider for example a
  // situation in which you have 50/50 split across two localities X/Y which have 100 hosts each
  // without subsetting. If the subset LB results in X having only 1 host selected but Y having 100,
  // then a lot more load is being dumped on the single host in X than originally anticipated in the
  // load balancing assignment delivered via EDS. It might seem you want to further weight by subset
  // size in order for this to make sense. However, while the original X/Y weightings can be
  // respected this way, those weightings were made by a management server that was not taking into
  // consideration subsets (e.g. LRS only reports at locality level).

builds look unhappy.  Still worth me taking another look?

@alyssawilk yeah, please take a look, I'm sure it's something minor, will dig into this.


Added new jsx-self-close rule

Fixes #6

@davidlipo looks good overall; just needs some minor revision


Add rec_fm_mic2wav tests.

Abstract
Check exists wave file after executed rec_fm_mic2wav.py.
And check recoding time is more than  "RECORD_SECONDS".

Already merged.
https://github.com/yukinagata3184/rec_fm_mic2wav/pull/9


First click selects video AND plays

I didn't like having to click twice to start a video, especially since the first click doesn't appear to do anything.

This also changes the result of double clicking an un-selected video. Before, the video would start playing; now it remains paused.
This seems like a good thing to me; toggling fullscreen shouldn't affect the play/pause state.

I'd rather hold off on this one until I implement an options window, which is on my short-term to-do list. While I see your point, it also makes selecting a video without play/pausing it difficult at best (the control bar does not generate click events).

I understand. I was hesitant about suggesting such a major change. I'm content to use my own fork for now.

Pushing this to the Chrome store now.

It's not the default setting, but I think you'll be happy.

I am, thanks. I also like the click-to-play delay, which I was planning to add once the options page was set up.


draft front matter is being ignored?

Hi,
I've noticed in the nuxt content docs it's possible to specify that a page shouldn't be generated if it's marked as draft
https://content.nuxtjs.org/guide/writing/markdown/#front-matter
However if I try and add something like this to the top of the page
---
title: 'Title of the page'
draft: true
---

It still ends up being generated regardless via pnpm generate
Example here
https://github.com/Hecatron-Cad/LinuxCNC.Notes/tree/master/docs
https://github.com/Hecatron-Cad/LinuxCNC.Notes/blob/master/docs/content/1.os/2.armbian/1.notes.md
https://hecatron-cad.github.io/LinuxCNC.Notes/os/armbian/notes
I wonder if I'm missing something in the nuxt.config.ts or if it's something to do with the way I have the paths set

@farnabaz is this expected?
I'm unsure about that feature status in Content.


Execute's environment doesn't override test's

Documentation says that environemnt attribute:
Specifies environment variables available in all steps. Plugins need to include these environment variables while running commands or other programs. These environment variables should override L1 environment if present.
I read it that you can specify 'environment' even in step and it should be used from there, but (updated reproducer):
/reproducer:
    test: declare -p FOO
    environment:
        FOO: test
/plan:
    execute:
        how: tmt
        environment:
            FOO: exec
    discover:
        how: fmf
    environment:
        FOO: plan

$ tmt run -avvv provision -h local -> content: declare -x FOO="plan"

Interesting - this is covered by test `tests/core/env which passes and it looks that what doesn't work is just environment defined in execute step (variable is not set at all)
The /reproducer as of above is wrong - I messed up inheritance (/reproducer is plan and test simultaneously and tests' definition wins in fmf metadata inheritance)

I've read the docs really bad. There is supposed to be single 'environment' key for whole plan, not for each step.
NOTABUG


Contributing guide changes

Some minor changes to the contributing guide. In particular, this PR shortens a few sections and changes focus from who to what we are interested in.  It also adds a mention of SCIPs (and so depends on #225).

@ots22 should we close this?

A little old now, but would be good to actually merge these changes - if we don't want SCIPs I can make a separate PR with the updates to contributing.md


[checker] Added CommandExecutor checker

This is a checker to run any generic command via subshell.
Signed-off-by: Andrea Barberio<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master     #116   +/-   ##
=======================================
  Coverage   49.73%   49.73%
=======================================
  Files          14       14
  Lines         567      567
=======================================
  Hits          282      282
  Misses        257      257
  Partials       28       28

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 8bb5c4b...f0806f5. Read the comment docs.


Short solution needed: "Get array from Redis" (php-redis)

Please help us write most modern and shortest code solution for this issue:
Get array from Redis (technology: php-redis)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Get array from Redis


Frontend in 2.22.x not working

Looks like there is some problem with forwarding urls to index in SPA I'm getting 404 when accessing https://our-flagsmith.domain/projects/
flagsmith-api-7ffb9b4b4f-dxtzc django.request WARNING  Not Found: /projects/

We have this issue on 2.22.0 and on 2.22.1

Are you able to provide steps to reproduce?

We have self-hosted flagsmith deployed with separateApiAndFrontend: false and after upgrade to 2.22.0 or 2.22.1 I open up frontend on https://our-flagsmith.domain it works but it makes "redirect" to https://our-flagsmith.domain/projects/ and why I trigger refresh in browser I got 404.

Helm chart 0.7.2

but as I said with image tag 2.21.2 it works ok

OK thanks thats helpful - think I know what this is - will take a look

Thanks. Also thanks for quick response.

Fairly sure this is related to https://github.com/Flagsmith/flagsmith/pull/984

Hi @Vrtak-CZ, thanks for the report here. This issue should be resolved in 2.22.2 which I have just released.

Hi @matthewelwell, looks like 2.22.2. Thank you.


add .add() method

This issue to integrate the .add() method from pouchdb-hoodie-api.

I think we can add all methods from pouchdb-hoodie-api at once, not only add, as suggested here https://github.com/hoodiehq/pouchdb-hoodie-store/pull/5#discussion_r33424941

That's a good idea. Should I close #5 and create a new one for all the pouchdb-hoodie-api methods with tests?

no need to, just keep adding changes to it until it's good to :ship:
But feel free to update the issue / PR title / description accordingly

fixed via #5


added 2 new python notebooks: Stock prediction Web application.ipynb, Neural Style transfer.ipynb

PR accepted @sudatra
Successfully merged to HacktoberFest_22 repo.
Need to Star this repo incase not done.
🚀🚀👍


Feature: Chat Thread History

Summary of feature
Users should be able to see their previous chat threads, create new ones, and delete the ones they no longer want to keep. This will make it easy to reference previous chats and keep track of conversations you've had.
Depends on #3 being in place.

implemented in #7


Enable prod outlier detection interop tests for C++ and Python

The Node test has confirmed that this feature is working on prod, so we can enable the test in other languages.

can this wait until post fixit?

It can wait if you prefer, yeah.  I don't think it would actually be a problem for it to go in now, though, since it doesn't touch anything that affects the fixit either way.  The fixit doesn't include the xDS interop tests.

Manual Python test job run with the new test passing: https://source.cloud.google.com/results/invocations/a0a46de7-0df0-4cd1-ad1b-8e73842b155c/targets

Can I merge this now? If not, when can I merge it?

@ctiller will take care of merging this later today.


forecast_fitted_values() with neuralforecast estimators

In this example https://nixtla.github.io/hierarchicalforecast/examples/australiandomestictourism.html#computing-base-forecasts
fcst = StatsForecast(df=Y_train_df,
                     models=[ETS(season_length=4, model='ZZA')],
                     freq='QS', n_jobs=-1)
Y_hat_df = fcst.forecast(h=8, fitted=True)
Y_fitted_df = fcst.forecast_fitted_values()

you call fcst.forecast_fitted_values(), however the forecast_fitted_values() method seems to be unavailable for neuralforecasts estimators such as NHITS and NBEATSx.
Moreover, it looks like using Y_df is not enough, see https://github.com/Nixtla/hierarchicalforecast/issues/162
How can we get the expected Y_fitted_df data with neuralforecast estimators? Thanks

Hey @candalfigomoro. We have an example on how to use neural and mlforecast estimators here. Can we close this issue?


Dupe w/ Storage Scanner

If you put a item in the output slot in the Storage Scanner then (Still in the scanner) click Storage Scanner then just click, click and click the item.

Yeah. just ran into this one myself.  Think you're going to have to make the output slot unscannable.  Or at least make it so it can't scan itself.

Fixed next release


Add a wiki: Wiki Dragon Quest (French)

Link to origin wiki: https://dragonquest.fandom.com/fr/wiki/Wiki_Dragon_Quest
Link to destination (independent) wiki: https://wikidragonquest.fr/Wiki_Dragon_Quest

This has been added and will be released in v1.3.0


Add archaeoramblings.com

Hi! I would like to add archaeoramblings.com
Size: 6.6 KB
Report: https://yellowlab.tools/result/gtiterb909

Welcome to the 250kB Club! Your sub-page will be https://250kb.club/archaeoramblings-com

Thanks! :) I've noticed the link you provided points to a download? (It will download an empty file with the website name)
I am experiencing this also for the other websites added recently here, is it a build process or a bug?


AttributeError: 'OperatorDef' object has no attribute 'uuid'

When calling:
db_reader = model.CreateDB("dbreader", db=data_file, db_type="minidb")

@kasiabozek  You should update caffe2.proto and compile it.

It works. There is some copying between the original and the installation folder that caused the previous version to be kept. Thank you.


refactor(app): border radius 8 overrides

Closes EXEC-332

Overview
All the border radius 8 overrides per figma. Consult the ticket for the link.

Test Plan

Nothing really. If you want to manually confirm all the overrides, go for it. Mel will as well.

Risk assessment
low

when pass all CI checks, this pr is good to go.
thank you for doing this!


Bug Fix node.py

clean_buffer
a new function has been added, that cleans the buffer, reason for cleaning can be provided to this function.
if d != -1:
The bug has been fixed, as if the start point has been found, it just moves the buffer d points ahead, later if end point is not found, the buffer gets changed, so on next pass, the start point will not be found, which will result into bug.

new pull request to be created


FR: Add Support for getting all topics

Consider adding support for getting all the topics in the various Admin SDK's so that we developers can adequately manage topics from our codebase.

Hi codekeyz. We are planning on adding this feature to the AdminSDK  (along with a new HTTP API). But we don't have an estimated timeline now.

@chong-shao okay, that's fine

is there any news about this fr?

@sovlful also mentioned in the other thread #1568
"it would be cool if this API could return topics and the number of users subscribed to each one, in order to know which topics are more popular than others"

Currently there's still no estimated time for supporting this feature. Let's continue gathering requests in this thread. This would help the FCM team to determine the details in offering this feature.

This would be hugely useful for me. Especially when debugging users not receiving messages.
Right now, its a total black box when it comes to who is subscribed to what.

@chong-shao This is a very important feature, that is still missing in the HTTP API v1. We are storing a user's subscribed topics in our backend. However, since the Firebase backend occasionally fails (due to rate limits or outages), a mechanism for synchronizing the subscribed topics is absolutely necessary.
Right now we still need to use the deprecated Instance ID API to accomplish this: https://iid.googleapis.com/iid/info/${deviceId}?details=true.
Can you tell me, if the Instance ID API will also be affected by the shutdown of the legacy FCM API in June?
It's really frustrating, that Firebase keeps removing useful APIs without having any replacement (like you did with the sendMulticast() method).

@chong-shao could you please tell me, if the Instance ID API will also be affected by the shutdown of the legacy FCM API in June?

@chong-shao
Are there any non-deprecated alternatives to https://iid.googleapis.com/iid/info/${deviceId}?details=true in 2024?
Same as @MightySepp666, the current API needs/is missing a mechanism for synchronizing devices and topics in FCM, as that is the 'source of truth'. Although we store device ids and topic subscriptions in 'our DB', managing such subscriptions from FCM would be preferred, as it would ensure consistency.


[WIP] Some fixes for TF import

Fixed some TF import issues.
Removed from ignore list some passing tests.

Closing as discussed in slack


use released versoin of dpf core

This is needed to publish the next release of ansys-dpf-composites

Needs a poetry lock, but otherwise LGTM.


Record with recursion as list results in stack overflow (with Thoth.Json.Net)

Original issue: https://github.com/MangelMaxime/Thoth/issues/141
by @brase

I was migrating my fable 1 project to fable 3. So I hat to change the serialization part from Fable.JsonConverter to Thoth.Json.
Nearly everything works but there is one record which causes a stack overflow during encoding:
i.e.
type MyRecType =
    { Name: string
      Children: MyRecType List }

I put everything together in a sample repo:
https://github.com/brase/thothrex

Hello,
as a temporary solution, you should be able to use manual decoders for this record.

How should I write the extra encoder for the example above? I struggle with the list.

type MyRecType =
    { Name: string
      Children: MyRecType List }

    static member Encoder (v : MyRecType) =
        Encode.object [
            "name", Encode.string v.Name
            "children", v.Children
                        |> List.map MyRecType.Encoder
                        |> Encode.list
        ]

    static member Decoder =
        Decode.object (fun get ->
            { Name = get.Required.Field "name" Decode.string
              Children = get.Required.Field "children" (Decode.list MyRecType.Decoder) }
        )

This is true that when designing the library I gave less love to the encoder part. And seems like the list API doesn't work exactly the same way.

Had the same problem, manual encoder fixed it 👍

Finally the bug is fixed. Thank you guys. I can confirm it works, now.

Thank you for confirming :)
And sorry for the delay was busy at work. :)

FYI - I'm happy with my manual encoders because on the client-side I'm also using manual coders.


Deploy on Azure fails error MSB4019

Bug on Azure Deploy
Just created a new project, let dependencies update then, via GIT method, tried to deploy on Azure. An error occurs.
Following: http://blog.stevensanderson.com/2016/10/04/angular2-template-for-visual-studio/#publishing-to-azure
Steps
Install all required VS2015 packages:

Core 1.0.1

npm and node last versions

VS2015 Update 3

Typescript for VS

Install ASP.NET Core Template Pack extension

Local dotnet --version -> 1.0.0-preview2-003131

Local node version: 7.2.1

Create and run the project in VS2015

Create new project -> "ASP.NET Core Angular2 Starter Application" > C:\Angular2Application1

I don't modify anything

git init in "C:\Angular2Application1\Angular2Application1" (not at root level where sln file is, but where package.json and project.json are)

Run the App in VS2015: works perfectly

first git commit

Setup Azure Web App

Deployement option set to local git
git remote add azure https://azurewebap-git-repo-url
git push azure master

On Push to Azure, Error summary
D:\home\site\repository\Angular2Application1.xproj(8,3): error MSB4019: The imported project "D:\Program Files (x86)\dotnet\sdk\1.0.0-preview3-004056\Extensions\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
On push to Azure, log
remote: D:\home\site\repository\project.json
remote: Restore completed in 67974ms.
remote:
remote: NuGet Config files used:
remote:     C:\DWASFiles\Sites\#1myapp14446564\AppData\NuGet\NuGet.Config
remote:
remote: Feeds used:
remote:     https://api.nuget.org/v3/index.json
remote:
remote: Installed:
remote:     212 package(s) to D:\home\site\repository\project.json
remote: Microsoft (R) Build Engine version <IP_ADDRESS>
remote: Copyright (C) Microsoft Corporation. All rights reserved.
remote:
remote: Build started 12/23/2016 3:10:38 PM.
remote:      1>Project "D:\home\site\repository\Angular2Application1.xproj" on node 1 (Publish target(s)).
remote:      1>D:\home\site\repository\Angular2Application1.xproj(8,3): error MSB4019: The imported project "D:\Program Files (x86)\dotnet\sdk\1.0.0-preview3-004056\Extensions\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
remote:      1>Done Building Project "D:\home\site\repository\Angular2Application1.xproj" (Publish target(s)) -- FAILED.
remote:
remote: Build FAILED.
remote:
remote:        "D:\home\site\repository\Angular2Application1.xproj" (Publish target) (1) ->
remote:          D:\home\site\repository\Angular2Application1.xproj(8,3): error MSB4019: The imported project "D:\Program Files (x86)\dotnet\sdk\1.0.0-preview3-004056\Extensions\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
remote:
remote:     0 Warning(s)
remote:     1 Error(s)
remote:
remote: Time Elapsed 00:00:00.39
remote: Failed exitCode=1, command=dotnet publish "Angular2Application1.xproj" --output "D:\local\Temp\8d42b45add7eef8" --configuration Release
remote: An error has occurred during web site deployment.
remote:
remote: Error - Changes committed to remote repository but deployment to website failed.

Tried the global.json method of course:
{
    "projects": [],
    "sdk": { "version": "1.0.0-preview2-003131" }
}

Then another error occurs:
remote: Updating branch 'master'.
remote: Updating submodules.
remote: Preparing deployment for commit id '7877ff34a9'.
remote: Generating deployment script.
remote: Running deployment command...
remote: Handling ASP.NET Core Web Application deployment.
remote: Restoring packages for D:\home\site\repository\project.json...
remote:   CACHE https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.angularservices/index.json
remote:   CACHE https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.angularservices/1.0.0-beta-000021/microsoft.aspnetcore.angularservices.1.0.0-beta-000021.nupkg
remote: Restoring packages for tool 'Microsoft.AspNetCore.Razor.Tools' in D:\home\site\repository\project.json...
remote: Restoring packages for tool 'Microsoft.AspNetCore.Server.IISIntegration.Tools' in D:\home\site\repository\project.json...
remote: Restoring packages for tool 'Microsoft.DotNet.Watcher.Tools' in D:\home\site\repository\project.json...
remote: Committing restore...
remote: Lock file has not changed. Skipping lock file write. Path: D:\home\site\repository\project.lock.json
remote: D:\home\site\repository\project.json
remote: Restore completed in 5426ms.
remote:
remote: NuGet Config files used:
remote:     C:\DWASFiles\Sites\#1myapp14446564\AppData\NuGet\NuGet.Config
remote:
remote: Feeds used:
remote:     https://api.nuget.org/v3/index.json
remote: 'Angular2Application1.xproj' does not contain a project.json file
remote: Failed exitCode=1, command=dotnet publish "Angular2Application1.xproj" --output "D:\local\Temp\8d42b497bccf2b0" --configuration Release
remote: An error has occurred during web site deployment.
remote:
remote: Error - Changes committed to remote repository but deployment to website failed.

'Angular2Application1.xproj' does not contain a project.json file

This message reminds me that MS want to restore using cproj files instead of using project.json. And you downloaded new version, that doesn't contain json file. But changed version to old preview2 that uses project.json.  It's just my assumption based on error message.

I just created the project using the VS2015 extension ASP.NET Core Template Pack extension for Angular2 Core app. Is this installed version of project messed?

'Angular2Application1.xproj' does not contain a project.json file

This message reminds me that MS want to restore using cproj files instead of using project.json. And you downloaded new version, that doesn't contain json file. But changed version to old preview2 that uses project.json.  It's just my assumption based on error message. Sorry for dalying comment.

Oh, I think I understood the problem. You trying to use template that has already build on new version of dotnet and creates project for it without project.json. As a workaround I propose to create it manually and filled or jsut install preview dotnet(that contains preview3 like template)

Any way to use the new dotnet version could be interesting to find

I think yes. Because MS wants to revert project.json to cproj. And starting new project better in new environment. That's helps you to avoid migration things. That's my point of view.

Ok so how can i fix my deployment error using the new template?

Side Note: on my first try (using the template): web deploy from VS2015 works. I was able to publish without problem. When using CI or git, the error occurs.

The error says you don't have a project.json. Can you check whether project.json is really getting deployed? You can use the debug console from the Azure portal to see what files are on your server.
An alternative would be to use csproj tooling. With the latest generator-aspnetcore-spa Yeoman package, you can have it produce csproj projects (compatible with VS 2017RC) that should not have any such issue.

I experience the same issue and get this error. Any ideas as to how to fix this issue?
remote: myproj.xproj' does not contain a project.json file
remote: Failed exitCode=1, command=dotnet publish "myproj.xproj" --output "D:\local\Temp\8d4359db44a3711" --configuration Release
remote: An error has occurred during web site deployment.
Site note I tried to change type of project to csproj and then I can deploy but the site returns this error instead. I will create a seperate issue regarding this.
An error occurred while processing your request.
Any help would be greatly appriciated.

I found the solution the error regarding
remote: myproj.xproj' does not contain a project.json file
Simply delete the file :)

Simply delete the file :)

Yes, that does work! Also, for anyone who wants to keep the .xproj file, another solution is to add a file at the root of your project called .deployment, containing this:
[config]
SCM_SCRIPT_GENERATOR_ARGS=--aspNetCore project.json

Then Azure will know you want to use the project.json file and it will ignore the .xproj.
I'm adding this .deployment file to the templates now.

Thank you for a quick response :) I have just verified it to be working. Have a nice day.


Error when running the stream generator several times

When running the stream generator several times, there are duplicate key errors in the yaml file.
the placement algorithm when the key exists is to redo.

correct by https://github.com/hipster-labs/generator-jhipster-spring-cloud-stream/pull/14


EZSPA-876 - helm installation is failing for spark ts

Change was already reviewed in https://github.com/HPEEzmeral/spark-on-k8s/pull/184


useTabsListState onSelectionChange called during render

🐛 Bug Report

https://github.com/adobe/react-spectrum/blob/c38d48149ff355c0aaa8f4db5b0be7a8774b26e7/packages/%40react-stately/tabs/src/useTabListState.ts#L41
Because useTabsListState calls replaceSelection during render which internally calls onSelectionChange the onSelectionChange event handler is called during render.
if (selectionManager.isEmpty || !collection.getItem(selectedKey)) {
  selectedKey = collection.getFirstKey();
  selectionManager.replaceSelection(selectedKey);
}

For a controlled example I would say we can assume someone will call setState in onSelectionChange to keep track of the currently selected key which causes an error.
Warning: Cannot update a component (`Controls`) while rendering a different component (`Tabs`). To locate the bad setState() call inside `Tabs`, follow the stack trace as described in

🤔 Expected Behavior

I expect to be able to always call setState in event handlers without causing errors.
😯 Current Behavior

I receive an error when doing this.
💁 Possible Solution

Wrap the behavior with a useEffect that sets the first key when no key was set.
🔦 Context

My tabs are generated based on some item that is loaded async. So the initial render of the tabs might be a empty collection with a null selected key. After some time the item is present and the collection is filled. Now I know which key I have to select in a useEffect based on the item (since I cant call setState during render). But onSelectionChange will also be called at this point.
💻 Code Sample
It also does not seem possible to render an empty tabs component here. It will cause an infinite render loop. You can test this by removing the collection.length check.
https://codesandbox.io/s/usetabliststate-mun6z0

🌍 Your Environment

Software
Version(s)

react-aria
3.15.0

react-aria
3.13.0

Browser
any

Operating System
any

🧢 Your Company/Team

🕷 Tracking Issue (optional)

Ah, I may have been overzealous in some prior tab list state clean up, thanks for catching this.

@devongovett I don't think it's 100% fixed.
Reproducible with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>https://codesandbox.io/s/condescending-scooby-2cdx4z?file=/src/App.js

@jguddas let's continue the conversation in https://github.com/adobe/react-spectrum/issues/5013#issuecomment-1703101568


Refactor template.json for upcoming FVTT 0.4.0 change

If I may ask, why do we need to refactor the template.json for the upcoming FVTT 0.4.0 change?

Refer to this gitlab issue https://gitlab.com/foundrynet/foundryvtt/issues/1614


Add text pastebin

This is actually nearly there, just a caption without an image.
Might ponder some javascript powered pretty printing later. Or not.

As a workaround until this feature is officially added, Trifecta can also be used as a plain-text pastebin by including a carriage return in the claimed MIME type, like so:
curl -H "Cookie: session=..." -F $'file=@paste.txt;type=image/\r' http://localhost:3456/upload

This submits paste.txt as the "image", without a caption (so the inverse of the above). To paste stdin, replace @paste.txt with @-.
Trifecta will respond with the image ID; the link to share would be http://localhost:3456/i/$id which serves the pasted snippet with the text/plain MIME type.

joking aside, do you think this is a bug here or over at cpp-httplib? that it doesn't escape mime-type?

I had expected Trifecta to refuse this on upload.
From the blog posts, I understand that the app does not want to use an image library to validate that the images it receives are indeed valid images in the claimed format, as users might (accidentally?) upload files that exploit vulnerabilities in such a library.
However, the app could still have a hard-coded allowlist of the claimed content types that it is willing to accept and serve (so exactly image/jpeg or exactly image/png or exactly image/webp or...). With such an allowlist in place, the Content-Type header is still controlled by the user, but at least it is one of the expected values; adding a X-Content-Type-Options: nosniff header as suggested in the README would then prevent browsers from second-guessing that header.
One could argue that cpp-httplib should signal error if this happens, but one could also argue that it's the caller's responsibility to not attempt calling this with strings containing carriage return characters. I do not know HTTP well enough to say whether there would be a way for httplib to escape a carriage return here.


[WIP] download kml instead of just opening maps.me

this fix #317
Progress :

geojson converted to kml
kml is downloaded when maps.me clicked

TODO:

on android, it doesn't open maps me when click file after download. Need to go explorer first
testing on iphone

Tested on ios :

It doesn't download the file, I'll fix it.

@ann26 , could you please have a look at this PR.

ok @cchristelis

legacy


Prajwal Shetty to contributors list

Hi  @Prajwal041, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

Thank you so much, it's a good learning curve for getting into basics.

I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://goo.gl/PM1Jdh


Doesn't work on Solution Items that don't live at the solution root

There's an assumption in the code that a solution item is located at the root (they usually do). But you can actually add items from any location (right click "Solution Items" > Add > Existing item...).
Problem is, the returned ProjectItem from the context menu does not seem to contain its actual location (hence the original assumption). Will have to find a way to dig up the path somehow.

I'm going to skip a long, embarrassing story of how I've ended up in your repo, but the story ends with projectItem = _dte.Solution.FindProjectItem(projectItem.Name) then continue normally to get the full path. I haven't actually looked at your code, but I plan to make a PR in the next few days to fix this and another bug (if you haven't already gotten to it).

Just saw that in blackboxlogic/ShellContextMenuExtension@0eb095bb. I'm afraid it doesn't seem to work on my copy of VS2019 (v16.9.0p4) 😕
If you get it working, would you mind reporting back on what version it was tested on?
Kinda surprised that there are people still actually using, much less fixing, something that I forgot about until last year!

This extension is a must if you use tortoise git. Thanks for making it. I hadn't seen what VS extension code looked like until I tried to fix this (and managed fixed it in the wrong fork by mistake). Did you know your extension has a doppelganger?
Looks like you're running a VS preview build? What's the advantage?

Looks like you're running a VS preview build? What's the advantage?

Was adopting .NET5 quite early on - supported only on VS preview. Been updating along from there (on preview, when stable is released you get updated to the next preview). Now targeting .NET6 for a new project (and may settle there, as 6 would be an LTS).

hadn't seen what VS extension code looked like

They've kinda cleaned up the format a couple years back, so this version would look slightly different to the older fork. Also, much cleaner references (a single Nuget reference to VSSDK.Shell.* instead of the mess that it was).
Still atrociously documented. As witnessed here!

I'm checking in to see if you've had time to review the PR, and looking forward to having these features.

P.S. I've been using the unreleased version for a few months and the new features have performed as expected with no issues. I'm looking forward to a 2.1 release so my coworkers to upgrade.

Apologies. Covid had wreaked havoc on a lot of things meant to be done ages ago.
2.1 is back on the menu now!


Porting micro-ROS on Zynq FPGA

Hello,
I'm trying to do the tutorial 'First micro-ROS Application on FreeRTOS' using vivado with C language. But I have no idea how to translate the terminal-instructions to a program, or how to realize the functions of porting micro-ROS on FreeRTOS in code. Could anyone give me some suggestions? Keywords and documentations?
Thank you.
Best regards,
YongYi

Hello, Vivado is not currently supported in the micro-ROS build system and AFAIK the implementation would be completely different from the current gcc-based solution.
Anyways this port seems to be really interesting, could you provide more details about this software build system. Maybe it is possible to have a CMake toolchain and use this new experimental tool to generate static libraries outside Vivado and the link against them?
Please provide more details about the toolchain and build system of your Vivado+FreeRTOS project.

Hello,
Under vivado it builds a hardware diagram like this:

And then I've chosen 'freertos10_xilinx' for OS platform under SDK.
Are they the toolchain and build system what you mentioned?
Best regards,
YongYi

Do you have access to the source code of the application been built for the ARM core?

Do you have access to the source code of the application been built for the ARM core?

I think I don't have the access for ARM core.

The FreeRTOS is built automatic after I have set 'freertos10_xilinx' for OS platform.
The thing is how to realize porting micro-ROS on this in program. I have no idea where to start and what I need.

Hello, the tutorial you are following does not explain how to integrate micro-ROS in a new platform, it explains how to test micro-ROS in the supported boards.
If  you want to port micro-ROS to a new platform you have to integrate the micro-ROS build system in your target build system, in the case of FreeRTOS please have a look to this files to see how micro-ROS has been integrated with STM32CubeMx for our reference platform Olimex STM32 E407: https://github.com/micro-ROS/freertos_apps/tree/foxy/microros_olimex_e407_extensions

I have created a project with SDK, that is bilt with FreeRTOS and lwIP. Is that mean, I just need to add "allocators.c", "custom_memory_manager.c", "ethernetif.c" and "main.c"? Or should I add other files in Src too?

These are extra files included to the FreeRTOS installation. The point where micro-ROS is built is here: https://github.com/micro-ROS/freertos_apps/blob/34656bb8e1b5f80a2ef4f05e26da371f7538da55/microros_olimex_e407_extensions/Makefile#L325
You should be able to integrate this into your Makefile


Notes of Control Systems

Upload notes on Control Systems Bootcamp. Can be in markdown or handwritten.

https://github.com/vrnimje/Inverted-LQR-Bot-Eklavya/blob/develop/Control_Bootcamp_Vedant.md


update documentation for javascript, small fixes

@nikolaswise lots of smaller fixes and documentation updates

@asangma can you review this just for a sanity check

AHM BACK


Compilation Hints Get Scrambled

From @jrieken on May 23, 2016 10:59
From @robbpriestley on May 22, 2016 16:47

VSCode Version: 1.1.1
OS Version: OSX El Capitan 10.11.4

This has been an annoying issue ever since I started using VS Code in March. I've been living with it and don't want to complain because I love VS Code, but perhaps it will help if I report it.
Steps to Reproduce:

Work normally and do a minor refactor, change the signature of a method, or modify a class structure
The compilation hints spontaneously get all scrambled and remain that way

Sometimes clicking on the error list and selecting an "error" from the list jumps me to the source location helps to snap VS Code out of it, but most often I need to save everything and restart VS Code to fix it. Then it "re-indexes" the code and the mistaken compilation error hints go away. Executing dotnet build doesn't do it.
Attached is a screenshot showing a very weird one that occurred spontaneously just now.
Type 'ServiceLogRepository' already defines a member called '.ctor' with the same parameter types [netcoreapp1.0]
I hope I'm getting the terminology decently OK here, there are probably better names for things.

Copied from original issue: Microsoft/vscode#6632
Copied from original issue: OmniSharp/omnisharp-roslyn#559

From @robbpriestley on May 23, 2016 20:57
Here's another interesting one:

The call is ambiguous between the following methods or properties: 'ISocialMediaRepository.Add(SocialMedia)' and 'ISocialMediaRepository.Add(SocialMedia)' [netcoreapp1.0]

From @robbpriestley on August 12, 2016 20:16
This continues to be a really serious usability problem and in my humble opinion it should be top priority to fix. Easy for me to say, I know, but here's an example:
I'm doing a refactor today and I've quite literally needed to restart VS Code a dozen times in order to clear the scrambled compilation hints. Now members of my team are reporting it as a distraction as well. It's more than just annoying, it leads to incorrect conversations between team members as well, and is a productivity hit.

From @tugberkugurlu on May 31, 2016 8:59
As stated on #567 and #566, I am seeing the same errors.

From @robbpriestley on April 23, 2017 1:8
Don't get me wrong, I am a huge fan of VS Code and I'm sorry to be critical, but it baffles me that so many features I never use keep getting added to the product while this major fundamental usability issue continues to plague it.
I find myself needing to shut down and re-open VS Code on a regular basis to help it correct itself of faulty compiler issues and errors, and it affects my basic productivity. 👎
Here's a good visual example:

Hey guys --- sorry I hadn't noticed this C# for VS Code issue. I'll migrate it over to the omnisharp-vscode repo where it belongs.

@robbpriestley: Could you provide your OmniSharp Log when this happens? You can display the OmniSharp Log by selecting View->Output in VS Code. Then, click the combobox at the top-right of the Output pane and choose "OmniSharp Log".

@DustinCampbell for sure I'd be glad to. In fact, I spent a while last night trying to re-create. Of course, it was as if VSCode felt it was being observed and so was on its best behaviour in two separate scenarios. But, if/when it happens again, I will post my OmniSharp Log as you have requested. Although, come to think of it, this problem hasn't happened in a couple of weeks of heavy VSCode use. Perhaps it went away. That would be a win!

That's good to hear. We've been doing a good deal of work on this and there a couple of fixes that went in a few weeks ago that I could imagine addressing this. I'm going to go ahead and close this. If you run into the issue again, please feel free to add more information here and we'll re-open, or file a fresh issue at https://github.com/OmniSharp/omnisharp-vscode/issues.
Thanks!

I don't know exactly what you guys did or fixed, but things are working so much better now. It's so much less frustrating now that my compilation hints are accurate and reliable. Thank you!


MdxSanitizer - Contents Not Found + Scripts tags UI/UX

Summary
1 - If the application fails to retrieve the contents of a given github mdx page, what should happen in the UI? (this is a full page error).

this can just be a page not found
Example: supplied github route doesn't exist, requested resource is not allowed (authentication error...)
2 - If a remote mdx contains a script tag, we cannot allow that script for security concerns reasons, what should the feedback to the user be?
Options:
Remove script tag
Replace with inline notification error, what should that say?
Full page error
some other UX?
Example:

# Hi

Hello

Replace this with an inline notification :
(Replace import with script)

Job stories
What value will this deliver?

When my remote mdx content has some type of error or defect, I want the app to handle it gracefully, so I can have the best user experience.

Acceptance criteria
What requirements must be met to complete this request?

Design specs for detailed cases

@francinelucca @andreancardona  First draft is here in this figma: https://www.figma.com/file/WyfqQh9R1VXYZErfmsNDVH/MDX-errors?node-id=0%3A1


Slow Ubuntu Remote Desktop using xrdp

Hello Everyone.
I have created an virtual machine with the following specifications:
Ubuntu 20.04 LTS
F16s_v2 Standard (16 vCPU and 32 GiB RAM)
SSD unit
Since I need to connect via Remote Desktop, I followed this guide to install xrdp. Once finished, I connected to the server with Microsoft Remote Desktop but I noticed an excessive slowness in interactivity. I don't think the problem is my internet connection because:
By connecting to other Azure Windows VM I don't have the same problem;
I asked to a colleague to do a test from his home and he experienced the same problem;
What could be the problem?

@muhammadzubair220 - have a look at #2136 and try enabling RFX. That may help.

have a look at:
https://github.com/neutrinolabs/xrdp/issues/1483


Align severity mapping between SARIF/semgrep

Align severity mapping between SARIF and semgrep as proposed here:
https://github.com/DefectDojo/django-DefectDojo/issues/6289

Change SARIF "error" to "High" from "Critical"
Change Semgrep "warning" to "Medium" from "Low"

With this change both SARIF and Semgrep are consistent with how they map warning and errors.

@coheigea please fix the unit tests


Repositories (jcenter and spring) do not work over HTTP

I created this issue so they can find the problem by searching on google while solving the problem, a temporary solution is to go to /node_modules/react-native-bluetooth-escpos-printer/android/build.gradle and edit
buildscript {
    [...]
    repositories {
        jcenter { url "http://jcenter.bintray.com/" } <- HTTPS
        maven {url "http://repo.spring.io/plugins-release/"} <- HTTPS
    [...]
    }
    [...]
}
[...]
repositories {
    [...]
    jcenter { url "http://jcenter.bintray.com/" } <- HTTPS
    maven { url "http://repo.spring.io/plugins-release/" } <- HTTPS
    [...]
}

el problema del que hablo es el siguiente
A problem occurred configuring project ':react-native-bluetooth-escpos-printer'.
> Could not resolve all artifacts for configuration ':react-native-bluetooth-escpos-printer:classpath'.
   > Could not download bundletool.jar (com.android.tools.build:bundletool:0.1.0-alpha01)
      > Could not get resource 'http://repo.spring.io/plugins-release/com/android/tools/build/bundletool/0.1.0-alpha01/bundletool-0.1.0-alpha01.jar'.
         > Could not HEAD 'http://repo.spring.io/plugins-release/com/android/tools/build/bundletool/0.1.0-alpha01/bundletool-0.1.0-alpha01.jar'. Received status code 403 from server: Forbidden
   > Could not download kotlin-stdlib-jre8.jar (org.jetbrains.kotlin:kotlin-stdlib-jre8:1.2.0)
      > Could not get resource 'http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.2.0/kotlin-stdlib-jre8-1.2.0.jar'.
         > Could not HEAD 'http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.2.0/kotlin-stdlib-jre8-1.2.0.jar'. Received status code 403 from server: Forbidden
   > Could not download aapt2-proto.jar (com.android.tools.build:aapt2-proto:0.1.0)
      > Could not get resource 'http://repo.spring.io/plugins-release/com/android/tools/build/aapt2-proto/0.1.0/aapt2-proto-0.1.0.jar'.
         > Could not HEAD 'http://repo.spring.io/plugins-release/com/android/tools/build/aapt2-proto/0.1.0/aapt2-proto-0.1.0.jar'. Received status code 403 from server: Forbidden
   > Could not download error_prone_annotations.jar (com.google.errorprone:error_prone_annotations:2.1.2)
      > Could not get resource 'http://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.1.2/error_prone_annotations-2.1.2.jar'.
         > Could not HEAD 'http://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.1.2/error_prone_annotations-2.1.2.jar'. Received status code 403 from server: Forbidden
   > Could not download kotlin-stdlib-jre7.jar (org.jetbrains.kotlin:kotlin-stdlib-jre7:1.2.0)
      > Could not get resource 'http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre7/1.2.0/kotlin-stdlib-jre7-1.2.0.jar'.
         > Could not HEAD 'http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre7/1.2.0/kotlin-stdlib-jre7-1.2.0.jar'. Received status code 403 from server: Forbidden
   > Could not download kotlin-stdlib.jar (org.jetbrains.kotlin:kotlin-stdlib:1.2.0)
      > Could not get resource 'http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.0/kotlin-stdlib-1.2.0.jar'.
         > Could not HEAD 'http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.0/kotlin-stdlib-1.2.0.jar'. Received status code 403 from server: Forbidden

I found no way to pull this change https://github.com/YaOliveira/react-native-bluetooth-escpos-printer/commit/32535927008cf2b6452d109840fa412b45b483e2


Start up and run IOS crash

Your Environment

Plugin version:3.0.3
Platform: iOS
OS version:12.1
Device manufacturer and model: iPhone 6s plus

Running in Simulator: Yes
Cordova version (cordova -v): 9.0.0
Cordova platform version (cordova platform ls):5.0.0
Plugin configuration options:
Link to your project:

Context
  this.platform.ready().then(() => {
    this.init();
  });
  // init bg-geo
  init() {
    const config: BackgroundGeolocationConfig = {
      desiredAccuracy: 10,
      stationaryRadius: 1,
      distanceFilter: 1,
      maxLocations: 10,
      debug: true,
      stopOnTerminate: false
    };
    this.backgroundGeolocation.configure(config)
      .then(() => {
        this.backgroundGeolocation.on(BackgroundGeolocationEvents.location).subscribe((location) => {
           this.logger.info(location);
        });
      });
    this.backgroundGeolocation.start();
 }

Expected Behavior
App runs normally, running location monitoring
Actual Behavior
After init background-geolocation，this is run 'start()'. App crash.
2019-04-01 10:16:32.585834+0800 TimeStory[6768:1623947] CDVBackgroundGeolocation #start
2019-04-01 10:16:32.586395+0800 TimeStory[6768:1624020] BgGeo #start: 0
2019-04-01 10:16:32:586 TimeStory[6768:1624018] BgGeo #start: 0
2019-04-01 10:16:32:589 TimeStory[6768:1623947] DistanceFilterLocationProvider iOS9 detected
2019-04-01 10:16:32.604441+0800 TimeStory[6768:1624020] DistanceFilterLocationProvider will start
2019-04-01 10:16:32:589 TimeStory[6768:1623947] DistanceFilterLocationProvider will start
2019-04-01 10:16:32.612263+0800 TimeStory[6768:1623947] CDVBackgroundGeolocation #onAuthorizationChanged
2019-04-01 10:16:32.612993+0800 TimeStory[6768:1624020] DistanceFilterLocationProvider switchMode 1
2019-04-01 10:16:32:592 TimeStory[6768:1623947] DistanceFilterLocationProvider switchMode 1
2019-04-01 10:16:32.630591+0800 TimeStory[6768:1624021] LocationManager didChangeAuthorizationStatus 4
2019-04-01 10:16:32:609 TimeStory[6768:1623947] LocationManager didChangeAuthorizationStatus 4
warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.

Possible Fix

Recursive callbacks occur here, and the comments run correctly.

- (void)userNotificationCenter:(UNUserNotificationCenter *)center
       willPresentNotification:(UNNotification *)notification
         withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler
{
    if (prevNotificationDelegate && [prevNotificationDelegate respondsToSelector:@selector(userNotificationCenter:willPresentNotification:withCompletionHandler:)])
    {
        // Give other delegates (like FCM) the chance to process this notification
//        [prevNotificationDelegate userNotificationCenter:center willPresentNotification:notification withCompletionHandler:^(UNNotificationPresentationOptions options) {
//            completionHandler(UNNotificationPresentationOptionAlert);
//        }];
    }
    else
    {
        completionHandler(UNNotificationPresentationOptionAlert);
    }
}

Steps to Reproduce

Context

Debug logs

This same issue happened to me.
I solved installing the plugin cordova-plugin-local-notification.
On iOS Devices a notification is triggered when the location is updated. It seems you need to have a way to show it or the app will crash.

This same issue happened to me.
I solved installing the plugin cordova-plugin-local-notification.
On iOS Devices a notification is triggered when the location is updated. It seems you need to have a way to show it or the app will crash.

First of all, thank you for your answer.
1.Since call notifications require plugin cordova-plugin-local-notification. howerer the NPM documentation is independent.
2.If no notification plugin is found. Why is there a dead cycle?
3.I comment out the code. App works normally, And notification bar pop-up notice
Don't know why the author designed it. ha-ha

@mauron85

hello everyone, That issue is still alive on IOS and needs to be fixed asap as i just recently implemented background-geolocation and what i noticed is i am still having that app crashing issue on debug=true

hello everyone, That issue is still alive on IOS and needs to be fixed asap as i just recently implemented background-geolocation and what i noticed is i am still having that app crashing issue on debug=true


No Contracts for Directory.GetFiles(String, String, SearchOption)

Looks to me like Code Contracts is missing this overload:
https://github.com/Microsoft/CodeContracts/blob/master/Microsoft.Research/Contracts/MsCorlib/System.IO.Directory.cs#L142-L163
Should have the same contract as the others, plus an ArgumentOutOfRangeException as follows:
if ((searchOption != SearchOption.TopDirectoryOnly) && (searchOption != SearchOption.AllDirectories))
                throw new ArgumentOutOfRangeException("searchOption", Environment.GetResourceString("ArgumentOutOfRange_Enum"));

http://referencesource.microsoft.com/#mscorlib/system/io/directory.cs,623

Looks like the same for GetDirectories(String, String, SearchOption)
https://github.com/Microsoft/CodeContracts/blob/master/Microsoft.Research/Contracts/MsCorlib/System.IO.Directory.cs#L119-L141
http://referencesource.microsoft.com/#mscorlib/system/io/directory.cs,689


Filter by Community Organization

Add the ability for users to filter by Community Organization.
The filter is already there, but it doesn't seem to work.
https://github.com/CodeForPhilly/vacant-lots-proj/assets/1965986/1d995d77-1833-49db-adde-82295a64ce98
@nlebovits Perhaps we should also add Community Organization to the property data table?

Yeah, this looks like a bug. I think it has to do with how the data are currently stored. We can revisit after launch--would take a little while to get resolved.

@jgrimes86 is working on this I believe

Working on it, but getting nowhere.  I don't think I'm going to be able to fix this.

I’ll take a look tonight
On Sat, Apr 20, 2024 at 4:03 PM Jim Grimes @.***> wrote:

Working on it, but getting nowhere. I don't think I'm going to be able to
fix this.
—
Reply to this email directly, view it on GitHub
https://github.com/CodeForPhilly/vacant-lots-proj/issues/550#issuecomment-2067769194,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARTVYUCGS7I4TE2EETLXATY6LC2HAVCNFSM6AAAAABGQDKNTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXG43DSMJZGQ
.
You are receiving this because you commented.Message ID:
@.***>


Performance

In according to tool go tool trace for transpiling file shell.c from sqlite:

Now, c2go use only one core for transpiling.(on picture more core - it is GC working).
Problem
Need to add concurrency if possible.

For function main.convertLinesToNodes possible.

For regexp : https://github.com/opennota/re2dfa

This is great information. One of the biggest performance improvements was made by you with caching the regex's. Parallelising convertLinesToNodes would be difficult because it builds a tree.
My first thought is that it would have to be a two stage process:

The tree is built to a very shallow depth (like max 3 nodes deep).
Iterating the leaf nodes and scheduling the rest of the children to be processed on an independent Go routine.

Ideally in a pool since there would be lots of small jobs.

For function main.readAST can use cacheRegexp

Now, on my laptop:
$ time c2go transpile sqlite3.c
real	1m0.523s
user	1m22.988s
sys	0m2.048s

Function main.convertLinesToNodes easy to parallelize, because it not a tree - it is parsing each element of slice. Now, I check concerrency of that function and time of transpilig going down from 60 sec to 45 sec. Preliminary 25%.
But function main.buildTree is a tree and that function is difficult for parallelization.

After create a parallell covertLinesToNodes:


DeprecationWarning: the imp module is deprecated

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
TensorFlow installed from (source or binary): binary (pip)
TensorFlow version (use command below): tensorflow-gpu==2.0.0b1
Python version: 3.6.8
CUDA/cuDNN version: 10.0.130/7.6.2
Exact command to reproduce:

Create test.py file with the following content:
import tensorflow as tf
Run pytest (5.0.1) on it:
pytest test.py
Result:
============================================================================================= warnings summary ============================================================================================= venv/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py:15   venv/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses     import imp
Describe the problem
TensorFlow is using "imp" which is deprecated since Python 3.4. Are there plans to update it?
Thanks!

Confirmed.
There are a few more warnings which also show when you try python test.py but the imp deprecation doesn't show up in that case.
Note that this file is automatically generated by SWIG and there's a plan to replace SWIG with pybind11: https://github.com/tensorflow/community/pull/67

@carlosgalvezp Is this still an issue? Can you check with TF2.0 and let us know whether the issue persists with latest TF version. Thanks!

@jvishnuvardhan Hi I am using TF2.0 and I still get a DeprecationWarning.
(Using Python 3.7.3)
 /Users/xxxxxx/.yyyyy/lib/python3.7/site-packages/tensorflow_core/python/pywrap_tensorflow_internal.py:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses

This may help:
import warnings
warnings.simplefilter("ignore")

Hello! Im using TF 2.1 and still the problem while import.
DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses ModuleNotFoundError: No module named 'tensorflow.python.tools'; tensorflow.python' is not a package.
Any advice?

I'm using TF 2.3.1, I still get the same warning.

@carlosgalvezp
Could you please verify on tf-nightly [2.4.0-dev20201020] and let us know if you still see the warnings.

Same warning on TF 2.3.0.

Same warning on TF 2.4.1.

I'm seeing the same warning from a different line on TF 2.5.0.
  /usr/local/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py:22: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp

same here, TF 2.5.0 native version for apple silicon MacBook
./../miniforge3/envs/tf2.5/lib/python3.9/site-packages/tensorflow/python/autograph/impl/api.py:22
  /Users/giuseppefilitto/miniforge3/envs/tf2.5/lib/python3.9/site-packages/tensorflow/python/autograph/impl/api.py:22: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp

-- Docs: https://docs.pytest.org/en/stable/warnings.html

Bump

I think the best way forward is to send a PR

Same here on 2.6.0

I think the best way forward is to send a PR

This is still true.
We don't see this in our CI

Added a PR #51663 to get the deprecation message fixed.

This is still happaning in TF2.7.0

Please note that we don't see this in our CI. This points to an issue with your environment instead of the TF code itself. Can you post the output of pip list for example, to start the debugging process?

Hi @carlosgalvezp !
Is this issue still valid ?  did not find issue with Python 3.7 and TF 2.7, 2.8 , 2.9 through Colab .
Could you reply  on @mihaimaruseac's comment ?
Thank you!

Hi @mohantym !
Testing on:

Ubuntu 20.04 docker image
Python 3.8
TensorFlow 2.9.1

With the reproducer code of the original post of this issue, gives:
Gives:
root@ee5b086171df:/# pytest test.py
======================================== test session starts ========================================
platform linux -- Python 3.8.10, pytest-7.1.2, pluggy-1.0.0
rootdir: /
collected 0 items

========================================= warnings summary ==========================================
usr/local/lib/python3.8/dist-packages/flatbuffers/compat.py:19
  /usr/local/lib/python3.8/dist-packages/flatbuffers/compat.py:19: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================== 1 warning in 2.00s =========================================

Here's the output of pip list:
root@ee5b086171df:/# pip list
Package                      Version
---------------------------- ---------
absl-py                      1.2.0
astunparse                   1.6.3
attrs                        21.4.0
cachetools                   5.2.0
certifi                      2022.6.15
charset-normalizer           2.1.0
flatbuffers                  1.12
gast                         0.4.0
google-auth                  2.9.1
google-auth-oauthlib         0.4.6
google-pasta                 0.2.0
grpcio                       1.47.0
h5py                         3.7.0
idna                         3.3
importlib-metadata           4.12.0
iniconfig                    1.1.1
keras                        2.9.0
Keras-Preprocessing          1.1.2
libclang                     14.0.1
Markdown                     3.4.1
MarkupSafe                   2.1.1
numpy                        1.23.1
oauthlib                     3.2.0
opt-einsum                   3.3.0
packaging                    21.3
pip                          22.2
pluggy                       1.0.0
protobuf                     3.19.4
py                           1.11.0
pyasn1                       0.4.8
pyasn1-modules               0.2.8
pyparsing                    3.0.9
pytest                       7.1.2
requests                     2.28.1
requests-oauthlib            1.3.1
rsa                          4.9
setuptools                   45.2.0
six                          1.16.0
tensorboard                  2.9.1
tensorboard-data-server      0.6.1
tensorboard-plugin-wit       1.8.1
tensorflow                   2.9.1
tensorflow-estimator         2.9.0
tensorflow-io-gcs-filesystem 0.26.0
termcolor                    1.1.0
tomli                        2.0.1
typing_extensions            4.3.0
urllib3                      1.26.11
Werkzeug                     2.2.0
wheel                        0.34.2
wrapt                        1.14.1
zipp                         3.8.1

It seems the problem now stems from flatbuffers (a dependency of TF?) instead of TensorFlow, so I'd be OK with closing this particular issue if you think it makes sense.

Closing. Please open against flatbuffers (though they might have already fixed it in newer releases, that TF cannot use yet)

Are you satisfied with the resolution of your issue?
Yes
No


How to implement RNCryptor in Objective c?

I don't understand the question. There is an ObjC implementation of RNCryptor (see the repo at RNCryptor/RNCryptor-objc).

Sorry my bad i am new to Encryption.I looking for ios -php encryption and decryption one of my friend suggest me this library, How to handle this in my end as well php end any sample for php.


Select Option for HTTP or HTTPS

Would be nice to get in a select tag the values  HTTP and HTTPS, save time.

great, it will be considered for the next realease

The majority of users prefers copy & paste over a select option.


AlphaZero+MCTS: Visit probabilities for invalid actions can be non-zero

Hey there - I've drafted an implementation of a custom environment for the (approximate) matrix semigroup reachability problem, which I've added to my fork here: https://github.com/bubble-07/turbozero. One thing that's currently puzzling me is that it appears that the environment consistently results in the assignment of non-zero visit probabilities to actions which are declared to be invalid. I've added a few debug prints and sys.exit() to core/train/trainer.py to track this down in my fork, and I'm able to reproduce the issue with:
python3 turbozero.py --verbose --gpu --mode=train --config=./example_configs/asmr_mini.yaml --logfile=./asmr_mini.log --debug

Output
torch.Size([6])
Populating Replay Memory...: 100%|██████████████████████████████| 4/4 [00:00<00:00,  8.11it/s]
Collecting self-play episodes...:  25%|██████▎                  | 1/4 [00:00<00:01,  2.03it/s]tensor([[-8.9384e-01, -3.4028e+38, -3.4028e+38, -3.4028e+38, -6.0272e-01],
        [-8.9384e-01, -3.4028e+38, -3.4028e+38, -3.4028e+38, -6.0272e-01],
        [-1.0662e+00, -3.4028e+38, -3.4028e+38, -3.4028e+38, -1.0292e+00],
        [-7.0420e-01, -3.4028e+38, -3.4028e+38, -3.4028e+38, -2.6667e-01]],
       device='cuda:0', grad_fn=<AddBackward0>)
tensor([[0.2525, 0.5455, 0.0000, 0.0000, 0.2020],
        [0.2525, 0.5455, 0.0000, 0.0000, 0.2020],
        [0.0100, 0.9800, 0.0000, 0.0000, 0.0100],
        [0.1700, 0.0000, 0.0000, 0.0000, 0.8300]], device='cuda:0')
tensor(inf, device='cuda:0', grad_fn=<MulBackward0>)

The first tensor printed is what the neural net yields for the policy logits (after masking out invalid entries), the second tensor is the empirical visit probabilities, and the third one is what the value for the policy cross-entropy loss is for the iteration. While the neural net's policy is correctly masked, it looks like the empirical visit probabilities aren't, judging from the second column. I've tried to pick apart where all of this was going wrong in the MCTS routine, but I unfortunately wasn't able to get far - have any handy ways to debug this?

I was able to reproduce, then correct the behavior you are describing.
First, in  16d2f3f, you move the legal actions assignment to before env.step, meaning that legal actions are calculated using the previous state of the environment rather than the current state, which results in invalid actions beings taken.
This is not the only source of invalid actions, however. I also realized that in my previously implemented environments,  I make the assumption that all rewards are positive. Your custom environment can assign negative rewards, which breaks some of the action choice logic that assumes rewards are always positive. It should be straightforward to allow for negative rewards, I'll link a commit to this issue that will resolve this problem.
Finally, I believe the inclusion of label smoothing in cross entropy loss causes policy loss values to be very very large numbers, as the policy logits corresponding to invalid actions are assigned to very large negative numbers rather than zero, leading to large loss accumulated for all of these logits. I will explore ways to allow for label smoothing as well, but the current implementation does not allow for this.
When I removed label smoothing and addressed the other two issues above, I saw reasonable loss values and did not detect any invalid actions.
On the topic of debugging, I use the VSCode debugger within a Jupyter notebook and set breakpoints, for this issue I set up some breakpoints to detect when an illegal action was chosen.
I think ideally there should be some built-in assertions to detect this exact situation, as this is how any issue usually manifests itself. Will look into that more as well.
Thank you for your patience and for pointing out this issue! Will have these problems resolved within the next day or two.

87fd4d8c allows for negative rewards/evaluations.
I'll keep this open until I address label smoothing as well, and perhaps debug asserts for detecting invalid actions in MCTS. Let me know if you run into any other issues in the meantime!


Make the test suite work even without network connection (this is not the right solution)

What happened:
All builds (and running test suites as part of them) of OpenSUSE packages (the same for every other Linux distribution) happen in the chrooted environment without the network access, which makes running of the test suite for this package extremely awkward. Most of tests fail because they require network access, which is a bad idea even for other reasons (mocking is the way to go).
What you expected to happen:
All tests are using mock and work without even accessing network.
Anything else we need to know?:
avoid_network_tests.patch is the solution of my problem, marking all tests requiring network access appropriately, and then skipping so marked ones, but the result is extremely awkward (“8 tests passed, 7 skipped, 54 deselected, 3 xfailed in 0.67s”), so this is more a plea for using more mock for testing.
Environment:

Dask version: ??? included?
Python version: 3.8
Operating System: Linux/OpenSUSE/Tumbleweed
Install method (conda, pip, source): OpenSUSE Packages

The test suite does NOT use the network, all responses are replayed from recordings that were made against the real storage system using vcrpy, a mocking package meant specifically for this purpose.

The test suite does NOT use the network, all responses are replayed from recordings that were made against the real storage system using vcrpy, a mocking package meant specifically for this purpose.

With the package python3-vcrpy-4.1.0-29.3 installed when running without any limits on pytest I get all those errors as recorded in the full build log (you can see also all version of all packages installed). Any idea, what do I do wrong?

This has been fixed by using the GitHub tarball. The VCR recordings are not packaged with the PyPI sdist.


repeat background image with no stretching

I am using a textured background with a height of 400px and am using on a page which is 4000px.
when i do
<Parallax bgImage="/images/texture.png" strength={5000} >
//content
</Parallax>

the background image does not repeat and it is stretched. Is there a way to repeat the image instead of stretching?
I note the implementation appears to use an  element so I do not know if this will be possible?

Yeah you are right. This won't work. You could use the renderLayer prop and implement your own transform:
<Parallax
            bgImage={'/path/to/another/image'}
            strength={400}
            renderLayer={percentage => (

use {percentage} to translate your background image here

            )}
        >

... Content

        </Parallax>

Or you can use the Background component
<Parallax strength={300}>
  <Background className="custom-bg">

element with background image

  </Background>
</Parallax>

I am trying your second approach. I have some content that is displaying correctly *prior to wrapping it in <Parallax>

            //many move divs here

.background-parallex {
    background-image:url('/images/texture2.png');
}

this all works fine (but no parallex.
I then wrap my content in Parallex:
<Parallax strength={300} >
                <Background className="custom-bg">

                       //many move divs here

                </Background>
            </Parallax>

and the output is a blank (white) page!
I can see my content it is in the DOM but neither the Parallax background nor the content is visible

Can you just create a minimal example on codesandbox? Just fork from the link in the readme. Otherwise I cannot give you a good answer.

Working  (but no Parallex)
Not working
Basically one is wrapped in Parallex and the other is not - the working example provided just to show the background image is working/referenced correctly.
When resolved I could create a PR for you to add to examples page if you wish

hi @rrutsche are those examples suitable?

hi @wallaceturner,
the example you posted is not configured properly:
First of all you nested two <Background /> components. I did not try this before but I think this will not work. Also you added the backgroundImage styles twice - to the <Background /> and also to the underlying div.
But the main thing that makes the example not working is the missing content inside the <Parallax />. Your "lorem ipsum" should not be inside of the <Background />. This one is positioned absolutely and will only get visible if there is some scrollable content. I forked and reconfigured your codesandbox snippet so you can get an idea of the usage: https://codesandbox.io/s/great-banzai-yo19h
Hope it helps.

I also added an example to my original sandbox snippet.

hi @rrutsche thanks for that - re: my examples sorry about that I dont know what i was doing nesting the Background
The style attribute requires a height and width - this assumes you know the page height in advance or it seems you can just set it to a large number (say 10,000px) without affecting the actual page but allowing for future increases in actual page height

Yeah using fixed values is not the best solution, it was just an example. But you can always use e.g. viewport width/height.
In case of height this should probably be a value bigger than the height of your parallax section. So if the parallax covers the whole screen for example, you should  use a value bigger than 100vh depending on the strength you use.

I think this can be closed right? Feel free to reopen the ticket if there is any issue related to this one.


Remove permalinks for all sections that are part of the OS specific tabs

Fixes #97
This change filters out all headers that are part of the OS tabs because they do not link correctly and the alternative would be to change the id's for all of them to be unique.

Normal permalink in Explore YSQL page

Removed permalink in OS specific section

Can review once you address conflicts @yb-andrew

@yb-andrew can you rebase there seems to be conflicts.


Flickering

Hi, I compiled and ran your program, it works but I get a lot of flickering (blue, red, blue, red). I would like to know if you have the same problem.
I am using Ubuntu.
Thanks in advance.

Hi,
I'm on Mint, so Ubuntu should be fine! Does it technically work? The coloring should be dependent on delta time between frames, so shouldn't flicker (well, theoretically).
Do the particles disappear as fast as the colors change or is it just colors?
Best regards,
Maurice

Hi,
The problem was my old computer not the software, sorry for the inconvenience.
Best regards,
Leif

Hey,
alright, that's good to hear! No inconvenience at all, thanks for reporting back so I can close the issue.
Best regards
Maurice


Code coverage shows potential bugs/missing items in tests

From rms-webtools created by rfrenchseti: SETI/rms-webtools#52

rules/COCIRS_xxx.py never executes the loop at 1108 or the if at 1116.
rules/COUVIS_0xxx.py doesn't exercise various branches in DATA_SET_ID()
rules/COVIMS_0xxx.py doesn't exercise various branches in OPUS_ID_TO_PRIMARY_LOGICAL_PATH()
filename_keylen is never tested
tests/test_pdsfile_blackbox.py The clause at line 1271 is never executed
tests/test_pdsfile_blackbox.py The loop at line 3042 never starts
tests/test_pdsfile_whitebox.py The loop at 877 never starts

Neither. There are no new tests - this is a bug report on existing code. The bugs aren't new - they've been there for a long time. I just noticed them with code coverage analysis.
Code coverage has shown that certain parts of the test suite are not being executed. This shows a bug or deficiency in the test suite itself, since test suites should always run at 100%. However, the problems with the test suite may hide detection of actual bugs in the code. Dave, who understands both the code and the tests, needs to figure out which is true in each case.
I am not yet aware of new bugs in the code being tested at this point.

Please clarify which is new:  the bug, or the test revealing the bug.


Support creating windows from existing handles

Summary of feature
As far as I can tell Silk.NET insists on owning all window management itself. This makes it unsuitable for integration into other applications using toolkits such as Windows Forms, WPF or similar.
I am not requesting that you implement support for all possible toolkits out there. However, if there was a way to point Silk.NET to an existing HWND (and similar abstractions for other windowing systems) and use that for rendering it would go a long way.

Hi there! Thanks you for choosing Silk.NET and suggesting this.

As far as I can tell Silk.NET insists on owning all window management itself.

This isn't strictly true. In all versions you have been able to tack on your own windowing system, albeit it was less trivial in older versions, but newer versions implement the new Context API, which allows you to implement a relatively small IGLContext interface and pass it along to GL.GetApi(IGLContext). And heck, even if that's still too much, you can just pass along a lambda for a GetProcAddress delegate.

However, if there was a way to point Silk.NET to an existing HWND (and similar abstractions for other windowing systems) and use that for rendering it would go a long way.

This sadly isn't something we can't easily support given that GLFW (currently our only first-party windowing backend) doesn't support creating windows from existing handles at the moment, and we won't be able to provide a windowing implementation without binding to each of the native APIs. However, this may change in Silk.NET 2.0 when the SDL backend gets in (as SDL has the SDL_CreateWindowFrom function which supports HWNDs iirc).
In conclusion, we'll be able to support this in the main library hopefully by the end of the year via SDL. If you need something to use today, I recommend whipping up a minimal set of WGL bindings so you can either implement IGLContext proper (which won't do anything special until 2.0's validation features are in) or just pass wglGetProcAddress to GL.GetApi() like so:
var gl = GL.GetApi(x => wglGetProcAddress(x));

Indeed this is a very important feature!
It would allow me to integrate my engine DLL into a Winforms editor application. I exclusively use Vulkan, so using OpenGL specific code is not an option...

@FrostByteGER For Vulkan can’t you just use the KHR_win32_surface extension and pass in your winforms hwnd?

Ac

@FrostByteGER For Vulkan can’t you just use the KHR_win32_surface extension and pass in your winforms hwnd?

Actually yes, that should work!
As a sidenote this requires me to abstract the Silk.Net integration in my engine

This was pushed back to 3.0? :( @Perksey

That was a mistake, have moved to 2.0 but with the help wanted and good first issue because we don't know where this fits into the preview cycle or if it'll make initial release yet, as we have a lot of issues to work through between now and the new year.

Ah I see! I'll take a look into your fresh 2.0 Preview 2, maybe I can help a bit :)

Ah I see! I'll take a look into your fresh 2.0 Preview 2, maybe I can help a bit :)
Much appreciated! Should be a little easier now that we have the SDL backend!

Resolved in #340. In 2.0 Preview 3, there'll be a SdlWindowing.CreateFrom method which allows you to pass in a native window handle such as a HWND. SDL is not capable of picking up on an existing OpenGL context, so you'll need to whip up your own IGLContext in order to get windowing's OpenGL features to work.
TL;DR give a HWND and maybe a context to SdlWindowing.CreateFrom and it'll give you an IView.
If you're on a desktop platform, the returned IView will probably also implement IWindow

In case anyone else ends here (or here #1160) searching for a way to only use the OpenGL function bindings of Silk.NET (i.e., without the windowing system or context creation), the following helped me:
https://sharovarskyi.com/blog/posts/csharp-win32-opengl-silknet/

Good find!


Add license

Great tutorial! Can you add a license to the project so we know what is fair use and proper attribution?
Thanks!

Added! 👍


[Live Components] updateFromParent seems not to be working on dataModel parent-child binded properties

Imagine 2 components like this :
parent_component :
<div {{attributes}}>
    <select data-model="on(change)|postId">
        {% for post in this.posts %}
            <option value="{{ post.id }}"
                    {% if post.id==postId %}
                        selected
                    {% endif %}
            >{{ post.title }}</option>
        {% endfor %}
    </select>

    <input name="title-editor" data-model="post.title" />

    {{ component(child_component, {
        dataModel: 'post.title:title post.content:content',
        'data-live-id': 'post-edit-'~postId
    }) }}

</div>

child_component :
<div {{ attributes }}>
    <input  data-model="debounce(500)|title"/>
    <input  data-model="debounce(500)|content"/>
</div>

child_component title and content properties are both writable and updateFromParent LiveProps.
If you change title-editor input value, it will update the title in the parent component (select is re-rendered), but not in the child component.

I wonder if updateFromParent from 2.8 would fix this? https://symfony.com/bundles/ux-live-component/current/index.html#each-component-re-renders-independent-of-one-another
In the code's current form, even if it's not what you want, I actually agree with how it's working right now. Once a child component is rendered, its writable props (e.g. title in this case) become, sort of, "local data": even if the parent re-renders, the child keeps that writable data. The new updateFromParent might allow you to override this behavior.