Make LLVM_VERSION and OPENSSL_VER optional value

Added a new ENGINE_USE_SYMLINKS variable. If this is defined by GlistApp, it will indicate that our homebrew path is symlinks folder, not the Cellar folder. This variable is added to ensure compatibility with new engine versions and old GlistApp projects that define brew path to the Cellar folder.

Also see https://github.com/GlistEngine/GlistApp/pull/35


management of object ids across video frames

Is your feature request related to a problem? Please describe.
Hi, everyone.
i wanna know if it possible to manage ids of objects across video frames. i have a video and pre-labels, but the object id of the same object is not consistent across video frames.
Describe the solution you'd like
control and edit the ids of objects across video frames.

@hogepodge  thanks for your reply.  Unfortunately i am not allowed to share any figure here.
In my case, i have pre-annotations for consistent frames of a video from a detector.
Let's say Object A
ID  |  frame
1  |  1
10  |  2
1  |  3
3  |  4
12  |  5
...
...
So the problem is the IDs in the pre-annotations are not consistent across frames and i want modify them in LS so that i will have a GT-dataset for evaluating the tracker. Because i think correct/assign IDs from pre-annotations is easier than label the whole video from scratch.


state-lib does not work in a stage env

Expected Behaviour
works exactly like prod
Actual Behaviour
as soon as I call const state = await stateLib.init()
my action exits, and returns a 204, no logs are produced.
Reproduce Scenario (including but not limited to)
create a project in stage ...
npm install statelib
require it const stateLib = require('@adobe/aio-lib-state')
call init const state = await stateLib.init()
AIO_CLI_ENV=stage aio app run
commenting out the init call, my action returns a response and a 200, as soon as init is called, things break.
Environment Info
  System:
    OS: macOS 13.2.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 676.63 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
    Yarn: Not Found
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
  Virtualization:
    Docker: 20.10.17 - /usr/local/bin/docker
  npmGlobalPackages:
    @adobe/aio-cli: 9.1.1

Sample Code that illustrates the problem
Logs taken while reproducing problem
NONE!!!

actually, putting all of this in the try/catch ... I get a 500
53444-jessestatetest-stage/dx-excshell-1/generic:72ae017a975f4f86ae017a975f8f8602
2023-03-09T00:30:39.817Z       stdout: 2023-03-09T00:30:39.817Z [main /53444-jessestatetest-stage/dx-excshell-1/generic] error: [TvmLib:ERROR_RESPONSE] error response from TVM server with status code: 500
53444-jessestatetest-stage/dx-excshell-1/generic:6eae3dc73b9c4ee3ae3dc73b9c3ee3b7
2023-03-09T00:30:52.486Z       stdout: 2023-03-09T00:30:52.486Z [main /53444-jessestatetest-stage/dx-excshell-1/generic] error: [TvmLib:ERROR_RESPONSE] error response from TVM server with status code: 500
53444-jessestatetest-stage/dx-excshell-1/generic:89685ca40e374df3a85ca40e371df357
2023-03-09T00:31:14.174Z       stdout: 2023-03-09T00:31:14.173Z [main /53444-jessestatetest-stage/dx-excshell-1/generic] error: [TvmLib:ERROR_RESPONSE] error response from TVM server with status code: 500


Seems not working with ts-node

Hey there,
I'm trying to bootstrap a project with your tool, and i got an issue to make this "plugin" work with ts-node.
Here is a reproductible repository : https://github.com/DavidBabel/test
git clone git@github.com:DavidBabel/test.git
cd test
yarn install && yarn start

