loading fixtures from external JSON data file

Just wondering if there's any advice on simple way to have the fixture data be loaded from a JSON file. I have a bunch of JSON files from API endpoints which are auto generated and would just like to import them. I think this is a common enough scenario that a mention of it might be worth having in the docs too.
When doing HTTP mocking I just added the following:
var listResult = JSON.parse(fs.readFileSync('server/data/actions.json', {encoding:'utf8'}));

but with Mirage and HTTP faking I don't have access to the filesystem so that results in two problems for me:

No easy synchronous way to load data payload
Limited to loading data off the "http served/faked" path as no direct file access is possible

I'm just starting to try and put my head around the first one and my solution to the second seems a bit but is to put the JSON files into the public/data directory so they're accessible and then find some way to avoid doing this on production/non-mirage builds.

This would require some further exploration. I imagine it'd be possible to get the json files as part of the static output, but this is not super high priority for me right now :/
Feel free to explore + jot down any discoveries you make here.

@ksnyde Were you able to make it work? We are running into this need as well and if you were able to make it work, I'd appreciate any thoughts on your experience.

There's a loadFixtures API, so if your files exported the data and they
were in mirage/fixtures you should be able to use that API in the default
scenario.
On Wed, Oct 14, 2015 at 8:38 PM Liam<EMAIL_ADDRESS>wrote:

@ksnyde https://github.com/ksnyde Were you able to make it work? We are
running into this need as well and if you were able to make it work, I'd
appreciate any thoughts on your experience.
—
Reply to this email directly or view it on GitHub
https://github.com/samselikoff/ember-cli-mirage/issues/160#issuecomment-148241833
.

http://www.ember-cli-mirage.com/docs/v0.1.x/server-configuration/#loadFixtures

I hade a slightly different scenario, where I have all my fixtures in one file, and an easy workaround to get this to work is to have a default scenario like this:
import fixtures from "my-app/fixtures/dummy-data";

export default function (server) {

   fixtures.companies.forEach((company) => {
      server.create("company", company);
   });

  // ...
})

Where the dummy-data file just returns an object.

Nice. There's also a db.loadData api, which takes a hash and creates a db table for each key, and inserts the value as the data
import fixtures from "my-app/fixtures/dummy-data";

export default function (server) {
  server.db.loadData(fixtures);
})

unless of course you're using factory attributes.

Yeah, in my case, my fixtures are missing some fields (like dates, ..)
which are generated via the factories.
On Thu, Oct 15, 2015 at 1:56 PM, Sam Selikoff<EMAIL_ADDRESS>wrote:

Nice. There's also a db.loadData api, which takes a hash and creates a db
table for each key, and inserts the value as the data
import fixtures from "my-app/fixtures/dummy-data";
export default function (server) {
server.db.loadData(fixtures);
})
unless of course you're using factory attributes.
—
Reply to this email directly or view it on GitHub
https://github.com/samselikoff/ember-cli-mirage/issues/160#issuecomment-148365468
.

makes sense

Closing due to inactivity.


New custom fields

So we ended up going with a completely different solution that made these modifications to the fork unnecessary.
We are now using the normal version of comma, yay!


YARN-11746. NodeManager should shutdown when PublicLocalizer is exiting.

Description of PR
I found that PublicLocalizer is exiting, because of the /tmp directory was deleted by mistake, then throw NPE, then causing spark job to be stuck.
YARN-9968 have resolve the NPE problem. For me, I think when the PublicLocalizer thread exits, the NM should be shut down, because there is no point in keeping an abnormal NM running.
How was this patch tested?
manual test
For code changes:

[x] When PublicLocalizer is exiting, shutdown the NodeManager.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
17m 16s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m 46s

trunk passed

+1 :green_heart:
compile
1m 24s

trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
compile
1m 20s

trunk passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
checkstyle
0m 40s

trunk passed

+1 :green_heart:
mvnsite
0m 44s

trunk passed

+1 :green_heart:
javadoc
0m 47s

trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javadoc
0m 40s

trunk passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
spotbugs
1m 26s

trunk passed

+1 :green_heart:
shadedclient
33m  8s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 32s

the patch passed

+1 :green_heart:
compile
1m 15s

the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javac
1m 15s

the patch passed

+1 :green_heart:
compile
1m 12s

the patch passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
javac
1m 12s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 27s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager: The patch generated 1 new + 93 unchanged - 0 fixed = 94 total (was 93)

+1 :green_heart:
mvnsite
0m 33s

the patch passed

+1 :green_heart:
javadoc
0m 34s

the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javadoc
0m 31s

the patch passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

-1 :x:
spotbugs
1m 25s
/new-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.html
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

-1 :x:
shadedclient
32m 56s

patch has errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
15m 21s

hadoop-yarn-server-nodemanager in the patch passed.

+1 :green_heart:
asflicense
0m 37s

The patch does not generate ASF License warnings.

147m 20s

Reason
Tests

SpotBugs
module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager

org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService$PublicLocalizer$1.run() invokes System.exit(...), which shuts down the entire virtual machine  At ResourceLocalizationService.java:down the entire virtual machine  At ResourceLocalizationService.java:[line 1025]

Subsystem
Report/Notes

Docker
ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7239/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/7239

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 8faa8ff98ef8 5.15.0-124-generic #134-Ubuntu SMP Fri Sep 27 20:20:17 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 5cbe556c3fb7159f2202be1f18fbf3d8bbd65715

Default Java
Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7239/1/testReport/

Max. process+thread count
637 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7239/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Add health check if migrations are uptodate

What is the feature?
It would be nice to have an optional healthcheck that checks if all pending migrations have been applied.
What benefits will this change bring?
Applications can go live/be indicated as healthy when all migrations have been applied

@timohund Thanks for working on this.


Doc/readme update entry documentation

Pull Request
What does this PR do?
Fixes #487
The PR update the readme by adding some information to prevent a missconfiguration of transformentry by user and fix an anchor link on the documentation
PR checklist
Please check if your PR fulfills the following requirements:

[X] Does this PR fix an existing issue?
[X] Have you read the contributing guidelines?
[X] Have you made sure that the title is accurate and descriptive of the changes?

bors merge


control doesn't correctly manage dynamic lists

The scenario:
There are 2 selection fields
second uses different lists based on selection in first one.
Mulitvalue control sums all possible values instead of build filtered list like dropdown does.
For example for the following definitions:
field name="f1" refname="f1" type = "string"
allowedvalues expanditems="true
listitem="i1"
listitem="i2"
allowedvalues
field
field name="f2" refname="f2" type = "string"
WHEN field="f1" value"i1"
suggestedvalues expanditems="true
listitem="s1"
istitem="s2"
suggestedvalues
WHEN
WHEN field="f1" value"i2"
suggestedvalues expanditems="true
listitem="s3"
istitem="s4"
suggestedvalues
WHEN
field
multivalue always returns all items:
s1
s2
s3
s4
regardless what items is selected for F1

The Multivalue control needs to properly support dynamic lists like the normal select list does. I've seen the same behavior where the conditions are ignore and the list just shows everything. It sure would be nice if the developers would fix it.


Switch the model for SemanticsNode to use dart:ui types

This will make it easier to switch to SemanticsUpdateBuilder.

@Hixie


Sandboxing

Parse SputnikMusic.com webpage for trending albums
a lot of boilerplate

should probably take care of the readme

aahhh style guide
move all this random existential stuff to github issues

:trophy: best code, 2016.

:cool:

you guys should star my repo and work with me on it


[BUG] Almost every entity is marked as singular for external cds service

Is there an existing issue for this?

[X] I have searched the existing issues

Nature of Your Project
JavaScript
Current Behavior
After update to the v0.21.2, almost every entity of our external service is marked as is_singular. Like this:

Expected Behavior
For example, entity Studies should not be marked as is_singular.
Steps To Reproduce
No response
Environment
| @cap-js/audit-logging  | 0.8.0                                                 |
| @cap-js/cds-typer      | 0.21.2                                                |
| @cap-js/cds-types      | 0.2.0                                                 |
| @cap-js/sqlite         | 1.7.1                                                 |
| @sap/cds               | 7.9.2                                                 |
| @sap/cds-compiler      | 4.6.2                                                 |
| @sap/cds-dk            | 7.9.3                                                 |
| @sap/cds-dk (global)   | 7.9.3                                                 |
| @sap/cds-fiori         | 1.2.4                                                 |
| @sap/cds-foss          | 5.0.0                                                 |
| @sap/cds-hana          | 2.0.0                                                 |
| @sap/cds-indexer       | 1.0.14                                                |
| @sap/cds-mtxs          | 1.18.1                                                |
| @sap/cds-shim          | 0.5.45                                                |
| @sap/eslint-plugin-cds | 3.0.3                                                 |
| Node.js                | v18.14.1                                              |

Repository Containing a Minimal Reproducible Example
No response
Anything else?
No response

Hi @tihollinger ,
good catch, thanks for reporting this issue!
I have prepared a fix for this. Would you like to give it a whirl on your model before I merge it?
Best,
Daniel

Hi @daogrady ,
thanks for the quick fix! I tried it with my model and it works like a charm!
Best,
Tim

Hi Tim,
thanks for the confirmation, glad it works for you!
Best,
Daniel


[network] Add a ConnectivityBuilder to encapsulte create/build/start

Blocked on moving the configuration change listener.

Motivation
Make a modular ConnectivityManagerBuilder to encapsulate the create/build/start phases associated with instantiating ConnectivityManager
Incremental step towards modularizing network-builder according to #4626
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
dont break existing tests
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

@davidiw

Might be worth exploring some templatization here -- if that's even possible...
@bors-libra r+

:pushpin: Commit 3199c6e has been approved by davidiw

:hourglass: Testing commit 3199c6e3221cb52284097dc206168bafed50248c with merge 09e50d14d645a8bcdaae2d4e953dfe48531d3184...

