Roll engine to 33b88173f3820690169348859bbdc29133179e0b

libtxt is now the default text renderer

@chinmaygarde @tvolkert

Done - changed to the commit that introduced libtxt

https://github.com/flutter/flutter/pull/14830 is queued behind this PR.

Looks like floating point issues on the Mac flutter_tester tests...

@jason-simmons can you take a look at the memory usage regressions from this? It looks like hello_world__memory, flutter_gallery__memory_nav, flutter_gallery__back_button_memory regressed.

Should we revert?

I think it's sensible considering flutter_gallery__back_button_memory is 300% higher :)

This isn't a leak that will increase every time you suspend/resume the app.  It's a singleton process-wide font cache in libtxt that eagerly fetches some fallback fonts for emoji/CJK/etc. character sets.
I can look into finding a way to lazily populate the cache, or to clear the cache after the app is suspended.

I can look into finding a way to lazily populate the cache

I think this is worth investigating, and reverting the libtxt change in the meantime.  We can just revert the engine revision, then revert the libtxt flip in the engine so we can keep rolling the engine into flutter/fluter in the meantime.


Is it possible to serve site over s3?

as this generates a static site I would like to deploy my vue app with an S3 bucket. When I build the app it says that it is meant to be deployed over an http server. Is there a way to deploy these static pages using s3?
Thank you

Hi,
I've created a SPA with this template and it's working fine in an S3 bucket. You just need to upload your dist/ folder to your bucket.
Pro tips:

I used s3-deploy package to automate the deployin process
Make sure you disable the cache for your index.html, I ran into some issues with this. To do that, I'm uploading the whole folder with no cache flags, and then reuploading the index.html with the --cache 0 flag, like this (package.json scripts):

    "deploy-s3": "s3-deploy --cwd './dist/' --profile YOUR_PROFILE --region YOUR_REGION --gzip --etag  --bucket YOUR_BUCKET",
    "deploy-s3-task": "npm run deploy-s3 -- './dist/**' && npm run deploy-s3 -- --cache 0 -- './dist/index.html'",

(make sure you npm run build your project before uploading it!)
Hope it helps.

@afontcu, that doesn't work for me, during the npm run build there is:
Tip: built files are meant to be served over an HTTP server.
Opening index.html over file:// won't work.

How to build and serve plain static files without an HTTP server? For now my /dist/ folder alone doesn't work without some kind of HTTP server as mentioned during the default build process.

Hi @iharsuvorau,
that message only means that you cannot browser to file://whatever/path/you/are/using/index.html and expect your project to work.
Have you tried uploading it to S3? I just ran npm run build and uploaded the whole /dist/ and everything worked as expected.
Hope it helps!


Fix server client communication

Bind port 3002 between VM and container. Should fix login page not working.

Made PR against wrong repo.


How Do I Cite GuessLang

Do you have a paper or a way to cite the tool?

(for academic citation)

There is a way to cite source code academically in APA.. If the citation is technical (i.e. code was reused), I would put a link to the source code locked to a tag or SHA commit hash. If it's conceptual (e.g. someone else's algorithm to attack part of a problem), you can link to the README or comment line to get through it.

A paper titled An empirical study of source code detection using image classification cited it as Guesslang. https://guesslang.readthedocs.io/en/latest/.
I would recommend looking at papers in your field that cite it for examples.


Not able to change order of items of a map in scss variables

It is currently not possible to change the order in e.g. the $theme-colors map. The order is important if e.g. a card has both .border-info and .border-warning  and you want the info class to be applied instead of the warning one. This comes more into play if you add a custom theme-color.
One possible solution I could think of is instead of:
$theme-colors: map-merge(
  (
    "primary":    $primary,
    "secondary":  $secondary,
    "success":    $success,
    "info":       $info,
    "warning":    $warning,
    "danger":     $danger,
    "light":      $light,
    "dark":       $dark
  ),
  $theme-colors
);

this:
$theme-colors: map-merge(
  $theme-colors,
  (
    "primary":    $primary,
    "secondary":  $secondary,
    "success":    $success,
    "info":       $info,
    "warning":    $warning,
    "danger":     $danger,
    "light":      $light,
    "dark":       $dark
  )
);

This would introduce a breaking change.

The order is important if e.g. a card has both .border-info and .border-warning and you want the info class to be applied instead of the warning one.

You should avoid this, it doesn't make sense to add multiple utility classes which target the same property.
The solution you're proposing won't override the default colors.
For the next major version, we're thinking about removing the map merges (see https://github.com/twbs/bootstrap/pull/28508).
For now, you could define/override your $theme-colors after the variables inclusion. See https://getbootstrap.com/docs/4.3/getting-started/theming/#remove-from-map.

Closing per last comment.


Is there a way to combine with django-rest-framework-passwordless?

Hi !
I am trying to implement a passwordless JWT token authentication 'system'. Is there anything like this, or maybe to be included in this package?
I am now trying a hacky solution, by replacing the authenticate() function (with the authentication flow of drfpasswordless) within the 'TokenObtainSerializer', which I can share. However, would be awesome if there was something like this out of the box.
Thank you in advance.
Best regards,
Jens

I believe you would have to do this manually. There are functions and methods that do allow you to return refresh tokens and access tokens manually somewhere in the source code.

I ended up writing a backend for the authentication with custom serializers (to hook drf_passwordless). Additionally I hooked up simpleJwt by inheritance from it's views (with reference to the custom serializer class).

If you don't mind sharing how you did so in this issue, please do! It'd be greatly appreciated. We're considering a portion in the docs for third-party integrations, too, so it'd be great if you left how you configured SimpleJWT to fit your needs.

@jvhellemondt Please do, if you've got spare time 👍

@Andrew-Chen-Wang Hi Andrew.
I've implemented drfpasswordless integration with the simplejwt library for our app.
Basically we authenticate the user using with drfpasswordless logic, but return jwt token pair as a response.
Would it be okay if I try writing the 3rd party integration part in the docs - may be a PR?

If it's decently sized, it's OK to put it in the docs. In the docs, create a new file called third_party.rst. In index.rst, add that file. Using other files as a format, write down how you'd integrate this with SimpleJWT. You can kinda model it after Django Axes' documentation.
Just open a PR, and I'll take a look (we can make edits over there)! @mhoonjeon

@jvhellemondt Please do, if you've got spare time

Late reply here -- holiday season. I'm no longer working with drf, so I kinda lost the implementation.

@Andrew-Chen-Wang Hi Andrew.
I've implemented drfpasswordless integration with the simplejwt library for our own project.
Basically we authenticate the user using with drfpasswordless logic, but return jwt token pair as a response.
Would it be okay if I try writing the 3rd party integration part in the docs - may be a PR?

I see that you have implemented it with the same logic as I had. This seems resolved :+1:

@jvhellemondt Please do, if you've got spare time

Late reply here -- holiday season. I'm no longer working with drf, so I kinda lost the implementation.

@Andrew-Chen-Wang Hi Andrew.
I've implemented drfpasswordless integration with the simplejwt library for our own project.
Basically we authenticate the user using with drfpasswordless logic, but return jwt token pair as a response.
Would it be okay if I try writing the 3rd party integration part in the docs - may be a PR?

I see that you have implemented it with the same logic as I had. This seems resolved :+1:

@Andrew-Chen-Wang Hi Andrew.
I've implemented drfpasswordless integration with the simplejwt library for our own project. Basically we authenticate the user using with drfpasswordless logic, but return jwt token pair as a response.
Would it be okay if I try writing the 3rd party integration part in the docs - may be a PR?

@rollue or @jvhellemondt would you please share your working based on the subject above?


[Bug] The whole Obsidian interface shakes like crazy when typing (see demo)

When I type with typewriter scroll toggled on, the whole Obsidian interface shakes about with every keystroke. See demo:

