Add an option for single package coverage.

The current GoCoverage command runs tests on the entire repository, which, when running on a project that takes e.g. a minute to complete testing, is quite slow. Vscode-go and Vim-go, when running their equivalent commands, will run tests on the current buffer's package, thus returning visual results much faster. (In my use case, some packages may take milliseconds to test while others may take several seconds, but never the full minute that running this command as-is would require.)
The PR adds a -p option to the coverage command that will get the package for the current buffer and only run tests for it, greatly increasing iteration time. There's only one caveat with which I require help - Vim seems to give out Missed option for -p even though after logging this error everything runs fine, where could I add the new option so we don't get these errors?
Thanks!

I did have something missing in this merge however :sweat_smile: Running this option will return an error with Missed option for -p despite working, how could I remove this error? I tried fiddling with what gets passed to get_opts(...) but failed to reach any solution.


Page crashes on 'invalid number' error

Disclaimer: Although I run 771 and run 1.0.7 of the add-on, I've tested both 107 on 790 and 108 on 790 and both produce the error.

The error:
For some, yet unexplainable reason my pages (wizard) crash when I have a decimal attribute and input something else than a decimal (i.e. a letter or a dot decimal (instead of comma)). The close page (X) and next button all get disabled and the microflow behind them doesn't get fired at all. When I change the widget to the standard textbox there is no problem and everything runs fine.
There are no further special microflows or eventhandlers, so somewhere in the custom widget there is some logic that is breaking Mendix.

Three side notes:

If you correct the number (i.e "0.33"  → "0,33") and then press the, somehow solely not disabled, back button (which closes the page) and press next to come back (reopens the page), the next button is working correctly again.

Fixing the bug on 1.0.8 will probably fix it as well for 1.0.7. Is there a possibility therefor to have a bug fix for 1.0.7. as for development reasons we cannot upgrade to 7.9 at this very moment. Will do soon though - And we're probably not alone :)

I say the microflow doesn't get fired, because I set a breakpoint on the first activity and the debugger doesn't start. The microflow thus doesn't even start.

Update
I noticed that the 'close page' button becomes enabled again when the 'error' is fixed (e.g. The number is valid again). Somehow the custom microflow button however remains disabled.

Hey Vilscon,
I cannot reproduce you error. Could you submit a test project?

Hi Martijn, this crashes (I tried Mx 8.10.2 and 8.12.1) with
MyFirstModule.TestEntity_NewEdit.dataView5: Error while applying context Error: MyFirstModule.TestEntity_NewEdit.bootstrapInputAddons1: Error while applying context Error: MyFirstModule.TestEntity_NewEdit.bootstrapInputAddons1: Error while applying context TypeError: this._contextObj.isCurrency is not a function Error: MyFirstModule.TestEntity_NewEdit.dataView5: Error while applying context Error: MyFirstModule.TestEntity_NewEdit.bootstrapInputAddons1: Error while applying context Error: MyFirstModule.TestEntity_NewEdit.bootstrapInputAddons1: Error while applying context TypeError: this._contextObj.isCurrency is not a function.
Could you solve this? Cheers, Boris


Added ExtraPorts to open in the master pod

Signed-off-by: ecejjar<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR adds the ability to define additional ports to be exposed on the Jenkins master. Some plug-ins require those ports opened to work properly.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
This PR contains one of the enhancements in PR #7668, which the reviewers asked me to chop off and contribute separately.

/assign lachie83

This seems stuck... Anything I need to do so you review this PR??

/ok-to-test

/lgtm


Upload Commands

Created the upload_commands function in upload_commands.py.

Can you write a small integration test under tests/test_[your function name].py ? Basically a Python script that will setup, run your function, and then verify that the commands match. It's integration because it can't run without a drone (simulated or real).


Footer fixes, still needs work on placement

Contributes #450

footer is now placed at the bottom of the page. If a page has lots of content, user has to scroll down to see the footer.


Fetch inscriptions data from backend

Put logic into app/functions/api + add Inscription data structure

data will either come from internal/external API endpoint exposing postges data. checkout ordilabs/bitcoin-scanner#14 for a preview.
unfortnunatly right now bitcoin-scanner can't be run at the same time as bitcoin-core (mempool data for live).  Ideas how to go forward were discussed in https://github.com/ordilabs/live/issues/98


Fedora postinstall script issue

I'm trying to build this from Fedora 33 and I'm running into issues with build-aux/meson/postinstall.py script
Updating icon cache...
gtk-update-icon-cache: Failed to open file /usr/local/share/icons/hicolor/.icon-theme.cache : No such file or directory
Updating desktop database...
Compiling GSettings schemas...
Error opening directory “/usr/local/share/glib-2.0/schemas”: No such file or directory

It seems like the path should be just /usr/share/ without local prefix. At least that's where I'm seeing icons and glib-2.0 contents on my system.

Hi! :)
Which prefix did you set for meson? It's only using /usr/local as the default prefix if MESON_INSTALL_PREFIX is undefined

You're right. I tried running this script manually because I figured there was a build step missing.
When I try to run it ./target/debug/spot or cargo run I get an error:
thread 'main' panicked at 'Could not load resources: Error { domain: g-file-error-quark, code: 4, message: "Failed to open file “~/.local/share/spot/spot.gresource”: open() failed: No such file or directory" }', src/main.rs:55:10

README doesn't say anything about how to run it.

Hmm, how did you build it exactly?
If you use the same prefix as in the README, the spot.gresource file should have copied to ~/.local/share/spot indeed! Can you check that it's there?


[ChatGPT]...

Extension
https://raycast.com/abielzulio/chatgpt
Raycast Version
1.84.3
macOS Version
15.0
Description
Error:
Tag "{{content}}" execution failed: Error: Could not get the content of the tab - The operation couldn’t be completed. (RaycastRPC.ResponseError error 1.)

Steps To Reproduce

Use Arc
Install extension
Use mini window or regular tab
Summarize in Raycast
Observe error

Current Behaviour
Reports error and no summary
Expected Behaviour
Summary displayed

Update: When I refreshed the page, it seemed to work. I thought I had done that already, but perhaps not.


Do not try to refresh access token if fixed OAuth2 token is injected

By merging #14, the possibility to inject a fixed OAuth2 token was broken. The change unconditionally instantiated the HttpProvider which tried to get the necessary credentials from the filesystem.
But as CREDENTIALS_DIR is not set for local testing, the application does not startup because of the IllegalArgumentException being thrown.
This PR fixes this by postponing the creation of the HttpProvider until the first access token has to be created.

Current coverage is 78.29%

Merging #32 into master will increase coverage by +0.63% as of 2ea99a9

@@            master     #32   diff @@
======================================
  Files           20      20
  Stmts          385     387     +2
  Branches        31      33     +2
  Methods          0       0
======================================
+ Hit            299     303     +4
+ Partial         11      10     -1
+ Missed          75      74     -1

Review entire Coverage Diff as of 2ea99a9

Powered by Codecov. Updated on successful CI builds.

Thank you for the PR.


please throw a CheckRowCountException

com.avaje.ebeaninternal.server.persist.dml.DmlHandler.checkRowCount(int rowCount) please thorw a CheckRowCountException because i need a specific error. like give front-end users
now,be bound to use this try cach
if (e instanceof OptimisticLockException) {
            if ("checkRowCount".equals(e.getStackTrace()[0].getMethodName())) {
                if (process != null)
                    return process.call();
            }
 }

At this stage this issue does not make sense to me.  That is, the OptimisticLockException is intended for the case where optimistic locking / optimistic concurrency checking fails - it fails based on the updated/deleted row count not being the expected value.
That is, I don't see why you see the need for a different exception.

So, all optimisticlockexception is checkRowCount error?

i need get RowCount for http POST request. If RowCount is zero, i need insert a entity.

Yes - that is what a OptimisticLockException is  (there is no DB involved
which is why many call it 'optimistic concurrency checking').
On 13 May 2015 at 23:28, icode<EMAIL_ADDRESS>wrote:

So, all optimisticlockexception is checkRowCount error?
—
Reply to this email directly or view it on GitHub
https://github.com/ebean-orm/avaje-ebeanorm/issues/292#issuecomment-101633193
.

ebean now and afterwards not have optimistic lock?

> If RowCount is zero, i need insert a entity.
That sounds like 'upsert' (which some db's support in various ways but
there are implementation specific issues with 'upsert').  You should
explain more fully what you are trying to achieve.
On 13 May 2015 at 23:48, Rob Bygrave<EMAIL_ADDRESS>wrote:

Yes - that is what a OptimisticLockException is  (there is no DB involved
which is why many call it 'optimistic concurrency checking').
On 13 May 2015 at 23:28, icode<EMAIL_ADDRESS>wrote:

So, all optimisticlockexception is checkRowCount error?
—
Reply to this email directly or view it on GitHub
https://github.com/ebean-orm/avaje-ebeanorm/issues/292#issuecomment-101633193
.

> ebean now and afterwards not have optimistic lock?
Ebean has always had optimistic locking.  Ebean also has pessimistic
locking (which results in real DB locks - "select for update").
On 13 May 2015 at 23:53, Rob Bygrave<EMAIL_ADDRESS>wrote:

> If RowCount is zero, i need insert a entity.
That sounds like 'upsert' (which some db's support in various ways but
there are implementation specific issues with 'upsert').  You should
explain more fully what you are trying to achieve.
On 13 May 2015 at 23:48, Rob Bygrave<EMAIL_ADDRESS>wrote:

Yes - that is what a OptimisticLockException is  (there is no DB involved
which is why many call it 'optimistic concurrency checking').
On 13 May 2015 at 23:28, icode<EMAIL_ADDRESS>wrote:

So, all optimisticlockexception is checkRowCount error?
—
Reply to this email directly or view it on GitHub
https://github.com/ebean-orm/avaje-ebeanorm/issues/292#issuecomment-101633193
.

but optimistic lock not use OptimisticLockException?
Now i use jersey(JAX-RS) for RESTful service, so http PATCH should replace model, if model not exist insert model, exist update model all properties.
And have a force all properties method api?


topk cuda runtime error Nvidia TX2

'topk' gives a 'cuda runtime error' on cuda tensors with greater than 800 elements when run on an Nvidia TX2. The cuda runtime error is not observed on a GTX1080. I have included some code snippets below.
this works
x = torch.rand(100):cuda()	--100 element cuda tensor
y,i = x:topk(3)
x = torch.rand(1000)	--1000 element tensor
y,i = x:topk(3)
this fails
x = torch.rand(1000):cuda() --1000 element cuda tensor
y,i = x:topk(3) --fails on TX2 with the following error (works on GTX1080)
THCudaCheck FAIL file=/tmp/luarocks_cutorch-scm-1-310/cutorch/lib/THC/generic/THCTensorTopK.cu line=156 error=7 : too many resources requested for launch
[string "y,i = x:topk(3)"]:1: cuda runtime error (7) : too many resources requested for launch at /tmp/luarocks_cutorch-scm-1-310/cutorch/lib/THC/generic/THCTensorTopK.cu:156
stack traceback:
[C]: in function 'topk'
[string "y,i = x:topk(3)"]:1: in main chunk
[C]: in function 'xpcall'
/home/nvidia/torch/install/share/lua/5.1/trepl/init.lua:679: in function 'repl'
...idia/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk
[C]: at 0x004061f0