Here is the error :
/Users/david/dev-others/project-score/src/main/score.ts:1
(function (exports, require, module, __filename, __dirname) { export const scores = {
                                                              ^^^^^^

SyntaxError: Unexpected token export
    at new Script (vm.js:84:7)
    at createScript (vm.js:264:10)
    at Object.runInThisContext (vm.js:312:10)
    at Module._compile (internal/modules/cjs/loader.js:694:28)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:745:10)
    at Module.load (internal/modules/cjs/loader.js:626:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:566:12)
    at Function.Module._load (internal/modules/cjs/loader.js:558:3)
    at Module.require (internal/modules/cjs/loader.js:663:17)
    at require (internal/modules/cjs/helpers.js:20:18)

I do not know if it's related to https://github.com/cevek/ttypescript or the plugin https://github.com/grrowl/ts-transformer-imports
Fun part, it works well if i use ts-node-dev instead of ts-node.

The reason is
https://github.com/grrowl/ts-transformer-imports/blob/master/transformer.ts#L7
require.extensions['.ts'] = require.extensions['.js']
require.extensions['.tsx'] = require.extensions['.js']

Ref of @cevek investigations : https://github.com/cevek/ttypescript/issues/43

Thank you both for your help, for the reproducing repo  and tracking down the base issue. I don't have the time to look at this immediately but hope to soon, and hope you found a resolution in the meantime.


Add run option DisableTty

When calling Run method on a project inside a docker container, it fails with "inappropriate ioctl for device".
os.Stdin is not a terminal, so term.SetRawTerminal fails. It also fails later because of configOverride.Tty set to true.
I added DisableTty option in order to maitain backward compatibility, set Tty and StdinOpen from this option in the service.Run method and disabled the use of a terminal in the container.Run method when tty is disabled

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "runwithouttty" git@github.com:ArnoBouts/libcompose.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


Default to tradeable versions of items in itemNameMap

Description:

Whenever using item names to fetch items, multiple items with the same name will default to the first tradeable version it finds.

Better solution in the works


[Bug Report] MuJoCo Envs, healthy reward issues

Continuation of https://github.com/Farama-Foundation/Gymnasium/issues/500
Describe the bug
The healthy reward on some MuJoCo Envs is given even on
Ant
https://github.com/Farama-Foundation/Gymnasium/blob/07185f54596a687cac2209008c3b008a16daf3ac/gymnasium/envs/mujoco/ant_v4.py#L276-L280
issue 1
terminate_when_unhealthy affects the reward function (it should only affect if the env terminates)
issue 2
if terminate_when_unhealthy is true (which is the default) the or statement is true → the reward gets given regardless of if the environment is healthy or not
Hopper
https://github.com/Farama-Foundation/Gymnasium/blob/07185f54596a687cac2209008c3b008a16daf3ac/gymnasium/envs/mujoco/hopper_v4.py#L216-L220
Same issues
Humanoid
https://github.com/Farama-Foundation/Gymnasium/blob/07185f54596a687cac2209008c3b008a16daf3ac/gymnasium/envs/mujoco/humanoid_v4.py#L329-L333
Same issues
Inverted (Double) Pendulum
https://github.com/Farama-Foundation/Gymnasium/issues/500
Walker2D
https://github.com/Farama-Foundation/Gymnasium/blob/07185f54596a687cac2209008c3b008a16daf3ac/gymnasium/envs/mujoco/walker2d_v4.py#L217-L221
Same issues
Note
v3 and v2 are also affected by this bug, but I am not showing the respective codes
Unaffected  (no terminal state)
HalfCheetah
HumanoidStandup
Reacher
Pusher
Swimmer
Proposed solution change in v5
 def healthy_reward(self):
     return self.is_healthy * self._healthy_reward

Code example
#Note: Hopper-v4/3/2 does not have `info['reward_survive']`, but it is still affected
#Note: Walker2d-v4/3/2 does not have `info['reward_survive']`, but it is still affected
#Note: Inverted(Double)Pendulum-v4/2 does not have `info['reward_survive']`, but it is still affected
@pytest.mark.parametrize("env_id", ['Ant-v4', 'Ant-v3', 'Ant-v2'])
def test_verify_reward_survive(env_id):
    env = gym.make(env_id)
    env.reset()

    for step in range(10000):
        obs, rew, terminal, truncated, info = env.step(env.action_space.sample())

        if terminal:
            assert(info['reward_survive'] == 0)
            break

        assert(info['reward_survive'] != 0)

    assert False, "If you get here, it means that the testing methodology has failed."

@pytest.mark.parametrize("env_id", ['Humanoid-v4'])
def test_verify_reward_survive_human(env_id):
    env = gym.make(env_id)
    env.reset()

    for step in range(10000):
        obs, rew, terminal, truncated, info = env.step(env.action_space.sample())

        if terminal:
            assert(info['reward_alive'] == 0)
            break

        assert(info['reward_alive'] != 0)

    assert False, "If you get here, it means that the testing methodology has failed."

@pytest.mark.parametrize("env_id", ['Ant-v5', 'Hopper-v5', 'Humanoid-v5', 'InvertedDoublePendulum-v5', 'InvertedPendulum-v5', 'Walker2d-v5'])
def test_verify_reward_survive_v5(env_id):
    """Assert that `reward_survive` is 0 on `terminal` states and not 0 on non-`terminal` states"""
    env = gym.make(env_id, reset_noise_scale=0)
    env.reset(seed=0)
    env.action_space.seed(0)

    for step in range(175):
        obs, rew, terminal, truncated, info = env.step(env.action_space.sample())

        if terminal:
            assert(info['reward_survive'] == 0)
            break

        assert(info['reward_survive'] != 0)

    assert terminal, "The environment, should have terminated, if not the test is not valid."

System info
gym 28.1
Additional context
No response
Checklist

[X] I have checked that there is no similar issue in the repo

So the proposal is to remove self._terminate_when_unhealthy?

yes the healthy_reward should be
 def healthy_reward(self):
     return self.is_healthy * self._healthy_reward

Note: terminate_when_unhealthy will still affect the teminated()

Here are the length of the episodes:

Explanation:
v4: is the current version
v5: changes the reward function and mujoco model (the behavior of the new model is nearly identical)
Analysis:
we can see that the v5 version learn policies that last longer in 0→500k steps, but it does not have significant impact in the latter half of the training process 500k→1M steps
This is the expected behavior, (though I did expect a bit of better performance in the latter half)
Here are the average return of the episodes:

here the performance mostly follows the episode steps

Here are the episode lengths on humanoid
explanation:
v5 alpha: is the v4 version with conctact_cost and the exclusion of free bodies/joints observation
v5: is v5 alpha with the healthy_reward fixed
analysis:
At least for PPO we see no significant difference

Explanation:
v5 alpha: is the v4 version with conctact_cost and the exclusion of free bodies/joints observation
v5: is v5 alpha with the healthy_reward fixed
Analysis:
The healthy reward fix appears to have small improvement in the learning transience, this is because of the nature of the Ant robot that in-order to run forward it needs to remain on a high height.
Note: A2C is not shown here, because to learn with either cases (which is normal for the Ant environment)

Late to the party, but - is my understanding correct that this only really changes the very last step (i.e. termination) if the robot enters an unhealthy state?

That is correct the reward function only different on terminal states


expand novelty grinder to find strong moves in PGN database

go through PGN database of the games, filter out the moves that are unpopular, then evaluate the score for each move, find the moves that are causing significant higher score, then output those moves as PGN files. This can serve as valuable teaching material.

use https://github.com/lichess-org/berserk/blob/master/berserk/types/opening_explorer.py#L67
this to go through all the moves.

https://matthewsadler.me.uk/openings/the-mrbdzz-novelty-grinder/

you got to install both leela and nibbler
https://github.com/rooklift/nibbler/releases


Update stack deployment docs and other small fixes

Describe changes
This PR updates the stack deployment docs to include the GCP cloud provider and add more info around the AWS stack CLI deployments. It also includes the following minor fixes:

minor formatting improvements for the GCP stack deployment configuration
extend the custom HTTP timeout increase to also cover the "list service connector resources" endpoint
removed the Cloud Function from the GCP deployment manager template because this feature is only available in a handful of GCP regions. Replaced it with bash script commands that call the ZenML REST API directly with the JSON output extracted from the deployment

Pre-requisites
Please ensure you have done the following:

[x] I have read the CONTRIBUTING.md document.
[x] If my change requires a change to docs, I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] I have based my new branch on develop and the open PR is targeting develop. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.
[x] If my changes require changes to the dashboard, these changes are communicated/requested.

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Other (add details above)

@stefannica pls don't merge just yet - will push some minor things very soon

@stefannica , I'm done, if you want to merge it 🙂


Ability to extract 'Name-like' strings from a comparatively larger string

Original author<EMAIL_ADDRESS>(May 20, 2010 15:17:40)
I'm not sure the extent to which this is possible, I've only looked into this kind of thing very briefly,
but here goes.
Sometimes you'll have a blob of text with a few names in it, it'd be useful to be able to automatically
extract these names using some kind of fancy natural language processing.
I don't anticipate this being a perfect system, but I imagine that once you've got a list of potential
names from all your rows you could use the clustering tools to confirm/reject individual names.
Original issue: http://code.google.com/p/google-refine/issues/detail?id=52

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

There is a Natural Language Processing package for Java, OpenNLP, similar to the NLTK (Natural Language Tool Kit) in Python. I'm not sure if it has noun extraction, but here is the link: https://opennlp.apache.org/. The description used to have the word "Java" in it, so I presume it still is. Here's another link for some example Java code to use OpenNLP: http://stackoverflow.com/questions/5836148/how-to-use-opennlp-with-java

In addition to what I mentioned in my other comment, here's a list of NLP packages (many in Java) than might come in handy: http://www.quora.com/What-are-good-alternatives-to-NLTK

So, this discussion started back in 2010 and the state of the art has obviously moved on since then, but I believe it's something that's still of interest to the users of OpenRefine.
As @dfhuynh  mentioned in his May, 2010 comment, the "best" algorithms depend on the length of the target text, the domain, and a number of other factors.  OpenNLP, as well as more recent projects like cTAKES, might provide useful starting point.
At this point, this isn't something the core team has the bandwidth to be able to advance effectively, but if someone were to define a use case, research the best alternatives, implement one of them, and submit a pull request, we'd receive it very favorably.

I'm just working on extracting "name like" from very short texts (eg "Thad Guidry New York 2016") and I can say that it is very difficult... I would be delighted that Open Refine has a function to extract names, but I also know that it will work very badly depending on the length of the text or the language. Adding such a function that would work once in five, I think, would frustrate many users.

This is solved already quite easily now in 2017+.  Here's how...
@ettorerizza Most folks just use a Apache Stanbol - Docker image and send a Fetch URLs command to the Stanbol Socket URL endpoint.  https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=stanbol&starCount=0
Here's one that works for your use case I would think quite well. Even though its Drupal mention, its the same use case...provide a string of tags or entities extracted from some larger text string.
https://www.drupal.org/project/auto_recommended_tags
Here's some docs to get started once you have your instance running from Docker... https://stanbol.apache.org/docs/trunk/enhancementusage.html
If someone really wants tighter integration with OpenRefine, then an Apache Stanbol extension could be made (running in same Jetty instance on different port than OpenRefine)  They could also provide a Wikidata enhancement chaining as a default package.  Actually, I think someone has already wrote that enhancement somewhere if I recall, perhaps a Wikidata dev already or some Github project.

I think someone has already wrote that enhancement somewhere if I recall

The Deri's RDF extension, but never tried.

@ettorerizza Ah yeah, that's the one :)

See also the 'Named Entity Recognition' extension from 'Free Your Metadata' https://github.com/RubenVerborgh/Refine-NER-Extension

@ostephens Yes there are extensions to OpenRefine that handle this.  Closing this issue.


installing vscode insiders on win 11, selecting option for context menu actions does not install the actions in context menus

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: insiders, has been a specific insiders issues for as long as I have owned this machine.
OS Version: ^Version 23H2 (OS Build 22635.3066)

Steps to Reproduce:

install vscode insiders from https://vscode.download.prss.microsoft.com/dbazure/download/insider/271fb7fbd599b49a1482ea7284a50b3229317f96/VSCodeUserSetup-x64-1.86.0-insider.exe
select options to get context menu right clicks.
right click a file once installed.
right click folder once installed.
Seems that the context menus don't get installed. I'm about to try reinstalling from the system installer not the user installer.

still happens after installing with the system insntaller. No idea why it just happens with installers for insiders.

@derekriemer does this issue still occur for you using an installer for VS Code 1.96 or later?


config: add process.shutdown.only_kill_process option

shutdown.only_kill_process defaults to false (backwards compatible). In this case and on UNIX platforms, the shutdown signal is sent to the running process' process group. If shutdown.only_kill_process is true, the shutdown signal is only sent to the running process itself.
Closes #67

Thank you for your PR @airwoodix!
It looks good!

What do you think about  shutdown_parent_only?

Thanks for the quick and positive review @F1bonacc1!
I renamed the option shutdown.parent_only (to avoid the shutdown repetition). Does this make sense to you?
The change made the logic in the stop method more straightforward. Also enhanced the new log line there and ran gofmt.

Your suggestion is even better 🙂
Merging.


"type" claim seems underspecified

Looking at -02 with kinda fresh eyes and the type claim seems like it needs something more. The places it shows up in the draft are linked and quoted below but basically say that the type is the type and gives one meaningless example ({"type": "SomeType"} is not helpful) and later an "e.g., IdentityCredential" that seems like it should be meaningful but isn't defined or explained anywhere that I could find. I realize this issue may seem pedantic or even silly but specs need to be specific about things like this or explain why they aren't specific and what the implications are.
https://www.ietf.org/archive/id/draft-terbu-sd-jwt-vc-02.html#section-<IP_ADDRESS>

This specification defines the JWT claim type. The type claim is used to express the type of the JSON object that is secured by the JWT. The type value MUST be a case-sensitive StringOrURI value.
The following is a non-normative example of how type is used to express a type:
{"type": "SomeType"}

https://www.ietf.org/archive/id/draft-terbu-sd-jwt-vc-02.html#section-<IP_ADDRESS>-3.6.1

type
REQUIRED. The type of the Verifiable Credential, e.g., IdentityCredential, as defined in Section <IP_ADDRESS>.

Over here Torsten suggests he sees it as "as identifier for a pre-defined bundle of claims associated with certain policies for enrollment and issuance" which may or may not be what it is intended. But is a lot more than the text in the draft says. And further suggests (to me anyway) that there's a gap between what is stated in the draft and what some think is defined.

I totally agree that we need to improve this definition!

+1 to adding something like "as identifier for a pre-defined bundle of claims associated with certain policies for enrollment and issuance" sounds pretty accurate to me.
jfyi I think there is a conversation on renaming type claim in Issue #130.

here is a PR trying to improve the text #153

#153 was merged, closing this issue.


Implement AGS column

closes #108, implement AGS column for all three databases. config.py contains a list of possible labels to identify ags column. This column is added at the end right before the column with the attribute label containing the human readable label for the code.
I have fixed all tests and locally they are green again.
Before merging we should test if the new information is enough to get the demo notebook from Jonas (old) working again with the visualization use case

Thanks for the review @MarcoHuebner . If you disagree with any of my comments we can discuss the issue and refactor more in another branch


Investigate, whether we can intergrate CPACS Creator

CFSEngeneering create a CPACS Editor based on TiGL and TiGL Viewer. Lets check, whether we can reintegrate it into TiGL Viewer.
The project looks great and can be found here: https://github.com/cfsengineering/CPACSCreator

I think we are way past the investigation phase, thanks again @malodrougard!


[Card] Change arrows

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

This resolve #4348 changing arrows for expandable cards.

Please see my comments on the issue.


Checks payload id consistency

Fixes #15
Please CR @juanignaciosl

:+1: , but fix the tests meanwhile, we might be ignoring some details.

:+1: after talking about the needed payload changes.


Date not align properly

Integration method.(manual)
Device modal and iOS version.  iPhone 6+ iOS10.3.1
Xcode version.  Xcode 9.0.1

My implementation for FSCalendar is insert view in xib and create a link to variable.
When I first load my calendar, the layout become misaligned (refer to image 1). After physically rotating my device to landscape and back to portrait, it fix itself. (refer to image 2)
I do not know where to start to find the issue that caused this to happen.
Side note: (not sure if this have anything to do with the issue.)

the page before this also have another FSCalendar.
this affected fscalendar is inside a scrollview with constraint set to height = 0.4 of superview, width with left right margin of 8, and center x align to superview now same as the first FSCalendar used (Attached image of how I put in xib).

Image 1

Image 2

Xib

Update
I am not quite sure what's happening, but I have tried copy from the previous page FSCalendar that is working perfectly fine and the date is still misaligned.
my code for the FSCalendar appearance
Calendar that working fine
self.calendar.appearance.caseOptions = FSCalendarCaseOptionsHeaderUsesUpperCase|FSCalendarCaseOptionsWeekdayUsesSingleUpperCase;
self.calendar.appearance.titleTodayColor = [UIColor colorWithRed:7.0/255.0f green:138.0/255.0f blue:134.0/255.0f alpha:1.0f];
self.calendar.appearance.todaySelectionColor = [UIColor colorWithRed:7.0/255.0f green:138.0/255.0f blue:134.0/255.0f alpha:1.0f];
self.calendar.appearance.selectionColor = [UIColor colorWithRed:7.0/255.0f green:138.0/255.0f blue:134.0/255.0f alpha:1.0f];
self.calendar.appearance.todayColor = [UIColor clearColor];
[self.calendar selectDate:[NSDate date] scrollToDate:YES];
self.calendar.accessibilityIdentifier = @"calendar";

Calendar that not working fine
self.calendarView.appearance.caseOptions = FSCalendarCaseOptionsHeaderUsesUpperCase|FSCalendarCaseOptionsWeekdayUsesSingleUpperCase;
self.calendarView.appearance.titleTodayColor = [UIColor colorWithRed:7.0/255.0f green:138.0/255.0f blue:134.0/255.0f alpha:1.0f];
self.calendarView.appearance.todaySelectionColor = [UIColor colorWithRed:7.0/255.0f green:138.0/255.0f blue:134.0/255.0f alpha:1.0f];
self.calendarView.appearance.selectionColor = [UIColor colorWithRed:7.0/255.0f green:138.0/255.0f blue:134.0/255.0f alpha:1.0f];
self.calendarView.appearance.todayColor = [UIColor clearColor];
self.calendarView.accessibilityIdentifier = @"calendarB";

This issue was affecting me, but only with iPads.
In FSCalendar.m line 363
I added:
[_collectionViewLayout invalidateLayout];
This worked for me.


[SMALL] adding parameterless ctor to SqlFunctionExpression

@anpete

:shipit:

:+1: I need this in #3011

merged b5de4952b5a459bcd7ad5d001a4ac9b4d2cb6508


Fixed #15727 -- Add support for Content-Security-Policy header support for SecurityMiddleware

As noted on the ticket, " The important thing for django to support is to make the admin compatible with CSP. Otherwise, most installations can't use CSP anyway." Closing due to inactivity. Please send a new PR if you want to revive this.
I guess we should discuss the comment on the ticket, "I don't see any value in adding the ability for django to set the CSP header for you. I can easily do that myself with a middleware." on the django-developers mailing list as well, before putting more time into this.


Issues updating to nakama 3.4.0

Hi, we're updating from nakama 3.1.2 into nakama 3.4.0 and it seems like we've encountered a regression bug on tournaments/leaderboard
github.com/heroiclabs/nakama/v3/internal/cronexpr.(*Expression).Next(0x0, 0x2360ad1b, 0xed87dfdec, 0x0, 0x7f2f521363b0, 0x2360ad1b, 0xed87dfdec)
github.com/heroiclabs/nakama/v3/internal/cronexpr/cronexpr.go:174 +0xad

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xa8 pc=0x12516cd]