:broken_heart: Test failed - checks-circle_commit_workflow

@davidiw lint failure caused by a set of imports becoming unused in conjunction with concurrent PR.

@gregnazario

Let's see if we can come back on another pass after these to share at least a Builder trait. The trait would be paired with an enum for the internal state machine, and have build and start functions. That'll cut down on duplicated code and help a little enforcing the paradigm.

I think this is a good idea in principle, but the question becomes where that trait should be defined.
And that is a HARD problem to solve.

@bors-libra r=gregnazario

:pushpin: Commit a762d14 has been approved by gregnazario

:hourglass: Testing commit a762d1454827b7c07d2a3188a143d48b7a53dc35 with merge fe9e27bec48fb6efb0fad499387a0c2a48e55cae...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: gregnazario
Pushing fe9e27bec48fb6efb0fad499387a0c2a48e55cae to master...


ERROR: Failed building wheel for pyarrow

Dear team,
I am trying to install
pip install "sqlmesh[web]"
but I get the error in the topic adding this: RuntimeError: Not supported on 32-bit Windows
Any tips?
Thanks
Carmine

Hello - thanks for reaching out. What version of Windows and Python are you running?
Also, could you run this in Python?
>>> import struct
>>> struct.calcsize("P") * 8

Hi @treysp ,
running this
print(platform.platform())
print(platform.system())
print(platform.release())
print(platform.version())
print(platform.version().split('.')[2])
print(platform.machine())

output:
32
Windows-10-10.0.22621-SP0
Windows
10
10.0.22621
22621
AMD64

and yes  I can run the above command:
>>> import struct
>>> struct.calcsize("P") * 8

Thanks! What value does the struct.calcsize("P") * 8 command return?

Also, are you using a virtual environment or a system python install?

The core of the problem is that pip is pulling libraries for a 32-bit python version, so you need to make sure you have a 64-bit version of python installed on your machine and that Windows hits it on the PATH.

Thanks! What value does the struct.calcsize("P") * 8 command return?

return 32

Also, are you using a virtual environment or a system python install?

following the documentation I am using a Virtual Env

The core of the problem is that pip is pulling libraries for a 32-bit python version, so you need to make sure you have a 64-bit version of python installed on your machine and that Windows hits it on the PATH.

Ok, I'll try it

Hi @treysp, I installed the right version of python.
But now I get another error message:
 ERROR: Failed building wheel for duckdb Successfully built pandas Failed to build duckdb ERROR: Could not build wheels for duckdb, which is required to install pyproject.toml-based projects


nix-shell: remove cf-private for darwin

it's quite heavy dependency (500MB+ IIRC) and it's not needed.
I didn't test this locally (will setup macos CI), so I'd appreciate someone checking that watchdog executable doesn't kaboom on startup.

Works fine on my macbook:
➜  pyramid-realworld-example-app git:(domenkozar/remove-cf-private) poetry run pserve etc/development.ini --reload
Starting monitor for PID 86023.
Context impl PostgresqlImpl.
Will assume transactional DDL.
Starting server in PID 86023.
Serving on http://<IP_ADDRESS>:8080
/Users/zupo/work/pyramid-realworld-example-app/src/conduit/article/views.py changed; reloading ...
Gracefully killing the server.
Starting monitor for PID 86066.
Context impl PostgresqlImpl.
Will assume transactional DDL.
Starting server in PID 86066.
Serving on http://<IP_ADDRESS>:8080


qiskit-ibm migration

What is the expected enhancement?

[x] Remove IBMQ global variable
[x] Merge IBMQFactory and AccountProvider into one class IBMProvider
[x] Rename classes from IBMQ* to IBM*
[x] Make IBMProvider an entry point to simplify initialization, improve performance for code snippets that require working with only a single provider
[x] Rename master to main
[x] Move old releasenotes to archive folder
[x] Update license header copyright year to 2021
[x] Rename IBM Quantum Experience to IBM Quantum
[x] Rename IQX to IBM Quantum in text and IQX to IBM in code
[x] Add migration guide for qiskit-ibmq-provider users
[x] Unit tests & Integration tests for IBMProvider initialization
[x] Add mock for IBMProvider to be used in docs
[x] Review tutorials again to check the flow

After release

[ ] Deprecate qiskit-ibmq-provider
[ ] Deprecate IBMQ in qiskit-terra (probably only need to update message)
[ ] Update qiskit-experiments to use the new repo
[ ] Open issue for UI team to update IBMQ.get_provider() text in IBM Quantum account details
[ ] Open issue to update https://github.com/Qiskit/qiskit-tutorials
[ ] Update qiskit-rng

1


Field "Name" character limit restrictions

Steps to Reproduce the Bug:

Log in.
Navigate to the "Equipment" section.
Click the "Add Equipment" button.
In the "Register New Equipment" form, the "Name" field should have a character limit of 150 characters.

The result obtained:

In the "Register New Equipment" form, the "Name" field  has a character limit of 50 characters.

Expected behaviour:

In the "Register New Equipment" form, the "Name" field should have a character limit of 150 characters.

Verified. Done.


WIP - F# compiler guide

This brings the F# compiler technical guide and associated F# compiler service documentation into a new section aimed at giving people a technical dive into the F# compiler and the F# compiler service. The primary audience is those who are interested in contributing to the F# compiler and tools, but it also serves as a technical document for how a modern compiler works.

This is still heavily in progress, as there is much cleanup remaining and multiple sections need updating, especially:

Notes on performance
.NET Framework-specific information
How the .NET Core F# compiler does a few things differently (e.g., assembly resolution, the build)

I can handle most of the performance stuff, but others would need input from @dsyme and @KevinRansom.
@baronfel and @Krzysztof-Cieslak this may also be of interest

Also @vzarytovskii and @auduchinok FYI

Oh this is great!
I'd always thought this would land in dotnet/fsharp, but am happy to have it on the .NET docs