It probably fails for any value of 513 or higher.
Can you change
https://github.com/torch/cutorch/blob/master/lib/THC/generic/THCTensorTopK.cu#L96
to say:
dim3 block(std::min(THCRoundUp(sliceSize, 32L), 512L));

and see if it works?
Really this number should be based on occupancy for the kernel and the particular compute capability, but that involves more work.

if 512 doesn't work, try 256

Thanks for the suggestion. This was my first thought as well. I tried to change the block max block size to both 512 and 256. Both of these changes appear to cause a much more vague cuda runtime error.  See below. To ensure that I am correctly building cutorch I altered the max block size back to 1024 and it is working the same way as described in my initial post.  Additionally, I rebuilt both torch (with all dependencies) and cutorch.
error message for cutorch.test()
topk
Function call failed
/usr/share/torch/install/share/lua/5.1/cutorch/Tensor.lua:14: cuda runtime error (59) : device-side assert triggered at /home/nvidia/cutorch/lib/THC/generic/THCTensorCopy.c:65
stack traceback:
[C]: in function 'copy'
/usr/share/torch/install/share/lua/5.1/cutorch/Tensor.lua:14: in function 'typeAs'
/usr/share/torch/install/share/lua/5.1/cutorch/test.lua:187: in function 'isEqual'
/usr/share/torch/install/share/lua/5.1/cutorch/test.lua:427: in function 'compareCPUAndCUDATypeTensorArgsWithConvInternal'
/usr/share/torch/install/share/lua/5.1/cutorch/test.lua:447: in function 'compareCPUAndCUDATypeTensorArgsWithLimit'
/usr/share/torch/install/share/lua/5.1/cutorch/test.lua:3820: in function 'v'
/usr/share/torch/install/share/lua/5.1/cutorch/test.lua:4872: in function </usr/share/torch/install/share/lua/5.1/cutorch/test.lua:4870>
[C]: in function 'xpcall'
/usr/share/torch/install/share/lua/5.1/torch/Tester.lua:477: in function '_pcall'
/usr/share/torch/install/share/lua/5.1/torch/Tester.lua:436: in function '_run'
/usr/share/torch/install/share/lua/5.1/torch/Tester.lua:355: in function 'run'
/usr/share/torch/install/share/lua/5.1/cutorch/test.lua:4890: in function 'test'
[string "_RESULT={cutorch.test()}"]:1: in main chunk
[C]: in function 'xpcall'
/usr/share/torch/install/share/lua/5.1/trepl/init.lua:661: in function 'repl'
...hare/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:204: in main chunk
[C]: at 0x004061f0


Incorrect error message on badly formatted ARLAS_ELASTIC_NODES

What happened:
I passed ARLAS_ELASTIC_NODES=https://my.elasticsearch:9300 to ARLAS-server, it resulted in following error:
io.arlas.server.exceptions.ArlasConfigurationException: Elastic search configuration missing in config file.
	at io.arlas.server.app.ArlasServerConfiguration.check(ArlasServerConfiguration.java:148)
	at io.arlas.server.app.ArlasServer.run(ArlasServer.java:123)
	at io.arlas.server.app.ArlasServer.run(ArlasServer.java:93)
	at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:43)
	at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
	at io.dropwizard.cli.Cli.run(Cli.java:78)
	at io.dropwizard.Application.run(Application.java:93)
	at io.arlas.server.app.ArlasServer.main(ArlasServer.java:97)

What you expected to happen:
Problem comes from the fact that the https:// prefix makes the parsing fail, so I was expecting an error message more in the like of:
Configuration entry `elastic-nodes` badly formatted.

How to reproduce it (as minimally and precisely as possible):
Start ARLAS-server with ARLAS_ELASTIC_NODES=https://my.elasticsearch:9300
Environment:
ARLAS-server version: 12.7.1

The code has been changes since and this exception is no longer raised.


Fixes the endless spinner at startup

This will probably fix the endless spinner at startup....
Fixes #545
Fixes #538

@ostcar or @emanuelschuetze Can you verify this?


Fetch list of org repos for homepage

the list of repos on the homepage should automatically include everything under redhat-israel org, perhaps except for this repo itself. we can just fetch the list of repo names and add them to the list

suggestion: a list of relevant redhat organizations (like this one).
the repository list can be concatenated from all listed organizations,
filtering out private repos, archived repos, and perhaps a manual maintained list of exclusions.
this list can be merged with the current manual maintained list we have.

i like the idea. how do we filter for redhat-israel contributors?

how about the members here?
when creating the data for the site,
we'll retrieve all the public non-archived repos from a manual maintained list of organizations.
filtering out repos from a manual maintained excluded repos list,
and grabbing only repos including contributions from our members list.
it might take some io from gh api, but I think it's doable.
maybe we should a pin on this until we tackle the token limitations issue we discussed earlier this week.

re-thinking this...
if someone drops from this organization,
unless we have another member contributing in the same repo,
it won't show up anymore from the next build.

js Set has unique entries, so just make a Set of the manual entries and add each result from your heuristic, you don't have to worry about duplicates then

of course, but the data is not persisted, if we re-generate the entries list for every build based on members in this org,
this means this if I leave this org, in the next build, unless we have another member contributing in the same exact repos, they will not appear in the new list.

maybe we should discuss persisting our data.
our current data fetching is a lengthy one, and we're going to add on top of it.
so... maybe it's time to consider persisting this data somewhere and updating it nightly or some other schedule, having this site build quicker by simply retrieving the data from the persistence target.
we can do it with another repo that will host the persistent data and some workflows updating it.
we can also do it in this repo, but I think it will be messy.


[BUG] Frontend crashing while building.

Description
frontend will crash on npm run build
Steps to Reproduce
Frontend build breaks with:

./src/app/(core)/layout.tsx:8:32
Type error: Binding element 'snackbarKey' implicitly has an 'any' type.

   6 | import { MdOutlineCancel } from 'react-icons/md'
   7 |