goroutine 251 [running]:
github.com/heroiclabs/nakama/v3/internal/cronexpr.(*Expression).Next(0x0, 0x2360ad1b, 0xed87dfdec, 0x0, 0x7f2f521363b0, 0x2360ad1b, 0xed87dfdec)
	github.com/heroiclabs/nakama/v3/internal/cronexpr/cronexpr.go:174 +0xad
github.com/heroiclabs/nakama/v3/internal/cronexpr.(*Expression).NextN(0x0, 0x2360ad1b, 0xed87dfdec, 0x0, 0x2, 0xc000d65318, 0x0, 0xc000d65858)

We're usually create leaderboard with this cron expression */5 * * * * or 0 2 * * 1
Additionally, it looks like client sdk that we use is not compatible with 3.4.0 releases? We got this error when trying to connect to nakama
System.IO.EndOfStreamException: Unexpected end of stream encountered whilst attempting to read 2 bytes
  at Nakama.Ninja.WebSockets.Internal.BinaryReaderWriter+<ReadExactly>d__0.MoveNext () [0x00118] in <086f3f08159042feac393a5f976be30a>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at Nakama.Ninja.WebSockets.Internal.WebSocketFrameReader+<ReadAsync>d__0.MoveNext () [0x0009b] in <086f3f08159042feac393a5f976be30a>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at Nakama.Ninja.WebSockets.Internal.WebSocketImplementation+<ReceiveAsync>d__33.MoveNext () [0x000e7] in <086f3f08159042feac393a5f976be30a>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <9577ac7a62ef43179789031239ba8798>:0
  at Nakama.Ninja.WebSockets.Internal.WebSocketImplementation+<ReceiveAsync>d__33.MoveNext () [0x0034a] in <086f3f08159042feac393a5f976be30a>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <9577ac7a62ef43179789031239ba8798>:0
  at Nakama.Ninja.WebSockets.Internal.WebSocketImplementation+<ReceiveAsync>d__33.MoveNext () [0x00841] in <086f3f08159042feac393a5f976be30a>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at Nakama.WebSocketAdapter+<ReceiveLoop>d__35.MoveNext () [0x0009f] in <086f3f08159042feac393a5f976be30a>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at Nakama.WebSocketAdapter+<Connect>d__31.MoveNext () [0x001a5] in <086f3f08159042feac393a5f976be30a>:0