Is the goal here to kill docs we host for FCS right now (http://fsharp.github.io/FSharp.Compiler.Service/)?
If so

Make sure all docs present there are ported
They include good Japanese translation ( rather than automatic translations that are used for .NET docs)

Is the goal here to kill docs we host for FCS right now (http://fsharp.github.io/FSharp.Compiler.Service/)?

Good question
Right now I think it's bringing over https://fsharp.github.io/2015/09/29/fsharp-compiler-guide.html

Ah no it's also FCS I see

The compiler technical guide - yes.  Though it's so technical why not dotnet/fsharp?  With a good landing page on dotnet/docs for the F# compiler?

I do feel a bit quesy about taking the FCS docs out of a repository where they are checked and processed against the software.  They are showing how to use an API.  These sort of docs are impossible to maintain in a separate repo and without string checking - I wouldn't even want to try to do that - and this API will certainly evolve further.
I guess I don't think it will stand the test of time to have them in dotnet docs.

Agreed we shouldn't lose the multi-language docs for FCS if the community have contributed them?

I'd imagine compiler content hosted both on https://fsharp.github.io/ and http://fsharp.github.io/FSharp.Compiler.Service/ should get unified in someplace given that there's a plan for having single repo/releasing FCS out of dotnet/fsharp
But I'm not sure if .NET docs are good place for those docs - mostly due to lack of static checking of snippets, more difficult contribution/slower release cycle, and potentially loss of the multi-language docs.
I think we should host those docs as part dotnet/fsharp

I think we should host those docs as part dotnet/fsharp

Yup updated my comment to say the same thing.  Though a landing page for "The F# Compiler" of "F# Tooling" on dotnet/docs would be great (and could link to Ionide, Fable, WebSharper too)

A primary goal here is SEO - docs.ms has superior SEO and if we want more eyes on guides for how this stuff works, this is a good way forward. I don't think it means any other docs need to go away. This can be purely additive.
The docs are translated and there is a way to port over a Japanese version that's been hand-translated. It's not a problem.
This PR brings over the FCS docs that are referred to in the compiler guide. Those sections could simply be removed if you like. I'm also unsure why checking of snippets is being considered here. There are no snippets being checked in the docs that I've updated here.
Ultimately these don't need to be here, but there are some downsides to not being a part of a major documentation system to consider.

I don't think fairly specialized content (compiler guide/FCS guide/etc) needs to be prioritized for SEO - developers that will use it will already know that they should look for it inappropriate place anyway, especially if we'd put it in dotnet/fsharp and link in readme.
So I don't believe it should be our priority here. And we discuss snippets in context of my original question Is the goal here to kill docs we host for FCS right now - if that's the plan, typechecking  of snippets is really important discussion point (more important than SEO, in my view)

I think the goal is good compiler/tooling content for F# on dotnet/docs?

I'm also unsure why checking of snippets is being considered here. There are no snippets being checked in the docs that I've updated here.

Ah right, I see, it's not the full literate FCS docs, just a couple of articles.
@Krzysztof-Cieslak That answers part of your question - it's not all of FCS technical docs, so the goal is not to kill those docs

Just to say I'd be pretty excited about

having F# Tooling content on dotnet/docs

having a docs directory in dotnet/fsharp (hence https://dotnet.github.io/fsharp) that offered good maintainable checked literate content in the standard fashion, plus FCS generated docs there, both auto-published from master

A primary goal here is SEO..

I think there's a related factor of "bringing credibility to participating in F# tooling".
The F# presence on docs.microsoft.com is really good and plenty of F# traffic heads there.  I think it would be wonderful if people just naturally saw "F# Tooling" and started to learn how to contribute, with links to the major tooling efforts

So I think there's no harm at all in not including FCS docs here. If those make the most sense to just be hosted via the FCS site, I've no issue with that. But the sections of the compiler guide that reference those docs need to either link out (trivial), be removed if we want this to be solely about the F# compiler, or adjusted to state what the FCS docs state but purely from the perspective of the compiler. I initially chose to include them here to preserve most of the content, but I've got no issues changing that.
Another purpose here - which I want to include in an index of some sort - is to further emphasize that F# is OSS and you can meaningfully contribute to it. Right now the docs are more "this is a product" and that gives off a bit of a message that's more about consumption rather than consumption + contribution.
Ultimately if this whole thing makes the most sense to host on GitHub I'll change it to do that. I just think that having more of a presence of the OSS nature of F# in these docs is a benefit, and there are some technical aspects of hosting docs here that are wonderful.

Another purpose here - which I want to include in an index of some sort - is to further emphasize that F# is OSS and you can meaningfully contribute to it.
I just think that having more of a presence of the OSS nature of F# in these docs is a benefit, and there are some technical aspects of hosting docs here that are wonderful.

I love these goals

I'm going to keep the two FCS documents in here while I flesh out the documentation, but I plan on removing them and linking to FCS docs proper (with a contribution to FCS docs for these articles). It's handy to have them present right now since I'll likely be making some changes as I go through the tooling-specific things, especially as it pertains to performance.

@dsyme I left some TODOs in the text here specifically for you. Would you mind going through them?
Separately, I:

Rewrote the perf section, focusing more on general concepts and techniques and removed the out of date data
Revamped and reworded some various things
Updated all links and names of concepts
Removed lots of outdated info
Added more examples and descriptions of optimization passes

Each can be improved but overall the document is in much better shape now.
The big one left is the discussion about resource files. I don't know how to handle that one, aside from removing some mentions of differences with C# that are no longer the case.

@dsyme I left some TODOs in the text here specifically for you. Would you mind going through them?

It's on my todo list, hopefully tomorrow

For what it's worth, the FCS docs are almost buildable using FSharp.Formatting: https://github.com/baronfel/fsharp/tree/fcs-docs.
The major missing feature in FSharp.Formatting is multi-language support for the generated pages, which will be a blocker to completing the work.

The major missing feature in FSharp.Formatting is multi-language support for the generated pages, which will be a blocker to completing the work.

Could you add an FSHarp.Formatting issue describing what we think we need? https://github.com/fsprojects/FSharp.Formatting/
Presumably https://github.com/baronfel/fsharp/tree/fcs-docs/docs/fcs/docs/ja all get processed already?  What else is needed?

In https://github.com/baronfel/fsharp/tree/fcs-docs/docs I think just move all of those docs into docs\service?

Could you add an FSHarp.Formatting issue describing what we think we need?

yep! I was collecting screenshots and descriptions of what I think the gaps are and what other tools do here.


Item not animating on mobile/tablet unless I scroll

I have a link that is not animating unless I initiate a scroll on mobile/tablet.
There are other elements with animation properties near it that animate just fine on page load (elements are above the fold) I even tried adding the "top-bottom", which is surely the case when the page loads.
http://www.nfmt.com/orlando2017/default2017.aspx
Register Today for Free!

Have you tried setting this option?
AOS.init({       startEvent: 'load'     });

Thank you!

@mffallon You're welcome. It worked?

Yep! Did the trick for mobile/tablet issues I had - thanks again.


Fix 1.15 build by pinning Delve

Pin delve to 1.9.0 in 1.15 to match 1.17+.

This doesn't work:
#7 20.87 package<EMAIL_ADDRESS>cannot use path@version syntax in GOPATH mode

Going to just remove dlv altogether since we don't need it.


Fixe Android TouchEffect crash

Description of Change
Prevent TouchEffect crashing on Android when an effect is applied to Image on Android API below 23.
Problem: setForeground method is available starting API 23.
Solution: just ignore native animation if API is not available.
Bugs Fixed

Fixes #737

API Changes
None
Behavioral Changes
None
PR Checklist

[ ] Has tests (if omitted, state reason in description)
[X] Has samples (if omitted, state reason in description)
[X] Rebased on top of main at time of PR
[X] Changes adhere to coding standard
[ ] Updated documentation

A new build for this PR has been completed. As a result a NuGet has been created which allows you to verify this fix or try out the new feature! Download here

A new build for this PR has been completed. As a result a NuGet has been created which allows you to verify this fix or try out the new feature! Download here


Update release note generator

If no release note or N/A comment exist on an issue, fallback to Issue Title.


Speed up tagpack insert

https://github.com/graphsense/graphsense-tagpack-tool/blob/develop/bin/tagpack-tool#L356

@mdragaschnig we can close this issue right?

merged in 8cd22b131f7f6cdd1e7b906949b4bd0299de8883/ https://github.com/graphsense/graphsense-tagpack-tool/pull/96


When abidiff fails print out the XML diff

This can be useful for fixing the CI if needed
without the necessity to run abidw locally.
Also rename the CI job to make its purpose clearer.

This works well as seen here: https://github.com/openssl/openssl/actions/runs/6826477660/job/18566502840?pr=22689

Ping for reviews

Ping @openssl/committers for second review

ping for second review

This pull request is ready to merge

Merged to the master branch. Thank you for the reviews.


Consider refactoring stack image: separate out mvn repository, outer loop dirs, inner loop WLP install

Right now we build a stack image with

mvn repo
OL install
inner/outer loop work/output dirs

and we use the stack image both for the inner loop and stage 1 of the outer loop build.
This doesn't seem awful.. but we need to consider if there is an even better way to do things.
E.g. another idea would be to have three images:

a maven cache
an inner loop stack image building on this maven cache
an outer loop stack image with working directories, also building on this maven cache.

How do the pros/cons of having a more fine-grained build measure up against the complexities of managing more releases with more different versions?  What if we want to service one without disturbing the other ?
Maybe just a placeholder to think about it.

Also the OL version defines the cache contents:  the OL install and all the Maven Liberty features, so it arguably should be part of the tag name.

Having done an initial POC this doesn't seem as promising.   Anyone picking this up should discuss with the team first before spending time on it.

Closing for now.


Add summary credential info to the IAM User template

Add summary credential info to the IAM User template
Rationale

Add visibility into an IAM Users credentials

How was it tested?
If it was manually verified, list the instructions for your reviewers to follow.

[ ] Unit Tests
[ ] Functional Tests
[ ] Manually Verified

Current status:
Attempting to fix bug where the AccessModel fields aren't being correctly evaluated for the Credentials model.
An access key for one account was being returned for another account on apply during the functional tests.

we will merge this PR, and then follow up with other improvement.


Better API

Current API is exactly the same (or similar) as original JS react-navigation API. It has it's limitations and in Reason it doesn't work so well. The ideal navigation definition would be done using variants. It allow to have very strong types, pass params to specific screens or event create special mapping between deep linking and navigation.
Here is some quick sketch of something I have in mind. Only thing I'm missing is how to convert it to react-navigation API.
type routeConfig('route) = {
  screen: (~navigation: navigationScreenProp('route)) => ReasonReact.reactElement,
  navigationOptions: option(unit),
};

type stackNavigatorConfig;

module type Config = {
  type route;
  let pathToRoute: list(string) => route;
  let routeToScreen: route => routeConfig(route);
  let stackNavigatorConfig: stackNavigatorConfig;
};

module Config = {
  type route =
    | ProductsList
    | Product(string);

  /* for deep linking we can convert path to route */
  let pathToRoute = path =>
    switch (path) {
    | ["products", id] => Product(id)->Some
    | ["products"] => ProductsList->Some
    | _ => None
    };

  let routeToScreen = route =>
    switch (route) {
    | ProductsList => route(
        ~screen=(~navigation) => <ProductsList navigation />,
        /* Whole navigation configuration per screen */
      })
    | Product(id) => route(
        ~screen=(~navigation) => <Product navigation id />,
      )
    };

  let stackNavigatorConfig = {/* ... */};
};

Thanks for your effort on this. Before you update this package, I was adapting binding from this. As a binding to react-navigation, I am not sure it worth the effort to radically change the API to make idiomatic with ReasonML. I am sure you also seen rebolt

rebolt-navigation is great but it's build from scratch. I would really like to contribute more to have true Reason navigation library for React Native. This library started as my experiment to see how hard it would be to create bindings to react-navigation and still I'm not sure if this is correct direction.

Thanks @baransu for your work on this. I will get back to using it in few days, and will give my feedback. I can't wait to see the improvements as you started using it heavily. Cheers.

AltLayer Airdrop Season One Update

🚀 Exciting Announcement! AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 300,000,000 (3% of the total supply)
Distribution Categories:

Ethereum Mainnet
Binance Mainnet

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 03, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
martin-spa, @jbowa, @eng-cc, @GuilhermeWerner, @qgadrian, @braulio94, @wangyufeng0615, @feishu, @kmazz, @bekatom, @rgaither, @gpahal, @MuuKojima, @zlhaa23, @daisuke-t-jp, @Singularity-Coder, @waibolaobing, @gene1995, @dnovais, @FredericRezeau


Support for Mionix Naos 8200 or others of them

Hi there, i've got a Skiller Mech SKG3, a Lenovo Legion Y740 and a Mionix Naos 8200 Mouse. It would be super awesome if i could sync all 3 of those together. Any chance that you could implement that?

There does not appear to be an SDK available for any of those devices. An SDK is required to allow Aurora to communicate with the device. The SDK is made by the vendor, it is not something we can create easily. The other option is to try and reverse-engineer the data being sent to the devices, however this is an incredibly difficult and time consuming task, and even then may not work.


Build Scalar with ArrayRef

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Describe the solution you'd like

I want to build Scalar with ArrayRef, but I got an err
error[E0277]: the trait bound `std::sync::Arc<arrow_array::GenericListArray<i32>>: arrow_array::Array` is not satisfied
    --> datafusion/common/src/scalar/mod.rs:3352:29
     |
3352 |         let s = Scalar::new(arr);
     |                 ----------- ^^^ the trait `arrow_array::Array` is not implemented for `std::sync::Arc<arrow_array::GenericListArray<i32>>`
     |                 |
     |                 required by a bound introduced by this call
     |
     = help: the trait `arrow_array::Array` is implemented for `std::sync::Arc<(dyn arrow_array::Array + 'static)>`
note: required by a bound in `arrow_array::Scalar::<T>::new`
    --> /Users/jayzhan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow-array-50.0.0/src/scalar.rs:130:9
     |
130  | impl<T: Array> Scalar<T> {
     |         ^^^^^ required by this bound in `Scalar::<T>::new`
...
136  |     pub fn new(array: T) -> Self {
     |            --- required by a bound in this associated function

error[E0277]: the trait bound `std::sync::Arc<arrow_array::GenericListArray<i32>>: arrow_array::Array` is not satisfied
    --> datafusion/common/src/scalar/mod.rs:3352:17
     |
3352 |         let s = Scalar::new(arr);
     |                 ^^^^^^^^^^^^^^^^ the trait `arrow_array::Array` is not implemented for `std::sync::Arc<arrow_array::GenericListArray<i32>>`
     |
     = help: the trait `arrow_array::Array` is implemented for `std::sync::Arc<(dyn arrow_array::Array + 'static)>`
note: required by a bound in `arrow_array::Scalar`
    --> /Users/jayzhan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow-array-50.0.0/src/scalar.rs:128:22
     |
128  | pub struct Scalar<T: Array>(T);
     |                      ^^^^^ required by this bound in `Scalar`

error[E0277]: the trait bound `std::sync::Arc<arrow_array::GenericListArray<i32>>: arrow_array::Array` is not satisfied
    --> datafusion/common/src/scalar/mod.rs:3353:26
     |
3353 |         println!("{:?}", s);
     |                   ----   ^ the trait `arrow_array::Array` is not implemented for `std::sync::Arc<arrow_array::GenericListArray<i32>>`
     |                   |
     |                   required by a bound introduced by this call
     |
     = help: the trait `arrow_array::Array` is implemented for `std::sync::Arc<(dyn arrow_array::Array + 'static)>`
     = note: required for `arrow_array::Scalar<std::sync::Arc<arrow_array::GenericListArray<i32>>>` to implement `Debug`
note: required by a bound in `core::fmt::rt::Argument::<'a>::new_debug`
    --> /Users/jayzhan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/fmt/rt.rs:100:29
     |
100  |     pub fn new_debug<'b, T: Debug>(x: &'b T) -> Argument<'_> {
     |                             ^^^^^ required by this bound in `Argument::<'a>::new_debug`
     = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)

This is what the code is like which we can also find in Scalar Example, but turns out not working
        let arr = Arc::new(ListArray::from_iter_primitive::<Int32Type, _, _>(vec![
            Some(vec![Some(1), None, Some(2)]),
        ]));
        println!("{:?}", arr);
        let s = Scalar::new(arr);
        println!("{:?}", s);

I'm working on https://github.com/apache/arrow-datafusion/issues/8846, and trying to find whether Scalar<Arc<ListArray>> or Arc<Scalar<ListArray>> is better.
however, the previous one meets the error described above, the second one we can only get &dyn Array from fn get(), which doesn't seem like a good way either.
Describe alternatives you've considered

Remove the example that is built with ArrayRef.
Additional context

I forgot to cast to ArrayRef..


Debug for Extensions

I am developing some middleware and it seems a bit hard to know how req.extensions looks like.
It would be helpful if I can debug Extensions so that I can tell how the middleware interacts with each other.
Thanks.

Actually I figure out how my middleware work, feel free to close if you think it is not necessary.

Middleware is very simple, it is used to wrap one endpoint for another.

Middleware is very simple, it is used to wrap one endpoint for another.

Yeah I got more familiar with it and it seems relatively easy and flexible!


No check if offsetParent is null in oElement.offsetParent.nodeName.toUpperCase

OpenUI5 version:
current
Browser/version (+device/version):
Chrome
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible):
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
Scroll to a ListItem inside a ScrollContainer
What is the expected result?
The ScrollContainer moves to the element
What happens instead?
Error is thrown because the framework tries to get a property of null
// do nothing if _$Container is not a (grand)parent of oElement
if (!this._$Container[0].contains(oElement) ||
	oElement.style.display === "none" ||
	**oElement.offsetParent**.nodeName.toUpperCase() === "HTML") {
		return this;
}

Scroll to a ListItem inside a ScrollContainer

Could you please share a minimal sample to reproduce the issue? You can edit https://jsbin.com/neyagus/edit?html,js,output, clone the edit, and share the new generated URL here.
Have you tried using the sap.m.ListBase#scrollToIndex API instead? Or is it not applicable in your case?

scrollToIndex calls the same scrollToElement under the hood, with the same error being thrown
			setTimeout(function() {
				oScrollDelegate.scrollToElement(oItem.getDomRef(), null, [0, this._getStickyAreaHeight() * -1]);
				return resolve();
			}.bind(this), 0);

As per https://github.com/SAP/openui5/blob/master/CONTRIBUTING.md#requirements-for-a-bug-report, a URL to a sample is needed in which the issue can be reproduced. Here are some templates you could extend accordingly:

https://jsbin.com/neyagus/edit?html,js,output
https://plnkr.co/edit/16J1TFICxbqETCzaxuZ0

there was extra sap.m.App wrapper around an XML view, thus breaking the logic of child elements placement into the ScrollContainer


Improve error information - follow up Part 2

Cleanup JS
Delete superflous functions and methods

#2811

Looks good from my perspective :)


feat: add HTML:5 boilerplate code

Create the boilerplate code for each of the HTML files. Do not link to CSS or JavaScript files at this point.

I would like to work on this please


Fix processing of Inline embedded mapping

What type of PR is this?
Bug Fix
What does this PR do / why is it needed ?
InlineEmbeddedMapping processor was passing nulls values in getPropertyOrResolvedEdgePointProperty function, which led to failures. This pr contains fix for above mentioned issue
Which issue(s) this PR fixes:
Fixes #
Other notes for reviewers:
Does this PR introduce a user-facing change?
Yes

Please add an execution test for this pattern  in meta::relational::tests::mapping::embedded::advanced::inline


Matching bracket highlighting index error

Problem Description
When the final closing bracket (), ] or }) of a bracket pair is the first character in its line, any empty lines between the bracket pair are discarded during the search for the opening bracket leading to an indexing error of what character is being highlighted.
The error and a method of reproduction should be apparent from this image:

