Resolve #382: Invalid number of empty lines in other section order

Keywords and test cases have the same structure. I added keywords when checking for blank lines between sections. It solved the problem for me. Please check my contributing.
this should fix #382

This is exactly what I had in mind when I saw this issue - thanks for the PR.
Can you add following file to https://github.com/MarketSquare/robotframework-robocop/tree/master/tests/atest/rules/spacing/empty-lines-between-sections :
name: golden.robot
*** Keywords ***
Keyword
    [Documentation]  this is doc
    No Operation
    Pass
    No Operation
    Fail

*** Test Cases ***
Test
    [Documentation]  doc
    [Tags]  sometag
    Pass
    Keyword
    One More

It should be enough to test if this issue was fixed - before your fix it will throw warning.

Codecov Report

Merging #383 (a244d08) into master (4711c0d) will decrease coverage by 1.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #383      +/-   ##
==========================================
- Coverage   97.84%   96.79%   -1.06%
==========================================
  Files          22       22
  Lines        2088     2088
==========================================
- Hits         2043     2021      -22
- Misses         45       67      +22

Impacted Files
Coverage Δ

robocop/checkers/spacing.py
98.51% <100.00%> (-1.12%)
:arrow_down:

robocop/checkers/misc.py
92.74% <0.00%> (-4.84%)
:arrow_down:

robocop/checkers/documentation.py
96.00% <0.00%> (-4.00%)
:arrow_down:

robocop/checkers/comments.py
96.96% <0.00%> (-3.04%)
:arrow_down:

robocop/checkers/errors.py
94.59% <0.00%> (-2.71%)
:arrow_down:

robocop/checkers/__init__.py
91.01% <0.00%> (-2.25%)
:arrow_down:

robocop/checkers/naming.py
97.25% <0.00%> (-1.65%)
:arrow_down:

robocop/utils/misc.py
97.67% <0.00%> (-1.56%)
:arrow_down:

robocop/checkers/lengths.py
98.75% <0.00%> (-1.25%)
:arrow_down:

Continue to review full report at Codecov.

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


Could the network fail gracefully?

Bitcoin has many flaws but its fee system is very effective at preventing network spam, and it keeps working (albeit expensively) under load.
As we've seen from the recent spam attack, when the network can't cope, many nodes sort of go offline until they can catch up. To me this seems worse than a fee.
I'm aware that those bottlenecks are being addressed, but there will always be a bottleneck somewhere. So it's not a matter of whether the network capacity will be exceeded but when and how.
So I propose a "the network is under load" state. When nodes are unable to keep up, for whatever reason, they have a way of reaching a consensus that they are under load, and will operate differently until things return to normal.
When under load, there's a bidding war to get your transaction processed, just like Bitcoin. There could be a constantly adjusted fee option (users would have to manually choose this) or a constantly adjusting level of proof of work requirement (no pre-caching) so your transaction is sent when your proof of work reaches the threshold and otherwise keeps going (does that work? I don't know much about nonces) till it reaches the threshold.
Obviously you still would want to avoid this state. It's still a failure. This is just the backup, so that when failure happens, everything still works and nobody is stuck not being able to use the network at all.

Uh, duplicate of #196

We have plans for a queueing mechanism weighted on (least recently used account) * (amount) * (PoW difficulty). Nodes will be able to dynamically increase the PoW difficulty they generate to get prioritization.

Wow. That formula is just, genius. Just wow. I'm struggling to think of a scenario where it might not work well.

On Reddit was a discussion about this topic to dynamically adjust the PoW
difficulty. Maybe some stimuli to find:
https://www.reddit.com/r/nanocurrency/comments/8y0ljp/what_is_the_incentive_to_spam_the_nano_network/e279oy7
My comment was: that any type of account based PoW adjustment could only
work, if open new accounts is more PoW expensive
then normal transactions. Otherwise a attacker just spam with new opened
accounts.
High PoW cost to open a new account should hit spammer harder, and not
normal Nano user, which use their accounts long-term.
On Wed, Jul 25, 2018 at 8:54 PM clemahieu<EMAIL_ADDRESS>wrote:

We have plans for a queueing mechanism weighted on (least recently used
account) * (amount) * (PoW difficulty). Nodes will be able to dynamically
increase the PoW difficulty they generate to get prioritization.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nanocurrency/raiblocks/issues/990#issuecomment-407858621,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Afh3xMG-otoH7SeqGoK-qDy5RZ4bpcR_ks5uKL7mgaJpZM4Vfsnt
.


:bug: Pin gonzales to last known good version

Pin gonzales due to breaking nth selector reversion in gonzales-pe 3.3.5

Coverage remained the same at 97.374% when pulling e142dd30e5c541038535a2d664ad407f85202ba8 on hotfix/pin-gonzales into a3935d1d78ab3111ecf5f599947bb077947d21db on master.

Coverage remained the same at 97.374% when pulling e142dd30e5c541038535a2d664ad407f85202ba8 on hotfix/pin-gonzales into a3935d1d78ab3111ecf5f599947bb077947d21db on master.

Coverage remained the same at 97.374% when pulling e142dd30e5c541038535a2d664ad407f85202ba8 on hotfix/pin-gonzales into a3935d1d78ab3111ecf5f599947bb077947d21db on master.

Coverage remained the same at 97.374% when pulling e142dd30e5c541038535a2d664ad407f85202ba8 on hotfix/pin-gonzales into a3935d1d78ab3111ecf5f599947bb077947d21db on master.

Coverage remained the same at 97.374% when pulling 4e34f96b52e89d1f0bd32eec927a45affcca7beb on hotfix/pin-gonzales into a3935d1d78ab3111ecf5f599947bb077947d21db on master.

Coverage remained the same at 97.374% when pulling 4e34f96b52e89d1f0bd32eec927a45affcca7beb on hotfix/pin-gonzales into a3935d1d78ab3111ecf5f599947bb077947d21db on master.

Coverage remained the same at 97.374% when pulling 4e34f96b52e89d1f0bd32eec927a45affcca7beb on hotfix/pin-gonzales into a3935d1d78ab3111ecf5f599947bb077947d21db on master.


proposal - change from Axios to isomorphic-fetch

Fetch is a standard. Maybe I'm missing something but I don't see the upside of using Axios.

I like fetch, but I also like the ability to configure multiple axios clients with headers and tokens etc.. I also like that I don't need to transform to json() everywhere. These are my opinions, of course.
Additionally, it is pretty simple to just swap out axios for isomorphic-fetch. If you do this, I suggest importing fetch once in store.js and then just passing it through to all your actions via thunk.withExtraArgument. You can also create a custom callAPIMiddleware, although I personally think these make testing more difficult.


Execution of the Precompiled Contracts and evaluation of their gas charge

According to YP (BERLIN VERSION 3078285 – 2022-07-13) section 8, and Appendix E, the precompiled contracts are semantically evaluated different from the rest of opcodes. Accordingly, usual opcodes are evaluated by the execution of the Xi (uppercase) function, whereas precompiled ones are evaluated by execution of different Xi functions each coming their a different index. For example evaluation of SHA256 is through the execution of Xi_sha256. Also the gas charge for them is different.
Based on the above, I think when calling a precompiled contract, we should be executing a Xi function devised specifically for that precompiled contract. Currently upon calling a precompiled contract, we using the usual Xi function to evaluate it. The following is failing for example with an out-of-gas error:
[381] (tests/GeneralStateTests/stStaticCall/static_CallSha256_5.json,static_CallSha256_5_Berlin_0_0_0)

Closing this now as test stStaticCall/static_CallSha256_5 appears to be passing now.


timeout param is not respected

Expected Behavior

The default timeout is respected.
If specified, the timeout is respected.