UnityEngine.Debug:LogError(Object)
Nakama.Socket:<.ctor>b__51_2(Exception)
Nakama.<Connect>d__31:MoveNext()
UnityEngine.UnitySynchronizationContext:ExecuteTasks() (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/UnitySynchronizationContext.cs:107)

Nakama: 3.1.2 -> 3.4.0
client sdk: nakama 2.7.0 unity
Thanks!

@ernesernesto I suspect that this issue might be related to the timezone of the server rather than a regression. What timezone do you run the game server on?

@novabyte here is the output of timedatectl on the server
timedatectl
      Local time: Tue 2021-07-13 07:48:45 UTC
  Universal time: Tue 2021-07-13 07:48:45 UTC
        RTC time: Tue 2021-07-13 07:48:45
       Time zone: Etc/UTC (UTC, +0000)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

We're using Nakama 2.7.0 Unity sdk and Unity 2019.4.18f1
Can you share the specific client SDK code which causes that exception to be thrown and what version of Unity engine you're on?

Will need to dug into this since we ended up downgrading the server back and not triggering on 3.1.2 nakama

@ernesernesto This is resolved in d94a708115c3a899439236bd02c60965e20b3743 and will be part of the next release.


Menu not showing/cheat crashing maybe?

Last few lines of log file after each injection are as follows
[2024-12-02 21:52:03] [Hooks.cpp:100] Initializing Hooks...
[2024-12-02 21:52:03] [Hooks.cpp:17] Create VFTHook called
[2024-12-02 21:52:03] [Hooks.cpp:23] Failed to set protection (1) on constructor for VFTIndex: 92
[2024-12-02 21:52:03] [Hooks.cpp:118] Hooks Initialized!

Either that is the end of the log and the cheat has successfully injected but menu not opening - which im not sure about because I haven't looked at the initial loading process at all, or it is crashing at hooks initialized
any insight would be great just tryna fuck around in ogfn