Versions
This happens in 4.2.0. See permalinks to code below for more details.
Root cause
The bracket finder searches text that it gets from BaseEditMixin.get_text (lines 286 and 291)
https://github.com/spyder-ide/spyder/blob/436290ba71bb16c5928676467a358b70f4f38c10/spyder/plugins/editor/widgets/base.py#L282-L293
However, BaseEditMixin.get_text removes newlines under some conditions, resulting in the aberrant behaviour (lines 907-912)
https://github.com/spyder-ide/spyder/blob/436290ba71bb16c5928676467a358b70f4f38c10/spyder/widgets/mixins.py#L900-L913
Possible fixes
I encountered this bug while working on #1354 and I plan to include a fix for this issue in the same pull request. But there are several alternatives for fixing it and I'd like some input on which is best.

Remove lines 907-912 from BaseEditMixin.get_text. I've tested it and it solves the problem, but it will cause other errors if the line removal behaviour is depended on elsewhere.
Make all_text an optional parameter with default value None. If None, it will be computed as previously.
Write a new function identical to get_text except without the line removal.

Ideally I would like to go with option 1, but that requires figuring out why the newlines are removed in the first place. If this behaviour is relied on elsewhere I think the newline removal should be moved there instead of kept in get_text. I don't think it's suitable to have a function called get_text that filters the text before returning it without having any parameters to control that behaviour.
Option 2 is safer and requires no investigation into side effects. So that's my second choice.
And while I'm here: How would I go about writing a regression test for a GUI feature like this? Where should I look for examples?

Hey @hengin, thanks for opening this issue. You said:

Ideally I would like to go with option 1, but that requires figuring out why the newlines are removed in the first place

You can get the commit associated to a given line by using git blame (or clicking the Blame button on Github's interface):
https://github.com/spyder-ide/spyder/blame/436290ba71bb16c5928676467a358b70f4f38c10/spyder/widgets/mixins.py#L900-L913
So the reasons for removing newlines seem unclear (and were introduced 9 years ago). The only thing that can be concluded for sure is that I introduced all_text in commit https://github.com/spyder-ide/spyder/commit/e37288263dcc6cadf096c3ba9dd9afc9c5d54ce6 to avoid an issue with Python 3, so it seems it's important.
Given that changing something that has remain like that for so long can introduced bugs, my suggestion is for you to go with something similar to option 2. But instead of using all_text as parameter, please add a different one called remove_newlines=True so you can set it to False in the case you need.

And while I'm here: How would I go about writing a regression test for a GUI feature like this? Where should I look for examples?

Thanks for thinking about that! We have lots of those tests around for you to take a look at.
@CAM-Gerlach, could you explain @hengin how to create tests with pytest-qt?


Decouple serialization from function vtables

Separating the serialization logic from the function vtables allows:

making function vtable instances constexpr objects,
reusing function instantiations for serializable/non-serializable versions,
various function simplifications (2+1 vtables vs 2*2 vtables),

...at the cost of an extra vtable pointer for the serializable functions.

@K-ballo clang 3 and C++11 do not agree with your changes: http://cdash.cscs.ch//viewBuildError.php?buildid=40884.

This seems to be ready to go, but let's get #3710 in first to make sure that everything is ok.


client: allow marking a block as bad

Partially fixes #6224.
This PR adds a new API to the client mark_bad which given a block hash will attempt to "revert" all children blocks (across all forks) and will re-org to a new best block. We don't actually "revert" any block/state data but instead "ghost" the blocks (I'm open for  naming suggestions on this), i.e. all the data is available but is no longer reachable unless you know the hashes of those blocks and additionally the client will refuse to import anything that builds on top of these blocks.
This API will be required to implement the dispute handling in Polkadot where we'll need to re-org the chain in case there is a valid dispute report. The reason why  we don't actually revert any data is because as part of the dispute protocol we might need to "transplant" existing disputes to the new best chain, in which case the state still needs to be available.