Note that the framerate of the gif is too slow to show how bad it truly is. This, of course, renders the plugin unusable. I had the same issue with the original plugin by deathau, as reported here, which is what prompted me to try this for. But the situation is the same.
Info:
Version: 0.0.2

same here

same

Thanks for your report. I will try to reproduce and fix this. Which Obsidian version do you have installed?

Thanks for your report. I will try to reproduce and fix this. Which Obsidian version do you have installed?

I have version 1.4.11, but when I was testing this, I was on version 1.4.6 (catalyst).

当前版本： v1.4.13

Thanks for your report. I will try to reproduce and fix this. Which Obsidian version do you have installed?感谢您的报告。我将尝试重现并修复这个问题。您安装了哪个 Obsidian 版本？

"I finally found the reason – the shaking effect of this plugin is incompatible with a plugin called 'Table Enhancer.'"

Thanks for your report. I will try to reproduce and fix this. Which Obsidian version do you have installed?

I finally found the reason – the shaking effect of this plugin is incompatible with a plugin called 'Table Enhancer.'

That's a great catch! I can confirm that disabling Table Enhancer also resolves the issue for me! I wonder what the conflict is there.

Thanks for your report. I will try to reproduce and fix this. Which Obsidian version do you have installed?

I finally found the reason – the shaking effect of this plugin is incompatible with a plugin called 'Table Enhancer.'

That's a great catch! I can confirm that disabling Table Enhancer also resolves the issue for me! I wonder what the conflict is there.

不知道开发者是否能解决这个问题，反正我已经禁用了 'Table Enhancer.'

Thanks for your report. I will try to reproduce and fix this. Which Obsidian version do you have installed?

I finally found the reason – the shaking effect of this plugin is incompatible with a plugin called 'Table Enhancer.'

That's a great catch! I can confirm that disabling Table Enhancer also resolves the issue for me! I wonder what the conflict is there.

不知道开发者是否能解决这个问题，反正我已经禁用了 'Table Enhancer.'

We'll see, maybe we should report it in the Table Enhancer repo? I've also disabled it for now.

I tried it on macOS: Table Enhancer and Typewriter Mode worked together there without this bug. I will try to reproduce this on Windows next time I get my hand on a Windows machine. I suppose Table Enhancer might also perform some action on each keystroke that interferes with the one executed by Typewriter Mode.

I turned off the Highlighter and i notice no such jitters.

Sorry, closed it by mistake. Re: Turning of highlighter, you mean current line highlighting, @brocodile?

yes, the "highlight current line"

I tried it on macOS: Table Enhancer and Typewriter Mode worked together there without this bug. I will try to reproduce this on Windows next time I get my hand on a Windows machine. I suppose Table Enhancer might also perform some action on each keystroke that interferes with the one executed by Typewriter Mode.

Perhaps there is some confounding factor that we are unaware of? Like "Table enhancer" + "Typewriter" + "Plugin X" cause this problem?

In fact, I have found that this plugin always affects the two typewriter mode plugins. Every time I want to use the typewriter mode plugin, I need to turn off this plugin. I wonder if this discovery would be helpful to the author?

In fact, I have found that this plugin always affects the two typewriter mode plugins. Every time I want to use the typewriter mode plugin, I need to turn off this plugin. I wonder if this discovery would be helpful to the author?

I assume by "this plugin", you mean table enhancer?
The problem is that @davisriedel couldn't replicate the problematic interaction. That's why I suggested that there might be some additional unknown factor in play.

In fact, I have found that this plugin always affects the two typewriter mode plugins. Every time I want to use the typewriter mode plugin, I need to turn off this plugin. I wonder if this discovery would be helpful to the author?事实上，我发现这个插件总是影响两个打字机模式插件。每次我想使用打字机模式插件时，我都需要关闭这个插件。我想知道这个发现对作者是否有帮助？

I assume by "this plugin", you mean table enhancer?我假设“这个插件”是指表格增强器？
The problem is that @davisriedel couldn't replicate the problematic interaction. That's why I suggested that there might be some additional unknown factor in play.问题是@davisriedel无法复制有问题的交互。这就是为什么我建议可能还有其他一些未知因素在起作用。

是的，我发错地方了，本来是要发到 table enhancer 那边的

Hi, I am encountering the same behaviour. Once the table enhancer is disabled, the shaking effect is gone.

@davisriedel, Strange that you can't reproduce the conflict between Table enhancer and Typewriter Mode, when there's three people here that could reproduce it. I wonder what differs in our setups 🤔

I don't have table enhancer but I do see this issue until I turn off hilight current line. It seems to be some sort of conflict between minimal, obsidian, and Typewriter mode hilight current line and maybe line length? The lag is very noticable. These are what are in console:

It may also be languagetool?

Have you figured out what's causing the shaking?

Unfortunately, I still wasn't able to reproduce this on any of my machines. I also use the language tool plugin, without any problems. However, I am preparing to release version 1.0.0 where I have rewritten several parts of the typewriter scroll mechanism. Has anyone who experienced this issue tried one of the latest release candidates? Is the problem still remaining?

my version: V 1.6.7
I found the the plugin 'Calendar (Beta)' is another one to cause it, and this calendar version is 2.0.0


Add language routing

@BerkeleyTrue I can change my preferred language to Spanish, but it doesn't affect the language of the challenges.

Here is what I see both in Firefox and Chrome respectively (even if I select something):

When I change the language the map is still in English

And I think we should change "Preferred language" to "Preferred language of challenges" because one can thought that changing the lang will change everything but it actually changes only challenge seed's language.
And for future approach I think it would be better to have test messages translated too.

I'll work on the map.

And I think we should change "Preferred language" to "Preferred language of challenges"

We're asking when language they preferred. I don't think we need the extra qualifier.

Added language support on maps. Superblocks/blocks will need title translations as well, but we'll cross that bridge at some other point

I'll leave the select css stuff to someone with more skills than I, like @hallaathrad.

Still need to figure out why React stuff keeps cycling.

Live on Beta

LGTM.

OK - I've found a couple issues:

If I'm unauthenticated and I complete a challenge, it will send me to the map and say "We couldn't find a challenge with the name next-challenge. Please double check the name."
If I'm authenticated and I complete a challenge with Spanish as my language, it will never advance to the next challenge (it shows the spinner forever).

@QuincyLarson fixed

@BerkeleyTrue It saves challenges to the user object with the translated name, so if someone completes a challenge in spanish anyone who visits that profile will see the name in spanish rather than english, and because the spanish version of the name is not a valid URL they will get an error like We couldn't find a challenge with the name Borra elementos HTML. Please double check the name. when trying to visit the solution from the link profile link.

@ltegman Thanks. We'll definitely need to incorporate language routing into find next challenge. I guess we'll need to parse the lang from the url and search the appropriate language name.

@BerkeleyTrue I don't know how practical this is but is there any chance we can store the challenge with the english name in the user object and translate what is shown on the user profile? Seems like saving it in a consistent fashion and translating from there would have less potential side effects on things like challenge validation for certs and mean all our users can easily view each others challenges regardless of the language the user completed the challenge in.

@ltegman I've actually been thinking of creating a id => name map to use on profiles. This would solve other issue's were having with the profile and always keep the names up to date. We could make a map per language.

@BerkeleyTrue That sounds like an excellent solution for this!

I cannot test in http://beta.freecodecamp.com/es

@vtamara I've since taken it down from beta. I'll put it back up when I fix the issue reported by @ltegman

Thank you

@BerkeleyTrue, please, rebase.

I'll be doing this on the react side


modules/keymap: improve lua deprecation

Replace nullable lua option with a no-default option.
Made it so the deprecated option is only declared when lua = true is passed.
Replace normalizeMappings with a removeDeprecatedMapAttrs helper.
Added warnings for all options that historically had lua support.