Actual Behavior
The computers on which the 3 ZK servers run are deliberately OFF. Run the client from a forth computer.
In the client code, define 3 hosts in the KazooClient() statement. The start() statement that follows, cycles through the hosts in about 5 seconds per host. Not 10 as expected.
Setting the timeout in the call to KazooClient() or start() does not change this duration.
Snippet to Reproduce the Problem
zk = KazooClient(hosts='rpi17.local:2181,rpi18.local:2181,rpi19.local:2181')   # Adding timeout param does not change behavior
zk.start()`   # or zk.start(timeout=15)

Logs with logging in DEBUG mode
Cannot resolve rpi17.local: [Errno 8] nodename nor servname provided, or not known
Cannot resolve rpi18.local: [Errno 8] nodename nor servname provided, or not known
Cannot resolve rpi19.local: [Errno 8] nodename nor servname provided, or not known
Failed connecting to Zookeeper within the connection retry policy.
Traceback (most recent call last):
File "/Users/Dropbox/Idempotent/ZooKeeper/zkMyCli.py", line 441, in
zk.start(timeout=15)
File "/Users/rahav/anaconda3/lib/python3.11/site-packages/kazoo/client.py", line 669, in start
raise self.handler.timeout_exception("Connection time-out")
kazoo.handlers.threading.KazooTimeoutError: Connection time-out
Specifications

Kazoo version: 2.10.0
Result of pip list command: kazoo                         2.10.0
Zookeeper version: 3.8.4
Zookeeper configuration:
Python version: 3.11.5
OS: macOS

Hello,
Thank you for the issue.
In the example and logs you've given, I don't think there is any way to get the "10s per host timeout" you would expect with Kazoo as the error you are getting is a DNS error that prevents Kazoo for making a connection since, well, your hostnames cannot be resolved to a valid IP address. Most of the time there is a 5s timeout for resolving a hostname so that's why you are noticing that specific value. You could probably update your system DNS settings to achieve what you want (maybe some options timeout:10 would work).
With Kazoo, you could make use of some KazooRetry() to retry more, for instance:
from kazoo.client import KazooClient
from kazoo.retry import KazooRetry

zk = KazooClient(hosts='rpi17.local:2181,rpi18.local:2181,rpi19.local:2181', connection_retry=KazooRetry(max_tries=-1)) # infinite retries
zk.start(timeout=30) # wait for 30s... or more depending on the number of hosts + DNS setting


Release 1.6.0 - design changes, url support in doc strings and stack traces

Codecov Report

Merging #106 into master will increase coverage by 1.58%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master     #106      +/-   ##
==========================================
+ Coverage   89.33%   90.92%   +1.58%
==========================================
  Files          56       57       +1
  Lines        1191     1201      +10
  Branches      119      120       +1
==========================================
+ Hits         1064     1092      +28
+ Misses         78       63      -15
+ Partials       49       46       -3

Impacted Files
Coverage Δ

...ava/com/trivago/cluecumber/constants/MimeType.java
100% <ø> (ø)
:arrow_up:

...ivago/cluecumber/rendering/charts/pojos/Chart.java
100% <ø> (ø)
:arrow_up:

.../trivago/cluecumber/rendering/ReportGenerator.java
90.8% <ø> (ø)
:arrow_up:

.../java/com/trivago/cluecumber/json/pojo/Result.java
88.23% <0%> (-5.52%)
:arrow_down:

...va/com/trivago/cluecumber/json/pojo/DocString.java
92.3% <0%> (-7.7%)
:arrow_down:

...ring/pages/renderers/AllScenariosPageRenderer.java
92.95% <100%> (ø)
:arrow_up:

...va/com/trivago/cluecumber/constants/ChartType.java
100% <100%> (ø)

...rendering/pages/renderers/AllTagsPageRenderer.java
87.67% <100%> (ø)
:arrow_up:

...ering/pages/renderers/AllFeaturesPageRenderer.java
100% <100%> (ø)
:arrow_up:

...m/trivago/cluecumber/rendering/RenderingUtils.java
89.65% <100%> (+3.94%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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


feat: certificate id is bigint

BREAKING CHANGE: certificate and certification requests id's are big ints now

I think we have to adjust this on the UI level as well?

Yep, we are


Add Julia 1.0 to CI.

Add testing for Julia 1.0.
Add windows testing.

Coverage increased (+99.4%) to 99.375% when pulling 04b884b2cbcd53b72ba5a2d7e964b0baceebf0ce on englhardt:julia1.0 into 09818387b8672ed79d38c33575459599972c8114 on trthatcher:master.


Is there a way to format yAxis labels?

Looking through the source I didn't find a way, but I wanted to make sure I'm not missing something.

Format in what sense? D3 style transform from the data?

Yes. Though I’d take something as simple as passing in an array of pre-formatted labels simile to how xLabels are handled.  Possible?

On Mar 1, 2016, at 10:43 AM, Tom Auty<EMAIL_ADDRESS>wrote:
Format in what sense? D3 style transform from the data?
—
Reply to this email directly or view it on GitHub https://github.com/tomauty/react-native-chart/issues/54#issuecomment-190776959.

It certainly could be. I think it could just check for presence of that array when choosing y-labels, over choosing from the data array. Might take a bit of work but I think it's a good thing to have.

Will be adding a yAxisTransform property in 2.0 :)

yAxisTransform - will transform only labels, or maybe it will also allow you to switch y axis from left to right?

yAxisTransform is in 1.0.0-beta


SQS 3.0 - Implement AutoConfiguration

Implement auto configuration for the SQS integration.
Basic functionality
The usual design for other Spring messaging projects is having the @EnableXPTO annotation in a @Configuration class, such as in Spring Kafka's auto configuration:
@Configuration(proxyBeanMethods = false)
@EnableKafka
@ConditionalOnMissingBean(name = KafkaListenerConfigUtils.KAFKA_LISTENER_ANNOTATION_PROCESSOR_BEAN_NAME)
static class EnableKafkaConfiguration {
}

If we're not using @EnableSqs, maybe we can use an @Import(SqsBootstrapConfiguration.class) directly. That's what users would need to do manually if not using Spring Boot. Not sure why @EnableSqs is to be avoided, but I'm ok with it 😄
We'll probably need to provide a SqsMessageListenerContainerFactory and a SqsAsyncClient for the listener configuration.
Using user-defined beans
We should let users provide components as beans and add them to the default factory, e.g. AsyncErrorHandler, AsyncSplitter, etc.
Mapping properties
We should think what properties we want to expose via properties file, such as maximum number of inflight messages per queue or pollTimeout and perhaps some SqsAsyncClient options. This would probably be better done in a later moment when we can have a better sense of what options we'll have and what's necessary.

Almost done with this, should push tomorrow (that’s Friday here 😄)


Add epub namespace to sections

Generating an epub with custom attributes fails with the error: ERROR: Parsing failed: Namespace prefix epub for type on a is not defined...
This is because the document requires the http://www.idpf.org/2007/ops namespace declared (see EPUB Content Document Reference for example).
This PR adds the namespace to any section generated.
Another option would be to give the author the ability to add it manually, but in most circumstances, I assume that the content is just added blindly and the developer is not aware of the presence of epub tags.

Coverage increased (+0.01%) to 87.197% when pulling 85f09b6b521c543cfb985da57dc9371ae9baf4a4 on epub-namespace into 3304e1a90f92188cc106af2e5eb62264105737ac on main.

Looks great, thanks!

Feel free to create a new release, or I can if you'd like.


php_parallel_lint notice error.

Hello,
when using this php_parallel_lint, I get error like this:
RUNNING PLUGIN: php_parallel_lint
EXCEPTION: Notice: Array to string conversion in /var/www/PHPCI/Helper/BaseCommandExecutor.php line 75
PLUGIN STATUS: FAILED

Thanks

I had same issue today, and this change will help you:
    php_parallel_lint:
        directory:
            - "app"

to:
    php_parallel_lint:
        directory: "app"

Just had the same issue, ended up changing to:
    php_parallel_lint:
        ignore:
            - "database"
            - "logs"
            - "vendor"

Would have been nicer to whitelist:
    php_parallel_lint:
        directory:
            - "application"
            - "public"

Would be possible if php parallel lint support --include as well as --exclude (need to check it may not have an include flag available).

Closing this on the assumption it is fixed and/or no longer relevant by now. Feel free to reopen if this assumption is incorrect.


Support for Ruby 3

$ pre-commit run -a
heck markdown files........................................................Failed
- hook id: markdownlint
- exit code: 1

Executable `/usr/bin/ruby2.7` not found

$ which -a ruby
/usr/bin/ruby
/bin/ruby

$ ruby --version
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]

I'm using the following version:
  - repo: https://github.com/jumanjihouse/pre-commit-hooks
    rev: 2.1.6
    hooks:
      - id: markdownlint  # Configure in .mdlrc

Tested 3.0.0 release with ruby 3.2.1 and it worked for me as well.


The Nexus server is down

Hi, I think the Nexus server is down, when I tried to build my project, I got this error
> Could not resolve com.aheaditec.talsec.security:TalsecSecurity-Community:8.0.2.
> Could not get resource 'https://nexus3-public.monetplus.cz/repository/ahead-talsec-free-rasp/com/aheaditec/talsec/security/TalsecSecurity-Community/8.0.2/TalsecSecurity-Community-8.0.2.pom'.
> Could not GET 'https://nexus3-public.monetplus.cz/repository/ahead-talsec-free-rasp/com/aheaditec/talsec/security/TalsecSecurity-Community/8.0.2/TalsecSecurity-Community-8.0.2.pom'.
> Read timed out
Also this link is not accessible
https://nexus3-public.monetplus.cz/#browse/browse:ahead-talsec-free-rasp

Hello @rongjc ,
the issue has been solved. The Nexus server is up again. We have a replacement of the server in the roadmap.
Kind regards,
Talsec team


SpannerRelation: implement ColumnarRow, ColumnVector

We need a class that'll convert ResultSet.Row to an instance of spark.ColumnVector and then finally to one of spark.ColumnRow
These are useful to complete SpannerRelation.buildScan which returns RDD<Row>

No longer relevant per https://github.com/GoogleCloudDataproc/spark-spanner-connector/pull/59


feature: Add stylecop and Roslynator, Configurable Tokens

@worldbeater just for case, it's possible to convert RuleSet files to editorconfig
https://github.com/dotnet/roslyn/issues/41393
https://stackoverflow.com/questions/63245342/confused-over-ruleset-files-vs-editorconfig-files
Not sure if it's possible with StyleCop config tho.

@worldbeater just for case, it's possible to convert RuleSet files to editorconfig
https://github.com/dotnet/roslyn/issues/41393
https://stackoverflow.com/questions/63245342/confused-over-ruleset-files-vs-editorconfig-files
Not sure if it's possible with StyleCop config tho.

@maxkatz6 thanks for reviewing, converted analyzers.ruleset to .editorconfig!

@maxkatz6 thanks for reviewing, converted analyzers.ruleset to .editorconfig!


Relative links to local files in comments don't work

Type: Bug
Steps to Reproduce:

Add a relative link to a file from the same project in a plain comment or a JSDoc @link tag: // file://./package.json
Ctrl-click the link.
Error: Unable to open 'package.json'.  [...] file was not found.

Apparently support for this was added (or fixed) in #90848 three years ago, but it looks like it regressed.
 I don't  think we've ever supported this syntax for rendering @link in hovers and suggestions so it's likely not a regression

@mjbvz I'm not sure if I'm missing something, but the STR from #90848 doesn't work for me (as I mentioned "in a plain comment").
/**
 * Pretty things file://./package.json
 * Pretty things file:///./package.json
 */

Both of these render as a link for me:

but if I ctrl-click them, I get the Unable to open "package.json" error:

Not sure what's happening, am I missing some configuration to enable this to work as intended?


Desk bells are bad

when you try and ding them you pick them up
nobody uses them anymore because of this

Maybe just make them anchorable?

some bells are serialized differently as well causing them to have completely different behavior, on cluster for example the one in the kitchen gets picked up but the one in the abandoned bar is dinged like normal

bout to migrate desk bells out of the game

it should be anchored in the prototype so serialization funnies dont break it

god please get rid of these damn things

god please get rid of these damn things

or at least make them sound to the specific radio channel like [engineering] "urist mchands is at the front desk"


Memo is not adding after using same keyword

Describe the bug
<zinc -w> command will not sync/add the memo after using same keyword of the previously synced memo.
To Reproduce
Steps to reproduce the behavior:

Add a memo using <zinc -w> with a keyword
Add another memo using <zinc -w> with the same keyword as the previous
Perform zinc -f  to find the second memo.

Expected behavior
The memo which is added at the step 2 will not sync. Instead you will find the first memo. This happens flawlessly without informing the user.
Command Line(please complete the following information):

OS: Ubuntu 20.04 LTS
Command Line Tool: Terminal

Hi @Akshay787
Thank you for your contribution.
As of v0.3.0, the Zinc only writes a single entry as output to the terminal even though we have specified multiple memos with the same keyword. The sync will happen as expected, but while printing it only prints the first occurrence.
We will consider this as an enhancement and release a new version in the future with the enhanced implementations.


Possible CSRF detected - state parameter was present but no state could be found

When i try to create a Spring OAuth server, like this, in Spring blog, i get an error:
curl -X GET http://localhost:8080 -v -L -u user:password

Rebuilt URL to: http://localhost:8080/
Hostname was NOT found in DNS cache
Trying <IP_ADDRESS>...
Connected to localhost (<IP_ADDRESS>) port 8080 (#0)
Server auth using Basic with user 'user' > GET / HTTP/1.1 > Authorization: Basic dXNlcjpwYXNzd29yZA== > User-Agent: curl/7.35.0 > Host: localhost:8080 > Accept: / > < HTTP/1.1 302 Found
Server Apache-Coyote/1.1 is not blacklisted < Server: Apache-Coyote/1.1 < X-Content-Type-Options: nosniff < X-XSS-Protection: 1; mode=block < Cache-Control: no-cache, no-store, max-age=0, must-revalidate < Pragma: no-cache < Expires: 0 < X-Frame-Options: DENY < Set-Cookie: JSESSIONID=16E880F53147AF4FA4C598615CFE97D4; Path=/; HttpOnly < Location: http://localhost:8080/login < Content-Length: 0 < Date: Wed, 26 Nov 2014 19:38:18 GMT <
Connection #0 to host localhost left intact
Issue another request to this URL: 'http://localhost:8080/login'
Found bundle for host localhost: 0x15cf8b0
Re-using existing connection! (#0) with host localhost
Connected to localhost (<IP_ADDRESS>) port 8080 (#0)
Server auth using Basic with user 'user' > GET /login HTTP/1.1 > Authorization: Basic dXNlcjpwYXNzd29yZA== > User-Agent: curl/7.35.0 > Host: localhost:8080 > Accept: / > < HTTP/1.1 302 Found
Server Apache-Coyote/1.1 is not blacklisted < Server: Apache-Coyote/1.1 < X-Content-Type-Options: nosniff < X-XSS-Protection: 1; mode=block < Cache-Control: no-cache, no-store, max-age=0, must-revalidate < Pragma: no-cache < Expires: 0 < X-Frame-Options: DENY < Set-Cookie: JSESSIONID=8BCDD1F49074CA6239BC1E93903180F3; Path=/; HttpOnly < Location: http://localhost:9998/oauth/authorize?client_id=my-trusted-client&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Flogin&response_type=code&state=Bvp1wZ < Content-Length: 0 < Date: Wed, 26 Nov 2014 19:38:18 GMT <
Connection #0 to host localhost left intact
Issue another request to this URL: 'http://localhost:9998/oauth/authorize?client_id=my-trusted-client&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Flogin&response_type=code&state=Bvp1wZ'
Found bundle for host localhost: 0x15cf8b0
Hostname was NOT found in DNS cache
Trying <IP_ADDRESS>...
Connected to localhost (<IP_ADDRESS>) port 9998 (#1)
Server auth using Basic with user 'user' > GET /oauth/authorize?client_id=my-trusted-client&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2Flogin&response_type=code&state=Bvp1wZ HTTP/1.1 > Authorization: Basic dXNlcjpwYXNzd29yZA== > User-Agent: curl/7.35.0 > Host: localhost:9998 > Accept: / > < HTTP/1.1 302 Found
Server Apache-Coyote/1.1 is not blacklisted < Server: Apache-Coyote/1.1 < Strict-Transport-Security: max-age=31536000 ; includeSubDomains < Pragma: no-cache < Expires: Thu, 01 Jan 1970 00:00:00 GMT < Cache-Control: no-cache < Cache-Control: no-store < Location: http://localhost:8080/login?code=2eJuuj&state=Bvp1wZ < Content-Language: pt-PT < Content-Length: 0 < Date: Wed, 26 Nov 2014 19:38:18 GMT <
Connection #1 to host localhost left intact
Issue another request to this URL: 'http://localhost:8080/login?code=2eJuuj&state=Bvp1wZ'
Found bundle for host localhost: 0x15cf8b0
Re-using existing connection! (#0) with host localhost
Connected to localhost (<IP_ADDRESS>) port 8080 (#0)
Server auth using Basic with user 'user' > GET /login?code=2eJuuj&state=Bvp1wZ HTTP/1.1 > Authorization: Basic dXNlcjpwYXNzd29yZA== > User-Agent: curl/7.35.0 > Host: localhost:8080 > Accept: / > < HTTP/1.1 500 Internal Server Error
Server Apache-Coyote/1.1 is not blacklisted < Server: Apache-Coyote/1.1 < X-Content-Type-Options: nosniff < X-XSS-Protection: 1; mode=block < Cache-Control: no-cache, no-store, max-age=0, must-revalidate < Pragma: no-cache < Expires: 0 < X-Frame-Options: DENY < Set-Cookie: JSESSIONID=BB959926086631B7120D7B9ED51C385D; Path=/; HttpOnly < Content-Type: application/json;charset=UTF-8 < Transfer-Encoding: chunked < Date: Wed, 26 Nov 2014 19:38:18 GMT < Connection: close <
Closing connection 0 {"timestamp":1417030698602,"status":500,"error":"Internal Server Error","exception":"org.springframework.security.oauth2.common.exceptions.InvalidRequestException","message":"Possible CSRF detected - state parameter was present but no state could be found","path":"/login"}

Apparently, state param is not maintained between different requests, by OAuthRestTemplate.

Hi, I am having the same issue when trying to write end-to-end tests for the service which has @EnableOauth2Sso. I am using RestAssured to send the requests and also sending the required cookies along with my request.

I have the same problem, when I run my applications in docker environment. My client and oauthserver are both behind a zuul proxy. When I try to connect to a secured path on my client I will be routed to the oauthserver. When I come back after successfull login to the client I get:
"Possible CSRF detected - state parameter was required but no state could be found"
Can you please provide further ideas for analysing, @dsyer ?

HI @PascalStieber have you solved your problem , am facing the same issue as urs. am running a spring security application supported by google oauth . the application is behind a zuul proxy.

Hi,
I am not sure what the solution was about. Are your sso properties correct? In my case was something wrong with the zuul  properties, I Gruß. Had to set zuul.use-host-ip to true.

Hi @PascalStieber thanks for your quick reply , but i am not able to find zuul.use-host-ip property .

Sorry unfortunately it still doesn't work for me  :( . I tried everything but accessTokenRequest.setPreservedState(oauth2Context.removePreservedState(stateKey)); gives me null only.
i could see it sets properly before login but after login it goes off :(

if you can provide me the github code , it will be very useful for me.


Fix check for non-stable docker image in the CD pipeline

Fixes https://github.com/dmwm/WMCore/issues/11762
Complement to https://github.com/dmwm/WMCore/pull/12005
Status
ready
Description
As reported in this comment:
https://github.com/dmwm/WMCore/pull/12005#issuecomment-2319718816
the latest changes to this CD pipeline are incorrectly skipping the non-stable tag, because the they refer to the same tag.
Explicitly writing -stable in that grep command should solve this problem.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
Bug fix for https://github.com/dmwm/WMCore/pull/12005
External dependencies / deployment changes
None

Unit test failure is completely unrelated (and we have no unit tests for bash scripts).
@todor-ivanov @vkuznet if you have a change today, I would appreciate it if you could review this PR. Thanks

Thanks Valentin!


exploitdb: 2021-12-18 -> 2021-12-21

Motivation for this change
update to 2021-12-21
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] 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.

Result of nixpkgs-review pr 151764 run on x86_64-linux 1

1 package built:

exploitdb


e2pg: user supplied db migrations

Each integration writes data to a PG table. Those tables are created via SQL migrations which are tracked in this file and the migrations are ran each time E2PG starts up.
The standard E2PG schema is designed to be general purpose. However, one of the advantages of sticking Eth data in your PG database is that you can do wild stuff with it that is not so general purpose. This begs the question: how are E2PG users able to add migrations to change the schema. I can think of two ways:

E2PG users manage the migrations themselves. This may be the best answer. I assume a typical E2PG user has an app with a PG database. They may have E2PG writing to that database. In this case, the app probably already has to deal with migrations. Therefore the app migrations can freely make changes to the E2PG related tables.
E2PG provides a way for users to add migrations to their config.json file. The config.json file contains the list of tasks and integrations that E2PG will run. This file could also hang on to SQL commands that are run during the E2PG startup phase. In this world E2PG would have 2 kinds of migrations: System Migrations and User Migrations. User migrations would have their own history and would be run after the System Migrations.

Here is an example of a config.json file that includes User Migrations
{
  "tasks": [
    {
      "name": "mainnet",
      "id": 1,
      "chain": 1,
      "concurrency": 8,
      "batch": 128,
      "eth": "https://1.rlps.indexsupply.net",
      "pg": "postgres:///e2pg",
      "integrations": [
        "erc721",
        "erc1155"
      ]
    },
    {
      "name": "bedrock",
      "id": 2,
      "chain": 10,
      "concurrency": 8,
      "batch": 1024,
      "eth": "http://10.rlps.indexsupply.net",
      "pg": "postgres:///e2pg",
      "integrations": [
        "erc20"
      ]
    }
  ],
  "migrations": {
    "1": {
      "sql": "create index on erc20_transfer(f)"
    },
    "2": {
      "sql": "alter table erc20_transfer add column my_custom_column text"
    }
  }
}

Closing this for now since E2PG now supports declarative integrations. This means you don't have to write code or schemas for an integration. And this means that providing a user configured database migration system is not as important.


(recursive) symlinks on Windows make mvn -Dmaven.test.skip=false test execute for ages

In our case it is the source symlink from utilities/project_helpers


Invert milestone progress

Fixes #1244

But now it’s 100% complete when it’s actually 0% complete. 😬
Sent with GitHawk


Update samgasi.txt

file_3.zip
Our school, which was an institute, has become a university and the field name has changed.

@ist-bull First stage of verification passed, official domain for Samarqand davlat arxitektura-qurilish Universiteti is samgasi.uz as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@ist-bull Thank you for the update. Pull request merged.


Don't log socat notice messages as it is flooding the logs

Reducing socat log level to prevent flooding notice messages to elasticsearch (or whatever log backend)

Oops. Thanks for the catch! :)


Fixing Toolbar in #405

Click handler and view reference were disposed of too soon.

This change is

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


[QUESTION] Can you change the package repositories used to patch the image?

What is your question?
Curious if you can configure the package repository that the tool uses to patch the affected packages?

#321 has additional use cases and context too

if this functionality is needed, current workaround is to change the default repositories to the mirrors
for example, updating /etc/apt/sources.list from http://archive.ubuntu.com/ubuntu/ to https://mirrors.wikimedia.org/ubuntu/

Got it, thanks @sozercan!


Make the KaTeX feature an inline entity type

Hi,
we have a client using an older version of this library (https://github.com/gatensj/wagtail-draftail-katex), that wants to be able to use KaTeX formatting in-line. It looks like this would be possible by changing the feature to be an inline entity type (subclassing InlineEntityElementHandler rather than AtomicBlockEntityElementHandler and making any other necessary changes).
We are willing to submit a PR to this effect. Would these changes be in line with the goals of this package? If we do the work, will someone be able to review the code, and publish the merged changes to PyPI?

Hi,
This fork will be published at https://pypi.org/project/wagtail-katex, any PR is welcome.

Closing this, after a closer look it looks like what I had planned is not possible without some fairly extensive hacks.


default timezones set on datetime

I would like to propose modifying src/common.c to remove line 380 in function from_datetime_kobject()
settimezone(result,"GMT");

and also removing or commenting the entire function settimezone() at lines 66-74 since that is the only place this function is used. Here is the reason:
This function returns an R POSIXct object. In R, such an object is always in UTC. It may optionally include a tzone attribute, indicating how it would prefer to be displayed; without that attribute it is displayed by default in the machine local timezone though any different display timezone can also be specified. Kdb+ datetime objects have no such property, so the interface should not add this information. If the Kdb+ datetime is not UTC, then the conversion will simply be incorrect, and adding the label does not fix it.
R Sys.time() returns local time with no default time zone. It would be useful if execute(db,'.z.z') also had no default time zone. At least in older versions of R, warnings were produced if arithmetic were done between POSIXct objects with different default time zones.
Finally, "GMT" is an obsolete specification; the modern usage is "UTC".
To summarize: attaching a default time zone to POSIXct objects returned by rkdb is unnecessary, is an inaccurate reflection of what is in the underlying data table, and is a potential source of confusing errors. It would be simpler to remove that code.

Thanks for the suggestion, I'm going to implement this change over the next couple of days and rerelease the interface. I think there may be some issues with back compatibility but I believe your analysis is correct and the appropriate change is to remove the timezone setting. I'll add a comment below once a PR is in for this.


Expose/Allow alteration of template for html generation (request)

It would be cool if we could provide an alternate template file while building for saving into source control with our project.  It'd be nice to be able to put something into the HTML or the basic setup of the page in a template so we don't have to do it by hand after the build.  The current use case (but there are others) is an instance where the developer wants to put extra html into the header like this:

<![if !IE]>

<![endif]>
before the rally script tag.  (I can think of other instances where we might want to muck with the definition of the launch js or do something in the body.)  An alternate template would be awesome because we could version control it and we wouldn't have to keep remembering to add the stuff by hand on every build.

working on this now...  stay tuned!

Implemented in 1.2.5
You can specify templates to use either with the -t or --templates flags when running build/watch or just specify your templates in the config.json file


Missing Dataset

Is the dataset available somewhere to train the model? Otherwise, are the weights somewhere to use them without the training?

Hi Jonathan,
Thank you for your interest!
You can use any dataset to train the model, including publicly available ones. Here are three examples of general-purpose datasets that might work for your training needs:
https://data.acfr.usyd.edu.au/ag/treecrops/2016-multifruit
https://www.researchgate.net/publication/338495204_MinneApple_A_Benchmark_Dataset_for_Apple_Detection_and_Segmentation
https://rex.libraries.wsu.edu/esploro/outputs/dataset/99900502619401842 [ArtificialLight]

Additionally, if you'd like, I can share the datasets I specifically used for training:
https://drive.google.com/file/d/1K3eiYbiCIA80Iiv2BgBTG69pnR6jwMNq/view?usp=drive_link
https://drive.google.com/file/d/13iS0qAVI8nMP7TIO3DuQK0J_yYtlU8yY/view?usp=drive_link
https://drive.google.com/file/d/1uC3pzIzccvsTASOxKBP213St1Xifjh5Y/view?usp=drive_link

If you'd prefer to skip the training process, you can also use the pre-trained weights I’ve provided:
YOLOv1-02:  https://drive.google.com/file/d/1DhqfTA2Pqcy4zOx-R2WzPtBNubcJ0JlY/view?usp=sharing
YOLOv3: https://drive.google.com/file/d/1_-m2Kdpsc60cmd4V9OElAyRif4OFVZMu/view?usp=sharing

Feel free to reach out if you have any other questions or need assistance!
Best regards,
przemekMal


Can't Pull the Function if Function Body Includes Empty Lines

The function created:

The error when running Kusto-Delta:

The job:
  Sync-Playground:
    target:
        adx:
            clusterUri:  <clusterUrl>
            database:  <Database Name>
    action:
        filePath:  <local path>

This is a duplication of issue https://github.com/microsoft/delta-kusto/issues/154
Hi @vplauzon, would you please review this PR (https://github.com/microsoft/delta-kusto/pull/167) for this opening issue? Thanks in advance.


Make PA use MV power.

Will need map changes.
Why / Balance
Rest of the equipment like the field also uses MV. This makes it so the PA can be ran off the same network, which makes it easier to bootstrap power.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

:cl:

tweak: The particle accelerator now uses an MV power wire instead of HV. You might need to manually connect it up before the maps get fixed.

The PA is a generator that's even more powerful than the AME, the lasers are just devices that use power
All generators (specially PA) use HV cables because they are the only ones who can withstand high tensions.
This change doesn't really make much sense.


502 Network Error

(base) PS G:\AIlice> conda activate AIlice
(AIlice) PS G:\AIlice> ailice_web --modelID=lm-studio:TheBloke/Mistral-7B-OpenOrca-GGUF/mistral-7b-openorca.Q5_K_M.gguf --prompt="main" --contextWindowRatio=0.5
config.json is located at C:\Users\29099\AppData\Local\Steven Lu\ailice
In order to simplify installation and usage, we have set local execution as the default behavior, which means AI has complete control over the local environment. To prevent irreversible losses due to potential AI errors, you may consider one of the following two methods: the first one, run AIlice in a virtual machine; the second one, install Docker, use the provided Dockerfile to build an image and container, and modify the relevant configurations in config.json. For detailed instructions, please refer to the documentation.
storage  started.
browser  started.
arxiv  started.
google  started.
duckduckgo  started.
scripter  started.
files  started.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
We now start the vector database. Note that this may include downloading the model weights, so it may take some time.
Vector database has been started. returned msg: vector database has been switched to a non-persistent version. tokenizer: bert-base-uncased, model: nomic-ai/nomic-embed-text-v1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Running on local URL:  http://<IP_ADDRESS>:7860

To create a public link, set `share=True` in `launch()`.
ASSISTANT_AIlice:  Exception in thread Thread-6:
Traceback (most recent call last):
  File "C:\Program Files\Python310\lib\threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python310\lib\threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "G:\AIlice\ailice\core\AProcessor.py", line 83, in __call__
    ret = self.llm.Generate(prompt, proc=partial(self.outputCB, "ASSISTANT_" + self.name), endchecker=self.interpreter.EndChecker, temperature = config.temperature)
  File "G:\AIlice\ailice\core\llm\AModelChatGPT.py", line 26, in Generate
    for chunk in self.client.chat.completions.create(model=self.modelName,
  File "C:\Users\29099\AppData\Roaming\Python\Python310\site-packages\openai\_utils\_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
  File "C:\Users\29099\AppData\Roaming\Python\Python310\site-packages\openai\resources\chat\completions.py", line 663, in create
    return self._post(
  File "C:\Users\29099\AppData\Roaming\Python\Python310\site-packages\openai\_base_client.py", line 1200, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
  File "C:\Users\29099\AppData\Roaming\Python\Python310\site-packages\openai\_base_client.py", line 889, in request
    return self._request(
  File "C:\Users\29099\AppData\Roaming\Python\Python310\site-packages\openai\_base_client.py", line 965, in _request
    return self._retry_request(
  File "C:\Users\29099\AppData\Roaming\Python\Python310\site-packages\openai\_base_client.py", line 1013, in _retry_request
    return self._request(
  File "C:\Users\29099\AppData\Roaming\Python\Python310\site-packages\openai\_base_client.py", line 965, in _request
    return self._retry_request(
  File "C:\Users\29099\AppData\Roaming\Python\Python310\site-packages\openai\_base_client.py", line 1013, in _retry_request
    return self._request(
  File "C:\Users\29099\AppData\Roaming\Python\Python310\site-packages\openai\_base_client.py", line 980, in _request
    raise self._make_status_error_from_response(err.response) from None
openai.InternalServerError: Error code: 502

Proxy problem, problem solved after resetting proxy.


doc(README): remove typo

Description:
This Pull Request fixes a typographical error in the README.md file.
Changes Made:

Corrected "uncipher" to "encipher" in the README.md file.

Additional Information:
This fix is not related to any existing issue. It's a minor typo that I noticed while reviewing the README.
Thank you for considering this contribution.

I'm closing this due to inactivity...


Use an absolute reference for the release remote

We don't always know what repository the origin remote is pointing to,
but the release process expects it to be the upstream repository.
Let's make sure that's what we're pushing release information to.
Fixes #8

/docs-approved
/px-approved

/label docs-approved
/label px-approved

/label qe-approved
This is related to release notes, no QE needed for this.

/retest

lgtm!

/test e2e-aws


How do I add an in-code method to the scheduler?

Task actions seems to only take in a string path or TAction but won't let me pass an in-code method. How would I do that?
public void Start()
{
    TaskDefinition task = TaskService.Instance.NewTask();
    task.RegistrationInfo.Description = GetName();
    DailyTrigger trigger = new DailyTrigger();
    trigger.StartBoundary = DateTime.SpecifyKind(DateTime.Today.AddHours(12).AddMinutes(45), DateTimeKind.Utc);
    task.Triggers.Add(trigger);
    task.Actions.Add(Elapsed()); //error
    TaskService.Instance.RootFolder.RegisterTaskDefinition("Scan", task);
}

public void Elapsed()
{
   //Read a file line
   //Send email of file line
}

This functionality is not available from the native Windows Task Scheduler. The task scheduler runs as an elevated service. Therefore, the inline execution you are suggesting would result in a significant security hole.
To run private code, you either need to call an executable with it, using ExecAction, or write a COM object per the ITaskServiceHandler interface (see home page), using ComHandlerAction.

I'm confused on the com object, would I pass the method on the com handler? could you give a quick code example?

https://github.com/dahall/ITaskHandlerTemplate

What a bummer, seems to have alll the components i need, easy to use. but I cant go like "task.Actions.Add(() => ExecuteAction());"
Well, that erases it from the realm of usable compoments :x


Update to the GitHub Subprocessors and Cookies policy - Winter 2019

This update to the Subprocessors and Cookies policy updates our subprocessor list and our policy with respect to cookie usage on our website, including changes to the following sections:

GitHub Subprocessors
Cookies on GitHub
Tracking on GitHub

Thank you all for your comments and feedback! As stated in our blog post, the comment period ends today. I am closing this pull request for internal review of any remaining comments. We will commit final clarifications or edits when we merge this pull request next Friday, April 19. At that time, the updated version of this policy will be effective.


 Does it fix your "monstrosity"? :D

Great then, thanks!


Felling axes not counted

Loving this plugin to maximize the Forestry bonus I get, but it seems it does not currently track felling axes interacting with the trees. Any news on when this might get fixed?

I've been meaning to get this fixed but I currently don't have membership to test the changes. It's as simple as adding in the new axe data, but I would like to test it and confirm everything is working. I'll see what I can do.

No rush, not a huge deal, just wanted to make the issue so anyone else wondering the same knows its being worked on.

I have submitted the update. I'll leave the issue open until the folks at RuneLite accept the changes and push the update to the Plugin Hub.
https://github.com/runelite/plugin-hub/pull/5136


Error: cannot find default versions of the ISA extension `b'