Closing as we'll probably go with a different approach in Polkadot.


Cluster: Heartbeat improvements

Don't abruptly end ongoing heartbeat when asked to cancel, instead immediately ping any remaining members and save the state. This is so we don't end up sending out-of-date member info when a notification heartbeat causes an ongoing heartbeat round to be cancelled prematurely. Instead now the cancellation requests that the ongoing heartbeat round "hurry up" rather than "kill itself".
Notification heartbeat waits for any ongoing heartbeat round to finish up before starting to ensure out-of-date member info isn't broadcast to all members.

@stgraber the cluster failures on this are not related AFAIK because we see the same issues on master intermittently.
I think those issues might just be a test problem, as they are expecting a particular node to become a database node but infact one of the later nodes does. This isn't wrong perse AFAIK. Are you aware of any expected ordering on how nodes are promoted?
Anyway they don't seem related to this pr.

There's no expected order for promotion.

There's no expected order for promotion.

OK great I'll update those tests in a separate pr to count the nodes with roles rather than expect a certain node to have it.


Escape chars in field are unnecessarily added by BBT

In Zotero extra field, I have bibtex[crossref=doe_cours_1952], it is exported by BBT as crossref = {doe\_cours\_1952}. How can I avoid the added backslashes?
[edit: in the original version of this post, the backlashes didn't appear, because they were not escaped…!]

Hmm, this is a tricky one. Not all fields added this way are verbatim fields -- I'm going to have to look if I can find a good overview of fields that should go out verbatim. I'll look in the BibLaTeX manual as soon as I have a chance.

BibLaTeX manual:Verbatim fields are processed in verbatim mode and may contain special characters. Typical examples of verbatim fields are file and doi. BibLaTeX manual list also eprint and pdf ("An alias for file, provided for JabRef compatibility.")
And in the Custom Fields section 2.2.4, adds:verb[a–c] field (literal)
Similar to the custom fields above except that these are verbatim fields. Not used by
the standard bibliography styles.
~
As for crossref, it's not a verbatim field. It is defined as crossref field (entry key) This field holds an entry key for the cross-referencing feature.
I think that field which are of this type (entry key), should be exported by BBT, verbatim. xdata and xref are filled with entry keys too.

OK, tests are running on a change that should take care of this. Could you do me a favor and right-click the entry you have with this and select "report zotplus error", and report the ID here? It will give me a ready-to-use testcase for this so I can add it to the test suite.

I have a working build at http://tempsend.com/80AEB1A95F that shows no regressions and should work but I'd really prefer to have a test case in place.


My second revup foor

Topic: foor2
Relative: foor

#
head
base
diff
date
summary

0
08548153
a0ae4573
diff
Mar 19 10:11 AM
1 file changed, 1 insertion(+)

Reviews in this chain:
└https://github.com/balderfer/revup/pull/1 My first revup foor
　└https://github.com/balderfer/revup/pull/3 My second revup foor


Un-used properties/methods

TypeScript Version:  1.8.10
I think that it would be a nice feature to let the user know what properties/methods are defined but unused, this would be done doing so by underlining the method/property with a green underline.
This would more than likely only affect private properties and methods. Here is an example:
class MyClass {

    // Warning saying that "This item is never used"
    private myString1: string;

    // Warning saying that "This item has been assigned to but is never used"
    private myString2: string = 'abc123';

    // No Warning since this could be used anywhere (such as an external library)
    public myString3: string = '123456';

    // Warning saying that "This item is never used"
    private myMethod1(): void { }

    // No Warning since this could be used anywhere (such as an external library)
    public myMethod2(): void { }

}

class MyClass2 extends MyClass { }

Unused protected still makes sense because a derivative outside your compilation could be using them. But private members could be checked for unusedness.

Okay, I have remove the protected part from the post.

Actually this was implemented with the --noUnusedLocals flag in 2.0 #9200

@RyanCavanaugh that is only in the compiler though, and not visually in the editor right?

@TheColorRed it should work in the editor as well if you have the option set in your tsconfig.json. you need to make sure your editor is running against TS 2.0 .


PE-635 Safe EntityID

Suggested Reviewing Order:
• entity_id.ts: the class to enforce EntityID format and the EID() convenience function for instantiating EntityIDs.
• entity_id.test.ts: Unit tests
• types.ts: Observe the changes to the aliases. We migrated the existing EntityID, which was a Union Type of the existing entity ID classes, to AnyEntityID since I couldn't just use EntityID in places where a FolderID could be used (since the value might also be a placeholder constant for root folders). This may be something we want to improve upon, e.g. a different constant set for root folders' parent folder IDs, like all 0's.
• arfs_entities.ts: Observe that ArFSEntity, ArFSDriveEntity, and ArFSFileFolderEntity were hoisted out of ardrivecore-js in order to make it them use proper EntityID-aliased classes rather than the string alias that was in types.ts.
• Also observe that sync_status has been removed
• Notice that the ArFSDriveEntity has rootFolderId: FolderID | ENCRYPTED_DATA_PLACEHOLDER_TYPE; This is because of the constant choice that was made for the SAFE entity types. We may want to improve upon this in the future.

Looks like I've broken something:
yarn ardrive list-all-drives -w ./CLI_TEST_arweave-keyfile-g1hzNXVbh2M6LMQSUYp7HgkgxdadYqYEfw-HAajlms0.json
Invalid entity ID 'ENCRYPTED'!'


Typescript definitons don't export the function signatures

Hey,
I've got a branch with an updated d.ts and a typescript example in the .readme.
Here is the change
declare namespace schema {
    export type DecodeMessage = <T>(obj: Buffer, parseOptions?: any) => Promise<T>;
    export type EncodeById = (schemaId: number, msg: any, parseOptions?: any) => Promise<Buffer>;
    export type EncodeBySchema = (topic: string, schema: any, msg: any, parseOptions?: any) => Promise<Buffer>;

    export interface ISchemaRegistry {
        decode: DecodeMessage;
        decodeMessage: DecodeMessage;
        encodeById: EncodeById;
        encodeKey: EncodeBySchema;
        encodeMessage: EncodeBySchema;
    }
}

export = schema;
declare function schema(registryUrl: string) : schema.ISchemaRegistry;

If you can give me repository access I'll submit a PR

@dbevan-kabam you don't need repository access. Just submit the PR.

I get a 403 when I try to push my branch

Are you sure that you have set up your credentials correctly? Also check this https://help.github.com/en/articles/creating-a-pull-request-from-a-fork

Sorry, been away again for a bit. Thanks @katsanva for helping out!
No special permisions are needed, if after reading that link you still have issues let us know and I'll try to help.

Out in 1.4.2


mention hv.help-mechanism in user_guide on customizing plots

as proposed in https://github.com/ioam/holoviews/issues/2413

Thanks for this! Changes look good to me.

Yes looks great, thanks for contributing.


Update MM RAG Eval NB to use is_image_to_text flag

Description
This should have been included in the last PR #8945 but I guess I didn't add/stage these last final, minor changes to the nb.
Fixes # (issue)
Type of Change
Please delete options that are not relevant.

[x] minor, non-breaking update to a nb guide

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] I stared at the code and made sure it makes sense

Nevermind. Sphinx just took a long time to update and render the latest version of this notebook. All is good. Cancelling this PR.


[PoC] Use Pytorch XPU 2.6 nightly wheels

Sample command to run - pip install torch pytorch-triton-xpu pandas matplotlib --index-url https://download.pytorch.org/whl/nightly/xpu.
As of now PoC is blocked by pybind issue:

#2260

Run with PyTorch nightly wheels: https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/11111618666
@vlad-penkin how do we want to proceed, daily runs?

@pbchekin let's add daily runs.

Added daily runs, example: https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/11183892235


Bug: Incorrect formatting of table

If I format the following table:
| Supported in following Version   | Minimum Version Supported |
|------------------------------------------|---------------------------|
|                                          | Win32/64 (inc. Windows 7, Windows 8 Pro)   |
|                                          | Android 4.1                          |

then the output is:
| Supported in following Version           | Minimum Version Supported |
|------------------------------------------|---------------------------|
| Win32/64 (inc. Windows 7, Windows 8 Pro) |                           |
| Android 4.1                              |                           |

The content of the second column is incorrectly moved to the first. The first columns should be empty. I hope you can release a fix for this issue as otherwise this extension is great.

I have the same issue, I see this extension is very simple. The bug could be solved changing/fixing TABLE_EXP .
In some place :point_down: is the bug :sweat_smile:
const TABLE_EXP = /((?:(?:[^\n]*?\|[^\n]*)\ *)?(?:\r?\n|^))((?:\|\ *(?::?-+:?|::)\ *|\|?(?:\ *(?::?-+:?|::)\ *\|)+)(?:\ *(?::?-+:?|::)\ *)?\ *\r?\n)((?:(?:[^\n]*?\|[^\n]*)\ *(?:\r?\n|$))+)/g;

Reference: extract-tables.ts#L1
@coliff  Thanks for this extension!

@josa42 would it be possible to release an update with a fix for this issue?

https://github.com/fcrespo82/vscode-markdown-table-formatter might be better


Warm-up technique no longer works as documented