This supersedes and closes #1795
Removing the attr from the final value
I'd like to do something like this directly in mkMapOptionSubmodule, however it doesn't seem to do what you'd expect...
type // {
  merge = loc: defs: builtins.removeAttrs (type.merge loc defs) [ "lua" ];
};

Therefore I've instead added apply functions to each keymap option that removes the lua attr.
See this message on matrix.
Showing the warning for all uses
Previously, we only checked the keymaps option in our deprecation warning.
We could instead have a lib.warn in the action's apply function when we call mkRaw, however this wouldn't have access to loc or defs to print a proper warning.
If overriding the merge function worked correctly, we could do it there, however I think this is fine for this PR, we can always improve things further in future work.
For now, modules/keymaps.nix is responsible for showing warnings for all options that previously had a lua sub-option.

plugins-completion-cmp-all-sources> Running test for all-sources
plugins-completion-cmp-all-sources> ERROR: please log in with :Codeium Auth

Seems we have a flaky test?

plugins-completion-cmp-all-sources> Running test for all-sources
plugins-completion-cmp-all-sources> ERROR: please log in with :Codeium Auth

Seems we have a flaky test?
Also, not sure what this relates to:
warning: In a derivation named 'neovim-unwrapped-0.10.1', 'structuredAttrs' disables the effect of the derivation attribute 'disallowedRequisites'; use 'outputChecks.<output>.disallowedRequisites' instead

Probably something upstream?

I think these came up recently in the logs and I haven't had a chance to take a look at them. Probably need to create an issue to track em.

Feels weird that the merge would be completely ignored

I don't fully understand it either, we had the same issue implementing transitionType, which you'd expect could just override coercedTo's merge function.
My best guess is something in mkOptionType is using the merge passed to it, rather than the merge in the final attrs... Maybe this is something that could be resolved in nixpkgs?

@mergifyio queue

@mergifyio dequeue

@mergifyio queue


[feat]: Unlock Github Discussions

Is your feature request related to a problem? Please describe.
Only project team members are allowed to create new discussions. Non-team members can't create a new discussion, only comment on an existing one. It's recommended to use Github Discussions to offer and discuss new feature ideas, but I can't do it :)
Describe the solution you'd like
Unlock Github Discussions to allow any authorised github user to write there.
Describe alternatives you've considered
none
Additional context
Notice missing "New Discussion" button

@HadesArchitect I have had a look and cant figure out how to do this. We hadnt locked them down like this. I will continue to see if this is possible

@HadesArchitect I have added your account to the repo - you should be able to create discussions now. I will try and figure out how to make this available to everyone, although I am not sure github lets you do that

Thanks Johnny!

Sorry to disappoint you but I still can't write there 😅

This should help: https://docs.github.com/en/organizations/managing-organization-settings/managing-discussion-creation-for-repositories-in-your-organization#allowing-or-disallowing-users-with-read-access-to-create-discussions

@HadesArchitect I think I found it in the org settings. I have removed your account from the project now. Can you test you can still create discussions?

LGTM
ср, 11 дек. 2024 г., 17:20 Johnny Miller @.***>:

@HadesArchitect https://github.com/HadesArchitect I think I found it in
the org settings. I have removed your account from the project now. Can you
test you can still create discussions?
—
Reply to this email directly, view it on GitHub
https://github.com/axonops/axonops-workbench/issues/623#issuecomment-2536452207,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANJLXIKTXB7VXJ5FUR7OF32FBQ3XAVCNFSM6AAAAABTNRXJTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZWGQ2TEMRQG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


v.0.1.3

Pull Request Test Coverage Report for Build 7

1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.25%

Totals

Change from base Build 5:
0.0%

Covered Lines:
110

Relevant Lines:
116

💛  - Coveralls


Support for more trainers in CLI

Currently, the trl CLI only supports sft and dpo trainers (see here).
Other trainers such as PPO, KTO, etc. are not supported at this time.
Do you have plans to support other trainers? Or is there a specific reason for not supporting these trainers?
I can help you add these trainers to the CLI if you think it is possible but do not have the bandwidth to do it.

Thanks for the proposal @martinakaduc, sorry for the late reply. Yes we would be interested to add more of them. Feel free to open a PR if you're still interested in contributing :)

Closing in favour of #2101


Use @isolated(any) function types in task creation

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

It seems that this issue https://github.com/apple/swift/issues/72484 was caused by this commit. Any thoughts?

Here's a reduced test: https://github.com/apple/swift/issues/72484#issuecomment-2019047017


Add Content to Trainings Page

We will need to add content to the trainings page that includes information about the companies as well as the links to Eventbrite. This is not currently ready to add, but we should have a page for the site to include this information in addition to adding the trainings to the schedule that includes the actual sessions, BOFs, etc.

Set to April 30th deadline. If that's too late, I can set to March 30.

@dsheffler I wasn't on the call Friday, is there enough info to add content to the training page and publish it yet? https://www.drupalgovcon.org/drupal-govcon-2015/trainings

@dsheffler Just wanted to highlight this task again. Should I contact Bill B?

@dsheffler @bendygirl We need to get the training schedule up. Haven't we confirmed all the training organizations? Can we just put up the page with what they are offering and the cost (free, right?) One user submitted a question about this on the Contact us page. He needs to see what training will be available to he can plan for that.

I sent the final email to Bill last night for him to send to the trainers, to remind them to create their own eventbrite pages. Once I have their links back and their descriptions, I'll put the content up on trainings. I think I have the content for the Taoti one, they submitted it as a session. @dsheffler can you look at that Taoti submitted session? I am wondering if it's a session and not their bootcamp. I unpublished it thinking it was the bootcamp but I can't see it now and am wondering if I made a mistake.

Moving to "print date" milestone. Are trainings almost ready to publish?

I've got them mostly set up. https://www.drupalgovcon.org/drupal-govcon-2015/full-day-trainings
Karl is adding new images to the page.


Update Bubble Sort.cpp

Fixed a few formatting issues, as well as made the interface slightly more user friendly.

Thank you for your contribution. But most of the changes you made were already made by other PRs & they got merged. (PR #117 and #172).
Closing the PR.


fix tests and make sure they run for PRs

part of #212

adds build.yml to make tests run on PRs
fixes existing tests flowing changes to file-server options layout and addition of quota
adds minimal memory tests
adds quota tests

Most of the tests appear to be timing out

Most of the tests appear to be timing out

Yeah, that is due to a bug in file-server version in NPM fixed here...
https://github.com/flowforge/flowforge-file-server/commit/3d9a3bd4c2205d3f844dd2b44a5cbb5cfafb5e98
Need to publish update to file-server before test can pass.

@hardillb published v0.0.5 of file-server to NPM & fixed last issue in tests.
Finally ready for (re)review :)


jdbcUrl doens't work with <spring-cloud.version>Greenwich.M2</spring-cloud.version> or <spring-cloud.version>Greenwich.M2</spring-cloud.version>

jdbcUrl doens't work with <spring-cloud.version>Greenwich.M2</spring-cloud.version> or <spring-cloud.version>Greenwich.M2</spring-cloud.version>
<spring-cloud.version>Greenwich.M1</spring-cloud.version> is working fine

What about it doesn't work? I'm afraid you have not supplied is enough information to help you.

sorry, I should mention more details
we are using cloud foundry,  normally we create a db service (or credhub) and our application will bind to the service, we define the service (or credhub) like  {"jdbcUrl": "db connection info"}  if we are using Greenwich.M2 or M3 it will not work. but M1 is working fine. hope it's clear

I think this is because of connectors is not configured properly?

org.springframework.boot
spring-boot-starter-cloud-connectors

Sounds like you should open an issue with spring-cloud-connectors


Live on Mainnet