Tried on Nova 9.41, and ezfn season 4 (haven’t tried s7 as their anti cheat doesn’t let me launch because of debugging tools even after closing everything

Nova and EZFN will both require custom bypasses to make the cheat undetected on there. It may be their anti-cheats interfering with the loading process. Could you try the cheat on a self hosted version of the game, such as Project Reboot?

Found it does inject in s8 on a different project so likely to be anti cheats interfering on nova
Any ideas of a workaround? i'm using a self coded driver and injector with security against injections but havent implemented any into your source and am not sure where to start if the injection process is being interfered with

Most OGFN anti-cheats don't really focus on conventional detection methods, especially Nova. They usually go for the easier route of detecting interactions with Unreal-Engine, so it's a bit difficult to know where to start without reversing the anti-cheat. I'm going to close this issue now, hopefully you are able to reverse Nova or whatever project you want to use this cheat on, have a great day!


Evaluation Framework to evaluate the quality and performance of Open AI models

FMOps(Fundamental Model Ops) is a critical aspect of the lifecycle management of the performance and quality of Open AI based systems. It consists of several steps to ensure effective system operation and improvement.  The evaluation framework plays an important role in the experimentation phase, facilitating rapid experimentation and providing valuable insights.

Based on my recent project, I'd like contribute to SK by providing a sample implementation of the evaluation framework for NL-to-SQL case. I already designed and developed the evaluation framework to evaluate the quality and the performance of NL-to-SQL capability of AOAI. The framework provides multiple statistical metrics and evaluation techniques to assess the performance of AOAI models in NL-to-SQL tasks. It consists of query exact match, semantic accuracy(=result exact match), query syntax validity, query diff, Levenshtein score, and cosine similarity, which provide valuable insights into the performance and accuracy of the NL-to-SQL system.
This is the sample result reports.

FYI, I also implemented SQL Server connector to check result set, query validity and query performance. It also queries to Embeddings model(text-embeddings-ada002) to get embeddings for Cosine Similarity.
Please let me move forward to make PRs. I also need suggestions where to push it. (I think "samples" would be ok)

@evchaki Thanks for your feedback, This is not mainly about NL-to-SQL but evaluation framework which can be used in any generic use cases. NL-to-SQL is used to show how to evaluate generated completion from OpenAI. As described above, it consists of loading evaluation dataset, assess metrics(by using evaluation techniques like exact match, Levenshtein, Cosine Similarity and so on) and generating report. FYI, it will be a Jupiter notebook, which uses custom connectors and plugins for assess metrics.


Only package the necessary files into the gem

Reduces gem size by 50%, to 792K.

I think maybe it's better to specifically exclude folders and files. Like the /doc and /test but keep that git ls-files method of including them. Reason being you missed db/cms_seeds and that breaks the gem.

I used what bundle gem generates:
s.files = `git ls-files -z`.split("\x0").reject do |f|
  f.match(%r{^(test|doc)/})
end


Wynn and Thorn in Old English text does not get fingerprinted correctly

Using fingerprint and ngramFingerprint should correctly transliterate (fold) the Wynn Ƿƿ and thorn þ grapheme's for modern composition.
Current Results
ngramFingerprint('ƿiges ƿarne')
aeginrsƿ

fingerprint('ƿiges ƿarne')
ƿarne ƿiges

fingerprint('Ƿenne bruceþ, þe can ƿeana lyt')
bruceþ can lyt þe ƿeana ƿenne

Expected Behavior
ngramFingerprint('ƿiges ƿarne')
aeginrsw

fingerprint('ƿiges ƿarne')
warne wiges

fingerprint('Ƿenne bruceþ, þe can ƿeana lyt')
bruceth can lyt the weana wenne

Screenshots

Versions

Operating System: Windows 10
Browser Version: Firefox
JRE or JDK Version: JDK8
OpenRefine: 3.4.1

Datasets

Additional context
https://en.wikipedia.org/wiki/Wynn
https://en.wikipedia.org/wiki/Thorn_(letter)
(Thad spent his weekend playing with Gensim (TF-IDF) and playing with Vector Space Models on some Old English texts and wanting further analysis and tried a few experiments in OpenRefine additionally and hit upon this issue)

Thorn was already supported (as was eth), so the fix just adds wynn.


EasyEngine Network Services Failing

I am having an issue with the EasyEngine web service related to networking, where it is not listening on the web ports 80 & 443. The resulting affect is two-fold:

None of my hosted websites on this droplet are accessible. I just get a "Can not Connect to server" error. They were previously working and everything was fine.

I cannot connect with anything externally from the droplet. My droplet has software updates that when I try to update from the terminal via SSH, I get 404 errors for all of the resources it attempts to connect to. If I try and install any command line tools, it fails with 404 errors, etc.

I can reach the Droplet's SSH port from external tests so the overall network of the Droplet is functioning properly. There is no protocol/DNS level issue and I have no security or firewall blocks on the Droplet either.  I can make a connection over http to an external source (e.g. curl -IL google.com, so it seams like it's not an issue with the Droplet itself.
System Information
ee cli info
+-------------------+----------------------------------------------------------------------------+
| OS                | Linux 5.11.0-49-generic #55-Ubuntu SMP Wed Jan 12 17:36:34 UTC 2022 x86_64 |
| Shell             | /bin/bash                                                                  |
| PHP binary        | /usr/bin/php7.3                                                            |
| PHP version       | 7.3.28-1+ubuntu21.04.1+deb.sury.org+3                                      |
| php.ini used      | /etc/php/7.3/cli/php.ini                                                   |
| EE root dir       | phar://ee.phar                                                             |
| EE vendor dir     | phar://ee.phar/vendor                                                      |
| EE phar path      | /root                                                                      |
| EE packages dir   |                                                                            |
| EE global config  | /opt/easyengine/config/config.yml                                          |
| EE project config |                                                                            |
| EE version        | 4.6.5                                                                      |
+-------------------+----------------------------------------------------------------------------+

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 21.04
Release:        21.04
Codename:       hirsute

docker version
Client: Docker Engine - Community
 Version:           20.10.6
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        370c289
 Built:             Fri Apr  9 22:48:16 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.6
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       8728dd2
  Built:            Fri Apr  9 22:46:27 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.4
  GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
 runc:
  Version:          1.0.0-rc93
  GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

docker-compose version
docker-compose version 1.22.0, build f46880fe
docker-py version: 3.4.1
CPython version: 3.6.6
OpenSSL version: OpenSSL 1.1.0f  25 May 2017

Additional info:
If I run:
ip -br a
One of the things I see in the output is:
docker0    DOWN   <IP_ADDRESS>/24
This Networking Configuration Issues article at Digital Ocean makes it sound like it shouldn't be that way:
https://docs.digitalocean.com/support/check-your-droplets-network-configuration/
I can not run ifup, however, because I would need to install ifupdown with:apt install ifupdown,  and as I have already established above, my droplet isn't able to connect externally.

Update:
I fixed it using freedog96150's solution, seen here:
https://community.easyengine.io/t/services-and-sites-not-restarting-on-reboot/14195/2
Solution Summarized:

Disable each site on droplet individually with: sudo ee site disable sitename.com
Run docker-compose down && docker-compose up -d (must cd into the services dir)
Re-enable each site on droplet individually with: sudo ee site enable sitename.com

His theorization on why this happens is interesting. I guess no fix has been employed by EasyEngine to allow a more organized start up process.


Corformance CUD Tests: Field description should accept strings longer than 255

observedproperty.description, featureofinterest.description, datastream.description, sensor.description, thing.description,

fixed


Support Datastore Blob values

Byte arrays are represented in Google API Client as base64 encoded strings. Allow IO-like objects to be saves as blobs, and blobs to be returned as StringIO objects.
[closes #644]

@quartzmo Can you give this a look?
@bmclean Any input?

Basically, any IO object (IO, StringIO, Temple, etc...) in an entity's property will be stored as a blob value, and a blob property will be returned as a StringIO object.

@pcostell Any input on this?

Really looking forward this PR, as I need to write binary (compressed) data

@timanovsky How do you feel about the requirement that blob fields need to be wrapped in an IO-like object when setting, and returned as a StringIO when getting? Is that an intuitive API?

Looks fine to me, how else would you do that in ruby. People who have
string data in SttingIO will have a problem, but I don't see what can be
done other than documentation. My only concern is about rewind, but if it
is a common practice so be it
@timanovsky https://github.com/timanovsky How do you feel about the
requirement that blob fields need to be wrapped in an IO-like object when
setting, and returned as a StringIO when getting? Is that an intuitive API?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-ruby/pull/653#issuecomment-216433481

Well, if you try to set a StringIO object into an entity property now it will raise a PropertyError with a message that "A property of type StringIO is not supported." So this change is purely additive.

I think whatever the appropriate ruby blob structure is fine. My only preference would be that the input and output types are the same -- I think it's dangerous when users can write one type but then read it later as a different type. It can lead to a weird API, for example (excuse the none ruby-esque pseudocode) :
e = Entity()
e.prop = MyType
k = ds.put(e)
e.prop is a MyType
e = ds.get(k)
e.prop is OtherType

I agree it would be best to maintain types, but I think the closest we can get is IO-like. Here are some examples of code we'd like to support:
# loading a file from the local file system
entity["avatar"] = open "/avatars/blowmage.png"
# File, inherits IO

# loading a file from the web
require "open-uri"
entity["avatar"] = open "https://avatars.githubusercontent.com/blowmage"
# Tempfile, does not inherit IO

# loading a file from in memory
require "stringio"
entity["avatar"] = StringIO.new avatar_bytes
# StringIO, does not inherit IO

All of these objects are IO-ish, but they all have different ancestors.
When retrieving the data from Datastore the bytes are all in memory, and AFAICT the most recommended approach for in memory IO objects is StringIO. I think this approach is the way to go.

Fair enough -- I may then just add the requirement that:
entity['avatar'] = open(...) # Tempfile input
entity['avatar'] # returns a StringIO

We can accept a few different types, but they are immediately serialized to
a blob so you don't run into the different types issue.
On Mon, May 2, 2016, 11:37 PM Mike Moore<EMAIL_ADDRESS>wrote:

I agree it would be best to maintain types, but I think the closest we can
get is IO-like. Here are some examples of code we'd like to support:
loading a file from the local file system
entity["avatar"] = open "/avatars/blowmage.png"# File, inherits IO
loading a file from the webrequire "open-uri"
entity["avatar"] = open "https://avatars.githubusercontent.com/blowmage"# Tempfile, does not inherit IO
loading a file from in memoryrequire "stringio"
entity["avatar"] = StringIO.new avatar_bytes# StringIO, does not inherit IO
All of these objects are IO-ish, but they all have different ancestors.
When retrieving the data from Datastore the bytes are all in memory, and
AFAICT the most recommended approach for in memory IO objects is StringIO.
I think this approach is the way to go.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-ruby/pull/653#issuecomment-216450742

That's a good idea. I had some issues with having to rewind the objects in the tests based on whether the object was read or not.

@blowmage This looks fantastic. Thanks!

This approach seems great to me, way to go @blowmage! Merging!


Add new configuration options

This pull request adds two new configuration options:

Property
Type
Required
Description

selection_opacity*
Number or String
no
Sets the opacity of the selected item background. If it is not specified, the default 0.12 will be used

divider_color*
String
no
Sets the color of the sidebar dividers

coverage: 99.775% (+0.006%) from 99.769%
when pulling d04647b3b951ccb926d555109cada7e6a9ce25d0 on add_new_options
into 87b5de5d8552f881f6db7b335f9da57b1c3b0e98 on master.


Command-line help does not mention --filter syntax

This is valid syntax:
alerta query --filter status=ack

And this is not:
alerta query status=closed

But you wouldn't know that from the alerta help message.

test

test2

test 4


Does not work, while other solutions do

While it can see the device, it throws the Failed to connect to device error. The logs show nothing why this could be happening.
The odd part is that I can connect to the device easily with something like this: https://flux-dev.vercel.app/

If you're using Windows 11 it might be related to issue #8. I couldn't get it working on Win11 with Lazarus and SimpleBLE DLL. I finally rewrote it in C, see https://github.com/eriklins/BLE-Scout. This works on Win11.

That makes sense, I do use Win 11. I've tried a couple others, the apps on MS Store work on Win11, like this one (github version) or python with bleak, etc.

BLE-Scout seems to work, thanks!


Tour the SAP Community

Tutorial URL: https://developers.sap.com/tutorials/community-start.html
Please specify the step you are referring to
it seems not possible to answer correctly the question 10.

There are multiple answers. Did you select more than one?
There are 63 possible answers (I think). Did you actually try all of them?

Thank you for your feedback. We haven't heard from you in the past 30 days, so we are closing the issue.
If you still have questions, feel free to reopen the issue.


added into_* variations for as_object, as_array

Allows a the destructuring of a Json type with move semantics.
For example,
let json_value = Json::from_str("{}").unwrap();
let json_object = (|json: Json| {
    // doesn't compile
    json.as_object()
})(json_value);
assert!(json_object.is_some());

if a Json type is passed to a closure, or some other scope block, when trying to destructure it, there is a lifetime conflict. The Json given as a parameter to the closure was moved, but it cannot be moved out of the closure as an Object.
If you replace as_object with into_object, the Object value returned is not a reference, so it can be moved out of the scope.
But this works,
let json_value = Json::from_str("{}").unwrap();
let json_object = (|json: Json| {
    json.into_object()
})(json_value);
assert!(json_object.is_some());

Thanks!


How to match addresses?

I have this list of addresses
[
"27 Glen Road, Caldercruix, Airdrie, Scotland, ML6 7PZ",
"93 Chudleigh Road, Twickenham, United Kingdom, TW2 7QY",
"15 Bromar Road, London, England, SE5 8DL",
"8 Langland Gardens, London, NW3 6PY",
"Marvan Court, 1 Waldegrave Road, Teddington, England, TW11 8LZ",
"Ebble Edge Blandford Road, Coombe Bissett, Salisbury, England, SP5 4LH",
"27 Glen Road, Caldercruix, Airdrie, Scotland, ML6 7PZ",
"Basement Floor, 459 Finchley Road, London, United Kingdom, NW3 6HN",
"Hazlemere, 70 Chorley New Road, Bolton, Greater Manchester, England, BL1 4BY",
"55 East Budleigh Road, Budleigh Salterton, England, EX9 6EW",
"Ladysmith House, High Street, Sidmouth, United Kingdom, EX10 8LN",
"6/7 West Street, Farnham, Surrey, England, GU9 7DN",
"59 Kingsbury Road, London, United Kingdom, NW9 7HU",
"Unit B10 Kestrel Court Harbour Road, Portishead, Bristol, England, BS20 7AN",
"20 Oak Drive, Nuthall, Nottingham, England, NG16 1FJ",
"Lynn Garth, Gillinggate, Kendal, Cumbria, LA9 4JB",
"19 Grange Road, Aveley, South Ockendon, England, RM15 4ER",
"5b Earls Gate, Bothwell, Glasgow, Scotland, G71 8BP",
"55 East Budleigh Road, Budleigh Salterton, United Kingdom, EX9 6EW",
"217 Luckwell Road, Bristol, England, BS3 3HD",
]
This is my needle:
"Basement Studio, 459 Finchley Rd, London NW3 6HN, United Kingdom"
still i am getting that there is no match.
What setting am i missing to get this one:
"Basement Floor, 459 Finchley Road, London, United Kingdom, NW3 6HN",
?
Thanks.

uFuzzy isnt really meant for this type of needle.
you can find what you need using something shorter but specific. for example "finch" or "459" or "6HN" would have matched this. if you plan on searching full sentances, you probably want something closer to a fulltext search with an index, not uFuzzy.

addresses can often be segmented quite easily, so it makes a lot more sense to build a smarter index that can recognize postal codes, countries, street names, house numbers, etc.


A9LH version?

Could be useful to have a slim version as a A9LH payload for restoring backups (especially with hourlies) or switch between versions (hourly/stable).
Just an idea, haven't decided yet.

That'd be great! And btw. thanks for making this app :)

Depends what you want to do with the a9lh version. Restoring backups is possible, but doing something like downloading a different payload won't be possible (unless someone figures out netcode in a9lh ?)

For anything network related you'd have to write your own arm9loaderhax wifi driver since none currently exists to my knowledge. Good luck if you decide to attempt that.

The A9LH I had in mind was just for restoring backups and the likes, making a full fledged updater for A9LH is way outside my capabilities.

Well if the A9LH .bin file got corrupt and it had to be replaced, it would need to be done trough a computer because if it's corrupt it may not load. Also with the file size check and file hashing it should no longer be a problem.

My case scenario is mostly people who use hourlies and want to go back because of bugs. This thing is a huge maybe anyway.

Tried and.. it isn't worth it.


Installs postgres through asdf instead of homebrew.

Installing an older version of postgres (we use 9.6.9) through homebrew has some issues.
For example, the most common that we've seen is that the pg gem in our rails applications cannot find the pg_config file on its own.
Additionally, you then have to add postgres to your path.
Installing through asdf seems to fix both of these issues. The pg gem seems to cooperate better and since the command is under asdf, you don't have to add anything else to the path (because asdf is already on the path).

@cdeevfrr @mabranon @tmr08c
I made another change to the command that starts the postgres server:
https://github.com/roirevolution/laptop/pull/3/files#diff-140c1f12feeb2c52dfbeb2da6066a73aR196
It sets the logfile for the server. Currently, it's set to $HOME/postgres.log. Can anyone think of a better location or name for this log file?

@amcheshire I think that's a fine location, relatively easy to find early on (which is what you need when you're running the laptop script).

Are we getting any advantages out of asdf for postgres?

The main reason I wanted to try switching is because the pg ruby gem has trouble installing if we install<EMAIL_ADDRESS>through homebrew. It cannot find the pg_config file, so we have to hunt it down and provide the file path.
This problem does not arise if you install postgres through asdf. Perhaps this isn't a good enough reason to make the switch?

Maybe there's no loss though (not sure if you found out anything about auto-starting at launch).

I've looked into trying to have it auto-start at launch and the methods to set it up are certainly not as convenient as using homebrew (homebrew just does it for you).
So it might not be worth it to use asdf. Homebrew handles a lot of the inconvenient things, such as setting up the logs, the data directory, and the auto-launch. The only real cost we've seen so far has been that one gem requires that we find the file path of pg_config.

It seems that using postgres through homebrew is still the more favorable option, so I will close this PR.


JAVA-2715: Query builder for new lookup stage

thanks to @csarrazi who helped me for this contribution

You’re welcome! 😉

It's hard for me to know what's wrong because it works on my pc :


How to use  in vue2.0 ? excel

When i use in vue2 , export xml file and open it ,there is nothing, empty

yes

Would you provide an example of how you use it with Vue2 ?

How to solve this problem?

This works for me
<button v-on:click="export()"></button>

...
export() {
    var a = document.createElement('a');
    a.download = 'Reports.xls';
    a.onclick = function() {
        return ExcellentExport.excel(this, 'datatable', 'Reports')
    }
    a.click();
}


Eject from Expo and configure Android and iOS part separately

Describe the bug
Google, Facebook sign-in don't authorize requests coming from the Expo Go app. This prevents the users from signing into the app from any platform that uses Expo Go app(i.e. other than web).
To Reproduce
Steps to reproduce the behavior:

Go to Login/Register page.
Click on 'Google' or 'Facebook'
See error on Terminal.

Expected behavior
Although this is the expected behavior since Firebase documentation says it doesn't support React Native, we can eject from Expo and use bare React Native app for Android(We would obviously need to setup every module from the Android and iOS side of things).
Screenshots
None
Desktop (please complete the following information):

OS: iOS or Android
Browser: None
Version: Not required

Smartphone (please complete the following information):

Device: Pixel 4a
OS: Android 11
Browser: Not required
Version: Not required

Additional context
None

Android setup fixed after ejecting from Expo with the latest commits.


Problem on building the docker image

My testing OS is ubuntu-14.04.3-desktop-amd64.
I followed every steps to setup the environment, and repeat several times, but always stuck on building the docker image.
After I run:
make docker-image

it executed for a while, and stuck after these output:
    Compiling : bm::p4_pd_rpc_constants.cpp
    Compiling : bm::conn_mgr_pd_rpc_constants.cpp
    Compiling : bm::mc_pd_rpc_constants.cpp
    Compiling : bm::res_constants.cpp
    Compiling : bm::p4_pd_rpc_types.cpp
    Compiling : bm::conn_mgr_pd_rpc_types.cpp
    Compiling : bm::mc_pd_rpc_types.cpp
    Compiling : bm::res_types.cpp
    Compiling : bm::dc.cpp
    Compiling : bm::conn_mgr.cpp
    Compiling : bm::mc.cpp
Copying python thrift files
WARNING: No libraries specified
INFO: Status: Preprocessing /tmp/tmp4uucfo.h
INFO: Status: gcc -E -U __GNUC__ -dD -I/usr/include -I/p4factory/submodules/switchsai/submodules/ocpsai/sai/inc "-Dinline=" "-D__inline__=" "-D__extension__=" "-D__const=const" "-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1" "/tmp/tmp4uucfo.h"
INFO: Status: Parsing /tmp/tmp4uucfo.h
INFO: Status: Processing description list.
WARNING: Macro "SAI_MAX_FIRMWARE_PATH_NAME_LEN" depends on an unknown identifier "PATH_MAX". Macro "SAI_MAX_FIRMWARE_PATH_NAME_LEN" will not be output
INFO: Status: Writing to /p4factory/targets/switch/tests/pd_thrift/switch_sai_thrift/sai_headers.py.
INFO: Status: Wrapping complete.

I waited for hours, no any further progress

I did clone the p4factory repository and run:
->git submodule update --init --recursive

Hi,
Could you check that the compiler is still running (with top)? Also, how much memory did you allocate to the VM (or is available on your system if you are running Ubuntu natively)?

@antoninbas
Thanks for your suggestion.
I found the process was still running, it just ran much much longer than I expected.
The environment was setup successfully for the INT application, eventually.

The build process can run for pretty long, especially if you don't have much memory. You can speed things up by assigning more resources to your VM.


Ignore hidden folders when running terragrunt hclfmt or at least provide an option to ignore paths

Describe the solution you'd like
A clear and concise description of what you want to happen.
Ignore hidden folders when running terragrunt hclfmt or at least provide an option to ignore paths.
Use cases:

Using .history folders which store many incomplete versions of terragrunt.hcl files that should not be evaluated
Storing temporary backups of files in .bak folders
Compatibility with any tool that needs to cache or backup terragrunt files in a hidden dir

Describe alternatives you've considered

bash alias to find all .history folders in terragrunt dir and rm-rf them. This is a brutal workaround and one I prefer to avoid
terragrunt hclfmt --terragrunt-exclude-dir '**/.history/*'  --terragrunt-exclude-dir '**/.history/**/*' --terragrunt-check
likely does not work because --terragrunt-exclude-dir only works with --run-all

Additional context
being able to exclude paths for any terragrunt command including hclfmt seems like common sense to me. I feel I'm missing some obvious solution here. But I couldn't find it on my own.

Also, if you have other *.hcl files in your repository (for example, for Vault), that are under a different formatting regime, it would be very useful to be able to exclude folders.

This is still relevant, could we re-open it?


Gradle8 support

The CodeCoverage class needed tweaking to work with Gradle 8.0.2, as the path of expanded jars has changed from version 7.x.
Reviewer checklist

[ ] Read the contributing guide
[ ] PR should be motivated, i.e. what does it fix, why, and if relevant, how
[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage: 96.075%. Remained the same when pulling a9b06831e490af2726975ccbdccfeb9603be9e47 on gradle8 into 78824090e85e62a52041b244bd2f8b4348564784 on main.


Thank You

Thank you very much for your beautiful framework. What a game changer

I think so too!!!


CI: Add a way to skip CI

This PR skips a CI check when a commit message contains the [skip ci] tag.
Thanks in advance for your review! :)

I wonder why do we need such thing ?

I wonder why do we need such thing ?

To save time/CO2 if CI isn't required (WIPs, etc.)

I wonder why do we need such thing ?

To save time/CO2 if CI isn't required (WIPs, etc.)

Yep, exactly

I'd rather use the pull request tags instead.

Good idea! I will implement that then, thanks!

Coverage increased (+0.5%) to 65.697% when pulling 35475414b07a6142cf0e27776a5ff5d30416f277 on Luni-4:skip-ci into a9acdf91457719f81ee43b2d77c8e47157a7b267 on xiph:master.

@lu-zero
Now it works both with push and pull_request events. Here you can find a typical commit message that could be used, in this way we don't ruin our history.

@lu-zero
Done


Tab focus

Hello, I saw your post on stackoverflow about tab focus and youtube player.
http://stackoverflow.com/questions/33570868/youtube-iframe-player-wont-play-when-tab-window-doesnt-have-focus
I'm developing an app that encounter this same problem. I'm reading your code and it looks like you are dealing with it by keeping track of the progress time of the music.
Is this right ? Is there something else to know ?
Thanks

Ok that's not it. So this is part of React-player.
I will keep track of the discussion there and help if I find something.
I'm not using react player


fix spray-job container name

What type of PR is this?

/kind bug
What this PR does / why we need it:

rename the name of the container in spray-job pod to kubean

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm

/lgtm


tests again

Thx! I will sync take a look at Future and Promise today and will then also put more focus on tests. Tuesday I target a first Release Candidate...


fix: 🐛 update dependencies

:tada: This PR is included in version 2.1.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Replace all links in Playground Header.

Summary
The links in the Playground Header go to all the respective playground pages.
Details

"Home" Link goes to playground page.
Browse to playground services page.
Account goes to playground account page.
My Subscription to playground subscriptions.

Acceptance criteria

[ ] Old header is not affected. All links should be changed in the headerBootstrap template.
[ ] Manual tests.
[ ] Separate UI test just for new header.

Additional context
N/A.

#791 related


New version: OverlayedDev.Overlayed version 0.4.0

Pull request has been created with komac v2.3.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

@stephengillie, any ideas why pipeline isn't running?

Pipelines are currently throttled, to address an ephemeral service failure that cascaded into a capacity issue.

If you could run this manually that would be great :)

