name_scope problem of "tensorflow/python/layers/normalization.py"

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 64bit
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 1.7.0-rc1 (GPU version from pip)
Python version:  3.6.2
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 9.0
GPU model and memory: GTX 1080Ti 11GB
Exact command to reproduce: See below

Describe the problem
I found this problem when I am using tf.layers.batch_normalization(). For example, the following code:
import tensorflow as tf

inData = tf.placeholder(shape = [1,1], name = 'input', dtype = tf.float32)
with tf.name_scope('layer1'):
    with tf.name_scope('fully_connected'):
        W = tf.Variable( [[0.]] ,name='W')
        b = tf.Variable( [0.], name='bias')
        x = tf.matmul( inData, W ) + b

    normalized = tf.layers.batch_normalization(x, fused = True, reuse = False)

loss = tf.reduce_sum(normalized)

with tf.Session() as sess:
    # record computation graph
    writer = tf.summary.FileWriter('BN_test', sess.graph)
    writer.close()

Will generate the following computation graph:

While what I expect is: the variables "gamma", "beta", "moving_mean" etc. should all inside the name_scope "layer1/batch_normalization/" but not "batch_normalization/"
So I  refer to the code "tensorflow/python/layers/normalization.py"
Around line 301 ~ 361, I found:

It seems that here the name_scope was cleaned in order to support the 'reuse' option. But this should only affect "moving_mean" and "moving_variance", not "beta" and "gamma". However, as shown above, all of them was affected.
In fact, if we add print(self._scope.partitioner) just before line 302, we will found that self._scope.partitioner is always None.
Summary

self._scope is probably not set correctly.
Suggestion: I want an option to tell the program "I will never reuse the weights", thus do not clean the name_scope of "moving_mean" and "moving_variance". Otherwise, the graph in tensorboard is too messy......

Is there anyone can solve this problem?

Nagging Assignee @fchollet: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 16 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 31 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 46 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 61 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 76 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 91 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 106 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 121 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 136 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 151 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 166 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 181 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @fchollet: It has been 196 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Automatically closing this out since I understand it to be resolved, but please let me know if I'm mistaken.Thanks!


Use of global state in latest version breaks thread safety of JWT.decode

