Remove .gif that is not used in README any more

End of an era :)

Hah I have to admit I couldn't remember the name of this package but I did remember "oh my glob" which did get me search results when I google oh my glob node 😁


will there be any liunux binaries any time soon?

just asking i know it will take time but seeing as macos havin it. so i thought may be you gave up on the idea of it. :)

Hi, yeah that kind of works already. There are some things like controls or colours which don't work yet. Just take a look at the linprep branch. You should find a makefile (linux.Makefile) there.
In the first few lines of that makefile, the required libraries are listed which you'll need to install.
I will close this issue now due to it being a duplicate (please refer to the "linux binaries" issue).
I'd be glad to hear from you about this! Just ask me if you have further questions (via discord or the "linux binaries" issue)
Thank you for your interest!

Hi, yeah that kind of works already. There are some things like controls or colours which don't work yet. Just take a look at the linprep branch. You should find a makefile (linux.Makefile) there.
In the first few lines of that makefile, the required libraries are listed which you'll need to install.
I will close this issue now due to it being a duplicate (please refer to the "linux binaries" issue).
I'd be glad to hear from you about this! Just ask me if you have further questions (via discord or the "linux binaries" issue)
Thank you for your interest!

yeah hey sure. um so i send a friend request to you pls check that names sirusliy_not_rahman.

@mariiaan i tested out the linux binaries there are some well typos. and rendering is not smooth keeps breaking on update etc. but could be how i setup my environment. also how do i contanct on discord cuz i cant reach you.

The video smoothness is not an issue of cmdplay-pp.
As for me, it runs well in a native terminal session. It does lag in the default ubuntu terminal emulator.
So you should try switching to another TTY (native session).
The buffer times are a problem of the new version (different audio backend). This is going to be fixed some day.


[doc] Broken links on /book/hw

Description
It looks like all the links are broken in the "Design Spec", "DV Document", and "Development Stage" columns are broken on https://opentitan.org/book/hw/.

Thanks for the report @dmcardle!

Should this be merged into #17658?

No, that's about links to sites that no longer exist. These seem to be broken links pointing within the documentation book itself.
cc @hcallahan-lowrisc

Thanks for the report @dmcardle
I've inherited #18052 from @hcallahan-lowrisc which I'll try to get fixed up and ready to go in tomorrow.
Closing this issue, as this is already tracked in #17591.

Feel free to add me as a reviewer!

Thanks for the report @dmcardle
I've inherited #18052 from @hcallahan-lowrisc which I'll try to get fixed up and ready to go in tomorrow.
Closing this issue, as this is already tracked in #17591.

Feel free to add me as a reviewer, @HU90m!


Feedback wanted: Syntactic sugar for naming mocks

For advanced matching it's beneficial - for determinism and clarity - to add an explicit name to a route via the options parameter:
fetchMock
  .mock(matcherFunc, 200, {name: 'test1'})
  .mock(matcherFunc2, 200, {name: 'test2'})

I've never liked this api, but thankfully never have to use it
Syntactic sugar for this would be to add a .name() method which sets the name of the last added route
fetchMock
  .mock(matcherFunc, 200).name('test1')
  .mock(matcherFunc2, 200).name('test2')

Or alternatively, an ES Proxy could be used to support behaviour like the following
fetchMock
  .test1.mock(matcherFunc, 200)
  .test2.mock(matcherFunc2, 200)

Final idea, support switching fetch-mock into 'name first' mode (this could also be via setting a config property):
fetchMock.expectRouteNames()
  .mock('test1', matcherFunc, 200)
  .mock('test2', matcherFunc2, 200)

Leaving this issue here for feedback

Final proposal:
fetchMock
  .$test1.mock(matcherFunc, 200)
  .$test2.mock(matcherFunc2, 200)

fetchMock.called('test1') // gets the calls actually handled by matcherFunc
fetchMock.called(matcherFunc) // gets the calls that matcherFunc actually matches

Or possibly
fetchMock.mock(matcher, response, name)

duck-typing
fetchMock.mock(object, name) // expect object to have a response property


HDDS-6033. Create a new docker compose env for External Root CA

What changes were proposed in this pull request?
Create a new docker compose env for External Root CA
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6033
How was this patch tested?
Tested with docker compose.

Thanks @adoroszlai for the review and merge.


Include extended typealias in index data

Previously only the type underlying the typealias was included in the index data. Now the extension of a typealias includes 2 entries, 1 for the underlying type and one for the typealias definition.
Fixes https://github.com/apple/swift/issues/64594

@swift-ci please test

I'm actually not sure if including the underlying type in the index data makes the most sense here, judging by https://github.com/apple/swift/commit/bd5f5d80e41978d6b614f67e8f1ace62ab9a535a it might have just been a side effect of a refactor. I just wasn't sure if it would be safe to remove that case

@swift-ci please test

@swift-ci please test

@swift-ci please test Windows Platform

Yep I was planning on squashing and merging but I will do it manually

@swift-ci please test and merge


Wants to add a Hackerrank problem named Digit frequency

Is your feature request related to a problem? Please describe.
Wants to add a Hackerrank problem named Digit frequency
Describe the solution you'd like
I want to write a program for that in C -language
Programming language

[x] C
[ ] C++
[ ] Java
[ ] Python

@Ayush7614 PLEASE ASSIGN ME THIS under Lgm-soc'21

I can do this in C++, Assign me
LGM_SOC

@Amit366  please mark the level in it !

Hey @Amit366 I can add a java solution to this.Please assign me this under LGM-SOC'21


Wall switch goes dark

Anyone have issues what the wall switch becomes disabled?  After opening/closing the door from HA the switch will work for a bit, then go dark again.
I've seen video what you can disable the wall switches intentionally, but why would it happen automatically?

If the wall switch goes dark, it means the +12v red wire is being pulled to ground by something.

That is what I suspected.  I've installed 8 of the 10 boards and all but one works.  Well they all work in that they will open/close and report everything, it is just that one also disables the wall switch . . .  usually.
odd


Change 'random' to 'datatype' to fix deprecations in faker

Fixes #148

Can you me the status of this fix?  I'm using<EMAIL_ADDRESS>and I see these deprecation messages repeating in the terminal.  Thank you.
Deprecation Warning: faker.random.number is now located in faker.datatype.number
Deprecation Warning: faker.random.uuid is now located in faker.datatype.uuid

@Robvio Thanks a lot 👍
Sorry for the late merge.

@Robvio @fogelfish Merged and released as v2.0.0-rc.25

Deprecation Warning: faker.random.uuid is now located in faker.datatype.uuid
...repeating in the terminal using the newest release:
$ graphql-faker --version
2.0.0-rc.25

@IvanGoncharov same as for @fogelfish .
Being spammed by:
Deprecation Warning: faker.random.uuid is now located in faker.datatype.uuid
Deprecation Warning: faker.random.uuid is now located in faker.datatype.uuid
Deprecation Warning: faker.random.uuid is now located in faker.datatype.uuid
Deprecation Warning: faker.random.uuid is now located in faker.datatype.uuid

even with 2.0.0-rc.25 🤔


Cannot update field data on numeric fields when formdata is processed

I think I encountered a bug related to how field values are rendered on numeric fields.
I am trying to dynamically change some field values after the form has been submitted. It works on StringFields for example but not on IntegerFields.
Actual Behavior
from werkzeug.datastructures import ImmutableMultiDict
from wtforms import Form, IntegerField, StringField

class MyForm(Form):
    string_field = StringField("Name")
    integer_field = IntegerField("Value")

formdata = ImmutableMultiDict([("string_field", "World"), ("integer_field", "")])
form = MyForm(formdata=formdata)
assert form.string_field.data == "World"
assert form.integer_field.data is None

form.string_field.data = "Hello"
assert form.string_field.data == "Hello"
assert 'value="Hello"' in form.string_field()  # <- works

form.integer_field.data = 42
assert form.integer_field.data == 42
assert 'value="42"' in form.integer_field()  # <- AssertionError

Traceback (most recent call last):
  File "/tmp/test.py", line 21, in <module>
    assert 'value="42"' in form.integer_field()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

Expected Behavior
Allow setting the field data on numeric fields after formdata is processed.
So the behaviour is aligned with other non-numeric fields.
Problem
Right now, all (or most) numeric fields use raw_data[0] if present for the fields value in the rendered HTML output.
def _value(self):
    if self.raw_data:
        return self.raw_data[0]
    if self.data is not None:
        return str(self.data)
    return ""

Environment

wtforms version: 3.0.1

EDIT: typo