Since the update to > v1.0, this technique (and the instructions in the docs) breaks. Specifically, I get TypeError: optimizer_step() got an unexpected keyword argument 'epoch', since the optimizer_step() call has changed to self.optimizer_step(optimizer, opt_idx, batch_idx, train_step_and_backward_closure). I can see how to re-organise optimizer, opt_idx and batch_idx, but what should one do with train_step_and_backward_closure? Default it to None?
Originally posted by @murnanedaniel in https://github.com/PyTorchLightning/pytorch-lightning/issues/2934#issuecomment-723218210

#4455
I see that this issue will be fixed with new documentation. Specifically, changing current_epoch to epoch in the optimizer_step override, as well as changing optimizer.step() to optimizer.step(optimizer_closure).


Download from arte.tv fails

youtube-dl -v https://www.arte.tv/de/videos/102257-004-A/underscore-4-5/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.arte.tv/de/videos/102257-004-A/underscore-4-5/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.4 (CPython) - Linux-5.15.0-47-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[ArteTV] 102257-004-A: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python3.10/urllib/request.py", line 525, in open
response = meth(req, response)
File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
response = self.parent.error(
File "/usr/lib/python3.10/urllib/request.py", line 563, in error
return self._call_chain(*args)
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)

Duplicate of #30919.


Please support large files on 32bit

If you use cachestats or cachedel on a large file with a 32 bit build of the tool it says:
open: Value too large for defined data type

nocache runs, but actually does nothing, the file is still cached at the end.
I tried installing the 64 bit version of the tool, and running a 32 bit command but it says:
ERROR: ld.so: object '/usr/lib/nocache/nocache.so' from
LD_PRELOAD cannot be preloaded: ignored.

(If it matters this is version 0.9-2 on Debian.)

I don’t have a 32 bit system at hand to try this out. Could you recompile (make clean all) using the referenced commit and see if this fixes the issue? Thanks.

I tried it and cachestats and cachedel work. But nocache does not. The file still shows as cached.

Okay, so it’s a first step. I’ll try compiling some 32 bit binary when I have the time. Meanwhile, as per the README, have you tried nocache -n 2 (or, for that matter, -n 4)?

Just tried -n, didn't change anything. (I don't need it with small files, so I didn't expect it.)

Regarding the original comment with the 64-bit error, the proper way to do this in a multi-arch system like Debian/Ubuntu/Mint (other distros have similar, but different directory schemes) is to just put the 32bit and 64bit nocache.so into /usr/lib/i386-linux-gnu and /usr/lib/x86_64-linux-gnu respectively. It will automatically pick up the "nocache.so" matching the architecture of the loaded executable on preload.
Hopefully now, it's easier to test this on a 64-bit machine. I don't know of other distros or what Feh uses, though, so you'll have to do a little digging then.
This is very useful to use with 32-bit programs like wine's and nocache (doesn't matter if system is 64-bit), so please consider it for large files if it's possible.


Add aioelectricitymaps

Insert URLs to the project here: https://github.com/jpbede/aioelectricitymaps

[x] The projects is active, documented, open source licensed, shows usage from external parties and is directly targeting environmental sustainability. Find more details in the Contribution Guide.

All issues labeled as Good First Issue of the project listed on OpenSustain.tech will be visible on ClimateTriage.com. This is a great way to welcome new community members to your project.
All new projects listed will be posted on our Mastodon channel.

@jpbede


feat: add GPN card

Closes #89

@blouflashdb Hacktoberfest has not yet begun, should I hold off on this pull requests until October so they can count or should I merge it right away?

Please hold it off until october

No problem we will do that. Thanks again for your contribution :)

Merged! It should be visible in the website:


Bump ssz to 0.1.0a4

What was wrong?
How was it fixed?
Cute Animal Picture
🙊

@hwwhww not to delay things but do we want to wait for https://github.com/ethereum/py-ssz/pull/58 to be incorporated -- should simplify a lot of what this PR is aiming to do


Submit ticket does not work

I cannot sign up for a free account and cannot submit a ticket. When I try to submit a ticket it forces me to select the problem type as "reserved instance requests" which then funnels into a bunch more required field that I cannot fill in because I don't have an issue with a reserved instance.

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

ID: 0c90e134-28de-dd70-5bce-c4a829866288
Version Independent ID: 2c62c86f-4bac-9cce-f05d-ebd95cbb3d15
Content: Troubleshoot issues when you sign up for a new account in Azure portal or Azure account center
Content Source: articles/cost-management-billing/manage/troubleshoot-azure-sign-up.md
Service: cost-management-billing
GitHub Login: @v-miegge
Microsoft Alias: v-miegge

@justinmann  Since this issue is not related directly to the doc, I would recommend you to create a thread on the forums - Microsoft Q&A or Stack Overflow
Please do create a question here: Microsoft Q&A - Azure Cost Management
Once you post your issue on forums, it will have visibility across the community which is a better suited audience for such types of issues.

@justinmann We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Conclusion: remove symfony/event-dispatcher v4.1.4

Hi!
Laravel 5.6 return an error when I try to install the package.
All list of error finishing with message:
Conclusion: remove symfony/event-dispatcher v4.1.4
Also I found:
egeloen/google-map 2.0.x-dev requires symfony/event-dispatcher ^2.7|^3.0
But when I try to downgrade my event-dispatcher package to 2.7 or 3.0 I have an error and can't to do that.
Any help? Thx

I believe it's https://github.com/egeloen/ivory-serializer that requires it and google-map requires the serializer.
But this project is dead: https://github.com/egeloen/ivory-google-map/issues/286

Any suggestions on new packages that does about the same thing?

I only used the time-zone part, so i changed to imelgrat/google-time-zone


import: resume download

Download to .part file first and rename at the very end,
so if we lose connection we could resume download.
Note: not all servers support 'Range' header, so this
feature is not going to work everywhere.
This feature is activated by -c/--continue cmdline option.
Fixes #108
Signed-off-by: Ruslan Kuprieiev<EMAIL_ADDRESS>

Should we set this option as a default?
Sent from my iPhone

On Aug 13, 2017, at 3:33 PM, Ruslan Kuprieiev<EMAIL_ADDRESS>wrote:
Merged #164.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I wouldn't do that just yet, as I don't think we have an easy way to verify previous partial download with http/ftp. I.e. in aws we do have an easy way to do that, as it provides us with md5 sum for every part of a file we've downloaded so this option is going to be enabled by default for data sync #163 .


Version of seed1~seed4 did not update from 2.9.0 to 2.9.4

Current behavior

What is the problem?
Include a screenshot if it makes sense.
The version of below nodes have been upgraded to 2.9.4, but the table still shows 2.9.0
seed1.ngd.network:10332
seed2.ngd.network:10332
seed3.ngd.network:10332
seed4.ngd.network:10332

Expected behavior

What should be happening?
Include a screenshot if it makes sense.
The version should be 2.9.4

How to reproduce

Please explain the steps to reproduce the problem. If you are having an issue with your machine or build tools, the issue belongs on another repository as that is outside of the scope of this project.

Your environment
Let us know in what environment you're running into the issue:
e.g. Browser & Device
What kind of internet connection do you have?
Chrome

there is not this kind of issue now, will reopen if there is in the future.


fix(ts): prepare incoming walletconnect transactions

Problem solved
Short description of the bug fixed or feature added
Changes made

[ ] Public API changes: list the public API changes made if any
[ ] Internal API changes: explain the internal logic changes

How to test

[ ] Automated tests: link to unit test file
[ ] Manual tests: step by step instructions on how to test

Contributor NFT
Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.
Address:

PR-Codex overview
This PR introduces thirdwebClient to WalletConnectClient operations for enhanced functionality.
Detailed summary

Added thirdwebClient parameter to fulfillRequest and handleSendTransactionRequest
Refactored createWalletConnectClient to include thirdwebClient
Updated tests to include thirdwebClient in session request scenarios

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3541  👈
#3539
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @gregfromstl and the rest of your teammates on  Graphite


Lecture Request: Unable to find anything related to stateful set in CKA

Your Workstation
Windows 10 Laptop, 16 GB RAM, 8 core i7 CPU
What happened?
I'm learning CKA, CKAD, as of now I completed most of the topics in CKA but can't find anything related to Stateful set. Can you please confirm if that is covered in any of the course and I missed it or it is not part of the curriculam.
Relevant log output
No response

Please use our forums to ask such questions.
https://kodekloud.com/community/


toxvpn: update bootstrap.json path

Description of changes
Explicitly defines the destination file name for bootstrap.json in postInstall.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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

Not opposed to this change but what is the point?
install generally seems to be the preferred tool for copying files in Nixpkgs expressions, should we switch to that while we're at it?

Not opposed to this change but what is the point?

ToxVPN service will not work out of the box without this commit.

@craigem, how does that make a difference? cp copies the file to the target directory without renaming it, no?


During network partition drill, producer keeps trying to contact an unreachable broker

Versions

Sarama
Kafka
Go

v1.27.2
2.6.3
1.16

Configuration
What configuration values are you using for Sarama and Kafka?
	c.Net.DialTimeout = 10 * time.Second
	c.Net.ReadTimeout = 10 * time.Second
	c.Net.WriteTimeout = 10 * time.Second

	c.ChannelBufferSize = 128

	c.Producer.Retry.Max = 5
	c.Producer.Retry.Backoff = 200 * time.Millisecond

	c.Net.KeepAlive = 60 * time.Second
	c.Producer.Return.Successes = true
	c.Version = sarama.V2_1_0_0
	c.Metadata.Timeout = 20 * time.Second

Problem Description
This happened in the context of a network drill: traffic to/from a set of brokers was blackholed (via iptables). At the Kafka cluster level everything went as expected (new leaders elected to replace the isolated brokers).
In one of the programs using Sarama to produce to the cluster, we saw constant failure to produce. During post-mortem, I saw a stream of this messages in the logs (roughly one every 2 seconds)
[Sarama] 2022/02/10 14:19:22 client/metadata fetching metadata for [<some topic>] from broker isolated-broker:9092