>  8 | const SnackbarCloseButton = ({ snackbarKey }) => {
     |                                ^
   9 |   const { closeSnackbar } = useSnackbar()
  10 |
  11 |   return (

Expected Behavior
build should be successful
Actual Behavior
build is breaking
Additional Context
No response
Affected Area
Frontend
Version
v0.1.0-beta.1
Browser (if frontend)
No response

I am working on it @DevilsAutumn

@Saurabhsharma884  @DevilsAutumn , i am disabling eslint checks for building, is it ok for you guys?

@Saurabhsharma884 @DevilsAutumn , i am disabling eslint checks for building, is it ok for you guys?

We can't disable eslint checks.


[storage] blobClient.download() creates unique url and content is never retrieved from browser cache

For a non-public storage account, we are using azure storage sdk to download blobs using AD access token credential. However, every time a call is made to blobClient.download(), the URL of the blob is appended with a _=. This prevents the browser from retrieving the blob from its cache.
Is there an option to avoid appending this to the query string? Perhaps sending it as a header?
I have tried setting CacheControl on the blobs, and also retrieving blobs by specific versionId, but that also results in a URL that is not cached by the browser.

A workaround is downloading the blob using Bearer Token authentication and a different httpclient:
public downloadBlob(container: string, blobName: string): Observable<any> {
    return of(this.blobServiceClient.getContainerClient(container)).pipe(
      map((containerClient: ContainerClient) => containerClient.getBlockBlobClient(blobName.toLowerCase())),
      map((blobClient: BlobClient) => blobClient.url),
      concatMap((url: string) => from(this.http.get(url, {responseType: 'blob', headers: {'x-ms-version': '2021-08-06'}}))),
      map((blob) => ({blob, name: blobName, type: blob.type})),
      catchError((err) => {
        console.error(err);
        return of(null);
      })
    )
  }

The x-ms-version header has to be present, for Bearer Token authentication to work. The bearer token was injected into the httpclient. This sample is from Angular code.

@xirzec you are correct.
The download was originally done by the blobclient download method (blobClient.download()). I was not generating the download URL myself.
After realizing the files were never retrieved from cache, I inspected the requests on my browser developer console and realized the URL had that timestamp appended, which was preventing the browser from retrieving from cache, regardless of the Cache-Control header.
Everything is happening in the browser, this is not on the server-side.

@rafagsiqueira I think you could manage this by tweaking the pipeline a bit to remove the cache-busting policy, perhaps something like:
const pipeline = newPipeline(credential);
const policyIndex = pipeline.factories.findIndex(factory => factory instanceof StorageBrowserPolicyFactory);
if (policyIndex > -1) {
  pipeline.factories.splice(policyIndex, 1);
}
const blobServiceClient = new BlobServiceClient(
    `https://${account}.blob.core.windows.net`,
    pipeline
);

@EmmaZhu perhaps we should have an option in StoragePipelineOptions to disable the cache busting for browsers?

@xirzec What about this parameter URLConstants.Parameters.FORCE_BROWSER_NO_CACHE? Is the default value true?
https://github.com/Azure/azure-sdk-for-js/blob/28b2aa281227b2f1b50f68cb1ac332901c353219/sdk/storage/storage-blob/src/policies/StorageBrowserPolicy.ts#L52

The naming of the constant indicates the _ querystring parameter was created precisely to force the browser not to cache. I agree with your suggestion that there should be a way to disable this querystring parameter.

@xirzec
Echo your suggestion. Seems we'd need to add an option to disable the default behavior.


Setting up migrations

After doing some research, it looks like Alembic is the one to go for.
It does seem to have a dependency on the Mako template library though, it uses this for parsing the config file so we can't do without it unfortunately, even though we are already using Jinja2 for our main application.

Done and merged into master


Wrong redirection link added for "Sideload permission"

Below highlighted hyperlink is wrong:

Please update the link as below section:
https://learn.microsoft.com/en-us/microsoftteams/platform/toolkit/tools-prerequisites#verify-sideloading-permission

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

ID: 657f1dc5-5346-f4cd-f788-004bd7369468
Version Independent ID: 657f1dc5-5346-f4cd-f788-004bd7369468
Content: Prerequisites for creating your Teams app using Visual Studio Code - Teams
Content Source: msteams-platform/toolkit/tools-prerequisites.md
Service: msteams
GitHub Login: @zyxiaoyuer
Microsoft Alias: surbhigupta

@surbhigupta12 - Could you please help here to update the link in given document.


AVRO-4026: [c++] Add new methods to CustomAttributes to allow non-string custom attributes in schemas

This adds new methods to CustomAttributes to allow setting non-string values. These other methods work with JSON-encoded strings.
Unlike #3064 and #3069, this change attempts to be backwards compatible. However, from reading more comments in pull requests, it looks like the "fix" I added (to escape the keys and values in custom attributes when printing to JSON) may actually be a compatibility issue since it seems that users were expected to have to escape string values if they contained any characters that would be escaped in JSON (including quotes). That seems like a really terrible API, and it also meant that the values would not round-trip correctly: reading a data file would not create custom attributes with these strings properly escaped, so later writing out data with the same schema would generate an invalid schema JSON document.
In any event, this uses strings as the values even though it would be ideal if we could pass some sort of structured data as the value type. The ideal types (json::Entity and its accompanying json::Object and json::Array types) are defined in json/JsonDom.hh. But that header files is not part of the Avro include files distribution, which means we cannot #include it from CustomAttributes.hh, so it's a no-go. From a little history spelunking, I see that they indeed used to use a structured form which was simplified to strings in #1821, purely because these JSON header files aren't available to users in the Avro distribution.
Alternatives that I considered for using JSON-encoded strings:

Include the JSON types in the Avro distribution. I think this would be as simple as moving the header files out of lang/c++/impl and into lang/c++/include/avro. But then we expand the public API of too much. This approach was already tried and rejected in #1820.
Use a wrapper like std::any as the value type. This can be #included in CustomAttributes.hh but eliminates type safety in the signature. The only concrete accepted value would likely be json::Entity -- though we could make it more sophisticated and also allow the various value types sans wrapper: std::string, bool, int64_t,  double, json::Array (aka std::vector<json::Entity>), and json::Object (aka std::map<std::string, json::Entity>). But this isn't really usable by external/user code, at least not for any composite values, since they aren't able to include the JSON headers and then produce valid values of json::Entity.
Convert from json::Entity to some other structured type that is defined in CustomAttributes.hh. This could possibly be a concrete std::variant that allows the various options (and could use std::monostate to represent JSON null values). This introduces non-trivial conversion code. From a performance perspective, it could likely be better than converting to/from strings, but it's a non-trivial amount of new-new code to maintain, which didn't feel right.

What is the purpose of the change
Fixes exception from C++ library when compiling schemas with non-string custom attributes.
Verifying this change
This change added tests and can be verified as follows:

Updates existing unit test cases to use the new method and use non-string custom attributes.

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? not documented

@wgtmac Do you have an opinion about these changes ?
There are two more PR about the same (https://github.com/apache/avro/pull/3064 and https://github.com/apache/avro/pull/3069). We try to find the best one of them.

I'm not fully familiar with the context (and the code) yet. I agree that keeping backward compatibility is the bottom line. However, from the JIRA issue it seems that non-string attributes were supported once but broken after fixing other issues. Shouldn't we just fix it to revert the unexpected behavior? Except the alternatives list above, is it possible to add an option to CustomAttributes to control its behavior of dealing with non-string values?

Except the alternatives list above, is it possible to add an option to CustomAttributes to control its behavior of dealing with non-string values?

Most certainly. I hadn't considered it, but it would be easy to change to that. Would like you me to apply that suggestion in this PR?


nixosTests.vscodium: Workaround OCR tests

An attempt to help https://hydra.nixos.org/build/279535629/nixlog/1.
The "Get Started with" text is much easier to find. Also scale vscodium to help OCR find the "Untitled" text.
(Lets see what ofborg says with this, note that wayland test already fails on aarch64-linux before)
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

[x] Tested, as applicable:

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

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

@ofborg test vscodium.xorg
@ofborg test vscodium.wayland


chore: bump undici version

chore: bump undici and increase minimum node version to 16.13

We bump undici to version to 5.9.1 to patch some security vulnerabilities in previous versions
This requires bumping the minimum node version to >= 16.8 so we update the minimum to the LTS 16.13

Fixes https://github.com/cloudflare/wrangler2/issues/1684
Fixes https://github.com/cloudflare/wrangler2/issues/1679

Seems to be some behaviour change to formData so some tests failing

Might want to wait until the next version of Miniflare, as a similar bump was done here and we can get it all bumped in one

Latest commit fixes https://github.com/cloudflare/wrangler2/issues/1679

This should also fix #748

Assuming based on https://github.com/cloudflare/miniflare/pull/333#issuecomment-1222194515, that @threepointone might have some comments...


Adds Keychain sharing

I was seeing this on every launch

Which doesn't save the credentials, so I looked up why, turns out to be a bug in keychain itself. The workaround is to turn on keychain sharing: https://forums.developer.apple.com/thread/4743
This does just that.

Cool - reran as 1.0.1

Merci!


Cursor Position

Awesome work mate! Just one issue though.
The current implementation ignores the text field cursor position and always assumes that the user is typing after the last character. It would be cool to have the ability to move the cursor around and type/delete from where its located.
Again, awesome work, thanks a lot 👍

Cursor already exist at last character. Just add it as drawable into style field.
The slight issue is a position of cursor in this project not correctly shifted to right or left according to direction of language. I will fix it soon.


bug: comments not accepted in REPL

On MacOS 14.3.1 using roc_nightly-macos_apple_silicon-2024-02-27-3ea97398f5, it appears that comments are not accepted by roc repl:
$ roc repl

  The rockin' roc repl
────────────────────────

Enter an expression, or :help, or :q to quit.

» value = 123

123 : Num *
» # this is a comment
…

── MISSING EXPRESSION ──────────────────────────────────────────────────────────

I am partway through parsing a definition, but I got stuck here:

1│  app "app" provides [replOutput] to "./platform"
2│
3│  value = 123
4│
5│  replOutput =
6│      # this is a comment
7│
    ^

I was expecting to see an expression like 42 or "hello".

»

Thanks for reporting @gvwilson!
We currently request an additional line (with the …) after a comment. Would your desired behavior be to just print an empty prompt  again » in the case of a comment followed by a double enter?

My apologies, but I'm still puzzled: if I run roc repl and the first line I enter is # comment <return> I get the … prompt. If I press <return> again I get the error message; if I try <space><nl> I get the same error message, and if I enter another comment line it just delays the problem. What should I enter to satisfy your request for another line?
(I'm comparing this with e.g. the Python REPL, where a line starting with # is ignored and the REPL immediately looks for more input.)

"the … prompt" is the request for another line, so you can do:
» # hello
… "Hey"
…

"Hey" : Str

I've checked some other languages too and they all follow the python behavior, so I'm good with that approach. I'll make a new issue for that.

#6574

Completed by https://github.com/roc-lang/roc/pull/6767


I cannot install PHP 7.1.9 on macOS 10.11.6 (El Capitan)

Despite the warning, I do not believe the problem is caused by the rootless mode.
Command used:
$ phpbrew install 7.1.9  +default +dbs +fpm +gd +intl -- --with-gd=shared
Output:
#WARNING: it seems you are running PHPBrew under MacOS 10.11 or above with rootless enabled. it's recommended turn off rootless before your continue, or you may experience some issues.
===> phpbrew will now build 7.1.9
===> Loading and resolving variants...
Downloading http://www.php.net/get/php-7.1.9.tar.bz2/from/this/mirror via curl extension
Redirecting to http://php.net/distributions/php-7.1.9.tar.bz2
[==================================================================] 14.39/14.39MB 100%
===> Extracting /Users/peracchi/.phpbrew/distfiles/php-7.1.9.tar.bz2 to /Users/peracchi/.phpbrew/build/tmp.1504466886/php-7.1.9
===> Moving /Users/peracchi/.phpbrew/build/tmp.1504466886/php-7.1.9 to /Users/peracchi/.phpbrew/build/php-7.1.9
===> Checking patches...
Checking patch for replace apache php module name with custom version name
===> Configuring 7.1.9...

Use tail command to see what's going on:
   $ tail -F /Users/peracchi/.phpbrew/build/php-7.1.9/build.log

===> Checking patches...
Checking patch for php5.3.29 multi-sapi patch.
Checking patch for php5.3.x on 64bit machine when intl is enabled.
Checking patch for openssl dso linking patch
6 changes patched.
===> Building...
Error: Make failed:
The last 5 lines in the log file:
/usr/local/Cellar/icu4c/59.1/include/unicode/unistr.h:3180:7: error: delegating constructors are permitted only in C++11

      UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {}

      ^~~~~~~~~~~~~

2 warnings and 3 errors generated.

make: *** [ext/intl/intl_convertcpp.lo] Error 1

Please checkout the build log file for more details:
	 tail /Users/peracchi/.phpbrew/build/php-7.1.9/build.log

Additional info:
$ brew config
HOMEBREW_VERSION: 1.3.1
ORIGIN: https://github.com/Homebrew/brew
HEAD: 69799d97b1e7314912b2ee234dec2c179c5fb969
Last commit: 4 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: e45386e283911db18e69aeefbc69d6608343e555
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit sandybridge
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.10.1 => /Library/Developer/CommandLineTools/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/peracchi/.rvm/rubies/ruby-2.4.1/bin/ruby
Java: 1.8.0_144
macOS: 10.11.6-x86_64
Xcode: N/A
CLT: <IP_ADDRESS>.1.1480973914
X11: N/A

$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-8<IP_ADDRESS>)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

$ brew list
adns		curl		gettext		intltool	libgcrypt	libtiff		libyaml		nginx		pcre		readline
autoconf	dnsmasq		gmp		jpeg		libgpg-error	libtool		mcrypt		npth		pinentry	webp
automake	fontconfig	gnupg		libassuan	libksba		libunistring	mhash		openssl		pkg-config
bison		freetype	gnutls		libevent	libpng		libusb		mysql<EMAIL_ADDRESS>postgresql
coreutils	gd		icu4c		libffi		libtasn1	libxml2		nettle		p11-kit		re2c

$ brew info icu4c
icu4c: stable 59.1 (bottled), HEAD [keg-only]
C/C++ and Java libraries for Unicode and globalization
http://site.icu-project.org/
/usr/local/Cellar/icu4c/59.1 (246 files, 65.4MB) *
  Poured from bottle on 2017-09-03 at 13:53:57
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/icu4c.rb
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

If you need to have this software first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set:
    LDFLAGS:  -L/usr/local/opt/icu4c/lib
    CPPFLAGS: -I/usr/local/opt/icu4c/include
For pkg-config to find this software you may need to set:
    PKG_CONFIG_PATH: /usr/local/opt/icu4c/lib/pkgconfig

Any idea on how to proceed?

This problem is related to icu4c version 59.1.
Install an older version of icu4c (i.e. 58.2) and manually link against it:
--with-icu-dir=/usr/local/Cellar/icu4c/58.2/

@patrickjahns how can I install version 58.2 of icu4c with brew?
I have made a complete reinstallation of my Macbook and homebrew installs version 59.1 of icu4c.

You can install it via directly linking to an older version of the homebrew formula:
brew install https://raw.githubusercontent.com/ilovezfs/homebrew-core/d2485c72643aa7e6aec0da9ced3aa66401ae42ce/Formula/icu4c.rb
I would recommend that you link 59.1 to /usr/... and keep 58.2 in the cellar for php.
The better/more import fix would be, that phpbrew uses ENV.cx11 environment - see related issues in homebrew:
https://github.com/Homebrew/homebrew-php/issues/4383

@patrickjahns thanks for the command to install the previous version of icu4c.
I just needed to uninstall 59.1 and then use the command you provided.

just keep in mind that there might be homebrew packages asking for 59.1 and that will override your version again.
That's why I build it directly against the cellar version

Ladies and Gentlemen, some progress here.
I had a second attempt at the issue. I tried to brew install --debug --build-from-source php56-intl to grasp how settings ENV.cxx11 works in brew.
I assumed I use clang compiler, as brew config shows it uses that. Then, I tried:
CXXFLAGS='-std=c++11 -stdlib=libc++' phpbrew install 5.6 +intl <other variants and config params>

It looks like it works.
FYI, it's my environment:
macOS: 10.12.6-x86_64
Xcode: 8.3.3
CLT: <IP_ADDRESS>.1.1492020469
Clang: 8.1 build 802
icu4c: stable 60.2 (bottled), HEAD [pinned at 60.2, keg-only]

@mirfilip's solution worked for me, with no need to specify to use --with-icu-dir with an older build of ICU.

Just install like
phpbrew install {your-version} -intl {your-extensions}
and after that:
CXXFLAGS='-std=c++11 -stdlib=libc++' phpbrew ext install intl
so you only compile intl with the flags

I think the issue is outdated and some possible solutions are available on previous reply.
It will be closed.


Create English translation for the instructions

I think this template can be useful for people outside of Fasilkom UI, so let's translate the instructions to English!
Ideally, I think it should be named README.en.md. Feel free to submit a PR for that, and I'll be glad to review it 😄
Please note that I only accept a PR for this issue if you speak Indonesian.
Also note that I'm some kind of a perfectionist so be prepared for multiple revisions 😆

Hi @laymonage I would like to contribute please assign the issue to me

Hi @ankurjain00, unfortunately I cannot assign it to you unless you speak Indonesian.

Hi @laymonage i would like to contribute! Can you assign it to me?

Done, @khadijahrizqy!

Hi @khadijahrizqy, it seems that someone else has already attempted to translate the instructions (see #3). Since you haven't forked the repository, I guess it's better if I reassign it so that there's no duplicated work. Sorry!

hi, @laymonage can you assign it to me? I already made PR, terima kasih.

Closed in #3.


Browse ux0:/, ur0:/ and uma0:/

In the Vita player only have to parent folder rewind ux0:/ , change it up into of the data folder in example:Browse ux0:/data/ElevenMPV/lastdir.txt
Choose to directory um0:/ or other etc.
Enjoy!

This project is no longer being maintained. I'd suggest trying this and making an issue if it doesn't already have this feature: https://github.com/GrapheneCt/ElevenMPV-A


How to close Unity at the end of the Controller's Lifecycle

Hello, I've correctly setup my Unity application inside my iOS Application on VRARController:
  OnTheGoDelegate *appDelegate = (OnTheGoDelegate *)[[UIApplication sharedApplication] delegate];     [appDelegate startUnity];     _unityView = UnityGetGLView();     CGRect screenRect = [[UIScreen mainScreen] bounds];     [_unityView setFrame:screenRect];     [self.view addSubview:_unityView];
and, on ViewWillDisappear
 OnTheGoDelegate *appDelegate = (OnTheGoDelegate *)[[UIApplication sharedApplication] delegate];     [appDelegate stopUnity];     [_unityView removeFromSuperview];     _unityView = nil;
But unfortunately if I reopen the controller, Unity is on the same level of the previous launch of the controller.
How to stop and reset the Unity and UnityGetGLView when UIViewController has been removed, to restart It from the beginning If I reopen It?

Same question here – I need to make fresh restart every time view controller with unity is presented. Anyone has any idea how to do it?

same here. any ideas?


Submission Workflow.

Discussion

It was working fine but now it isn't, I just go to upload and provide all the data and press proceed, and it keeps proceeding

This is related to the following issues:
https://github.com/NFDI4Chem/nmrxiv/issues/258
https://github.com/NFDI4Chem/nmrxiv/issues/259


Revert "upgrade sdk package for fixing adminurl issue"

Reverts bf2fc6cc711aee1a0c2a/kafka-ui#686
Reverting this PR. Noticed there are major changes in recent sdk which breaks the application.
I'm degrade sdk version in app-services-ui so that topics api will work on Dashboard page which is braking with latest sdk.

Was update merged automatically by renovate?
Really strange as typescript should fail in many places to compile that source code


nip10 test corpus

It would be good to have a large, standardized test corpus that clients can use to test their nip10 implementation:

Tests with markers
Tests without markers
Tests with mixed markers
Tests with out-of-deprecated-order markers for those over-relying on deprecated form
Tests with a single reply marker, interpreted as reply-to-root: {root: id_a, reply_id: id_a}
Tests with a single root marker and no mentions or replys (what is this interepreted as? reply-to-root?)

Ideally it would be a simple json blob with a list of notes that maps to the expected nip10 structure:
{root: id?, reply: id?, mentions: [ids]}
@staab @vitorpamplona @mikedilger @pablof7z @fabianfabian ... and probably more there are too many to count at this rate. who has the biggest test suite 🤠

I test in production. 😱

I test in production. 😱

To be clear, this is the motto of nostr 🤠

I think we may also need test cases for constructing nip10 thread replies

I have zero (0) tests. But yes, this is some of the most error-prone code I've run across yet.

ok I am starting to see the problem LOL

I don't have proper tests for this, I'm just loading randomly picked existing threads into Xcode previews and checking if it looks ok

From @pablof7z

not incredibly thorough but https://github.com/nostr-dev-kit/ndk/blob/master/ndk/src/thread/index.test.ts I mainly add to it whenever I run into an improperly handled case.

https://njump.me/nevent1qqsdwkvz5uda5fexaafzx0gjwmzrdvl6cgrt84drh2p4tekahwuwp4qpz3mhxue69uhhyetvv9ujuerpd46hxtnfduq3wamnwvaz7tmjv4kxz7fwvd6hyun9de6zuenedyq3jamnwvaz7tms09exzmtfvshxv6tpw34xze3wvdhk6qgjwaehxw309aex2mrp0yhxvdm69e5k7s0e63a

@mplorentz advises

just searched our repo, we don’t have any tests for these 😬 I like this idea though, kind of like we have some standard tests for NIP-44 encryption: https://github.com/paulmillr/nip44

@fiatjaf if we came up with a test suite for NIP-10 how could we link this to NIP-10 spec?

Definitely.

I would create a test relay that returns both correct and malformed content. The formally correct notes and the deprecates ones explain how they should be rendered, the malformed explain that they should not be rendered at all (with a prominent alert image/emoji).
The same relay, maybe asking to interact in specific notes, should accept formally corrected notes and refuse deprecated or malformed ones, sending an alert via dm.
These test content/rules should be created for every NIP.
Testing a client would mean connect to this single relay and browse a synthetic Nostr for a while.
Ok, it's not a real test suite, but it's Nostr style, cross language and can be run by anyone, in a collaborative way too.
If I'm not wrong Kieran did something similar months ago.

Would love to see more progress on this. We're integrating NIP-10 currently and would like to test before launch. Looks like everyone is winging it as we go.

I raised an issue on the NoStrudel repository regarding  thread. This scenario should be included in these test vectors:
https://njump.me/nevent1qqs8l36pryz6qxrhgx542me7nrp55wvafvy74cgj3dwsxxeey9d5x8gpp4mhxue69uhkummn9ekx7mqzyzsq3hh327t0h2dq6matqn5064cgj2zanl2stkj6s0lg4t2h5dty64ytpru


Loading in memory error

Hi Alan,
latest version doesn't allow me to load in memory. It gives me the following error messages in console:

Duplicate of https://github.com/AlanRace/SpectralAnalysis/issues/9


Fix typo in the changelog

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

Project coverage is 98.57%. Comparing base (30038a8) to head (1df5dd9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #252   +/-   ##
=======================================
  Coverage   98.57%   98.57%
=======================================
  Files           4        4
  Lines         140      140
=======================================
  Hits          138      138
  Misses          2        2

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


Unimplemented methods

Hi amazing developers,
Thanks for fixing at #21 :)
This is a different issue, but some methods are provided in an unimplemented state.
Is this because Twitter API limitations make it difficult to implement?
Thank you.

Hey,
The annotation @notImplemented is just for methods that aren't yet implemented, but that doesn't mean it's difficult to implement.
If there is a Twitter API endpoint that you want to use that is @notImplemented, you can still use the client to make the request.
(See https://github.com/robertodoering/twitter_api/wiki/Making-a-custom-request-to-the-Twitter-API)


Incremental generation & other ideas

As you've seen I started my own implementation as a toy, to learn Rust. My idea was to make an interactive / generative art sort of thing, so there were a few features I imagined:

incremental generation: an iterator on successive points, rather than a Vec
insertion of arbitrary points
arbitrary generation perimeter: here it could mean predicating candidate points instead of just generating them uniformly in the whole unit hypercube
non-uniform point density

Do any of those match your use-case? Any clues on how they could be best implemented?

What I am currently doing myself is implementing tile based Poisson disk distributions [1], but I would be interested on implementing these features to my library too.
The changes that are required for the tile algorithm and which I have already done locally requires giving the generator method arbitary point set as parameter and an predicate that restricts new the points to non-square shape. So those are already pretty close to what you want, but without the incremental part. Have to think how the incrementality would be implemented.
[1] Lagae, Ares, and Philip Dutré. "An alternative for Wang tiles: colored edges versus colored corners." ACM Transactions on Graphics (TOG) 25.4 (2006): 1442-1459.

I made initial implementation of incremental generation: https://github.com/WaDelma/poisson/tree/incremental

I've pushed my test code in a clean branch of my repo: https://github.com/cdlm/poisson-surface.rs/blob/wadelma/src/main.rs
If you run it, you will see points appear all over the window. But in Mike Bostock's implementation, new points only appear in the neighbourhood of existing ones, and the point set grows from there. I guess that's what your subdivide method is for, to have a more or less uniform distribution even if it's not complete?

The Ebeidas et al algorithm that I have implemented works differently to Bridsons' algorithm that Bostock/Davies have implented. Where Bridsons' algorithm starts from one point and adds points randomly based on it, Ebeidas' can been seen as optimisation of naive dart throwing algorithm where new points don't directly relate to new ones.
What Ebeidas' algorithm splits the space in grid which each cell can only contain at most one sample (their dimensions are chosen depending on the radius). In one iteration certain amount of samples are tried to random position of random cell of the grid. After those tries each cell is subdivided like in quadtree/octree and cells that are covered by sample are discarded. This is continued until there is no cells left.
If you need same kind of effect as in the Bridson's, then Ebeidas isn't really useful as it's basically just fast way of doing dart throwing... :/
Potentially I could add Bridson's algorithm to this library, so both algorithms would be under same API...

I think they are both really close: my implementation of Bridson's algo (not the Rust one) also uses a similar grid for proximity lookup, and a list of active "seed" points or cells. So the data is the same or really similar, and only the behavior differs.

I started implementing arbitary point insertion, but I stumbled upon design choise I am not sure about.
I am currently implementing insert method for the iterator that produces the points. But when the iterator should output added points or should it even output them?
Not outputing inserted points would potentially be most flexible choise: The user could then choose if they want to output them, provided they can store clones of the points somewhere themselves.
Perhaps have different methods for both?
Also it seems bit wrong to think iterator as a container of sorts.

I have implemented and first 2 ideas in this issue and opened #4 and #5 for the rest.

Nice ! I have little time to play with this these days, sadly… but I hope to come back to it

Np. Was fun to work with it (and completely redesign the API 3 times xD). Btw I also implemented Bridsons algorithm.


Add probability to the Code and only stop on the segment based on the percentage

Actually i am looking to add probability to the section based on the percentage.... Let me know if anyone can help I am ready to pay for it... Email--<EMAIL_ADDRESS>Phone/whatsapp: +91<PHONE_NUMBER>

Please be sure to read this tutorial on how to specify the winning prize before the spinning happens http://dougtesting.net/winwheel/docs/tut14_setting_the_prize
What you use to work out the probability is up to you - could be a simple as picking a random number between 0 and 360 and then using this to set theWheel.animation.stopAngle to this as shown in the tutorial.
I suggest consulting Dr Google if you would like more info on percentages and probability.


support terraform 0.12

Changes

use terraform 0.12upgrade command of terraform 0.12.3 to upgrade syntax of this module
fix type constraint of variable backends (the above command set it to map(string), which is not correct)

Reference

Upgrading to Terraform 0.12 - Terraform by HashiCorp

Fixes #49

The examples also need to be updated to support Terraform v0.12.
@ivankorn Please go ahead and start a new PR which incorporates this one but also updates examples.

@ivankorn Please go ahead and start a new PR which incorporates this one but also updates examples.

sure, I'll start it as #51 on Monday then


GH-43378: [Java][CI] Don't configure multithreading when building javadocs

Rationale for this change
Apparently some maven plugins are not thread safe and started throwing errors in the test-debian-12-docs CI job when building javadocs.
What changes are included in this PR?

Remove multithreading config when building javadocs

Are these changes tested?
CI
Are there any user-facing changes?
No

GitHub Issue: #43378

@github-actions crossbow submit test-debian-12-docs

@github-actions crossbow submit test-debian-12-docs

@github-actions crossbow submit test-debian-12-docs

@github-actions crossbow submit test-debian-12-docs

@github-actions crossbow submit test-debian-12-docs

@github-actions crossbow submit test-debian-12-docs

@github-actions crossbow submit test-debian-12-docs

Thanks @danepitkin for fixing this.

maven-site-plugin is supposedly thread-safe according to https://issues.apache.org/jira/browse/MSITE-873. Should we report the issue upstream?

maven-site-plugin is supposedly thread-safe according to https://issues.apache.org/jira/browse/MSITE-873. Should we report the issue upstream?

Good point. Should we first try upgrading to latest first? We are using maven-site-plugin v3.12.1 (defined in the parent apache pom I believe), but latest is v4.0.0-M9.

I'm also not able to reproduce it locally on a different platform (macos). I wonder if it could be that we have an incompatible version matrix configured between the different maven plugins that specifically plagues our CI?

Actually, I do see this warning from this CI job.
Warning:  *****************************************************************
Warning:  * Your build is requesting parallel execution, but this         *
Warning:  * project contains the following plugin(s) that have goals not  *
Warning:  * marked as thread-safe to support parallel execution.          *
Warning:  * While this /may/ work fine, please look for plugin updates    *
Warning:  * and/or request plugins be made thread-safe.                   *
Warning:  * If reporting an issue, report it against the plugin in        *
Warning:  * question, not against Apache Maven.                           *
Warning:  *****************************************************************
Warning:  The following plugins are not marked as thread-safe in Arrow Bill of Materials:
Warning:    org.apache.maven.plugins:maven-site-plugin:3.12.1
Warning:
Warning:  Enable debug to see precisely which goals are not marked as thread-safe.
Warning:  *****************************************************************

https://github.com/ursacomputing/crossbow/actions/runs/10394740527/job/28785211517

Ah, this was fixed in v3.20 and v4.X according to the Jira ticket https://issues.apache.org/jira/browse/MSITE-873

According to the Jira ticket (https://issues.apache.org/jira/browse/MSITE-873) this was fixed in 3.20+. We just need to upgrade if we want to use multithreading. The best approach is probably to use a later apache parent pom, which does use a later version.


docker-compose currently broken

Running docker-compose up fails with
pysonar-notebooks_1  | Traceback (most recent call last):
pysonar-notebooks_1  |   File "/usr/bin/jupyter-notebook", line 11, in <module>
pysonar-notebooks_1  |     sys.exit(main())
pysonar-notebooks_1  |   File "/usr/lib/python3.6/site-packages/jupyter_core/application.py", line 267, in launch_instance
pysonar-notebooks_1  |     return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
pysonar-notebooks_1  |   File "/usr/lib/python3.6/site-packages/traitlets/config/application.py", line 657, in launch_instance
pysonar-notebooks_1  |     app.initialize(argv)
pysonar-notebooks_1  |   File "<decorator-gen-7>", line 2, in initialize
pysonar-notebooks_1  |   File "/usr/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_config_error
pysonar-notebooks_1  |     return method(app, *args, **kwargs)
pysonar-notebooks_1  |   File "/usr/lib/python3.6/site-packages/notebook/notebookapp.py", line 1296, in initialize
pysonar-notebooks_1  |     self.init_webapp()
pysonar-notebooks_1  |   File "/usr/lib/python3.6/site-packages/notebook/notebookapp.py", line 1120, in init_webapp
pysonar-notebooks_1  |     self.http_server.listen(port, self.ip)
pysonar-notebooks_1  |   File "/usr/lib/python3.6/site-packages/tornado/tcpserver.py", line 142, in listen
pysonar-notebooks_1  |     sockets = bind_sockets(port, address=address)
pysonar-notebooks_1  |   File "/usr/lib/python3.6/site-packages/tornado/netutil.py", line 197, in bind_sockets
pysonar-notebooks_1  |     sock.bind(sockaddr)
pysonar-notebooks_1  | OSError: [Errno 99] Address not available
pysonar_pysonar-notebooks_1 exited with code 1

Issue was found by adamchen in slack and reproduced by me
running docker-compose up in the openmined/mine.js repo works fine.

True, what's the fix/workaround for now?

for now you can clone https://github.com/openmined/mine.js and run docker-compose up in there


Null MockFileData makes EnumerateDirectories return false

Drop the following test in MockDirectoryTests.cs and see it fail.
    [Test]
    public void MockDirectory_EnumerateDirectories_WithNoData_ShouldReturnDirectory()
    {
        // Arrange
        var fileSystem = new MockFileSystem();

        // Normally one would use `new MockFileData(string.Empty));` but I use `null`.
        fileSystem.AddFile(XFS.Path(@"C:\Folder\bar"), null);  // <----- there is the culprit

        // Act
        var actualResult = fileSystem.Directory.EnumerateDirectories(XFS.Path(@"c:\"), "Folder");

        // Assert
        // This assertion should succeed but fails.
        Assert.That(actualResult.Count(), Is.EqualTo(1));
    }

I tracked it to class MockFileSystem, method AllDirectories.
    public IEnumerable<string> AllDirectories
    {
        get
        {
            lock (files)
            {
                return files.Where(f => f.Value.IsDirectory).Select(f => f.Key).ToArray();
            }
        }
    }

where f.Value.IsDirectory fails due to Value being null.
Method Exists then handles any exceptions and returns false.
I have verified that if one has a real folder with a file of length 0, the folder will be returned when System.IO.Directory.EnumerateDirectories is called. At least on Windows10.
An easy solution would be to throw a NullArgumentException when AddFile is called without MockFileData but I am not in the position to deem it the correct one. This might be a breaking change.
Another solution could be to mockFile = mockFile ?? new MockFileData(string.Empty); in method AddFile.
A third solution could be to update the failing code with f.Value?.IsDirectory??true but that might have side effects.

Thanks for reporting! The second option (defensively default to an empty file for this case) sounds like the right thing to do.

Just ran into something similar, thought I'd add a comment to see what your thoughts are. (using 3.0.2)
The code that errors:
private IFileSystem GetMockFileSystem(string file, string existingBody = null)
{
    return new MockFileSystem(
        new Dictionary<string, MockFileData>
        {
            { file, new MockFileData(existingBody) }
        });
}

This option works fine:
private IFileSystem GetMockFileSystem(string file, string existingBody = null)
{
    return new MockFileSystem(
        new Dictionary<string, MockFileData>
        {
            { file, existingBody }
        });
}

Seems logical as the file wouldn't contain null, but thought I'd mention it in case it helps anyone else or if you would want to support that semi-illogical usage.


Plotting lat/long coordinates onto TopoJSON

Hello, I've been looking at this library and would very much like to use it for my work project (we currently rely on Leaflet for rendering GeoJSON).
We are pulling in lat/long coordinate data from an external API source and would like to plot markers onto a TopoJSON map (world-50m). I attempted to implement a solution suggested here, with no success: https://stackoverflow.com/questions/38270132/topojson-d3-map-with-longitude-latitude
It is a simple enough formula that relies on the scale/translate values of the TopoJSON, but is there a better way to convert each set of coordinates to plot points on the TopoJSON map?
As an aside, if there was a way to handle conversions built into this library, I'm sure you'd have a lot of people wanting to move over from react-leaflet as I've found it much easier to reason about thus far. I'd definitely promote it to others!!

Hi @bcmendoza,
Very happy that you are considering react-simple-maps for your project.
If I understand correctly, you are trying to map a set of markers onto the map that are determined by coordinate data you load from an external API. This should not be a problem. Does that marker data come in the form of topojson/geojson?
Normally, if you have a regular set of lng/lat coordinates you should not have to convert them, like in the bubbles example.
I am wondering whether the coordinates from your external api are maybe in a different order than what react-simple-maps requires (there was some confusion about that before, since Google and d3 specify lng/lat in a different order). In react-simple-maps the coordinates are put into the markers in the order [Longitude, Latitude]. See issues #87 and #67 for reference.
Let me know if this helps you.
Thank you for your input on the conversion stuff. I think there can be more done in that area, given the input from #34 for example. I would love to make more of that available in future releases. Any pointers on this would be appreciated.

Hello @zimrick, I'm happy to report that I was able to map the correct coordinates onto the map! I actually was not yet testing with the coordinates from my external API -- just some coordinates from a basic Google search. The actual data will come in the form of geojson.
It seems that the problem was related to the order of the coordinates. It may be worthwhile to just update the docs with comments from this post.
I look forward to seeing how react-simple-maps develops over time!! Thank you so much for the quick response.

Great that it works! Yes, will make a note in the docs.

why my some of the markers are showing outside of India map

<Marker
                   key={name}
                   coordinates={coordinates}
                   style={markerStyle}
                   }}
                 >

                     <g
                       fill="none"
                       stroke="#00A707"
                       strokeWidth="0"
                       strokeLinecap="round"
                       strokeLinejoin="round"
                     >
                       <circle cx="12" cy="10" r="3" fill="#00A707" />
                     </g>

                 </Marker>


Call to undefined method JMS\Serializer\Serializer::normalize()

Is this bundle incompatible with JMS Serializer or I've done something wrong? I'm using Symfony REST Edition.

Hi,
This bundle doesn't use JMSSerializer (it uses the Serializer of Symfony) but should not cause compatibility issues with it.
I strongly recommend you to use the API Platform edition instead of the REST edition. It comes with this bundle and other useful tools to create an API preconfigured.
Can you give us more information about the error (the full stack trace)?

It seems to be coming from the ResourceController.
2015/07/25 16:22:32 [error] 11173#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to undefined method JMS\Serializer\Serializer::normalize() in /home/stefan/bloc/vendor/dunglas/api-bundle/Controller/ResourceController.php on line 87
PHP message: PHP Stack trace:
PHP message: PHP   1. {main}() /home/stefan/bloc/web/app_dev.php:0
PHP message: PHP   2. Symfony\Component\HttpKernel\Kernel->handle() /home/stefan/bloc/web/app_dev.php:25
PHP message: PHP   3. Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle() /home/stefan/bloc/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:202
PHP message: PHP   4. Symfony\Component\HttpKernel\HttpKernel->handle() /home/stefan/bloc/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php:69
PHP message: PHP   5. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /home/stefan/bloc/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68
PHP message: PHP   6. call_user_func_array() /home/stefan/bloc/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:147
PHP message: PHP   7. Dunglas\ApiBundle\Controller\ResourceController->cgetAction() /home/stefan/bloc/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:147
PHP message: PHP   8. Dunglas\ApiBundle\Controller\ResourceController->getSuccessResponse() /home/stefan/bloc/vendor/dunglas/api-bundle/Controller/ResourceController.php:161" while reading response header from upstream, client: <IP_ADDRESS>, server: api.bloc.local, request: "GET /app_dev.php/api/consumators?_format=json HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "api.bloc.local", referrer: "http://api.bloc.local/app_dev.php/api/doc"
2015/07/25 16:22:32 [error] 11173#0: *1 upstream sent too big header while reading response header from upstream, client: <IP_ADDRESS>, server: api.bloc.local, request: "GET /app_dev.php/api/consumators?_format=json HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "api.bloc.local", referrer: "http://api.bloc.local/app_dev.php/api/doc"

@dunglas : It will actually cause compatibility issue, as the JMSSerialiser registers itself through an alias as the serializer service id: https://github.com/schmittjoh/JMSSerializerBundle/blob/master/Resources/config/services.xml#L178
So, the mention error certainly occurs here

@stevro : you should probably disable the short service name in the bundle configuration:
jms_serializer:
    enable_short_alias: false

@ogizanagi I did that and it works. Thanks

Can we get this added to the documentation please! Thanks :)

@aequasi PR welcome :)


Building the new devilutionx worked, but i am missing some functionality in the controller.

I build everything needed for devilutionx on the device itself using ssh, then I copied it over to the correct .config location of the original binary. Is there anything else special I have to do with the build flags? Thanks for your help.

If you built the 64 bit version, make sure the mouse still works.  Otherwise, you may have to build it in 32 bit like I had to to get mouse controls working.
This is the cmake options I used for devilutionx.
-DNONET=ON -DCMAKE_BUILD_TYPE="Release" -DASAN=OFF -DUBSAN=OFF -DDEBUG=OFF -DLTO=ON -DDIST=OFF -DFASTER=OFF -DPREFILL_PLAYER_NAME=ON

If you built the 64 bit version, make sure the mouse still works.  Otherwise, you may have to build it in 32 bit like I had to to get mouse controls working.
This is the cmake options I used for devilutionx.
-DNONET=ON -DCMAKE_BUILD_TYPE="Release" -DASAN=OFF -DUBSAN=OFF -DDEBUG=OFF -DLTO=ON -DDIST=OFF -DFASTER=OFF -DPREFILL_PLAYER_NAME=ON

export CFLAGS=-m32    is this how you built for 32 bit? Thank you so much for helping me out as always I will share my findings with you.

export CFLAGS=-m32    is this how you built for 32 bit? Thank you so much for helping me out as always I will share my findings with you.

You can try that but I do all my builds in chroots using a virtual dev environment I built.  If you 're interested in trying it out, see here: https://forum.odroid.com/viewtopic.php?p=306185#p306185

You can try that but I do all my builds in chroots using a virtual dev environment I built.  If you 're interested in trying it out, see here: https://forum.odroid.com/viewtopic.php?p=306185#p306185

Wow thanks, I got the virtualbox installed and when I double click arm32 on the desktop it doesn't have internet access. When I use the regular terminal it does. Does this happen to you? I have to download the requirements.

Wow thanks, I got the virtualbox installed and when I double click arm32 on the desktop it doesn't have internet access. When I use the regular terminal it does. Does this happen to you? I have to download the requirements.

The more I look into the bug reports it seems the problem may be related to sdl2. I am still looking into it. I tried updating sdl2 on rg350 and I got a never-ending rumble when I booted the device. So that is out of the question.

The more I look into the bug reports it seems the problem may be related to sdl2. I am still looking into it. I tried updating sdl2 on rg350 and I got a never-ending rumble when I booted the device. So that is out of the question.

Internet works just fine for me in the chroot however, someone else told me they had to connect Outside of the chroot then move the resolv.conf from /etc to the chroot /etc folders To get internet to work on their end.

Internet works just fine for me in the chroot however, someone else told me they had to connect Outside of the chroot then move the resolv.conf from /etc to the chroot /etc folders To get internet to work on their end.

Thank you so much for all your help. I was able to build the latest devilutionx from the 32 bit chroot.

Thank you so much for all your help. I was able to build the latest devilutionx from the 32 bit chroot.

Nice.  Let me know if it fixes the crash issue.

I have tried all day with different compiler flags. The issue is still happening on level 20+ characters. (freezes in town) I will let you know once I have a winning combination. Thanks again for all your help, I really appreciate it.

I have tried all day with different compiler flags. The issue is still happening on level 20+ characters. (freezes in town) I will let you know once I have a winning combination. Thanks again for all your help, I really appreciate it.


Wrong abacus reporting in case of wrong/missing organization id.

Abacus reporting return status code 200 and empty JSON in case of wrong or missing organization guid is passed (see below).
According to the documentation this status code should be returned in case of success and JSON object should contain usage data. In case of usage is not found for organization, 404 should be returned by specification again.
No report data! Getting original response:
HTTP/1.1 200 OK
Content-Length: 192
Content-Type: application/json; charset=utf-8
Date: Thu, 27 Apr 2017 12:23:23 GMT
Etag: W/"c0-qrzzfAcm3kK+9e40C6D51wa3KWg"
Vary: Accept-Encoding
X-App-Index: 5
X-App-Name: abacus-usage-reporting
X-App-Version: 0.0.6-dev.8
X-Heap-Used: 36078256
X-Instance-Id: 38e9cbe3-1120-4bec-6ba4-0b075496c849
X-Instance-Index: 0
X-Node-Version: v7.8.0
X-Powered-By: Express
X-Process-Id: 55
X-Response-Time: 62.972ms
X-Uptime: 104005.032
X-Vcap-Request-Id: 394107c8-b598-47c8-61b3-6ec4d664e897
{"id":"k/b51c5fd3-0b4c-4dcb-8968-f010c5b60123/t/0001493295803198","organization_id":"b51c5fd3-0b4c-4dcb-8968-f010c5b60123","start":1491004800000,"
end":1493295803198,"resources":[],"spaces":[]}
Regards,
Plamen Doychev

It seems there is no issue here. The reporting app returns 404 in case the organization does not exists. The reporting checks this by calling the account plugin, so it should implement the correct check.


#311 custom decimal seperator for generic lexer double lexeme

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

56 of 70 (80.0%)  changed or added relevant lines in 9 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 90.984%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sly/lexer/LexerResult.cs
0
7
0.0%

sly/parser/parser/ParseResult.cs
0
7
0.0%

Files with Coverage Reduction
New Missed Lines
%

sly/lexer/GenericLexer.cs
3
94.05%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
5619

Relevant Lines:
6091

💛  - Coveralls


Add phase config checks to epoch contract constructor

Phase configuration values were not checked at construction-time.

@joshuahannan I'm not sure why the build is failing - everything seems to pass locally.

@jordanschalm I'll pull your branch down and try to get it working


Update Building docs to reflect UI changes

Update the Building on GitHub instructions
to reflect UI changes in readthedocs.org
Signed-off-by: Asher T. Scott<EMAIL_ADDRESS>Signed-off-by: Ry Jones<EMAIL_ADDRESS>

@tlalka this is to replace #2613 which I closed by mistake

No problem. To clarify, on that previous request, I had to change the signature. It was signed by "Asher Tlalka Scott" at first and my user is "Asher T. Scott".


Resolve syncing conflicts from repo_sync_working_branch to docs

Pull request opened by Docs to resolve syncing conflicts from repo_sync_working_branch to docs.

@stevewhims : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@stevewhims : Thanks for your contribution! The author(s) have been notified to review your proposed change.


EAP settings

If we want to deploy an Always On VPN to a VPN Gateway via Intune, what are the required EAP settings?

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

ID: 0d5150fc-9936-07cf-dce7-44d0ec114cd0
Version Independent ID: 8b627174-56cd-a81e-a687-34ba66d33550
Content: Create & install P2S VPN client configuration files: certificate authentication - Azure VPN Gateway
Content Source: articles/vpn-gateway/point-to-site-vpn-client-configuration-azure-cert.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@OffColour your best bet will be to refer to intune for guidance on the EAP settings. Have you reviewed this doc about setting up Always on VPNs in Azure?

@TravisCragg-MSFT I have, but I'm setting up a Device tunnel not a user one. The Device page doesn't have any EAP settings in it. I've tried using the EAP settings from the User page which deploys but then prompts the user to choose a certificate from the user store.
Better off raising this on the Device tunnel page unless it can be moved?


✨  Uplift/controller runtime v0.10.3 and cluster-api to v1.0.1

This PR uplifts controller runtime v0.10.3 and cluster-api to v1.0.1

/test-v1b1-integration
/test-v1b1-centos-integration

/assign @furkatgofurov7
/cc @Xenwar @fmuyassarov


Add wide and deep model into sparse example

Implement wide & deep model. Some tricks of feature engineering are adapted from tensorflow's wide and deep tutorial. Adult dataset in uci-machine-learning is used.
python linear_classification.py --optimizer adam --batch-size 100 --num-epoch 5 --model wide_deep

2017-10-09 00:12:28,475 Training started ...
2017-10-09 00:12:28,849 Epoch[0] Batch [100]	Speed: 31008.51 samples/sec	nll-loss=0.447065	accuracy=0.786600
2017-10-09 00:12:29,012 Epoch[0] Batch [200]	Speed: 61308.31 samples/sec	nll-loss=0.417476	accuracy=0.800400
2017-10-09 00:12:29,165 Epoch[0] Batch [300]	Speed: 65463.48 samples/sec	nll-loss=0.420428	accuracy=0.805400
2017-10-09 00:12:29,766 epoch 0, eval nll = 0.42601732815, accuracy = 0.789019607843
2017-10-09 00:12:30,014 Epoch[1] Batch [100]	Speed: 41102.70 samples/sec	nll-loss=0.421664	accuracy=0.799600
2017-10-09 00:12:30,175 Epoch[1] Batch [200]	Speed: 62183.25 samples/sec	nll-loss=0.417507	accuracy=0.806500
2017-10-09 00:12:30,334 Epoch[1] Batch [300]	Speed: 62939.36 samples/sec	nll-loss=0.410514	accuracy=0.808000
2017-10-09 00:12:30,675 epoch 1, eval nll = 0.415682517327, accuracy = 0.797055214724
2017-10-09 00:12:30,939 Epoch[2] Batch [100]	Speed: 38241.63 samples/sec	nll-loss=0.413927	accuracy=0.803600
2017-10-09 00:12:31,126 Epoch[2] Batch [200]	Speed: 53508.60 samples/sec	nll-loss=0.414949	accuracy=0.802100
2017-10-09 00:12:31,291 Epoch[2] Batch [300]	Speed: 60976.39 samples/sec	nll-loss=0.411277	accuracy=0.806100
2017-10-09 00:12:31,627 epoch 2, eval nll = 0.407723938271, accuracy = 0.803271604938
2017-10-09 00:12:31,880 Epoch[3] Batch [100]	Speed: 40324.03 samples/sec	nll-loss=0.411156	accuracy=0.804600
2017-10-09 00:12:32,036 Epoch[3] Batch [200]	Speed: 63771.42 samples/sec	nll-loss=0.410703	accuracy=0.800800
2017-10-09 00:12:32,213 Epoch[3] Batch [300]	Speed: 56680.40 samples/sec	nll-loss=0.410694	accuracy=0.809100
2017-10-09 00:12:32,562 epoch 3, eval nll = 0.435842013915, accuracy = 0.792085889571
2017-10-09 00:12:32,873 Epoch[4] Batch [100]	Speed: 32793.67 samples/sec	nll-loss=0.414233	accuracy=0.806400
2017-10-09 00:12:33,068 Epoch[4] Batch [200]	Speed: 51220.57 samples/sec	nll-loss=0.413473	accuracy=0.803200
2017-10-09 00:12:33,252 Epoch[4] Batch [300]	Speed: 54455.21 samples/sec	nll-loss=0.406378	accuracy=0.806400
2017-10-09 00:12:33,633 epoch 4, eval nll = 0.399112905725, accuracy = 0.810552147239
2017-10-09 00:12:33,633 Training completed.

Still same as before if --model linear,
python linear_classification.py

2017-10-09 00:13:54,418 Training started ...
2017-10-09 00:13:58,570 Epoch[0] Batch [100]	Speed: 226447.22 samples/sec	nll-loss=0.654376	accuracy=0.882904
2017-10-09 00:14:03,077 Epoch[0] Batch [200]	Speed: 181873.77 samples/sec	nll-loss=0.622695	accuracy=0.851826
2017-10-09 00:14:08,070 Epoch[0] Batch [300]	Speed: 164077.62 samples/sec	nll-loss=0.596917	accuracy=0.861250
2017-10-09 00:14:12,280 Epoch[0] Batch [400]	Speed: 194643.22 samples/sec	nll-loss=0.569742	accuracy=0.872775
2017-10-09 00:14:16,882 Epoch[0] Batch [500]	Speed: 177995.88 samples/sec	nll-loss=0.571048	accuracy=0.848309
2017-10-09 00:14:21,580 Epoch[0] Batch [600]	Speed: 174387.47 samples/sec	nll-loss=0.553665	accuracy=0.867119
2017-10-09 00:14:24,758 Epoch[0] Batch [700]	Speed: 257821.35 samples/sec	nll-loss=0.522415	accuracy=0.895237
2017-10-09 00:14:29,136 Epoch[0] Batch [800]	Speed: 187141.12 samples/sec	nll-loss=0.500347	accuracy=0.902528
2017-10-09 00:14:33,561 Epoch[0] Batch [900]	Speed: 185140.36 samples/sec	nll-loss=0.492419	accuracy=0.889193
2017-10-09 00:14:38,392 Epoch[0] Batch [1000]	Speed: 169613.19 samples/sec	nll-loss=0.480130	accuracy=0.892490
2017-10-09 00:14:42,304 Epoch[0] Batch [1100]	Speed: 209397.81 samples/sec	nll-loss=0.475148	accuracy=0.889282
2017-10-09 00:14:47,455 Epoch[0] Batch [1200]	Speed: 159041.30 samples/sec	nll-loss=0.462898	accuracy=0.898353
2017-10-09 00:14:52,171 Epoch[0] Batch [1300]	Speed: 173737.04 samples/sec	nll-loss=0.458485	accuracy=0.896191
2017-10-09 00:14:57,290 Epoch[0] Batch [1400]	Speed: 160029.54 samples/sec	nll-loss=0.446098	accuracy=0.900797
2017-10-09 00:15:01,030 Epoch[0] Batch [1500]	Speed: 219031.57 samples/sec	nll-loss=0.450780	accuracy=0.891537
2017-10-09 00:15:06,342 Epoch[0] Batch [1600]	Speed: 154250.73 samples/sec	nll-loss=0.454608	accuracy=0.886045
2017-10-09 00:15:11,481 Epoch[0] Batch [1700]	Speed: 159406.83 samples/sec	nll-loss=0.467804	accuracy=0.870651
2017-10-09 00:15:17,334 epoch 0, eval nll = 0.369439599531, accuracy = 1.0

cc @eric-haibin-lin  @szha

@eric-haibin-lin row_ids corresponding to embedding or continuous features are removed and I think distributed version should be okay. But my machine seems have some weird problems with protobuf. Could you please check the distributed version?
../../tools/launch.py -n 2 --launcher=local python wide_deep_classification.py --kvstore=dist_async

@ZiyueHuang what problem do you see? What's the error message?
BTW, we should hold this PR off until sparse embedding is ready.

@ZiyueHuang
This PR is failing in a test. Is this caused by the changes here?


Fixed "Pyxis rejects test library development version numbers"

CheckDallasWorkload: preflight-green
The Pyxis API currently only supports the test library version 1.9.1 and rejects any development version based on that one (for instance, 1.9.1+abcdef0123456789).
We had a partial fix that would replace the test library commit ID in the pushed test results, but it left the version number unaltered, thus causing the Pyxis API to reject the requests.
This fix overrides the version number (if needed) along with the commit ID in the test results data.
build-depends: https://github.com/redhat-openshift-ecosystem/openshift-preflight/pull/1139

check workload preflight-green

also, let's change the galaxy.yml and .spec by bumping the minor version in-there

check workload preflight-green

The tests are green, thanks @nsilla ! Let's also bump the collection version.

Done.
Have another job running to have all green.


Security key for fresh install

Description
There is no mention in the README on how to generate a security key for the application. A fresh install throws an exception because no key is present in the env file.
Is there a recommended approach to generating this value?
Steps to reproduce

Install the project following README instructions
Load the site in browser
Presented with error that key is required

Additional info

Craft version: Latest?
PHP version: 7.4
Database driver & version: MySQL 5.7
Plugins & versions: N/A

Follow the manual: Set the Key from Your Terminal
php craft setup/security-key

The value in the .env file will be updated with a (new) key.  ✅

Added a step to the readme that explains this: https://github.com/craftcms/demo/commit/5708ffec1c1f09638ac0f83b2a8c0295fc80c121


Fix a typo in eslint-config-react-app README

Just a tiny typo in the README regarding installing Jest rules :).

Hi @kevin940726, thanks for your time with this, but there's already a duplicate PR that has been raised for this: https://github.com/facebook/create-react-app/pull/9925 :)

@tobiasbueschel Ahh didn't notice it! I'll close this then, thx!


[ENH] Provide a fallback to using rapidfuzz for WASM environments

Proposed new feature or change:
The rapidfuzz package is not currently available as a pure Python wheel, or as an emscripten/WASM targeted wheel.
The rapidfuzz package is listed as a requirement of fastf1 which means that although the fastf1 package can be installed without dependencies, all the other dependencies except rapidfuzz need to be explicitly identified and installed manually.
Trying to import the fastf1 package, or some of the packages inside it, errors in fastf1/__init__.py with the import  from fastf1.events import get_session when loading fastf1 in WASM environments such as marimo notebooks, JupyterLite etc.
These environments offer an install free way of getting started with Python, and it would be nice to be able to run fastf1 in them. (The ergast module works fine, eg in marimo, loaded via from fastf1.ergast import Ergast.)

I've raised the availability of a universal or wasm32 build of the rapidfuzz package as an issue on that repo, so this issue may be best resolved upstream.

@psychemedia I've already noticed that issue in the rapidfuzz repo this morning and I have subscribed to notifications for it. I'm in favour of resolving this upstream as well. For now, I'll keep an eye on the issue there. If necessary, I might offer some help for getting this done.

@theOehrly Its seems to have been addressed — the package is being rebuilt under CI at the mo, and looks like it should be uploaded to PyPi soon.


Expose a length property for curried functions

While working through a first-pass on what Async.fromNode might look like with its incoming parameter curried (see #478), I noticed that I was unable to check for a length on incoming curried functions.
With this change in place the code for allowing curried functions with Async.fromNode passes the tests.
What do you think about this change to curry where we expose the length on curried of the original fn that was passed in?

Coverage remained the same at 100.0% when pulling 0f86f6aa65f907e1fc7b0b94e08372a6ed889378 on JamieDixon:curried-expose-length into 54ab755da271956e20d57dc2e7df5e48cf06705c on evilsoft:master.

What do you think about this change to curry where we expose the length on curried of the original fn that was passed in?

This will only be for the "last" fn passed in yeah? For instance this would report as (1), even though it is really (2)
// fn :: String -> Array -> Array
const fn = curry(
  compose(map, objOf)
)

@evilsoft Hmmm, that's an interesting one. The length of a function with implicit parameters (arguments or ...args) would be 0 I believe?
If my thinking is on track, the arity of the fn returned by compose is 0 because it's essentially infinite?

There would be a similar discrepancy with functions that employ default values, since the length property only indicates parameters up to those with a default value.

This number excludes the rest parameter and only includes parameters before the first one with a default value.

Source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/length

In addition to this, I wonder whether we could fix the arity of composed functions to the arity of the right-most function in the composition? Just a thought.

In addition to this, I wonder whether we could fix the arity of composed functions to the arity of the right-most function in the composition? Just a thought.

So this will open up a can of worms, especially if we use this for determining argument application. Because we currently allow an n-ary interface (uncurried) of the right-most function that above function will not be applied properly. When curried, if it reports a length of (2) it will apply it to objOf, passing an Object to map.
We are currently debating limiting arguments to compose/pipe functions to unary for a number of reasons including this behavior. Also it makes functions easier to reason about when composing.

If my thinking is on track, the arity of the fn returned by compose is 0 because it's essentially infinite?

Yep totes! Good call!

That is to say, I believe this implementation is consistent with expectations as per the spec. What do you think?

It is 💯, I am just saying that when using this property, we should be aware that this does not pertain to the overall function as a whole, just the current "frame" of the curry stack. So if we are gathering and applying arguments before running a side-effect or something, we cannot use this length as an indication that we now have all of our arguments and are ready to apply them.

That is to say, I believe this implementation is consistent with expectations as per the spec. What do you think?

It is 💯, I am just saying that when using this property, we should be aware that this does not pertain to the overall function as a whole, just the current "frame" of the curry stack. So if we are gathering and applying arguments before running a side-effect or something, we cannot use this length as the sole indication that we now have all of our arguments and are ready to apply them.

Oh yes! Absolutely.


nogikh ignore inconclusive bisections

dashboard/config: enable KASAN_VMALLOC for riscv
dashboard: never report unreliable bisections

Thank you! Looking forward to seeing the dasboard CI results.


Added docs about setPointer

It doesn't seem to be an internal API yet is extremely handy for providing good UX (highlighting the first option by default)

:wave: bump - I've spent an hour of my time figuring how to fix an issue, just to find my own MR. Can You please merge it?

I've added this manually as the readme was changing anyway - thank you for taking the effort.

Okido, thanks for putting this into the docs anyways.


interfaces: avoid long names with stacked _wlan, _vlan, _stf, ...

I've tried to upgrade from 18.7.10, and to live-boot 19.1 and 19.1.1. When I do I loose all internet access; both IPv4 and 6 on all connected devices.
Using the ping diagnostics from OPNsense itself I can see that IPv4 connectivity works, but IPv6 fails. During boot the following message is listed twice "Configuring firewall...failed".
I get a few notifications regarding too long interface name;

Looking in the log I found this, it seems to indicate that the interface using VLAN for my WAN does not exist.

I dont recognize the literal name igb0_vlan102_stf, but both the VLAN and interface does exist.

Have some internal names changed from 18.7 to 19.1? It does look like the name of the interface is igb0_vlan102. Without the _stf suffix.

What is happening? Any more information I can provide?

_stf suggests a 6rd or 6to4 network, we changed something in the naming, to use the technical name instead of the logical one, which seems to be 1 character longer.
I think you should be able to revert this change https://github.com/opnsense/core/commit/adf314a4ab172d69a76f8d9fd78ed3ad8c30c698, but we have to think of a better solution to prevent an overrun in this case.

Commit might not be all of it, careful with the revert.
It’s a bit sad as this has been in testing for a very long time.
FWIW, the issue here is the excessive VLAN naming scheme, it would be better to change this, I think FreeBSD uses em0.123, but it may break a couple of “_vlan” Scans in the code.
What do you think?

On 12. Feb 2019, at 08:36, Ad Schellevis<EMAIL_ADDRESS>wrote:
_stf suggests a 6rd or 6to4 network, we changed something in the naming, to use the technical name instead of the logical one, which seems to be 1 character longer.
I think you should be able to revert this change adf314a, but we have to think of a better solution to prevent an overrun in this case.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@fichtner I'll take a look

Changing the vlan naming scheme is a bit too tricky in the short term, since these are stored and there's more logic tied to it (if we change it, already configured devices will still use the previous name).
Most of the times the length doesn't lead to issues, it's probably a better idea to fix the _stf part for now.
How about if we suffix the stf interface with a capital S, which would create an interface like igb0_vlan102S.
It should be easy to test, low impact for as far as I can see.

In this case let me rather add a compatibility layer with the old naming scheme?

and leave the _stf? we could do both, rename _stf now, keep the issue open for a larger overhaul.

Hmm, I'm not sure diverting from _wlan _vlan _stf scheme is of any benefit if we have a "better" and also confirmed working versions which is the old one from pre-19.1. I agree with the larger cleanup.
We also need a 19.1.x target that reboots so that no intermittent upgrade issues exist so I'll do a clean revert into a working version. I just don't want to break things even if it looks easy.

I'll leave this up to you then, reverting back to the previous naming scheme is fine for the short term too.

I do have 6rd set up on that interface, so that makes sense. I was also seeing IPv6 related error messages in the log.
@fichtner That does this mean for my set up? Is there anything I can do to get 19.1 working? Or do I have to wait for a fix?

@thomasjsn I'll prepare a temporary fix for you, @fichtner can look at the final solution later

here you are, should revert the behaviour back to 18.7
 opnsense-patch 2eabec27

@AdSchellevis Thanks, so; Install 19.1, upgrade to 19.1.1 and apply patch?

I expect you can apply on both versions, so if you need the connectivity, first patch 19.1, then upgrade and apply again.

@AdSchellevis thank you, I'm going to add it to 19.1.2 as well.
@thomasjsn feedback about patch making things work again is appreciated so we can safely go ahead and fix the underlying issue(s) later.

This is what I did:

Booted of 19.1 USB stick into liveCD mode.
Updated to 19.1.1.
SSHed into OPNsense and ran the command opnsense-patch 2eabec27.
Restarted service pf from dashboard, IPv4 connectivity came back on all network devices, still no IPv6.
Went to Interfaces -> WAN, clicked "Save" and "Apply", IPv6 connectivity came back on all network devices.

I'd say it looks like the patch works :)

@thomasjsn thanks for confirming, I'll leave the rest up to @fichtner

Already queued up for 19.1.2, thanks!

Same as
https://github.com/opnsense/core/issues/3120

There is no point doing this other than causing breakage. Nothing bad happened in two years.


Error at start with latest version

Gitea version (or commit ref): 8bcb643a031e4739ca8ead8351ef7f9092969299
Git version: 2.12.0
Operating system: archlinux
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log:

2017/03/19 15:55:17 [I] Log Mode: File(Trace)
2017/03/19 15:55:17 [I] XORM Log Mode: File(Trace)
2017/03/19 15:55:17 [I] Cache Service Enabled
2017/03/19 15:55:17 [I] Session Service Enabled
2017/03/19 15:55:17 [I] Mail Service Enabled
2017/03/19 15:55:17 [I] Notify Mail Service Enabled
2017/03/19 15:55:17 [...itea/routers/init.go:54 GlobalInit()] [E] Failed to initialize ORM engine: sync database struct error: Error 1170: BLOB/TEXT column 'key_id' used in key specification without a key length

Description
Gitea with latest version built from git fail to start with an error (exit code: -1)

I guess its fixed with https://github.com/go-gitea/gitea/pull/1303

see #1283


08-18

update dependencies versions to use Swift snapshot 08-18

I would merge this for you, but I don't know the exact plans for this release. I'll just wait for @LoganWright or @tannernelson to merge this and, in the mean time, I'll fork and tag this, and mysql-provider so there can be a dev version in the mean time.

Ok :D
Having a fresh look today, I see I checked OS twice in Travis script, yesterday I thought I would separate the testing part, but I don't really think it's necessary, I shall just put test commands  after the building ones, shouldn't I?

I already have a branch for this, I will merge soon!


Credit link to original source selenium-cucumber-js has been removed

The credit section within the README that linked back to the project that provided 98% of this code has been removed https://github.com/john-doherty/selenium-cucumber-js.
As this project was copied rather than forked, credit in the README would be appreciated. This condition is specified in the ISC License of the original project (https://github.com/john-doherty/selenium-cucumber-js/blob/master/LICENSE):

It was removed in error, if you looked at the NPM you will see that its still there and was never removed.


M3-4621 Display total Object Storage Bucket usage

Description
Adds "Total usage" to the bottom of the Buckets table:

The API doesn't return this directly, but it does return the size (in bytes) of each Bucket, and since we load all user's Buckets into memory, we can sum them up on our end.
Feedback welcome on placement/display/etc. I'm just winging it.
Note to Reviewers
New test: yarn test packages/manager/src/features/ObjectStorage/BucketLanding/BucketLanding.test.tsx
Please try out different Bucket configs/sizes, etc.

Looks good! The only comment I have is that the total usage is touching the edge of the screen/window when the viewport is < 1280px

Thanks @tiffwong, just pushed up a change to line up the text with the Bucket labels, which also fixes the problem at lower breakpoints. Let me know what you think.


Replace
 elements with <?linebreak?> processing instructions

DITA doesn't support the
 element. We must provide the <?linebreak?> processing instruction instead:
https://www.dita-ot.org/dev/reference/markdown/mdita-syntax#ariaid-title7
Find out how to do this with BS4.
Question posed here: https://stackoverflow.com/questions/77699002/generate-linebreak-in-dita-content
Note: here is how it is resolved in a different DITA plugin

This is working. It required an upgrade to OxygenXML


Check Validity of Dates

Currently we are able to select the start and end date for the users experience , education etc however there is no validation present in the routes in case the end date is before the start date which needs to be fixed .
Validate the dates provided by user and add checks for multiple validations.

Hello! I haven't looked at the code yet, but I would like to contribute to this issue, and then more issues if possible.

Hello! I haven't looked at the code yet, but I would like to contribute to this issue, and then more issues if possible.

Please go ahead @importhuman

Thank you!

I am unable to run the app. I have searched online https://stackoverflow.com/questions/33738467/how-do-i-know-if-i-can-disable-sqlalchemy-track-modifications/33790196#33790196 and done this in the test.py file:
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True

I have tried giving a False value as well. Please assist. I have tried removing the curly brackets in the .env file as well, if that is relevant.

I am unable to run the app. I have searched online here and done this in the test.py file:
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = True

I have tried giving a False value as well. Please assist. I have tried removing the curly brackets in the .env file as well, if that is relevant.

@importhuman  the app seems to be running fine this is just a warning that setting SQLALCHEMY_TRACK_MODIFICATIONS as True will require extra memory and this is a common warning which comes every time you run  , this will not effect the overall running of the application , if you head over to http://localhost:5000 you should see the application has started there .

I didn't realize I had to click on the link to proceed, will see now.

The env file values are for the mail service we are using within the application , the email used in the env is the mail through which the application users will receive emails in case they forgot password.
Login and registration is independent of those values .

What is the password for then?
For the issue, I'm trying to add some sort of validation in forms.py.

The password is your gmail account (through which you will send emails) password , since we need to authenticate  ourselves when we need to send emails using flask mail

The date validity is for education, experience and project fields, correct?

yes for those three


Add option to not draw background

Idea : allow existing artboards/animations to ignore the backgrounds, so they can be used as overlays (e.g. Telegram, etc.). Esp. useful if the user doesn't have access to the original .rev file -- this trick can work with .riv files in the wild.
If we land this, it will be easy to extend rive_recorder to accept the option to ignore the background when rendering a webm or png-sequence.

follow-on observation -- obviously this also allows the client to override and provide a new background color -- something we could consider (tho not necessary) in our UI.