The commit aea6da4543e4a8ea6ba81ce797533bf85e6d3940 by @ab320012 switches the implementation of JWT.decode from something completely functional (i.e. where all arguments are passed around as parameters to all called methods) to using lots of module variables (@jwt, @key etc.) which introduce global state that gets shared between all threads. This introduces more or less subtle errors when used in a multi-threaded environment (e.g. puma), since two calls to JWT.decode can overwrite each others key, headers, payload etc. when a context switch happens in the middle of JWT.decode (e.g. after Decode.new(...) but before verify_signature.
Since this all sounds pretty theoretical so far, I've create a simple reproducer that manages to reproduce this bug every time. It basically just calls JWT.decode(JWT.encode(...)) from several threads in parallel and introduces some artificial delay to increase the likelihood of a problem.

Good catch. Maybe we can create a new object inside the decode method that gets instantiated per call, that way each call will only modify the state of this new object instead of global state.

Hi @dklotz,
Thanks for the detailed explanation of the issue.
@ab320012 Thanks again for your contribution!


Q: copy elision always happening at operator=(variant<Types...> other)?

https://github.com/mapbox/variant/blob/master/variant.hpp#L557 defines the assignment operator that should be elided by the compiler. Does that also happen if any member type of the variant doesn't have a move c'tor?

This is stale, and its unclear if it might still be relevant because the link points to lines of code in master that have shifted.


[Windows 11] Running as admin resets settings.json

Microsoft PowerToys version
0.53.3
Running as admin

[X] Yes

Area(s) with issue?
Settings
Steps to reproduce
Windows 11 (stable), fresh install (yesterday). PowerToys installed from the Microsoft Store.
When running the app as admin, the properties of the array "enabled" in settings.json located under \AppData\Local\Microsoft\PowerToys disappear. When you focus the app, all those properties reset their specified values, leaving them as they were by default.
EDIT: This only happens when the app is executed as admin automatically by the option "is_elevated":true (under general settings).
When running the app as admin manually (right-click), the issue can't be replicated.
If we specify the app to be executed as admin from the .exe properties, the issue can't be replicated either.
✔ Expected Behavior
Not having to specify whether I want some tools or not every single time I execute the app as admin.
❌ Actual Behavior
Having to specify whether I want some tools or not every single time I execute the app as admin.
Other Software
No response

/bugreport

Hi, sure thing! Wish I could help more, thanks in advance!
PowerToysReport_2022-01-30-09-54-33.zip

This should be fixed in latest version of PowerToys. Can you try updating to v0.55.1 and check whether the issue is still there? /needinfo


CSE-162 Explorer slow blocks, fix (first page) paging.

https://issues.serokell.io/issue/CSE-162
Fixing paging, since now the first page has 9 rows and the rest have 10. It's not a huge issue, but still something that can be fixed.
How it should work:
Blocks 1 - 10 - Page 1
Blocks 11 - 20 - Page 2
Blocks 21 - 30 - Page 3
...

GHCI:
Prelude> ((0 - 1) `div` 10) + 1
0
Prelude> ((1 - 1) `div` 10) + 1
1
Prelude> ((2 - 1) `div` 10) + 1
1
Prelude> ((10 - 1) `div` 10) + 1
1
Prelude> ((11 - 1) `div` 10) + 1
2
Prelude> ((20 - 1) `div` 10) + 1
2
Prelude> ((21 - 1) `div` 10) + 1
3
Prelude> ((11 - 1) `div` 10) + 1
2
Prelude> ((20 - 1) `div` 10) + 1
2
Prelude> ((21 - 1) `div` 10) + 1
3
Prelude> ((30 - 1) `div` 10) + 1
3
Prelude> ((31 - 1) `div` 10) + 1
4
Prelude> ((0 - 1) `div` 10) + 1
0
Prelude> ((1 - 1) `div` 10) + 1
1
Prelude> ((10 - 1) `div` 10) + 1
1
Prelude> ((11 - 1) `div` 10) + 1
2
Prelude> ((20 - 1) `div` 10) + 1
2
Prelude> ((21 - 1) `div` 10) + 1
3

Still need to merge to master, currently too many conflicts (that I don't know how to solve).


Error message: variables needed for gradient computation has been modified by an inplace operation

Hello dear brother,
i am running condensenet and densent_LGC in pycahem IDE with Python 3.6.5 :: Anaconda, Inc. with following configurations:
dataset - cifar10
epochs - 200
bottleneck - 3
growth - 12-12-12
C=G=4
batch size = 64
i am getting this error exactly at 34th epoch every time. i have tried to remove 'inplace addition operations'  and ' inplace=True' from Relu, but nothing has worked . Can you please help, how can it be fixed. Regards
Epoch -  31
* Accuracy@1 89.150 Accuracy@5 99.520
Epoch -  32
* Accuracy@1 88.120 Accuracy@5 99.610
Epoch -  33
* Accuracy@1 88.640 Accuracy@5 99.630
Epoch -  34
Traceback (most recent call last):
File "/home/supernet/PycharmProjects/untitled/nets/CondenseNet-Nauman/main.py", line 497, in
main()
File "/home/supernet/PycharmProjects/untitled/nets/CondenseNet-Nauman/main.py", line 257, in main
train(train_loader, model, criterion, optimizer, epoch)
File "/home/supernet/PycharmProjects/untitled/nets/CondenseNet-Nauman/main.py", line 340, in train
loss.backward()
File "/home/supernet/anaconda3/lib/python3.6/site-packages/torch/tensor.py", line 93, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/home/supernet/anaconda3/lib/python3.6/site-packages/torch/autograd/init.py", line 89, in backward
allow_unreachable=True)  # allow_unreachable flag
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation

Sorry for being late. Could you show me the command you use to train? The pytorch API changed a lot since 0.2, so I am planning to re-check the code recently to make sure it fits 0.4.


Form namespaces

Adds form namespaces.  Usage example:
Form::name('profile')->open()
    Form::bind($bindProfileInputs)
    // Form inputs
Form::close()

Form::name('survey')->open()
    Form::bind($bindSurveyInputs)
    // Form inputs
Form::close()

If both forms have an explicit namespace, when you submit one form, the other form's bound input will be left alone (rather than checking old input on both forms).

Why not Form::open()->name('myformname') ?

Coverage decreased (-0.5%) to 94.241% when pulling 52c25ba84ed042a59c9c9c6b8963e95ee06c204e on JesseLeite:form-namespaces into da9e21cf150d6356add0646d0242fcd1bdaabf81 on adamwathan:master.

@axyr I had Form::open()->namespace() in my first two commits, but we needed to store the namespace on the builder instance.  Adam suggested it be implemented at the builder level, similar to Form::bind() for that reason.

Coverage decreased (-0.06%) to 94.7% when pulling 1da702822fba20cff1e318db4f8578541b8cda21 on JesseLeite:form-namespaces into da9e21cf150d6356add0646d0242fcd1bdaabf81 on adamwathan:master.

@adamwathan @axyr Updated implementation to accept name() before open() 👍  Example...
Form::name('profile')->open()
    Form::bind($bindProfileInputs)
    // Form inputs
Form::close()

Coverage decreased (-0.4%) to 94.344% when pulling b349416fc58f587166380094c6ff72787ff46d16 on JesseLeite:form-namespaces into da9e21cf150d6356add0646d0242fcd1bdaabf81 on adamwathan:master.

Coverage decreased (-0.5%) to 94.286% when pulling 6daf1ce7de3fb2691eab529877bdb10859cb919f on JesseLeite:form-namespaces into da9e21cf150d6356add0646d0242fcd1bdaabf81 on adamwathan:master.

Coverage increased (+0.2%) to 95.0% when pulling 3b30df46b5917b3393311c37345b066ca2e2842c on JesseLeite:form-namespaces into da9e21cf150d6356add0646d0242fcd1bdaabf81 on adamwathan:master.

Coverage increased (+0.2%) to 95.089% when pulling 33513e131aac850e4f582788eeb38e71e8043bfc on JesseLeite:form-namespaces into cc5c2b650d6e1174b7c3000e2643585676e416a8 on adamwathan:master.


Enable tenants for opensearch_dashboard

Change the opensearch_dashboard.yml to enable tenant and disable global

https://github.com/cloud-gov/opensearch-boshrelease/pull/56


Update Microsoft.Extensions.DependencyModel to 3.1.0

Update to non-deprecated version that is not bringing new dependencies.

@MichaelSimons can you please advise on what I am doing wrong? The previous version was okay with source build.
And please remind me what team I should tag here instead of you specifically, the md says to mention team member https://github.com/dotnet/source-build/blob/main/Documentation/sourcebuild-in-repos/new-dependencies.md#adding-dependencies but the team looks to be internal.
Thank you.

@MichaelSimons can you please advise on what I am doing wrong? The previous version was okay with source build.

Because of the Version.Detail.xml dependency, source-build will lift this to the current version.  The 3.1.0 version is only reported as a prebuilt in the repo level source-build where lifting does not occur.  Because of this, ` should be added to https://github.com/microsoft/vstest/blob/main/eng/SourceBuildPrebuiltBaseline.xml.

And please remind me what team I should tag here instead of you specifically, the md says to mention team member https://github.com/dotnet/source-build/blob/main/Documentation/sourcebuild-in-repos/new-dependencies.md#adding-dependencies but the team looks to be internal.

https://github.com/orgs/dotnet/teams/source-build-internal is the appropriate team to ping.  Apologies, the name is not the best.


FFmpeg H.264 decoder not found

Hello,
I am trying to get video feed from one of other participant through track_subscribed event (as code below)
async def receive_frames(stream: rtc.VideoStream):
       async for frame in video_stream:
            print(len(frame))

@room.on("track_subscribed")
def on_track_subscribed(track: rtc.Track, publication: rtc.RemoteTrackPublication, participant: rtc.RemoteParticipant):
        if track.kind == rtc.TrackKind.KIND_VIDEO:
            nonlocal video_stream
            if video_stream is not None:
                # only process the first stream received
                return

            print(f"subscribed to track: {track.name} pub id {publication.sid}")
            video_stream = rtc.VideoStream(track)
            task = asyncio.create_task(receive_frames(video_stream))
            tasks.add(task)
            task.add_done_callback(tasks.remove)`

But I got the error below and does not receive any frame
[2023-11-12T12:03:51Z ERROR libwebrtc] (h264_decoder_impl.cc:312): FFmpeg H.264 decoder not found.
[2023-11-12T12:03:51Z ERROR libwebrtc] (decoder_database.cc:148): Failed to initialize decoder.

I am using python3.10 and latest version of LiveKit-sdk (install through pip install livekit and pip install livekit-api
Could you please guide me how to fix this error.
Thank you!

related to https://github.com/livekit/rust-sdks/issues/169

@davidzhao thanks for your answer,
it also mean that it is the bug of the library and have not yet had the solution yet?

yes, we are aware of the issue and will have a fix soon.

Fixed in rtc-v0.6.0


Force the window manager to refresh position before flushing

I sent you an invite to the GLVis org. Do you mind re-proposing from a branch there?

Ok, thanks & no problem!
On Sep 25, 2017, at 6:23 PM, Tzanio Kolev <notifications<EMAIL_ADDRESS>wrote:
I sent you an invite to the GLVis org. Do you mind re-proposing from a branch there?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/GLVis/glvis/pull/30#issuecomment-332058564, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATEvBe-Afi6iRpLrw1J4FZqfEjyEqmnrks5smFIAgaJpZM4Pjgfv.

Re-proposing from an internal branch.


Knickpoint plotting

We need to add in some plotting functions for nice plots of knickpoints.  I've made a bit of a start on this, so I'll add this in to the repository now, then @bgailleton and I can update it as we go.

Definitely a good idea, I'll write this down when I'll have few time!

I've added my initial script for plotting the knickpoints to LSDMappingTools - it's called analyse_knickpoints.py.
At the moment it is standalone, I'm going to port it into mapping tools soon. So at the moment I use pandas to load in the csv, since it's nice to select the column headers that way:
column_lists = []
df = read_MChi_file(DataDirectory, csv_name, kp_threshold)
for column_name in columns:
    column_values = list(df[column_name])
    column_lists.append(column_values)
return column_lists

Would be good to plot:

Elevation against flow distance
Magnitude vs. elevation

I'm guessing you already have some plotting scripts @bgailleton, so let's consolidate them so we're not reinventing the wheel! We can also have the raster plots in here.

Elevation against flow distance: will maybe add some channel profiles in here.  So far:

Points coloured by channel source
Size represents knickpoint magnitude

So at the moment it looks like every channel just has loads of knickpoints. The visualisations look great! Now we need to ensure the algorithm is being more selective...

I will have the new knickpoint output file ready tomorrow hopefully, it will really be easier to deal with.
Maybe Python will be more adapted to sort the data from the csv file containing every informations?

Do you mean have the csv contain all the segment edges and then we use python to select the important knickpoints? Yes, I think that is a good idea.

yes ! ok let's do this

Yes at the moment in the Python script I'm just selecting the knickpoints based on an arbitrary magnitude threshold - it would be good to think about a better way to select them. It should be easy to change this in the python code

I am adapting the python code to the new csv output, then I may change the way it processes data as the following: rather than reading the csv file each time, we could load it at the beginning, then sort it as following before calling the plotting function?
PointData= read_Mchi_file(...)
PointData= select_data("drainage area", operator = ">", value = 5000) # This is an example and not codded yet, but ill do it asap
PointData= select_data("diff", operator = "=<", value = 50)
...
plot_knickpoint_elevation(...)
It requires slightly more coding but it gives us more freedom to play with the data?

Sounds good, yes it would be better to just load the point data as a function and then we can pass it as a parameter to each plotting script.  The functions at the start of the analyse_knickpoints.py script were for when I was using pandas to load the data without the PointData object, so we can probably get rid of them.

I am currently adapting everything and adding the possibility to load a pandas dataframe directly as a PointData Object, it should make things easier for sorting in this case


saveSelection does not insert the span into iframe body

This is the savedSel object when at breakpoint marked by my commented code
Object { rangeInfos=[0], restored=false, win=undefined}

Meta: Code pasting was messing up my code for some reason

I think the issue is that you're saving the selection in the main window, not the iframe. Pass in the iframe and I think you'll be fine:
var savedSel = rangy.saveSelection(iframe);

You'll need to have a reference to the iframe element but you can store that  with var iframe = this; outside the setTimeout call.

That worked. I actually had to set

var iframes = [];
//for each iframe using jquery
iframes.push($(this).get(0));

and then pass one of the elements of that array into the function since the iframe variable would get overwritten before the callback was executed. Other than that I had no problems.
Thankyou!!!

Heres a coffee on me @timdown @changetip for the help!

Hi @timdown, @SlightlyCyborg sent you a Bitcoin tip worth a coffee (5,895 bits/$1.51), and I'm here to deliver it ➔ collect your tip.
Learn more about ChangeTip


Swap login button color to green

I open the discussion!
...

Interesting choice.

Broken one ;)

Someone reused component named DiscordLogin to Join and few other places :joy:

Added screenshot as an example. I need some IDE for JS...

Seems very bright. How does it look in dark mode? Try using the color="success" prop to use the theme green.

Got scolded by my personal UX... Apparently, should use PRIMARY and SECONDARY colors...

Discord’s blurple change recently to #5865F2. While I’m not a fan of the green either way it would be better to stick within the branding guidelines and use #57F287 for that.
https://discord.com/branding

Well, it makes sense, but #57F287 is ultra bright 😓

Agreed, that Discord green is brutal on the eyes.

God even on black it’s bad.  I’d say just update blurple and be done with it. Custom login page can be used for anything beyond really and I do agree some sort of default distinction is good for new mappers to get going with.

Resolved in #826, apologies @lenisko. Forgot to take it out when I was playing with it while we were talking.


feat: install the cert-manager on k8s

Improved the docs to describe the OCP certificate renewal process.


Feature/workflow json

testing this out

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: matt-tyler sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


CMIniFile: Missing parameter for DistributionPointInstallIIS

Details of the scenario you tried and the problem that is occurring
When including the settings to install the distribution point role in the CMIniFile configuration, the DistributionPointInstallIIS setting is not currently implemented in the resource and appears to be required by the SCCM/MECM installer.
Verbose logs showing the problem
When running the SCCM CLI install without the DistributionPointInstallIIS option included in the .ini file, the messages below occur in the ConfigMgrSetupWizard log:
9/2/2020 2:04:57 PM: ConfigMgrSetupWizard Verbose: 1 : Scripted setup failure handling callback called. Failure: 103.
9/2/2020 2:05:08 PM: ConfigMgrSetupWizard Verbose: 1 : Received error [Could not connect or execute SQL query.] from native code.
9/2/2020 2:05:08 PM: ConfigMgrSetupWizard Verbose: 1 : Exiting SetupWPF.exe.
Suggested solution to the issue
Add boolean parameter for DistributionPointInstallIIS to CMIniFile resource if distribution point role is specified in the configuration
The DSC configuration that is used to reproduce the issue (as detailed as possible)
# insert configuration here
        # Provision .ini file
        CMIniFile AGMLabIni
        {
            IniFileName               = 'AGT-Lab-Pri.ini'
            IniFilePath               = $env:TEMP
            Action                    = 'InstallPrimarySite'
            ProductID                 = 'EVAL'
            SiteCode                  = 'AGT'
            SiteName                  = 'SCCM-Primary Site'
            SMSInstallDir             = "${disk}:\Program Files\Microsoft Configuration Manager"
            SDKServer                 = "$env:COMPUTERNAME.$DomainName"
            PreRequisiteComp          = $true
            PreRequisitePath          = "$path\SCCM\SCCMPrereqs"
            AdminConsole              = $true
            JoinCeip                  = $false
            MobileDeviceLanguage      = $false
            RoleCommunicationProtocol = 'HTTPorHTTPS'
            ClientsUsePKICertificate  = $false
            ManagementPoint           = "$env:COMPUTERNAME.$DomainName"
            ManagementPointProtocol   = 'HTTP'
            DistributionPoint         = "$env:COMPUTERNAME.$DomainName"
            DistributionPointProtocol = 'HTTP'
            SQLServerName             = "$sqlServer.$DomainName"
            DatabaseName              = "DB_Name"
            SQLSSBPort                = "4022"
            SQLLogFilePath            = 'S:\SQLLogs\'
            SQLDataFilePath           = 'S:\SQLDB\'
            CloudConnector            = $false
            CurrentBranch             = $true
            SAActive                  = $true
        }

#### The operating system the target node is running
OsName               : Microsoft Windows Server 2016 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture       : 64-bit
WindowsBuildLabEx    : 14393.3866.amd64fre.rs1_release.200805-1327
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

#### Version and build of PowerShell the target node is running
Name                           Value
----                           -----
PSVersion                      5.1.14393.3866
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.3866
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

#### Version of the DSC module that was used
0.2.0

@ericscheffler  I updated and submitted a PR. If you want to pull the changes and test that would be appreciated.

A bit late, but can confirm this issue is resolved.


Add support for cuda 12.4.1

Add support for cuda 12.4.1
Bump actions/setup-python@v4 to v5
Bump<EMAIL_ADDRESS>to v3.0.4 (Depecation of Node.js 16)
Bump<EMAIL_ADDRESS>to v4.0.2 (Deprecation of Node.js 16)
Bump softprops/action-gh-release@v1 to v2.0.4 (Deprecation of Node.js 16)

Build Test: https://github.com/Smartappli/llama-cpp-python/actions/runs/8855583838

Build Test: https://github.com/Smartappli/llama-cpp-python/actions/runs/8856146033

Build Test: https://github.com/Smartappli/llama-cpp-python/actions/runs/8858029376

@Smartappli happy to add support for building the 12.4 wheels, can I ask what's the reasoning for changing the link to the fork of cuda-toolkit?

Build Test: https://github.com/Smartappli/llama-cpp-python/actions/runs/8864805947

@Smartappli happy to add support for building the 12.4 wheels, can I ask what's the reasoning for changing the link to the fork of cuda-toolkit?

Link reverted

@Smartappli thank you!


V2.0.0

Renamed vendor name from ViTech to Vseinstrumentiru
Added query-based requests support (previously we had to use factory to handle such cases
Upgraded minimum requirements. php7.3 is no longer supported

#1


Add a CONTRIBUTING.md for technical and non-technical contributors

Sounds good. This might be a good place to draw some inspiration from: https://github.com/puppetlabs/puppet/blob/main/CONTRIBUTING.md

Yeah I like that.  Let's keep this to the process for contributing the repository itself, with the section for contributing to data sets, etl, etc. for later

@ptrikutam I wasn't sure what to add exactly so I just added a bit more details to the current contributing section:
https://github.com/codeforamerica/classifyr/pull/41


Identify why tests failed via scheduled workflow

https://github.com/laingsimon/courage_scores/actions/runs/11415589449/job/31765816366
Failed StatusServiceTests.ClearCache_WhenLoggedIn_ClearsCache [35 ms]
  Error Message:
     Expected is <System.String[1]>, actual is <System.Collections.Generic.List`1[System.String]> with 1 elements
  Values differ at index [0]
  String lengths are both 17. Strings differ at index 0.
  Expected: "1 entries removed"
  But was:  "0 entries removed"
  -----------^

Failed StatusServiceTests.GetCachedEntries_WhenLoggedIn_ClearsCache [4 ms]
  Error Message:
     Expected: 1
  But was:  0

Failed StatusServiceTests.GetStatus_WhenUnableToRetrieveCacheSize_ReturnsNullCacheSize [4 ms]
  Error Message:
     Expected: False
  But was:  True

A change to the internals of MemoryCache impacted the ability for some of the extensions to work. These have been replaced, removing the need to look at the internals of the MemoryCache class


Detect metamask rejection and show right error message

Currently we are showing a generic error when metamask or any other wallet is rejected. Show the rejected error message.


Improve buzzer: fair tiebreaks and quantization

Buzzer ties are now broken randomly, independently for each clue.
Buzzer times are rounded to the nearest 100ms to slightly deweight buzzer racing as a game mechanic.

One (possibly sad) consequence of this PR - almost every prior game will become impossible to review, since the tiebreak rules will resolve ties differently, so the state will get 'stuck' at the first tie that resolves differently.
The main mitigation I can think of would be versioning the game engine, add a column to 'rooms' that holds the engine version at time of creation, and then applying these new tiebreak rules only for the new engine version. It's sadly a bit complicated, though.


Align naming of breakpoints to be consistent

Will come as a new more enriched user story where findings to improve are outlined.


Not working - Buttons flashing and 429 error

When extension is enabled the buttons keep flashing above the chat text box and there are 429 error messages in the console.

Just read the other issues and it's already been posted so closing this one.


new cpp example error, Cannot find Operator FullyConnected in registry error

Hi, all
The new small cpp example is pretty cool and help understand how to use cpp with mxnet. I tried to use it but failed. The code was able to compile, but would get:

The use_ndarray.cc code was able to run. But the mlp.cc code could not. It is strange since I checked operator.cc code, the FullyConnencted Operator should be already registered. I asked the contributor but she did not meet with that problem. Does anyone of you meet this kind of question? It would be great if you can solve my questions or offer any suggestions.
Thanks a lot

could you try to add a line at operator.cc:19 to print out the name of registered Operators?

I try to print out the size of all registered operators, here is the code:

and I got the result is:

it seems that no Operators were registered... Was it related with the Mac Machine? I was able to run with python and NDArray example
Thanks

@toothacher17
1.
Really strange. Especially you got 0 as the size of the list.
Also, I test the code on Mac Os,  and it runs well.

However, I do make a mistake here.
I handled the NDArray by hand, so I should add:
in_args[i].WaitToRead();

in every training loop.
I will fix this later.

yes, it is really strange, especially considering that the python code could run....

Was it related to the libmxnet.so file?

@zhangchen-qinyinghua @piiswrong If I compiled the program with libmxnet.so in the mxnet/lib/ folder, then the program would get this error:

If I compiled it without libmxnet.so in the folder mxnet/lib/ (i moved it to another directory for python), then it would happen with the error I mentioned before.
I believe this could be the problem. The registered Operators should be in the dynamic library, which is more reasonable structure. So it is unreasonable for me to compile the code without the .so file in the mxnet/lib/ folder...
I am not sure whether this is the problem...If it is, how to solve it with the error of the image I showed?

@toothacher17
If ./mlp is in ./path/, then try to make a link of libmxnet.so in ./path/lib/. And run ./mlp in ./path.
This should help.
Besides, how did you compile your project? I think you should always use libmxnet.a.

@zhangchen-qinyinghua . @piiswrong . Thanks a lot, it is some problem with the dynamic lib, the including path related problem. I worked in screen and did not source it, so the updated path was not added into the whole project. It is solved now.


Cannot import after

New Issue Checklist

I have read the guidelines for contributing and I understand:

[x] My issue is happening in the latest version of SideMenu.
[x] My issue was not solved in the README.
[ ] My issue can not be answered on stackoverflow.com.
[x] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
[ ] My issue is reproducible in the demo project.

Issue Description

After installing dependecies thorugh cocoa pods I cannot import the SideMenu.
Terminal logs:
james$ pod install
Analyzing dependencies
Downloading dependencies
Using SideMenu (2.0.7)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.

[!] Automatically assigning platform ios with version 10.3 on target side because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Please take this question to stackoverflow.com.


Question: Is this possible to add overlay on priority basis ?

I am Using osmdroid for long time, now using tilelayer overlay. behaviour i want is when i am adding tileoverlay for tile label its drawing over polylines i am drawing polyline for visible area only, main problem begins when user scrolls and i am adding polylines its covering label tileOverlay. cant we introduce overlay priority e.g polyline overlay 1 tileoverlay 2 and so on.
PS: i know i should have posted this on stackoverflow but its more theoretical than programmatic.

You can set an overlay at a specific position in the display list, this way:
map.getOverlays().add(0, myBottomOverlay);
This is roughly equivalent to priorities.

Yes, the order that you add or insert overlays determines their drawing priority.


Noetic PR2 release repositories deleted

The pr2-gbp GitHub organization was recently deleted. This means the release repositories for the following noetic packages are unavailable:

pr2_apps
pr2_common
pr2_common_actions
pr2_controllers
pr2_ethercat_drivers
pr2_gripper_sensor
pr2_kinematics
pr2_mechanism
pr2_navigation
pr2_power_drivers
pr2_robot
pr2_self_test
pr2_simulator
robot_self_filter

What is the policy for dealing with this? Should these packages be removed from the distro?

The organization exists again.


SSR hydration errors when combining inline styles with v-bind() in CSS

Vue version
3.5.13
Link to minimal reproduction
Reproduction playground
Steps to reproduce
PageBlock.vue

Ensure SSR is enabled in the reproduction

In PageBlock.vue we initialize two props, color and backgroundColor

The color prop is bound to the element via inline :style

Use v-bind in the style block to set the background-color property, set to the value of the backgroundColor prop

Notice the hydration error in the console shown below.
- rendered on server: style="color:#000;"
- expected on client: style="color:#000;"

Also notice that the generated CSS Custom Property for the backgroundColor value is not exposed in the hydration error (meaning I would expect to see --a4f2eed6-backgroundColor: lightgray; in the hydration error as well)

What is expected?
No hydration errors should be present when utilizing both inline style bindings and v-bind in CSS.
The inline style properties should be resolved before render to prevent hydration errors to produce the final HTML, with both the inline color style as well as the generated CSS custom property binding:

Block One

Block Two

What is actually happening?
The inline style binding that is produced in the HTML appears to differ between server and client when the inline styles are merged with the v-bind in CSS rules.
System Info
No response
Any additional comments?
The interesting piece is not only is the hydration error occurring, but comparing the output diff between server and client appears to show the actual rendered content is identical in this particular case.
- rendered on server: style="color:#000;"
- expected on client: style="color:#000;"

In addition, the CSS custom property binding is not shown here in the client render, meaning I would expect to see --a4f2eed6-backgroundColor: lightgray; on the client line above.
In more complex examples, the output appears to actually be different depending on how the inline styles are computed.
(This issue is similar to, but different, from https://github.com/vuejs/core/issues/12434)

I was able to reproduce this issue in just the App.vue with the following code:
<template>

    test

</template>

Removing the style block fixes the hydration mismatch or removing the inline :style fixes the hydration mismatch. Hope this helps for anyone that will be fixing this.

Thanks @th1m0 - here's a reproduction utilizing the simplified code:
Simplified reproduction


Made Navbar

made a bottom navbar. When clicked, colsole.log where it should go (as Sammy said i should do that)

There are merge conflicts since this branch is not up-to-date: I'm pretty sure we can just pick the last commit and drop the first two, since those are already in main.

PLEASE FIX LINTING!


When two services are added only first is visible (advertises)

Used two arduino platformio libraries:
https://github.com/vovagorodok/ArduinoBleChess
https://github.com/vovagorodok/ArduinoBleOTA
Like:
inline void initBle(const std::string &deviceName)
{
    BLEDevice::init(deviceName);
}

inline void advertizeBle()
{
    auto* server = BLEDevice::createServer();
    auto* advertising = server->getAdvertising();
    advertising->setScanResponse(true);
    advertising->setMinPreferred(0x06); // functions that help with iPhone connections issue
    advertising->setMaxPreferred(0x12);
    if (not advertising->start())
        LOG_ERROR << "Ble advertising error";
}

void setup()
{
    initBle(DEVICE_NAME);
    if (not ArduinoBleChess.begin(peripheral))
        LOG_ERROR << "Ble chess initialization error";
    if (not ArduinoBleOTA.begin(InternalStorage))
        LOG_ERROR << "Ble ota initialization error";
    advertizeBle();
}

Where:
bool ArduinoBleChessClass::begin(BleChessPeripheral& peripheral)
{
    auto* server = BLEDevice::createServer();
    bleChessConnection.registerPeripheral(peripheral);
    server->setCallbacks(this);
    auto* service = server->createService(CHESS_SERVICE_UUID);

    auto* rxCharacteristic = service->createCharacteristic(
        CHESS_CHARACTERISTIC_UUID_RX,
        NIMBLE_PROPERTY::WRITE
    );
    rxCharacteristic->setCallbacks(this);

    auto* txCharacteristic = service->createCharacteristic(
        CHESS_CHARACTERISTIC_UUID_TX,
        NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::NOTIFY
    );
    this->txCharacteristic = txCharacteristic;

    auto* advertising = server->getAdvertising();
    advertising->addServiceUUID(CHESS_SERVICE_UUID);
    return service->start();
}

bool ArduinoBleOTAClass::begin(OTAStorage& storage)
{
    auto* server = BLEDevice::createServer();
    BLEDevice::setMTU(BLE_OTA_MTU_SIZE);

    bleOtaUploader.begin(storage);
    auto* service = server->createService(OTA_SERVICE_UUID);

    auto* rxCharacteristic = service->createCharacteristic(
        OTA_CHARACTERISTIC_UUID_RX,
        NIMBLE_PROPERTY::WRITE_NR
    );
    rxCharacteristic->setCallbacks(this);

    auto* txCharacteristic = service->createCharacteristic(
        OTA_CHARACTERISTIC_UUID_TX,
        NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::NOTIFY
    );
    this->txCharacteristic = txCharacteristic;

    auto* advertising = server->getAdvertising();
    advertising->addServiceUUID(OTA_SERVICE_UUID);
    return service->start();
}

Only first service is visible:

When I change the order of initialization, than only second service is visible
All return service->start(); returns true. No error logs
After connect both services are visible. Something with advertising?

There is only room for one 128bit uuid in the advertisement. The current code does not create a second instance of a service uuid list in the scan response using those methods.
You should be able to accomplish this by using the advertisement data class and setting the advertisement and scan response data with that.

Have you an example for that?

The iBeacon example shows the use of this.
https://github.com/h2zero/NimBLE-Arduino/blob/release/1.4/examples/Refactored_original_examples/BLE_iBeacon/BLE_iBeacon.ino

Trying something like:
inline void advertizeBle(const std::string &deviceName)
{
    auto* server = BLEDevice::createServer();
    auto* advertising = server->getAdvertising();

    NimBLEAdvertisementData advertisementData{};
    advertisementData.setName(deviceName);
    // advertisementData.addTxPower();
    advertisementData.setFlags(BLE_HS_ADV_F_DISC_GEN | BLE_HS_ADV_F_BREDR_UNSUP);
    advertisementData.setCompleteServices(NimBLEUUID(CHESS_SERVICE_UUID));
    advertisementData.setCompleteServices(NimBLEUUID(OTA_SERVICE_UUID));
    advertising->setAdvertisementData(advertisementData);
    advertising->setScanResponseData(advertisementData);

    // advertising->setScanResponse(true);
    advertising->setMinPreferred(0x06); // functions that help with iPhone connections issue
    advertising->setMaxPreferred(0x12);

    if (not advertising->start())
        LOG_ERROR << "Ble advertising error";
}

But as I see can be added only one 128 uuid:
void NimBLEAdvertisementData::setCompleteServices(const NimBLEUUID &uuid) {
    setServices(true, uuid.bitSize(), {uuid});
} // setCompleteServices

Its Bluetooth LE or library limit?
nRF Connect I see doubled  CHESS_SERVICE_UUID

You need to create 2 instances of advertisement data, one for the advertisement and the other for scan response. Each should have a different service uuid.

Decided to add: first 128bit uuid + name (max 11 chars) to AdvertisementData and second 128bit uuid + flags to ResponseData. From BLE documentation I see that each AdvertisementData can be max 31 bytes size.\

Can I somehow concatenate this two blocks i order to please larger names? Beacons do that?\
About this lines:

advertising->setScanResponse(true);
advertising->setMinPreferred(0x06); // functions that help with iPhone connections issue
advertising->setMaxPreferred(0x12);

How they should be handled in this case?

Standard convention would be to have the flags and main uuid in the advertisement, then the name and secondary data in the scan response.

Can I somehow concatenate this two blocks to one 62bytes i order to place larger names? Beacons do that?

This is not possible, the 2 data sets are completely separate.

advertising->setMinPreferred(0x06); // functions that help with iPhone connections issue
advertising->setMaxPreferred(0x12);

These can be removed to save space, I haven't experienced any negative consequences in doing so.

Actually i think bluetooth specs allows to "merge" advertising and scan response, but i never been trying it. You can try to build long advertising packet, up to 62 bytes, then split it and use as a raw data.

Hmm. Good idea to just try it :) There no possibility to simply do it. Should be created NimBLEAdvertisementData like class for that. 11 bytes name for me is enough for this moment. I think i'll back to this experiment in future.
According to advertizeBle() function and questions below. All looks write? I'll add this function and update multiservice examples i my libraries

I'm not sure if that would be possible with NimBLE as the functions don't really allow for it.

Done by creating: https://github.com/vovagorodok/ArduinoBleOTA/blob/main/src/BleOtaMultiservice.h
And using like: https://github.com/vovagorodok/ArduinoBleOTA/blob/main/examples/multiservice/main.ino
Thank a lot for huge help! Now I now a lot more about BLE advertising.
Lets close issue


BUG: Edit the functionality of notification during login and signup

Description: When we login to our website it directly show me home page but now when we click on login then loading will start and then it also show a msg of successfully login and same feature is also applicable for signup as well.
Issue: Fixes #197
Please download npm i react-hot-toast and everything will works fine!.
@skmirajulislam Please review and merge accordingly! It show me error can't merge..I have created a separate branch but it showing me error.

Please download the dependency of react-hot-toast using npm i react-hot-toast then everything works fine.


Improve auth [part.01]

rename login to auth
auth now have a two nested routes singin and singout
slipt route-components in a separeted file

This PR was reverted because it contains non working code.


Project ahead feature: Bit position

From MWD -> Bit, there's still 18m (or less) , and it will be great to get the current bit position with current survey data .
FYI, there's 2 projection type according to compass:

project to target
curve only: user defined projection

Excellent suggestion, thank you!
I'll have a think about what's the best way to implement this, maybe a new module with a convenience method call from Survey.
To date, welleng has been predominantly intended for planning or review of surveys, so nice to start thinking real-time.

Sounds good!
I’d be happy to add to review pull requests if you want to add that to welleng, or if you add it to a repo then I’d be happy to take a look and help develop a front end.

On 2 Sep 2021, at 10:29, Kai Huang @.***> wrote:

wonderful, add a method in Survey, and use current survey data to predict bit position would be great.
I can develop a simple UI using Dash to do some testing
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@huangkai31 I've written a function and added a convenience method that returns the project point as a Node... that way it has all the properties calculated.
You have to input the delta_md (the distance from the survey tool to the bit) and it will by default use the last survey station data to project (i.e. the current DLS and toolface), but you can also enter your own parameters to overwrite the default ones. If dls=0 then it's a hold, otherwise is a curve.
I don't want to modify the survey with the projected point, just return the data - sound okay?

@jonnymaserati  Sounds great!
That's exactly what I'm looking for !

Great... I'm just going to add a project_to_target function and then I'll merge it into the dev branch.

Okay, project_to_target is working, but I need to add it as a method to Survey.
Have a look at the code... node1 is the data at the bit and survey_to_target generates a survey listing for how to get to the target. I'll update this so that a Node is passed instead, but the principle will be the same.
import welleng as we

node0 = we.survey.project_ahead([0, 0, 0], [0, 0, 1], 30, 3, 0)

survey = we.survey.Survey(
    md=[0, 100, 500, 3000],
    inc=[0, 0, 30, 30],
    azi=[0, 0, 90, 90],
    deg=True
).interpolate_survey(step=30)

fig = survey.figure()

node1 = survey.project_to_bit(30)

target = we.node.Node(
    pos=[100, 1500, 3000],
    vec=[0, 0, 1]
)

survey_to_target = we.survey.project_to_target(
    survey, [2000, 2000, 4000], [0, 0, 1]
)

fig.add_trace(survey_to_target.figure().data[0])

fig.show()

print("Done")

The figure below shows the current survey and then a survey of how to get to the target... this survey can be interrogated to see what toolface etc is required to steer there.

Seem okay?

These are now merged into the main branch with #87 and an example is included here.


dependency on pthreads is stale

See: https://github.com/01org/TPM2.0-TSS/blob/master/configure.ac#L7
This dependency came from the old resourcemgr code I think. Can probably go away now but should get a quick test to be sure we don't have threads hiding in tpmclient or something.

see #432


Fix typo in fixture name

Coverage remained the same at 100.0% when pulling e570b5e870ceac92a56973787bed28b26367abc5 on juanjoDiaz:fix_typo_in_fixture_name into 28f8f5d5a79fcb128b41510f20616090b2a381f9 on zemirco:master.

Coverage remained the same at 100.0% when pulling e570b5e870ceac92a56973787bed28b26367abc5 on juanjoDiaz:fix_typo_in_fixture_name into 28f8f5d5a79fcb128b41510f20616090b2a381f9 on zemirco:master.


WIP: serialize labels for ICA, plot labels and fix ECG guessing (broken)

cc @Eric89GXL @agramfort @jona-sassenhagen
work in progress.

cc @jaeilepp FYI

Some of the viz possible with these changes can be looked at here:
https://www.dropbox.com/s/j8r2ujbnsgq5njr/preprocessing-report-sample.html?dl=0
generated using https://github.com/dengemann/meeg-preprocessing

I should summarize the changes maybe to make it easier for you to follow the changes:

ica labels are now serialized
the ica find_ecg/eog methods will create sub-labels + store the order to allow for fine grained info during plotting
the plot_scores and plot_sources(evoked) methods now take advantage of the labeling
plot_scores has a new argument called labels which take either labels or codes such as 'eog', the latter will then look up the channels used for detection and write them in the figure
plot_sources(evoked) will look up labels and show them next to the component in the line plot, color goes label-wise
the ecg API is imprvoed and now also works in a couple of corner cases, such as absence of ECG channel + absence of magnetometers in the final picks.

That's pretty cool.

Apparently we have coverage poroblems to overcome before merging. Will look into it later.

rebased, fixed coverage issues.

updated whatsnew

ping can we merge? @agramfort @Eric89GXL ...

Cool stuff.

LGTM

Thanks for your feedback. Happy ICA'ing.


Facebook: new API 2.5 adds postfix after the username

The new API 2.5 adds the _fb postfix after the username which prevents members from logging into the same account on your website they used to log into.

Facebook connect is registering members without the email address in the database. It is causing member without email to login in to random members account.

@kisonik please clarify regarding _fb suffix ? it is added only if the same username already exist in the db

@moonsoon2u thank you we'll check this out.

@AlexTr , yes, it seems like it happens only when such username already exists
@moonsoon2u , I have not noticed such problem in 7.2.1 with Facebook API 2.4 or 2.5

@kisonik  that's normal situation in the case when usernames are the same but emails are different, but if emails match - user is logged in into correct account

@moonsoon2u, I, too, was unable to reproduce the problem.

This happened again recently. A user without email address. On my website the email verification is off.


Update JNI code for ProofListIndex [ECR-3319]

Overview
JNI code adapted to new MerkleDb API. Uncommented some of integration tests.

See: https://jira.bf.local/browse/ECR-3319
Definition of Done

[ ] There are no TODOs left in the code
[x] Change is covered by automated tests
[x] The coding guidelines are followed
[ ] Public API has Javadoc
[ ] Method preconditions are checked and documented in the Javadoc of the method
[ ] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

Coverage increased (+0.02%) to 77.887% when pulling 667cbcc0fb3fd567af4974bb45d4ff9a1917a10d on pli-jni-ecr-3319 into 05c0d956602305d80f56aad2ce8c2c1327b9cde2 on merkledb.

Will be superseded by https://github.com/exonum/exonum-java-binding/pull/1053

Closed because it will be superseded by #1053 (as it mentioned already)


Alias EventListenerOrEventListenerObject to EventListener

This PR puts back EventListenerOrEventListenerObject as an alias to EventEmitter, which was removed in https://github.com/Microsoft/TSJS-lib-generator/pull/352.
This solves issues with Electron definitions, as stated in:
https://github.com/Microsoft/TypeScript/issues/21922

Thanks for the feedback.
I'm gonna close this PR though as it's now fixed in two other different PRs. (Which fix the issue in a cleaner way)


Query: add default implementation for SqlExpressionVisitor

currently all VisitSql* methods are abstract, so either we are forced to use ExpressionVisitor or implement all methods, even when only few are relevant

apparently not needed :trollface: - closing


Better errors when saving with validation fails

When validation rules are specified if an error happens when saving model the error exception shows a general HttpResponseException without any other explanation. Then after deleting some parts of the model showed me the correct error when I commented the Model::$rules
ways to replicate

Specify validation rules in a model,
2a) put Model Events of a class not found
OR
2b) Send a null value to a not null field in database

Is this in relation to the starter kit? or something else? The purpose of the starter kit is to provide a base point in which to build from. We're always open to pull-requests that can help improve the code.

I think it is related to the CRUD maker maybe, where does the validations are made? I'm trying to figure it out
Thanks

I found it, It happens a conflict when whoops is enabled filp/whoops, I don't know why this happen but it is not a laracogs error


[Addition]: Three hotspots added to recently deny listed cluster in Hampshire

Hotspot b58 Addresses
11Mx7WgcsdR527Y7TGK3XhkqpqSGc5Np1ghF8q6VPxu2KYYyfZD
11gfoD7m8JcWSZhJQCLWm2Cb3FBAxdX5WgwdLxy5QLDCzAMdGBk
11x1qgjL1TpBUFtiiR8kpmwAx97eztb56bLouNAa51Ciw5GsjH7
Discord Handle
No response
Reason(s)
These 3 hotspots are occasionally engaging in PoC activity with the hotspots recently added to the denylist under issue #7749 as well as PoC activity only being between the three listed.
Again there is no activity between these three and the immediately adjacent legitimate hotspot. Once again asserted in a location previously occupied by other denylisted hotspots.

Another recent beacon from one of the denylist hotspots witnessed by the three listed in this issue.

Issue updated to include four further hotspots added to this small cluster since posting. All seven hotspots are only witnessing each other and have PoC activity with the denylisyted hotspots:
Abundant Linen Shrimp: 1127D8MiB32YWzfD2zf8XoRdtLFc9gpYg113FNUEC6aR2QnFXc15
Wild Currant Buffalo: 112NyxypvAzuvTmfQMxpPxv2tNZRoSx83xmjcprMNhaMiSyNyzHF
Rhythmic Tangelo Pike: 112XgHUaLZWAFVKNuqe2cBmc8UUqctsG6izHXpuLo6YfkPGrsCMY
Genuine Indigo Tortoise: 1122JGhqNAKFGyMsC1n2GeczvFSmWbfeopHbyWHuDurLyfDc8wt2

Mapping from one day ago shows all hotspots passing zero data despite being right next to the asserted locations

Link to mapped area: https://mappers.helium.com/uplinks/hex/8919598c6d3ffff


[Question] Data races and scripts

Writing a script that triggers a data race is pretty easy:
m = a
m = b &
echo $m

So, is this:

the intended behaviour; if so, this probably should be documented;
a bug that will eventually be fixed?

The output of elvish built with the race detector follows.
job m = b & finished
==================
WARNING: DATA RACE
Read at 0x00c4201fa690 by goroutine 20:
  github.com/elves/elvish/eval/vars.any.Get()
      /home/v/go/src/github.com/elves/elvish/eval/vars/any.go:13 +0x38
  github.com/elves/elvish/eval.variableOp.invoke()
      /home/v/go/src/github.com/elves/elvish/eval/compile_value.go:269 +0xa1
  github.com/elves/elvish/eval.(*variableOp).invoke()
      <autogenerated>:1 +0xac
  github.com/elves/elvish/eval.valuesOp.exec()
      /home/v/go/src/github.com/elves/elvish/eval/op.go:43 +0x91
  github.com/elves/elvish/eval.compoundOp.invoke()
      /home/v/go/src/github.com/elves/elvish/eval/compile_value.go:54 +0xa9
  github.com/elves/elvish/eval.(*compoundOp).invoke()
      <autogenerated>:1 +0x9f
  github.com/elves/elvish/eval.valuesOp.exec()
      /home/v/go/src/github.com/elves/elvish/eval/op.go:43 +0x91
  github.com/elves/elvish/eval.(*formOp).invoke()
      /home/v/go/src/github.com/elves/elvish/eval/compile_effect.go:318 +0x108b
  github.com/elves/elvish/eval.effectOp.exec()
      /home/v/go/src/github.com/elves/elvish/eval/op.go:26 +0x82
  github.com/elves/elvish/eval.(*Frame).eval()
      /home/v/go/src/github.com/elves/elvish/eval/frame.go:149 +0xc9
  github.com/elves/elvish/eval.(*pipelineOp).invoke.func1()
      /home/v/go/src/github.com/elves/elvish/eval/compile_effect.go:101 +0x75

Previous write at 0x00c4201fa690 by goroutine 18:
  github.com/elves/elvish/eval/vars.any.Set()
      /home/v/go/src/github.com/elves/elvish/eval/vars/any.go:8 +0x38
  github.com/elves/elvish/eval.(*assignmentOp).invoke()
      /home/v/go/src/github.com/elves/elvish/eval/compile_effect.go:416 +0x3a6
  github.com/elves/elvish/eval.effectOp.exec()
      /home/v/go/src/github.com/elves/elvish/eval/op.go:26 +0x82
  github.com/elves/elvish/eval.(*formOp).invoke()
      /home/v/go/src/github.com/elves/elvish/eval/compile_effect.go:348 +0xe17
  github.com/elves/elvish/eval.effectOp.exec()
      /home/v/go/src/github.com/elves/elvish/eval/op.go:26 +0x82
  github.com/elves/elvish/eval.(*Frame).eval()
      /home/v/go/src/github.com/elves/elvish/eval/frame.go:149 +0xc9
  github.com/elves/elvish/eval.(*pipelineOp).invoke.func1()
      /home/v/go/src/github.com/elves/elvish/eval/compile_effect.go:101 +0x75

Goroutine 20 (running) created at:
  github.com/elves/elvish/eval.(*pipelineOp).invoke()
      /home/v/go/src/github.com/elves/elvish/eval/compile_effect.go:100 +0x1fa
  github.com/elves/elvish/eval.effectOp.exec()
      /home/v/go/src/github.com/elves/elvish/eval/op.go:26 +0x82
  github.com/elves/elvish/eval.chunkOp.invoke()
      /home/v/go/src/github.com/elves/elvish/eval/compile_effect.go:26 +0xaf
  github.com/elves/elvish/eval.(*chunkOp).invoke()
      <autogenerated>:1 +0x7b
  github.com/elves/elvish/eval.effectOp.exec()
      /home/v/go/src/github.com/elves/elvish/eval/op.go:26 +0x82
  github.com/elves/elvish/eval.(*Frame).eval()
      /home/v/go/src/github.com/elves/elvish/eval/frame.go:149 +0xc9
  github.com/elves/elvish/eval.(*Evaler).Eval()
      /home/v/go/src/github.com/elves/elvish/eval/eval.go:199 +0x260
  github.com/elves/elvish/eval.(*Evaler).EvalInTTY()
      /home/v/go/src/github.com/elves/elvish/eval/eval.go:240 +0x273
  github.com/elves/elvish/program/shell.script()
      /home/v/go/src/github.com/elves/elvish/program/shell/script.go:52 +0x358
  github.com/elves/elvish/program/shell.(*Shell).Main()
      /home/v/go/src/github.com/elves/elvish/program/shell/shell.go:44 +0x18e
  github.com/elves/elvish/program.Main()
      /home/v/go/src/github.com/elves/elvish/program/program.go:123 +0x266
  main.main()
      /home/v/go/src/github.com/elves/elvish/main.go:14 +0x62

Goroutine 18 (finished) created at:
  github.com/elves/elvish/eval.(*pipelineOp).invoke()
      /home/v/go/src/github.com/elves/elvish/eval/compile_effect.go:100 +0x1fa
  github.com/elves/elvish/eval.effectOp.exec()
      /home/v/go/src/github.com/elves/elvish/eval/op.go:26 +0x82
  github.com/elves/elvish/eval.chunkOp.invoke()
      /home/v/go/src/github.com/elves/elvish/eval/compile_effect.go:26 +0xaf
  github.com/elves/elvish/eval.(*chunkOp).invoke()
      <autogenerated>:1 +0x7b
  github.com/elves/elvish/eval.effectOp.exec()
      /home/v/go/src/github.com/elves/elvish/eval/op.go:26 +0x82
  github.com/elves/elvish/eval.(*Frame).eval()
      /home/v/go/src/github.com/elves/elvish/eval/frame.go:149 +0xc9
  github.com/elves/elvish/eval.(*Evaler).Eval()
      /home/v/go/src/github.com/elves/elvish/eval/eval.go:199 +0x260
  github.com/elves/elvish/eval.(*Evaler).EvalInTTY()
      /home/v/go/src/github.com/elves/elvish/eval/eval.go:240 +0x273
  github.com/elves/elvish/program/shell.script()
      /home/v/go/src/github.com/elves/elvish/program/shell/script.go:52 +0x358
  github.com/elves/elvish/program/shell.(*Shell).Main()
      /home/v/go/src/github.com/elves/elvish/program/shell/shell.go:44 +0x18e
  github.com/elves/elvish/program.Main()
      /home/v/go/src/github.com/elves/elvish/program/program.go:123 +0x266
  main.main()
      /home/v/go/src/github.com/elves/elvish/main.go:14 +0x62
==================
b
Found 1 data race(s)

Oh, the assignment is just a pointer assignment, which is atomic (?), so it’s not dangerous apparently.


Kaban board project review

Number of people: 2
Student A: Enoque jonas
Student B: Sebastian Martin

Project Link

STATUS: CHANGES REQUIRED ♻
Hi @enoqueJonas, and @sebalp100👋,
Good job so far!
There are some issues that you still need to work on to go to the next project but you are almost there!

Required Changes ♻

[ ] Some of the task cards are missing descriptions (tasks 8, 9, 10, 11), Please make sure that every task card has a description of the task as requested in the project requirements.

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
You can also consider:
N/A
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Status: Approved 🟢 🟢 🟢
Hi Team,
Good job working on the changes asked by the previous reviewer 👍🏽
Your project is complete!  There is nothing else to say other than... it's time to merge it: ship it:
Congratulations! 🎉
Highlights:
✅ Setup Kanban Board correctly 👍🏽
✅ Tasks are shared fairly 👍🏽
✅ Good descriptive issue 👍🏽
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


1.3.1 Coolboarders EU entrypoint broken

tonyhax version: 1.3.1
Installation method: wLaunchELF
Entry point game: Cool Boarders 4 (PAL-E)
Bug explanation:
This information was passed on to me, I don't know anything other than that the entrypoint fails

Thanks for the report. Fixed with v1.3.2: https://github.com/socram8888/tonyhax/releases/tag/v1.3.2


Remove useless pull consumer example

only remove useless pull consumer example

Hi @azhsmesos you can see this document how to submit a PR https://rocketmq.apache.org/docs/贡献指南/31pull-request
merge you branch to develop instead of master

thanks, please close it, I submit PR again

link #5139


Marker has wrong position

Hey guys,
nearly everything is working as expected. I am feeding a geojson file with the correct coodinates (15 decimals). Leaflet renders the markers with only the precision of 11 decimals.
Anyway of fixing that?
Help is much appreciated :)

Can you publish a fiddle/codepen/playground that displays this behaviour?

Just FYI:

@IvanSanchez is one chromosome precision good enough? I'm not sure...

Given @mourner's helpful chart, I would probably suggest this issue be closed. @danielreiser what input source are you using for 15 decimal places? Even if the 15 decimal places were all legitimately generated, how would we ever represent that level inside today's web browsers?

So Javascript will always try to use 64-bit floating point numbers (https://blog.mozilla.org/javascript/2013/11/07/efficient-float32-arithmetic-in-javascript/), the kind with 15-16 digits of precision.
On the other hand, this might be an architecture-dependent bug. While in practice everybody uses 64-bit processors to run modern browsers nowadays, in theory there should be a platform+browser+code combination which triggers this bug.
However, until that combination is shown in front of me, I'll close this.


allocator_type conflicting with wide-integer.

Hi!
Very very very Thanks for all yours libs.
I'm getting errors when use wide-integer and wide-decimal in same source file,
most errors are from operators and types redefined.
attached is a compile log and a file to test.
test.cpp.txt
test_cpp_log.txt
BestWishes,
Gratefull, Dani.
tested in :
Linux ubuntu amd64 22.04 LTS Jammy Jellyfish
gcc-12.0.1

getting errors when use wide-integer and wide-decimal in same source file

Hi Dani, it is great to hear from you.
At the moment, at least up until now, I have had no plans to support interoperability of wide-decimal and wide-integer.
This is a completely un-tested area.
I will study the situation and if simple changes allow for inter-operability, then we can consider implementing that.
Another note: As you may be aware, I'm also co-author/co-maintainer of Boost.Multiprecision. For that project, we specifically and intentionally support interoperability of the different number types. But this comes at a rather large cost of boiler-plate generic code.
All of this means that it's not a sure thing if I/we can/will support interoperability of these smaller, dependency-free projects.
I will, however, take a look.

Ah... I see (the first) conflict.
Each of the classes uintwide_t and decwide_t use (for certain digit ranges) a redundant copy of the class util::dynamic_array.
I could/should be able to separate these two redundant copies in project-specific namespaces. This might take a few tries.
I can't yet guarantee that this will work and that no other problems might arise, but I know where to look/snoop around based on your included sample code and log file.
Thanks Dani, I will investigate.

First step:

Support namepsace-specific version(s) of util::dynamic_array class.
Then see what happens.

Regardless of any potential interoperability (or lack thereof) this is probably a good thing to investigate or implement.

Hi!
Very Very VeryThanks!
BestWishes,
Gratefull, Dani.

Hi!
Searching docs,
There are namespaces for both wide-integer and wide-decimal :-)
I setted him and now compile ok.
Maybe need more tests, but I believe this is working now.
this made the dynamic_array stay one level more from both wide-integer and wide-decimal
@ckormanyos  You Are a Genius!
Very Very Very Thanks,
GrateFull, Dani.
test.cpp.txt

this made the dynamic_array stay one level more from both wide-integer and wide-decimal

Super cool! Thanks Dani. Good job! You rock!
We could take a little more time and come up with a more flexible (permanent) and versatile solution for this namespace conflict as we progress.
But this will take me a few days to figure out...

Hi!
Very Very Very Thanks!
I will survive a few days of waiting while I use the namespace trick.
I can help.
I thought of some possible solutions: dynamic_array become a
separate library or add an extra level of namespace to it or ?
Best Whishes,
GrateFull, Dani.

The helper-container template class util::dynamic_array<>
is used in both the
decwide_t_detail.h
header (secondarily included in decwide_t.h) as well as the
uintwide_t.h
header.
This can lead to a conflicting multiple definition
of this container class.
Use
#define WIDE_INTEGER_DISABLE_IMPLEMENT_UTIL_DYNAMIC_ARRAY

Ensure that this definition appears above the line that #includes
the uintwide_t.h header.
Do this for all files including both big-number headers.
Alternatively, this preprocessor
switch can be defined on the command line of the compiler call(s)
for the project.

Hi!
Very Very Very Thanks!
Best Whishes,
GateFull, Dani.

Hi Dani (@danieagle) thank you for your continues support and use of these libraries. I was very happy to find this resolution to this issue and it gave me a lot of (unfinished) ideas.
Here is a link to the test case that mixed wide-integer and wide-decimal in the same translation unit.
This test file is not included in the standard test-suite but serves as a standalone example. It does, however, run on two compilers in CI.
This issue is closed with ff421b9212abd426b9172ddde88d4742f9bfde19

Hi!
Very Very Very Thanks!
I'll survive waiting some days before the final fix.
I can help. What you think about ?
The array_dynamic can be a separate lib?
or up one level the original namespace
Of array_dynamic?
Or ?
Best Wishes,
GrateFull, Dani.
Em dom, 29 de mai de 2022 16:53, Christopher Kormanyos <
@.***> escreveu:

this made the dynamic_array stay one level more from both wide-integer and
wide-decimal
Super cool! Thanks Dani. Good job! You rock!
We could take a little more time and come up with a more flexible
(permanent) and versatile solution for this namespace conflict as we
progress.
But this will take me a few days to figure out...
—
Reply to this email directly, view it on GitHub
https://github.com/ckormanyos/wide-decimal/issues/166#issuecomment-1140514345,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADC32VE52UPVXXQP3FNFQO3VMPDL5ANCNFSM5XIOSTUA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Adding functions to Like model

Updating models.py- adding functions to Like model
Creating test_like.py- adding tests to Like model
Resolve #29

Please rebase main and push --force

Please rebase main and push --force

Done


Edugonz/api ts sample

Adds API Typescript sample

@edugonz,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[BACKPORT from Java doc] Fixes the documentation of semaphore release method

Fixes the documentation of semaphore release method.
Backport of https://github.com/hazelcast/hazelcast/pull/17823

Windows test PASSed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.


Understanding grouped bar charts

I have few data which I have implemented using Bar chart using grouped bar chart. However the rendering is not as expected. The numbers in Y axis is getting defined randomly. Really want to implement this successfully. Appreciate any help.
PFB my code:
import React from 'react';
import Panel from 'muicss/lib/react/panel';
import axios from 'axios';
import {scale, format} from 'd3';
import BarChart from 'react-d3-components/lib/BarChart';
import clone from 'lodash/clone';
import each from 'lodash/each';

export default class PublicNetworkLedgersHistoryChart extends React.Component {
  constructor(props) {
    super(props);
    this.panel = null;
    this.colorScale = scale.category10();
    this.state = {loading: true, chartWidth: 400, chartHeight: this.props.chartHeight || 120};
  }

  componentDidMount() {
    this.getLedgers();
    setInterval(() => this.getLedgers(), 1000*60*5);
    // Update chart width
    setInterval(() => {
      let value = this.panel.offsetWidth-20;
      if (this.state.chartWidth != value) {
        this.setState({chartWidth: value});
      }
    }, 5000);
  }

  getLedgers() {
	    axios.get('/ledgers/public')
      .then(response => {
        let data = [{
          label: "Transactions",
          values: []
        }, {
          label: "Operations",
          values: []
        }];
        each(response.data, day => {
          data[0].values.unshift({x: day.date, y: day.transaction_count});
          data[1].values.unshift({x: day.date, y: day.operation_count});
        });
        this.setState({loading: false, data});
      });
  }

  render() {
    return (

 { this.panel = el; }}>
        <Panel>

            Txs
             & Ops in the last 30 days: Live Network

          {this.state.loading ?
            'Loading...'
            :
            <BarChart
              groupedBars

              data={this.state.data}
              width={this.state.chartWidth}
              colorScale={this.colorScale}
              height={this.state.chartHeight}
              margin={{top: 10, bottom: 28, left: 50, right: 10}}/>
          }
        </Panel>

    );
  }
}

Also I have attached the output which axios.get('/ledgers/public') is returning.
data.txt
Following is screenshot of the rendered chart as per data:

I am wondering why the min value in Y axis is not 0? and the chart is also not rendered properly.

Hi @codesuki what type of function am I supposed to write in order to get the legends too.

This tooltipHtml feature isn't working for me. I have also declared this variable:
var tooltip = function(x, y0, y, total) {
console.log(y.toString())
return y.toString();
};
the console.log(y.toString()) works here but doesn't show on the UI?

Hi @codesuki

This tooltipHtml feature isn't working for me. I have also declared this variable:
var tooltip = function(x, y0, y, total) {
console.log(y.toString())
return y.toString();
};
the console.log(y.toString()) works here but doesn't show on the UI?


parallelize tag reads

With a slightly smarter reader we could easily read all tags for an ifd in parallel.
https://github.com/geospatial-jeff/aiocogeo/blob/master/aiocogeo/ifd.py#L42-L45

Amounts to basically removing that await?

Kind of. It's a little more difficult mostly because the offset which keeps track of where we are in the file is incremented inside the call to .read().  The same file reader is shared across each coroutine so we can't try to read all tags at once because the offset will get messed up, especially as we seek into other parts of the file to search for large tag values.
The coupling of the http request (the thing we want to await) and the offset increment isn't a great design pattern for this reason, and something I intend to replace.  Although it made initial development of the library much easier.

Scratch that, the requests which reach to other parts of the file to fetch tag values don't call .read() so this is easy to implement.
https://github.com/geospatial-jeff/aiocogeo/blob/master/aiocogeo/tag.py#L86


Search Fixes + Tests

Tasks:

[x] add tests for basic search
[x] add tests for each flag
[x] sort all

Issues:

[x] #485
[x] #486

@soumyabasu @Sumukh Ready.

fixes #485 #486

@Sumukh Added more tests that actually verify -onlyfinal and -onlybackup functionality. Ready.


DSpace does not translate backslashes into characters.

When importing titles and abstracts, dspace presents backslash quoted characters.
These quoted characters should be replaced with the corresponding character such as quote (") , return (\n) etc.

[\r]\n should be translated into <br> in order to keep the formatting


[feature/cypress12] Update security and security-dashboards-plugin tests to run with Cypress12

Description
Removes unnecessary references to cy.server() that were removed in Cypress12.
Migration guide: https://docs.cypress.io/guides/references/migration-guide#cyserver-cyroute-and-CypressServerdefaults
Issues Resolved
https://github.com/opensearch-project/security-dashboards-plugin/issues/1562
Related https://github.com/opensearch-project/opensearch-dashboards-functional-test/issues/408
Check List

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Is there an associated timeline that you were hoping to get this in?

Close the PR as it is inactive for a year. Please feel free to open if it is still needed.


Change namespace refactoring includes Assets.Scripts for Unity

Issue Description
When I try to use refactoring which adjusts namespace with folder hierarchy it wants to use {RootNamespace}.Assets.Scripts.{Folders}. For Unity projects I want to skip this prefix and use only {RootNamespace}.{Folders} as namespace. I tried to set RootNamespace to {BrandName.Product} and BaseDirectory to Assets/Scripts, but no changes.
JFYI: I've found similar resharper issue. Seems that it was solved: https://github.com/JetBrains/resharper-unity/issues/6
Steps to Reproduce
Create Unity project, open any script with vscode,
Try to use namespace refactoring.
Expected Behavior
It suggests {RootNamespace}.{Folders}  (skip Assets/Scripts from namespace providing)
Actual Behavior
It suggests {RootNamespace}.Assets.Scripts.{Folders}
Logs
OmniSharp log
Post the output from Output-->OmniSharp log here
C# log
Post the output from Output-->C# here
Environment information
VSCode version: 1.42.1
C# Extension: 1.21.14
Mono Information
        OmniSharp using global mono :6.8.0
Dotnet Information
.NET Core SDK (reflecting any global.json):
 Version:   3.1.102
 Commit:    573d158fea
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.15
OS Platform: Darwin
RID:         osx.10.15-x64
Base Path:   /usr/local/share/dotnet/sdk/3.1.102/
Host (useful for support):
Version: 3.1.2
Commit:  916b5cba26
.NET Core SDKs installed:
3.1.102 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-dotnettools
1.21.14

intellij-idea-keybindings
k--kato
0.2.37

pgformatter
bradymholt
1.12.0

unity-debug
Unity
2.7.3

vscode-edit-csv
janisdd
0.2.6

vscode-scss
mrmlnc
0.9.0

vscode-scss-formatter
sibiraj-s
1.4.3

vscode-typescript-tslint-plugin
ms-vscode
1.2.3

vscode-unitymeta
PTD
0.0.7

vscode-versionlens
pflannery
0.25.0

xml
DotJoshJohnson
2.5.0

@Dem0n13 Currently Roslyn doesn't have the Resharper concept of a NamespaceProvider for solution folders. @ryzngard

Any chance that this get changed? It would be very nice to have.


16 fixables vulnerabilities are present on eqalpha/keydb:x86_64_v6.3.2

Request for Update Docker Image
I hope this message finds you well. I would like to use your image, but I have found multiple vulnerabilities on the latest version of the image on ArtifactHub.
There is 16 fixables vulnerabilities present on the latest image.
Could you please update the Docker image to fix these vulnerabilities?
Additionally, could I have access to the Dockerfile? I couldn't find it.
Thank you for your time and efforts.

https://docs.keydb.dev/docs/dockerfiles/

Thanks, we will take a look at this. The latest Dockerfiles are now located here: https://github.com/Snapchat/KeyDB/tree/main/pkg/docker
The ones listed in that link are out of date. I have made an issue to update this document and link to the source Dockerfiles instead

We've updated our images to include the latest security fixes.


events: register Moment type

Add Moment type for those who used it. Got several failed api calls failed otherwise.

@clangenb can you merge this plz?


[WEB/CLIENT] Incorrect server running/motd/player count received/sent by the client.

Log
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] Running: true
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] Port: 25565
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] Details from ConServerStatus:
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] Host: localhost
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] Port: 25565
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] Running: false
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] Motd: -
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] Version: -
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] Players: 0
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] CPU Speed in GHz: 3.9
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] CPU Max. Speed in GHz: 0.0
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] MEM available in Gb: 52.682446
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] MEM used in Gb: 73.06381
08.12 18:06:55 [Server] INFO [23:06][AP][INFO] MEM total in Gb: 125.74626

Actual
Server is actually running, but running is sent as false instead.
Steps
Happens after a server restart.
Screenshots
(Optional) Screenshots to help explain your problem. You can copy and paste them here.

Cant reproduce!


Close input stream after parsing JSON snapshot

CORE-2806 If the input stream parsing the snapshot file does not get
closed, then the process cannot delete the snapshot file after it is done
using it

@nvoxland Thanks, yes, I want it to target ddb.  Github allowed me to change the target here.

thanks


[Table] - Semantic Table Alignment for html elements in

Steps to Reproduce

Create 'ui celled table'
Create following structure like :

Result
Only text contents are aligned.

Cannot reproduce, the alignment is just fine
See here https://jsfiddle.net/q9rh4fx2/


[Q alarm] Not saving configured day of week

Affected hardware version
Bangle 2
Your firmware version
2v12
The bug
Description
Q alarm app not saving configured days of week on any alarms.
Expected
Q alarm app saves days of week configured per alarm.
Steps to recreate

Create/alter any alarm within Q alarm.
Attempt to change default days of week.
Save alarm changes.
Alter same alarm
View days of week again
Will be default values. (Note: not just visual bug, alarms will go off every day regardless of settings)

There's sth. wrong with storing the DoW setting in qalarm.json: No matter what and how many weekday(s) you disable, there's only one "false" and it's is always in the last position of daysOfWeek.

[{"t":66300000,"on":true,"rp":true,"as":false,"hard":false,"daysOfWeek":[true,true,true,true,true,true,true,false],"last":10}]

Looks like this was probably fixed by #1555, feel free to reopen if you see the issue


[T3A7][T01-T3] Ang Lang Yi

Ready for review

@maltiso Some comments added. Please close the PR after reading comments.


Failed Reference when Pushing New Branch

Describe the bug
When the action is run on a new branch push, the run fails. This is because the script cannot find the previous reference and uses 0s.
To Reproduce
Create a new branch and push a DrawIO file on that branch.
Expected behavior
Should reference the last commit from the previous branch
Screenshots

Currently, the search for the previous reference is not possible based on the branches.
I have opened #37 to try to improve this behavior in the future.


Support for Multiple Filter Values on Same Column

DataTables allows a regex search joining values on "|" to filter on a column for multiple values.
Documented here:
https://datatables.net/forums/discussion/6946/multiple-filters-on-same-column
Currently, the ability to join search criteria with a "|" does not produce the expected results.

@nchelix As previously mentioned by @VictorioBerra, server-side regex search is not supported. I recommend to use GlobalSearchPredicate or CustomFilterPredicate (depend on your needs), see Sample2 and Sample3.


Changes for enabling cc through dotnet test

Changes for enabling cc through dotnet test.

@harshjain2,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


IMAGE_LOAD_CONFIG_DIRECTORY64 should not be #[repr(packed(4))]

Summary
https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/System/Diagnostics/Debug/struct.IMAGE_LOAD_CONFIG_DIRECTORY64.html
This struct currently seems to be marked as #[repr(C, packed(4))], however I don't see any documentation which claims that it should actually be packed? Is this a mistake or am I mistaken?
Crate manifest
No response
Crate code
No response

winnt.h uses #include "pshpack4.h" for a bunch of types. Specifically for IMAGE_LOAD_CONFIG_DIRECTORY64, see the comment on line 19968 in SDK 10.0.22621.0.

Strange that it does this for IMAGE_LOAD_CONFIG_DIRECTORY64 but not IMAGE_LOAD_CONFIG_DIRECTORY32? Also it doesn't seem to be documented anywhere...

Ir should the IMAGE_LOAD_CONFIG_DIRECTORY32 also be marked as packed(4)?

IMAGE_LOAD_CONFIG_DIRECTORY32 is similarly packed in the headers but also it's naturally packed(4) so explicitly packing is redundant.

Oh I see. Well then since I was mistaken I'll close this issue

@ChrisDenton it seems that IMAGE_LOAD_CONFIG_DIRECTORY64 contains no padding, so shouldn't packing be unnecessary here?

winnt.h starts with a #include "pshpack4.h" and pushes/pops the packing stack until eventually hitting #include "poppack.h", returning to the original 4 byte packing, before the definitions to IMAGE_LOAD_CONFIG_DIRECTORY32 and IMAGE_LOAD_CONFIG_DIRECTORY64 follow.

It does contain 8 byte aligned values so the struct itself will be 8 byte aligned without the packed(4).

Thanks Chris, I understand it now


What augmentation is used?

I looked in torchbiomed and here, but can not find answer, what particular transform methods are used? Is it rotating, cropping, shifting?
Also, you are resizing Luna dataset to meet input or are you cropping and padding areas with nodules?

did you find the answer? @dearkafka


Employees Section, implement delete functionality

Implement delete functionality for Employees

This functionality is implemented. An employee can be deleted


Request info

Hi, thank you for your project.
I'd like to ask you some information:

how do you see the version of htmx? Can I upgrade it to the latest version?
which framework and template combination is most suitable for small projects?
Thank you.

Hi, @iezed
I'll answer in the same order:

The latest version of htmx and hyperscript is downloaded automatically (during create, run and build commands) if htmx: latest and hyperscript: latest parameters are set in .gowebly.yml file respectively. You can set any version to your liking.
In my opinion, the best for small projects would be a bundle of Fiber backend and Tailwind CSS frontend. It's the perfect way to start when you don't know these technologies yet.

Hi, @koddr
Being in a learning phase, it would be useful to have a way to recreate the project, without deleting everything. It's possible? gowebly create ask for empty folder.
How do I change BACKEND_PORT?
I tried to put BACKEND_PORT=5000 in .env, but it doesn't work.
If I add a new post or get method, the favicon.ico file is not found. Wouldn't it be better to move favicon.ico to the root of static?
Thanks.

To change the port, you can change the port option in the .gowebly.yml file. You don't need to recreate anything!

That's the good thing about the Gowebly CLI, because it helps you quickly change this configuration of your application.

The answers to the other questions are better found in the documentation for environment variables and how the .env file works, as they are more fundamental and require a base.

@iezed by the way, we launched the official Gowebly CLI docs: https://gowebly.org/
Hope you find answers to all of your questions! 😊


Modify blocks on xhibit databases

Pull Request Objective
This piece of work is being tracked in this GitHub Issue.
I would like to update the explicit denies on xhibit databases.
I have included my changes in this PR:
https://github.com/ministryofjustice/analytical-platform/pull/4752
This sets the protected names to only be xhibit and xhibit_derived. These can only be created or modified by the CaDT role.
This will enable other databases, xhibit_*, to be created by airflow roles. Which is fine at this point in time.
I have removed permissions associated with: "courts-data-engineer" and "restricted-admin". These roles can be deprecated following the move to SSO.
Checklist

[!NOTE]
Each items should be checked. Skipping below checks could delay your PR review!

[x] I have reviewed the style guide
and ensured that my code complies with it
[ ] All checks have passed (or override label applied, if I've
used the override-static-analysis label, I've explained why)
[ ] I have self-reviewed my code
[ ] I have reviewed the checks and can attest they're as expected

Additional Comments

FYI @thomashepworth

Replaced by this PR due to signed commit issue.
https://github.com/ministryofjustice/analytical-platform/pull/4767


Support for .schema files in addition to .schematic

I know this is probably asking a lot 🙂  but it would be amazing if this plugin could be enhanced to support the newer .schem format.  Creating .schematic files appears to be getting harder as it's such an old format now, which means that leveraging any arenas you create yourself seems to be very difficult (unless I am missing something - which is entirely possible).
When I attempt (long-shot) to use a schem file created from the latest version of WorldEdit (7.2.10) an enormous amount of IOException stack traces get printed:
[Server thread/WARN]: java.io.IOException: Invalid tag type: 11.
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:170)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:102)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:160)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:149)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:102)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:160)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:102)
[Server thread/WARN]:         at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:80)
[Server thread/WARN]:         at me.brunorm.skywars.schematics.SchematicHandler.loadSchematic(SchematicHandler.java:356)
[Server thread/WARN]:         at me.brunorm.skywars.structures.SkywarsMap.loadSchematic(SkywarsMap.java:258)
[Server thread/WARN]:         at me.brunorm.skywars.structures.SkywarsMap.getSchematic(SkywarsMap.java:265)
[Server thread/WARN]:         at me.brunorm.skywars.structures.Arena.isInBoundaries(Arena.java:593)
[Server thread/WARN]:         at me.brunorm.skywars.structures.Arena.isInBoundaries(Arena.java:589)
[Server thread/WARN]:         at me.brunorm.skywars.events.Events.onMove(Events.java:49)
...

If this is too big an enhancement request then I totally get it, but I I thought I would ask (even though you mention this format incompatibility on your main GitHub page for this plugin).

I already started working on making schem files work, but I haven't done anything that works yet. At some point, I will make it read schem files, but for now, I have some problems that I need to get rid of in order to be able to do this.

I discovered the Invalid tag type: 11 error is because the old version of JNBT that I was using doesn't have the tag type IntArray. I will start using another library that allows me to read both schem and schematic files. I'm currently testing and I may come up with a solution where the plugin can use both file types.

Fixed in 035a5355ac2046adfb23cc2eb3e5509ad6b44e9c


Log using UTC time

I have a simple logger setup:
import logging "github.com/op/go-logging"

func main() {
    ...

    log := logging.MustGetLogger(name)

    // Setup the logger
    logBackend := logging.NewLogBackend(os.Stdout, "", 0)
    var format = logging.MustStringFormatter(
        `%{time:2006-01-02 15:04:05.000} : %{level:-6.6s} : %{message}`,
    )
    logging.timeNow = timeNow
    logBackendFormatter := logging.NewBackendFormatter(logBackend, format)
    logging.SetBackend(logBackendFormatter)
}

and I am trying to get it to output timestamps in UTC time, but I do not see a way to do this.  I think setting logging.timeNow would work, but this isn't possible because it is not exported.  Is there a way to do this?  If not, could we support using custom time functions?  I'd like to use something like:
func UtcTimeNow() time.Time {
    return time.Now().UTC()
}

Thanks!

Haven't tried it out, but NewLogBackend(out io.Writer, prefix string, flag int) proxies the flag variable to the standard log library's log.New. The flags supported include UTC time: https://golang.org/pkg/log/#pkg-constants
const (
        // Bits or'ed together to control what's printed.
        // There is no control over the order they appear (the order listed
        // here) or the format they present (as described in the comments).
        // The prefix is followed by a colon only when Llongfile or Lshortfile
        // is specified.
        // For example, flags Ldate | Ltime (or LstdFlags) produce,
        //	2009/01/23 01:23:23 message
        // while flags Ldate | Ltime | Lmicroseconds | Llongfile produce,
        //	2009/01/23 01:23:23.123123 /a/b/c/d.go:23: message
        Ldate         = 1 << iota     // the date in the local time zone: 2009/01/23
        Ltime                         // the time in the local time zone: 01:23:23
        Lmicroseconds                 // microsecond resolution: 01:23:23.123123.  assumes Ltime.
        Llongfile                     // full file name and line number: /a/b/c/d.go:23
        Lshortfile                    // final file name element and line number: d.go:23. overrides Llongfile
        LUTC                          // if Ldate or Ltime is set, use UTC rather than the local time zone
        LstdFlags     = Ldate | Ltime // initial values for the standard logger
)

@talee LUTC isn't taken into account when the package generates the timestamp.
@clawconduce Please see the referenced pull request to export timeNow.

That looks good to me, if it's merged I believe this ticket should get closed

var format = logging.MustStringFormatter(
	`%{shortfile} ▶ %{level:.4s} %{message}`,
)

backend1 := logging.NewBackendFormatter(
	logging.NewLogBackend(&lumberjack.Logger{
		Filename:   "foo-ERROR.log",
		MaxSize:    1, // megabytes
		MaxBackups: 3,
		MaxAge:     1,    // days
		Compress:   true, // disabled by default
	}, "", log.LstdFlags|log.LUTC), format)

this worked for me.

var format = logging.MustStringFormatter(
	`%{shortfile} ▶ %{level:.4s} %{message}`,
)

backend1 := logging.NewBackendFormatter(
	logging.NewLogBackend(&lumberjack.Logger{
		Filename:   "foo-ERROR.log",
		MaxSize:    1, // megabytes
		MaxBackups: 3,
		MaxAge:     1,    // days
		Compress:   true, // disabled by default
	}, "", log.LstdFlags|log.LUTC), format)

this worked for me.


Sensors bringup.

LPS22HH (Fully functionnal, One-shot + IRQ, recovering only pressure)
HTS221 (Fully functionnal, One-shot + IRQ, recovering temperature and humidity)
Sparkfun rainmeter (Fully functionnal, ETR based, TIM8)
Sparkfun anemometer (Fully functionnal, ETR based, TIM2)

As stated with the others, they wanted this branch to be pushed like this into the main branch to be used as a base for their rebases.


Byte Serving

Hey,
Can I enable Byte Serving somehow?
I am having issues with seeking in a <video /> due to chromes requirement of byte serving

@FinnFrotscher yes, add ?play=true query to the file URL

You can test it with any video/audio file at files.veliov.com

adding ?play=true doesnt work for me. neither on my app nor on yours.
btw. Nice website!

I am using chrome.
On firefox - no problem

What format are trying to make work?

webm

Should be supported.
What actually error/misbehaviour is?
Could you check request/response headers when you're do time seeking?

The indicator for currentTime on the videoplayer stays at the beginning until the video has played through once. Then it jumps to the end. afterwards I can seek asf.
The player does not display any buffering.

<video autoPlay controls preload ref='video'src={this.props.video.link()+'?play=true'} type='video/webm' />

like this

Use source element inside video with content type
Like here: https://github.com/VeliovGroup/Meteor-Files/blob/master/demo/client/file/file.jade#L60
Try various setups with or without preload.
Is same video plays well on files.veliov.com?

No. same error on files.veliov.com
And I tried the source element. didnt work

Works well on: https://files.veliov.com/kYcmiZ2LekSoSxx5F
Looks like your video has no key-frames or something else is wrong with its meta-data

Ok I will investigate in that direction.

Yes that seems to be the problem. But i cant figure out how to fix it. Can you point me into a direction>