Where <some topic> was variable, and isolated-broker was always the same host, and one of the brokers isolated for the drill. This went on for ~30 minutes, always trying to contact the same isolated broker, until the drill was interrupted.
What I would have expected is to see:

metadata request failing after a timeout
client code cycling through all seed brokers when trying to fetch metadata

As far as I can tell, the issue is that metadata requests never timed out, and as a result deregisterBroker() was not called, and any() kept returning the first broker in the list, which happened to be the isolated broker.
I think the underlying issue is that Broker.write() calls SetWriteDeadline() on every write, and if writes are issued often enough, the repeated calling of SetWriteDeadline() will prevent any of the writes from timing out. This makes config.Net.WriteTimeout a no-op for this case. Now, since writes never complete (either with success or failure) the code trying to fetch the metadata is stuck in the send, which means the code that should evaluate metadata fetch timeout is not being executed.

@mbarbon thanks for this bug report, is your network partition drill easy for you to re-run? It would be great if you could test the latest release of Sarama (v1.33.0) as we have made a few fixes in this area since v1.27.2

@mbarbon thanks for this bug report, is your network partition drill easy for you to re-run? It would be great if you could test the latest release of Sarama (v1.33.0) as we have made a few fixes in this area since v1.27.2


how to build for browser

hi,
I already build the app use ionic2,
now I want to build mobile web version without ionic-native api,
so what the command should I use for just build www?
ionic build or another one?
could you tell me the right command?

I get the answer
npm run build


Why don't you create three zones for NLB？

Why don't you create three zones for NLB？

If necessary, it will be supported later.


MNT: rerender

Hi! This is the friendly automated conda-forge-webservice.
I've rerendered the recipe as instructed in #77.
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

Fixes #77

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

The linux builds are failing. Also, it would be nice to get PyPy support in, like in conda-forge/pyqt-feedstock#89 (which is also failing)


Allow single quotes [',"] in comments in TextEdit

....instead of duplicating them on single keystroke.
Fixes: #36638

Thanks!

Cherry-picked for 3.2.2.


Problem writing a native HTTP server package

Because my native implementation wasn't yielding the results and consistency I need for my next project I tried to write a small package adding bindings for a C++ library. For some reason, it seems to mess up the arguments (namely host and port) leading to ``hostbeing completely empty andport` being a random number.
Do you have any idea what I'm doing wrong?
https://github.com/MagnificentPako/emojicode/blob/emojicode-0.5/DefaultPackages/http/http.cpp
The code I tested it with is here:
https://github.com/MagnificentPako/emojicode/blob/emojicode-0.5/tests/http/simple.emojic
Here's what Valgrind told me:
https://gist.github.com/MagnificentPako/c18e5b8360e5392eeed5a5194828abe4

    🐈 🆕 host🔡 port🚂 📻 1
    🐖 🏃 📻 2

You declared the initializer to take parameters, not serverRun. By accessing variable(0) etc. you're causing undefined behavior, thus a "random number".
Then you seem not to be initializing the Server object. Unless the Server class does not need to be initialized you should do something like
new (thread->thisObject()->val<Server>()) Server;

in the initializer.

Ohh, thanks for spotting that! I was searching for the problem everywhere but my header file.
However it seems like initializing the Server in the initializer isn't enough; I'm still getting this
https://gist.github.com/MagnificentPako/e2750c6e0d19013b83f78eca6e5fbba8
Guess I'll actually have to learn C++ now 😅

I can’t really try it myself right now, but some suggestions:

Try *thread->thisObject()->val<Server>() = Server(); instead of the new...
Check that prepareClass is actually called for your class.

Thanks! I'm not entirely sure what I changed but now it seems to work!
This leads me to another problem though: I'm trying to use callables.
Do you have any idea how I can make the callable output to str, then use the string in C++?
void serverRun(Emojicode::Thread *thread) {
    const char *host = Emojicode::stringToCString(thread->variable(0).object);
    Emojicode::EmojicodeInteger port = thread->variable(1).raw;
    auto callable = thread->variable(2).object;
    std::cout << host << "\n";
    std::cout << port << "\n";
    thread->thisObject()->val<Server>()->get(R"(.+)", [&](const Request& req, Response& res) {
        Emojicode::Object* str = Emojicode::stringPool[0];
        auto a = Emojicode::stringFromChar(req.path.c_str());
        auto c = Emojicode::Value(a);
        Emojicode::executeCallableExtern(callable,
            &c,
            sizeof(Emojicode::stringFromChar(req.path.c_str())),
            thread,
            str->val<Emojicode::String>()); // <--- THIS
        res.set_content(Emojicode::stringToCString(str), "text/plain");
    });
    thread->thisObject()->val<Server>()->listen(host, port);
}

auto a = Emojicode::stringFromChar(req.path.c_str());
auto c = Emojicode::Value(a);
Value str;
Emojicode::executeCallableExtern(callable,
            &c,
            sizeof(Emojicode::stringFromChar(req.path.c_str())),
            thread,
            &str); // <--- THIS
res.set_content(Emojicode::stringToCString(str.object), "text/plain");

should work.
  You're code is relying on undefined behavior as of now.
Registering callables as callback with this get method could get really complicated, as you somehow need to store the callable in a way that you can bring to the garbage collectors attention. One possible solution that pops into my head now: Let the objects of your class not store a Server directly, but a wrapper structure (e.g. ServerWrapper). Make ServerWrapper also store an array of callables and capture the index at which the callable was stored in the closure passed to get. This list can be marked by the garbage collector by providing a custom mark function.
One last thing, you should probably deinitialize the Server instance before it is deallocated: http://www.emojicode.org/docs/guides/packageAPI.html#deinitialization
(I know it's complicated, but everything is getting better if 0.6 is released one day...)


JGRP-2850 Please make MessageFactory static

This change makes MessageFactory into a static class similar to ClassConfigurator. This greatly simplifies adding custom message types, and also allows custom types to be used in Batch/CompositeMessage which otherwise only allows the default types. This comes with the side effect that it's no longer possible to change how the default message types are generated, but this must be a much less common use case than registering custom types. And as a workaround, a new custom type can be registered instead of altering the default types.

Makes a lot of sense; great simplification, too. Thanks!


Problem with Sparkasse Salem-Heiligenberg

Hi
I am just testing out this library. It seems to be working with my personal account @Volksbank Überlingen. However the account of my Company @Sparkasse Salem-Heiligenberg won't work.
I have enabled debugging and the system seems to think the username or password is wrong.
But I have double and tripple check the password.
Also using the dev-master branch from github did not change the issue.
So I tried out the demo user and password the bank provides and it does get past the logon stage. It does error out soon after, because the demo account was not enabled yet, but that is to be expected as the account gets reset every couple of hours.
I now suspect that it may be an Encoding issue, as our password does include an Umlaut character (ÄÜÖ). Maybe my server is sending the umlaut using the wrong encoding. However I have not been able to find out what the correct encoding could be.

We have changed the password to something that does not have Umlaut-Characters and it still does not work.
I have also asked the bank for support, but not received any answer so far.

Resolved: The Password we wrote down had 6 letters but the website of the bank only accepts 5 letters. so obviously it could never be the correct password if we send it an additional character.


novacustom: add list of docks and hubs

@mkopec Why are we using a bit different structure than in: https://docs.dasharo.com/unified/msi/hcl/ ? What was limiting, or otherwise problematic, to follow it more strictly?

@macpijan Updated the HCL to follow the MSI HCLs more closely, simplifying language where possible.


Unable to get IP address of network device

I can't seem to find the bindings for pyorbbecsdk to get the IP address of a network device. As far as I can tell it is supported in the C++ sdk but just not blinded in the python library.

In the next version, we will encapsulate the interface for configuring the IP address. For now, if you need to modify the IP address, you can use Orbbec Viewer to configure it.


Create first-timersES

A spanish version of the first timer guide.
A spanish version of the first timer guide.:
Updating documents in more languages:
Link to original source:

Closes #

hi @misselliev - thanks for your effort here! Our legal team has told us not to accept files in other languages since we have no way of keeping them up to date. I really appreciate the work you put into this though, so I've made sure you get the Hacktoberfest credit with us and also with GitHub/DigitalOcean

Hello @misselliev,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


It is no longer possible to use a custom text on a sales line if another account exist with same name

I have two accounts for invoicing transport:
Sales Freight
Purchase Transport
If I want to use the Purchase Transport account for invoicing freight and change the description to Freight:

Then it automatically changes the Account No to the Sales Freight account

It must be possible to change the description without changing the account number.
This happened after upgrading to NAV 2018 CU6.
Can this please be removed?

I would make it a configuration setting. The general rule should be if "No". contains a real item, the text-based search should be disabled. I can only imagine bad things to happen from the current behaviour. It should be possible to disable this application-wide as well, though.

I agree, It screwed two of my invoices up already because it changed account numbers without me noticing it.
So I disabled the functionality in table 37 (naughty boy :))

Lets just guess, it is also there in T39 and T5902?

T39 yes but not T5902

How consistent ;)

When was the last time changes were made to the Service module? :)

T5902: 2018 CU 06, refactored line discount % calculation ;)

An answer would be this feature- request:
Implement search as OnAfterInput- Trigger of the "No."- Field as we could do it in former NAV- Classic Client.

The team has added this to their backlog and will get back to it later.
Thanks for providing feedback.


markers cannot show Hebrew text

Maybe also Arabic.
Here's what I get for putting a title in Hebrew of the word "Israel" ("ישראל")  :

Here's the code:
                        mMap.addMarker(new MarkerOptions()
                                .position(latLng)
                                .title(locationTitle)
                                .snippet("snippet")
                                .icon(BitmapDescriptorFactory.fromResource(R.drawable.arrow))
                                .infoWindowAnchor(0.5f, 0.5f));

