Unable to figure out where to start.

Hi there.
I want to build an android application using filament but I am having trouble how to start.
I have seen the hello triangle in android/samples but I am still having an issue on how to begin with filament and how to compile and run.
Would appreciate if someone could guide me on how to compile and run the examples.
Thank you

Have you seen this medium post?
https://medium.com/@philiprideout/getting-started-with-filament-on-android-d10b16f0ec67

Or, if you prefer working with GitHub source, consult our README's.  Note that there is some extra information in the Android samples README:
https://github.com/google/filament/tree/master/android/samples

Thank you so much for the medium post <3!


set(CMAKE_UNITY_BUILD ON)

Describe your changes
Issue ticket number and link
Checklist before requesting a review
For each PR

[ ] Add Copyright if it missed:
- "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

[ ] I have performed a self-review of my code.
Optional:

[ ] I have checked readme and add important infos to this PR.
[ ] I have added/adapted some tests too.

For core/new feature PR

[ ] I have checked readme and add important infos to this PR.
[ ] I have added thorough tests.

What is the reason for this PR?
The unity build setting should not be set in the engine cmake files, since we no longer have control over it.

Given that the suggested change should not be merged in, is there any reason to keep this PR still open?

thanks for closing
I would like to check if unity build will work out of the box. Unfortunately many changes are required…
Something to consider in the future.


Proposal: Mac OSX Mach-O binary module detection for Yara

Hello. The raise of the threat in Mac OSX vector is daring me to make this request.
I am proposing to add Mac OSX binary detection module for Yara modules that may help others to avoid writing over and over the Mach-O detection. This can improve existing rule's detection in repositories and can help them who don't have much experience in OSX binaries, to produce the rule faster.
The best 32bit bytes signature I am using so far that can fit to the filtration purpose, based on some OSX threat rules I made is as per below, it does the work well, feel free to copy if you want to make OSX .yar file.
private rule is__osx
{
 meta:
    date = "2018-02-12"
    author = "@unixfreaxjp"
 condition:
    uint32(0) == 0xfeedface     or uint32(0) == 0xcafebabe
    or uint32(0) == 0xbebafeca  or uint32(0) == 0xcefaedfe
    or uint32(0) == 0xfeedfacf  or uint32(0) == 0xcffaedfe
}

Added above magic(s), the thorough implementation for the Mach-O module on Yara can be applied and Mach-O itself is similar in some respect to the ELF module reference, since the both basic structure is identical in many ways, so this implementation can be applicable in entry points, sections and segments on Mach-O  (multiple) binary headers. With possible adjustment in type, FLAGs, etc. What has to be put in note is in the dynamic-linking, symbols implementation which is having OSX specifics.
Will be more than happy to contribute more help if this proposal is receiving good feedback. Thank you.

Have you checked this: https://github.com/VirusTotal/yara/blob/master/libyara/modules/macho.c?

I missed it, will check. Canceling this proposal.


New Rule: package-json-sorted-keys / package-json-key-order

Rule details
The rule would normalize package.json keys by following a convention in sort-package-json (or similar).
What type of rule is this?
Suggests an alternate way of doing something
Example code
{
  "dependencies": {
    "sort-package-json": "1.0.0",
    "sort-object-keys": "1.0.0"
  },
  "version": "1.0.0",
  "name": "my-awesome-project"
}

↓
{
  "name": "my-awesome-project",
  "version": "1.0.0",
  "dependencies": {
    "sort-object-keys": "1.0.0",
    "sort-package-json": "1.0.0"
  }
}

Participation

[x] I am willing to submit a pull request to implement this rule.

Additional comments
I am using sort-package-json via prettier-plugin-packagejson and it works well. Automatic key sorting is especially useful in monorepos with lots of package.json files and contributors. The problem with prettier-plugin-packagejson is that it goes outside the scope of Prettier:

What Prettier is not concerned about
Prettier only prints code. It does not transform it. This is to limit the scope of Prettier. Let’s focus on the printing and do it really well!
Here are a few examples of things that are out of scope for Prettier:

...
Sorting/moving imports, object keys, class members, JSX keys, CSS properties or anything else. Apart from being a transform rather than just printing (as mentioned above), sorting is potentially unsafe because of side effects (for imports, as an example) and makes it difficult to verify the most important correctness goal.

Now that ESLint supports JSON parsing, it’d be great to achieve the value of sort-package-json via a rule. Conceptually it is similar to sorting imports in JS files, so I believe that it fits the scope. WDYT?

UPD Maybe this should be done elsewhere because the rule would be package.json specific. There is a discussion in https://github.com/keithamus/sort-package-json/issues/322.

Prior art: https://github.com/kellyselden/eslint-plugin-json-files → [json-files/sort-package-json](https://github.com/kellyselden/eslint-plugin-json-files/blob/main/docs/rules/sort-package-json.md)

Thanks for the suggestion @kachkaev, this sounds like an interesting rule. My feeling is that such a rule would not fit well in the standard ESLint JSON plugin, because its usage is limited to Node.js. For reference, other built-in Node.js-specific rules like no-process-exit were deprecated in ESLint v7 and replaced by equivalent rules in eslint-plugin-n. To my knowledge, eslint-plugin-n only supports JavaScript rules, although that could change in the future. So my recommendation is to leave this rule for a userland ESLint plugin for the time being as you suggested in the other discussion.
Any other thought about this suggestion @eslint/eslint-tsc? cc @eslint/eslint-community.

Just leaving this here but not really having much to add. This would need to be a bit careful as well since sorting can affect some keys like imports and exports etc.

This plugin is focused on generic JSON linting. As such, package.json-specific rules are out of scope.
However, as with ESLint rules in general,  you can always create your own plugin with any rule that you want.


config.json

Hi,
Do you have a config.json sample  for this plugins ?
Regards

Hello, why do you need it? If you use homebridge-ui it made it for you

config.json: {"name":"AirzoneCloud","system":"https://www.airzonecloud.com","login":{"email":"mail@domain.com","password":"********************"},"debug":false,"user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15","platform":"AirzoneCloud"}


Update skills.js

Personally tested the damage bonus from Personal Space. The in-game values are correct. Adjusted the skill to reflect the in-game values.

Thank you for these updates!


http3: implement HTTP Datagrams and Capsules (RFC 9297)

https://www.rfc-editor.org/rfc/rfc9297.html

Writing and parsing of CAPSULEs was implement by #3607.

The API will be a bit tricky. Here's a proposal.
On the client side
RoundTripper.EnableDatagrams enables both QUIC and HTTP datagrams.
HTTP Datagrams are always associated with an HTTP Request (section 2 of the RFC):

HTTP Datagrams MUST only be sent with an association to an HTTP request that explicitly supports them. For example, existing HTTP methods GET and POST do not define semantics for associated HTTP Datagrams; therefore, HTTP Datagrams associated with GET or POST request streams cannot be sent.

It seems like the http.RoundTripper interface isn't suitable for that use case, since we need to be able to send datagrams right after sending the HTTP request (without having to wait for the response). However, RoundTrip blocks until the HTTP response has been received from the server. This means that we need to introduce a new interface:
type RoundTripperWithDatagrams interface {
     RoundTripWithDatagrams(*http.Request) (Datagrammer, <-chan *http.Response, error)
}

Calling RoundTripWithDatagrams immediately returns to allow sending datagrams. The HTTP response is sent on the channel once it is received. Datagrammer is an interface that allows sending of HTTP datagrams:
type Datagrammer interface {
     // SendMessage sends an HTTP Datagram associated with an HTTP request.
     // It must only be called while the send side of the stream is still open, i.e.
     // * on the client side: before calling Close on the request body
     // * on the server side: before calling Close on the response body
     SendMessage([]byte) error
     // SendMessage receives an HTTP Datagram associated with an HTTP request:
     // * on the server side: datagrams can be received while the request handler hasn't returned, AND
     //      the client hasn't close the request stream yet
     // * on the client side: datagrams can be received with the server hasn't close the response stream
     ReceiveMessage(context.Context) ([]byte, error)
}

Note that while this interface looks like the functions exposed the quic.Connection, it does prepend the Quarter Stream ID on SendMessage as defined in section 2.1 of the RFC, and demultiplexes (and removes) it on ReceiveMessage.
On the server side
Server.EnableDatagrams enables both QUIC and HTTP datagrams.
On the server side, we need to be able to associate datagrams with an HTTP handler. This is easier to implement, since http.ResponseWriter is an interface, and can therefore be interface-asserted to a Datagrammer.

Would like to take a stab.

Hi @marten-seemann , would you mind have a quick look at this draft PR #4141 ?  I'm afraid of going too far in a wrong direction.

I'll be working on this issue in the coming weeks. Thank you @tanghaowillow for your PR, there are a lot of helpful things in there.
API-wise, the client side is the tricky part: The client is allowed to send HTTP datagrams as soon as it has opened the stream (or better, to reduce reordering, after the request headers have been sent out). However, RoundTrip blocks until the HTTP response has been received, i.e. for 1 RTT commonly.
#4141 suggests the following API:
// RoundTripResult is the result of a HTTP RoundTrip execution
type RoundTripResult struct {
	Resp *http.Response
	Err  error
}

datagrammer, respChan, err := client.Transport.(*http3.RoundTripper).RoundTripWithDatagrams(req)

This function would return immediately, or probably better, after the server's SETTINGS were received and the check for HTTP DATAGRAM support was performed. Note that there are now two errors to check: the one returned from RoundTripWithDatagrams and the one in the RoundTripResult.
I'm currently leaning towards a slightly different API that doesn't change the RoundTrip semantics. Instead, it adds another field to the RoundTripOpts:
// RoundTripOpt are options for the Transport.RoundTripOpt method.
type RoundTripOpt struct {
	// DatagrammerReady is called as soon as the server's SETTINGS frame is received,
	// and HTTP DATAGRAM support is enabled.
	// If HTTP DATAGRAMs are not supported, the request won't be sent to the server
	// and a ErrNoDatagrams error is returned.
	DatagrammerReady func(Datagrammer)
}

I don't particularly like this API either, but we're kind of limited with what we can do if we don't want to stray away too far from the standard library's net/http API pattern.

