ROCm container CUDA error

I'm attempting to use an AMD Radeon RX 7900 XT on ollama v0.1.21 in a container that I built from the Dockerfile. I use podman to build and run containers, and my OS is Bluefin (Fedora Silverblue spin). I'm unsure whether this is an issue because I'm missing something on my host OS, or an issue with the container.
Here's my run command: podman run -d --privileged --device /dev/kfd:/dev/kfd -v ollama:/root/.ollama -p 11434:11434 -e OLLAMA_DEBUG=1 --name ollama localhost/ollama:v0.1.21
Ollama starts up fine, but when I attempt to run model codellama:13b-instruct, ollama crashes. I'm running it with OLLAMA_DEBUG=1, here's the full run:
https://gist.github.com/Eelviny/1d43d6324f68977bd1c653e0b78eca03
What's interesting is that if I run rocm-smi on the container, I get an error, so I suspect it might be more of a container issue than an ollama issue:
========================================= ROCm System Management Interface =========================================
=================================================== Concise Info ===================================================
Device  [Model : Revision]    Temp    Power    Partitions      SCLK   MCLK     Fan  Perf  PwrCap       VRAM%  GPU%
        Name (20 chars)       (Edge)  (Avg)    (Mem, Compute)
====================================================================================================================
Traceback (most recent call last):
  File "/usr/bin/rocm-smi", line 3926, in <module>
    showAllConcise(deviceList)
  File "/usr/bin/rocm-smi", line 1827, in showAllConcise
    zip(range(len(max_widths)), values['card%s' % (str(device))])), None)
  File "/usr/bin/rocm-smi", line 693, in printLog
    print(logstr + '\n', end='')
UnicodeEncodeError: 'ascii' codec can't encode character '\xb0' in position 34: ordinal not in range(128)

I then tried to build the main branch at f63dc2d (#2162) but this exhibited completely different behaviour - no logging whatsoever, when trying to do ollama run I would just get the spinning loading symbol forever.

Update: My last comment about the main branch not logging was because I didn't build the container with all libraries - I've now tried again without messing with the Dockerfile. Here's a new gist with the GPU logging also:
https://gist.github.com/Eelviny/a62845933b564128d502b62eb999eeb2

Thanks for the log!
discovered 2 ROCm GPU Devices  likely indicates an iGPU, which is being tracked with #2054.  Can you try the workaround noted in that issue and see if that works for your setup?

Thanks! Didn't spot that issue. podman run -d --privileged --device /dev/kfd -v ollama:/root/.ollama -p 11434:11434 -e OLLAMA_DEBUG=1 -e ROCR_VISIBLE_DEVICES="0" --name ollama dhiltgen/ollama:0.1.21-rc4 is working great.
Closing this ticket as duplicate.

I installed rocm and ollama using pacman (instead of podman/docker) on Arch Linux? How can I set ROCR_VISIBLE_DEVICES to 0? I want ollama to use the dedicated GPU, AMD 7900 XTX instead of iGPU.


Drag image on map control

Can you add an event or something to drag a symbol while keeping the map static? Like if I have to place a symbol from one position to another on map using drag.

In the sample Mapsui.Samples.Wpf.Editing there is dragging of vertices of polygons in edit mode. This is done by setting ZoomLock. ZoomLock only works in WPF so far, so if you work on another platform this won't work.

Got it. Thank you.

Yes, ZoomLock and PanLock will be available in 2.0. It is expected in the next beta.

Will this be available for Mobile?

ZoomLock and PanLock can be used on all platforms. In 4.0.0-beta.9 this can be set like this MapControl.Map.Navigator.Limiter.PanLock. In 4.0.0-beta.10 (released the coming days) it will be MapControl.Map.Navigator.PanLock.

Thanks. I see that. But does the 'drag' works in Mobile? Like - can I drag pin/circle/polygon in a map?


Cross-namespace Queries

We want weave-gitops to be a "single pane of glass" for users' gitops environments. Therefore, we need to display resources across namespace within a single page.
Our solution also needs to take multi-cluster querying into account. We will need to query resources in each namespace, in each cluster.

[x] https://github.com/weaveworks/weave-gitops/issues/1724
[x] https://github.com/weaveworks/weave-gitops/issues/1725
[x] https://github.com/weaveworks/weave-gitops/issues/1726
[ ] placeholder: query other objects from namespaces
[ ] placeholder: cache user access record with TTL
[x] placeholder: update namespaces watcher to watch across all clusters (being done somewhere else)

This is done as of https://github.com/weaveworks/weave-gitops/pull/1952


[$250] android - Chat - In room chat, edit comment shows suggestion list

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.22
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4872065
Issue reported by: Applause - Internal Team
Action Performed:

Launch app
Tap fab -- start chat -- room
Create a room
Enter<EMAIL_ADDRESS>Send the message
In whishper message, tap invite
Long press the message sent in step 4, and select edit comment

Expected Result:
In room chat, edit comment must not show suggestion list
Actual Result:
In room chat, edit comment shows suggestion list
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/4bfe1dd2-8bfe-4fac-87f6-0491a589e4f6
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~016746ee733b120550
Upwork Job ID:<PHONE_NUMBER>775672724
Last Price Increase: 2024-08-27

Issue OwnerCurrent Issue Owner: @mkhutornyi

@miljakljajic  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@mkhutornyi when long press on any message, you can see only three option like: Mark as read, Copy to clipboard and copy  link. There is no option to edit the message.

Hi, I'm Julian from Callstack - expert agency - and I would like to work on this issue.

Thank you! I'll assign you

Hey guys, I'm from Margelo, I can help you to figure it out
In room chat, edit comment shows suggestion list - I'm not quite sure I understand the problem. I recently added the 'suggestion box' feature to the edit input, and it was a requirement.
Are we looking to:

Not show the suggestion box when focusing on the input after the first time?
Not show the suggestion box when we have a completed address inside the input? (This option might be a bit tricky and doesn't feel quite right)

Could you please clarify the exact behavior you're looking for?

Based on my investigation, everything is exactly the same on all platforms until it reaches <AutoCompleteSuggestions />. Suggestions are rendered on Android because the cursorCoordinates are non-zero values, and it skips this if statement:
if ((containerState.width === 0 && containerState.left === 0 && containerState.bottom === 0) || (containerState.cursorCoordinates.x === 0 && containerState.cursorCoordinates.y === 0)) {
    return null;
}

I'm not saying there is something wrong with this logic, I was told by @perunt it is only responsible for establishing if the suggestion box can be rendered on the screen. The logic that decides if it should be rendered at all is in <SuggestionMention /> and works exactly the same on both platforms - in this specific case it suggests the exact same mention that was in the original message (jaihanumanblig@gmail.com), displays it on Android (non-zero coordinates) and doesn't display it on iOS (zero coordinates).
One of the things we could do is filtering out the existing mention from suggestions, but we can also choose not to render the suggestions on initial focus (or until user starts typing) - so basically what was suggested above by @perunt.

Then our option is this one - 1. Not show the suggestion box when focusing on the input after the first time
So basically, what we need to do is avoid showing the suggestion box on the input focus

if ((containerState.width === 0 && containerState.left === 0 && containerState.bottom === 0) || (containerState.cursorCoordinates.x === 0 && containerState.cursorCoordinates.y === 0)) {
return null;
}

I wouldn't recommend doing it here, as this component doesn't know the input focus state. It can be done inside the Suggestion Box component.
If you're struggling with this, I can prepare a PR with it

Proposal
Please re-state the problem that we are trying to solve in this issue.
Chat - In room chat, edit comment shows suggestion list on Android
What is the root cause of that problem?
The reason why this behaviour is different on Android is the cursorCoordinates that are set to non-zero values, omitting this if statement (that hides it on iOS):
if ((containerState.width === 0 && containerState.left === 0 && containerState.bottom === 0) || (containerState.cursorCoordinates.x === 0 && containerState.cursorCoordinates.y === 0)) {
    return null;
}

Other than that, everything works the same on both platforms.
What changes do you think we should make in order to solve the problem?

Modifying the Suggestion box logic so it's not shown on initial input focus.
What alternative solutions did you explore? (Optional)
Filtering the existing mention<EMAIL_ADDRESS>in this case) from suggestions,

👍

Sure, I'll do it later today

Reassigning for parental leave. Thanks @muttmuure

@mkhutornyi paid

Can we get a regression test please?

cool cool, thanks


Corrected bad link for website homepage.

Signed-off-by: Chris Butler<EMAIL_ADDRESS>Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] All commits are signed-off.

Current website has a bad link which has been corrected. This closes #313

Note that the original link (which I also own) now redirects back to compliance-trestle.

Note that the original link (which I also own) now redirects back to compliance-trestle.


codec(ticdc): decoder support only handle key columns

What problem does this PR solve?

Issue Number: close #9189
What is changed and how it works?
Check List
Tests