/azp run


Cannot create new page in forestry.io by default

Set up on netlify/forestry via the following methods:

Press button 'netlify' button on this repo to copy repo to my github and build on netlify. Add site on forestry.io.
Start new repo/site on forestry.io using eleventy/forestry starter.

In both cases, no option to create new > page in forestry.io.

Oops wrong repo.


Drt saving memory by removing unnecessary setters and variables from…

… FrLayer
Signed-off-by: habibayassin<EMAIL_ADDRESS>

I'm guessing the reason for the fake cut/layer is to create an frLayer without an underlying dbTechLayer, but under what circumstance would one want to do that?

I'm guessing the reason for the fake cut/layer is to create an frLayer without an underlying dbTechLayer, but under what circumstance would one want to do that?

@rovinski The ispd test cases start with the routing layer directly without defining a masterslice layer and a cut layer. For consistency, we create a fake masterslice layer and cut layer before the defined layer stack.

This doesn't really save any memory because there are only about 15 instances of frLayer.
If you want to really have an impact do the same for frInst and frNet.

This doesn't really save any memory because there are only about 15 instances of frLayer.
If you want to really have an impact do the same for frInst and frNet.

@jjcherry56 Hi james. This is the first step of removing duplication in tritonroute's database as we discussed before. Sure we would do the same with the instances and the netlist, but the layer seemed a good place to start. This is not solely for saving memory, but also to have a unified database.