When I run make SIMULATOR=questa ISS=spike TEST=riscv_arithmetic_basic_test in dv/uvm/core_ibex, It returns the following:

Makefile:162: out/.sim-cfg.mk: No such file or directory
mkdir -p out/
mkdir -p out/seed-9043/.metadata
Sun, 27 Feb 2022 12:17:37 INFO     Creating output directory: out/seed-9043/instr_gen
Sun, 27 Feb 2022 12:17:37 INFO     Processing regression test list : riscv_dv_extension/testlist.yaml, test: riscv_arithmetic_basic_test
Sun, 27 Feb 2022 12:17:37 INFO     Found matched tests: riscv_arithmetic_basic_test, iterations:10
Sun, 27 Feb 2022 12:17:37 INFO     Processing simulator setup file : /ies/ahmhas5b/proj/dolphin/ramp/ibex/vendor/google_riscv-dv/yaml/simulator.yaml
Sun, 27 Feb 2022 12:17:37 INFO     Found matching simulator: questa
Sun, 27 Feb 2022 12:17:37 INFO     Building RISC-V instruction generator
Sun, 27 Feb 2022 12:17:52 INFO     Running RISC-V instruction generator
Sun, 27 Feb 2022 12:17:52 INFO     Generating 10 riscv_arithmetic_basic_test
Sun, 27 Feb 2022 12:17:52 INFO     Running riscv_arithmetic_basic_test with 1 batches
Sun, 27 Feb 2022 12:17:52 INFO     Running riscv_arithmetic_basic_test, batch 1/1, test_cnt:10
Sun, 27 Feb 2022 12:18:06 INFO     Creating output directory: out/seed-9043/instr_gen
Sun, 27 Feb 2022 12:18:07 INFO     Processing regression test list : riscv_dv_extension/testlist.yaml, test: riscv_arithmetic_basic_test
Sun, 27 Feb 2022 12:18:07 INFO     Found matched tests: riscv_arithmetic_basic_test, iterations:10
Sun, 27 Feb 2022 12:18:07 INFO     Compiling out/seed-9043/instr_gen/asm_test/riscv_arithmetic_basic_test_0.S
Assembler messages:
Error: cannot find default versions of the ISA extension `b'
Traceback (most recent call last):
File "/ies/ahmhas5b/proj/dolphin/ramp/ibex/vendor/google_riscv-dv/run.py", line 1155, in
main()
File "/ies/ahmhas5b/proj/dolphin/ramp/ibex/vendor/google_riscv-dv/run.py", line 1133, in main
args.gcc_opts, args.debug)
File "/ies/ahmhas5b/proj/dolphin/ramp/ibex/vendor/google_riscv-dv/run.py", line 446, in gcc_compile
run_cmd_output(cmd.split(), debug_cmd=debug_cmd)
File "/ies/ahmhas5b/proj/dolphin/ramp/ibex/vendor/google_riscv-dv/scripts/lib.py", line 195, in run_cmd_output
raise exc
File "/ies/ahmhas5b/proj/dolphin/ramp/ibex/vendor/google_riscv-dv/scripts/lib.py", line 192, in run_cmd_output
output = subprocess.check_output(cmd)
File "/ies/ahmhas5b/opt/anaconda3/lib/python3.7/subprocess.py", line 376, in check_output
**kwargs).stdout
File "/ies/ahmhas5b/opt/anaconda3/lib/python3.7/subprocess.py", line 468, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/ies/ahmhas5b/opt/riscv/bin/riscv64-unknown-elf-gcc', '-static', '-mcmodel=medany', '-fvisibility=hidden', '-nostdlib', '-nostartfiles', 'out/seed-9043/instr_gen/asm_test/riscv_arithmetic_basic_test_0.S', '-I/ies/ahmhas5b/proj/dolphin/ramp/ibex/vendor/google_riscv-dv/user_extension', '-T/ies/ahmhas5b/proj/dolphin/ramp/ibex/vendor/google_riscv-dv/scripts/link.ld', '-mno-strict-align', '-o', 'out/seed-9043/instr_gen/asm_test/riscv_arithmetic_basic_test_0.o', '-march=rv32imcb', '-mabi=ilp32']' returned non-zero exit status 1.
make: *** [out/seed-9043/.metadata/instr_gen.compile.stamp] Error 1

Hi there! This looks a lot like you're using a standard RISC-V toolchain without support for the B extension. Have you installed the a "lowRISC toolchain", as described here?

I think Rupert's reply answered the question in this issue and I am thus closing it.


Fix slow timeout typo

Fix slow timeout timeout for EthereumClient
Set version 3.9.4

Coverage increased (+0.4%) to 90.639% when pulling a978bf2c6065f791570586a9d138ff54a1b3f306 on fix-slow-timeout-typo into 4e6d690386047ea8e38206e0b925e907429b5eb5 on master.


Fix redundant empty tags in baseline XML

Fixes #7622
The CurrentIssues tag is reduced to a self-closing tag if there are no current issues.
The ManuallySuppressedIssues tag is removed entirely if there are no manually suppressed issues.

Warnings

:warning:
It looks like this PR contains functional changes without a corresponding test.

  Generated by :no_entry_sign: dangerJS against 3fbebaf2099fa66a9f1aba3129cc23d96facc85a

Warnings

:warning:
This PR is approved with no milestone set. If merged, it won't appear in the detekt release notes.

  Generated by :no_entry_sign: dangerJS against b44ff5ea2a6a408380638f2d68d590ee4c53e3ca

Thanks for the pr


Update msal-net-migration.md

There is an error with a code example that has now been changed so that a straight copy and paste will compile properly.

@MHarrop678 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


font awesome name="loading" not working

This code doesn't work.
<fa name="loading" spin ng-style="{'color': checkColor}"></fa>
Did you want to use name="spinner"?
<fa name="spinner" spin></fa>works

wow! gross oversight there. fixing now.

Thanks for opening that issue!

nice directive ;)


Backport: Compare out of order special VLANs

Related to issue #506

Related PR landed, closing issue.


Setting up TV , getting error "bash: python3.8: command not found"

Describe Your Problem:

I am attempting to follow the "Setting up the TV" directions pasted below but am getting an error response.
https://github.com/MrAsterisco/homebridge-hisense-tv

Setting up the TV
First, you need to get the name of the network interface that your Homebridge machine will use to connect to the TV. On Linux, you can get a list of all the network interfaces on your machine by running:
ip a
The name of a network interface usually looks similar to this: ens33.
For this plugin to work correctly, you need to configure your TV to use a static DHCP (or configure a static reservation on your router). You also need to find your TV's MAC Address: this is usually displayed under Settings > Network Information, but it might vary based on your model.
To connect to your TV, you need to pair the machine where you're running Homebridge with your TV. This is done in the command line, by manually running the bundled hisensetv.py script. To do this, find the node_modules folder in your system (on Linux, it is located in /usr/local/lib/node_modules) and move to homebridge-hisense-tv/bin, then run:
python3.8 hisensetv.py <TV_IP_ADDRESS> --authorize --ifname <NETWORK_INTERFACE_NAME>
Your TV, if compatible, will display a PIN code: insert it in the command line and confirm. Your device is now paired with your TV and they can communicate when the TV is on. Repeat this step for all the TVs you want to use via HomeKit.
If the command times-out after a while, make sure your TV is connected to the network and turned on. You can try to telnet <TV_IP_ADDRESS> 36669 to make sure your Homebridge instance can reach your TV. If telnet works but this command doesn't, try to run a different command, such as --get state (just replace authorize with this in the command above): if this command succeeds, it means your TV and your machine are already paired.

From this location
homebridge:/usr/local/lib/node_modules/homebridge-hisense-tv-remotenow/bin
I run this command:
python3.8 hisensetv.py 192.168.X.XXX --authorize --ifname wlan01
Response:
bash: python3.8: command not found
Logs:
[8/21/2021, 1:57:29 PM] ---
[8/21/2021, 1:57:29 PM] Loaded plugin<EMAIL_ADDRESS>[8/21/2021, 1:57:29 PM] Registering platform 'homebridge-hisense-tv-remotenow.HiSenseTV'
[8/21/2021, 1:57:29 PM] ---
[8/21/2021, 1:57:39 PM] [HiSenseTV] Initializing HiSenseTV platform...
[8/21/2021, 1:57:40 PM] [HiSenseTV] Adding new accessory: Sly TV
Preparing Advertiser for 'Sly TV 40CE' using bonjour-hap backend!
Starting to advertise 'Sly TV 40CE' using bonjour-hap backend!
[8/21/2021, 1:57:41 PM] Sly TV 40CE is running on port 44705.
[8/21/2021, 1:57:41 PM] Please add [Sly TV 40CE] manually in Home app. Setup Code: 863-75-332
[8/21/2021, 1:57:51 PM] [HiSenseTV] An error occurred while fetching inputs: TypeError: Cannot read property 'join' of null
[8/21/2021, 1:58:01 PM] [HiSenseTV] An error occurred while fetching inputs: TypeError: Cannot read property 'join' of null
[8/21/2021, 1:58:21 PM] [HiSenseTV] An error occurred while fetching inputs: TypeError: Cannot read property 'join' of null
[8/21/2021, 1:58:31 PM] [HiSenseTV] An error occurred while fetching inputs: TypeError: Cannot read property 'join' of null
[8/21/2021, 1:58:41 PM] [HiSenseTV] An error occurred while fetching inputs: TypeError: Cannot read property 'join' of null

Plugin Config:
{
    "ifname": "wlan01",
    "devices": [
        {
            "id": "Sly TV",
            "name": "Sly TV",
            "ipaddress": "192.168.X.XXX",
            "macaddress": "XX:XX:XX:XX:XX:XX",
            "sslmode": "disabled"
        }
    ],
    "platform": "HiSenseTV"

Environment:

Plugin Version: homebridge-hisense-tv-remotenow v1.1.0
Homebridge Version: homebridge -v1.3.4
Node.js Version: node -v14.17.5
NPM Version: npm -v6.14.14
Operating System:  Raspbian GNU/Linux Buster (10)

Are you able to set your homebridge to debug mode and paste the logs it gives more detailed information

@ColinKlayer it seems you don't have python3.8 installed or in your PATH.
I am not familiar with the Raspberry OS, but I did a quick Google search and found this: https://installvirtual.com/how-to-install-python-3-8-on-raspberry-pi-raspbian/
I'm closing this issue for now, as it's not related to the plugin itself.
In #15 , I suggested we update the documentation so that it includes all the steps in order to use this plugin on Raspbian. Feel free to drop your experience there as well. Unfortunately, I cannot do it myself, as I don't have a Raspberry machine.


[Bug] GraphQL body syntax highlightning stopped working in Bruno 1.6.0

It worked fine before upgrading from 1.5.1 to 1.6.0. I am using a Macbook Pro 14 using MacOS Sonoma 14.2.1. Maybe this is caused by the CodeMirror bump introduced in 1.6.0?

The fixes are now available in v1.6.1 🎉🎉


License

I would like to request to put a license, preferably an open source license. Right now, due to it having no license, it is following the default copyright laws.

Thank you for reminding me this! License added. This project is largely inspired by many other open source Firefox themes so it's definitely MIT license.


Multi facture status Through API or SDK 39% but we have the consent made with user with mfa

https://partner.microsoft.com/en-us/pcv/security/compliance shows multi facture status Through API or SDK 39% but we have the consent made with user with mfa.
The user has MFA Enforced using the MFA portal. We have implemented this long ago (not recent implementation)
Please help

I'm currently trying out the Get-PartnerUserSignInActivity, maybe you can list out some details with it as well?
<#

    .NOTES
        Resources
            Get-PartnerUserSignInActivity
            https://docs.microsoft.com/en-us/powershell/module/partnercenter/get-partnerusersigninactivity

#>

# Connect - Should open a internet browser windows
Connect-PartnerCenter

# Disconnect
Disconnect-PartnerCenter

# Get sign ins 7 days back
$SignIns = Get-PartnerUserSignInActivity -StartDate ([datetime]::Now.AddDays(-7))

# Count by
## All
$SignIns.'Count'
## UPN vs No UPN
$SignIns | Select-Object -Property @{'Name'='UpnPresent';'Expression'={-not[string]::IsNullOrEmpty($_.'UserPrincipalName')}} | Group-Object -Property 'UpnPresent' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize

# Group by
## UPN
$SignIns | Group-Object -Property 'UserPrincipalName' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
## Alternate Sign In Name
$SignIns | Group-Object -Property 'AlternateSignInName' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
## Risk level
$SignIns | Group-Object -Property 'RiskLevelDuringSignIn' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
## IsInteractive
$SignIns | Group-Object -Property 'IsInteractive' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
## App Id
$SignIns | Group-Object -Property 'AppId' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
## ClientAppUsed
$SignIns | Group-Object -Property 'ClientAppUsed' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
## AuthenticationDetails
### AuthenticationMethod
$SignIns | Select-Object -Property @{'Name'='AuthenticationMethod';'Expression'={$_.'AuthenticationDetails'.'AuthenticationMethod'}} | Group-Object -Property 'AuthenticationMethod' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
### AuthenticationStepResultDetail
$SignIns | Select-Object -Property @{'Name'='AuthenticationStepResultDetail';'Expression'={$_.'AuthenticationDetails'.'AuthenticationStepResultDetail'}} | Group-Object -Property 'AuthenticationStepResultDetail' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
### AuthenticationStepRequirement
$SignIns | Select-Object -Property @{'Name'='AuthenticationStepRequirement';'Expression'={$_.'AuthenticationDetails'.'AuthenticationStepRequirement'}} | Group-Object -Property 'AuthenticationStepRequirement' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
### Succeeded
$SignIns | Select-Object -Property @{'Name'='Succeeded';'Expression'={$_.'AuthenticationDetails'.'Succeeded'}} | Group-Object -Property 'Succeeded' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
## MfaDetail
### AuthMethod
$SignIns | Select-Object -Property @{'Name'='AuthMethod';'Expression'={$_.'MfaDetail'.'AuthMethod'}} | Group-Object -Property 'AuthMethod' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
## DeviceDetail
### Browser
$SignIns | Select-Object -Property @{'Name'='Browser';'Expression'={$_.'DeviceDetail'.'Browser'}} | Group-Object -Property 'Browser' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
### OperatingSystem
$SignIns | Select-Object -Property @{'Name'='OperatingSystem';'Expression'={$_.'DeviceDetail'.'OperatingSystem'}} | Group-Object -Property 'OperatingSystem' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
## Status
### ErrorCode
$SignIns | Select-Object -Property @{'Name'='ErrorCode';'Expression'={$_.'Status'.'ErrorCode'}} | Group-Object -Property 'ErrorCode' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
### FailureReason
$SignIns | Select-Object -Property @{'Name'='FailureReason';'Expression'={$_.'Status'.'FailureReason'}} | Group-Object -Property 'FailureReason' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
### AdditionalDetails
$SignIns | Select-Object -Property @{'Name'='AdditionalDetails';'Expression'={$_.'Status'.'AdditionalDetails'}} | Group-Object -Property 'AdditionalDetails' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize

# Analyze
## UPN on success authentications
$SignIns.Where{$_.'AuthenticationDetails'.'Succeeded'} | Group-Object -Property 'UserPrincipalName' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize
## UPN on failed authentications
$SignIns.Where{-not$_.'AuthenticationDetails'.'Succeeded'} | Group-Object -Property 'UserPrincipalName' -NoElement | Sort-Object -Property 'Count' -Descending | Format-Table -AutoSize

## Research
### Available properties
$SignIns | Select-Object -First 1 | Get-Member -MemberType '*Property' | Select-Object -ExpandProperty 'Name' | Sort-Object
$SignIns[0].RiskDetail
$SignIns[0].Status
$SignIns | Group-Object -Property Status -NoElement
$SignIns.Where{$_.RiskDetail}.Count

@o-l-a-v
1- how can I send you this information. I can't share it here as it list many UPN's from my organization
2- If I understand this correctly the commands you sent me are about user access to partner center (we're at 95% for users and we've already detected 2 signins that were made by mistake with an user with mfa exluded). Our main concern are "Through API or SDK", that we're at 39% altough the user that makes the consent has MFA enforced.

 :P
Im in the same boat as you, trying to find out what causes or bad score. I believe it's due to Cloudyn in our case. Also we use IT Glue, and their Office 365 integration is not using secure application model, so we disabled that as well.
I got this command from Yammer where I see you've also found. It certainly does not list the information we're looking for.

@o-l-a-v yes I realised your'e not MS after I also found you on Yammer :)
Interesting, we also use Cloudyn, so that could be a cause. We'll give it a look. What are you going to do with cloudyn?

@christianarg hopefully the percentages are looking better for you today. There have been a number of enhancements made to the command in question, so I would like to encourage you to update to the latest version and try again. The data returned from the Get-PartnerUserSignInActivity command will not match what is available in Partner Center due to the following reasons

The values in the dashboard are percentages of requests not authentication attempt
Since the Azure AD audit log only contains records of authentication attempts you will not easily be able to determine if the secure application model has been done correctly. This is because the exchange of a refresh token for an access token is not captured in the Azure AD audit logs

Basically the data returned from this command will only obtain sign-in attempts. With respect to the API this will allow you to identify any that is connection using the auth code or password flow. Hopefully with this information you will be able to better leverage this command to perform any further investigation you need. If you are still having issues identifying the reason why the API/SDK percentages are low for your organization, then I would like to encourage you to work with your SAM/TAM to investigate further.
If you are having issues with this module please let us know.


chore Reduce some BE execution log

Proposed changes
Issue Number: close #xxx

timeout does not print stack
when the runtime filter's relative query is finished before, it does not print the log.

run buildall


How about add the "@"

const FOO: u8 = 0;
fn bar(a: @FOO) {
    println!("{}",a);
}
fn main() {
    bar(3);
    bar();
}

The a parameter's type in the bar function is same to the FOO   (u8)
and the result is
3
0

I can ignore a parameter when I want to use its default value

The @ is already used in the language (https://doc.rust-lang.org/book/patterns.html#bindings), so you'd have to add some complexity to the parser on that side.

Your code would have thousands of const XX : u8 = y, where you can't really tell the difference between the ones that used by some code, the ones that are used by default parameters and the ones used by both.

2b) Your code would have thousands of constXX : u8 = y, making it ugly and unreadable. You would have to look for the type of FOO to know which type to use.

The doc generated by cargo would be a pain to read and/or to generate. What do you intend to use in the docs generated by cargo ?

Of all the solutions I have seen, this one is the most confusing one. In which languages @XX is used for default parameters exactly ?

Also please change your title, this is just click-baity and doesn't really tell us what this issue is about. Something like "Proposition to add @FOO for default parameters"

@Cobrand  I think
fn bar(a: u8 = 3){
    print!("{}",a);
}

is ok, but it looks like visual basic.

Just FYI, there is a lot of discussion about this in https://github.com/rust-lang/rfcs/issues/323.

Yes, let's use that issue. Closing as duplicate!


Android app crashing after fresh install

Hi,
I have used Keybase on my phone in the past. But today, freshly installed Keybase is crashing again and again, not able to run it once successfully, I don't know why.
My phone is:
Motorola Droid XT-1030 with Android 4.4.4

How I can send feedback from app if hasn't launched once yet?

Yeah, that's what I figured, but that's what we usually do. Which version of the OS are you on?  You might be S.O.L. unless you attach a debugger yourself, sorry... This never happens as far as we know...

My phone is:
Motorola Droid XT-1030 with Android 4.4.4

Ah, that's an ancient OS version, we don't support it, sorry.

Here for one, sorry!

you do support it 7-7
https://github.com/keybase/client/blob/787e7fe9f3460e006a9f75ea4255357bec523301/shared/react-native/android/build.gradle#L6

https://github.com/react-community/jsc-android-buildscripts/issues/8
It's a problem with the way libjsc is compiled, i've copied the lib from another app and it worked fine (playstore version)

@Hattshire From which app did you copy libjsc from? I'm encountering the same issue now.


Intermittent pipeline failures for macOS due to seed failures.

Seeing intermittent pipeline failures due to failures in task Populate the seed dir.
Example  (Storage ci)

Query for reference.
BuildLogLine
| where Timestamp >= now(-3d)
| where Message startswith "RuntimeError: seed failed due to failing to download"
| join kind=leftouter (Build | project BuildNumber, BuildId, DefinitionName, WebLink=extract_json("$_links.web.href", Data, typeof(string))) on $left.BuildId == $right.BuildId
| join kind=leftouter (BuildTimelineRecord) on LogId, ProjectId, BuildId
| sort by BuildNumber desc

All failing due to a specific exception on mac / python 3.7. It is no longer a network traversal issue. I am going forward with wrapping the whole thing in a retry, but I have a bad feeling that will not be a permanent solution.


Backend/metrics

Return epochs, spectrograms and some field of metadata in the classification response

Since I did the review IRL, nothing to say about this. From what I understand, there is only the following on our way to complete the back-end:

Be compatible with OpenBCI session data file AND Raw SD card file. Ensure it handles Ganglion and Cyton;
Compute metrics about sleep stage;
Tests edge cases input values to our endpoint.


Specify network interface and bypass proxy

Added a combobox on the MainForm to allow users with multiple network interfaces to specify which interface to use for internet connectivity. This helps avoid situations where the Server and Loader are on the same network or even on the same machine but can't establish a connection. Additionally, when retrieving the public IP address, set webclient not to use a proxy to prevent obtaining the proxy's public IP when the proxy is enabled.

Mind posting a screenshot of the new interface?
I'm incline to think if we add at interface/proxy settings they should go into the settings form rather than on the main form (which is already pretty cluttered).

I tried the latest loader and successfully logged in, so now i am wondering if we need this. I will give more tries, if the latest loader is enough for me i would prefer to close this PR.


Rotten Oranges Problem in C++

🚀 Feature
This is a very popular graph related problem.
Question - There are a set of oranges in a certain manner some of which are rotten while others are fresh.
The objective is to find the total time taken for all the oranges to become rotten when coming in contact with rotten oranges.
Have you read the [Contributing Guidelines on Pull Requests]
Yes I have read all the guidelines.
Motivation
I am a GSSoC 21 participant. I wish to work on this issue. Please assign me this task.
Pitch
I will implement this task in C++.

Sure thing @prithwirajmitra2001! I have added the GSSoC tag for now. We will tag the Level when you make a PR! +1


Regression: BModals no longer respect the "no-close-on-backdrop" attribute since version 0.25

Describe the bug
Hi,
since version 0.25, when you use <BModal no-close-on-backdrop /> the modal closes when clicking on the background (outside the b-modal).
Reproduction

Go to https://stackblitz.com/edit/github-rzxbjv-m6jegu
Click on the "Open Modal" button
Click with the mouse on the background (outside the b-modal), the b-modal will close (but it shouldn't !)

Reproduction
https://stackblitz.com/edit/github-rzxbjv-m6jegu
Used Package Manager
pnpm
Validations

[X] Have tested with the latest version. This is still alpha version and sometime things change rapidly.
[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Btw, and this is probably a separate issue, but I find that the gray background is now "flashing" when it appears with the popup, as if it was drawn with 2 different gray tones. It seems that the "no-fade" attribute no longer works the same way as before.

@xvaara https://github.com/bootstrap-vue-next/bootstrap-vue-next/pull/2250/commits/4c2c3badefefbe21989b1f32bf97638b83537917#diff-cd72a1f9c87225b810f18bdb37eebfea076561a2f038495c8aa295fbe915c584R23

I'll take a look tomorrow.

Thank you for the fix :)


RHTAPINST-149: Wait for Operators Rollout

All OLM managed operator have a "olm.managed=true" label, so we can use this to wait for the rollout of the operator to complete.

/lgtm

/retest

/lgtm


generate-domains-blacklist : allow url entries to fail

And still output the rest
I use it with:
gen-blacklist-and-reload-dnscrypt.bat :
@echo off

:: Refresh blacklist
cd %~dp0%
move /Y blacklist-domains.txt blacklist-domains.txt.old
py -2 generate-domains-blacklist.py > blacklist-domains.txt

:: Reload services
sc stop dnscrypt-proxy
sc start dnscrypt-proxy
sc stop dnscrypt-proxy_sec
sc start dnscrypt-proxy_sec

+ a task which starts gen-blacklist-and-reload-dnscrypt.bat at boot then every 24h

That should be an option.
If prefer to have a complete list. If a list source fails, the previous file with the complete list is kept. The idea is that it's better to have a complete list, even with some out-of-date entries, than replace the current list with a partial one.

Modified.
Now used with gen-blacklist-and-reload-dnscrypt.bat (which can handle the exit on error case) :
@echo off

:: Refresh blacklist
cd %~dp0%
py -2 generate-domains-blacklist.py -i > blacklist-domains.txt.new

if %ERRORLEVEL% EQU 0 (
    move /Y blacklist-domains.txt blacklist-domains.txt.old
    move /Y blacklist-domains.txt.new blacklist-domains.txt
) else (
    del blacklist-domains.txt.new
)

:: Reload services
sc stop dnscrypt-proxy
sc start dnscrypt-proxy
sc stop dnscrypt-proxy_sec
sc start dnscrypt-proxy_sec

Awesome, thanks!


LAN8720 no output RMII on gpio 0 and 17 (IDFGH-7429)

----------------------------- Delete above -----------------------------
Environment

Development Kit:      [ESP32-Wrover-Kit|ESP32-DevKitC]
Kit version (for WroverKit/DevKitC): v3
Module or chip used:  [ESP32-WROOM-32D|ESP32-WROOM-32U|ESP32-WROVER]
IDF version (run git describe --tags to find it):
v4.4.1
Build System:         [Make|CMake|idf.py]
Compiler version
xtensa-esp32-elf-gcc (crosstool-NG esp-2021r2-patch3) 8.4.0
Operating System:     [Windows|Linux|macOS]
(Windows only) environment type:ESP Command Prompt.
Using an IDE?: Yes
Power Supply:         USB

Problem Description
I am unable to get 50MHz  osci signal from gpio0 and gpio17
i can confirm this is working on idf 4.3

Expected Behavior
Actual Behavior
osci display 584mV 0Hz
Steps to reproduce
hook osci to pin 0 or 17 with RMII output enable
double check my pin connection is correct. using different module with same result
anyone can confirm if the RMII working in 4.4.1?
Code to reproduce this issue
res =  ETH.begin(1, -1, 23, 18, ETH_PHY_LAN8720);

Debug Logs
D: ETH pins -1, 23 and 18
E (23175) esp.emac: emac_esp32_init(349): reset timeout
E (23176) esp_eth: esp_eth_driver_install(214): init mac failed
[ 20027][E][ETH.cpp:320] begin(): esp_eth_driver_install failed

@tsctrl do you use ESP-IDF as such or Arduino? It seems like you initialize the Ethernet in Arduino style, but configuring it via Menuconfig.

@kostaond, idf with arduino as component. yes probably this issue should be on arduino
ETH.begin(1, -1, 23, 18, ETH_PHY_LAN8720, ETH_CLOCK_GPIO0_OUT, false);
i change to above init will output 50Mhz but not able go get IP only getting event SYSTEM_EVENT_STA_BEACON_TIMEOUT and followed by SYSTEM_EVENT_AP_STADISCONNECTED event.

the menuconfig now seems has no effect.
i am not getting ip from the dns

It is strange if it works with v4.3 because there is no option to configure EMAC clock during run-time in that version. Configuring EMAC clock was possible only during compile time and hence was not available in Arduino since it uses pre-compiled ESP-IDF.

issue with crystal grounding. close this as issue has been resolve.


feat(axis): add customValues option to customize axis tick/label positions

Brief Information
This pull request is in the type of:

[ ] bug fixing
[x] new feature
[ ] others

What does this PR do?

Add option customValues to axisTick and axisLabel, which allow the user to specify tick/label positions.
This PR is based on #13636 . Since it's a long time since the opening of this PR, I made a few adjustment based on the original commit, with full regards to the contribution to @dvdkon 's contribution.
Fixed issues
#13627
Details
Before: What was the problem?
See issue #13627
After: How is it fixed in this PR?
The new option allows for completely custom tick/label positions, for example:
xAxis: {
	type: 'value',
	axisLabel: {
		customValues: [0, 4, 7, 8, 9]
	},
	axisTick: {
		alignWithLabel: true,
		customValues: [0, 0.5, 1, 1.5, 2, 8, 9]
	},
}

Usage
Are there any API changes?

[x] The API has been changed. apache/echarts-doc@934107e341fc30b81f610e8ea894638e126550e3

In axis:

axisTick.customValues: (string | number | Date)[]
axisLabel.customValues: (string | number | Date)[]

Array of axis values on which a tick/label will be present (automatic tick generation is disabled)
Related test cases or examples to use the new APIs
test/axis-customTicks.html

@gooroodev review

Summary of Changes

Added Custom Tick/Label Positions:

Introduced customValues property to AxisTickOption and AxisLabelBaseOption interfaces in axisCommonTypes.ts.
Implemented logic to handle custom tick/label positions in axisTickLabelBuilder.ts by adding tickValuesToNumbers function and modifying createAxisLabels and createAxisTicks functions.

Test Case:

Created a new HTML test file axis-customTicks.html to demonstrate and verify the functionality of custom tick/label positions for different axis types (value, category, time, log).

Issues, Bugs, and Typos

Comma at the End of Object Properties:

In TypeScript interfaces, trailing commas are inconsistent. For example:customValues?: (number | string | Date)[]

should be:customValues?: (number | string | Date)[];

Sorting and Duplicating Ticks for Time Axis:

The logic to duplicate the first and last tick values for time axis might be confusing without comments explaining why it's necessary. Consider adding comments for clarity.

Proposed Improvements

Consistency in Trailing Commas:

Ensure all properties in interfaces end with a comma for consistency.interface AxisTickOption {
    inside?: boolean;
    length?: number;
    lineStyle?: LineStyleOption;
    customValues?: (number | string | Date)[];
}

Enhanced Comments for Clarity:

Add comments to explain the purpose of duplicating first and last tick values for time axis.function tickValuesToNumbers(axis: Axis, values: (number | string | Date)[]) {
    const nums = zrUtil.map(values, val => axis.scale.parse(val));
    if (axis.type === 'time' && nums.length > 0) {
        // Time axis needs duplicate first/last tick to ensure proper rendering.
        // The first and last tick/label don't get drawn.
        nums.sort();
        nums.unshift(nums[0]);
        nums.push(nums[nums.length - 1]);
    }
    return nums;
}

General Review of Code Quality and Style

Modularity and Separation of Concerns:

The new functionality is well-integrated into existing functions without disrupting existing logic, demonstrating good modularity and separation of concerns.

Code Readability:

The code is generally readable and follows good naming conventions. However, adding more comments, especially for complex logic, would enhance understanding.

Test Coverage:

The new test file axis-customTicks.html provides comprehensive test cases for value, category, time, and log axes, ensuring the new feature is well-tested.

Use of Utilities:

The use of zrUtil.map for mapping values is appropriate and leverages existing utilities effectively.

Summary
Overall, the pull request introduces a valuable feature for customizing axis tick/label positions. The code is well-structured, and the changes are integrated seamlessly. Minor improvements in consistency and comments would further enhance the quality and maintainability of the code.
Yours, Gooroo.dev. To receive reviews automatically, install Github App

Thank you for the customValues parameter. It’s very helpful. However, the DataZoom Y-axis slider isn't working as expected.
Please check the screenshot below. I have set customValues starting from 800 to 1400, and in the DataZoom slider, I have set startValue = 930 and endValue = 1330. You can see that the labels rendered are not correct; we are also seeing labels 900 and 1350 on the Y-axis.

@shreya0230 Please open an issue for your question and mention this PR.


fix initialize redis client without params

Redis::Client.new w/o params always fails with
Hostname lookup for  failed: No address found (Socket::Addrinfo::Error)

Why?
require "uri"

URI.parse("redis:///")
=> #<URI:0x7f68c432cf60 @scheme="redis", @host="", @port=nil, @path="/", @query=nil, @user=nil, @password=nil, @fragment=nil>

Interesting. What OS and Crystal version are you using? It works as expected for me on macOS Catalina and Crystal 0.35.1:

But sure enough, the connection being used here has its host set to "":
    #<Redis::Connection:0x10854de10
      @parser=Redis::Parser(@io=#<TCPSocket:fd 11>),
      @socket=#<TCPSocket:fd 11>,
      @uri=
       #<URI:0x108559d80
        @fragment=nil,
        @host="",
        @password=nil,
        @path="/",
        @port=nil,
        @query=nil,
        @scheme="redis",
        @user=nil>>

@mamantoha To be clear, I'm probably going to merge this PR because it makes that line of code work as intended in more situations. I'm just curious what the discrepancy is.
I'm surprised that URI.parse sets host to an empty string instead of nil when it is not provided despite host being nilable, but it definitely does. I thought the purpose of it being nilable was specifically for when a host was not provided. Maybe this is a bug in URI::Parser, I'll look a bit more into it.

I'm using Linux(Ubuntu) and Crystal 0.35.1.
And yes, you are right. macOS Catalina it works as expected.
The difference is
require "socket"

socket = TCPSocket.new("", 6379)

Fascinating. I'm going to go ahead and merge this but I'm also going to open a PR to Crystal to discuss this line.


Version 1.0.7 Fix message_standard_version to allow it even if binary file type

This changes the infoset (slightly) so roll version to 1.0.7-SNAPSHOT.

Still 5 commits. I fail to understand. Will try again.


Notification Center

Hi guys,
in the file .osx are among others these two lines (114 and 115):
#Disable Notification Center and remove the menu bar icon
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist 2> /dev/null
It disables the notifications center, but the menu bar icon is still visible. I am using OS X Yosemite (10.10.3). Does anyone have a idea to let the icon disappear? Thank you very much in advance.
Cheers,
Jonas

The same for me.

See issue https://github.com/mathiasbynens/dotfiles/issues/476


Refactor the app structure to conform with context conventions used in Phoenix 1.3+

When the app was created Phoenix was still at 1.2.x. Now 1.3 has been out for a year and 1.4 is in the works. Not urgent but might improve the maintainability of the app going forward.

Done


Does it support email subjects?

Hi!
I'm wondering if this supports email subjects. I need to output a different vowel in a word depending on the sex of the contact. In the body it was somewhat easy to solve with the dynamic content feature, but it's not supported for subjects in Mautic. Can I include TWIG conditionals in the email subject if I use your plugin?
Thanks!

Not at the moment unfortunately.
On Thu, Feb 14, 2019, 7:59 AM Marcelo Serpa<EMAIL_ADDRESS>wrote:

Hi!
I'm wondering if this supports email subjects. I need to output a
different vowel in a word depending on the sex of the contact. In the body
it was somewhat easy to solve with the dynamic content feature, but it's
not supported for subjects in Mautic. Can I include TWIG conditionals in
the email subject if I use your plugin?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Logicify/mautic-advanced-templates-bundle/issues/2,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFVaD5LraerX103Q8bSfm-8ztpxD25Uyks5vNPs-gaJpZM4a646W
.

Thanks for the reply! Do you know of any workarounds for this scenario?

Nevermind, I managed to extend your plugin to process subjects. I don't have time to push a PR now though but will do so over the next few days. Would you be willing to review/accept it?

Sure, it will be great.
On Fri, Feb 15, 2019, 1:12 AM Marcelo Serpa<EMAIL_ADDRESS>wrote:

Nevermind, I managed to extend your plugin to process subjects. I don't
have time to push a PR now though but will do so over the next few days.
Would you be willing to review/accept it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Logicify/mautic-advanced-templates-bundle/issues/2#issuecomment-463840583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFVaD-qOBQfVSiuM9Tv0PSMsJGy4thOsks5vNe1AgaJpZM4a646W
.

@fullofcaffeine any progress on the PR?

This PR could fixed it
https://github.com/Logicify/mautic-advanced-templates-bundle/pull/10

Sorry, I totally forgot about this issue. Are people still interested in this changeset?

Sorry, I totally forgot about this issue. Are people still interested in this changeset?

Yes we do :)

I would really like to test it.

PR which adds support for subjects has been accepted, please use release 1.1. Kudos to @kuzmany !
Could anyone confirm it works now?

Seems Like it works to me.