Put Boba and Metis L2 on mainnet.
Are the above both on mainnet?
Hit harder if we use Arbitrum and Optimism
Should just be an mvp on mainnet
Business
-[ ] Need to find LPs

[ ] Discuss about rollups we support from beginning. Not having any of the leading rollups?

[ ] Documentation on how to run an LP node

[ ] Put Boba on mainnet

[ ] Put Metis on mainnet

Notes
backend:

Remove exploitability
Improve agent (not going down)
Adding Arbitrum for mainnet

Arbitrum and Optimism should be supported when we go live on mainnet too


does markdow-here support "Enable automatic header anchors" now

I tried [TOC] or other format, the TOC doesn't show up.

+1


[Event Request] Page 9203 "Budget Matrix".OnBudgetDrillDownOnBeforePageRun

Related to the issue #16030 please change parameter GLAccBudgetBuffer to var
[IntegrationEvent(false, false)]
local procedure OnBudgetDrillDownOnBeforePageRun(var GLAccBudgetBuffer: Record "G/L Acc. Budget Buffer"; var GLBudgetEntry: Record "G/L Budget Entry")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Seller take own order

Seller creates an order
Seller takes the order
Mostro send a message with action CantDo but I get this screen

Instead it shoud let know to the user that can't take its own order

This has been fixed, the creator cannot take his own orders anymore.


Bronze subscription tier allows more than 1000 requests from an application

[N] If the defined subscription tier was selected while subscribing, it should not allow more than the maximum number of requests from an application
check max + 1
The bronze subscription tier allows more than 1000 requests per minute from an application.

In the above image, the Bronze application has subscribed for BronzeApi API with Bronze subscription tier that allows 1000 requests per minute by default.
But when tested with jmeter, it allows 1001 requests from an application successfully, which exceeds the maximum request count for Bronze subscription tier.

Exceeding 1 or few more requests is possible


Horizontally align Save, Original, Star, Read links

First, thanks for being awesome! I use miniflux every day and the go version is even better than the php version. I have a suggestion.
The "Read" links should be horizontally aligned, such that when you click on "Read" and the article under the mouse changes to the next one, you are assured that the mouse is over the next "Read" link.
So instead of this:

Something more like this:

Let me know if you want a pull request

Hum, all these white spaces looks weird to me. I would rather have the read icon in the right corner.
I personally use the keyboard shortcuts on desktop to mark uninteresting items as read quickly. On smartphone, I swap them horizontally.


Operator > 2.0.0 fails to create Bootstrap Pod

Using the following ResourceDefinition
---
apiVersion: opensearch.opster.io/v1
kind: OpenSearchCluster
metadata:
  name: our-cluster
  namespace: our-namespace
spec:
  general:
    serviceName: open-search
    version: 2.2.0
    setVMMaxMapCount: true
  security:
    tls:
      transport:
        generate: true
        perNode: true
      http:
        generate: true
  dashboards:
    enable: true
    tls:
      enable: true
      generate: true
    version: 2.2.0
    replicas: 1
    resources:
      requests:
        memory: "512Mi"
        cpu: "200m"
      limits:
        memory: "512Mi"
        cpu: "200m"
  nodePools:
    - component: open-search-nodes
      replicas: 3
      diskSize: "5Gi"
      nodeSelector:
        cloud.google.com/gke-spot: "true"
      tolerations:
        - key: cloud.google.com/gke-spot
          operator: Equal
          value: "true"
          effect: NoSchedule
      resources:
        requests:
          memory: "2Gi"
          cpu: "500m"
        limits:
          memory: "2Gi"
          cpu: "500m"
      persistence:
        pvc:
          storageClass: standard
          accessModes:
            - ReadWriteOnce
      roles:
        - "data"
        - "master"

and the 2.0.3, 2.0.2 and 2.0.1 operator, the bootstrap pod isn't created, and the Operator fails to create a working OpenSearch cluster.
Using the 2.0.0 operator, the bootstrap-pod is created successfully, however, the 2.0.0 operator does not support  OpenSearch 2.x

fixed in the latest release, try to take a look

I can confirm that the bootstrap pod is now created as expected. Thanks!

Hi @idanl21 / @edwardsmit : I am trying to run the same manifest (without the tolerations/nodeselectors) locally in my kind cluster. Updated the operator helm to 2.0.4 version. But still could not see the boostrap pod. Could you please help me understand if I am missing something here?

@madhukarmmallia-plivo You're right. I was deploying a 1.3.2 version of OpenSearch (replace both 2.2.0 values with 1.3.2 in the above manifest). Deploying a brand new 2.2.0 with above manifest still does not work.

Thanks for confirming @edwardsmit . I tried some debugging from my end. Looks like v2+ of opensearch is not picking up 'cluster_manager' node role which is assigned to the bootstrap instance of opensearch.
@idanl21 Can we reopen this issue?