@maliberty

getWidth() and getMinWidth() can also be replaced.

getWidth() and getMinWidth() can also be replaced.

@rovinski I actually tried to replace them, but they are being set with values other than the ones from dbtechlayer->getWidth() or dbtechlayer->getMinWidth()

How so? It looks like they are:
https://github.com/The-OpenROAD-Project/OpenROAD/blob/a2b9a98b5917fddaa9e99d801328f3f8d0e9d039/src/drt/src/io/io.cpp#L1521-L1528

How so? It looks like they are:
https://github.com/The-OpenROAD-Project/OpenROAD/blob/a2b9a98b5917fddaa9e99d801328f3f8d0e9d039/src/drt/src/io/io.cpp#L1521-L1528

Line 1528 is updating minWidth.   io::Parser::initCutLayerWidth() updates width if unset from LEF

Line 1528 is updating minWidth. io::Parser::initCutLayerWidth() updates width if unset from LEF

That raises an interesting question. If DRT is working around deficiencies in the loaded database, should drt be making its own modified copy or should it be updating the db? Considering DRT was already copying everything, the answer was obviously yes, but if we merge data with odb, I think it becomes a real question.
Maybe something to be addressed in a different PR.

@rovinski I think it is something for another PR.  I feel messing with the minWidth reflects a shortcoming in drt itself that should be fixed rather than hacking the constraints.   The other case is more interesting.