Hi @marten-seemann sorry for missing this issue. And let move our discussion here.
In my previous proposal #4372 I suggest this following APIs.
For the client side
req, err := http.NewRequest(http.MethodConnect, addr, nil)
req.Proto = "connect-ip"

rsp, err := client.Do(req)
s := rsp.Body.(http3.HTTPStreamer).HTTPStream()
defer s.Close()
d, ok := s.Datagrammer()

data, _ := d.ReceiveMessage(context.Background())
d.SendMessage(data)

For the server side
server.Handler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    w.WriteHeader(http.StatusOK)
    w.(http.Flusher).Flush()

    s := r.Body.(http3.HTTPStreamer).HTTPStream()
    defer s.Close()
    d, ok := s.Datagrammer()

    data, _ := d.ReceiveMessage(context.Background())
    d.SendMessage(data)
})

You does not agree this proposal:

Thanks for the PR, but I don’t think this is right way to go. It has to be possible to send datagrams right away,
not only after receiving the HTTP response.

Please allow me to explain my design.
According to RFC9297:

If an HTTP/3 Datagram is received and its Quarter Stream ID field maps to a stream that has not yet been created,
the receiver SHALL either drop that datagram silently or buffer it temporarily (on the order of a round trip)
while awaiting the creation of the corresponding stream.

In theory, the datagram can be transmitted with known stream. However, in reality, it may not. Because if the server
is not ready or the client is not authorized, buffering these unknown may be harmful or wasteful. In scenario like
RFC 9484 (Proxying IP in HTTP), it make no sense to send datagram early because the client need the server's
response to finish setup its network.
The server's SETTINGS frame is received does not necessarily means that the client should send the datagam now.
But allowing datagram sending as early as possible is also of performance benefit. But this will complicate the API design
and implementation.
Just FYI.

@marten-seemann Anyway, wish this issue being fixed as soon as possible!

@marten-seemann  Sorry I should have updated my status on #4141 earlier. The implementation was more complex than I thought and yes the API did make me more hesitate to go on. Must say that the newly proposed API is much cleaner since it can get rid of checking peer's setting in every call of SendDatagram and returnning a strange error like ErrDatagramNegotiationNotFinished to users.

Hello @marten-seemann , would you like to disclose any progress or schedule for you work on this issue?
Thanks~

I'll be working on this issue in the coming weeks.

It's part of the milestone for the next release.

HTTP Datagram support was just merged in #4452! Took us a while, but we're finally there :)
This will be released in v0.43 very soon.
Thanks for your patience everyone!


cannot write system files even with administrator previlage in windows 10