Unit test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`

/test all

/test all

/test dm-integration-test


make UID/GID configurable

The UID/GID is hardcoded to 1000, it should be configurable.

Hi,
The UID is configurable now through the standard mechanism eg. docker run --uid. The primary GID is always 1000, but the user is also a member of GID 0, in accordance with the OpenShift guidelines for building images that can support arbitrary UIDs. This image complies with those guidlines and can run with arbitrary UIDs.
If it's not working, please let us know.

Hello @jarpy , it works, thanks.
By the way, I think the option is -u/--user not --uid, and we should pass the UID of the user to this option not username. Like,
docker run -u "$(id -u elasticsearch)" ...


Release to candidate (prod-beta)

Codecov Report

Merging #271 (a281b22) into prod-beta (38bfaca) will increase coverage by 68.89%.
The diff coverage is 83.47%.

@@              Coverage Diff               @@
##           prod-beta     #271       +/-   ##
==============================================
+ Coverage      14.97%   83.87%   +68.89%
==============================================
  Files             28       24        -4
  Lines            434      930      +496
  Branches         112      330      +218
==============================================
+ Hits              65      780      +715
+ Misses           337      150      -187
+ Partials          32        0       -32

Impacted Files
Coverage Δ

src/Components/Labels/RuleLabels.js
100.00% <ø> (ø)

src/Services/SmartProxy.js
38.46% <22.22%> (+38.46%)
:arrow_up:

src/Services/AccountManagementService.js
33.33% <66.66%> (+33.33%)
:arrow_up:

.../Components/ClustersListTable/ClustersListTable.js
69.91% <69.91%> (ø)

src/Components/MessageState/EmptyStates.js
88.88% <77.77%> (+88.88%)
:arrow_up:

src/Components/RecsListTable/RecsListTable.js
78.00% <78.00%> (ø)

src/Services/Acks.js
80.00% <80.00%> (ø)

src/Utilities/Api.js
80.00% <80.00%> (ø)

src/Components/ClusterRules/ClusterRules.js
83.43% <84.51%> (+81.56%)
:arrow_up:

src/Components/Common/Tables.js
85.47% <85.47%> (ø)

... and 33 more

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 034c5e3...a281b22. Read the comment docs.

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


Fix broken MRB_INT64

@matz
Fixes this: https://github.com/mruby/mruby/commit/7523cdf3404230213cb858f38bd91135d478a7f3#commitcomment-20436148

Right. Thank you.


Why does ChangeTracking.EntityEntry.State not revert back to Unchanged?

I tried this with v7.0.0-rc2-16649. I'm using the simplest of models, based on the console example, and an extension method on the DbContext, based on this SO answer:
public class BloggingContext : DbContext
{
    public DbSet<Blog> Blogs { get; set; }

    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
        // Visual Studio 2015 | Use the LocalDb 12 instance created by Visual Studio
        optionsBuilder.UseSqlServer(@"Server=(localdb)\mssqllocaldb;Database=ChangeStateTest;Trusted_Connection=True;");
    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        // Make Blog.Url required
        modelBuilder.Entity<Blog>()
            .Property(b => b.Url)
            .IsRequired();
    }
}

public class Blog
{
    public int BlogId { get; set; }
    public string Url { get; set; }
}

public static class Extensions
{
    public static bool CheckStateChanged<T>(this DbContext context, T b) where T : class
    {
        var entry = context.Entry(b);
        if (entry == null) return false;
        foreach (var property in entry.Metadata.GetProperties())
        {
            var originalValue = entry.Property(property.Name).OriginalValue;
            var currentValue = entry.Property(property.Name).CurrentValue;

            if (!originalValue.Equals(currentValue))
                return true;
        }
        return false;
    }
}

If I then do the following ...
using (var db = new BloggingContext())
{
    Blog b = new Blog { Url = "http://blogs.msdn.com/adonet" };
    db.Blogs.Add(b);
    var count = db.SaveChanges();
    Console.WriteLine("{0} records saved to database", count);
    Console.WriteLine("Change state of Blog: {0}", db.Entry(b).State);
    b.Url = "http://www.dortcon.de";
    Console.WriteLine("Change state of Blog after change: {0}", db.Entry(b).State);
    b.Url = "http://blogs.msdn.com/adonet";
    // This makes no difference:
    // db.ChangeTracker.DetectChanges();
    Console.WriteLine("Change state of Blog after reverting change: {0}", db.Entry(b).State);
    Console.WriteLine("Change state via function: {0}", db.CheckStateChanged(b));
    Console.ReadLine();
}

... the Output I get is:

1 records saved to database
Change state of Blog: Unchanged
Change state of Blog after change: Modified
Change state of Blog after reverting change: Modified
Change state via function: False

Is this by design, am I doing something wrong, or am I expecting too much? My expectation was that the change state is based on comparison with the original values, but that doesn't seem to be the case. If it's not, what is it doing, and why does it behave like this? I would actually like to use it to mark a grid row as modified, but currently I can't do that. The extension method works, but seems to be more hassle than should be necessary.

We've had this behavior in EF since it's first release and we haven't really heard folks say that they want it changed. We could add the additional logic in EF to handle it, but my guess is that you hardly ever hit this situation in a real application. Given that we've not seen many folks want it changed, and it would be additional logic to implement, test, performance tune, etc. we aren't planning to change it.
We would of course reconsider this if we see a number of folks hitting issues due to this behavior.

@rowanmiller Thanks, that explains it ... I know nothing about earlier versions of EF.
So if I'd like to see the "real" change state of an entity, I have to resort to using the comparison of CurrentValue / OriginalValue then? That should reliably work once #4375 is fixed ... I'll have to do that, since I need the real change state to colour grid rows as I described above.

@mehrt BTW you can set IsModified on a property back to false, so maybe loop over and reset it to false when the original and current are the same.

@mehrt It looks like your value is not being "reverted", but changed twice: once before the SaveChanges() and once after. I would expect to see the state as Modified. The newer version of EFs, as I've experienced it working, keep modification flags about properties and entities that are changed and the actual property values are not compared. If you want the property or entity to revert to an unchanged status, the obvious choice is to set the State to Unchanged.


response.statusCode == 503 results in crash

When response.statusCode == 503 (when executing a query), error == null.
So the code error.code leads to a crash (client.js:43).
EDIT: acutally any response.statusCode >= 300 where error == null

This is fixed? If so, please close this issue. Thank you again!

fixed with ebc228b026ec21088b990b313e8bb2b682728b77


Code Quality tooling inline with webpack/webpack

Bring karma-webpack project code quality tooling inline with webpack core

[x] ESLint & Config
[x] jsbeutify
[x] editor config

@TheLarkInn not sure where to ping you but I haven't received a slack invite for my email<EMAIL_ADDRESS>

@goldhand - Already mentioned it to him, Tobias has to do it. Sean will mention it next time he's online.


Search pyproject.toml in cwd parents.

Thanks for accepting the PR! I've forgotten to update the docs and changelog though, will send a separate PR on those.


Standard addVariable and addFactor API POC

This is a POC for discussion for addVariable and addFactor wrappers to follow a service bridge model with signatures based on the current IIF signatures.  Basic usage will be:
This is no longer part of this pr
nva = NVA.NavAbilityPlatform()
addVariable(nva, "x0", :Position1)
addFactor(nva, ["x0"], NVA.Prior(Z=Normal(0.,1.)))

Client context will remain seperate as:
addVariable(client, context,  "x0", :Position1)
addFactor(client, context, ["x0"], NVA.Prior(Z=Normal(0.,1.)))

The changes that are up for discussion are mostly grouped in "src/navability/services/StandardAPI.jl"
I hope this is enough detail to show the intent. If it's on the right path I'll do the cleanup and tests in full.
I will also implement it in python if this is ok.
Notes

Standard API for addVariable and client_context from #78
The FactorData approach follows the py sdk more, see also #74
The naming of the client content issue is here https://github.com/NavAbility/nva-sdk/issues/23

I just went with the name in #78 for now

The **Data kwargs commit is for supporting nullhypo #108 and multihypo and we can just cherry-pick it in a separate PR if needed.

HI @Affie , awesome thanks -- I will look at this later in the week, just want to get past work for Thursday.  I'd like to get these improvements in well before ICRA. Both on SDK.jl and SDK.py.

Updated for discussion captured in https://github.com/NavAbility/nva-sdk/issues/21#issuecomment-1105501578

Ok, I've added a few more types and (very) basic tests. PR is ready for imputs.

Short of replicating in other SDKs, this PR closes for me:

https://github.com/NavAbility/nva-sdk/issues/21

Another difference between python and julia SDK's are in the naming of inference types.
For example, Python uses just: Pose2Point2BearingRange
while julia has Pose2Point2BearingRangeInferenceType, but then uses additional functions to construct the data i.e. Pose2Point2BearingRangeData

FYI, im going to merge the new (not exported) addData getData ... PRs before merging this PR.  They will likely all land in next patch release.

was just able to run through Tut 1-4 on this branch, all looks good.  There are a few things in the notebooks that I want to improve, but this PR and tagging is ready to go.


Update of cached files

Does UIL have ability to update (re-download) file in cache based on ETag  for HTTP/HTTPS or based on file's size for File System?
I have checked sources and have not found nothing like this.
Use case: Use LRU cache.  Update file on server side. I have to be visible on the device.

Thanks, your cache implementation is good for caching other stuff, but not only images.
I was just was re-using LruDiskCache to store and get PDF and video files from URL as Stream.
IoUtils.CopyListener is also nice to display loading progress to UI in % or as circle loading bar.
Since size of PDF/video file could be big enough, it's worse to cache them.
But it's required to use ETag to verify, that content was not changed and re-load them in this case.


Encoding and transaction creation overhaul and tests

Also work in progress. :)
Will ping, once this is final. But feel free to drop comments of course, if there is something to note.

Fantastic, thanks for this mate :)

Hey @zathras-crypto, please check out 7a62a01/src/omnicore_encoding.cpp.
Is this too much, or too little documentation? It's a bit difficult for me to find a middle ground.

@zathras-crypto, please check out 7a62a01/src/omnicore_encoding.cpp.

Fine by me mate :)

@zathras-crypto: the memo fields for granting and revoking tokens are optional, which strictly means there should not even be a null character, in case the memo field is empty. But are we still able to differentiate between "junk" and "memo", if no null character is required? How does the decoding/interpretation logic currently handle this case?

IIRC the memo field isn't even parsed by OmniCore on decoding currently.  I'll have to double check.
But yeah, I don't see why we couldn't test to see if the memo parameter was empty and drop the null terminator if it's not used.

But yeah, I don't see why we couldn't test to see if the memo parameter was empty and drop the null terminator if it's not used.

But would it still be possible to identify memo messages properly? Consider the following cases to handle:

[version: 0] [type: 55] [property: 8] [amount: 1000] (no terminiator)
[version: 0] [type: 55] [property: 8] [amount: 1000] [0x00]
[version: 0] [type: 55] [property: 8] [amount: 1000] ["thanks for the tokens, bob!" 0x00]
[version: 0] [type: 55] [property: 8] [amount: 1000] [some random junk 0x00]

Case 1: should not invalidate the transaction, this is very important.
Case 2: should be fine, because it's simply an empty message.
Case 3: should be fine, because it's a null terminated message.
Case 4: ... I guess the random junk would be interpreted as memo, which is okay.
Case 1 is the most important one, and if that's followed, then the rest doesn't really matter, as it doesn't affect consensus.

Worth to note that the decoding logic is sort of mean, when it comes to decoding of text fields and the length of 255 characters. See my email: "Maybe consensus issue: string fields" (2015-02-14)

You should find it stops at case 1 full stop at the current time because neither logicMath_GrantTokens() or :logicMath_RevokeTokens() reads any additional data from the packet (where the memo field would be).
CMPTransaction::step2_Value() only takes us up to the property and amount bytes - anything after that is ignored unless the packet is read in later steps (which isn't the case for grants and revokes).
TL:DR; if we wanted to add support for parsing and displaying memos in grants and revokes we need to definitely consider this - but for now there shouldn't be a consensus concern.

See my email: "Maybe consensus issue: string fields" (2015-02-14)

Sure, let me pull that up and take a look :)

Great. :)
I edited the comment and pasted the relevant part.

Interesting - hmm - so what options do we have in this scenario:

Truncate
Invalidate message
???

Definitely agree a behaviour should be defined.

On the interpretation side, only the first 255 characters are taken, so this is covered.
But I sort of think this violates the spec, and I'm wondering, if similar transactions should be invalidated. At least it should be reflected by the spec, in one way or the other.

Second time in a row where the Windows x64 build hit the 50 minutes limit.. :S FWIW: you should be able to trigger a rebuild for a single job manually.

I tend to say: go ahead, this can be merged.
Not, because I don't think there can be more tests, but to resolve the merge conflict, and to see how everything fits together. And I have to make up my mind, to come up with more useful tests, but I'm sort of out of ideas - at the very moment at least. :) It would probably make sense to continue with RPC/bitcoin-spock tests, in particular more tests for the DEx and crowdsales, to cover a broader range.

Reran, successful, merging - thanks again bud :)


Freezes when app navigates to another page

First of all: Thank you for developing this awesome library! As far as I can tell, this plugin is the only marquee that supports widgets and continuously loop.
I do have one problem: After implementing nested navigation, whenever the app navigates away from the page that uses this plugin, the app freezes and crashes.
The reason for this is unkonwn to me, but I can point out exactly where it happens:
In the while loop within the scroll function.
Example: If I edit your code and inserts a print-statement in the while loop, the console prints out ten of thousands of "Hangs".

while (scrollController.hasClients) {
   print('Hangs');
}

Do you have any idea how this problem can be solved?
Cheers

Hey @Vingtoft ,
Sorry for the super late response, I didn't even notice that this issue had been opened. Are you utilizing the version that is currently up on pub.dev and is this still occurring?

pub.dev version is too old.

I'm gonna mark this as resolved! The latest version has been published to pub.dev as of today.


add openbsd install instructions

gopass has been imported into the OpenBSD ports tree as security/gopass. This means people running -current will be able to pkg_add gopass as soon as new packages are cut!

nooooice! 🎉


Repo comparison in the ReadMe

Compare this repo with...

https://github.com/codebox/homoglyph
https://github.com/vhf/confusable_homoglyphs
https://github.com/DavidJacobson/SafeText
https://github.com/NebulousLabs/glyphcheck
What is unique about this repo when compared to the others? Is it possible to make a table?

Also slightly less related:

https://github.com/adam-lynch/olc (fuzzer)
https://github.com/nodeca/unhomoglyph (removal)
https://github.com/DissectMalware/PySameSame (generator)
https://github.com/Zenithar/go-typogenerator (complex fuzzer/generator)

js
Already compared
cli tool, not lib
go

That was easy

@orsinium I am referring to feature sets of such repos, not necessarily the language.


;clean premature deletion

Within the reaction command listener, sometimes RDSS will send and delete ;clean ... before it is recognized by RoSupervisor.

Implemented a fix in new branch.


TransferTransaction intermittently crashes if setNodeAccountIds is not set on the transaction

Description
Issue
TransferTransaction intermittently crashes if a node account id is not set on the transaction.
Expect
If setNodeAccountIds([new AccountId(3)]) is not added to a transaction we would not expect a crash.
Workaround
If we set setNodeAccountIds([new AccountId(3)]) on the transaction, then we experience no crashes.
Steps to reproduce
When sending the following transaction…
const transaction = await new TransferTransaction()
    .addNftTransfer(tokenid, serial, operatorId, receiver)
    .addHbarTransfer(receiver, -amount)
    .addHbarTransfer(operatorId, amount)
    .setTransactionMemo('sale: ' + seller)
    .freezeWith(client);

const signTx = await transaction.sign(operatorKey);

//Convert to bytes to send to HashConnect for signing with the client operator private key and submit to a Hedera network
const trxBytes =  signTx.toBytes();

// The transaction is then signed by the receiver (In HashPack) and sent to the Hedera SDK

The Hedera JS SDK randomly fails (occasionally it succeeds) to execute the transaction and crashes with…
TypeError: Cannot read properties of undefined (reading '0')
Additional context
The code crashes here when trying to access the first index of an array that doesn't exist.
Location
getNode(key) {
    return (
        /** @type {NetworkNodeT[]} */
        this._network.get(key.toString())[0]
    );
}

The reason it crashes is because this._network only contains a single key of 0.0.3. So passing any other key crashes it when trying to access the array index of undefined.
So why are we getting other account ids?
If we head up the call chain we find that function is called from
const nodeAccountId = _this._getNodeAccountId();
const node = client._network.getNode(nodeAccountId);

In the case it errored, nodeAccountId was something other than 0.0.3.
_this._getNodeAccountId(); seems to return a random account ID from a list of _nodeIds.
If we print the _nodeIds we get these as the small Long for the account ID 0.0.X
11, 5, 8, 7, 6, 9, 14, 20, 10, 4, 13, 19, 15, 17, 3, 18, 12, 16
This is where the random account ID is coming from.
The attached screenshot highlights the issue.
Debug screenshot

There was a partial outage on account 0.0.16 which is the last account in the _nodeIds array. Possibly a red herring but might be relevant.
https://status.hedera.com

Full crash log
Extracted from HashPack Chrome extension. The crash comes from the Hedera SDK though.
main.c205bbaa12d1d9a3.js:23475 Getting nft metadata...
2main.c205bbaa12d1d9a3.js:22906 restarting lock timer
main.c205bbaa12d1d9a3.js:20879 App recieved message
main.c205bbaa12d1d9a3.js:20880 Object
main.c205bbaa12d1d9a3.js:5148 Array(1)
main.c205bbaa12d1d9a3.js:20912 subscribing: 3a028676-fdfd-4570-b36f-8e91e8c5fb80
vendor.6adfe5d1bcb3c66e.js:64144 hashconnect - Pairing to DPub
vendor.6adfe5d1bcb3c66e.js:64615 hashconnect - Subscribing to topic id 3a028676-fdfd-4570-b36f-8e91e8c5fb80
vendor.6adfe5d1bcb3c66e.js:64440 hashconnect - Sending message - id: d423651d-6e57-47df-8de9-296f53f06d07
vendor.6adfe5d1bcb3c66e.js:64652 hashconnect - Sending payload to 3a028676-fdfd-4570-b36f-8e91e8c5fb80
 encrypted with c09d17c2-8eaa-4e0b-9e4d-95540f08a049
vendor.6adfe5d1bcb3c66e.js:64594 hashconnect - emitting payload
vendor.6adfe5d1bcb3c66e.js:64451 hashconnect - decoding message payload
vendor.6adfe5d1bcb3c66e.js:64336 hashconnect - Message Received of type Acknowledge, sent at<PHONE_NUMBER>365 Object
vendor.6adfe5d1bcb3c66e.js:64352 hashconnect - acknowledged - id: d423651d-6e57-47df-8de9-296f53f06d07
vendor.6adfe5d1bcb3c66e.js:64594 hashconnect - emitting payload
vendor.6adfe5d1bcb3c66e.js:64451 hashconnect - decoding message payload
vendor.6adfe5d1bcb3c66e.js:64336 hashconnect - Message Received of type Transaction, sent at<PHONE_NUMBER>836 Object
vendor.6adfe5d1bcb3c66e.js:64357 hashconnect - Got transaction Object
vendor.6adfe5d1bcb3c66e.js:64440 hashconnect - Sending message - id: f58ce25f-a83e-4bcd-8986-eefbad072f24
vendor.6adfe5d1bcb3c66e.js:64652 hashconnect - Sending payload to 3a028676-fdfd-4570-b36f-8e91e8c5fb80
 encrypted with c09d17c2-8eaa-4e0b-9e4d-95540f08a049
main.c205bbaa12d1d9a3.js:21761 Received transaction message:
main.c205bbaa12d1d9a3.js:21764 executing...
main.c205bbaa12d1d9a3.js:2762 transfer error TypeError: Cannot read properties of undefined (reading '0')
    at Network.getNode (chrome-extension://gjagmgiddbbciopjhllkdnddhcglnemk/dist/vendor.6adfe5d1bcb3c66e.js:221968:40)
    at chrome-extension://gjagmgiddbbciopjhllkdnddhcglnemk/dist/vendor.6adfe5d1bcb3c66e.js:209157:38
    at Generator.next (<anonymous>)
    at asyncGeneratorStep (chrome-extension://gjagmgiddbbciopjhllkdnddhcglnemk/dist/polyfills.33278d0a6196e5c9.js:34981:24)
    at _next (chrome-extension://gjagmgiddbbciopjhllkdnddhcglnemk/dist/polyfills.33278d0a6196e5c9.js:35003:9)
    at ZoneDelegate.invoke (chrome-extension://gjagmgiddbbciopjhllkdnddhcglnemk/dist/polyfills.33278d0a6196e5c9.js:32016:158)
    at Object.onInvoke (chrome-extension://gjagmgiddbbciopjhllkdnddhcglnemk/dist/vendor.6adfe5d1bcb3c66e.js:341591:25)
    at ZoneDelegate.invoke (chrome-extension://gjagmgiddbbciopjhllkdnddhcglnemk/dist/polyfills.33278d0a6196e5c9.js:32016:46)
    at Zone.run (chrome-extension://gjagmgiddbbciopjhllkdnddhcglnemk/dist/polyfills.33278d0a6196e5c9.js:31755:37)
    at chrome-extension://gjagmgiddbbciopjhllkdnddhcglnemk/dist/polyfills.33278d0a6196e5c9.js:33101:28

Hedera network
mainnet
Version
2.9.1
Operating system
macOS

Thanks for such a detailed report, I really do appreciate it. I do want to make sure I clarify one thing though.

_this._getNodeAccountId(); seems to return a random account ID from a list of _nodeIds.

This should be returning the next node account ID in the list not a random one in a round robin fashion.
However, I'm not really able to determine what is going wrong with the SDK to produce that error so I wanted to create a regression test for it which I tried to do here: https://github.com/hashgraph/hedera-sdk-js/commit/a6e42a33227f9bf61edd3109168345af461dcc19 Even hardcoded the key and ID. Said that, the test passes each time. I ran in in total ~10 times. I'm wondering can you check to see if I'm making a mistake in my test that doesn't represent your usage?


Rework how the selection move controls are rendered.

Previously these were rendered on the ToolLayer, which had inherent limitations from being tied to the image size. For example, this made it difficult to perform selections when zoomed in on small images since each control took up multiple pixels, and zooming in after making a selection caused the handles to be zoomed as well.
The controls are now drawn over the canvas at a fixed size on the screen, regardless of zoom level, so that they're always easy to click. There is a new hook (IToolCanvasControl) to allow tools to provide controls that can render themselves on the canvas. This has a fairly small API for now and keeps changes in Pinta.Core to a minimum, but in the future it might make sense to move more mouse event handling etc into the control implementations if they begin to be used in other tools.
This also turned into a larger refactoring / cleanup of the SelectTool while replacing the selection controls. In particular, the Shift key constraint to draw square selections was reimplemented in three(!) different places.
This was removed from Utility.PointsToRectangle, which also was introducing an extra padding of 1 pixel that was noticeable when drawing selections on small images
Bug: 1173756
Before

After

Very nice! This is one of the things that I knew needed to be fixed, but I didn't really want to tackle it.  😁
For selections these are generally called "handles", or more generically "glyphs", if you want a more descriptive name than "controls".
https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/Behavior/Glyph.cs
https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/Behavior/GrabHandleGlyph.cs

Thanks! Yeah I agree that "handle" sounds better for this


Move Screen.rotation inside camera?

not a good idea ->this is actually the screen rotation within the game window not the camera within the screen


Google Summer of Code 2024

I am in the process of applying for Typelevel to participate as a mentor organization in Google Summer of Code 2024. I will serve as the primary org administrator.

[x] Invite at least one more organization administrator (thank you Andrew! if anyone else wants to admin let me know :)
[x] Complete your Organization Profile
[x] Complete the Organization Questionnaire
[x] Finally, submit the Program Application for your org to participate in a Google Summer of Code program
[x] setup<EMAIL_ADDRESS>

Can someone with google permissions create a new google group for<EMAIL_ADDRESS>that is only visible to approved mentors?
Similar to the setup for the steering group.
We will use this email as a point of contact for potential contributors.

I created<EMAIL_ADDRESS>and made Andrew an owner for further configuration.  I'll leave once I confirm he has the wheel.
I created the<EMAIL_ADDRESS>alias, but can't get the verification e-mail through on multiple attempts.  The alias won't work without that.

The latter problem was the group didn't allow posting from the web.  That might encourage spam and should probably be turned back off, but I leave that to the admins.  The alias is confirmed and tested.

Update: unfortunately Typelevel was not accepted to GSoC as an independent organization. Fortunately, our mentors and projects will be able to participate in GSoC via the Scala Center org, which I'll be helping to admin.
I'm in the process of transitioning our stuff. The next step is to get up a blog post announcing our participation.

Blost post:

https://github.com/typelevel/typelevel.github.com/pull/494


App deploy error

Repro steps:

Action: appService.Deploy
Error type: Error
Error Message:

Error

Not Found

Version: 0.7.0
OS: win32

@sovaxster We released a new version of the extension today that will hopefully fix this error.  Please let us know if this resolves your issue with deploying.

Closing this since we haven't heard in a while. Please re-open if you're still having issues


Image Manipulation result to not found error

Error "Not Found Error: File does not exist: .png"
This is the error I get even after the image file exists.

sample.png exists in root directory

That seems like to me that the rewrite rule may not be correct. Can you verify that you've done step 3 here? http://mun.ee/Install_Munee
Also, to try and isolate the issue, does this like work?


null.asInstanceOf[Nothing] should throw UBE

The following code produces random behaviors, depending on how much we allow the optimizer to do:
object HelloWorld extends js.JSApp {
  @noinline def foo(): String = null
  @noinline def bar(): Nothing = foo().asInstanceOf[Nothing]
  def main() {
    val n = bar()
    println(n)
  }
}

With the optimizer, this executes without error and does not print anything. Without the optimizer, it prints undefined (not null).
In Scala/JVM, null.asInstanceOf[Nothing] "succeeds" and returns a null value. We implemented the same behavior, but for us it is not sound wrt the IR type system, because we actually have a nothing type. And if we have an expression nothing, our type system means that the expression cannot complete successfully, an assumption we use for local dead code elimination and other reasoning.
So, we should make the cast of null.asInstanceOf[Nothing] throw an UndefinedBehaviorError of ClassCastException. Note that it should always throw a UBE even with compliant asInstanceOfs. With unchecked, casts are erased anyway so nothing changes.

Throwing a UBE in Compliant mode introduces difficulties with the reachability analysis of UndefinedBehaviorError. Throwing a CCE would be easier, and in fact it makes just as much sense as a UBE, IMO.


Important Contributing Practices

All commit messages need to adhere to the contributing guidelines. Also, each release should be done with the prepare-release gulp test to ensure that the proper change log is generated into the docs folder. The change notes particular to the release should be part of the github release notes. This needs to be done to be consistent with all other Aurelia libraries.

@EisenbergEffect Sorry about that, I've cleaned up the releases and have the contributing guidelines hanging over my desk.
I will ask help in the gitter channel to make sure next releases are consistent with all other aurelia libraries.

Not a big deal at this point. Just wanted to call it to your attention for the future.


Input value goes back to initial values after reopening the program

Code: - I_x =? {48} in^4
This is the original value the I_x was set, when the program is executed and new values are replaced the calculations are done for the updated values, however when I close and reopen the program the I_x value goes back to 48 instead of last value. It would be useful if it's replaced by the last user input value.

Hi!
Did you try to save the file with the new values? You need to save it to persist the new values for the next time.

Yeah! it works, thank you :)


Refactor runtime property configuration

Detailed Description
We'd like to add support for specifying runtime configuration properties via CloudFoundry user-provided services.
For example, an operator would specify prior to deployment:
cf create-user-provided-service stratos-properties -p '{"CF_CLIENT": "stratos","CF_CLIENT_SECRET": "xxxx"}'

And then in the manifest.yml:
applications:
  - name: console
    ...
    services:
    - stratos-properties

We've found this pattern works better than other obvious alternatives with CloudFoundry because:

Putting secrets (such as the client secret) in the manifest.yml as an environment variable is challenging with respect to public source repositories.
Setting environment variables on an already running app doesn't work well as many zero-downtime deploy plugins create a new app on each deployment.

Context
Currently runtime properties are spread between:

./config.properties file
Environment variables (sometimes set via manifest.yml)
/etc/secrets directory

Some settings appear to only work if specified in the ./config.properties file, others appear to allow overriding by environment variables.
Possible Implementation
Last year we made a small Go library to handle looking up environment variables from a list of sources, e.g. first look for environment variables, falling back to data provided by a user provided services, falling back to defaults.
We (cloud.gov.au team) worked with 18F to integrate this with their console.
I've made an experimental change to integrate the same library with the Stratos codebase. The branch can be found at https://github.com/govau/stratos/compare/fixbuild...govau:envlookup - note that this is comparing against the fixbuild experimental branch (in PR: https://github.com/cloudfoundry-incubator/stratos/pull/2662) as it is much easier to contribute new code, when your development environment can find the required Go source in the usual locations.
The change is actually quite small - the main part (in main.go) is this method, which initialises an env.VarSet:
// getEnvironmentLookup return a search path for configuration settings
func getEnvironmentLookup() *env.VarSet {
	// Make environment lookup
	envLookup := env.NewVarSet()

	// Environment variables directly set trump all others
	envLookup.AppendSource(os.LookupEnv)

	// If running with a user provided service (useful if using CloudFoundry)
	cfApp, err := cfenv.Current()
	if err == nil {
		envLookup.AppendSource(env.NewLookupFromUPS(cfApp, "stratos-properties"))
	}

	// Fallback to a "config.properties" files in our directory
	envLookup.AppendSource(config.NewConfigFileLookup("./config.properties"))

	// Fallback to individual files in the "/etc/secrets" directory
	envLookup.AppendSource(config.NewSecretsDirLookup("/etc/secrets"))

	return envLookup
}

which is passed around to each component that needs to lookup anything from any of the config sources (that is, it is a replacement for the the config.GetValue() calls).
The branch above compiles and pushes, I haven't tested any deeper than that yet, but we'll look at tomorrow.

@nwmac - is this set of proposed changes of interest to the Stratos team? We found that having the option to specify config this way worked well for deployment within a CloudFoundry app. I've just updated the linked branch above to rebase on current code.

@nwmac - now the big Go refactor has been merged, I've rebased our branch and submitted PR #2866 which implements as described above.
Let me know your thoughts.


Fix time bounds when min provided without max

Preview is available here:http://laboratory-pr542.previews.kube001.services.stellar-ops.com/

Preview is available here:http://laboratory-pr542.previews.kube001.services.stellar-ops.com/


re-implement some of the FCVTZS/FCVTMS/FCVTPS/FCVTNS

Recent Qemu confirms the different behavior that was seen on mac M1 and a Pixel 4a 5g phone.
To fix this:

Revert https://github.com/simd-everywhere/simde/commit/339ffe4ca89bf6698cab0c8420fe813a4e293aec
Adjust the test vectors to match the hardware behavior (or that of a recent Qemu version)
Adjust the software implementations of those intrinsics to match the new test vectors

Note that Arm defines Round towards Zero (RZ) mode as

Means that results are rounded to the nearest representable number that is no greater in magnitude than the unrounded result.

@yyctw Is this something you have time to do?


[DRAFT] pix: init at 2.1.1

Motivation for this change
This PR adds the convergent app pix, a picture viewer application based on Mauikit.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Currently pix crashes when trying to launch, created an upstream issue.


Sample fixes

This change makes some minor fixes to a couple of the samples, unpacks the exception in the case of an error in the sample runner, and changes the output to spit out all of the headers (in the case of multiple headers of the same type).

@tquinn86,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot


Support Windows ARM Devices

Support Windows ARM Devices

Unfortunately, there is no JDK build for Windows/AArch64. Even if it existed, we wouldn't be able to build DBeaver against this target since the Eclipse platform does not support it yet. We need to wait for those two things to happen, and then we'll be able to support Windows/AArch64.

Not sure if OpenJDK counts :)
https://github.com/microsoft/openjdk-aarch64

Similar issue #18527


DB context related changes

Addressing below issues identified by @rowanmiller
•	Null check after using Single is not needed as Single will throw if no entity is found. We probably want to swap to SingleOrDefault (rather than removing the null check) so that we return a Not Found status code.
•	We already discussed, but we should remove the EnsureCreated call to create the database. It’s not thread safe, and blocks you from using migrations in the future. We could look at scaffolding the corresponding migration for the user when we change the model for a given context.
•	Remove empty override of OnConfiguring, folks should use Startup.cs rather than this hook in ASP.NET 5 apps.
•	I would remove the empty override of OnModelCreating too – it doesn’t add much value.
cc @abpiskunov, @sayedihashimi, @barrytang

:shipit: from my perspective


/beacon/committees endpoint

/beacon/committees
Get the shuffling for an epoch.

prysm: https://api.prylabs.net/#/BeaconChain/ListBeaconCommittees
lighthouse: https://lighthouse-book.sigmaprime.io/http_beacon.html#beaconcommittees
eth2-spec: https://github.com/ethereum/eth2.0-specs/blob/dev/specs/phase0/beacon-chain.md#get_beacon_committee (not quite the same)
similar but different to BeaconStateUtil.get_committee_count_at_slot (this just returns the count, we need the validator indicies.

New endpoint, new implementation (might be worth splitting out)
needs to be able to pass query parameters.


Uniquely identify Windows events for automated data collection

Dear OSSEM-DM Team,
thanks for your great work! I have worked with your detection model relationships to extract Windows events that would be required for comprehensive monitoring in a Windows domain. In a past version of your generated relationships (_all_ossem_relationships.yml), you always specified the channel (log_channel), provider (log_source) and event_id for each referenced Windows-based security event. This allowed to generate corresponding log policies and Windows event subscriptions to retrieve those events.
In a newer version of your specification, those fields have a changed semantics (log_source) or have been removed (log_channel). This makes the automated derivation of required events much more difficult or even impossible. Is it planned that this information is reintroduced, maybe under a different key name? If not, do you see any other way to retrieve the channel and provider from the relationship data, maybe with some mapping table?
While the simple cases of Microsoft-Windows-Security-Auditing and sysmon could be mapped to the channel/provider-pairs Security:Microsoft-Windows-Security-Auditing and Microsoft-Windows-Sysmon/Operational:Microsoft-Windows-Sysmon, this becomes much more difficult for event providers that log into multiple channels, such as Microsoft-Windows-Eventlog. So in order to derive the corresponding WEF subscription or generally event filter, I would have to know which event_id belongs to which channel/provider pair. On the other hand, there are some log sources that go into two different providers (and channels), like Powershell. Powershell seems to be covered now by the two log_sources powershell and Microsoft-Windows-PowerShell. powershell seems to be used for the two providers PowerShell (channel: Windows PowerShell) and Microsoft-Windows-PowerShell (channel: Microsoft-Windows-PowerShell/Operational). Hence, it cannot be determined automatically (or manually without additional knowledge of existing events) whether events should be collected from either Windows PowerShell or Microsoft-Windows-PowerShell/Operational channel.

Hey @b1t-hunter , hope you are doing well 😃
We have decided to add the channel field to our YAML schema. I have updated the README file of the repo (Developer branch) with an initial description of the YAML schema (Including channel). I will really appreciate it if you can take a look at it and let me know if you have any comment or feedback: https://github.com/OTRF/OSSEM-DM/blob/developer/README.md
I will update all theYAML files so they include the channel field over this week and push all the changes to the main branch by the end of this weekend.
Thank you 🍻

Thanks for you support, that's great news! 😃 That should make the matching much easier again.
I think the current schema looks nice. I saw that you already fixed the sysmon parts to Microsoft-Windows-Sysmon. That means you would also switch powershell to the corresponding Microsoft-Windows-Powershell and PowerShell providers?

Thank you @b1t-hunter
and yes, I will update Security Auditing, System and PowerShell logs too

Thank you for the feedback and suggestions @b1t-hunter 🍻
I just merged a PR to the main branch that closes this issue.
We have added the channel field for the following providers: Security Auditing, Sysmon, PowerShell, Windows Firewall, Service Control Manager and Event Log.
Please let me know in case you have any comments or feedback 🙏

Hi @Cyb3rPandaH,
I have checked the current config with my old scripts, and works nicely for the majority of events, but there are still a few that are missing channel information:

File
event_id
channel
log_source

sensor_health_changed
1100
Security
✔

sensor_health_changed
1101
Security
✔

sensor_health_changed
1102
Security
✔

sensor_health_changed
1104
Security
✔

user_created_wmi_object
5857
Microsoft-Windows-WMI-Activity/Operational
✔

user_created_wmi_object
5858
Microsoft-Windows-WMI-Activity/Operational
✔

user_created_wmi_object
5859
Microsoft-Windows-WMI-Activity/Operational
✔

user_created_wmi_object
5860
Microsoft-Windows-WMI-Activity/Operational
✔

user_created_wmi_object
5861
Microsoft-Windows-WMI-Activity/Operational
✔

user_created_wmi_object
5861
Microsoft-Windows-WMI-Activity/Operational
✔

wmi_object_created
5861
Microsoft-Windows-WMI-Activity/Operational
✔

process_searched_ldap
30
Microsoft-Windows-LDAP-Client/Debug
Microsoft-Windows-LDAP-Client

Hey @b1t-hunter
Sorry for the late reply. Thank you for letting me know about this.
I will check those relationships over the weekend and update them 👍


Compiler api harmonise

This PR addresses the fact the SimpleSourceCodeServices has compile specific API's that are not present in SourceCodeServices.
The benefits of this PR is that a single FSharpChecker can be created and used to do compile operations, rather than having to move between SimpleSourceCodeServices and SourceCodeServices.

Fixes / Implements #516

Do we need to depreciate the compile methods in SimpleSourceCodeServices?
Maybe SimpleSourceCodeServices should be depreciated entirely?  The only reason Ive ever used it was to use the CompileFromAsts method!

Maybe SimpleSourceCodeServices should be depreciated entirely? The only reason Ive ever used it was to use the CompileFromAsts method!

Yes, I believe it can now be deprecated (though please double check, maybe there's something dangling).

Theres quite a few uses around on github, I think the bast bet is to mark it as depreciated for now?

Theres quite a few uses around on github, I think the bast bet is to mark it as depreciated for now, I can add that to this PR.

Great, thanks

Here's the AppVeyor failure:
[00:05:40] C:\Program Files\dotnet\dotnet.exe compile-fsc @C:\projects\fsharp-compiler-service\src\fsharp\FSharp.Compiler.Service\obj\Release\netstandard1.6\dotnet-compile.rsp returned Exit Code 1
[00:05:40] C:\projects\fsharp-compiler-service\src\fsharp\vs\service.fs(2189,31): error FS0039: The namespace or module 'AssemblyBuilder' is not defined
[00:05:40] C:\projects\fsharp-compiler-service\src\fsharp\vs\service.fs(2190,29): error FS0072: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved.

Hmm, dotnetcore issue?

At the moment I have to disable dotnetcore to get mono to compile.  Maybe #637 needs a closer look to get the CI stable.

@7sharp9 Yes.  Either a missing reference, or changed namespace, or need to #if out the functionality, or something.

@7sharp9 I think FX_NO_APP_DOMAINS is defined on .NET Core and you may need to open System.Reflection.Emit namespace to find AssemblyBuilder.

@dsyme Appveyor is ok now.

Thanks for this @7sharp9

I'll do  a further PR later to add the depreciate flag in simplesourcecodeservces and the reactor thread.

@7sharp9 Thanks.  Let's aim to nuke SimpleSourceCodeServices and bring it all into FSharpChecker.


cat_D_001 or car_D_001 in the test sequences?

When I evaluate my tracker on LSOTB-TIR test dataset. I get an error that lacks "cat_D_001_myTracker.mat".
So I check the test sequences.  I found out it is not "cat_D_001", but “car_D_001” in the test sequences.
Could you please check it out?
Thanks!

Thanks a lot. We provided a wrong sequence. It should be 'cat_D_001' instead of 'car_D_001'. We have updated the evaluate dataset in baidu pan, code:dr3i.


Port to cmake?

I've heard that cmake is faster and overall more robust compared to scons. Maybe port on over to that? I've created a semi-incomplete sample that I'll send in as a PR and maybe see if that compiles fine (I am still having issues with the libraries, so just wondering if this would work.) Not sure how windows compatibility would work with this

I mainly chose SCons because I was more familiar with it. I think porting to CMake could be a good idea.

@drakemj merged in #50


Multinode objectstorage gsi 355

Adapted to multinode config
Simplified some code or brought it more in line with other services

Adressed change requests above.
Moved StorageHandler into core and removed associated port to keep simplification of functionality.


Spaces in Pipeline Names cause private SSH key download to fail silently

CLoudFormation Stack version: Buildkite stack v2.3.0
Given a pipeline name such as "Provision Infrastructure" and a private ssh key uploaded to
/{pipeline-slug}/private_ssh_key => /provision-infrastructure/private_ssh_key
the downloading secrets step fails to download the private key silently:
~~~ Running global environment hook
$ /etc/buildkite-agent/hooks/environment
~~~ :llama: Setting up elastic stack environment (v2.3.5)
export DOCKER_VERSION=17.12.1-ce-rc2
export BUILDKITE_STACK_NAME=buildkite
export BUILDKITE_STACK_VERSION=v2.3.5
export BUILDKITE_AGENTS_PER_INSTANCE=2
export BUILDKITE_SECRETS_BUCKET=***************redacted***************
export AWS_DEFAULT_REGION=eu-west-1
export AWS_REGION=eu-west-1
export PLUGINS_ENABLED="secrets ecr docker-login"
export BUILDKITE_ECR_POLICY=none
export BUILDKITE_USERNS_REMAP={DOCKER_USERNS_REMAP}
:docker: Checking docker
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
Checking disk space
Disk space free: 245G
Inodes free:  16M
Configuring built-in plugins
Secrets plugin enabled
ECR plugin enabled
Docker-login plugin enabled
~~~ Downloading secrets from :s3: ***************redacted***************
Checking provision-infrastructure/private_ssh_key
Checking provision-infrastructure/id_rsa_github
Checking private_ssh_key
Checking id_rsa_github
Fixing permissions for 'buildkite-i-05095d2db665078e2-2/boden/provision-infrastructure'...

Temporary fix can be achieved by renaming your pipeline to not include spaces:

Thanks for raising this, sorry you ran into that! We'll get a fix sorted out soon.

Hi @binarypath, thank you for reporting this issue. I’ve just tried this with the latest release and it looks like this was fixed and some point in the past. I’m going to close this issue but if you’re still experiencing issues don’t hesitate to leave a comment or re-open the issue, thanks! 😄


Not working in Homekit app after jailbreak

When in a jailbroken state the camera will show up in the Home app but won't load. Any idea for a workaround to fix this?

Sorry, no. I have never jailbroken any of my iOS devices.
Did it work before the jailbreak?
Have you tried running homebridge in debug mode and looking at the log output?

Yeah it worked before the jailbreak. While running homebridge in debug mode it started working. The only thing not working is the snapshot of the avatar in the home app. Thanks for your help

This plugin does not behave any differently depending on whether homebridge is being run with debug enabled. Hence, I doubt whether that is what affected the video streaming. I also suspect that the jailbreak is not the cause of your problems.
As far as the avatar/snapshot is concerned, if you now have access to the log output it should reveal whether anything is going wrong on the homebridge end. You should see something like the following...
Snapshot request from HomeKit:
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /resource +9s
  HAPServer [20:8B:72:9E:16:58] HAP Request: POST /resource +0ms

Download the latest avatar image from the SkyBell cloud servers:
[2018-7-10 17:27:16] [SkyBell] handleSnapshotRequest 'Doorbell': width=480 height=270
[2018-7-10 17:27:16] [SkyBell] Cloud API request #1-8: GET /devices/ebe04fdd543efab2674f5349/avatar/
[2018-7-10 17:27:17] [SkyBell] Cloud API request #1-8: OK +267ms
[2018-7-10 17:27:17] [SkyBell] Avatar download: https://v3-production-devices-avatar.s3-us-west-2.amazonaws.com/ebe04fdd543efab2674f5349/1514057831865-1345.jpg?AWSAccessKeyId=ASIAJE3OFQLDLDZANIVA&Expires=1514057338&Signature=VGhlIGJ1bGxkb3plciBvdXRzaWRl&response-content-type=image/jpeg&x-amz-security-token=QXQgZWlnaHQgb%2BKAmWNsb2NrIG9uIFRodXJzZGF5IG1vcm5pbmcgQXJ0aHVyIGRpZG7igJl0IGZlZWwgdmVyeSBnb29kLiBIZQp3b2tlIHVwIGJsZWFyaWx5LCBnb3QgdXAsIHdhbmRlcmVkIGJsZWFyaWx5IHJvdW5kIGhpcyByb29tLCBvcGVuZWQgYSB3aW5kb3csCnNhdyBhIGJ1bGxkb3plciwgZm91bmQgaGlzIHNsaXBwZXJzLCBhbmQgc3RvbXBlZCBvZmYgdG8gdGhlIGJhdGhyb29tIHRvIHdhc2guClRvb3RocGFzdGUgb24gdGhlIGJydXNoIOKAkyBzby4gU2NydWIuClNoYXZpbmcgbWlycm9yIOKAkyBwb2ludGluZyBhdCB0aGUgY2VpbGluZy4gSGUgYWRqdXN0ZWQgaXQuIEZvciBhIG1vbWVudAppdCByZWZsZWN0ZWQgYSBzZWNvbmQgYnVsbGRvemVyIHRocm91Z2ggdGhlIGJhdGhyb29tIHdpbmRvdy4gUHJvcGVybHkgYWRqdXN0ZWQsCml0IHJlZmxlY3RlZCBBcnRodXIgRGVudOKAmXMgYnJpc3RsZXMuIEhlIHNoYXZ
[2018-7-10 17:27:18] [SkyBell] Avatar download: OK +1412ms

Use FFmpeg to scale the raw avatar image to the size requested by HomeKit:
[2018-7-10 17:27:18] [SkyBell] getFfmpegOptions 'Doorbell #1': ffmpeg -protocol_whitelist rtp,udp,pipe -version
[2018-7-10 17:27:18] [SkyBell] getFfmpegOptions 'Doorbell #1': Failed with code 1
[2018-7-10 17:27:18] [SkyBell] getFfmpegOptions 'Doorbell #1': avconv -protocol_whitelist rtp,udp,pipe -version
[2018-7-10 17:27:18] [SkyBell] getFfmpegOptions 'Doorbell #1': Failed with code 1
[2018-7-10 17:27:18] [SkyBell] getFfmpegOptions 'Doorbell #1': ffmpeg -version
[2018-7-10 17:27:18] [SkyBell] getFfmpegOptions 'Doorbell #1': Success
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: ffmpeg -i - -vf scale=480:270 -f image2 -
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: > ffmpeg version 2.8.14-0ubuntu<IP_ADDRESS> Copyright (c) 2000-2018 the FFmpeg developers
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   configuration: --prefix=/usr --extra-version=0ubuntu<IP_ADDRESS> --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   libavutil      54. 31.100 / 54. 31.100
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   libavcodec     56. 60.100 / 56. 60.100
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   libavformat    56. 40.101 / 56. 40.101
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   libavdevice    56.  4.100 / 56.  4.100
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   libavfilter     5. 40.101 /  5. 40.101
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   libavresample   2.  1.  0 /  2.  1.  0
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   libswscale      3.  1.101 /  3.  1.101
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   libswresample   1.  2.101 /  1.  2.101
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   libpostproc    53.  3.100 / 53.  3.100
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: > [mjpeg @ 0x2466860] Changeing bps to 8
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: > Input #0, jpeg_pipe, from 'pipe:':
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   Duration: N/A, bitrate: N/A
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >     Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720, 25 tbr, 25 tbn, 25 tbc
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: > [swscaler @ 0x246ebc0] deprecated pixel format used, make sure you did set range correctly
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: > Output #0, image2, to 'pipe:':
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   Metadata:
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >     encoder         : Lavf56.40.101
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >     Stream #0:0: Video: mjpeg, yuvj420p(pc), 480x270, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >     Metadata:
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >       encoder         : Lavc56.60.100 mjpeg
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: > Stream mapping:
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: >   Stream #0:0 -> #0:0 (mjpeg (native) -> mjpeg (native))
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: > frame=    1 fps=0.0 q=5.1 Lsize=N/A time=00:00:00.04 bitrate=N/A
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: > video:23kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[2018-7-10 17:27:18] [SkyBell] FFmpeg image: Child process exit: 0

Return the resulting scaled snapshot image to HomeKit:
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Response is finished +2s

I am closing this issue because it does not appear to be a bug in this plugin, and no further response has been received from the user for over a month.


v5.13 Changelog

Since Carlos is off, wondering if another dev could help check if there are any Database Changes, API Changes or Websocket Event Changes in v5.13 release? /cc @lieut-data @stylianosrigas

@amyblais:

Database changes: plugins type entries in the Jobs table will be purged on upgrade. This job was incorrectly configured to run every minute, spamming the table with mostly useless records. All old records will be removed on upgrade, and the job will run daily instead.
API: There are no differences in the api4 package between 5.12 and 5.13.
Websockets: There are no differences in the wsapi package between 5.12 and 5.13.


TH errors with parameterized data types

Given the following:
data Data a = Data { field0 :: a }

mobileGen ''Data

TH splices:
Splicing declarations
    mobileGen ''Data
  ======>
    instance forall a_a9xK. ToMoatData (Data a_a9xK) where
      toMoatData
        = \ value_a9C8
            -> case value_a9C8 of
                 Proxy
                   -> (MoatStruct
                         {structName = "Data", structTyVars = ["A"], structInterfaces = [],
                          structProtocols = [], structAnnotations = [],
                          structFields = [("field0", Poly "A")], structPrivateTypes = [],
                          structTags = []})
    instance forall a_a9xK.
             ToMoatType a_a9xK => ToMoatType (Data a_a9xK) where
      toMoatType
        = \case
            Proxy
              -> Concrete
                   {concreteName = "Data",
                    concreteTyVars = [toMoatType (Proxy :: Proxy a_a9xK)]}

Compiling this triggers a restriction on nested forall declarations in instance heads:
error:
    Instance head cannot contain nested ‘forall’s or contexts
    In an instance declaration
   |
15 | mobileGen ''Data
   | ^^^^^^^^^^^^^^^^

I believe this restriction was introduced for GHC 9.0 via this patch. I'm not sure there is a proper way to generate instance forall a. C (T a) in TH anymore, which feels buggy.

It should not be necessary to have a forall there in the first place 🤔 I think I've identified this one

My bad 😸


Incorrect example: -s

When I've tried to use server with -s parameter, as specified on last Examples lane, it had failed with:  Ambiguous option 's'. Possible values: Source SymbolSource SymbolApiKey.

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

ID: fea0203e-9793-5e92-ee94-0bf972ff91cc
Version Independent ID: 6d98cff6-9ef7-8c84-941b-4db0db65908c
Content: NuGet CLI push command
Content Source: docs/tools/cli-ref-push.md
Product: nuget
GitHub Login: @karann-msft
Microsoft Alias: karann

Faced the same issue when using TFS Build Task 'NuGet Publish' with the latest NuGet executable.
Have to publish with old NuGet binary instead.

Fixed in https://github.com/NuGet/docs.microsoft.com-nuget/pull/1420


Add http route to outgoing http requests, if available

Which problem is this PR solving?
We have a large mono repo and our app users have the need for the following usage:
  new HttpInstrumentation({
    startOutgoingSpanHook(request) {
      const headers = request.headers ?? {};
      if ('x-otel-path-template' in headers) {
        return {
          [SEMATTRS_HTTP_ROUTE]: headers['x-otel-path-template'], // A path template, e.g. `/users/{id}` or `/blog/{blogId}/posts/{postId}`
        };
      }
      return {};
    },
  }),

Since our users are tracking SLOs for their services for different endpoints, they need histograms observations to include the path tempate. This path template comes from mappersmith and we take care of setting it ourselves, as can be seen above. Yes, it is a bit hacky, this path template is sent via a header, but that's our problem. 😬  It's good enough for us for now at least.
But we need to patch opentelemetry to read it and put it in the histogram observation, hence the PR.
Short description of the changes
Ensure that 'http.route' makes it to metric attributes, if it is available from the span attribute.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

I hesitate to check breaking. If someone today is also setting SEMATTRS_HTTP_ROUTE in startOutgoingSpanHook and NOT expecting it to result in a new label in prometheus metrics, I guess that's a unexpected. But not breaking.
How Has This Been Tested?
We have had this code running in production for 1 month.

[x] Added tests, see PR diff

Checklist:

[x] Followed the style guidelines of this project
[x] Unit tests have been added
[ ] Documentation has been updated

Hi @klippx thanks for reaching out - the feature in this PR is essentially #5051 which will not be accepted unless #4095 and #4096 are addressed. This feature (as it stands without these two issues addressed) is very likely introduce severe memory issues if used incorrectly. Therefore I have to reject this PR.
Someone is already working on #4095 and #4096 is open for contributions. We will then go ahead with a hook as outlined in #5051 which should also address your requirements IIUC.


ZenjectAllowDuringValidation now works on interfaces #284

Thanks

I had to revert this since it broke on UWP.  If you can get that method compiling on UWP we can re-add it though

@svermeulen, sorry to hear that.
Unfortunately I don't have a win8 or higher, so I can't build for UWP and hence can't validate my code.

No problem - it's my fault for not having a CI server set up to catch this kind of thing


Webpack Dev Server with React Hot Loader Not Parsing JSX when used as middleware

Hey I've been seeing a really strange bug that has me stumped. I'm trying to run an express server with webpack and use webpack middleware to run my ui js. When I run the config for the ui js directly it compiles fine. When I try to run it with the middleware I get an unexpected token error like the JSX isn't being converted.
Details on my configs are here:
https://stackoverflow.com/questions/44142709/webpack-dev-server-with-react-hot-loader-not-parsing-jsx-when-used-as-middleware

Were you ever able to figure out what was causing the problem and a solution? I think I may be experiencing the same issue.


[BUG] SfCircleIcon lost :active state

Describe the bug
SfCircleIcon should have :active state with box-shadow bigger than on :hover state. Actually button lost its active state.
How to reproduce
Steps to reproduce the behavior:

Go to 'SfCircleIcon'
Click on 'button'
See that active state its not working

Expected behavior

Fixed in #819


docs: update generated docs to include version in module names

Updates to latest aegir version with simplified readmes, auto-copying @packageDocumentation to "About" section and includes version numbers in the module versions.

Yes - in the generated docs we have a TOC on the right already so it's redundant:

we get auto generated About sections based on the @packageDocumentation for packages in each subpackage of a monorepo

Also yes, with the slight caveat that we have to run npm run docs to update it.


Add daily and weekly ingame reminders (battlestaff, tears of guthix) notifications

Feature that posts to your in game chat about daily reset of Zaff's battlestaves and weekly tears of guthix too 👍

Added in #1068


Initial Smart Contract docs

Signed-off-by: Mary Anthony<EMAIL_ADDRESS>

@kantai @jcnelson @lgalabru @zone117x The core draft is available for review. I believe I am caught up to what is merged in blockstack/blockstack-core as of today.  I regen'd the functions from the clarity-preview-image.
I do have one section marked TODO in the reference on response types if Aaron or Jude can take a look there.
My preferred method of receiving reviews is GitHub comments --- like any other code. Some folks find this uncomfy for docs. So, I will be emailing this content for review in PDF to you. You are welcome to comment on the PDF instead if that is preferable to you.
A preview build of this PR is produced by Netlify. You can also see this material on that preview and in context of the larger docs here.
https://deploy-preview-263--docsproduction.netlify.com/core/smart/overview.html
Please note, the section menu CSS is under dev. I'll have this working by the release date.
The SDK material is forthcoming. I have a quickstart from Ludo I'll work on and add to this material. I'll notify you when that is available.


Create levelorder.cpp

// Recursive CPP program for level
// order traversal of Binary Tree
#include <bits/stdc++.h>
using namespace std;
/* A binary tree node has data,
pointer to left child
and a pointer to right child */
class node {
public:
int data;
node *left, *right;
};
/* Function prototypes /
void printCurrentLevel(node root, int level);
int height(node* node);
node* newNode(int data);
/* Function to print level
order traversal a tree*/
void printLevelOrder(node* root)
{
int h = height(root);
int i;
for (i = 1; i <= h; i++)
printCurrentLevel(root, i);
}
/* Print nodes at a current level /
void printCurrentLevel(node root, int level)
{
if (root == NULL)
return;
if (level == 1)
cout << root->data << " ";
else if (level > 1) {
printCurrentLevel(root->left, level - 1);
printCurrentLevel(root->right, level - 1);
}
}
/* Compute the "height" of a tree -- the number of
nodes along the longest path from the root node
down to the farthest leaf node./
int height(node node)
{
if (node == NULL)
return 0;
else {
/* compute the height of each subtree */
int lheight = height(node->left);
int rheight = height(node->right);
	/* use the larger one */
	if (lheight > rheight) {
		return (lheight + 1);
	}
	else {
		return (rheight + 1);
	}
}

}
/* Helper function that allocates
a new node with the given data and
NULL left and right pointers. /
node newNode(int data)
{
node* Node = new node();
Node->data = data;
Node->left = NULL;
Node->right = NULL;
return (Node);

}
/* Driver code*/
int main()
{
node* root = newNode(1);
root->left = newNode(2);
root->right = newNode(3);
root->left->left = newNode(4);
root->left->right = newNode(5);
cout << "Level Order traversal of binary tree is \n";
printLevelOrder(root);

return 0;

}
// This code is contributed by rathbhupendra

Hey
Thank you for opening this pull request.
This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


MVP-468 Police force questions

This PR adds the accessible autocomplete to the police force and adds the town that the incident happened to the country page.
When a user selects a particular country only the police forces that cover that country are available in the list. I haven't narrowed this down to the town that a user has entered at the moment as I don't think that's necessary.
Video for illustration

Looks good but spotted a few bugs. If you answer England then the autocomplete has some missing forces and others that arent English as follows:

Missing: Cumbria, Derbyshire, Greater Manchester, Lancashire, Merseyside and Northumbria (these are also missing for the "Somewhere else" option)
Included in error: North Wales, South Wales, Gwent, Dyfed and Police Scotland

Looks good.


do not limit to only v2, ensure we go to v3 of the aws provider which…

… has more tf 13 fixes
what
do not restrict the aws provider version to just v2
why
https://github.com/cloudposse/terraform-aws-route53-cluster-hostname/issues/23
the aws cloud provider has v13 fixes and requirements also
references
closes #79
https://github.com/cloudposse/terraform-aws-elasticache-redis/issues/79

I have gone with the suggestions made by @aknysh here: https://github.com/cloudposse/terraform-aws-dynamodb/pull/62#discussion_r480600230

i think this PR can be closed. minimum version pinning was merged in #81 and the recommended best practice from hashicorp is to exclude introducing a max version in individual modules


semaphore: update to new gobpf-ci image (bcc v0.11.0)

Looking into a fix for our CI setup separately.

This was included in https://github.com/iovisor/gobpf/pull/234.


raidboss: Add Initial Warrior Of Light Ex Triggers

Initial triggers for WoL Ex; mostly tested -- my farm party couldn't get a clear.
Feel free to test: https://panicstevenson.github.io/cactbot/ui/raidboss/raidboss.html

Thanks for this! My group will be running tonight, so I'll probably have some actual feedback in a couple hours.


Insert called even in update and delete methods

Hi there,
I am a bit confused here.
In your repository code
 public virtual void Insert(TEntity item)
            => Context.Entry(item).State = EntityState.Added;

and at the same time in the Trackable Code

 public override void Insert(TEntity item)
        {
            item.TrackingState = TrackingState.Added;
            base.Insert(item);
        }

        public override void Update(TEntity item)
        {
            item.TrackingState = TrackingState.Modified;
            base.Insert(item);
        }

        public override void Delete(TEntity item)
        {
            item.TrackingState = TrackingState.Deleted;
            base.Insert(item);
        }

Even for Delete and Update methods Insert is called.

Oh, I had to clone and modified these code, I think author copy & paste in code 💃

There was a PR that issued with a minor refactor, and there was a bug that was introduced during the merge, this has been hot-fixed, released and URF.Core NuGet Packages RC1 has been released with the hot-fix and live demo has been redployed with RC1 bits.

https://github.com/urfnet/URF.Core/releases/tag/v1.0.0-rc1
https://www.nuget.org/packages?q=urf.core
https://github.com/urfnet/URF.Core.Sample


 If all predicted depth maps are correct, the problem should be caused by the compiling of gipuma. See README for more details.
Tips: You should revise CUDA_NVCC_FLAGS in CMakeLists.txt according the gpu device you used. We set -gencode arch=compute_70,code=sm_70 instead of -gencode arch=compute_60,code=sm_60 with V100 GPUs. For other GPU types, you can follow

In fact, I am using ground truth depth maps from Depths_raw zip file, so they should be correct, but In case I am using predicted ones how could I check if it's correct ?
and as for the CUDA_NVCC_FLAGS in CMakeLists.txt I am using tesla T4 so I  set -gencode arch=compute_75,code=sm_75 and still generating an empty ply file, I am investing quite an effort and time on it to make it up and running but have not figured out a workaround for it yet.
Any suggestions ? thanks
The logs are down below:
model     	mvsnet                        	<class 'str'>
device    	None                          	<class 'NoneType'>
config    	None                          	<class 'NoneType'>
dataset   	dtu                           	<class 'str'>
testpath  	/content/MVSFormer/dtu        	<class 'str'>
testpath_single_scene	None                          	<class 'NoneType'>
testlist  	/content/MVSFormer/lists/dtu/test.txt	<class 'str'>
exp_name  	None                          	<class 'NoneType'>
batch_size	1                             	<class 'int'>
numdepth  	192                           	<class 'int'>
resume    	/content/MVSFormer/pretrained_weights/mvs_best.pth	<class 'str'>
outdir    	/content/MVSFormer/output     	<class 'str'>
display   	False                         	<class 'bool'>
share_cr  	False                         	<class 'bool'>
ndepths   	None                          	<class 'NoneType'>
depth_interals_ratio	None                          	<class 'NoneType'>
cr_base_chs	8,8,8                         	<class 'str'>
grad_method	detach                        	<class 'str'>
no_refinement	False                         	<class 'bool'>
full_res  	False                         	<class 'bool'>
interval_scale	1.06                          	<class 'float'>
num_view  	5                             	<class 'int'>
max_h     	1152                          	<class 'int'>
max_w     	1536                          	<class 'int'>
fix_res   	False                         	<class 'bool'>
depth_scale	1.0                           	<class 'float'>
temperature	0.01                          	<class 'float'>
num_worker	4                             	<class 'int'>
save_freq 	20                            	<class 'int'>
filter_method	gipuma                        	<class 'str'>
conf      	0.1,0.1,0.1,0.1               	<class 'str'>
thres_view	3                             	<class 'int'>
thres_disp	1.0                           	<class 'float'>
downsample	None                          	<class 'NoneType'>
dist_base 	4.0                           	<class 'float'>
rel_diff_base	1300.0                        	<class 'float'>
fusibile_exe_path	./fusibile/fusibile           	<class 'str'>
prob_threshold	0.5,0.5,0.5,0.5               	<class 'str'>
disp_threshold	0.1                           	<class 'float'>
num_consistent	2.0                           	<class 'float'>
use_short_range	False                         	<class 'bool'>
combine_conf	True                          	<class 'bool'>
tmp       	1.0                           	<class 'float'>
tmps      	5.0,5.0,5.0,1.0               	<class 'str'>
save_all_confs	False                         	<class 'bool'>
########################################################################
*Interval_Scale
1.06
dataset test metas: 49 interval_scale:{'scan4': 1.06}
/usr/local/lib/python3.8/dist-packages/torch/utils/data/dataloader.py:478: UserWarning: This DataLoader will create 4 worker processes in total. Our suggested max number of worker in current system is 2, which is smaller than what this DataLoader is going to create. Please be aware that excessive worker creation might get DataLoader running slow or even freeze, lower the worker number to avoid potential slowness/freeze if necessary.
warnings.warn(_create_warning_msg(
drop_path_rate: ---  0.2
!!!No weight in ./pretrained_weights/alt_gvt_small.pth testing should neglect this.
Loading checkpoint: /content/MVSFormer/pretrained_weights/mvs_best.pth ...
/usr/local/lib/python3.8/dist-packages/torch/nn/functional.py:3487: UserWarning: nn.functional.upsample is deprecated. Use nn.functional.interpolate instead.
warnings.warn("nn.functional.upsample is deprecated. Use nn.functional.interpolate instead.")

I have the same problem. How can I solve it

The cuda version is inconsistent with the fusibile version


FIXBUG: Add follower failed with log: It conflicts with the socket already used

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #4663
Problem Summary(Required) ：

In some cases, for example, fe starts with the outdated meta, the node name that has been dropped will remain in bdb, so we should remove those nodes before joining the group.

[FE PR Coverage check]
:disappointed: fail : 0 / 16 (00.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/ha/BDBHA.java
0
13
00.00%

:large_blue_circle:
com/starrocks/catalog/Catalog.java
0
3
00.00%


Butterknife in BaseActivty

public class BaseActivity extends ActionBarActivity{
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
App.getInstance().mActivityStack.addActivity(this);
initContentView();
ButterKnife.bind(this);
attachUI();
initView();
initEvents();
}
}
public class BaseRegisterActivity extends BaseActivity:
public abstract class BaseRegisterActivity extends BaseActivity{
@Bind(R.id.edit_user_phone)
protected EditText editUserPhone;

}
public class ShiMingRegisterActivity extends BaseRegisterActivity implements ShiMingRegisterContract.View {
@Bind(R.id.edit_user_idcard)
EditText editUserIdCard;
private ShiMingRegisterContract.Presenter mRegisterPresenter;

 private void commitRegister() {
	// TODO Auto-generated method stub
	String phoneNumber = editUserPhone.getText().toString();
}

}
when i click a button ,  log nullpointException in the method commitRegister(), editUserPhone is null

There's not enough information here to figure out the problem. Can you provide a minimally reproducing sample?

BaseActivity
  public abstract class BaseActivity extends ActionBarActivity {

  @Override
  protected void onCreate(Bundle savedInstanceState) {
  // TODO Auto-generated method stub
  super.onCreate(savedInstanceState);
  setContentView(getLayout());
  ButterKnife.bind(this);
  }

  public  abstract int getLayout();
  }

BaseMainActivity
  public abstract class BaseMainActivity extends BaseActivity {

  @Bind(R.id.edit_query)
  protected EditText editQuery;

  }

MainActivity
  public class MainActivity extends BaseMainActivity {

  private static final String TAG = "MainActivity";

  @Override
  public int getLayout() {
  // TODO Auto-generated method stub
  return R.layout.activity_main;
  }

  @OnClick(R.id.bt_test)
  void onBtclick(){
  Log.i(TAG, "editQuery="+editQuery.getText().toString());
  }
  }

include_bt.xml
  <?xml version="1.0" encoding="utf-8"?>
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:orientation="vertical" >

  <EditText
  android:id="@+id/edit_query"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"/>

  </LinearLayout>

activity_main
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  	xmlns:tools="http://schemas.android.com/tools"
  	android:layout_width="match_parent"
  	android:layout_height="match_parent"
  	android:orientation="vertical"
  	tools:context="com.example.butterknifer.MainActivity" >

  	<include layout="@layout/include_bt"/>

  	<Button
  		android:id="@+id/bt_test"
  		android:layout_width="match_parent"
  		android:layout_height="wrap_content"
  		android:text="test" />

  </LinearLayout>

include_bt.xml is a common xml ,so i want inject editQuery this view in the BaseMainActivity. when i click
bt_test ,the editQuery is null in the MainActivity

you get editQuery is not null from BaseMainActivity , the ButterKnife version is v7.0.0
why  i get editQuery is null  in the ButterKnife  v7.0.1

Tried with 7.0.1 as well, still can't reproduce unfortunately.
Do you have a stack trace?
Or some more code from the 2 actual Activities that seem to cause the problem?

if do not have BaseMainActivity , this is useful

can you give me you test project?
you can share you project in the github

i use butterknifr v8.4.0 , this is useful . why not useful int the butterknife v7.0.1

I have posted a test repository here: https://github.com/danielw93/butterknife-issue-836
It uses the exact code you posted above, only alternating the butterknife versions.
There are 3 branches: master uses butterknife v.8.4.0, and a branch for 7.0.0 and 7.0.1 each.
Again I can not reproduce your problem and I don't seem to completely understand your responses.
Just to clarify, could you answer the following points?

version 8.4.0 works for you in your production code (yes/no)?
version 8.4.0 works for you in my example code (yes/no)?
version 7.0.1 works for you in your production code (yes/no)?
version 7.0.1 works for you in my example code (yes/no)?
version 7.0.0 works for you in your example code (yes/no)?
version 7.0.0 works for you in my example code (yes/no)?

I still have the suspicion that your problem lies in your production code and can not be reliably reproduced by the minimal example you have posted here.
Again, maybe a stack trace from the error happening in your code or some more actual code would help. Is your code on GitHub?

thanks

@zy1301529626 sooo...was this helpful? Have you resolved the problem? Or is this still an issue for you?
Otherwise @JakeWharton this can probably be closed

Thanks!


Add innerRef to get ref to inner DOM node

Original PR here https://github.com/christianalfoni/formsy-react/pull/399

This looks good to me 👍


Merge refactordev to dev

Matt's refactordev contains replacing deprecated sp and raster with sf

to resolve the issue of carriage return differences between the mac and pc, use tr; for example:
tr -d '\r' < app.R > app.R.new


Too big width for no reason

I have a big issue, when the carousel renders, it breaks down, and when I check the element's width, I see a very large scale which is not logical

This is urgent for me to fix this, please inform me if there is any solution

hi! Could you share your code? Or could you prepare snippet to reproduce this issue? We don't hear this bug report often so we need to understand better what is going on.

@damian-brainhub Hi! I also searched a lot on the net and I could not find any reliable solution, but during my tests, I figured out that 2 of my parent elements are using "flex" so I set the min-width: 0 for both of them and it did the trick and fixed the issue.

@Arrow891
Can I ask you to fill in this form https://docs.google.com/forms/d/1tfRs1Io49tJBwz-06aDnz8hrJ3WySJTi45y4k6hHGaQ ?

Just in case this helps someone - I worked around this issue by just wrapping the carousel in a div with display:block; width:100%.

i still have this issue. the min-width: 0 or div with display:block; width:100% particularly didnt work for me

i still have this issue. the min-width: 0 or div with display:block; width:100% particularly didnt work for me

In order to solve this I actually did a combination of a new div with display: grid and width: 100% wrapped around the carousel


investigate scrolling performance

i have adjusted this slightly, needs testing

When I click Create Prompter, it just spins the loader forever, so I can't test the scroller atm

At mid-speed (4 or 5) it's very slow. At higher speeds it simply doesn't move, until I hit pause and then it jumps forward.

It's MUCH better, but at least for me it seems like it's really slow right now. Even at maximum speed it's fairly slow.

we need to play with the scroller speed settings


📃: Random Picker item from list

:red_circle: Title : Random generator wheel
:red_circle: Aim: This project aims to create an interactive web application that allows users to input a list of items and randomly select one item from that list. This project demonstrates the integration of HTML, CSS, and JavaScript to build a functional and user-friendly tool for decision-making or entertainment purposes.
:red_circle: Tech Stack Used : HTML CSS JS
Screenshots 📷

concept something like this

:white_check_mark: To be Mentioned while taking the issue :

Full name : Heli Dhanrajbhai Detroja
What is your participant role: GSSOC

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

@heli0707 don't raise more than 1 issue


Can't integrate updated version of library through pods which is supporting to swift 4.2 version

When I am trying to integrate updated library which is supporting to swift4.2 version through cocopods, It always fetching 0.10.1 older version of the library instead of the updated version. Could you please release the new version of the framework that is 0.11.1 which is supporting to swift 4.2 version via cocoapods?

Can you please update the pod spec file with the latest release... i am also facing the same issue thanks.

Please update

Still waiting for this update. 0.10.1  doesn't build for swift 5.1.

This library is out of support. Needs to use alternative.


⚠ Bofrost.be has degraded performance

In 6d11e21, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1245 ms

Resolved: Bofrost.be performance has improved in ff35835 after 6 minutes.


[PoC] Register sensitive environment variables

Proof of concept. Flags specific environment variables to be watched.
Only for PoC, for delivery, will most likely not make any changes to core

This is upstream of  https://github.com/jenkinsci/workflow-cps-plugin/pull/369 and  https://github.com/jenkinsci/credentials-binding-plugin/pull/104


Add lean option

Can you please pull latest and update this PR?

I am sorry, I've delete the fork...


Generate annotated routes name when it is not specified explicitly

Q
A

Bugfix?
❌

Breaks BC?
❌

New feature?
✔

This feature implementation is more of a dialog starter than a request for a change.
Speaking from my experience on a project with 250+ API-methods -- I never needed to reference a route name once. I understand  route names are useful for generating URLs and etc, but at the same time they can be an unnecessary burden. You have to make sure that names are unique (which I offen forget to check after copying controller actions). You also need to have sane naming convention and refactor route names with actions and etc.
Instead we could make specifying route names optional (at least for annotations) and when not specified generate them from route methods and pattern. In the current implementation route name is generated as follows:
/** @Route('/api/news', methods={"POST", "PATCH"}) */ -> 'post,patch:/api/news'

What do you think of this idea? Does it make sense to you?

The name of the route, in my opinion, should initially be optional. The fact that it will be generated now, I think the best option is not to break compatibility.

The name of the route, in my opinion, should initially be optional. The fact that it will be generated now, I think the best option is not to break compatibility.

Yes, names autogeneration is the easiest solution I could see to not break BC and leave ability to reference routes. Is post,patch:/api/news name format good enough? If yes I'd like to know what else is needed for this PR to be merged.
Thanks


[e2e]: go release main config-ldflags-assets slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v16.0.80
Run: https://github.com/slsa-framework/example-package/actions/runs/2909005684
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Trigger: release
Branch: v16.0.80
Date: Tue Aug 23 05:15:14 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/v16.0.81
Run: https://github.com/slsa-framework/example-package/actions/runs/2916579037
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Trigger: release
Branch: v16.0.81
Date: Wed Aug 24 05:11:53 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/v16.0.82
Run: https://github.com/slsa-framework/example-package/actions/runs/2924119884
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Trigger: release
Branch: v16.0.82
Date: Thu Aug 25 05:17:08 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/v16.0.83
Run: https://github.com/slsa-framework/example-package/actions/runs/2931439953
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-assets.slsa3.yml
Trigger: release
Branch: v16.0.83
Date: Fri Aug 26 05:25:43 UTC 2022
Tests are passing now. Closing this issue.


Fixed #11, GTM_BACKGROUND_FETCHING macro can now be defined in a preprocessor

Background fetching is not possible in App Extensions (introduced in iOS 8.0). That's why it should be possible to set GTM_BACKGROUND_FETCHING as a preprocessor macro in the App Extension target.

+1

I think this actually happened in another commit.