How so? It looks like they are:
https://github.com/The-OpenROAD-Project/OpenROAD/blob/a2b9a98b5917fddaa9e99d801328f3f8d0e9d039/src/drt/src/io/io.cpp#L1521-L1528

it is being set here as well:
https://github.com/The-OpenROAD-Project/OpenROAD/blob/a2b9a98b5917fddaa9e99d801328f3f8d0e9d039/src/drt/src/io/io_parser_helper.cpp#L286

You'll have to fix the build errors but otherwise it looks ok


pipeline: log affirmatively when we are the leader

I noticed this when looking through logs of multiple instances. It's hard to determine which is the leader.

Codecov Report

Merging #71 (ce88ba3) into master (70fb2a4) will decrease coverage by 0.19%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #71      +/-   ##
==========================================
- Coverage   41.44%   41.24%   -0.20%
==========================================
  Files          80       80
  Lines        3127     3130       +3
==========================================
- Hits         1296     1291       -5
- Misses       1568     1573       +5
- Partials      263      266       +3

Impacted Files
Coverage Δ

internal/pipeline/merging.go
14.46% <0.00%> (-0.28%)
:arrow_down:

internal/upload/sftp.go
62.62% <0.00%> (-2.43%)
:arrow_down:

Continue to review full report at Codecov.

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


CI: run tests for PRs & add "Run workflow" button

To avoid further incidents like https://github.com/tom95/sandblocks/pull/54#issuecomment-956191161 😬

Thank you, good call!
Documenting for myself mostly: there are no secrets in use by the project right now, except for the built-in deploy keys for gh pages, which should only be available to PRs from the same repo (not from forks), and is currently configured to only run on master.