VSCode Version: Code 1.14.2 (cb82febafda0c8c199b9201ad274e25d9a76874e, 2017-07-19T23:34:09.706Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author (truncated)
Version

FreeMarker
dco
0.0.9

cannot edit system files such as hosts file even with administrator previlage.
worked well in windows 7 but isn't working in 10.

Steps to Reproduce:

win + R and enter drivers.
open etc -> hosts file with VS code and try to save it.

Reproduces without extensions: Yes/No

Try running vscode as administrator and then open the same file, try to save

@hariharank6 can't reproduce when running vscode as admin.


Update controller to check if targetRef Gateway exists or not

~Updating the initStatusController will ensure that we can correctly notify customers that their CRs are misconfigured. We'll need to add to or generalize the controller that watches Istio CRDs and make it so we check for the edge cases where targetRef references a Gateway that doesn't exist yet.~
~The result of checking whether or not the Gateway referenced by targetRef actually exists must be stored in the status field of the CRD. The task here is to write the logic in the controller to read from the informer cache and check the gateway.networking.istio.io resource to determine if it exists or not. If it doesn't exist ignore it, don't apply the policy, and update the status. If it does exist, apply the policy and update the status.~
UPDATE: We can update the incluster controller to analyze those CRDs with targetRef fields and the referenced gateway. We can't update how Status works right now without further research into the solution, so this issue would just be to analyze those policies where targetRef matters.

to make a GET request to the gateway.networking.istio.io

Not sure if you meant this literally or not, but I don't think there is any circumstances where Istio does or should do a GET. Always should read from the informer cache.
There has been a considerable work on status that has languished in alpha for many years. It would be good to have a quick design doc on the plans before investing implementation time

to make a GET request to the gateway.networking.istio.io

Not sure if you meant this literally or not, but I don't think there is any circumstances where Istio does or should do a GET. Always should read from the informer cache.
There has been a considerable work on status that has languished in alpha for many years. It would be good to have a quick design doc on the plans before investing implementation time

Thanks for clarifying that detail. I think a quick design doc makes sense. I'll try to dig up that existing work in alpha too, to see what was done there.

not stale


Branch for testing aarch64 support

Branch for testing aarch64 support
update
Add glog patch to support stacktrace for aarch64
Fix cache-bench test
Change-Id: Idfdccb13112afe3d5e07cfd5395375814b9c4e7d
Skip libunwind stack trace on aarch64
Change-Id: I206be1f930f95a9ee619ee80056d9f25d239193d
add assable step in running java tests
add kudu-hive test dependency for kudu-client
fix ASAN build
Fix CMAKE_BUILD_type=Release test issues
Add FUTEX macro definitions
Branch for testing aarch64 support
Branch for testing aarch64 support
update
Add glog patch to support stacktrace for aarch64
Fix cache-bench test
Change-Id: Idfdccb13112afe3d5e07cfd5395375814b9c4e7d
Skip libunwind stack trace on aarch64
Change-Id: I206be1f930f95a9ee619ee80056d9f25d239193d
add assable step in running java tests
add kudu-hive test dependency for kudu-client
fix ASAN build
Fix CMAKE_BUILD_type=Release test issues
Add FUTEX macro definitions
Fix error: calling sys_futex with fewer arguments in notification.h
Change-Id: Ibbfca0d8921ef0ea68221bdeb1a37fba180c0941

recheck


Pagination bug for VRF's in the web UI and API

Issue type
[ ] Feature request
[X] Bug report
[ ] Documentation
Environment

Python version:  2.7.5
NetBox version:  2.2.7

We have a lot of VRF's with the same name (don't ask :-() and if a group of such VRF's happens to span a page break, the web UI and API both can return the wrong thing when retrieving the list of VRF's. The problem appears to happen because the underlying SQL orders the VRF rows returned from the database by name only.
For example, if we have 5 VRF's called X, doing something like SELECT * FROM vrf ORDER BY name means that they must appear after all the W's and before all the Y's, but the ordering of the X's within themselves is undetermined. If these VRF's had RD's 1 through 5, and pagination was such that we want to show 3 of them on the first page and 2 on the second, for the first page, the database might return the X rows in ascending RD order, and we would see this:
    name   RD
    ====   ==
     W     ...
     X     1
     X     2
     X     3

On the second page, another SQL query is issued, and since the database is free to return the X's in any order it pleases, they could come back in descending RD order, and so we would see this:
    name   RD
    ====   ==
     X     2
     X     1
     Y     ...

IOTW, X-1 and X-2 appear twice, and X-4 and X-5 are missing. This also happens when calling the API.
Changing VRF.Meta.ordering to be ['name','rd'] clears the problem (presumably, this might be also happening elsewhere). I also checked the code for the v2.3-beta2 release you just pushed out, and it looks like the same thing will happen there as well.
I see here that sorting RD's is problematic, but in this particular case, it doesn't matter what the sort order of the VRF's is, just that it's stable across queries.

Yeah, the problem is that name isn't unique, so VRFs with the same name are ordered arbitrarily (and apparently inconsistently). We'll need a migration to add the rd field to the ordering declaration.


Weave not working with distributed processing

The following jmd file fails to weave https://gist.github.com/aaowens/30528f61528104988a53e15c5402a86f .
If I try to run it with
weave("Parallel-VFI-examples.jmd")

I get errors like
ERROR: UndefVarError: DM not defined

for my module DM. Module DM is defined @everywhere and I have added multiple processes.
However, if I instead run tangle("Parallel-VFI-examples.jmd") and run the resulting Julia script by itself, it works fine.

I came across this same issue today. I suspect tangle and then running the script will work.

The issue persists...


Add support to auto-commit lint fixes and push to the branch

Update the workflow to automatically make lint and fmt fixes and push to the PR.
Technical Requirements

Create a type-safe API to auto-commit lint fixes
Should happen only on PRs and never on main

/bounty $25

/attempt #55

is this still open @tusharmath ? (as you have closed other PR)

This can be be added to gh-workflow-tailcall project.

/attempt #55

/attempt #55


Updates to Streaming Timeseries

The example had to be merged quite quickly without having enough time to add a few improvements listed in the review:
For future extensions to this example (not this PR):

[ ] add event detection
[ ] add memory load in side plot for cpu stream
[ ] add image stream with pos estimation in additional side plot
[ ] add copy-pastable app at bottom

Originally posted by @droumis in https://github.com/holoviz-topics/examples/issues/469#issuecomment-2543047162

There was also:

[ ] Get the main app to stream some data for a little while building the site, the objective being to run some more code so the notebook is more tested on the infrastructure, and possibly replace the existing screenshot by the real app. See https://github.com/holoviz-topics/examples/pull/469#discussion_r1880398349
The app has a notebook flag to declare whether it should be displayed in a template or not:

[ ] Isn't there a way to automatically detect the context? See https://github.com/holoviz-topics/examples/pull/469#discussion_r1880352906
[ ] The app uses two variables, layout and template, that it returns conditionally in __panel__(). In theory it could just have one (e.g. view) but apparently something odd was going on and needed more investigation, see https://github.com/holoviz-topics/examples/pull/469#discussion_r1880351849

thanks!

Also,

[ ] "Return to Stream Follow" needs to be fixed. It's not working with the current implementation.  It should be that "Zooming or panning temporarily pauses the viewport’s displayed range; clicking ‘reset’ restores the viewport range to follow the latest stream updates."
[ ] Use of pn.io.unlocked could use a blessing from a senior engineer


Branch protection rules don't apply for non-existent branches

Given the following protection rules, a new rule will not be created targeting ?.? branches if there's no branch matching that pattern. This also happened when I tried creating a rule for a develop branch when there was no develop branch in existence. Whereas with GitHub, you can create rules without having those branches existing.
branches:
  - &master_branch_definition
    name: master
    protection:
      required_pull_request_reviews:
        required_approving_review_count: 1
        dismiss_stale_reviews: false
        require_code_owner_reviews: true
        dismissal_restrictions: {}
      required_status_checks: null
      enforce_admins: true
      restrictions: null

  - <<: *master_branch_definition
    name: "?.?"

@allejo if you replace the null does it work? https://github.com/probot/settings/issues/150

Still relevant

Any idea why the web interface of GitHub is able to create rules for non existent branches, but Probot does not?

unfortunately, there are many areas where probot is limited in how well it can match the capabilities of the web ui because of limitations of the api. i haven't had a chance to fully investigate this case, but this comment in a related issue, explains the problem as well as i've had a chance to understand it so far.
if you have a chance to investigate further before i do, i'd be happy to discuss any options you find. assuming it is still blocked by those limitations, the best option i can suggest is to reach out to github support and request that the functionality be added to the api. if you get a useful response, please update this issue with details.

Crossposting this for completeness, I don't believe this is an API constraint, I tested this now and the API supports added branches that do not exist.
mutation MyMutation {
  __typename
  createBranchProtectionRule(input: {repositoryId: "XXXXXXXXXXXXXXXXXX", pattern: "foobar*", restrictsPushes: false}) {
    clientMutationId
  }
}

This is the same for ##227


[14.x] ISPN-15072 Only local statistics should be registered with Micrometer

https://issues.redhat.com/browse/ISPN-15072

merged! thanks @ryanemerson !


Add "unassigned" to importType for order rule

I would like to group and order unassigned imports. This specific use case is for importing Polymer 2 html elements with polymer-webpack-loader.
import { Component } from '@angular/core';

import 'bower_components/paper-button/paper-button.html';

import { value } from '../parent';
import { other } from './sibling';

The proposed .eslintrc to achieve the above style would be
"import/order": [
  "error",
  {
    "groups": ["builtin", "external", "unassigned", ["parent", "sibling", "index"]],
    "newlines-between": "always"
  }
]

At the moment unassigned imports are completely ignored.

This seems reasonable; altho I’d call them “side-effecting” or something instead of just “unassigned”.
A use case that isn’t deprecated (ie, that doesn’t involve bower) would be shimming/polyfilling.

Unassigned imports are ignored now. In our project, there are some unassigned style imports. We think there should rank last to keep code clean. We need to config it.

@lext-7 they, in fact, should always be first since they typically have side effects.

In React apps it is better to import CSS last as it is more efficient way to override public styles of imported child components. The selectors may have the same priority. So to avoid the situation when the parent can't override the public styles of child components the styles should always be imported the last in every component.

@ljharb As I described above sometimes it may be important. Preserving the necessary order for the particular project may be highly necessary.
To not make breaking changes I propose to add an option to pathGroups so consumers may enable processing of side affect imports for certain groups. E.g.:
"pathGroups": [
  {
    "pattern": "{.,..}/**/*.+(css|sass|less|scss|pcss|styl)",
    "unnamed": true, // this is a new option
    "group": "unknown",
    "position": "after"
  }
]

@constgen that seems reasonable.


Update ExpanDrive to 5.1.0

Thank you for the contribution. It was merged directly as 86eab275d471d982bfa0344e4289805396351fab to keep commit history cleaner. Your contribution is still credited to you.


huge openai API usage for very small amount of text for indexing

it just used $15 for a very small amount of text to index on openai API. Is there any solution to reduce cost for this ?
I was just testing initially and it just wiped out $15 with just one indexing command. I believe this is good way to earn money for Microsoft and openai and rob it's users.

Adding an additional warning here: https://github.com/microsoft/graphrag/pull/439

You can also use different models to make things cheaper. currently the default is gpt-4-turbo which is more expensive than gpt-4o.  You could also use tools like https://ollama.com to run open source models locally and use them

it is due to the token of prompt is too large when extracting entity...you can try to delete some examples.

it just used $15 for a very small amount of text to index on openai API. Is there any solution to reduce cost for this ? I was just testing initially and it just wiped out $15 with just one indexing command. I believe this is good way to earn money for Microsoft and openai and rob it's users.

They did run a demo showing that they used $12 indexing a book.

@kdawgwilk  how to use it with ollama . any documentation or any tips for this ?

@kdawgwilk how to use it with ollama . any documentation or any tips for this ?

Lots of conversation going on around ollama, I've been closing issues and pointing to a consolidated issue #657 .
I'm closing this otherwise, given that we've put a warning in that it can be expensive and we strongly recommend starting with a small sample to evaluate the quality and cost before you throw a lot of data at it. You can also run much cheaper models than gpt-4-turbo on OpenAI, as mentioned by @kdawgwilk


no assets input?

According to the documentation there is an assets input, but when I use it I get the warning:
Warning: Unexpected input(s) 'assets', valid inputs are ['entryPoint', 'args', 'pkgname', 'pkgbuild', 'commit_username', 'commit_email', 'ssh_private_key', 'commit_message', 'allow_empty_commits', 'force_push', 'ssh_keyscan_types']

In the following log however the input shows up:
Run<EMAIL_ADDRESS>  with:
    pkgname: mailctl-bin
    pkgbuild: ./aur/PKGBUILD
    assets: ./aur/.INSTALL

The end result was the update on assets (.INSTALL) never made it to the AUR repo.

It seems that I failed to review https://github.com/KSXGitHub/github-actions-deploy-aur/pull/21 properly. I will fix this when I get home.

Actually, it's not the PR's fault, it's just that the feature is not yet released. If you insist on using this feature, please use the latest commit in place of version tag (github-actions-deploy-aur@beeaa2c21fccb825b1514089c02f260001c697bd)

@pdobsan please update us with your results if you use the unreleased version. I am interested in this as well, but haven't made a release yet in order to test.

Using the action with the suggested commit tag works as expected.
Actually this assets feature is important since many AUR packages are using install scripts potentially changing between releases.

v2.3.0 has been released.

v2.3.0

Great, thank you!


Plan nested LeftShifts efficiently

The Search Card and queries including flattening of multiple fields with a common source will be planned using nested left-shifts instead of autojoins. Because of this, the Mongo connector needs to plan nested left shifts efficiently. More information.
This should NOT depend on SQL^2, but queries like select loc[*][*] from /mngo/db/zips and their current QScript can be used as a starting point:
LeftShift
├─ LeftShift
│  ├─ ShiftedRead(/db/zips, ExcludeId)
│  ├─ Struct
│  │  ╰─ Guard
│  │     ├─ ProjectKey
│  │     │  ├─ ○
│  │     │  ╰─ Constant(Str(loc))
│  │     ├─ Type(FlexArr(0, None, FlexArr(0, None, Top)))
│  │     ├─ ProjectKey
│  │     │  ├─ ○
│  │     │  ╰─ Constant(Str(loc))
│  │     ╰─ Undefined
│  ├─ IdStatus
│  │  ╰─ IdStatus(ExcludeId)
│  ╰─ Repair
│     ╰─ Guard
│        ├─ RightSide
│        ├─ Type(FlexArr(0, None, Top))
│        ├─ RightSide
│        ╰─ Undefined
├─ Struct
│  ╰─ ○
├─ IdStatus
│  ╰─ IdStatus(ExcludeId)
╰─ Repair
   ╰─ RightSide

Currently this QScript plans using mapReduce. We need to make sure QScript like this is planned efficiently in aggregation. It's worth noting the old Mongo connector plans this query efficiently with no need for mapReduce.
Importantly, the Struct functions in the previous QScript will not look like this for autojoin elimination using left-shifts. It'll instead include nested projections. Details on this are still in the air.
@djspiewak: when rewriting autojoins like this, does the inner ShiftedRead have ExcludeId or IncludeId? We might need to prioritize #3047 for the Search Card if we still need IncludeId.

@jsantos17 So long as there is no actual autojoining on the results at the end (which there wouldn't be for the search card), then it should all be ExcludeId.  @wemrysi can speak to this more.

@djspiewak @jsantos17 Aye, that sounds right. We'll default to ExcludeId and only include if it is actually used, this is the opposite of what we do now where we pessimistically include and try to notice that we didn't use the identity after the fact.


⚠ Bofrost.at has degraded performance

In 817996d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 3191 ms

Resolved: Bofrost.at performance has improved in 10dc4ca.


Q: how do i get the author of the photo on Class Search?

"Attribution is appreciated and allows contributors to gain exposure"

Hello! You can access the author information from the Photo objects returned by the search. I left out exposing all the properties explicitly because there's a lot, but I should have documented the existence of body, which usually is sufficient to extract the needed information, and is returned as a dictionary.
To your specific question, you could do something like:
import pyunsplash
py_un = pyunsplash.PyUnsplash(api_key='<your Unsplash API key>')
search = py_un.search(type_='photos', query='red,car')
for photo in search.entries:
    author_info = photo.body.get('user')
    username, first, last = author_info.get('username'), author_info.get('first_name'), author_info.get('last_name')
    print("{} {} {}".format(username, first, last))

Please note that author_info contains much more information, which is coming back straight from the API.

Great. many thanks.

Maybe I could add a feature for providing a standard attribution string, or payload that could be used rightaway. Something like the default "Photo by Jon Doe on Unsplash", with "Jon Doe" a link to his profile (if html).
What output format will you use? Text? HTML?

That would be very useful. In particular I would use the text format.

I added the method get_attribution() to the Photo class, and made a new release.


Fix building uhdm plugin

Development of the uhdm-plugin was moved to symbiflow-yosys-plugins repository.
Now Surelog is required to build symbiflow-yosys-plugins. This PR adapts for this change.


Triggering "Zone Glitch Fix" leads to a NullPointerException

Hello There!
I just found a bug that makes problems occured. When i load "100% Complete savegame" then go to Fixes tab. I see that the zone glitch present status is "Yes" so i click "Fix zone glitch" then the problem that i talking about is occured. Here is the problem from java debug (i think) that i got:
 java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at nl.paulinternet.gtasaveedit.model.MethodInvoker.handleEvent(MethodInvoker.java:39)
	at nl.paulinternet.gtasaveedit.model.event.ReportableEvent.lambda$report$0(ReportableEvent.java:19)
	at java.util.ArrayList.forEach(Unknown Source)
	at nl.paulinternet.gtasaveedit.model.event.ReportableEvent.report(ReportableEvent.java:19)
	at nl.paulinternet.gtasaveedit.view.swing.PButton.actionPerformed(PButton.java:31)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at nl.paulinternet.gtasaveedit.view.EventQueueProxy.dispatchEvent(EventQueueProxy.java:14)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at nl.paulinternet.gtasaveedit.model.MethodInvoker.handleEvent(MethodInvoker.java:36)
	... 41 more
Caused by: java.lang.NullPointerException
	at nl.paulinternet.gtasaveedit.model.savegame.ByteSequence.overwrite(ByteSequence.java:133)
	at nl.paulinternet.gtasaveedit.model.GlitchFix.fixZoneGlitch(GlitchFix.java:114)
	at nl.paulinternet.gtasaveedit.view.pages.PageFix.fixZoneGlitch(PageFix.java:121)
	... 46 more

So i hope you or anyone else can helping this bug/problem get fix..
Note: That problems was occured on both of gtasaveedit (Windows version and java version)

Hi,
thanks for your report. The fixes are one of the areas I haven't touched so far.
I'll look into it. Unfortunately I can't say when it will be ready.

Hi Lerk!
Thank you for paying attention to my bug report.  I hope the bug can be fixed as well as possible.  I will wait for further news.  Always successful for you and GTA SA savegame editor. Thank you!

Hi, I fixed the bug to the extent that it now WorksOnMyMachine™ :)
If you still have problems please simply reopen the issue.

Hi I have a question regarding this exception. Is there a way to corrupt current save game data loaded on memory by this exception?  Then if we save it, corrupted data gets back to the file. Any possibility? I am facing this kind of anomaly but not sure about the source of the problem, using Savegame Editor v3.2.


Add disableGestures feature to the arrow buttons

When using the picker inside a ScrollView the buttons listen to the scroll event and increment the progress. This patch disables this when disableGestures is enabled.
It also prevents the buttons to stay in a focused state when scrolling.

After understanding better the real issue when using the NumberSlidingPicker inside a ScrollView, I'm generating a new pull request with a better fix. Closing this PR.


Completed pass at Slack notifier.json

This will need to be redone once Rula's documentation is completed as well
Reviewed live by Terry

I've left off changes to email notifications until we confirm it actually still works


Issue with Adding Homebrew Tap

Hello, I'm currently trying to install emacs-plus using the Homebrew tap, but it seems that the tap is not functioning properly.
Is there any part that I might have set up incorrectly?
Info
Env: M3 Pro Mackbook
Error

nix run .#build-switch

Warning: 'emacs-plus@30' formula is unreadable: No available formula with the name "emacs-plus@30".
Installing emacs-plus@30
Warning: 'emacs-plus@30' formula is unreadable: No available formula with the name "emacs-plus@30".

/opt/homebrew/bin/brew tap

d12frosted/emacs-plus
homebrew/bundle
homebrew/cask
homebrew/core

flake.nix
 # inputs
 homebrew-emacs-plus = {
      url = "github:d12frosted/homebrew-emacs-plus";
      flake = false;
 };

### outputs   darwinConfigurations
       macos = darwin.lib.darwinSystem {
          system = "aarch64-darwin";
          specialArgs = inputs;
          modules = [
             home-manager.darwinModules.home-manager
             nix-homebrew.darwinModules.nix-homebrew
             {
             nix-homebrew = {
              enable = true;
             user = "${user}";
              taps = {
                  "homebrew/homebrew-core" = homebrew-core;
                  "homebrew/homebrew-cask" = homebrew-cask;
                  "d12frosted/emacs-plus"  = homebrew-emacs-plus;
                  "homebrew/homebrew-bundle" = homebrew-bundle;
                };
               mutableTaps = false;
               autoMigrate = true;
              };
          }
            ./hosts/darwin
          ];

modules/darwin/brews.nix
homebrew = {
    enable = true;
    casks = pkgs.callPackage ./casks.nix {};
    brews = [
  {
    name = "emacs-plus@30";
    args = [
      "with-mailutil"
      "with-xwidgets"
      "with-imagemagick"
      "with-native-comp"
      "with-poll"
    ];
  }
];

Hi, I am not sure, I have not used the emacs-plus homebrew tap. I would check with that team; you will encounter errors with Nix from time to and time and should check with the owner of that code.

I would check with this team: https://github.com/d12frosted/homebrew-emacs-plus

It seems that the brew tap command in home-manager is functioning correctly when using a version that does not have nix-homebrew installed.
It seems to be an issue with nix-homebrew.
Changes
Remove all configurations related to nix-homebrew and install Homebrew separately. Then, use Homebrew taps with home-manager.
   taps = [
       "d12frosted/emacs-plus"
     ];

   brews = [
       {
         name = "emacs-plus@30";
         args = [
           "with-mailutil"
           "with-xwidgets"
            "with-imagemagick"
            "with-native-comp"
          "with-poll"
         ];
       }
  ];

Interesting. You may want to open an Issue with the nix-homebrew owner if you've identified the issue. I've not run into unreadable package issues so far, but it could be something with the "@30" syntax that is causing the error. Not using nix-homebrew is just fine, it just means you have that extra step of installing homebrew with Nix. I ran this configuration like that for over a year.

I have resolved the issue by manually installing Brew, and it seems like the problem is related to nix-homebrew.
Therefore, I will close the issue.
Thanks for your help 🙇 👍


Do not stop triggers when not planning for deployment

Is your feature request related to a problem? Please describe.
Latest new feature "Incremental Deployment" #195 helps a lot when it comes of deployment speed.
Stopping/starting triggers is also time-consuming process, so would be good to avoid it for triggers that have not been changed and won't be republish.
Describe the solution you'd like
Do not stop/start triggers that have not been changed. They won't be deployed, so stopping is not required.
Additional context
This feature is extension of "Incremental Deployment" #195 introduced in ver.1.4.

Related to #264


Support disabling local logs in k8s

Is your feature request related to a problem? Please describe.
When remote logger is enabled in K8s, the user may want to just turn off local logs.
One reason is to reduce the local disk usage, as writing to the writable layer in a container may be costly. Or this may use too much of the ephemeral storage and cause the pod to be evicted.
Describe the solution you'd like
There should be a way to turn off local logging.
One of the possible solution is to offer mounting a modified log4j.properties to ${ALLUXIO_HOME}/conf/log4j.properties on all containers. In the modified log4j.properties we disable the local logs and only enable remote loggers.
This is one way to change the loggers.
From
# Appender for Job Master
log4j.appender.JOB_MASTER_LOGGER=org.apache.log4j.RollingFileAppender
log4j.appender.JOB_MASTER_LOGGER.File=${alluxio.logs.dir}/job_master.log
log4j.appender.JOB_MASTER_LOGGER.MaxFileSize=10MB
log4j.appender.JOB_MASTER_LOGGER.MaxBackupIndex=100
log4j.appender.JOB_MASTER_LOGGER.layout=org.apache.log4j.PatternLayout
log4j.appender.JOB_MASTER_LOGGER.layout.ConversionPattern=%d{ISO8601} %-5p %c{2} (%F:%M) - %m%n

To
# Appender for Job Master
log4j.appender.JOB_MASTER_LOGGER=org.apache.log4j.varia.NullAppender

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Urgency
MEDIUM
Additional context
Add any other context or screenshots about the feature request here.

@ssz1997 does this make sense to you? Just reassigned from the previous owner.

@jiacheliu3 Starting from CE300 we may not have a remote logger any more, so the prerequisite won't be there any more. Let me know if there's any other concern. Otherwise I'll close this issue on Apr 11.


html: optimize EscapeString and UnescapeString with avx instructions

The performance of functions html.EscapeString and htmlUnescapeString in _amd64 can benefit from the use of avx instructions. We propose to implement avx-optimized versions of both.  It can be shown that significant improvements are possible for the benchmarks EscapeNone, UnescapeNone, Unescape, UnescapeSparse, UnescapeDense, and Escape.

Not sure if there are going to be people to maintain assembly code for that in the standard library.

cc @nigeltao ?

I'm not familiar with the official proposal process, so @ianlancetaylor

We propose to implement avx-optimized versions of both. It can be shown that significant improvements are possible

However, I am not in favor of the idea, based on https://go.dev/cl/412834 adding 2000 lines of assembly plus 5000 lines of data tables. Performance is just one of the goals of the source code in the go standard library (and its golang.org/x extended family). Another goal is maintainability (as @seankhliao said). Another goal is teachability - many people read the stdlib and golang.org/x to learn how to write idiomatic Go code.
Furthermore, Go is a memory-safe language, which is important to many of its users. There is a high bar for accepting patches that break that feature.
The CL description (and this issue) also does not provide any benchmark numbers. For argument's sake, even if it sped up html.Escape by 2x, if a web server program spends only 1% of its time inside html.Escape, the overall effect is a 100 / 99.5 = 1.005x speed-up, which is hard to get excited about given the costs outlined above.
You are obviously free to publish your own fastunsafehtmlescape package and other programmers can easily opt into using that if they want its trade-offs.

This proposal has been declined as infeasible.
— rsc for the proposal review group


Potential Venues

BMC Bioinformatics (already submitted and rejected)

BMC Bioinformatics is an open access, peer-reviewed journal  that considers articles on all aspects of the development, testing and novel application of computational and statistical methods for the modeling and analysis of all kinds of biological data, as well as other areas of computational biology.

Current Directions in Psychological Science

The major purpose of Current Directions in Psychological Science (CD) is to keep readers abreast of developments across the broad spectrum of the behavioral sciences. The journal publishes brief reviews intended to alert a general audience to important new developments in research, theory, methods, and applications, in language that is accessible to a much wider audience than the target audience of other scientific journals.

If we're comfortable with a partially closed journal here, plus substantial trimming.
http://www.psychologicalscience.org/publications/current_directions/instructions-for-authors
http://www.psychologicalscience.org/publications/current_directions/cd-submissions

i don't like the idea of substantial trimming.
— @binarybottle

Psychiatry and Psychology at PeerJ

PeerJ is an Open Access, peer-reviewed, scholarly journal. It considers articles in the Biological Sciences, Medical Sciences, and Health Sciences.
PeerJ does not publish in the Physical Sciences, the Mathematical Sciences, the Social Sciences, or the Humanities (except where articles in those areas have clear applicability to the core areas of Biological, Medical or Health sciences).
PeerJ only considers Research Articles and Literature Review Articles. It does not accept Hypothesis Papers, Commentaries, Opinion Pieces, Case Studies, Case Reports etc. which may instead be submitted to PeerJ Preprints.
PeerJ evaluates articles based only on an objective determination of scientific and methodological soundness, not on subjective determinations of 'impact,' 'novelty' or 'interest'.
PeerJ applies the highest standards to everything it does - specifically, the publication places an emphasis on research integrity; high ethical standards; constructive peer-review; exemplary production quality; and leading edge online functionality.
PeerJ does not accept pre-submission enquiries; however, if you are unsure whether or not your article fits our Scope then please email us at<EMAIL_ADDRESS>

https://peerj.com/about/aims-and-scope/
https://peerj.com/about/editorial-criteria/
I'm not sure our sample size suffices for the rigor requirement: "The investigation must have been conducted rigorously and to a high technical standard."

probably not, but may still be worth a try. submit a letter of inquiry?
— @binarybottle

PLOS ONE

PLOS ONE features reports of original research from all disciplines within science and medicine. By not excluding research on the basis of subject area, PLOS ONE facilitates the discovery of connections between research whether within or between disciplines.
We will also consider the following article types:

Systematic reviews. We consider publishing systematic reviews only if the methods ensure the comprehensive and unbiased sampling of existing literature.
Submissions describing methods, software, databases, or other tools. We consider submissions describing methods, software, databases, or other tools if they follow the appropriate reporting guidelines.
Qualitative research. We consider publishing qualitative research only if it adheres to appropriate study design and reporting guidelines.
Studies reporting negative results.

Journal of Clinical Monitoring and Computing

... the platform where clinicians and engineers discuss clinical needs and applications and their technical solutions ...

Dedicated to the exchange of knowledge and clinical information on clinical monitoring
Includes evaluations of equipment, instrumentation and technology
92% of authors who answered a survey reported that they would definitely publish or probably publish in the journal again
The Journal of Clinical Monitoring and Computing is a clinical journal publishing papers related to technology in the fields of anaesthesia, intensive care medicine, emergency medicine, and peri-operative medicine.

The journal has links with numerous specialist societies, including editorial board representatives from the European Society for Computing and Technology in Anaesthesia and Intensive Care (ESCTAIC), the Society for Technology in Anesthesia (STA), the Society for Complex Acute Illness (SCAI) and the NAVAt (NAVigating towards your Anaestheisa Targets) group.
The journal publishes original papers, narrative and systematic reviews, technological notes, letters to the editor, editorial or commentary papers, and policy statements or guidelines from national or international societies.   The journal encourages debate on published papers and technology, including letters commenting on previous publications or technological concerns.  The journal occasionally publishes special issues with technological or clinical themes, or reports and abstracts from scientific meetings. Special issues proposals should be sent to the Editor-in-Chief.  Specific details of types of papers, and the clinical and technological content of papers considered within scope can be found in instructions for authors.

Brain Informatics

Brain Informatics is an international, peer-reviewed, interdisciplinary open-access journal published under the brand SpringerOpen, which provides a unique platform for researchers and practitioners to disseminate original research on computational technologies related to the human brain and cognition. This journal will publish high-quality original research papers, brief reports and critical reviews in all theoretical, technological, clinical and interdisciplinary studies that make up the field of brain informatics and its applications in brain-inspired intelligent systems, health studies, etc.
The Brain Informatics journal addresses the computational, cognitive, physiological, biological, physical, ecological and social perspectives of brain informatics, as well as topics relating to mental health and well-being. It also welcomes emerging information technologies, including but not limited to Internet/Web of Things (IoT/WoT), cloud computing, big data analytics and interactive knowledge discovery related to brain research. The journal also encourages submissions that explore how advanced computing technologies are applied to and make a difference in various large-scale brain studies and their applications.
Informatics-enabled studies are transforming brain science. New methodologies enhance human interpretive powers when dealing with big data sets increasingly derived from advanced neuro-imaging technologies, including fMRI, PET, MEG, EEG and fNIRS, as well as from other sources like eye-tracking and from wearable, portable, micro and nano devices. New experimental methods, such as in toto imaging, deep tissue imaging, opto-genetics and dense-electrode recording are generating massive amounts of brain data at very fine spatial and temporal resolutions. These technologies allow measuring, modeling, managing and mining of multiple forms of big brain data. Brain informatics techniques for analyzing all the data will help achieve a better understanding of human thought, memory, learning, decision-making, emotion, consciousness and social behaviors. These methods also assist in building brain-inspired, human-level wisdom-computing paradigms and technologies, improving the treatment efficacy of mental health and brain disorders.
The publication costs for Brain Informatics are covered by the journal so authors do not need to pay an article-processing charge.
The journal operates a single-blind peer-review system, where the reviewers are aware of the names and affiliations of the authors, but the reviewer reports provided to authors are anonymous.
All articles published are made freely and permanently accessible online immediately upon publication, without subscription charges or registration barriers. Further information about open access can be found at https://www.springeropen.com/about/open-access.
As authors of articles published in Brain Informatics you are the copyright holders of your article and have granted to any third party, in advance and in perpetuity, the right to use, reproduce or disseminate your article, according to the SpringerOpen copyright and license agreement (https://www.springeropen.com/get-published/copyright/copyright-and-license-agreement).
For those of you who are US government employees or are prevented from being copyright holders for similar reasons, SpringerOpen can accommodate non-standard copyright lines. Please contact<EMAIL_ADDRESS>if further information is needed.

Multimedia Tools and Applications

First journal in the field, well recognized in the multimedia community
Editorial Board composed of the world's foremost experts on multimedia
Theoretical as well as application oriented
Publishes original research articles on multimedia development and system support tools as well as case studies of multimedia applications
Features experimental and survey articles
93% of authors who answered a survey reported that they would definitely publish or probably publish in the journal again
Multimedia Tools and Applications publishes original research articles on multimedia development and system support tools as well as case studies of multimedia applications. It also features experimental and survey articles. The journal is intended for academics, practitioners, scientists and engineers who are involved in multimedia system research, design and applications. All papers are peer reviewed.
Specific areas of interest include:

- Multimedia Tools:
- Multimedia Applications:
- Prototype multimedia systems and platforms
- Home
- Education and Training
- Operations
- Public
- Business Office
- Visual Information Systems

Scientific Reports

Scientific Reports covers all areas of the natural and clinical sciences. Open access and continuous online publication enables articles to be published swiftly, ready to be accessed by anyone, anywhere, at any time. With over a million article page views per month, researchers can be confident that they’re maximising the reach and discoverability of their paper.

Behavioral and Brain Functions

Behavioral and Brain Functions (BBF) is an open-access journal that welcomes manuscripts that provide insight into behavior and brain function or dysfunction, giving priority to manuscripts that combine both neurobiology and behavior.

Journal of Medical Systems

Covers new systems and methods in medical office administration; pathology, radiology, and pharmaceutical delivery systems; medical records management and more
Offers articles, essays, and studies across the entire spectrum of medical systems

Includes a special section devoted to status reports on current installations

Fast online publication: most articles are published within 2 months after acceptance

100% of authors who answered a survey reported that they would definitely publish or probably publish in the journal again
The Journal of Medical Systems provides a forum for the presentation and discussion of the increasingly extensive applications of new information systems techniques and methods across all health care settings. It features six sections focusing on:

Mobile & Wireless Health

Quality Improvement

Transaction Processing Systems

Image & Signal Processing

Patient Facing Systems

Education & Training
Journal publishes informative original articles, reviews, and studies across the entire scale of medical systems, from large hospital programs to novel small-scale medical services. Education is an integral part of this amalgamation of sciences, and selected articles are published in this area.

BMC Public Health

BMC Public Health is an open access, peer-reviewed journal that considers articles on the epidemiology of disease and the understanding of all aspects of public health. The journal has a special focus on the social determinants of health, the environmental, behavioral, and occupational correlates of health and disease, and the impact of health policies, practices and interventions on the community.

It looked like the Journal of Clinical Monitoring and Computing would be perfect, but when they say "monitoring" they mean something too specific: "The Journal of Clinical Monitoring and Computing is a clinical journal publishing papers related to technology in the fields of anaesthesia, intensive care medicine, emergency medicine, and peri-operative medicine."
I would check PeerJ: "PeerJ does not accept pre-submission enquiries; however, if you are unsure whether or not your article fits our Scope then please email us at<EMAIL_ADDRESS>Of these, my choices for most appropriate would be BMC Bioinformatics and PLoS ONE.

I'm sorry, I should have been clearer in my question.
BMC Bioinformatics rejected the paper as out of scope but recommended it to the Springer Transfer Desk, which in turn recommended the following journals:

Journal of Clinical Monitoring and Computing
Brain Informatics
Multimedia Tools and Applications
Scientific Reports
Behavioral and Brain Functions
Journal of Medical Systems
BMC Public Health

Using the Transfer Desk, we can go straight to the seen-by-an-editor stage at any or all of these journals. The order above is my ranked preference to try them in (since the rules dictate the article can only be under consideration by one journal at a time). My question was

Does this rank order seem okay to you?

I still have that question, but now I have additional questions.
If/when we submit to PLoS ONE, we'll have to withdraw the submission that's already passed muster for formatting and length. I'm inclined to cycle through the publisher-recommended journals before starting the process over.

Do you think it would be better to withdraw the submission, submit to PLoS ONE, and only then, if rejected, submit anew to one of these rather than rolling through them first?

Do you think this work is too far afield to submit to Journal of Clinical Monitoring and Computing at all?

My feeling re: 3. is that the article would almost certainly need some reframing to emphasize its clinical import, but that the work is not completely irrelevant to their scope.
Re: 2., my inclination is to accept the offer to proceed directly to these editors.

To reiterate my ranking is as follows:

BMC Bioinformatics (already submitted and rejected)
Transfer Desk

Journal of Clinical Monitoring and Computing
Brain Informatics
Multimedia Tools and Applications
Scientific Reports
Behavioral and Brain Functions
Journal of Medical Systems
BMC Public Health

PLoS ONE
Current Directions in Psychological Science
Psychiatry and Psychology at PeerJ

It seems out of scope for JoCMaC, though this acronym is pretty neat.  If you'd like you can contact the editor of JoCMaC, but the open access articles I saw were in line with what they say they are interested in, which is not what we're interested in.  That list of journals does not reflect our intended readership -- they only recommended them because Springer stands to gain money.  I say we go for PLoS ONE unless JoCMaC turns out to be a potentially good home.

Alright. I'll reach out re: JoCMaC and from there withdraw and submit at PLoS ONE.

Alternatively, you could start a new JoCMaC competitor journal for "Jon's only Child Mind acceptance Collective".

"Jon Clucas: Mind at Child"?

"Mind at Child" -- I think we've got a new name for the institute -- "Institut de Mind at Child"!

Current status & ranking:

BMC Bioinformatics (submitted and rejected)
Transfer Desk

Journal of Clinical Monitoring and Computing (consulting editor(s) re: scope)

PLoS ONE
Current Directions in Psychological Science
Brain Informatics
Multimedia Tools and Applications
Scientific Reports
Behavioral and Brain Functions
Journal of Medical Systems
BMC Public Health
Psychiatry and Psychology at PeerJ

Current status & ranking:

BMC Bioinformatics (submitted and rejected)
Transfer Desk

Journal of Clinical Monitoring and Computing
(

The editor comments were: "I do not believe this manuscript to be within the scope of the Journal of Clinical Monitoring and Computing. The clinical area of interest does not directly cover those of anaesthesia, intensive care or peri-operative medicine, those within the scope of the journal."
In light of the editor comments I have also added another 3 journals for your consideration. The other journals suggested for your manuscript were:

BMC Annesthesiology [sic][ . . . ]
Journal of Intensive Care[ . . . ]
Perioperative Medicine

— 🤖 ?
)

PLoS ONE (in-house technical check)
Current Directions in Psychological Science
Brain Informatics
Multimedia Tools and Applications
Scientific Reports
Behavioral and Brain Functions
Journal of Medical Systems
BMC Public Health
Psychiatry and Psychology at PeerJ

PLoS ONE

progressing to assessment by an in-house editor for checks related to our editorial policies

Submitted to Cognitive Science 2018 — July 25th – 28th, 2018, Monona Terrace Community and Convention Center, Madison, WI (December 4)

PLoS ONE (November 2):

PLOS ONE requires all research involving human participants to have been performed in accordance with the Declaration of Helsinki and to have been approved by an appropriate ethics committee in advance of the study,even when the subjects are the researchers themselves. Alternatively, we would expect a relevant ethical body to have confirmed that the need for approval is not necessary. Please note that we do not accept retrospective approval.
In the future, we strongly recommend that you consult with your research ethics committee before initiating any research involving human participants, regardless of a perceived low risk.
I am sorry that we cannot be more positive on this occasion, but we hope that you appreciate the reasons for this decision.


Exception trace starts with assertion call

When logging errors, the place of the check call is lost and you have to look in the call stack.

I haven't used Sentry much for PHP, but i assume you can click through the stack trace. So seeing where in your own code the error was thrown wouldn't be too much effort i'd think. So i don't fully understand what the problem with the current solution is. Could you elaborate?

The problem is that you need to store a stack trace to investigate the error in the code. The stack trace can be very large if you use frameworks.
When using throw, you only need to log the message and the location in the file:
try {
  $variable = null;
  //...
 if ($variable === null) {
  throw new InvalidArgumentException('Variable could not be null');
}
// usage of $variable

} catch(InvalidArgumentException $e) {
  $logger->error(sprintf('%s in %s:%d', $e->getMessage(), $e->getFile(), $e->getLine()));
}

When using Webmozart\Assert, you need to log the message and the stack trace:
try {
  $variable = null;
  //...
 Assert::notNull($variable, 'Variable could not be null');
// usage of $variable

} catch(InvalidArgumentException $e) {
  $logger->error(sprintf('%s in %s', $e->getMessage(), $e->getTraceAsString()));
}

You're lucky if you can use Sentry. You can see stack traces in a beautiful interface. But in the file log, viewing the stack is quite inconvenient. I would prefer this library to work as a PHP assert function: the error points to a place in the file.

Perhaps it makes sense to allow overriding the exception type as in beberlei/assert?

I wanna thank you for your contribution, but this isn't something id like to have in this repo.
You are of course free to extend the Assert class, to throw your own exception, where you can add this logic.


[Enhancement] HLL registers use chunk allocator for better memory usage

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
pr https://github.com/apache/incubator-doris/pull/9188

select
    dt, HLL_UNION_AGG(union_id)
from
    xxx
where
    dt between a and b
group by dt;

speed
hll_chunkAlloc: 547.794 seconds
apache:master: 712.229 seconds
mem.memused
hll_chunkAlloc: used 38G memory avg backend node
apache:master: used 46G memory avg backend node
mem.memused.percent
hll_chunkAlloc:  15%
apache:master:  18%

hll_chunkAlloc:
ChunkAlloctor::allocate is still a heavy function, but it's better than use new as we know, and it does have some boost
(new ->  SystemAlloctor -> system call wil not record in perf report )

apache:master

Solution
https://github.com/apache/incubator-doris/pull/9188
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

hll_chunkAlloc: used 38G memory avg backend node
apache:master: used 46G memory avg backend node

Is it written backwards?
Chunk Allocator should be used more because it will allocate upwards to the power of 2

speed
hll_chunkAlloc: 547.794 seconds
apache:master: 712.229 seconds
mem.memused
hll_chunkAlloc: used 38G memory avg backend node
apache:master: used 46G memory avg backend node
mem.memused.percent
hll_chunkAlloc: 15%
apache:master: 18%

Using ChunkAllocor to execute the same SQL for the second time will be faster, and avoid tcmalloc lock in high concurrency, the effect will be more obvious~
Because ChunkAllocor has a cold start, the memory does not need to be allocated again when executing the same SQL for the second time, provided that the upper limit of the cache is not exceeded.


Master

Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

可以通过把 [ ] 改为 [x] 来表示已完成任务


faster taxonomy computation; change prometheus label/etc

Pull Request Overview

Make taxonomy stats faster so we don't have to do in background (which was not working)

Approved


Fix SRTM missing mask error

The SRTM mask is optional, but when it's omitted only one argument is passed to the unpack function, which causes an error. This makes the second argument optional, and skips the masking step if it isn't specified.
@kevinkreiser could you review, please?

thanks! :rocket:


Android Compose Change the App Icon

Name of the Codelab or Codelab URL
Change the App Icon
https://developer.android.com/codelabs/basic-android-kotlin-compose-training-change-app-icon?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-3-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-training-change-app-icon#5
Describe the problem
A clear and concise description of what the problem is.
The downloaded icon does not look like what is shown.
It shows more of a flower, but the downloaded icon is more of a bell.
In which lesson and step of the codelab can this issue be found?
Lesson number + step number.
Download: Lesson 5
Picture shown: Lesson 6, step 11
How to reproduce?
What are the exact steps to reproduce the problem?
Download from Lesson 5.
See picture in Lesson 6.
Versions

What version of Android Studio are you using? 2021.3.1 Patch 1 - Build #AI-213.7172.25.2113.9123335, built on September 29, 2022
What API level are you targeting? 31

Additional information
Add any other context about the problem here.
codelab: basic-android-compose-training-add-scrollable-list

This has been resolved.


Add JSON Outfile Flag to QPS Driver

Small feature needed for a qps diff script I am working on.
New feature, off by default. Won't affect anything else

[microbenchmarks] No significant performance differences

Ping

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

Fixed clang fmt. Earlier tests looked good except for #11223. Merging early

[trickle] No significant performance differences


Custom object-detection dataset support

Hello, has anyone successfully trained a custom dataset for object detection? I've tried a number of things that I've found in the Issues for this repo and the instructions in the MMDetection custom dataset instructions, but am still seeing strange results in the model training/evaluation, such as:
mmdet.ssod - ERROR - The testing results of the whole dataset is empty
and
2022-04-05 20:01:28,871 - mmdet.ssod - INFO - Iter [1200/7200]  lr: 1.000e-04, eta: 3:58:30, time: 2.171, data_time: 0.120, memory: 26676, ema_momentum: 0.9990, sup_loss_rpn_cls: 0.0001, sup_loss_rpn_bbox: 0.0000, sup_loss_cls: 0.0000, sup_acc: 100.0000, sup_loss_bbox: 0.0000, unsup_loss_rpn_cls: 0.0002, unsup_loss_rpn_bbox: 0.0000, unsup_loss_cls: 0.0000, unsup_acc: 100.0000, unsup_loss_bbox: 0.0000, loss: 0.0003
and
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 200/200, 9.5 task/s, elapsed: 21s, ETA:     0s2022-04-05 21:43:42,839 - mmdet.ssod - INFO - Evaluating bbox...
Loading and preparing results...
DONE (t=0.02s)
creating index...
index created!
Running per image evaluation...
Evaluate annotation type *bbox*
DONE (t=0.98s).
Accumulating evaluation results...
DONE (t=0.19s).
2022-04-05 21:43:44,086 - mmdet.ssod - INFO -
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.000
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.000
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = 0.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = -1.000
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = -1.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = -1.000
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = -1.000

Appreciate any clues about this! If there is a set of concrete instructions on how to train a custom dataset, that would be super helpful

Did you solve this @sharmalakshay93 ?

Did you solve this @sharmalakshay93 ?

Did you solve this @sharmalakshay93 ?


Rake 11 removed last_comment in favor of last_description

Before submitting a PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it)
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[ ] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.

See https://github.com/ruby/rake/blob/master/History.rdoc#1100--2016-03-09

Will this work on older rakes?

@bbatsov Yes. last_comment is deprecated for a long time. last_decription is also works Rake 10.x series. see. https://github.com/ruby/rake/blob/ed197e56cc626725f02431d909e02e048244488e/lib/rake/task_manager.rb#L8

Why not bump Rake to the latest version in the same commit?

@alexdowad will do. Pushing new version with rake ~> 11.0.

:+1:
Hopefully this is released soon.

+1
updating/deploying many apps because of a bundler-audit warning is currently failing because of this bug :/

I'll try to cut a new release later today.


Factory support

Describe the feature
Hi,
Let me just first complement you on a nice library for value objects.
Now, I would like to suggest the possibility to support Factories to construct the value objects instead of the static From method.
Consider this code:
`[DebuggerStepThrough]
readonly record struct IntegralRange(int Min, int Max)
{
public IntegralRange Narrowest(int Min, int Max) => new(Math.Max(this.Min, Min), Math.Min(this.Max, Max));
public override String ToString() => throw new NotSupportedException();
}
[ValueObject(typeof(Int32))]
internal sealed partial class Port
{
private const Int32 _Min = 1100;
private const Int32 _Max = 49000;
public static OneOf<IValidationResultCollection, Port> TryFrom(Int32? Value) =>
	TryFrom(new(_Min, _Min), Value);

public static OneOf<IValidationResultCollection, Port> TryFrom(IntegralRange Range, Int32? Value)
{
	var Validation = ValidateImpl(Range.Narrowest(_Min, _Max), Value);
	return Validation.Success
		? new Port(Value!.Value)
		: OneOf<IValidationResultCollection, Port>.FromT0(Validation);
}

private static Vogen.Validation Validate(Int32 Input)
{
	var Validation = ValidateImpl(new(_Min, _Min), Input);
	return Validation.Success ? Vogen.Validation.Ok : Vogen.Validation.Invalid(Validation.GetErrors().JoinString("\n"));
}

private static IValidationResultCollection ValidateImpl(IntegralRange Range, Int32? Value)
{
	var Model = ValidationModelFactory<Int32>.Create().RangeInclusive(Range.Min, Range.Max, Unit: null).Build();
	return new ModelValidator().Validate(Model, Value);
}

}`
Here we can manually specify a narrower allowed Range for Port depending on our domain rules, by always ensuring the Port is within acceptable good practices. But the From method makes this custom range difficult to use. Due to its static nature, it would need the custom range to be static or somehow dependency injected via some framework.
That is why I would like to propose the Factory pattern, where we can instantiate a Factory, whose Create or Build method can create an instance of the Value object. Since the Factory is an instance, we can inject variables into it necessary for the constructing the value object. For example:
`[ValueObject(typeof(Int32))]
internal sealed partial class Port
{
public sealed class Factory
{
private const Int32 _Min = 1100;
private const Int32 _Max = 49000;
private readonly IntegralRange _Range;
	public Factory() => _Range = new(_Min, _Max);
	public Factory(IntegralRange Range) => _Range = Range.Narrowest(_Min, _Max);
	public Port From(Int32? Value) => TryFrom(Value).Value as Port ?? throw new Exception("My message");

	public OneOf<IValidationResultCollection, Port> TryFrom(Int32? Value)
	{
		var Validation = ValidateImpl(_Range, Value);
		return Validation.Success
			? new Port(Value!.Value)
			: OneOf<IValidationResultCollection, Port>.FromT0(Validation);
	}

	private static IValidationResultCollection ValidateImpl(IntegralRange Range, Int32? Value)
	{
		var Model = ValidationModelFactory<Int32>.Create().RangeInclusive(Range.Min, Range.Max, Unit: null).Build();
		return new ModelValidator().Validate(Model, Value);
	}
}

}`
And now we can create it using:
var Port = new Port.Factory(new(2000, 2100)).TryFrom(1200);
Ensuring consistency between the TryFrom (would love to see a TryFrom method, btw) and From.
This could perhaps be optionally opted-into using an attribute. Ideally, I'd love to see similar approaches for serialization too, to keep things consistent.

I don't know what's up with Github not formatting code correctly. Not sure how to do it, but great that you could still understand my example!
If you're up for maintaining this feature going forward, then I figure I might try to contribute a little. But Vogen is a big project. I don't know where I would start, honestly. But having this feature would be a boon for me, and really add a lot of flexibility to value objects, I think.

This would be quite a big feature to implement. I think maybe the first step would be to consider adding just the TryFrom method.
Then, maybe in the future, a feature closer to what you describe could be implemented outside of Vogen by using static abstract interfaces.

A TryFrom method would absolutely be a boon. But I also think that a bigger boon would be the ability to remove static methods like From and TryFrom and either generate a factory type for constructing the type or use normal constructors. The problem with static methods is that they can't be mocked and are therefore difficult to test.

Hi @AthenaAzuraeaX - it is now possible to create factories. The documentation  describes how to use it for sequential GUIDs, but the concept is the same for your case.

Was what was added only the interface so we could do a .From on a type parameter, as in the example in the documentation? My idea was more to eliminate the static From and TryFrom methods and instead use a (non-static) Factory to create instances of the value object. This allows for much more flexibility, such as passing down Factories using interfaces and injecting state into the factories. Not to mention, much more testable since static methods aren't mockable.

@AthenaAzuraeaX - From is still present in the value objects. The factory, although static in the example, can be constructed any way you like and injected with interfaces of other types.

more testable since static methods aren't mockable.

For typical value objects, I've never needed to mock them. Could you describe a scenario where mocking would have been useful?

Well, one situation where one might want to mock value objects is when one specifically want to be able to create invalid units for something like testing how a system might recover from invalid inputs. But I don't think the question is about why - but rather about what advantages using non-static methods give.


Add multicolor-highlights

NPC highlighting plugin with (currently) very simple functionality, but allows for multiple (up to 5) colors for different NPCs.

Does this plugin works for tob nylocas room when the spiders/crabs does switch styles? i mean, when the Nylocas Ischyros switch to Nylocas Toxobolos, the color change aswell?

Considering that would be against the rules, no. That would also make it ineligible to be in the client.

I see, had no idea, thanks for let me know.

@sgfost Apparently you've deleted or privated your repo, is that intentional?

Intentional, yes. Thoughtful, no. Forgot how this was set up. Unsure if it even worked and no one seemed interested in forking it. What do you typically do with abandoned plugins?

We can disable it in the hub so it isn't included in builds

@sgfost I was actually looking into forking this plugin to add some more functionality to it, would it be possible to make the source available again? I'd really appreciate it :)

Just wanted to give a shout to @sgfost for making the source available. Already forked it and have a few updates in the works.


add v1beta1 to crd definition

Description
Seems k8s doesn't like it when a CRD drops an api-version. We could have all users kubectl delete crd amazoncloudintegration.tigera.io, but that's a pain. Instead, since there's only a couple of users using this CRD, we can just do a half-baked migration where we include the old CRD definition. I think @doucol has tighter upgrade instructions somewhere for   users who are using the v1beta1.

For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

@tmjd thanks, great feedback.
I did some experimentation, and your suggestions all work, even when an AmazonCloudIntegration exists. I did have some trouble modifying the AmazonCloudIntegration after applying the new CRD, but I was able to delete and recreate it (which I believe was @doucol 's upgrade plan anyways).


Not able to set state after calling query

`async updateCounter(rooms) {
    let unreadCounter = { ...this.state.unreadCounter }
    for (let item of rooms) {
        try {
            let doc = await db.findOneAsync({ forRoom: item._id })
            if (!doc) {
                db.insert({ forRoom: item._id, noOfMessages: item.noOfMessages })
            } else {
                if (item.noOfMessages > doc.noOfMessages) {
                    console.log('UPDATE>>>>>>>>>>>>>')
                    unreadCounter[item._id] = item.noOfMessages - doc.noOfMessages
                }
            }
        } catch (err) {
            console.error(err)
        }
    }

    console.log(unreadCounter)

    this.setState({
        unreadCounter: {
            '5c6568a0c8e78c33705e9bda': 7
        }
    })

}`

In the above function call whenever I try to setState it is not updating the view. However if I comment out the code for the query it rerenders the view. Am I doing something wrong or is this a bug?

I hope you have found a solution. I'm closing the issue because it does not seem like a problem with the package.


[BUG] Readme Example Link is broken.

The Readme Link for Detailed Example in section Example is broken.
It leads me to: https://github.com/sarbagyastha/youtube_player_flutter/tree/master/example
Which gives me a 404.

Thanks for reporting.

Hi @sarbagyastha, is there any update? Thanks in advance for your support.


WIP: gh-699: Feature/monitoring service

WIP: has to incorporate changes from Etienne's PR before it can be merged.

@JeroenStravers1 it keeps failing.


SORT command

Node version: v6.9.4
ShellJS version:0.7.7
OS: Windows 10
Description of the issue:
hi, I am a beginner and I am trying to use the sort command. When i run it, it gives no error, but the file content remains the same. I have attached the files I used. thank you for your help.
file_sort.zip

The command does not modify your file, it returns the sorted contents. If you want to overwrite your file, you'll need to do sort(filename).to(filename). @rpjan are you saying that the returned contents is not sorted?
var sortedValue = shell.sort('foo.txt');
// if sortedValue should be sorted linewise at this point
// the contents in foo.txt are not modified
sortedValue.to('foo.txt'); // now foo.txt is modified

amazing! it works beautifully. I was using it incorrectly. thank you so much for the quick help and the wonderful too.


added CocoaPods podspec

This implements #5. I couldn't easily test it in my app (it seems Swift pods cause a lot of problems and you need to change a lot of things, and they're only available on iOS 8...), but I've tested it in a fresh app that had nothing else in it, and it looks like it works.
I also had to change the access level of some methods to "public" to make them available to code outside the SwiftGif module.
To release a new version to CocoaPods, you need to add a new tag to the repo, update the version and tag name in the podfile, and then upload it to the CocoaPods repo (https://guides.cocoapods.org/making/getting-setup-with-trunk.html).

Thanks very much for the PR, @mackuba, I'll try to look into it at the weekend :+1:

Okay, the thing with the weekend was not really true :stuck_out_tongue_winking_eye:
Looking into it now. :smile:

:+1:


Update reference to scssphp

scssphp has moved. This PR updates the composer recommendation.

due to the package being an optional requirement that projects need to require themselves, this is a BC break (projects installing leafo would break when updating assetic). Would it be possible to support both the scssphp and leafo packages depending on which one is available ?

Hi,
Any idea how to fix this issue?
Brs.

This has been implemented in the 2.0 branch of assetic-php/assetic. Until we tag 2.0, you can pull it in by using "assetic/framework": "dev-2.0/dev" in your composer.json files.


Implement GB document stages

GbDoc inherits the same ISO Harmonized stages (with identical meanings and codes) and is harmonized with WTO stages. This is according to GB/T 16733-1997.
Here are the corresponding codes (CONFIRMED): (the code names/abbreviations diverge from ISO, but code numbers are identical)

00 新工作项目建议 (PWI Preliminary Work Item)
10 新工作项目 (NP New work item Proposal)
20  标准草案征求意见稿 (WD Working Draft(s))
30  标准草案送审稿 (CD Committee Draft(s))
40  标准草案报批稿 (DS Draft Standard)
50  标准出版稿 (FDS Final Draft Standard)
60  国家标准 (National Standard)

Iterations:

"{n}次{stagename}" ("二" is number "2", "次" means "times", so the second Committee Draft is "二次征求意见稿")

The cover page changes per stage look like this. The images should actually reflect the official names provided above.
New work item Proposal.

Working Draft.

This additional text is "在提交反馈意见时，请将您知道的相关专利连同支持文件一并附上". This means "When providing comments, please attach known relevant patent information and supporting documents".
Committee Draft.

Draft Standard.

Updated and stages confirmed.

This is not explicit enough:

Do Draft, Draft Standard For Comments, Draft Standard For Examination, Draft Standard for Approval correspond to WD, CD, DS, FDS?
I need the bracketed text for each stage.

I am acting as if Draft, Draft Standard For Comments, Draft Standard For Examination, Draft Standard for Approval correspond to WD, CD, DS, FDS, and putting those stage names in the brackets

Official English and Chinese names:
00 新工作项目建议 (PWI Preliminary Work Item)
10 新工作项目 (NP New work item Proposal)
20 标准草案征求意见稿 (WD Working Draft(s))
30 标准草案送审稿 (CD Committee Draft(s))
40 标准草案报批稿 (DS Draft Standard)
50 标准出版稿 (FDS Final Draft Standard)
60 国家标准 (National Standard)

You can basically ignore the names with the images.

In that case, this is done. The styling may be wrong, but you are dealing with that anyway.

... Almost done. Are these codes incorporated into the document identifier, like the ISO abbreviations are?

I don't have a definitive answer, but let's treat that as a yes for now.

(yes, the latest description overrides what there is in the images)

(I've updated the original post to reflect the correct names)

One last thing: at the moment, the iteration is given as the Arabic numeral. This has to be translated to the Chinese numeral, right?

Yes, you're right.

You can use this for localizing numerals: https://github.com/twitter/twitter-cldr-rb if it's not too heavy duty.

Example of this run with CD stage and iteration 3 attached.
rice.gb.zip

@opoudjis thanks. I have a new idea -- can we host this GB Doc in a new repo, and we can have separate Chinese and English versions (and separate localization YAMLs), that we can use to test?

Why should these not simply go to spec/examples for the asciidoctor-iso and asciidoctor-gb repositories? There are in fact rice documents already there for both. And proliferating gems and repositories simply makes this unnavigable for any outsider, and painful to manage.

I'd like to separate the purposes, the ones in spec/examples are for specs, but the document themselves can be used just like rfc-asciirfc-template -- as example documents where people start a document from.
That said, you're right that we should have these in specs to spec against.


Filters

Pipeline V0

no code changes to previous PR, but merged main into this branch.

See #128


(642a) Add navigation

Context

The designs have a navigation menu with "List of programmes" and "My cases". The latter doesn't currently have a corresponding page in our service, but the former does
This is part one of (probably) two PRs to introduce the refer start page
Changes in this PR

Add the navigation with a "List of programmes" link
A few iterations in the same area of code

Screenshots of UI changes
Before
Courses page:

Course page:

Dashboard page (no change):

After
Courses page:

Course page:

Dashboard page (no change):

Release checklist
Release process documentation
As part of our continuous deployment strategy we must ensure that this work is
ready to be released once merged.
Pre-merge

[ ] There are changes required to the Accredited Programmes API for this change to work...

[ ] ... and they have been released to production already

Post-merge

[ ] This adds, extends or meaningfully modifies a feature...

[ ] ... and I have written or updated an end-to-end test for the happy path in the Accredited Programmes E2E repo

[ ] This makes new expectations of the API...

[ ] ... and I have notified the API developer(s) of changes to the contract tests (Pact), or the API is already compliant

[ ] Manually approve release to preprod
[ ] Manually approve release to prod

 Make a referral start page (UI)


To Check whether a number is prime or not in java

Using Sieve of Eratosthenes to check whether a number is prime or not in Java

Move the file to Mathemathics


Fix Travis integration ASAP

Do we have any idea of what is happening?

Will setup CircleCI.
We'll have both tools.


Allow mono debugging and jit flags

Implements https://github.com/pythonnet/clr-loader/issues/13

@filmor updated


Fix retain cycle in SPRWebSocket

This breaks a retain cycle in SPRWebSocket caused by an implicitly captured reference to self for access of the _receivedHTTPHeaders instance variable. The implicit reference is replaced by an explicit reference through the self callback argument, as used for instance variable access in the other callback blocks.
The scenario in which I encountered this is unusual, but is responsible for a significant memory leak in Simplenote for macOS. A company I work for has a proxy deployed on their network that performs HTTPS intercept. Users are expected to trust the proxy's certificate on their devices and allow their secure traffic to be decrypted and monitored. I decline to do this on my personal machine, so when I VPN into this network Simplenote fails to connect due to the untrusted certificate. It then retries every 2 seconds, creating a new SPRWebSocket instance each time that is leaked due to this cycle. This results in a leak of about 1mb per minute.

@mattstevens sorry for the delay here... @jleandroperez would you be able to look at this PR?


can not get all values of multiple field with same name

html:
<form method='post' enctype='multipart/form-data'>
<select name="test[]" multiple>
<option value="t1" selected>v</option>
<option value="t2" selected>v2</option>
 </select>
<input type='file'>
</form>

expected
fields:{'test[]':['t1','t2']}

actual
fields:{'test[]':'t2'}

Hi,
I'm having the same issue here.
Is this going to be pulled in to the main stream?
Thanks,
Jatin

if you want to use his fix you can clone his build into the project's folder: node_modules/formidable it should act as if it was from npm. As for when this is going to be pulled is unknown the project owner has mostly moved on from this project I have been helping with most of the issues that crop up (if i can).

This should be resolved by merged #380. It may lend in the next release.


Handle CloseComplete Postgres response in _parse_execute_to_buf

The _parse_execute_to_buf, which is used for JSON-based queries is
currently forgetting to handle the CloseComplete (3) response message
from Postgres despite engaging in prepared statement cleanup like its
cousin _parse_execute (which handles CloseComplete correctly).  This
leads to crashes when the prepared statement cache buffer overflows, and
is most prominent on HTTP ports, however it's also possible to trigger
this via a normal connection, because prepared statements also get
invalidated on schema version changes, as @vpetrovykh uncovered recently
in #1780.
Fixes: #1334
Fixes: #1314
Fixes: #1770

does this undiscarded message lead to some error that prevents the cleanup?

This undiscarded message leads to a protocol crash in fallthrough.  It is triggered by an overflow in prepared statement cache, because that's when Close is issued in _parse_execute (in before_prepare())

It is triggered by an overflow in prepared statement cache, because that's when Close is issued in _parse_execute (in before_prepare())

Ah, OK, I get it now.


Stanford Anthropic key will expire Thursday, December 8, 2022

Expired? @teetone

Expired? @teetone

They told me they would renew later for future runs when we need the server up again.

Closing since we can always ping.


Improve error messages

class Error {
public:
  operator bool() const { return false; }
};

std::ostream& operator << ( std::ostream& os, const Error& value ) {
  os << "some error string"; return os;
}

Error getError() { return Error(); }

TEST_CASE("Some test", "[SomeTest]") {
    REQUIRE(getError());
}

Without the change outputs:
... FAILED:
  REQUIRE( getError() )
with expansion:
  false

With the change outputs:
... FAILED:
  REQUIRE( getError() )
with expansion:
  some error string

Apologies for the premature closure - I deleted the branch and it auto-closed all associated PRs - it wasn't intentional.
I also can't re-open it at this point - but I'll come back and review shortly.

I've had a look at this now and I'm not convinced this is the right way to go.
I'll try and explain my reasons:

What the assertion is testing is the boolean value that the object converts to. When Catch prints the actual value it should be the value that is actually being tested. That's not to say that the error string is not useful in this case - although I'd argue that that interpretation is specific to your usage. But the message is extra context, rather than the value being tested (I'll show you how you can have your cake and eat it in a moment).

By taking your approach it breaks for certain other things that convert to bool - for example objects using the "safe bool idiom" (which typically return a pointer to a private member function). These now get printed as integers - which is not quite as friendly - even though we evaluated them as bools.

I promised you your cake - and you can eat it by capturing the context using CAPTURE - e.g.:
    auto err = getError();
    CAPTURE( err );
    REQUIRE( err );

For me, with you example, that prints:
  REQUIRE( err )
with expansion:
  false
with message:
  err := some error string

How does that sound?

Yes, I get your point and thx for the detailed answer. I am using that approach to extract validation functionality:
Error isValid(const Foo& foo);
...
REQUIRE(isValid(foo1));
REQUIRE(isValid(foo2));

But i guess that should work with CAPTURE as well
oh, and thx for great work.


Set Default InvocationImage

What does this change
Adds a function SetDefaults, that is called after we load the manifest from the filesystem. It checks if invocationImage is empty and defaults it to tag-installer. For example, if manifest.Tag is deislabs/porter-hello:latest, then manifest.InvocationImage will be defaulted to deislabs/porter-hello-installer:latest.
What issue does it fix
Closes #383
Notes for the reviewer
N/A
Checklist

[x] Unit Tests
[x] Documentation
[ ] Documentation Not Impacted

/azp run porter-integration

/azp run porter-integration

(porter-integration failed due to a bug outside of this PR; fix merged in https://github.com/deislabs/porter/pull/696)