@madhukarmmallia-plivo  I also did some checking. The bootstrap pod is only created if cluster status is not initialized (https://github.com/Opster/opensearch-k8s-operator/blob/main/opensearch-operator/pkg/reconcilers/cluster.go#L81) and that is determined based on if all master pods are ready (https://github.com/Opster/opensearch-k8s-operator/blob/main/opensearch-operator/controllers/opensearchController.go#L249). To determine which pods are master pods the operator checks the roles of the pods and there is a switch in the operator code based on the version: For 1.x it will use master, for 2.x it will use cluster_manager. Thus if you deploy a 2.x cluster but use role master the code directly sets Initialized=true and the bootstrap pod is never started.
I'm not sure if role master i still valid for opensearch 2.x, if yes we should extend the operator to use both roles as indications of master, if not we need to fix the example yaml and maybe even let the operator warn the user (e.g. in the status or via event) that the master role cannot be used for a 2.x cluster.

I've just lost half a day because of this. Luckily I came accross this ticket. Using the example and then replacing role 'master' with 'cluster_manager' worked. Inclusion can be hard sometimes...

The solution there is to change master role to cluster_manager role in the OS YAML file. a fix PR and an 2.0 cluster YAML file was uploaded and merged


Sort out saner naming/placement for our "safe cast" helpers

Problem
We have src/lib/core/CHIPSafeCasts.h (which does safe uint8_t <-> char casting) and src/lib/support/SafePointerCast.h which allows safe (for some values of safe) casting between two structs.
Proposed Solution
We should probably at least have our "safe cast" files living in the same directory.  We should also consider either giving CHIPSafeCasts a less generic name or combining the files.
@Damian-Nordic

@bzbarsky-apple Ah, I didn't notice we had CHIPSafeCasts.h. I can fix it, but do you or anyone else understand the difference between support and core directories? I believe utility classes suits better the support directories, which don't depend on anything CHIP-specific, but core also contains things like Optional and I'm confused.

@Damian-Nordic I don't know what the intended difference is....  And to be clear, I have no strong opinion about finer-grained headers vs a single "safe casts" header; just in the former case we should give the uint-to-char one a better name.
@andy31415 Do you?  Would be good to toss some README.md in things to document what they're for.

These (support vs. core) are latent artifacts of the original Weave tree layout that seeded the Project CHIP layout. support was code that was used across all of the various *Layers whereas core was intended to be the code that supported the Weave core messaging and protocol layer but not profile initiator and responder implementation.
Consequently, I'd agree that if there is anything in core in CHIP that's used more broadly, it should be factored out of core and either put in support or some other "shared" directory.


Allow private org members on Github to use CI

Our CI Jenkins uses GitHub enterprise to authenticate users. This doesn't work
if your membership of the GDS organisation isn't public.
Version 0.22 adds support for these users.
See:
https://issues.jenkins-ci.org/browse/JENKINS-20845
https://github.com/jenkinsci/github-oauth-plugin/pull/48

Why wouldn't you have your membership public on GHE?

Why wouldn't you have your membership public on GHE?

The default is for membership to be private, so unless you know about this and remember to go in and make it public it won't work.

Yep - this is the problem that confused the hell out of me when setting up a new starter.

\o/


Salesforce Sync Authentication

Hello,
I'm still pretty new to Salesforce, I'm trying to implement a way to create/edit my Salesforce objects whenever the matching objects are modified within my app.
So far, I created a connected app, retrieved my client_id and client_secret , got my security token, my username and my password.
This:
client = Restforce.new
:username =><EMAIL_ADDRESS>
:password => 'xxxxxxxxx',
:security_token => 'CW0xxxxxxxxxxxxxxxxx5lM3',
:client_id => '3MVGxxxxxxxxxxxxxxxxxxxxxxWyt5V4eq1Rqa5gNzj0t6i05',
:client_secret  => '800xxxxxx8911'

seems to work, but this:
sf_id = client.create('Lead', Name: "Test Restforce", Email<EMAIL_ADDRESS>
Gets me this:
Restforce::AuthenticationError: invalid_grant: authentication failure

Did I miss something ? I followed the tutorial step by step

Ok, I found it 2 minutes after I stumbled upon this error: all you ahve to do is make sure you selected "All users may self-authenticate" in your connected app settings


Bitmap indexes on subcolumns of FLatJson.

Feature request
The attached
Bitmap indexes on flat json sub-columns.txt
document presents the concept of enabling bitmap indexes on subcolumns of a JSON column by extending the Flat JSON feature introduced in version 3.3.4 and beyond.
Describe the solution you'd like
By treating the subcolumns identified by FlatJson feature as regular columns, we can leverage this to build bitmap indexes. The attached document highlights similar solution and current first level blockers that need to be fixed.

This is a good suggestion, and I think it's quite complex to add bitmap indexes to sub-columns of flat JSON:

Current bitmap indexes are designed for columns, including the design of FE metadata and the implementation of bitmap indexes on the BE. Therefore, using bitmap indexes for sub-columns may require a new design of the bitmap index.
In the current design of flat JSON, the FE can't perceive the sub-columns of flat JSON, and for each segment file, the sub-columns of flat JSON may be different. For example, some files may have a "name" sub-column, while others may not, which brings significant complexity to creating bitmap indexes. Compared to flat JSON, struct is simpler in this scene because the schema of struct is fixed and known to the FE.
About predicates for flat JSON, we have found that using complex type expression predicates in the segment iterator doesn't necessarily provide performance benefits, because executing complex type predicates requires pre-reading a large amount of unnecessary complex type data. In contrast, executing some simple data type predicates first can reduce a lot of unnecessary data access. Of course, this is based on the premise that the current complex type doesn't support bitmap index.

so, it's eed a very detailed discussion, if we want to supported bitmap index on subcolumns

we can use generated column and bitmap index to accomplish this requirement, as you can create index on a generated column

@Seaven : Thanks for your reply.
I have thought through your concerns and proposing my below solutions for it.
Before that let me give some background about setup. Currently we have several TB's of JSON data and 90% percent of JSON column data is partially schematized. So the below solution makes sense for users like me.
After doing code browsing, I feel the below approach should mostly solve all the problems you mentioned.
Metadata issues:

Defining indexes on a path of JSON column:
We need to build an infra to define a bitmap index on a sub-path of JSON column. Meaning during create table, we can add a new type of index for a JSON column and then specialize the sub-path indexes. Let me give a rough example:

CREATE TABLE `t1` (
    `key` INT
    `properties` JSON,
    INDEX flat_index(properties) using FLAT_JSON_INDEX([{"/age", "INT", "BITMAP"}]
)
DUPLICATE KEY(`k1`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`k1`) BUCKETS 1
PROPERTIES ("replication_num" = "1");

Index Semantics:
---------------------
FLAT_JSON_INDEX[{"path", "data_type", "index_type"}]

When a user defines such a index, there is strict type checking for the corresponding sub-column path. If ingestion payload doesn't contain the corresponding path, we would append default nulls.
Due to the above semantics, the index writer will always create a column writer for the path and would then build the BITMAP index. So whatever paths are defined in the flat_json_index, sort of become the sub-columns and a partial schema. These paths are always there in the metadata of the JSON column.
Predicate Evaluations:
The predicates that are accessing the columns having flat json index, can be normalized and be applied during segment iterator initialization rather than pushing it for expression evaluation in the chunk iteration phase.
Bitmap iterators
Since now we have the metadata of the paths hanging from the parent column, bitmap iterators on the subcolumn readers can be initialized appropriately to facilitate predicate evaluation.
It would be helpful to let me know your thoughts on this @Seaven. I am sure some paths I might have missed to explore.

@Seaven : Thanks for your reply.
I have thought through your concerns and proposing my below solutions for it.
Before that let me give some background about setup. Currently we have several TB's of JSON data and 90% percent of JSON column data is partially schematized. So the below solution makes sense for users like me.
After doing code browsing, I feel the below approach should mostly solve all the problems you mentioned.
Metadata issues:

Defining indexes on a path of JSON column:
We need to build an infra to define a bitmap index on a sub-path of JSON column. Meaning during create table, we can add a new type of index for a JSON column and then specialize the sub-path indexes. Let me give a rough example:

CREATE TABLE `t1` (
    `key` INT
    `properties` JSON,
    INDEX flat_index(properties) using FLAT_JSON_INDEX([{"/age", "INT", "BITMAP"}]
)
DUPLICATE KEY(`k1`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`k1`) BUCKETS 1
PROPERTIES ("replication_num" = "1");

Index Semantics:
---------------------
FLAT_JSON_INDEX[{"path", "data_type", "index_type"}]

When a user defines such a index, there is strict type checking for the corresponding sub-column path. If ingestion payload doesn't contain the corresponding path, we would append default nulls.
Due to the above semantics, the index writer will always create a column writer for the path and would then build the BITMAP index.
So whatever paths are defined in the flat_json_index, sort of become the sub-columns and a partial schema.
The predicates that are accessing the columns having flat json index, can be normalized and be applied during segment initialization rather than pushing it for expression evaluation in the chunk iteration phase.
Bitmap iterators
Since now we have the metadata of the paths hanging from the parent column, bitmap iterators on the sub-column readers can be initialized appropriately to facilitate predicate evaluation.
@Seaven: It would be helpful to let me know your thoughts on this. I am sure I might have missed some paths.

@bhaskarshashank99
In simple terms, I think your design is sound.

We indeed need support for special syntax in the FE, which will involve two feature:
a. Support for flat JSON to specify extracted sub-columns and their types.
b. Creating bitmap indexes on sub-columns, which might also need to be considered for support on struct sub-columns in the future.

In the BE, during compaction and reading, we need to handle cases where both flat JSON and raw JSON are present.

BTW, I think you can first use generated columns and bitmap indexes to test the effectiveness and check bloom index meets your expectations.
and @wangsimo0 @wyb cc

@Seaven:
Thanks for the review. I will check the generated columns feature too.
In the BE, during compaction and reading, we need to handle cases where both flat JSON and raw JSON are present.
With respect to the above comment, can you help with some PR or unit testcases that cover this code path?

Just like the test process:

load data when close flat JSON flag
open flat JSON flag
load data again
create bloom index....

and step 4 can be switched with step 3.
refs read process:

@Seaven:
Thanks for your inputs. I need one suggestion when the user adds an index on existing table.
Scenario is as below:

User adds flat json index on a JSON column on path ".a"  with datatype INT (say BITMAP).
There is an ingestion and new segment A gets constructed where is a is flattened as INT.
Assume there is a previous segment B where path a is detected as JSON.
During compaction segments A and Segment B are inputs to produce segment C.
Since across A and B, datatype of  path a is different, it would be detected as JSON in destination segment C.
What is your suggestion for this? I was thinking in such scenarios, the ALTER JOB should fail.

Potential Data loss Issue in the current 3.3.4 main:
I see that in
template <bool REMAIN>
bool JsonFlattener::_flatten_json(const vpack::Slice& value, const JsonFlatPath* root, vpack::Builder* builder,
                                  uint32_t* hit_count)
{
..
            auto func = **flat_json::JSON_EXTRACT_FUNC.at(child->second->type);**
...

}

void extract_number(const vpack::Slice* json, NullableColumn* result) {
    try {
        if (LIKELY(json->isNumber() || json->isString())) {
            auto st = get_number_from_vpjson<TYPE>(*json);
            if (st.ok()) {
                result->null_column()->append(0);
                down_cast<RunTimeColumnType<TYPE>*>(result->data_column().get())->append(st.value());
            } else {
                result->append_nulls(1);
            }
        } else if (json->isNone() || json->isNull()) {
            result->append_nulls(1);
        } else if (json->isBool()) {
            result->null_column()->append(0);
            down_cast<RunTimeColumnType<TYPE>*>(result->data_column().get())->append(json->getBool());
        } else {
            result->append_nulls(1);
        }
    } catch (const vpack::Exception& e) {
        result->append_nulls(1);
    }
}

If the extraction is not successfully, I see in the catch we are appending null as by default. Wouldn't this result in loss of data?

@bhaskarshashank99

I think this should not cause the alter job or compaction job to fail, as it would prevent the system from cleaning up expired data. Could you consider marking that the index cannot be effective in such cases?
generally, conversion doesn't lead to data loss, because strict type checking is performed before the conversion. If there are any runtime issues that might result in null (such as OOM/MEMORY ERROR), such situations are usually rare, and the system state would already be unusable

Thanks @Seaven. I will go through it.


Dupplicate homeDir's implementation

Function homeDir from all paths_{windows | darwin | unix | plan9}.go does exactly the same thing as os.UserHomeDir. I believe it can be moved to a commons.go file to reduce the amount of os specific code and rely more on built-in functionality.

Hi @placintaalexandru,
The xdg.Home field was introduced because historically, the code for os.UserHomeDir has not been the same between Go versions and I wanted to support as many as possible. For example, the code did change between Go 1.15 and Go 1.16. Regarding moving the implementation for homeDir in a common location, maybe. I don't see advantages in doing so at this point.
However, I might drop xdg.Home (and homeDir) completely in the next major version of the library as older Go versions are not widely used anymore. It must be in a major version because I don't do breaking changes in minor version releases.


Remove volumes

Resolves issue #9

I'd like to add some tests but didn't see any for the remove volume functionality. Any recommendations?

Thanks so much @diasjorge! This looks good, merging!
Regarding testing, while we have pretty decent tests for the core branching/commit functionality, we skipped docker integration tests for expediency. It shouldn't be too hard to add this though, in fact I already started logging some of the tests we should write (in text form) in https://github.com/ClusterHQ/dvol/blob/master/voluminous/test_plugin.py.
I added https://github.com/ClusterHQ/dvol/issues/12 to cover this followup. If you're interested in pairing on this, I'd be happy to spend some time next week on a skype/hangout with a tmate session. :smile:


Passing Variables to layout

Hi,
I'm looking for a way to pass variables to layout, i thought it would work with a regular render i.e.
app.js
res.render('view', { name: value });
layout.ejs
<%= name %>
But it says it's undefined
Technically it passed through layout but calls a view as the body so does that mean that the variables only pass to the actual view or does layout work in a different way?

I've been wondering the same thing myself. Use-case here is rendering open graph tags which are dynamically generated on each page, and which need to go into <head>.

There is at least one test that covers this. Is it not passing for you?

@soarez Sorry it was my bad, i was using passport for Auth and forgot about the redirection part of that function, going to another path without those variables was the issue for me.

Yep, I'm a dingus. @soarez Thanks for pointing to the test, that helped. :) I'm not even sure what I was doing last night, but everything works now. 🎉


Update README.en.md

Made some small change will enhence the quilty of reading

Thank you for your contribution. However, this change includes a lot of terminology mistakes so we won't merge this PR.


Inlining hilbertcurve dependency or getting it on conda

The spatial indexing in spatialpandas is using the hilbertcurve package. The implementation is a tiny package of about ~150 lines of code, which is currently MIT licensed. Since this is a well established implementation of a pretty standard algorithm I don't think we will gain a whole lot from depending directly on this package since there are unlikely to be bug fixes in the actual code. At the same time as long as we get the dependency on conda once we also don't need to worry much about having to wait for a release. On balance my vote is to simply inline the code and potentially optimize it with numba later if that's worthwhile. In the short term this will simplify my short term pain in setting up the build infrastructure. Overall I also think the conda ecosystem suffers from tiny packages so I'm not entirely enthusiastic about adding it conda-forge and potentially defaults (eventually).
Cc: @jonmmease @jbednar

Inlining sounds like a good approach here.

For context, when I started this I used the hilbertcurve package (https://github.com/galtay/hilbertcurve) as a reference, but not a runtime dependency. I developed a numba implementation of the hilbert curve calculations in https://github.com/holoviz/spatialpandas/blob/master/spatialpandas/spatialindex/hilbert_curve.py, and this is what is used by the RTree implementation in https://github.com/holoviz/spatialpandas/blob/master/spatialpandas/spatialindex/rtree.py.
I did use the hilbertcurve package as a testing dependency to make sure my implementation produced identical results (See https://github.com/holoviz/spatialpandas/blob/master/tests/spatialindex/test_hilbert_curve.py).
I don't have a strong opinion on inlining vs depending, but wanted to point out that it's only used in testing.

Sounds like a good reason to vendor it in; we don't want any changes to that library to break our tests; it's effectively just some reference code.

Thanks @jonmmease, totally missed that.

For now I'm happy to install it separately on CI.


Fix ReLAPACK compilation with INTERFACE64

also correct cross-language calls to xerbla that would segfault due to missing length of name string.
For #2066

Probably better to split this into separate PRs, one for the basic OpenBLAS compatibility (lack of INTERFACE64 support and wrong interface to XERBLA) and the other(s) for probable ReLAPACK bugs encountered with the lapack testsuite...


Isssue 17- Added new Room BubbleteaShop

Hey, I added the Bubbleteashop, where you interact with an employee to get your custom Bubbletea. There are 3 different choices of Tea and 3 different choices of boba that the user can pick (for now, more can be added). The choices are seasonal and can be updated in the list_boba or list_tea quite easily.

hahahaha what a nice idea, you could add that you could have the bubble tea as an item in your inventory, so that you can either drink it or maybe have to use it for another room.


⚠ Bofrost.lu has degraded performance

In 2b3627e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1632 ms

Resolved: Bofrost.lu performance has improved in 9094ffb after 6 minutes.


HRCounter not showing up in game

I've downloaded and setup hyperate through testflight on my apple watch. I can go to their website and see my updating heart rate and I've setup the HR counter config file. This is my current config file:
{   "LogHR": false,   "DataSource": "HypeRate",   "HypeRateSessionID": "4055",   "PulsoidWidgetID": "NotSet",   "FitbitWebSocket": "ws://localhost:8080/",   "FeedLink": "NotSet",   "Colorize": true,   "HideDuringReplay": true,   "HRLow": 120,   "HRHigh": 180,   "LowColor": "#00FF00",   "MidColor": "#FFFF00",   "HighColor": "#FF0000",   "PauseHR": 200,   "AutoPause": true }
I've gone into the counter+ config in beat saber and enabled HRCounter and positioned it where I want it however when I get into a song, the hear rate counter just isn't there. Is this to do with the issue of the new hyperate API? Is there a fix?
Github makes my config file look weird so this is a screenshot aswell:

Could you upload the log file when this happened? It's in Beat Saber/Logs


Update lint to ignore docstring requirements for class properties

I don't think there is much value in requiring docstrings for standard properties unless they have enriched functionality. They are essentially just getting/setting the encapsulated data. Happy to add docstrings if it will make the overall docs easier to read though, what do you think? e.g.
    @property
    def points(self):
        return self._points

    @points.setter
    def points(self, points):
        self._points = points

Example class with docstring on properties: https://github.com/FootyStats/footy/blob/feature/data_model_team/footy/domain/Team.py

I think they should still be documented.  If only to clarify the data types of the parameters of the setter or the return type of the property (in this example both being an int).  While there is definitely a case for having them separated if the setter is doing a large amount of extra processing, but in this basic example, would it not be easier (and more Pythonesque) to just have:
        def points(self, points=None):
        """
        Get or set the number of points for the Team object.

        Parameters
        ----------
        points : int
            The number of points to set for the Team object.

        Returns
        -------
        int
            The number of points held by the Team object.
        """
        if points is not None:
            self._points = points
        return self._points

I agree, that sounds pragmatic


Specification: be more precise what’s meant by “whitespace”

Fixes https://github.com/jotaen/klog/issues/90.
I’ve come to think that it’s unnecessarily broad to allow all sorts of whitespace characters, because that might only lead to confusion or ambiguity. Maybe it’s just fine to restrict it to spaces and tabs, and not allow anything else (e.g., half-width spaces, non-breaking spaces, etc.)
Strictly speaking, this change is not backwards compatible. I wouldn’t expect that to be an issue in reality, though. Leaving this PR as draft for now, until I cut a new release of the spec.
@vladdeSV interested in your feedback on the change suggestion!

Just wanted to leave a note that I am aware of this issue, but that I am unsure of this proposal.
Pretty stacked right now, will look into this later 👍

Cool, thanks! There is no rush, I don’t have plans yet when to cut the next spec release.

@vladdeSV did you ever get around to look into this? 😃 (It’s still not urgent, I was just wondering.)

Hey. I have been thinking of this on and off, but I never came to anything conclusive.
Something feels off by disallowing any other type of whitespace. For me personally, this would not be a problem, but I do not know how others use other types of whitespace.
One scenario which I think could potentially apply to me, is that if I paste some text into a summary, then suddenly my file is invalid. This is something I do not like.

Three things for consideration:

The way the CLI is currently implemented, it doesn’t support anything but tabs or spaces for indentation. So if you try half-width or non-breaking spaces, it crashes. That might be a weak argument on the one hand, since the Spec is independent from the CLI. On the other hand, at least to my knowledge, there is no other implementation anyway (apart from the VSCode extension).
The whitespace restriction would only apply to the indentation. Inside the summary text you are free to use whatever whitespace you want. (For the optional space within a time range, and for delimiting the entry summary from the time value, the Spec already demands a “space” character.)
I share your hesitation to make breaking changes to the Spec. On the other hand, I should have defined it like this right from the start. The original whitespace definition was unnecessarily sloppy for no good reason. Also, this is still a relatively safe and minor change.

Oh, hang on actually: now it comes back to me why I came up with the loose definition of “whitespace”. This is not about indentation anyway, because that’s already well-defined in the Spec. The reason why I didn’t want to allow any whitespace at the beginning of a summary line is that otherwise it might lead to visual ambiguity. Think of:
2020-01-01
  This is a summary text that is indented by two non-breaking spaces.
  5h This is an entry summary that is indented by two regular spaces.

Visually, it appears as if the summary was indented and thus an entry. But technically, the parses disregards it. In order to avoid any confusion around this, I wanted to prohibit leading whitespace characters of any kind.
That being said, this PR doesn’t make sense. But the definition of what “whitespace” is should still be cleared up.


adjust sm parameters to match the developments in trf

https://text-compare.com/

in sm:

add senter

redo order of components to match


if this plugin installed, https://e.xitu.io/ can't load  with error.

Version
5.1.1
Browser and OS info
Chrome 76 / MacOS 10.15
Steps to reproduce
see title
What is expected?
solve the problem if it's possible.
What is actually happening?
the site can't load right

That's weird. I can confirm that site is not working with Vue Dev tools installed and works without.
Error in console
VM358:formatted:70 Uncaught TypeError: Cannot read property 'bind' of undefined
    at Object.<anonymous> (<anonymous>:1:957)
    at Object.r (<anonymous>:1:375)
    at Object.emit (<anonymous>:1:694)
    at Object.onInit (app.2a40f92ab70fec5566c5.js:19)
    at app.2a40f92ab70fec5566c5.js:19
    at Array.forEach (<anonymous>)
    at n.value (app.2a40f92ab70fec5566c5.js:19)
    at new n (app.2a40f92ab70fec5566c5.js:19)
    at Object.<anonymous> (app.2a40f92ab70fec5566c5.js:14)
    at e (app.2a40f92ab70fec5566c5.js:1)

Detected libraries:
vue: v1.0.28
vuex: v0.6.2


Add integration tests

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (46fae5b) to head (25ee758).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #384   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          107       107
  Lines         3291      3291
  Branches       269       269
=========================================
  Hits          3291      3291

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Added blog post

Added blog about community days and duugfest

Thanks @RachBreeze for this contribution 👍
Your blogpost was a very nice read, and it seems you had a busy month of September indeed 😅


Stale (and broken) content being deployed

For reasons I don't understand, even though I can see we are building with --path-prefixes, what's ending up in https://github.com/quarkusio/extensions/tree/pages does not have the /extensions prefixes on links. If I use the same arguments locally, I do get the prefixes.
This is a problem which appeared (along with several other confounding errors) with #322. We use the same action successfully in https://github.com/quarkiverse/quarkiverse/blob/main/.github/workflows/build_and_publish.yml.
Attempted fixes:

✅ Maybe something is going stale with the site upload and download? (#336 tries deploying in the same job as the build to eliminate that factor)

I have to say, I don't entirely understand why #336 fixed this issue. It's hard to diagnose since even in the failing cases content was being uploaded to the pages branch, it was just ... stale. I've switched to the official download artifact action, but I'm unsure how best to test it, since deploys only happen on main, and since the bad deploys look much like the good ones if other things haven't changed.

Well, I guess https://github.com/quarkusio/extensions/actions/runs/6200419940 shows this isn't working. It also gives some insight into staleness:


Preprocessing circle-seq data before using circle-map

Hello there,
I would like to ask, before processing the circle-seq data, your process is directly compared with bwa. I would like to ask whether to use picard to remove duplicates and merge samples for raw data.
Looking forward to your answer.
Good luck!
Jiang Xiaoyu

Dear Jiangxiaoyu1i,
I gave a similar answer in another thread. I copy-paste what I wrote:

This depends on the biological question you want to answer. If you are interested in a qualitative analysis where you only detect the circle keeping PCR duplicates is fine. If you want to do any quantitative analysis you should remove duplicates.

best,
Inigo


Apply without generating response

When applying requests to the state machine, responses are always produced, even though they are only used on the leader as far as I can tell. In the project I am working on, there are many requests to the state machine that are read only, but are expensive to compute. On the followers, I would like to avoid this computation, as the response will be discarded anyway and the requests do not change the state machine.
I would like a variation of RaftStateMachine::apply that produces no response and is called whenever the response would be discarded anyway. It could defer to the normal apply implementation by default to not complicate implementing RaftStateMachine:
async fn apply_without_response<I>(
    &mut self,
    entries: I,
) -> Result<(), StorageError<C::NodeId>>{
    self.apply().await.map(|_|())
}

Alternatively, an extra parameter could be added to apply to control response generation, but that would put more burden on a minimal state machine implementation.
A way for the leader to read directly from the state machine without writing a log would be preferred for my specific use case, but there could also be write-requests where the response is expensive to generate.

@m-mueller678 But why are using client_write() to start read-only requests???
You can directly read from the state machine on the leader. Ensuring the leader state is possible via several methods, for example, subscribing to metrics which will tell you when the state changes.
Alternatively, you can use Raft::ensure_linearizable() to ensure the read is linearizable across the cluster (see comments there).
Independent of that, not producing replies for state machine apply on the follower might be interesting. We do that indirectly, our reply type is () and we use a different channel to send the reply. See also Raft::client_write_ff().

I was not aware I could read from the state machine directly. How do I obtain a reference to the state machine from a Raft<C> handle? I think the documentation on Raft::ensure_linearizable should go into more details on that.

OTOH, probably only in master.

Right, this new function has not been released.

So simply implement it in a way that you keep some form of reference to it.

This makes more sense, e.g., wrap your actual state machine in an Rc or Arc, like what this raft-kv-memstore-singlethreaded example does

Distinguishing between different response types (e.g., T or ()) can be tricky, but here’s how it can be approached:

Decouple it from server state:
The response type should depend on the log entry itself, not the server state (Leader or Follower). Server state can change while the state machine is applying log entries, so relying on it could lead to issues.

Decide based on log entry origin:
The response type should depend on how the log entry was created:

If the log entry is produced by Raft::client_write(), it needs a response.
If it’s created as part of the replication stream (Leader → Follower), it doesn’t need a response.

Essentially, if a log entry has a channel sender bound to it, it should trigger a response.

Mark entries with a need_response attribute:

Add an attribute to log entries to indicate if a response is required.
When the entry is clone()-ed or deserialized (e.g., for transmission to a Follower), clear this attribute to show the new copy doesn’t require a response.
Also, you may need to update the response type from T to Option<T> for better clarity.

In short:
Only the first copy of a log entry (the one created by Raft::client_write()) should have the need_response attribute set to true. This ensures that responses are handled cleanly and avoids relying on server state.


Support for NTLM

With #84 -> #115, support was added for SPNEGO, but it seems this only works for the Kerberos sub-mechanism.  I have a service that is responding with a WWW-Authenticate: NTLM header, but the client is not handling that case.
I'm unsure if this is a documentation miss and I'm doing something wrong, or if it's not supported.

A snippet of what I'm doing:
use isahc::{
    HttpClient,
    auth::{Authentication, Credentials},
    config::SslOption,
    prelude::*
};

const URL: &str = "...";

fn main() {
    let username = read();
    let password = read();
    let credentials = Credentials::new(username, password);

    let client = HttpClient::builder()
        .cookies()
        .authentication(Authentication::negotiate())
        .credentials(credentials)
        .ssl_options(SslOption::DANGER_ACCEPT_INVALID_CERTS)
        .build().unwrap();

    let res = client.get(URL).unwrap();
    println!("{:#?}\n{:#?}", res.headers(), res.status());
}

fn read() -> String {
    use std::io::{stdin, BufRead};

    stdin().lock().lines().next().unwrap().unwrap()
}

Thanks for filing an issue!
Advanced auth mechanisms such as NLTM are finicky and depend on how underlying libcurl is compiled. This issue may also be related: https://github.com/alexcrichton/curl-rust/issues/359
You can try installling a custom build of libcurl with spnego support enabled and have Isahc use that by disabling the static-curl crate feature and it may work. I haven't tried it myself since I'm not too familiar with how it works and aren't sure how to test it myself.


Captcha

we can do it with this https://github.com/Gregwar/CaptchaBundle bundle

do it :)

issue fixed with this https://github.com/bulutyazilim/FeedbackBundle/compare/b0ab868f6d8ac5bc0102fb52487f5a077b9f607c...master commit bag.


Mounted volume permissions issue after upgrading dlite

I upgraded dlite just yesterday (from the ~3 weeks older version) and since then have had permissions issue on my mounts. All mounted volumes are owned by 501:root and my server does not have write permissions to these folders throwing all kinds of errors after the upgrade. If I chown the mounted folders than the ownerships get messed up on the host.
Is there something that I should be aware of in the current versions of dlite that caused this? Things used to work just fine before the upgrade. What's the right approach here?

this is tricky because NFS mounts have a weird permission model. i'm trying to figure out the best way to get your UID embedded into the virtual machine, which would mean we don't have to worry about permissions at all. i think that's going to be the best solution for this.
well, that or not using NFS. but right now NFS is all we have :)

I'm also having this issue after upgrading. All files created on my Rails' app by rake started to have weird permissions.
~/code $ ls -lh app/models
total 8
drwxr-xr-x  3 emaiax  staff   102B Jan  8 18:28 concerns
-rw-r--r--  1 root    staff    58B Feb 26 01:16 user.rb
~/code $ dlite version
1.1.3
~/code $ docker version
Client:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.6
 Git commit:   c3959b1
 Built:        Tue Feb 23 21:11:36 UTC 2016
 OS/Arch:      darwin/amd64

Server:
 Version:      1.10.0
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   590d5108
 Built:        Thu Feb  4 19:55:25 2016
 OS/Arch:      linux/amd64

I have altered my /etc/exports file to use my uid and guid instead. In order to make it work, after doing the changes I ran sudo nfsd update and restarted elite.
#/Users -network <IP_ADDRESS> -mask <IP_ADDRESS> -alldirs -maproot=root:wheel
/Users -network <IP_ADDRESS> -mask <IP_ADDRESS> -alldirs -maproot=bpinto:staff


⚠ Bofrost.nl has degraded performance

In c33f909, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 910 ms

Resolved: Bofrost.nl performance has improved in 81a534c.


Open graph uses language_TERRITORY

Open graph uses language_TERRITORY instead of language-TERRITORY like HTML does, see http://ogp.me/#optional

Thanks! :+1:


NTR:? mechanoreceptor activity

I can't find a term for mechanoreceptor
although lots of terms mention mechanoreceptors?
GO:0042490    mechanoreceptor differentiation 7,301 annotations
GO:0045631    regulation of mechanoreceptor differentiation 503 annotations
GO:0045632    negative regulation of mechanoreceptor differentiation 270 annotations
GO:0045633    positive regulation of mechanoreceptor differentiation 78 annotations
as a type of transmembrane signalling receptor?

I have a publication!
Detection of surface forces by the cell-wall mechanosensor Wsc1 in yeast
Could I get
mechanoreceptor activity
Combining with a mechanical force and transmitting the signal from one side of the membrane to the other to initiate a change in cell activity or state as part of signal transduction.
parent
transmembrane signaling receptor activity
reference PMID: 34666001

Can this term be added?  I guess I should have put it in a new ticket, but I thought it might be useful. to have this discussion to hand.

+[Term]
+id: GO:0140894
+name: mechanoreceptor activity
+namespace: molecular_function
+def: "Combining with a mechanical force and transmitting the signal from one side of the membrane to the other to initiate a change in cell activity or state as part of signal transduction." [PMID:23907979, PMID:34666001]
+is_a: GO:0004888 ! transmembrane signaling receptor activity
+property_value: term_tracker_item https://github.com/geneontology/go-ontology/issues/18636 xsd:anyURI
+created_by: pg
+creation_date: 2022-07-22T14:23:45Z
+


Sales_Analysis

I am GSSoC 24 contributor and I have created a Sales Analysis of an Electronics Company.
This project primarily uses python, pandas and matplotlib.
This repository is well-documented. Even the jupyter notebook have proper explanation with steps.
please assign me this issue under level 2.

pls assign me the issue,i will make sure the task is done,I have prior experience with the model too.


Tabular view - switching patient not working

Are you sure it's not just that the patient you are switching to has no records in the date range selected?

didn't look at that... only Super Woman working, may be that we have data only for her

Try Mickey Mouse 2014-07-01 -> 2014-07-30

Aha!