BTW, the map is wrong for Israel's borders. It has the north-east area ("Ramat Hagolan") for a very long time. It doesn't make sense to show the old borders of before the wars.
Israel also includes the west bank and the east area ("Yehuda" and "Shomron"), which is also why it's ok to travel to the entire Jordan river.
It's just that those areas are problematic (except for Ramat Hagolan, which isn't problematic at all)

The bug occurs even when using a customized InfoWindowAdapter, which I don't understand how could it be.

Hi,
This issue has been reported here, so I'm going to close the issue.

@bellarm OK. Please also fix the borders issue. Here's more information about the north-east part ("Golan Heights" , and in Hebrew it's called "Ramat Hagolan" - "רמת הגולן" ) :
https://en.wikipedia.org/wiki/Golan_Heights
It's a part of Israel, and is completely safe to travel there.


Sorting on a POJO property of a persistent object causes an exception #180

@andrus , check it out please.
Note that I had to add a new method for IPathDescriptor interface, specifically for the case when sort parameter is a path to related object's attribute (see algorithm in com.nhl.link.rest.runtime.cayenne.processor.CayenneQueryAssembleStage#findAttribute and test for this case in com.nhl.link.rest.it.noadapter.GET_NonPersistentProperties_IT#testGET_Root_SortByRelatedObjectsNonPersistentProperty)
Feel free to comment and correct me if needed

Per #181 we are not ready to deal with this yet, and the actual fix will be much more involved.


STM32 family and common HAL drivers

Hello, everyone,
for one of my boards containing a STM32F405 I'm creating a BSP-Crate and corresponding HAL-Crate and note that the STM32F4 will be able to share some drivers of the HAL with the STM32F3, but some of them are very different, like I2C.
Are there any plans for a better representation of the common features of the STM32 family? It would be quite unpleasant to always have to copy from the stm32f30x-hal. I'm really not a friend of copying code. At this point I would like to offer my help.
Greetings,
Ingo

I'm entirely of your thinking. As a comparison, ChibiOS has blanket implementations for variants of STM32 peripherals.
If you look under os/hal/ports/STM32, you'll see there's an LLD folder containing low-level driver implementations for various peripherals -- for instance, USARTv1. For these "common" peripherals, the individual STM32 devices select the appropriate variants from the common code.
I present this not as a potential organizational model, but instead as a vindication of the idea that driver implementations can be profitably shared between many of the STM32 variants.
Perhaps it would make sense to implement a number of crates (like stm32-usart-variant1-hal) which the individual MCU crates could depend on and re-export. For more unique peripherals, or MCU families which don't have the same level of hardware peripheral sharing, the MCU crate itself could just directly implement the drivers.

This is a tricky topic. Whereas other C implementations "profit" from being able to abstract over slight implementation differences, with Rust this is not as easy as the prototype implementation has to be abstract over all of them so every slightly different implementation will typically require a change in the prototype and all of the HAL implementations.
I'd love to see this but I'm highly sceptical it can be done. Bring in the wizards! 😉

I'm not sure I understand the issue here -- but I could easily be missing some Rust subtlety. My embedded experience is almost entirely in C.
In the case of the STM32 family, these are identical individual hardware peripherals -- there's no slight implementation difference required for interfacing with them. I definitely think a hardware peripheral with similar but not identical functionality should be a separate driver. But I also shudder at the idea of maintaining identical driver code across multiple crates.
I know that many of the drivers (for instance, stm32f30x_hal::spi) put the meat of their implementation in a macro. Perhaps these macros could live in shared driver crates, and the MCU crates import them and instantiate the appropriate driver code for their specific SPI instances.

I'd also really like to see common API/HALs for STM32s and think the ChibiOS implementations are a good example of what could be done.
Sadly there end up being a lot of small differences even between apparently identical peripherals. In C this is less of an issue (you just use the registers you want, by name, and they'd better exist) but the svd2rust-generated APIs will differ both in terms of their actual type not being the same object and in terms of them containing different registers or registers with different fields.
I found there were surprisingly few STM32 peripherals which were exactly identical even inside families, mostly only the 3rd party ones like CAN and USB. I had a big table of what matched up with what somewhere, I'll try and find it...

@adamgreig Yes, that's exactly what I'm talking about. Would love to see your table, though I somewhat doubt there'd be a lot of surprises for me. 😉

Y'all might be interested in svd2rust#96 which is an ongoing discussion around extraction of common features from processor families and how we can generate / compose them into devices.

@ryankurte thanks, that is an interesting discussion! I'll have a look over it.
I found the tables I made, https://agg.io/u/stm32/stm32f/index.html is the STM32F family overview (go up one level for L/H families), click a family header to get the detail breakdown inside that family. Each unique peripheral (grouped by register names+addresses) is listed on the left, with a green tick against devices that implement it. Click the peripheral to see the registers (grouped by fields) etc.

I'm looking for the stm32_common_hal that was proposed in http://blog.japaric.io/brave-new-io/ as well. So I gather from the discussion here that still everyone is copying the basics from the f3 reference implementation?

@bergus Uhm, I've written a couple of these by now but they're not copied from f3 at all. I think one of the farthest HAL implementations is in stm32f103xx-hal. The problem here is not so much the implementation of the HAL traits, they're almost but not quite identical so one might gloss over that (or adjust the register definition to match the register splitting and naming as I think @adamgreig is planning to do with his stm32 crate), the real problems are:

initialisation is vastly different (at least between separate families) and requires varying resources
the pin mapping is completely different between MCU models

@therealprof OK, I haven't looked into the more advanced peripherals yet. I just was comparing the basics - timers, gpio - and was looking into stm32f30x-hal and stm32l4x6. Their delay.rs files [1] [2] are virtually identical (though one seems to do busy waiting for timer values larger than 24 bits while the other panics). Their rcc.rs files [1] [2] share the same structure and implement the same methods. OK, the l4 has a few more registers, but for example it implements the constrain method in a generic trait Constrain<Rcc> while the f3 does it in a RccExt trait. Their CFGR implementations with freeze have exactly the same functionality (apart from using different constants) but differ vastly in their coding style - and in l4, the Clocks return value is a struct with public fields while in f3 it is a struct with private fields and getters. Their gpio.rs files [1] [2] are the most different. Sure, I guess they have different numbers of pins and everything, but why does l4 use hal::gpio::A::new() while f3 uses GPIOA::split() for the same thing? And (probably because of their different module structure) they have different macro patterns. At the same time, they share a lot of (typelevel) constants.
I would think that all hal crates should use the same patterns for the same things. And possibly even implement the same traits, imported from something like stm32_common_hal (similar to how the device creates use bare-metal). And possibly even share the same code parts, imported as individual reusable function snippets or through macros.
I am really looking forward to @adamgreig's automatic code generation that knows about the detailed differences (or even can automatically extract them from the device description files), but until that is viable I think we should manually identify the common parts at least for the basic peripherals.
OK, enough of telling you what I think you should do. I guess what I am really looking for is a guideline on how to implement a HAL. Specifically, I am using a STM32L432, for which none exists yet. So what is the recommended approach? I have not written much Rust yet, or any MCU low-level stuff, so I am mostly programming by example for now. Which of the patterns that can be found in the existing crates should I follow? Where exactly do I need to watch out for differences, and is the only way to confirm them by comparing the respective programming manuals? (Or: how do I know which parts I can copy&paste?)

@bergus It's unfortunately not quite so simple. The reason so many different implementation "styles" exist is that there's no one which ultimately fits all, e.g. @japaric seems to prefer to move "ownership" of registers into HAL implementations wherever possible, "split" resources whenever they're shared and only in very circumstances use unsafe APIs to access registers directly. In contrast I prefer to only split resources which are really shared all over the map, move ownership of registers only when there's exactly one single legitimate user of the register, and use unsafe register access everywhere else. Also the HAL implementation depends on the vendor implementation of the peripherals which are dramatically different, so an approach that works nicely for STMicro will absolutely not work for most other manufacturer so it's a bit tricky to provide a general step-by-step documentation.

Specifically, I am using a STM32L432, for which none exists yet.

The STM32L432 is quite similar to all STM32L4 or STM32F4 MCUs so I'd start with one of those. If I was to start one, I'd use a crate, change the peripheral API and all references to it in the code and simply try compiling it. If there're compile errors in the code, fix them; if the compiler is complaining about non-available registers; open the reference manual and adjust accordingly.

I have not written much Rust yet, or any MCU low-level stuff, so I am mostly programming by example for now.

Hm, the new book is very early WIP at the moment, I guess the next best thing is to check out
https://japaric.github.io/discovery/README.html about some general information and to get acquainted with Rust then continue on with examples in existing implementations. (Shameless plug) I have cut back on the direct reqister fiddling examples but there're still 2 left in https://github.com/therealprof/stm32f042.git.

Where exactly do I need to watch out for differences, and is the only way to confirm them by comparing the respective programming manuals? (Or: how do I know which parts I can copy&paste?)

The good thing with is: If it compiles you're most likely on the right path or even fully there.


⚠ Bofrost.lu has degraded performance

In 2b365f4, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1551 ms

Resolved: Bofrost.lu performance has improved in 11ff3d7 after 9 minutes.


How are mask records generated?

Hi Mohammed,
Thanks for this great resource and congratulations on its recent publication. I'm curious - can you share your method for generating mask records?
Best,
Jonathan

The criteria for masking a residue is described in the ProteinNet paper. If it's missing something let me know but I think it's complete. The code itself is in Mathematica, so I'm not sure how helpful it would be, but happy to share if it is.


Single Sign on

Potential duplicate to https://github.com/tira-io/tira/issues/44. If so, I would leave this one open since it is more general.