I just saw that some of that behaviour has been previously discussed (https://github.com/wtforms/wtforms/issues/662). I can understand the rationale that by default the user input should be displayed as entered when the form is shown again.
But as far as I know, the field's value can't be changed if the field is re-rendered. Is that correct?
My (ugly) workaround is to set field.raw_data = None as well as field.data = <NEW VALUE>.

This is the same for DateTimeField and derived.
raw_data contains [""] when there is no input so the condition if self.raw_data: might be incorrect (taking #662 into account).
A correction might be to modify _value  in IntegerField:
def _value(self):
    if self.raw_data and self.raw_data != [""]:
        return self.raw_data[0]
    if self.data is not None:
        return str(self.data)
    return ""

Same in DateTimeField
(Sorry I tried to make a Pull Request but could not make the tests work)


resume support

Thanks for the component.
Does this component supports Resume?

No it doesn't
On Fri, Dec 16, 2016, 7:43 AM Saman Soltani<EMAIL_ADDRESS>wrote:

Thanks for the component.
Does this component supports Resume?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/james2doyle/vue-file-upload-component/issues/12, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABW_mGu2ZR0DJNs88WK0lbHaQi8ZA1Y6ks5rIrGQgaJpZM4LPTuH
.


Translated Home Page to Thai

@tesseralis please review my PR.

@iphayao I don't know Thai so I don't think I can review the actual translation :) I assigned @kiroskirin to it.
The one thing I noticed is that the title on line 53 isn't translated.

@kovr Thank you very much, I did fixed all your review.


#unless helper is not supported

http://handlebarsjs.com/ documents the #unless helper (inverse of #if) but mustache-csharp does not appear to support it.

@nikkilocke, I don't see the updates for {{#unless}} in this branch nor in yours.
Is it intended to be merged into this branch?

Hi Bryant,
That's probably because I found it too difficult, so gave up and used the workround
instead!
Regards,
Nikki
Bryant Gallardo wrote:

@nikkilocke, I don't see the updates for {{#unless}} in this branch nor in yours.
Is it intended to be merged into this branch?
—
Reply to this email directly or view it on GitHub.

--
Nikki Locke, Trumphurst Ltd.  PC & Unix consultancy & programming
http://www.trumphurst.com/

@nikkilocke @jehugaleahsa
I went ahead and added the {{#unless}} tag implementation for this in my fork.
Also added corresponding unit tests.
https://github.com/bryant988/mustache-sharp
After doing this, I wonder if it would be useful to have the #elif opposite equivalent also (#elunless)?
I might add that at another time.

Hi Bryant,
Sorry - I'm getting old, and my memory is not what it was :-)
Next time I have some spare time, I will look out the change and
bring it up to date.
I will also do the array index change again.
Can you explain exactly how I am supposed to do this (I am not
that familiar with github)?
If I clone your repo, does it overwrite the copy I have already
cloned? In which case, won't the previous work be lost?
Regards,
Nikki
--
Nikki Locke, Trumphurst Ltd.  PC & Unix consultancy & programming
http://www.trumphurst.com/

Hi again, Bryant,
I have searched the repository, and I can't find any record of an
unless tag. Sorry.
I do vaguely remember being stymied because I did not know how to
handle #unless ... else ... /unless, ans else seemed to be
inextricably linked to #if.
Regards,
Nikki
--
Nikki Locke, Trumphurst Ltd.  PC & Unix consultancy & programming
http://www.trumphurst.com/

@nikkilocke
I have searched the repository, and I can't find any record of an
unless tag. Sorry.

The work is done in my fork of this working branch https://github.com/bryant988/mustache-sharp
You can find the {{#unless}} tag commit details here:
https://github.com/bryant988/mustache-sharp/commit/60e40fa851ef9d6830757c6de51249e822b17772

I do vaguely remember being stymied because I did not know how to
handle #unless ... else ... /unless, and else seemed to be
inextricably linked to #if.

In my implementation, you can still use nested {{#elif}} and {{#else}} within the #unless statement, but they do not act like logical NOTs.
I thought about creating a {{#elunless}} (opposite of {{#elif}}) which would be equivalent to an else if(!condition)

If I clone your repo, does it overwrite the copy I have already
cloned? In which case, won't the previous work be lost

Depending on how you chose to clone the repo, it can create a new repo for you or you can choose to merge changes into your existing repo (which will not lose previous work)

Sorry, I was misunderstanding - I thought you were talking about
some change I had made.
--
Nikki Locke, Trumphurst Ltd.  PC & Unix consultancy & programming
http://www.trumphurst.com/


[SUPPORT] Method ExpressionEncoder.fromRow removed in Spark 3.0.0

Hello together,
I'm using a Hudi build from the current master branch and Spark 3.0.0.
Hudi uses the method org.apache.spark.sql.catalyst.encoders.ExpressionEncoder.fromRow(Lorg/apache/spark/sql/catalyst/InternalRow;)Ljava/lang/Object;
In Spark 3.0.0 this method was removed by commit https://github.com/apache/spark/commit/e7fef70fbbea08a38316abdaa9445123bb8c39e2
It would be great if Hudi would support Spark 3.0.0. But I'm not sure how to fix this in a way to still support Spark 2.x
Thanks a lot!
Sebastian

#1760  currently has the specific fix for this.

Thanks a lot for the fast response!


Bug report: Errorr performing OCR on image. (TypeError: c.load is not a function)

Describe the bug
OCR does not work. Attempting to OCR a supported image type results in
Error performing OCR on image. (TypeError: c.load is not a function)
To Reproduce
Steps to reproduce the behaviour or a link to the recipe / input used to cause the bug:

Select operation Optical Character Recognition
Add a supported file type
Observe Error

Expected behaviour
No error, OCR to perform as expected
Screenshots

Desktop (if relevant, please complete the following information):

Version: 10.16.0
Compile time: 12/04/2024 13:56:52 UTC
User-Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Link to reproduce

Additional context
Thanks as always.

Can reproduce on other systems.  Would be good to try to track down when this broke as the last commit appears to be over 2 years ago.

I am having this same problem. I've tried building locally and using Cyberchef online.

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36


Replace exception to silent passing in mypy plugin for non-Var attributes

Change Summary
Mypy plugin breaks with an exception if I store TypeAlias in model attributes, e.g.:
from typing import Union
from pydantic import BaseModel

class NotTrivialAttrubute(BaseModel):
    trivial: str
    __internal__ = Union[str, bytes]

Checklist

[x] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[x] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)

thanks so much.


Add "xpu" device tag to the device list to support Intel GPU

What does this PR do?
"xpu" is the PyTorch device for Intel GPU and is currently supported by Intel Extension for PyTorch (or IPEX for short, https://github.com/intel/intel-extension-for-pytorch). This PR adds the "xpu" device tag into the device support list of safetensors so that the XPU safetensors can be loaded without problem.

Thanks a lot for this PR.

Implemented with https://github.com/huggingface/safetensors/pull/428  (So I could fmt it), you are still co-authored in it.


Could it show Chinese problem name when using leetcode.cn?

@Xeonacid please try latest leetcode.cn plugin.


Add styles into a css file

Create styles.css file in the root directory and insert styles into it:

The styles have added


branch-2.1: Fix Not push down fixed char type in orc reader #45484

What problem does this PR solve?
Problem Summary:
In Hive, the ORC file format supports fixed-length CHAR types (CHAR(n)) by padding strings with spaces to ensure the fixed length. When data is written into ORC tables, the actual stored value includes additional trailing spaces to meet the defined length. These padded spaces are also considered during the computation of statistics.
However, in Doris, fixed-length CHAR types (CHAR(n)) and variable-length VARCHAR types are internally represented as the same type. Doris does not pad CHAR values with spaces and treats them as regular strings. As a result, when Doris reads ORC files generated by Hive and parses the statistics, the differences in the handling of CHAR types between the two systems can lead to inconsistencies or incorrect statistics.
create table fixed_char_table (
  i int,
  c char(2)
) stored as orc;

insert into fixed_char_table values(1,'a'),(2,'b '), (3,'cd');
select * from fixed_char_table where c = 'a';

before
empty

after
1	a

Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall

run buildall

run buildall

run p0

run buildall


Clarify that this BEP does not say anything about tractography yet

https://github.com/bids-standard/bids-bep016/pull/5#discussion_r313510119

Implicit in the fact that it's not described.


spreading Java array as argument to variadic param

There are two bugs here.

[ ] The typechecker accepts this incorrect code:
void doInts(Integer* ints) {}
value entries = ObjectArray(2, "");
doInts(*entries);

[ ] The backend blows up given this correct code:
void doInts(Integer* ints) {}
value entries = ObjectArray(2, 1);
doInts(*entries);

(Sorry, I was just playing around in the preview for the issue description, but then GitHub actually sent the edit… so I figured I’d make the best of it, and you can now check/uncheck the sub-issues individually)

Wait, @tombentley did you really fix both problems with that commit?

You wanted me to fix the typechecker problem too?

No, I just wondered why you closed the issue :)

Fixed now :)


consider change named args to match Duration and arg conventions.

Not a big issue but the named arguments on Time are inconsistent with Duration.
The Dart Duration class fully spells out each argument rather than using abbreviations.
In my opinion using a pattern consistent with Dart would make the library easier to use.
I also note some odd inconsistency between the Date and the Time ctors:
const Date(
this.year,
this.month,
this.day,
);
const Time(
this.hours, {
this.mins = 0,
this.secs = 0,
})
I guess the argument was that defaults for min and seconds made some sense.
I would argue that all of the args should be named parameters.
I don't like method signatures that have multiple arguments with the same type. It's way too easy to pass them in the wrong order.  Using named arguments makes these type of mistakes obvious.

I agree with you
I don't like method signatures that have multiple arguments with the same type. It's way too easy to pass them in the wrong order. Using named arguments makes these type of mistakes obvious.
But I'd like to make Date Time and Date interchangeable, and Date more transparent with required month and day:
final dateTime = DateTime(2000);
final date = Date(2020, 1, 1);

I hadn't really absorbed the fact that they were using optional parameters for DateTime.
I'm now torn.
I like the idea of being consistent with Dart but I think they probably made a poor choice here.
I can't say that I've ever initialised a date object to just a year in all my years of programming so the interface looks fairly useless.
The named arguments makes things clearer (particularly when you consider m/d/y, d/m/y... variants).
Personally I would still prefer to see them all as named args.
What about
Date({required int year, int month = 1, int day = 1});

Date(year: 2000);

and
Time({required int hour, int minute=0, int second=0});

Time(hour: 12);

This provides similar feel but IMO a superior interface.
One final note. The DateTime class uses 'hour' not 'hours', 'minute' not 'minutes'...

Agree, looks more clear, seems the next release will be with breaking changes

0.6.0


fixes timetout scenario faced to upgrade rook versions from 1.5.11 to 1.6.12

What this PR does / why we need it:
Because we are able to check that by upgrading from 1.5.11 to 1.6.12 the check to verify Rook versions and replicaset are always failing:
From testgrid: https://testgrid.kurl.sh/run/rook_upgrade_feb_2_2023-metrix-versions?kurlLogsInstanceId=bvlwilrytfcwanna&nodeId=bvlwilrytfcwanna-initialprimary#L0
2023-02-02 19:46:22+00:00 Error: failed to wait for Rook "1.6.11": timed out waiting for Rook 1.6.11 to roll out
2023-02-02 19:46:22+00:00 Timeout waiting for Rook version rolled out
2023-02-02 19:46:22+00:00 ⚙  Checking Rook versions and replicas
2023-02-02 19:46:22+00:00 rook-ceph-crashcollector-bvlwilrytfcwanna-initialprimary  	req/upd/avl: 1/1/1  	rook-version=v1.6.11
2023-02-02 19:46:22+00:00 rook-ceph-mds-rook-shared-fs-a  	req/upd/avl: 1/1/1  	rook-version=v1.6.11
2023-02-02 19:46:22+00:00 rook-ceph-mds-rook-shared-fs-b  	req/upd/avl: 1/1/  	rook-version=v1.6.11
2023-02-02 19:46:22+00:00 rook-ceph-mgr-a  	req/upd/avl: 1/1/1  	rook-version=v1.6.11
2023-02-02 19:46:22+00:00 rook-ceph-mon-a  	req/upd/avl: 1/1/1  	rook-version=v1.6.11
2023-02-02 19:46:22+00:00 rook-ceph-osd-0  	req/upd/avl: 1/1/1  	rook-version=v1.6.11
2023-02-02 19:46:22+00:00 rook-ceph-rgw-rook-ceph-store-a  	req/upd/avl: 1/1/1  	rook-version=v1.6.11

Which issue(s) this PR fixes:
Fixes # [sc-67862]
Special notes for your reviewer:
You can check the full log of the upgrade made with success in a VM with 100GB as testgrid:
install-2023-02-03T17-13-08.log
Steps to reproduce

Create a VM with 100GB install rook 1.5.11 and then upgrade to rook 1.6.12
You can check the error via testgrid: https://testgrid.kurl.sh/run/rook_upgrade_feb_2_2023-metrix-versions?kurlLogsInstanceId=bvlwilrytfcwanna&nodeId=bvlwilrytfcwanna-initialprimary#L0

Does this PR introduce a user-facing change?
fixes timetout scenario faced to upgrade rook versions from 1.5.11 to 1.6.12

Does this PR require documentation?
NONE

This looks good but would it be possible to link to a testgrid run of an upgrade from 1.5 to 1.6 with the fix so i can review the output?

I see the logs in the description. This LGTM


Running --stories hangs indefinitely

Instaloader halts mid rip for stories and hangs indefinably, mine was hung 8 days without knowing. Running again repeats behaviour
To Reproduce
Use --stories on any profile(s) with and without session file
Expected behavior
Stories should be ripped to completion
Error messages and tracebacks
No messages, instaloader simply halts at some point during the rip and dosent continue, and it is not just the rate limiter,nothing is output from instaloader
Instaloader version
4.5.3

This may be due to connection problems, leading requests to remain unresponded. Per default, Instaloader waits indefinitely for a response from the server. Instaloader has the option --request-timeout N to change this behavior.
Is this fixed by passing something like --request-timeout 30 to Instaloader?
(just for reference: --request-timeout has been suggested and implemented in #330, #422)

Seems to be working adding the --request-timeout, however, I've used it without that for atleast a year and I'm not having any issues loading instagram via the website or app. I would like to see if it is something else causing it instead of applying as band-aid to it when it could be something more serious behind the scenes.


add link to mindplay/middleman

as of release 1.1 this library provides a middleware resolver that allows for integration with any container-interop implementation

:+1:


Unable to edit Module settings after moving Module to another page

Fixes #3351
Summary

Moving a module from one tab to another changes the TabId for the TabModules but wasn't changing the tabID for the ContentItems which fails later by this condition:
DNN Platform/Library/Entities/Modules/ModuleController.cs >
public bool IsSharedModule(ModuleInfo module)
        {
            var contentController = Util.GetContentController();
            var content = contentController.GetContentItem(module.ContentItemId);
            return module.TabID != content.TabID;
        }

and the fix was to update the TabID of the ContentItems as well.

@david-poindexter yes please


Failed to use local server: "failed to locate provided credentials" error

I deployed local trains server according to this page https://allegro.ai/docs/deploying_trains/trains_server_linux_mac/, and it looks like it works fine. Then I make configuration with trains-init, and again it looks totally fine.
But immediately after that I'm receiving following error with simple Task.init() command:

Action failed <401/22: projects.get_all/v1.0 (Unauthorized (invalid credentials) (failed to locate provided credentials))>

Tried several times to make new credentials and insert them in trains.conf file manually, but got the same error.
Can't find any tip how to solve this problem =(

Hi @antklen
Thanks for the screen-garb that really helps!
I suspect it is trying to fetch the previous Task (from the cache) which was probably executed on the demoapp server, and it fails...
Try removing this folder ~/.trains/ (it is the cache folder of trains)
If it solved the problem, I think I know where the bug is, if it did not, we will keep digging :)

Hi @bmartinn
Thank you for your answer!
I tried to remove folder ~/.trains/, but it didn't help. I tested demoapp server, but after I had this error with local server.
Then I tried to do the same thing on another machine (deploy local server and run Task.init()), and there everything works well.
Before I started trains server, I had another server on port 8080 (wandb). Not sure if this could cause the problem. But I tried to clear some more cache, reinstall trains - still doesn't work.

But I tested web UI of demoapp server (without running any code) before starting local trains server, could it cause the problem?

@antklen let's make sure the services are running:
To test the web UI, just browse to http://localhost:8080 , if you can login and see your projects, it is all working well.
To test the backend RestAPI run curl http://localhost:8008 it should reply with a json style result.

web UI is working well, and response to curl http://localhost:8008 is

@antklen great, this means your server is up and running and working correctly :)
Now assuming you are running your code on the same machine as server.
Your ~/trains.conf should have a section looking something like this one:
api {
    web_server: http://localhost:8080
    api_server: http://localhost:8008
    credentials {
        "access_key" = "KEY"
        "secret_key" = "SECRET"
    }
}

If you wonder how to get the Key/Secret, go to http://localhost:8080/profile and click the "create new credentials" button.
Once this is setup, you should be able to open your ipython and run:
from trains import Task
task = Task.init('examples', 'my auth test')

@bmartinn Yes, I have this lines in ~/trains.conf. I tried several times to generate new credentials and to copy them into ~/trains.conf by hand or generate this file with trains-init, no changes.
Is there any way to check credentials in python script or via command line? I mean check exact values of access_key and secret_key entered by hand?

On profile page in web UI there is information that credentials were used:

@antklen when you add the credentials using trains-init it verifies them with the trains-server.
That said, based on the screen grab you attached, it seems like both generated credentials were never used ...

Could you change the localhost to your machine IP (temporarily, just so we  could better debug it),
it should look something like (obviously change th1 <IP_ADDRESS> to the actual IP address):

api {
    web_server: http://<IP_ADDRESS>:8080
    api_server: http://<IP_ADDRESS>:8008
    credentials {
        "access_key" = "KEY"
        "secret_key" = "SECRET"
    }
}

Maybe the $HOME folder is not stable?! (for example running the trains-init from one user and the code from another?) ... could you test with the following code
(notice we change the os environment before importing the trains package)

import os
os.environ['TRAINS_CONFIG_FILE'] = `/home/user/trains.conf`
from trains import Task
task = Task.init('examples', 'auth test')

@antklen did you manage to solve the issue?

Hi @bmartinn!
Sorry for late response, I wasn't able to work on issue for some time.
Your solution #1 works! Problem disappeared after I changed localhost to my machine IP.
Do you know what is the reason for such behavior?

I don't use VM, may be firewall or something else in my case.
Thanks a lot for your help!


feat: update openebs version

Automated changes by the update-addons GitHub action

Merging into a branch.


Figure out how to collect any Azure logs using the generic event hub integration

I want to collect Azure Application insights logs using the Elastic Agent.
Unfortunately, at the time of this writing, there isn't a specialized integration to collect such logs. But we can leverage the generic Event Hub integration to collect Azure Application insights logs and any other log exported using a Diagnostic Settings.

Prerequisites
Application
Search for a Diagnostic Settings that exports Azure Application insights logs.
For this test, I will use an application insight app (or component) named a-new-hope:

Event Hub
We need a new event hub to collect all the logs for this application.

Create or use an existing Event Hub namespace
Create a new event hub named "insightslogs"

Set up the Diagnostic Settings
Using the application a-new-hope:

Visit Application > Monitoring > Diagnostic Settings and click on Add diagnostic setting.
Set a name
Select all the categories you're interested in
On Destination details select Stream to an event hub
Select the namespace and event hub name from the drop down lists
Click Save

Collect the logs
Set up the agent

Create a new "Application Insights logs" agent policy for this test
Install the generic Azure Event Hub input integration

Set up the integration using the "insightslogs" event hub and the other options. See https://docs.elastic.co/integrations/azure#setup to learn more.

In this first iteration:

Leave "Parse azure message" off
Turn "Preserve original event: on

Explore the logs
Basic parsing
With the current configuration, the integration collects the applications insights logs as string in the message field:

Next Steps
At this point, we have two options:

Enable the "Parse azure message" to turn the content of the message field into an object, levering the dynamic mapping.
Add a custom pipeline and mapping to fine-tune the documents.

Enable the "Parse azure message"
This is a quick option to start using the logs. Go back to the agent policy and flip the "Parse azure message" switch:

Here is an example document with parsing enabled:

Add a custom pipeline and mapping
The document parsing is great, but there are downsides:

The automatic parsing turns the JSON log into an object; field names can vary a lot, depending on the conventions used by the Azure team responsible for the service.
Conflicts may occur; for example, log categories may have the same field name with different types

Conclusions
"Parse azure message" is a great option, but I recommend considering building custom pipelines and mappings to take complete control.


"Obârșia", "Câmpu Părului", "Coteni", "Obârșia Nouă ", "Tabonu" are listed in the drop-down menu

Description:
When user writes ” Obârșia”, "Câmpu Părului", "Coteni", "Obârșia Nouă" and "Tabonu" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Obârșia"

Expected results
The location appears in the drop-down menu as "Sat Obârșia, OLT (Obârșia)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Câmpu Părului "

Expected results
The location appears in the drop-down menu as "Sat Câmpu Părului , OLT (Obârșia)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Coteni"

Expected results
The location appears in the drop-down menu as "Sat Coteni, OLT (Obârșia)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Obârșia Nouă "

Expected results
The location appears in the drop-down menu as "Sat Obârșia Nouă , OLT (Obârșia)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Tabonu"

Expected results
The location appears in the drop-down menu as "Sat Tabonu, OLT (Obârșia)".


Translation for Simplified Chinese

added Translation for Simplified Chinese
There must be some words can be replaced by better translations, just didn't find out yet Imao

"housing" is hard to translate when it is virtual
I can't came up a proper word for it, hope figure it out after shower

I'm going to have to hold off on this PR until proper internationalization support is added to the website.


incorporate the requirements and files defined in IEC 61850 part 6-2 for HMI design

As an Engineer
I wan to defined in IEC 61850 part 6-2 HMI designs in CoMPAS
So I can design HMI's for substation within CoMPAS
Background:
Parts can be already build for SLD editor: https://github.com/openscd/open-scd/issues/309

The IEC 61850 part 6-2 is stopped by the IEC since it took to long to build something. A restart will be considerd.


split out FileAPI polyfill into a new module

This'd mean dropping using blobSymbols in a few places to get at the internal node Buffer.
While moving it out of here, should blobToBuffer be renamed to blobToNodeBuffer to be ultra-clear on what it does, as opposed to ArrayBuffer?

The prerequisite for this work is moving these classes to the webidl2js infrastructure. That's really necessary before we move them out of the repo and thus out of the easy refactoring path.
I think I tried this once, but got stuck for some reason. The work is in https://github.com/tmpvar/jsdom/tree/filereader-webidl2js.

It looks like Blob might be doable using https://github.com/tmpvar/jsdom/commit/fc2f27ec363b48281974807e64d5df7006c5616b but FileReader has some problems according to the commit message there.
For an example of how to move something to a separate module while using webidl2js, but still integrating with jsdom, see jsdom/whatwg-url.


adding ability to render SCFGs

This comes in handy during testing, when we don't have a Python derived SCFG and thus no ByteFlow.

@kc611 thank you for the review, will merge this now, so that the functionality becomes available. We can probably rename the ByteFlowRenderer to something else, since it now renders SCFGs and not "just" ByteFlow objects, but that can be done in another PR.


added a button to refresh basemap list

fix #673

src/js/widget-layout-editor.js
60 getInstitutionImagery should be after all life cycle methods (move below componentDidMount)
920-942 I am moving us all to a pattern that works better with eslint.  If you are returning a code block that starts with an html tag use parens.
return (
	<div>
	</div>
)

938 you can write this shorter {(this.state.imagery || []).length > 0 && this.state.imagery.map(imagery =>
I already have a helper function to do that in generalUtils. So the result is even shorter {safeLength(this.state.imagery) > 0 && this.state.imagery.map(imagery =>
939 if you want, you can destructure imagery in the function call .map(({id, title}) => <option key={id} value={id}>{title}</option>)


Re-enable merlin restart + skipping call to refreshImmediate if bsb is active

Fixes #76.
As mentioned in https://github.com/freebroccolo/ocaml-language-server/issues/76#issuecomment-348828974, it's enough to not run refreshImmediate when merlin restarts, if bsb is in tools.diagnostics. Skipping this call in that case has no consequences, afaik, and it avoids the race condition that caused #76:

onDidOpenTextDocument triggers a call to bsb -make-world
This changes the .merlin file of any modules in node_modules
That triggers a merlin restart
Which calls analyzer.refreshImmediate
Which ultimately calls bsb, and then step 2 happens again.

Thanks!


UX-Request Changing the image – changing the button

When I selected an image and uploaded it, the button text should change. "Bild wechseln" (change image) instead of  "Bild anhängen" ("Attach image".)

Don't code, discuss first. @mattwr18 @drjakob

Closing this as we discussed this and don't feel like it's necessary after adding the filenames. Also, we would like to get client feedback before doing something like this.


Deprecated Behavior

Hi, I've noticed that using paper 1.19.4 I started getting the following errors. I went ahead and provided the versions I'm using.
https://paste.gg/p/anonymous/e5dfdb9ae4ec4788978f6255a864c9eb
Server Version: Paper 1.19.4
worldguard-bukkit-7.0.8-dist
WorldGuard Extra Flags 4.2.1

Dupe of #236


Athena exe agent is starting as 16 bit application.

Describe the bug
Freshly generated agent cannot run on standard Windows 10 machine, displaying the following error:

I dedicated time to generate various executables with different "Target architecture" options, but the result was unchanged.
To Reproduce
Steps to reproduce the behavior:

Go to "https://<IP_ADDRESS>:7443/new/payloads"
Click on "ACTIONS -> Generate New Payload"
Chose "Windows" -> Next -> "Athena" on the dropdown.
Copy the following options and click "NEXT":

Click next on "Build Commands Into Agent"
Turn http profile, fill in your settings and click "NEXT"
Rename athena.zip to athena.exe and ship it to Windows 10 machine.
Try to execute it.

Expected behavior
After executing the implant, I should receive a callback on Mythic UI. During the time of the testing, no AV software is running on my Windows 10 system (21H1)

Can you try the dev branch and let me know if you have the same issue?

closing, as I haven't been able to recreate so I believe it's been resolved.


Path not found if non-ASCII characters are included.

When I create Sample.Tests.ps1 and place it in a directory, I get an error.
The following error occurs.
An error occured running Pester: Cannot find path 'C:\Work\縺ｻ縺偵⊇縺箪Sample\Tests' because it does not exist.

This actual path is "C:\Work\ほげほげ\Sample\Tests".
VSCode versions, etc. are as follows.

バージョン: 1.84.2 (user setup)
コミット: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e
日付: 2023-11-09T10:51:52.184Z
Electron: 25.9.2
ElectronBuildId: 24603566
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621

Thanks for reporting! Everything should be UTF8 through and through so I'll see if I can pinpoint this. I don't have an ETA but when I assign the issue to me it means I'm working on it.


update hash syntax

All Submissions:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Issue
https://github.com/vmware/rbvmomi/issues/189
some trailing spaces are removed because my sublime text does that on save. Hope thats okay!

Thanks so much for the contribution!


EC2 API additions -- rebased

As requested in #31, I've rebased against latest and eliminated deprecation warnings.

Thanks!


pod install fails  undefined method `visionos'

Environment

System:
OS: macOS 14.2.1
CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
Memory: 1.12 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 18.0.0 - ~/.nvm/versions/node/v18.0.0/bin/node
Yarn: 1.22.11 - /usr/local/bin/yarn
npm: 8.6.0 - ~/.nvm/versions/node/v18.0.0/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/stevemathers/.rvm/gems/ruby-2.7.6/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.4, iOS 17.4, macOS 14.4, tvOS 17.4, visionOS 1.1, watchOS 10.4
Android SDK:
Android NDK: 22.1.7171670
IDEs:
Android Studio: 2023.1 AI-231.9392.1.2311.11330709
Xcode: 15.3/15E204a - /usr/bin/xcodebuild
Languages:
Java: 11.0.17 - /Library/Java/JavaVirtualMachines/jdk-11.0.17.jdk/Contents/Home/bin/javac
npmPackages:
@react-native-community/cli: ^10.0.0 => 10.2.2
react: 18.2.0 => 18.2.0
react-native: 0.71.4 => 0.71.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Platforms

ios
Versions

Android:
iOS:
react-native-netinfo:
react-native:  71.4
react:

Description

[!] Invalid Podfile file:
[!] Invalid RNCClipboard.podspec file: undefined method `visionos' for #<Pod::Specification name="RNCClipboard">.
Reproducible Demo

@stefoid i encountered a similar issue and managed to resolve it. Here’s how I did it:
1 - Locate the File: Navigate to the RNCClipboard.podspec file inside your node_modules/@react-native-clipboard/clipboard directory.
2 - Edit the File: Open the RNCClipboard.podspec file in a text editor of your choice.
3 - Correct the Line: Change the line from s.visionos.source_files to s.tvos.source_files if you intend to support tvOS, or simply remove or comment out the line if tvOS support is not needed. It should look something like this:
s.osx.source_files = "macos/**/*.{h,m,mm}"
s.tvos.source_files = "ios/**/*.{h,m,mm}"  # Corrected from 's.visionos.source_files'

4 - Save the File: After making the changes, save the file.
5 - Reinstall Pods: Go back to your terminal, navigate to your project directory, and run:
cd /path/to/your/project
pod install

This should fix the problem related to the .podspec file. If the issue persists, consider clearing the cache of CocoaPods and your React Native project and trying again.
Hope this helps anyone facing the same issue!

You can go back to v1.13.2

same here

Had to do a patch.
On Wed, May 15, 2024 at 1:35 AM Ramo @.***> wrote:

same here
—
Reply to this email directly, view it on GitHub
https://github.com/react-native-clipboard/clipboard/issues/241#issuecomment-2111049623,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOTNQQBQ6C65YJYVMNSYVJTZCJVBPAVCNFSM6AAAAABHIFAY4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJRGA2DSNRSGM
.
You are receiving this because you commented.Message ID:
@.***>

same here

Is there anything news?

Any news here ?

Make sure you have visionOS installed

I was able to resolve this by upgrading my cocoapods to version 1.16.2 the latest at this time.
I had issues with sudo gem install cocoapods but was able to upgrade using brew install cocoapods..  I suspect that's how I originally installed it but had forgotten.

I was able to resolve this by upgrading my cocoapods to version 1.16.2 the latest at this time. I had issues with sudo gem install cocoapods but was able to upgrade using brew install cocoapods.. I suspect that's how I originally installed it but had forgotten.

Yes, I also suggest this cause I faced the same issue and just upgrade/install new version for cocoapods that we can resolve it


aspx code corruption wiht #ExternalSource and #End ExternalSource and __o =

This issue has been moved from a ticket on Developer Community.

[severity:It's more difficult to complete my work]
I do a lot of work converting classic ASP to .NET. Visual studio frequently completely corrupts the whole document’s code-blocks, leaving loads of code inserted containing __o =. This issue seems to happen mainly when  and  are used inside of HTML attributes. Such as:
’>
&var2=’>a link
However, the issue is not limited to these scenarios. It’s really difficult and time consuming to clean up the mess this bug makes. I would would like a small change to protect us.
(1) VS studio needs to take a document snapshot before running the code that creates these #ExternalSource, #End ExternalSource and __o = items.
(2) Do whatever work is done, and then check the returned code for: #ExternalSource, #End ExternalSource and __o
(3) If  ExternalSource, #End ExternalSource or__o  is found then revert the document to the undamaged snapshot and report the issue to Microsoft for correction (or show one of those yellow bars at the top of the code editor saying there's been a problem, and log it for the developer to report to you).
Thanks for your consideration. This change would save us a huge amount of wasted time. This issue has been present for many versions.

Original Comments
Feedback Bot on 8/17/2022, 07:21 PM:
(private comment, text removed)

Original Solutions
(no solutions)

aspx is not us :)
I'll reopen and move the original feedback


@releng - updated README

Description
Add missing configuration instructions
Types of changes

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

Checklist:

[X] I have signed the Adobe Open Source CLA.
[X] My change requires a change to the documentation.
[X] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[X] I have added tests to cover my changes and the overall coverage did not decrease.
[X] All unit tests pass on CircleCi.
[ ] I ran all tests locally and they pass.

This project doesn't have a dependency to the authoring tooling yet (only GraphQL client + Magento models), so the picker will not be available. Either we add the dependency and update the documentation with the setup, or not mention the picker for now. But I guess for components like the product teaser we anyway need the dependency.

@herzog31 good point I will mention the authoring toolkit. I think we have to because the components already using the cifcategoryfield & cifproductfield in the dialogs and therefor have indirect dependencies.

Well I wouldn't call it an "indirect" dependency, in this case, it's really required. Maybe, but I'm really not sure here, we could also embed these dependencies in the "all" package.

Codecov Report

Merging #10 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             master   #10   +/-   ##
======================================
  Coverage        49%   49%
  Complexity      104   104
======================================
  Files            17    17
  Lines           500   500
  Branches         28    28
======================================
  Hits            245   245
  Misses          243   243
  Partials         12    12

Continue to review full report at Codecov.

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

Just updated the PR and named it "optional" as the components itself will work, but will be limited. Maybe that is enough? We can refine if we have other components like teaser ready which really don't work without it.

@cjelger for the all package I would not embed it directly since it is a but we can add it as a package dependency.


LICENSE not in pypi tarball

Hi!
I'm currently en route to moving sphinx-argparse to the official repositories of Arch Linux.
As this software is MIT licensed I'm required to package the license file alongside the software.
However, when downloading the pypi source tarball, the LICENSE file is missing.
It would be great, if this could be added, as not only distributions require clear license statements, but also e.g. companies, that try to incorporate the software in some local build chain.
Thanks a lot!

I believe this PR should be sufficient to get the LICENSE file into the source dist https://github.com/ribozz/sphinx-argparse/pull/118
I couldn't see where the tar release was built during any Travis/build scripts, assuming it's done manually with python setup.py sdist and uploaded separately? Would be good to add the commands to the .travis.yml.

This repo is not the current upstream anymore, so closing.


Updated the gateway-controller-role ClusterRole permissions

This PR is to update the gateway-controller-role ClusterRole permissions as reported in https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-gatewayapi/issues/68

Thanks. Could you please fix DCO? https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md

@Chimbu-DoiT ping me when you will fix it, please. I will approve and merge. Thank you for contribution!

HI @Philipp-Plotnikov I have fixed DCO

Great work @Chimbu-DoiT !


Choice to run in in --enable-asserts mode

It would be great to be able to switch between checked/production mode for "run" to be able to demonstrate the different behavior for example for StackOverflow questions.

I'll add this to the service layer, should be an easy addition.

:+1: I was just running examples from the language tour, and realized that all the asserts were doing nothing.

I'd like this reopened, since there's still no UI (that I can find) for selecting checked mode.
Or is there, @devoncarew?

We could just default to checked? Right now we use dart2js' default, which is production mode.

@zoechi what do you think? For me, checked > unchecked, but it might be nice to toggle between the two (perhaps using a URL option, so it's not yet another thing onscreen).

There is also the upcoming strong mode.
It would be great to be able to demonstrate different behavior and error messages resulting from different modes.

I think we should choose a default for dartpad-using-dart2js; probably checked mode.
There's another issue tracking experimenting with using ddc in dartpad. In that dartpad, we'd turn on strong mode in the analyzer. It may make sense to have a UI option to switch between dart2js and ddc then, at least for a little while.

devoncarew@ is referring to #694.

I think this is obsolete

I don't think this issue is obsolete, because we still need a way to say "honor assert statements". Most of our language/library tour examples use asserts right now. I guess we could change them to prints, but that's a lot of code to change... And pedagogically it'd be good for people to be able to easily see what assert does. (This assumes that we'll still support asserts and have some sort of developer mode option... that was true last I heard.)
/cc @chalin

I'll rename/repurpose the issue to add an --enable-asserts flag.

Actually, I think asserts are enabled all the time now. E.g. this code works as I'd expect it to:
void main() {
  for (int i = 0; i < 5; i++) {
    print('hello ${i + 1}');
    assert(i == 0, "i is $i");
  }
}

So I'm happy. :)

@zoechi feel free to reopen if you don't want asserts to work all the time... I prefer having asserts on by default, but I don't object to having a way to turn them off, as long as it doesn't complicate the UI.

As of now, assert statements are ignored in dartpad: https://dartpad.dartlang.org/

As of now, assert statements are ignored in dartpad: https://dartpad.dartlang.org/
Should this issue be reopened?

Thanks for letting us know. I'm reopening it.

Enable-asserts was the default for DartPad but only for a brief moment in time? Why was it removed/disabled? Could it be re-enabled again? 😄

This tripped me up today. I tried to build a simple example that lets a learner try to fix a piece of code that would throw an assertion error in real life. But it ran in DartPad just fine, and I didn't know why.
Just thought I'd mention it, since the following seems like an obvious minimalist codelab thing to do:
int fib(int n) {
  // Fix this!!
  return 0;
}

void main() {
  assert(fib(1) == 1);
  assert(fib(5) == 5);
  assert(fib(10) == 55);
}

Not saying this is super important, just surprising.

One of the main uses cases for DartPad, IMHO, is in support of teaching Dart via codelabs and tutorials, for example. Now if a behavior of DartPad surprised a very seasoned Dart developer like you @filiph, it has the potential for causing much more surprise and grief to Dart newcomers. In that sense, I'd say that this is an important issue to address.

Instead of having an opt-in / out for this, I wonder if we shouldn't just enable assertions for all dartpad snippets?
That would be a bit challenging for flutter samples, as the flutter framework has a fair number of assertions for debug-time - they would definitely slow down a release mode app.

@devoncarew I was also wondering about the heavy use of assertions in flutter code. In particular:

how often are dartpad flutter samples used to showcase the production quality of flutter? If that's common, enabling assertions will likely give the wrong impression
similarly are there any worries that some users would be concerned if they see the unoptimized output of dart2js?

If these indirect impressions are important from DartPad's perspective, I'd be inclined to have a toggle to enable/disable them. If not, I'd be fine enabling them by default.

I am new to Dart and was working my way through the language tour, and was doing some tests with String interpolation and assert.  Became suspicious that asserts weren't working and was disappointed to find that stuff that clearly should fail does not fail.
There are some comments above about who's using DartPad and what their priorities are.  As a new user (who came to Dart because of Flutter), I have the following perspective:

People new to Flutter will likely be running Flutter code in either VSCode (my case because ios) or Android Studio.  Only after reading some comments here did it occur to me that people might use DartPad for Flutter, but I don't know enough to understand why or how.
People new to Flutter will want to learn Dart basics somewhere other than Flutter, because while hot reload is fast- there's nothing like the simplicity of DartPad to try some core language stuff like string interpolation, fiddling with numbers, assertions, classes, etc. without the overhead of a GUI.

So having DartPad be optimized for production doesn't make a lot of sense to me.  I'm sure more seasoned users have excellent reasons for this, but would they still even be using DartPad for anything beyond quick language tests?  Or would they be writing Dart tests in the context of their larger application and thus be running tests from the command line or something?
Anyway, hope this perspective helps.  After I hit the Comment button, I'll be reading about how to run Dart (without Flutter) in VSCode so I can continue the language tour in an environment where failed assertions actually cause an error.  DartPad is apparently not intended for my current use case.


Error with validate() and blank field

Seems to happen with a blank field? As it works fine when there is text in the field.
No instance of FormBuilderLocalizations was loaded. Try to initialize the FormBuilderLocalizations delegate before accessing FormBuilderLocalizations.current.
                   onPressed: () {
                        if (!_form.currentState!.validate()) {
                          return;
                        }

Do you setup the localizations?

If this still a issue, with this PR may be solved


Milestone: Lydia generates the dataset

I propose a milestone @filipgontko, at the latest till the end of August. Let's get the software and the documentation to a point that Lydia will be able to clone the repo and run the software to obtain the dataset. (And, ideally, configure the basics of which parts of the dataset she wants.)

Can we get here till the summer ends?

We can but there won't be all versions I suppose. There are still issues with versions with alert messages. I don't know why the opera does not accept send_keys(). Well it does but only TAB so far. Maybe some other as well but not arrow keys, RETURN, ALT and F* buttons.

I'm OK with not supporting everything yet. I'd just like to prototype-test
the tool rather early to see if it goes the right (=useful) direction.
On Wed, 14 Aug 2019, 13:06 filipgontko<EMAIL_ADDRESS>wrote:

We can but there won't be all versions I suppose. There are still issues
with versions with alert messages. I don't know why the opera does not
accept send_keys(). Well it does but only TAB so far. Maybe some other as
well but not arrow keys, RETURN, ALT and F* buttons.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/crocs-muni/tls-warning-collector/issues/4?email_source=notifications&email_token=AAOI6PCJONRXF4Y2M7EQNE3QEPRLBA5CNFSM4IGDADP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4IOS4I#issuecomment-521202033,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOI6PBIGAWDWR7FE4BBEO3QEPRLBANCNFSM4IGDADPQ
.

Yes that I understand and it will be ready to work with versions I can run right now.

I think we can close this and on the Hackathon we can set a new milestone.


Nextjs @emotion wrong styles calculation for nested components

What happened?
We are implementing tabs components according to this example https://markdoc.dev/docs/examples#tabs.
The Tabs are working fine in a standalone implementation but when we compose with others components breaks the styles (it's seems like the above component it's affecting the tabs, Please take a look at the screenshots)
Note: I tried in an incognito window and the issue persist
Screenshots
Standalone Tabs

Callout component with Tabs

Tabs and Callout components are not self close components
To reproduce

create a nextjs app
create a Tabs following this example https://markdoc.dev/docs/examples#tabs
add a Callout component on the top

Version
0.1.3
Additional context
"@markdoc/markdoc": "^0.1.3",
<EMAIL_ADDRESS>"0.1.9",
"next": "12.2.0",
"prismjs": "^1.29.0",
"react": "17.0.2",
"react-dom": "17.0.2"

@juanvargas-pax I'm going to close this as this just seems like a CSS issue, but please let me know and I can reopen 🙂


"Invalid Host Header" persists with cli > 1.0.0 with Docker container on Windows 7

Bug Report or Feature Request (mark with an x)
- [ x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.0.0
node: 7.9.0
os: linux x64
@angular/animations: 4.3.0
@angular/common: 4.3.0
@angular/compiler: 4.3.0
@angular/core: 4.3.0
@angular/forms: 4.3.0
@angular/http: 4.3.0
@angular/platform-browser: 4.3.0
@angular/platform-browser-dynamic: 4.3.0
@angular/router: 4.3.0
@angular/material: 2.0.0-beta.8
@angular/cli: 1.0.0
@angular/compiler-cli: 4.3.0
@angular/language-service: 4.3.0
@angular/cdk: 2.0.0-beta.8
Repro steps.

The steps are not simple, as it is also linked to the used environment.
Until Angular-Cli 1.0.0, it was possible to launch ng serve -H <IP_ADDRESS> , which worked fine for me in a container development environment. The thing is that I'm on Windows 7, using Docker Toolbox to have my containers running under Linux.
From there, Angular-Cli > v1.0.0 uses an updated version of Webpack (> 2.4.3 if I remember well). And with that, the -H <IP_ADDRESS> doesn't work anymore.
I obtained Invalid Host Header.
I've seen a lot of problems, and some solutions around that. But none of these are actually working for me.
I tried with --disable-host-check option, but then, it was live-reload that wasn't working. I had plenty of : [WDS] Disconnected! GET http://localhost:4200/sockjs-node/info?t=1480728685812 net::ERR_CONNECTION_REFUSED messages.
See https://github.com/angular/angular-cli/issues/3361 for more details.
I also tried some tests with --live-reload-client set to the IP address (with protocol://IP:port), in all different manners (with and without --disable-host-check).
I even tried to hack the Cli by setting a new Docker Image with an new serve.js file in node_modules/@angular/cli/tasks to set the live-reload host.
The log given by the failure.

But still, same result : I obtained Invalid Request Header.
Desired functionality.
What would like to see implemented?
Developers should still be able to develop the way they used to, by updating their tools for development. Obviously, this is not just related Angular-Cli, but is also related with Webpack & live-reload, but I believe that I am not the only one who was impacted by this change.
I'd like to be able to use the same workflow as I was used to, except for some modifications. But for now, it just doesn't work. I'm stuck with v1.0.0 of Angular-cli.
What is the usecase?
Allow developers to develop under Windows 7/10 + with Docker containers seamlessly, setting the correct options in the Cli or Webpack.
Mention any other details that might be useful.

I saw that a higher version of Webpack exposes an array of AllowedHosts. Maybe this could be a true solution to this problem, allowing developers to set wildcards of allowed hosts (ex: 192.168..). But still, it would have to be developed in the Cli (if not already done).
Sorry if you consider that it's not a real bug, but it's a real problem for me and others as I've read quite some issues about that.

I'd like to have everything working properly under docker, and I remember there were some people doing just that, but it's both hard to repro and hard to test. A lot of it is super specific to how you setup your environment as well.
I can have a look if you can provide some repro steps I can follow (Win10 myself). I'm pretty sure there's a combo of options that will work pretty well.

Ideally we could get a wiki story out of this to help other docker users as well.

Yes, sure @filipesilva . Good idea for the wiki.
Basically I don't do anything not standard with Docker, as I'm on Win 7 and I have the 'downgraded' version of Docker in docker-toolbox.
My 1st docker image is:

I start using the node version 7.9.0 (but it could be another one, for getting npm 5 for example)
I run apt-get update + install git vim on it.
I create the folder /usr/src/app

My 2nd image is :

from MyImage1, i set the working directory to /usr/src/app
I install @angular/cli@latest (hoping that my problem can be solved) with npm
I install with npm node-sass and forces it to rebuild node-sass so that it can be compiled for linux again.

The 3rd image is for the angular application itself.

From MyImage2, I set the working directory to usr/src/app again
I make the COPY . . (the node_modules is also in .dockerignore file)
I run npm install

As I'm on Windows and the target is a Linux container, I used to have my node_module included in the COPY of files which took a while every time I was working on my images, so what i did was :

create a project folder at the root of the app
leave the .angular-cli.json, package.json and .dockerignore, .editorconfig, .gitignore files at the root
put everything else in the project directory
of course, I had to configure the paths on the .angular-cli.json accordingly.

This way, the COPY of the node_modules folder could be avoided. And I only need to rebuild the 3rd Docker image when my dependencies change.
I'm 100% sure this can be optimized. But this was just an 'OK starting point'.
Then, I use docker-compose.
In my docker-compose.yml file:

I add configuration of the Volumes, like this: /c/Users/jct/myApp/project:/usr/src/app/project:rw (the project folder is important)
I add configuration for Ports :  "4200:4200 + 49153:49153.
I add the command to be run by default: what works with @angular/cli v1.0.0 is the following:
ng serve --H <IP_ADDRESS> --environment=docker (I have a environment.docker.ts file in the environments folder)

Then, I use Kitematic which runs a VM through Virtual Box (because I'm on Win 7, not 10). The when the default VM is launched, I run in a Docker terminal : docker compose up and my docker-compose file will be parsed and everything will be launched.
Note that by default, the default VM has its IP set to <IP_ADDRESS>.
That's my configuration. Nothing fancy here, just a particular setup for my project due to the change Windows -> Linux (the rebuild node-sass was mandatory because of that change of architecture). Except from that, I pretty much use the default configurations.

I haven't had a change to look into this setup, but https://github.com/angular/angular-cli/issues/7222 is related and seems to have live reload working overall.

Back from holidays, I read the other problem. In fact, I have the same issue as #7222, but for me, as you saw, I'm not behind a proxy like nginx. I just use :

Node 7.9 + Git + Vim
Angular-cli (I rebuild node-sass)
my Angular application

I'll be working on #7222 and my issue with latest releases from angular/cli to see i can solve this problem.

Hi everyone,
Quick update: I used to have this problem, until today: I just upgraded to angular 5.0.0-rc.0 + angular/cli v1.5.0-beta.2, and this HUGE problem was solved :)! Really ! This is awesome as I now can get develop the app way faster + get to build great features with service wokers and i18n.
Really great work for the teams! Thanks a lot.

I'm kinda glad this was fixed for you but I actually have no idea what changed fixed it 😅

@filipesilva hahaha !!

Yes that would make sense actually. That might have been the exact problem from the start...

@johanchouquet do you still experience this issue?

Closing the issue due to inactivity. If the problem still exists in the latest version of the CLI, please open a new issue following the template and providing a minimal demo where we can reproduce it. Thanks! :-)


package kotlin directory support

https://github.com/shuntakeuch1/kotlin-mybatis-entity-generator/pull/23


ui: show members gained and lost since last month

On the reports page, We currently show the member churn which is the difference in member count between the last day of last month and today.  It would be useful to see how many we have lost and how many we have gained.

we kind of have this with member churn stat.... closing


nixos/docker-registry: fix extraConfig docs

Description of changes
The docs were never updated when the type of the extraConfig option was changed.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

I'm still interested in getting this merged. @Prillan Could you fix the conflict? Otherwise feel free to ping me, then I'll take care of it.

Please do take care of it @teutat3s , I won't be able to in the near future. 🙏
(The reason it was never merged in the first place is because I lack merge rights)


Indexing fails due to stack level too deep error

Operating System
macOS Monterey
Ruby version
3.1.1p18
Project has a bundle

[X] Has bundle

Ruby version manager being used
rbenv
Description
Indexing fails at 18% on intitialization of ruby-lsp.  It reaches a StackLevelTooDeep error while indexing the Prism gem.
#<Thread:0x0000000108307a38 /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/ruby-lsp-0.12.2/lib/ruby_lsp/executor.rb:213 run> terminated with exception (report_on_exception is true):
/Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/prism-0.15.1/lib/prism/visitor.rb:23:in `each': stack level too deep (SystemStackError)
	from /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/prism-0.15.1/lib/prism/visitor.rb:23:in `visit_child_nodes'
	from /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/prism-0.15.1/lib/prism/node.rb:14924:in `accept'
	from /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/prism-0.15.1/lib/prism/visitor.rb:23:in `block in visit_child_nodes'
	from /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/prism-0.15.1/lib/prism/visitor.rb:23:in `each'
	from /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/prism-0.15.1/lib/prism/visitor.rb:23:in `visit_child_nodes'
	from /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/prism-0.15.1/lib/prism/node.rb:14924:in `accept'
	from /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/prism-0.15.1/lib/prism/visitor.rb:23:in `block in visit_child_nodes'
	from /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/prism-0.15.1/lib/prism/visitor.rb:23:in `each'
	 ... 528 levels...
	from /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/ruby-lsp-0.12.2/lib/ruby_indexer/lib/ruby_indexer/index.rb:169:in `index_all'
	from /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/sorbet-runtime-0.5.11114/lib/types/private/methods/_methods.rb:277:in `bind_call'
	from /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/sorbet-runtime-0.5.11114/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
	from /Users/user/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/ruby-lsp-0.12.2/lib/ruby_lsp/executor.rb:215:in `block in perform_initial_indexing'

To be able to understand what's going on, we'll need to figure out what code structure is causing the error. If the ruby-lsp-doctor executable is not reproducing it, but you can consistently reproduce it in the editor, then could you please try the following?
We'll edit the Ruby LSP code to print which file caused the issue

bundle open ruby-lsp
Above this line, add

# Note: it has to be `warn`. Do not print to STDOUT or the LSP will get into an infinite loop
warn(path.full_path)

Check VS Code's Ruby LSP channel in the Output tab. What file is printed immediately before the error?

I am facing the same issue.
macos Sonoma
asdf
ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [arm64-darwin22]
Bundler version 2.4.19 (2023-08-17 commit 86f98098e3)
ruby-lsp-doctor does not reproduce the issue.
Added the line from the comment before.
The last lines of the output:
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/rubygems.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/securerandom.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/set/sorted_set.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/set.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/shellwords.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/singleton.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/socket.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/syslog/logger.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/tempfile.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/time.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/timeout.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/tmpdir.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/tracer.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/tsort.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/un.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/unicode_normalize/normalize.rb
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/3.0.0/unicode_normalize/tables.rb
#<Thread:0x0000000127527e70 /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/ruby-lsp-0.12.3/lib/ruby_lsp/executor.rb:213 run> terminated with exception (report_on_exception is true):
/Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/prism-0.17.1/lib/prism/visitor.rb:27:in `each': stack level too deep (SystemStackError)
	from /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/prism-0.17.1/lib/prism/visitor.rb:27:in `visit_child_nodes'
	from /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/prism-0.17.1/lib/prism/node.rb:15099:in `accept'
	from /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/prism-0.17.1/lib/prism/visitor.rb:27:in `block in visit_child_nodes'
	from /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/prism-0.17.1/lib/prism/visitor.rb:27:in `each'
	from /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/prism-0.17.1/lib/prism/visitor.rb:27:in `visit_child_nodes'
	from /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/prism-0.17.1/lib/prism/node.rb:15099:in `accept'
	from /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/prism-0.17.1/lib/prism/visitor.rb:27:in `block in visit_child_nodes'
	from /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/prism-0.17.1/lib/prism/visitor.rb:27:in `each'
	 ... 532 levels...
	from /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/ruby-lsp-0.12.3/lib/ruby_indexer/lib/ruby_indexer/index.rb:169:in `index_all'
	from /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/sorbet-runtime-0.5.11116/lib/types/private/methods/_methods.rb:277:in `bind_call'
	from /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/sorbet-runtime-0.5.11116/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added'
	from /Users/benj/.asdf/installs/ruby/3.0.6/lib/ruby/gems/3.0.0/gems/ruby-lsp-0.12.3/lib/ruby_lsp/executor.rb:215:in `block in perform_initial_indexing'

Thank you @vinistock. Now it works

The file is not a ruby file. It is called tags with no extension and it contains tags generated by ctags utility. I was surprised why it is actually being indexed.
Also since the ruby is installed by rbenv the full path to the file contains a directory name starting with the dot. If you look at this line
https://github.com/Shopify/ruby-lsp/blob/2cc633e272d3cc1b51d122e18c6593fe38c0f920/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#L88
the search function doesn't include File::FNM_DOTMATCH option. I have tried to add it, but the patterns **/tags still does not exclude this file from indexing.

The PR https://github.com/Shopify/ruby-lsp/pull/1221 should fix this. Concerning excluding paths, sorry I gave you incorrect information.
Everything inside rubylibdir (.rbenv/versions/3.2.2/lib/ruby/3.2.0/) is a default gem declaration. If you take a look inside that directory, you'll find the files for pathname, bundler, etc. It's an odd choice for ctags to place a random file in the middle of default gems.
Our indexer considers everything inside that directory to be a default gem and those can't be excluded by a glob pattern, which is why it's not working. You need to use the name of the default gem to exclude it.
In this case, the file isn't an actual gem, but we'd consider it's "name" to be the filename with no extensions (i.e.: tags). So you should be able to exclude it with this
excluded_gems:
  - tags

That said, if you can share, I'm still curious to know the contents of the file. At least the structure. Because if trying to index that file results in a stack error, we want to understand if it's a possible scenario that we need to push a fix for.


Feature Request: Inventory Update

It would be good if we could trigger an inventory update to sync the new Recovery Lock password to Jamf Pro immediately, rather than waiting for the next scheduled update.

This is an interesting thought. My assumption was because it is an MDM command it wouldn't be relying on the Inventory update to show up in the inventory, but rather a completed MDM command. But now in my testing I can't even see the command go through in the MDM history. . . so I have some sleuthing to do.

Okay. . . after some review, there appears to be yet again something else broken with this script. . . doing some digging now.

Well, I might need to change some logic in the script as well. If you already have a recovery lock, you might need to clear it first before you can set a new one as well.

Ok. This kinda makes me feel like I wasn't going mad.
I was noticing that although the script appeared to run correctly and the groups etc were working as expected, no recovery locks appeared to actually be applied.
As you mentioned, there also didn't appear to be any management command showing in the history.
I did see this comment over on the MacAdmins Slack: https://macadmins.slack.com/archives/C04QVP86E/p1732659093365399
Connected maybe?
When I tested running the command manually via the API it worked as expected with a management command showing as expected, so maybe the 2 are not connected at all 🤷♂

Oh the issue for sure was with my script. The command to get the Management ID wasn't technically empty, therefore it wasn't throwing up any errors.
So I am fixing that logic along with the logic that actually grabs the management IDs. Big time facepalm moment. I should have this fixed in about an hour

However, in my testing with a computer I did notice was getting this error: The provided recovery password failed to validate. Checking to see if it has to do with the command itself or not.

Jamf has a PI for an issue 'resetting' Recovery Lock passwords covered here: PI111426. It sounds like this is the error you are running into, @chrisgzim .
I posted a new issue about the script not properly retrieving Management IDs, and I believe I have found a fix.
Regarding @Cr4sh0ver1de 's request: an inventory update (i.e., jamf recon) should not be required for Jamf Pro to store the Recovery Lock password. I proved this today on our JSS by issuing recovery lock set commands via this script (with my local fixes), and I can view the valid Recovery Lock password for our computers despite the fact that they have not reported inventory since the recovery lock password was set.
If you look at Apple's documentation on this MDM command  you will see that changing the password requires providing the old password - however, Jamf's API endpoint for recovery lock does not require this. I believe this is due to the fact that JSS always escrows the password, and likely escrows it first before setting it on the endpoint. In other words, it should be impossible to not have a password in Jamf Pro when enabling Recovery Lock via Jamf Pro API
Of course, any Smart Groups using the "recovery lock status" criteria will fail to update until inventory has been run on the Mac.


Inconsistent flashing on a Raspberry Pi Pico W

I have a Fedora Linux system running PlatformIO and I'm testing a build against a Raspberry Pi Pico W. I just ran the same job 16 times and sometimes the upload fails and sometimes it succeeds:
❯ grep "^test_pico_w  " test_logs/*
test_logs/test1.log:test_pico_w          FAILED    00:01:15.686
test_logs/test2.log:test_pico_w          SUCCESS   00:00:12.183
test_logs/test3.log:test_pico_w          FAILED    00:00:03.853
test_logs/test4.log:test_pico_w          SUCCESS   00:00:12.232
test_logs/test5.log:test_pico_w          SUCCESS   00:00:09.955
test_logs/test6.log:test_pico_w          FAILED    00:00:03.808
test_logs/test7.log:test_pico_w          SUCCESS   00:00:12.161
test_logs/test8.log:test_pico_w          SUCCESS   00:00:09.946
test_logs/test9.log:test_pico_w          FAILED    00:00:03.434
test_logs/testa.log:test_pico_w          SUCCESS   00:00:12.197
test_logs/testb.log:test_pico_w          SUCCESS   00:00:09.971
test_logs/testc.log:test_pico_w          FAILED    00:00:03.472
test_logs/testd.log:test_pico_w          SUCCESS   00:00:12.064
test_logs/teste.log:test_pico_w          FAILED    00:00:03.876
test_logs/testf.log:test_pico_w          SUCCESS   00:00:12.146
test_logs/testg.log:test_pico_w          SUCCESS   00:00:10.051

I've captured verbose logs of all the tests in this zipfile:
test_logs.zip
This is the lsusb for the Pico:
Bus 001 Device 069: ID 2e8a:000a Raspberry Pi Pico W

and the serial port:
❯ ls -l /dev/ttyACM0
crw-rw-rw-. 1 root dialout 166, 0 Sep  6 20:13 /dev/ttyACM0

I looked at some of the log files and it looks like when it fails, it correctly figures out that the board is at /dev/ttyACM0,
tries to reset it, thinks it did so and proceeds with the upload, which then fails. But when it succeeds, it sometimes
thinks the board is at /dev/ttyS31 and resets that, which wouldn't touch the actual board. Then it uses picotool
to upload the uf2, which succeeds because picotool knows where the board it.
Here's the platformio.ini entry for the board:
[env:test_pico_w]
extends = target
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = rpipicow
framework = arduino
board_build.core = earlephilhower
build_flags = ${target.target_build_flags} -DMAXDICT=0x2C000
build_type = debug

It appears to me that there might be a timing issue: In cases where it fails it tries to reset /dev/ttyACM0 (which looks correct) but then invokes picotool too fast, the board might not have rebooted into BOOTSEL mode properly yet. In cases where the upload works, the board has been rebooted into picotool before quite some time, so upload works. I've already noted that before when using picotool to upload filesystem data and added a generic 0.5 second delay. But I neglected to do that when I switched the uploader from the outdated rp2040load (no RP2350 support) to picotool directly. Let me just try something.

Do a pio pkg update -g -p raspberrypi, I have commited 19f500fe2c7c8603f313972a3ca28a3bb1ff006b, and redo your tests.

Thanks! I'll try it. Meanwhile, I have captured Linux journalclt logs of a successful test and a failed one. If it still fails after I do the update I'll capture new logs and upload them.

Actually, I've gone ahead and commited a method that should be even better: Wait until picotool info -d reports a connected RPxxxx device. That's done in https://github.com/maxgerhardt/platform-raspberrypi/commit/6cd32488770b19533b474bea4b8de3cbc57237fe. So, please do your test with the latest latest version.

Done - test log and accompanying journalctl in attached zipfile. I think you can close this!
retest.zip

The logs show the case where the pico was already in BOOTSEL mode. It ran into the max timeout of 3.0 seconds there until invoking picotool load. Can you run that just again to see if the "device runs regular Arduino sketch and gets rebooted into BOOTSELF mode" case works too?

OK ... by the way, the one I just ran isn't getting the devices right. I don't know how it found the Pico on ttyS31 when it's actually on ttyACM0. Is that something known inside the software (yours or Earle's)?

If the device is in BOOTSEL mode, it does not create a /dev/ttyXXX. Then, the PlatformIO core has some fallback code to get some COM device. It should not be the case that you have /dev/ttyACM0 visible on your machine as well as PlatformIO picking /dev/ttyS31.

If the device is in BOOTSEL mode, it does not create a /dev/ttyXXX. Then, the PlatformIO core has some fallback code to get some COM device. It should not be the case that you have /dev/ttyACM0 visible on your machine as well as PlatformIO picking /dev/ttyS31.

I think I saw that case - /dev/ttyACM0 visible - in the previous failed runs yesterday. It found /dev/ttyACM0, sent it a reset, but didn't wait for the BOOTSEL mode to happen.

Here's the new test with BOOTSEL enabled going in:
manual-bootsel-updated-pio.zip

Try again: I've commited f4f43a2ef491545f0579ace5142b8d214e0fc15a, and there's now a fastpath if the device is already in BOOTSEL mode. This really should only ever happen once though, since once it has an Arduino firmware loaded into it, it should always do the 1200bps reset.

Looks like everything on your end is working.
bootsel_tests.zip
For some reason, once PlatformIO successfully flashes the Pico W, PlatformIO's reset code works and I can re-flash it, but the host picotool loses the ability to reset the Pico W:
❯ picotool info --all
No accessible RP2040/RP2350 devices in BOOTSEL mode were found.

but:

Device at bus 1, address 69 appears to be a RP2040 device with a USB serial connection, so consider -f (or -F)
    to force reboot in order to run the command.

cforth/RP2350-testing on  master
❯ picotool info --all --bus 1 --address 69 --force
Tracking device serial number E66130100F5C9C34 for reboot
ERROR: Unable to locate reset interface on the device

cforth/RP2350-testing on  master

Here's what picotool finds if I put the Pico W in BOOTSEL mode manually:
❯ picotool info --all --bus 1 --address 71
Program Information
 none

Fixed Pin Information
 none

Build Information
 none

Device Information
 type:        RP2040
 revision:    B2
 flash size:  2048K
 flash id:    0xE66130100F5C9C34

cforth/RP2350-testing on  master

If I put the Pico W in manual BOOTSEL mode and re-flash it with the SDK hello_usb example, the host picotool finds it as always. It also found it in my previous tests with PlatformIO, I think. So I don't know if it's something missing in the source code for these tests that the SDK example has, something PlatformIO knows how to do that picotool doesn't, or something else.

Looks like everything on your end is working.
bootsel_tests.zip
For some reason, once PlatformIO successfully flashes the Pico W, PlatformIO's reset code works and I can re-flash it, but the host picotool loses the ability to reset the Pico W:
❯ picotool info --all
No accessible RP2040/RP2350 devices in BOOTSEL mode were found.

but:

Device at bus 1, address 69 appears to be a RP2040 device with a USB serial connection, so consider -f (or -F)
    to force reboot in order to run the command.

cforth/RP2350-testing on  master
❯ picotool info --all --bus 1 --address 69 --force
Tracking device serial number E66130100F5C9C34 for reboot
ERROR: Unable to locate reset interface on the device

cforth/RP2350-testing on  master

Here's what picotool finds if I put the Pico W in BOOTSEL mode manually:
❯ picotool info --all --bus 1 --address 71
Program Information
 none

Fixed Pin Information
 none

Build Information
 none

Device Information
 type:        RP2040
 revision:    B2
 flash size:  2048K
 flash id:    0xE66130100F5C9C34

cforth/RP2350-testing on  master

If I put the Pico W in manual BOOTSEL mode and re-flash it with the SDK hello_usb example, the host picotool finds it as always. It also found it in my previous tests with PlatformIO, I think. So I don't know if it's something missing in the source code for these tests that the SDK example has, something PlatformIO knows how to do that picotool doesn't, or something else.

If I put the Pico W in manual BOOTSEL mode and re-flash it with the SDK hello_usb example, the host picotool finds it as always. It also found it in my previous tests with PlatformIO, I think. So I don't know if it's something missing in the source code for these tests that the SDK example has, something PlatformIO knows how to do that picotool doesn't, or something else.

Interesting! I did not expect this. When an Arduino-framework code is loaded, then picotool never recognized anything for me anymore. Which understandable since the UF2 bootloader isn't running on the device right now. I always have to do the 1200bps reset for picotool to work with the device at all. But if you say, that flashing hello_usb results in a device that picotool can still recognize, reset and reflash at will, that's interesting..

I'm going to call this a picotool bug for now, since PlatformIO can flash the device. I just tested it on the SparkFun Pro Micro RP2350 to rule out a defective board or some electronic issue with the Waveshare eval board the Pico W is plugged into. Picotool can't see the SparkFun either after flashing with PlatformIO, but PlatformIO can flash the board again, and whether picotool can reset a board shouldn't depend on what firmware is currently running in the board.
I'm going to see if I can come up with a simpler test to see if I can reproduce this using the Pico SDK to build and flash the SparkFun Pro Micro RP2350. That will make it easier to open an issue against picotool. You can close this issue if you wish.

Apparently this is a known issue but it's not clear to me what has to be changed - picotool or PlatformIO. I am building picotool from source so if it can be done at compile time I'll test it out.
https://github.com/raspberrypi/picotool/issues/88

Mhm. Maybe we'll revisit this later when this platform can fully build Pico-SDK firmwares to confirm the issue. The issue with inconsistent flashing seems to be properly resolved now. Reset is done via 1200bps touch, not via picotool in any case.


High number of drops for April - money laundering

I have been watching the performance for this bot for the month of April (money laundering bot, 0x4adff9a0ed29396d51ef3b16297070347aab25575f04a4e2bd62ec43ca4508d2) and it looks like it has a high number "tx_drops" for BSC chain, this issue might be also extending to the rest of the chains. I would appreciate if you can check it out, and consider sharding as a potential solution to mitigate this.

asked nethermind to tackle


feat: add swag pack eligibility modal

Description ✏
Closes #219
This PR implements a modal on the home page that helps clarify how and if member can claim swag pack.
Type of Change 🐞

[X] Feature - A non-breaking change which adds functionality.
[ ] Fix - A non-breaking change which fixes an issue.
[ ] Refactor - A change that neither fixes a bug nor adds a feature.
[ ] Documentation - A change only to in-code or markdown documentation.
[ ] Tests - A change that adds missing unit/integration tests.
[ ] Chore - A change that is likely none of the above.

Checklist ✅

[ ] I have done a self-review of my code.
[ ] I have manually tested my code (if applicable).
[ ] I have added/updated any relevant documentation (if applicable).

For now I added a button to the modal within the Merch Shop card. Perhaps it's fine to have it here or maybe elsewhere. Will discuss with Rami at next sync up.
Also need to discuss what messages we want to have for each of the 3 cases


feat:add Speakers Section and Speakers Fragment

Fixes #1604
Changes:Added Speakers section in Event Details
[WIP]Add a speaker page
Screenshots for the change:

@iamareebjamal should i drop the idea of saving m:n relationship of speaker and events?
need your suggestions here :)

@iamareebjamal @liveHarshit please review

This can be stored

We'll be a needing a speakerswithevent table

Because same speaker can be in two different events and it will make things complicated

It won't

I tried to save information in a 3rd table and accordingly get back result as list of live data instead of flowable list i was able to save them but couldn't figure how to return that saved data

Will take a look

@iamareebjamal any update ?

@liveHarshit please review now

@liveHarshit review this one as well

lgtm

@iamareebjamal made requested changes please review

@iamareebjamal updated

@iamareebjamal updated

Everything working as expected?

@iamareebjamal yup

@iamareebjamal updated

@nikit19 please review now

schema JSON is not updated

@iamareebjamal updated JSON Schema and resolved conflicts


Error class on radio buttons

After one uses the reset button to reset a form and clear all the errors using:
// resets form and errors via the reset button
$("#reset").click(function () {
validator.resetForm();
});
All the errors do get cleared but there is a problem with Radio Buttons. Radio buttons have the same name and if you have a YES  |  NO radio buttons, the rest takes off the error class only on the first instance of the radio button names, so the YES button is OK. The NO button still has the error class on it if you check in Firebug. This is problematic if you style the error input fields.
How does one clear the 2nd radio button as it has the same name and should be cleared, no?
Thanks.

I'm sorry for the lack of activity on this issue. Instead of leaving it open any longer, I decided to close old issues without trying to address them, to longer give the false impression that it will get addressed eventually.
To the reporter (or anyone else interested in this issue): If you're affected by the same issue, consider opening a new issue, with a testpage that shows the issue. Even better, try to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. We've documented how to do these things, too. A patch is worth a thousand issues!