AJAX based pagination

Hi,
Is there an example which uses ajax based pagination and renders the data-table. I am stuck at it, would appreciate if anyone who has done it and willing to share it. I am using Django Rest Framework with pagination for my list API.
Thanks

Hei you can use onChangePage callback options that you can find on the documentation.
first you make componentDidmount function for get datas from api and set it to datas state.
Then
Set your options custom for onChangePage
const options = {
     onChangePage  : (currentPage) => {
        const { prev, limit } = this.state;
        // every change page it will check the page that should be make a new request or not
        if(currentPage > prev) {
          this.setState({prev: prev+1})
          this.onNextPage(limit, currentPage*limit);
        }
     }
}

our state

state = {
datas: [],
limit: 10,
prev: 0;
};

Next Page Function would be like this
onNextPage = (limit, start) => {
    const { datas} = this.state;
    // fetch api with limit and start parameter for url
    getDatas(limit, start)
      .then(res => {
       // Set the new datas from last datas and next datas
        this.setState({
          datas: [...datas, ...res.result]
        });
      })
      .catch(err => console.log(err));
  }

PR has been merged to finally provide remote data via the serverSide option.


Export main action functions, ease reuse

Description:
Export main actions functions to allow wrapper actions that use this action.
Related issue:
No filed issue.
Checklist:

[ ] Mark if documentation changes are required.
[ ] Mark if tests were added or updated to cover the changes.

Hey @paulolieuthier
These changes look harmless (you also need to run npm run build so that all the .js files under dist/* get updated too.
I'm having a hard time understanding the use-case for this though 🤔 We have composite actions that let you build and expand upon existing actions, but this seems like it wouldn't be useful for those scenarios. How could wrapper functions use this? I'm thinking it might be better for anyone to just clone & tweak this action if they want to create some sort of wrapper with extra functionality. Having these changes directly in here aren't that beneficial

We have composite actions that let you build and expand upon existing actions

AFAIK, this feature only covers script commands. I'm waiting for a new version supporting arbitrary actions: https://github.com/actions/runner/issues/646.

How could wrapper functions use this?

Basically importing it as a dependency and calling the exported function directly. It's not ideal, especially considering there is no API to set inputs and get outputs.

you also need to run npm run build so that all the .js files under dist/* get updated too

Totally forgot that.

Hello @paulolieuthier. We do not think it makes sense to accept this pull request. Note: The attached issue was resolved. We think it should resolve your issue.


StyledTextAreaBehaviorTest fail

I'm trying to build the latest version and I get the following error.
org.fxmisc.richtext.model.StyledTextAreaBehaviorTest > org.fxmisc.richtext.model.StyledTextAreaBehaviorTest$ContextMenuTests.requestingContextMenuViaKeyboardWorksOnWindows
FAILED
java.lang.AssertionError at StyledTextAreaBehaviorTest.java:86
Is there a setting I'm missing or something?

Hmm... That might just be a flaky test since the mouse version of it works fine.

I've looked into this issue more. It looks like TestFX does not properly create a ContextMenuEvent when the line push(KeyEvent.CONTEXT_MENU) is called. I added println statements to the area's setOnKey[Pressed/Released/Typed] handlers and only the released one was called. They're moving from using the internal API they use to create events to using Event.fireEvent to create such events. That migration will be complete in the next release I'm sure. So, for now, let's just ignore the test since the code does work as proven by the mouse event tests. We can enable it again when the TestFX issue is fixed.

See also TestFX/TestFX#374

@msarmc Please use the updated master branch.


Create a code sample for the flow request authorization code ->  request access token

It would be very useful if you could create an code example for the scenario where an API sends a request for authorization code and then it requests an access token and how can  AuthenticationContext be used in this request chain.

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

ID: 2870d4a9-e204-023a-56a8-c34e56347b43
Version Independent ID: 846fe3ae-21cb-e030-f68f-db73acef0c74
Content: Understand the OAuth 2.0 authorization code flow in Azure AD
Content Source: articles/active-directory/develop/v1-protocols-oauth-code.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@axthosarouris Thank you for your feedback! We will review and provide an update as appropriate.

@axthosarouris Thank you for your request . We are engaging the content team to further take this request to relevant team in engineering who can review the requirement and help create a sample.
@rwike77 Could you please check this request for a new sample.

@jmprieur can you add a link to the existing samples to this page?

Sure @hpsin. Even if we really want to move people to the v2.0 endpoint ...

@axthosarouris Thanks for your comments. I'm adding links to the sample applications (https://docs.microsoft.com/en-us/azure/active-directory/develop/sample-v1-code) to this article.  Please note that we are encouraging people to move to the V2 endpoint now.  At some point, we will start archiving v1 samples and content.  I suggest you also take a look at the v2 samples. #please-close


Show other symbols on same parent

Also need to add a key binding for helping that check other symbols under parent easily.

Same issue, if a symbol is within another symbol, e.g. JavaScript functions that are wrapped within anonymous functions, only the parent anonymous function is detected/shown.

Perhaps it could have an option to show innermost symbol?

You mean like this? But the anonymous function does not have a symbol name in fact, it's hard to navigate to the function.

That's true. I was thinking of a way to distinguish between a global wrapping anonymous function, like so:

An update on this. I found that VS Code has a similar feature built-in, but disabled by default:

When, enabled, shows this:

Not sure if this works for anyone else, but solves the issue I was having using this extension. This issue can now be closed.


Interpretable and Fine-Grained Visual Explanations for Convolutional Neural Networks

Paper
Title: Interpretable and Fine-Grained Visual Explanations for Convolutional Neural Networks
Authors: Jorg Wagner, Jan Mathias Kohler, Tobias Gindele, Leon Hetzel, Jakob Thaddaus Wiedemer, Sven Behnke
Link: https://openaccess.thecvf.com/content_CVPR_2019/html/Wagner_Interpretable_and_Fine-Grained_Visual_Explanations_for_Convolutional_Neural_Networks_CVPR_2019_paper.html
Year: 2019
Summary

produce mask to focus on interpretability
smallest region of image must be retained to preserve (or deleted to change) model output
fine grain visual explanation, no smoothing and regularisations

Hi, I'm very interested in your work. I want to try out this method for my thesis about Decoding the Art of Robot Tactile Learning with Explainable Neural Networks for Incipient Slip Sensing. Would you be willing to share the code of FGVis?


Christmas gifts do not give rewards when opened

Originally written by chomp

Fixed with: https://dev.sp-tarkov.com/SPT-AKI/Server/commit/e9daf6101363551ec5a10047ee8d822d84f3af25

Originally written by chomp

Works properly,
Opened the following items;
a89075c1a18874dd6404a6d7
a89075c1b188g4dd6404a3d7
a89075c1b188g4dd6404a3d6
a89075c1b188g4dd6404a3d5
a89075c1b188g4dd6404a3d1

And received the items in the screenshot.

Attachments

Screenshot_20240207_134825.png (197 KiB)

Originally written by Deadly

closing as tested

Originally written by CWX


Atom plugins ignore sound device select (Gnome)

Prerequisites

[Y] Can you reproduce the problem in safe mode?
[Y] Are you running the latest version of Atom?
[Y] Did you check the debugging guide?
[N] Did you check the FAQs on Discuss?
[IDK] Are you reporting to the correct repository?
[Y] Did you perform a cursory search to see if your bug or enhancement is already reported?

For more information on how to write a good bug report or enhancement request, see the CONTRIBUTING guide.
Description
On Gnome Desktop, system notifications always using default sound device. You can alter that behaviour, but from the box, they ignore headset presence. Which is for most cases acceptable.
But somehow, Atom (Or maybe electron itself?) using such channel too. Which making plugins like audio player / youtube window / chrome plus ignore headset.
I am asking maintainer to prove, that this is not issue of Atom itself, before i will flag this case to Electron/Gnome/PulseAudio community. Because my assumption, it either can be bad configuration in atom, issue in Electron or Gnome.
Steps to Reproduce

Install any Gnome distributive
Plug in headset and select in in sound settings
Install any of those:
https://atom.io/packages/atom-music
https://atom.io/packages/youtube-pane

Expected behavior: [What you expected to happen]
Music playing from headset.
Actual behavior: [What actually happened]
Music playing from laptop speakers.
Versions
apm  1.13.0
npm  2.15.9
node 4.6.0
python 2.7.12
git 2.7.4
Atom    : 1.11.2
Electron: 0.37.8
Chrome  : 49.0.2623.75
Node    : 5.10.0
Fedora 24 x64
Gnome 3.20.2

Issue canceled. It caused bug in Gnome, when hot plugged headset don't changin selected device. After manual choose everything is perfect.


[Filters] Sort order dropdown appearing before filter added

context
In the multi-field select filter (records 210+) a user is prompted to sort the order of results before the filter has been applied. The client does not want this option to appear until the filter has been added since there are datasets that are not displayed due to # of records
approach
Remove the default order option from appearing when records >210;  re-render can present difficulties

@alissarose
If a user removes all items from the section filter (remote filter with over 220+ options) and they had set a sort of a to z. If they remove all items and the sort disappears should it reset back to default order or should it stay at a to z when it reappears (when they select an item)?

It looks like the PR for this issue hasn't been referenced here (nor this issue from the PR) since I don't see and linking messages. Could you link it, @coyle5280 ?

I think I connected it  - https://github.com/cartodb-org/cartodb/pull/201
cc/ @gfiorav

That one says #180 🙈

yeah, but i think it's the right one?
the PR for #190 is https://github.com/cartodb-org/cartodb/pull/195


OpenXML integration with Windows RMS (Right Management Services)

I got requirement to Export Excel with integrating the Windows AD RMS ( Active Directory Right management Service) integration.  I mean is there any way we can use ClosedXML or OpenXML SDK and create some security that Excel can be accessed by Users defined in AD RMS Security configuration??
I know it is complex requirement, and i did search but looks like there is no way at this moment.
Can any one did this before or is it possible at all  or  can any one provide any assistance on this??
thanks in advance.

+1. I have problems with RMS/Open XML too. Cannot open RMS protected files with open XML even thought programmatic access is allowed according to the RMS template.

@nickgsoft @jurjen74  Thanks for the suggestion to add RMS support. At this time we have no plans to take this on but you or anyone in the community is welcome to implement this in a fork/clone and we will evaluate PR contributions for inclusion in this repository.

@nickgsoft @jurjen74 Are you still looking at how to do this?

This doesn't look like something the SDK should support as it's not directly related to the actual file format. Feel free to reopen if you disagree, but it looks like this would be something an application would need to handle. We'd be open to including a sample in the repo as to how to solve it.


[Bug?]: Angolia Search is pulling results from previous version of the site

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Searching for 'Show' renders link to
https://start.solidjs.com/api/createRouteAction#show-a-pending-indicator-for-an-action-in-progress
This link does not work.

Expected behavior 🤔
Ability to see examples of how to use the <Show /> component.
Steps to reproduce 🕹
Steps:

Search for Show on the solid start website

Click on the link provided 'Show a pending indicator for an action in progress'

Context 🔦
Google Chrome
Version 120.0.6099.109 (Official Build) (arm64)
Your environment 🌎
No response

Thanks. Yeah the search is out of date for some reason. We need to get that updated. That section no longer exists.

This appears to be fixed. It doesn't clear your local search history it appears but it won't appear in new searches.


endpoints "operationId" namings review.

Hello,
There are commonly two versions of endpoints in the API - GET and POST.
I suggest to review POST endpoints to unify the names pattern.  These changes wont change the REST API, but the description in the OpenAPI / Swagger.
Here is are the suggestions for the /analyses endpoints :
analyses:
"/analyses": {
    "get": {
        "operationId": "getAnalysis",

=> getAnalyses (plural)
"/analyses": {
    "post": {
        "operationId": "postAnalysisRequest",

=> postAnalysesRequest (plural)
"/analyses/{id}": {
    "post": {
        "operationId": "postOneAnalysis",

=> postOneAnalysisRequest (we do not post the analysis, but the request to get one)
"/analyses/{id}/g_variants": {
    "post": {
        "operationId": "postOneAnalysisVariants",

=> postOneAnalysisVariantsRequest

@jrambla

Suggestions applied and committed.


The Issue about Distributed Training

Hello!
I have a question about the Distributed Training.
What is the role of this parameter ‘coalesce’ ?
The Code is listed below:
def allreduce_grads(model, coalesce=True, bucket_size_mb=-1):
grads = [
param.grad.data for param in model.parameters()
if param.requires_grad and param.grad is not None
]
world_size = dist.get_world_size()
if coalesce:
allreduce_coalesced(grads, world_size, bucket_size_mb)
else:
for tensor in grads:
dist.all_reduce(tensor.div(world_size))
If anybody answers, I'm grateful.

When using coalesce all reduce, tensors are distributed into different buckets determined by their types. Then tensors of the same type will be synchronized together. Without coalesce,  all tensors will be synchronized individually. In my opinion, using coalesce will synchronize more efficiently by making full use of buffers and bandwidth.

Thank you very much!

When using coalesce all reduce, tensors are distributed into different buckets determined by their types. Then tensors of the same type will be synchronized together. For example, transmit all int tensors or all float tensors. Without coalesce, all tensors will be synchronized individually. In my opinion, using coalesce will synchronize more efficiently by making full use of buffers and bandwidth.

Thank you very much!


ref(pkg/draft): print cleaner errors

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


Create safe-ethers-lib and safe-web3-lib packages

What it solves

Create new package: safe-ethers-lib (contains EthersAdapter and ethers-v5 typechain files)
Create new package: safe-web3-lib packages (contains Web3Adapter and web3-v1 typechain files)
Fixes issues with web3 and ethers dependencies

Resolves #152 and #33

I'm adding the changes in this PR, https://github.com/gnosis/safe-core-sdk/pull/158


Add ArgoUML.app v0.34

Depends on Java SE 6, not sure how to set up that dependency.

You can use depends_on :java, but it's just a stub right now

@adityadalal924 It's Java 6 though. Would depends_on :java6 work?

I'm pretty sure any line you write doesn't have an impact, at this point (there's no backend code to enforce it) - probably best to just not add anything

Isn't there a specification for it though?

Isn't there a specification for it though?

Yes, sort of. Not officially. Until we get java dependencies working (likely not soon), you should add a caveat:
caveats <<-EOS.undent
  #{token} requires Java 6 like any other IntelliJ-based IDE.
  You can install it with

    brew cask install caskroom/homebrew-versions/java6
EOS
```

@vitorgalvao Alright, updated.


Some reads unexpectedly unaligned

Hi Jared,
I'm using only 13 reads for a particular locus. It turns out 7 are reported as "no alignment".
nanopolish call-methylation reports:
[post-run summary] total reads: 13, unparseable: 0, qc fail: 0, could not calibrate: 0, no alignment: 7, bad fast5: 0
Which surprises me, as the bam file has 13 aligned reads (according to idxstats and flagstat, and just looking at the alignments). Mapping qualities are 60, sam flags 0 or 16. Some reads have large softclips and/or secondary alignments, don't know if that could be related. Quite unfortunate to lose half of my reads here.
The fastq and bam file contain exactly the same 13 reads.
diff <(grep '^@' overlapping_reads.fastq | sed s/^@// | sort) <(samtools view overlapping_reads.bam | cut -f1 | sort) => returns nothing
nanopolish index reports:
[readdb] indexing expanded_fast5/
[readdb] indexing non-expanded_fast5/
[readdb] num reads: 13, num reads with path to fast5: 13

so that looks fine
What is the filter based on which a read is considered "no alignment"?
Cheers,
Wouter

Hi Wouter,
Nanopolish has to align the signal data to the basecalled read as a pre-processing step. If this step fails, it reports "no alignment". This is independent of the alignment in the bam file. Sorry for the confusing message.
Jared


Add padding bottom of day tab

Idea Description

Reference images and links
Design Kit
https://www.figma.com/file/XsVzpDZSkEQANgCZLRTDDy/DroidKaigi-2022-Material-3-Design-Kit?node-id=11%3A1833
App Design
https://www.figma.com/file/NcSMs6dMsD88d4wOY0g3rK/DroidKaigi-2022-Conference-App?node-id=0%3A1

🙋♂

Thanks! Assigned! I tried once, but I can't do it😂


slugbuilder: Bump buildpacks

PHP version bumps, Rails 5 support, and better Rails 4 static asset handling.
https://github.com/heroku/heroku-buildpack-ruby/compare/20b99c8c...bac6cf09
https://github.com/heroku/heroku-buildpack-java/compare/a85be840...9f1c2478
https://github.com/heroku/heroku-buildpack-scala/compare/3e533b6d...77f5527d
https://github.com/heroku/heroku-buildpack-php/compare/62bddfeb...f23729a3

LGTM


[DOC] Document zero time upgrade for nearcore

Is your feature request related to a problem? Please describe.
Currently, everyone is stopping a node, updating a binary and then restarting it again.
This can take from few minutes to 30-40 minutes in cases when new binary needs to be built.
Also after node starting, it needs to catchup with the network. For validators this leads to liveness issues and minor denial of service.
Describe the solution you'd like
NEAR has unique ability to switch between validator nodes in atomic fashion on epoch switch via changing validation keys.
The solution is to:

Start a new node with new binary, with new validator key but the same account id
Wait until node fully syncs (or time things properly with epoch switches)
Send a re-staking transaction with new validator key (if running staking contract, rotate staking key within this contract)
Wait until epoch switches when new validator key becomes active
Stop old node with old validator key.

@ilblackdragon How technically challenging would be to solve this problem by designing to run N validators associated with the same account? This way you'd cover your stated maintenance failover usecase but also provide for permanent redundancy and network resiliency.
Currently your implementation allows only for a direct association between a node and an account, but I wonder if its possible to create an abstraction level (for example via a certificate or pseudonode), where multiple different nodes can be bound to the same certificate/key/pseudonode and this key is the one that would be used for staking purposes, allowing the validator to run the validation service at scale.

@abakuz

run N validators associated with the same account

How will blocks be produced under this setting?

@bowenwang1996 consider that I have validator_1 and validator_2, both are using the same pseudokey K1, so when both are online both are producing and validating blocks under K1.
Is that technically possible under the constraints of your protocol architecture?

That is not possible without significant amount of work. In your case, at most one of the nodes will be able to produce blocks. Depending on the topology of the network, I believe it is very likely that neither will be able to produce blocks.

@bowenwang1996 thanks for the feedback, what if look at this problem in a different way.
Say validator_1 and validator_2 continues to have its own node_key and produce blocks as they currently do, but then instead of associating your node_key with your stake, you associate you node_key with a pseudokey, and then stake using this pseudokey. The same pseudokey is reused is used on validator_1 and validator_2.

I don't understand how that is different. It is not about whether the validator key is the same -- you can use the same validator key for different validators. It is about whether the account is the same. In your case, if validator_1 and validator_2 use the same account then the problem is the same. If they are different accounts then I don't know what is solved here.

We still have to wait for one full epoch for the switch, which is more than 12 hours on TestNet and MainNet (more than 3 hours on BetaNet).
It works very well with soft forks, I can't see how we can leverage this with a hard fork

I can't see how we can leverage this with a hard fork

The idea is that we don't do hard forks (unless social consensus is required for some reason).

This has been a concern for me the past 2 weeks as well since the build time was taking almost an hour on the cloud instance the node is running on (per recommended hardware config).  Further 2 weeks ago during the hard fork, the slow rebuild process failed (due to a mistake on my part I believe) and the time to recovery was extended even longer.  (A question I have regarding the "solution" as given here... once the primary nodes have hard forked, does keeping your node running the old version even matter in terms of uptime, being kicked, etc?!  Seems to be a moot point that the old node is running if it's running with the pre-fork version of code...?)
My current solution has been to fork the project tracking upstream changes and on each upstream push GitHub's CI/CD automatically builds (which still takes a bit of time as you can see) but due to the immediate nature of action via tracking upstream pushes, the speed at which the built binary is available should be at relative parity to the upstream.

I planned on testing the implementation this past Tuesday however the hard fork was canceled.  However I don't see why it wouldn't work fine.  One additional step to add is to automatically copy the binaries to the validator node so that no manual transfer is required and it's just there.
Does this sound like a solid workflow?!  Would it be helpful to document this process for other validators who might not be doing it currently?

@june07 I assume you are talking about the current way of upgrading the network instead of what is proposed in this issue. It seems fine to me. Every validator will have their own setup for running the node so I don't think there is any universal setup that we should specify (in fact, we are much less experienced in this area compared to some of our validators).
After we change the way we do network upgrade as specified in this issue, upgrades will happen asynchronously and validators will have more time to test and verify the new releases.

once the primary nodes have hard forked, does keeping your node running the old version even matter in terms of uptime

Not sure what you mean by "primary nodes". If you are talking about the new node that runs the new binary, then after your new node is synced to the network and start validating you can shutdown the old node.

Is your feature request related to a problem? Please describe.
Currently, everyone is stopping a node, updating a binary and then restarting it again.
This can take from few minutes to 30-40 minutes in cases when new binary needs to be built.
Also after node starting, it needs to catchup with the network. For validators this leads to liveness issues and minor denial of service.
Describe the solution you'd like
NEAR has unique ability to switch between validator nodes in atomic fashion on epoch switch via changing validation keys.
The solution is to:
1. Start a new node with new binary, with new validator key but the same account id

2. Wait until node fully syncs (or time things properly with epoch switches)

3. Send a re-staking transaction with new validator key (if running staking contract, rotate staking key within this contract)

4. Wait until epoch switches when new validator key becomes active

5. Stop old node with old validator key.

Is it possible to have an expanded version of this guide? Especially point 1. Does it mean we have to create a new contract?


Darkmoon Card: Crusade

Darkmoon Card: Crusade is coming in phase 2, it'd be nice to have it modeled. Stacks increase on every direct damage event, e.g. dots only increase once but AM stacks on every individual hit.

It's already in the sim but marked as phase 3.
Any confirmed it's coming in phase 2?

They are confirmed per https://old.reddit.com/r/classicwow/comments/owyb9l/tbc_darkmoon_cards_coming_in_phase_2/h7j31th/.


issue with MapTypeStyle optional attributes

Issue description
I would like use these mapOptions with optional Stylers, but they are mandatory in google-maps-types.d.ts.
Please see Google documentation with an example without at least elementType in one styler.
Steps to reproduce and a minimal demo of the problem
https://developers.google.com/maps/documentation/javascript/styling
let options: MapOptions = {
styles:[
{
stylers: [
{ saturation: -100 }
]
},{
...
is not parsing because elementType and featureType are mandatory. I know there is also option 'all' inside of these attributes, but it increase file size.
Current behavior
not parsed by tsc
Expected/desired behavior
export interface MapTypeStyle {
elementType?: ...
featureType?: ...
stylers: MapTypeStyler[];
}
angular2 & angular2-google-maps version
0.13.0
Other information

You should use the styles binding from seam-google-maps as a workaround. We track this in #617


MLHR-1943  #resolve #comment copied from Megh

@ilooner Could you please review and merge?

licenses are missing

Please change the commit message "Added from previous release"

Thanks Bright can you squash the commits, then I'll merge.

@ilooner Even if this is part of a big change, it should not contain gpl license. So for now @brightchen will remove this trove4j dependency and the related interface. Then we can merge it.

@brightchen I would prefer to hold off removing trove4j till later, but since two people have raised this issue the trov4j replacement should be done now. The classes used from trov4j can be replaced by these classes from fastutil. The API is almost identical for the two libraries so it should be a small change.
http://fastutil.di.unimi.it/docs/it/unimi/dsi/fastutil/Hash.Strategy.html
http://fastutil.di.unimi.it/docs/it/unimi/dsi/fastutil/objects/Object2ObjectOpenCustomHashMap.html

@ilooner I think maybe better delay this task into the 3rd sub-task. It should do some test such as performance etc( I don't know if you had performance test or not ). And only the implementation need Hash Strategy interface.

@brightchen I think people's concern may come from the idea that trove4j may be included in a release. Can you find out when Malhar will be released from @tweise? If you are confident the 3rd subtask will be completed before release, then I don't see a problem with temporarily including it. If people insist more on not allowing it in at all, then you can reorder your sub-tasks to remove trove4j first and then make these changes.

@ilooner I don't think its a big deal even Malhar released with this interface. As we are going to do is only expand interface rather than change or limit the interface. Anyway, It's better to keep it as stable as possible. So I'll add the hash strategy interface.

@ilooner could you review and merge

@brightchen trove4j cannot appear in Malhar.
@ilooner We are getting close to 3.3.0 release: https://malhar.atlassian.net/issues/?jql=project %3D Malhar and fixVersion %3D 3.3.0 and resolution %3D Unresolved

trove4j had already removed


Cached pages don't work with forms and their RequestVerificationToken when navigation is authenticated

Because OutputCache stores the RequestVerificationToken for authenticated users also, cached pages fails to POST data.

I remember how we had decided to handle XSRF tokens, by actually not caching any page that generates one. Then anything with forms would not be cached. The solution we have was to issue forms using ajax such that we could still cache most of the page.
I don't know what it's not applied anymore, but that might be a better solution? If it's possible to see that the outgoing cookie is set. Can you confirm the logic? And that it still works with comment forms?

fixed via #8470


Support for Spanish wikipedia

How much work would it take?

I don't know anything about spanish - is there ruby text involved? If not it should be trivial, I'll try to add all the other languages in DBpedia while I'm at it.

Resolved: https://github.com/MarvNC/wikipedia-yomitan/releases/tag/v1.6.1


Expose ZoneMinder availability to Home Assistant

Description:
Ties in the availability from ZoneMinder monitors to the camera and sensor entities created in Home Assistant.
Related issue (if applicable): fixes https://github.com/rohankapoorcom/zm-py/issues/20
Depends on https://github.com/rohankapoorcom/zm-py/pull/24
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

@MartinHjelmare should be all set. I don't believe this needs a doc update.

Can be merged when build passes.

@MartinHjelmare Can I get a merge please?


#32 Convert empty strings to null during serialization

fixes #32
created #38 follow up for other serialization tests

Codecov Report

Merging #39 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             master     #39      +/-   ##
===========================================
+ Coverage     92.09%   92.1%   +0.01%
  Complexity      656     656
===========================================
  Files            83      83
  Lines          1796    1799       +3
  Branches         79      79
===========================================
+ Hits           1654    1657       +3
  Misses          110     110
  Partials         32      32

Impacted Files
Coverage Δ
Complexity Δ

...processor/schema/parse/StringTypeSchemaParser.java
100% <100%> (ø)
5 <0> (ø)
: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 1d01e11...5a8f4cb. Read the comment docs.


Switch button icons to show effect, not status

Description
This switches the button icons so they indicate the effect they will
have if clicked, instead of the current status. This will make it more
obvious that the button is a button, and what effect it will have if clicked.
Motivation and Context
Clickable buttons generally indicate the effect they will have if
clicked. For example, if a video is playing there is usually a pause button to indicate the video will become paused if the pause button is clicked.
Previously, the buttons in this plugin looked like
status indicators instead of buttons.  When the password was hidden by default,
the button showed the "not visible" icon.  That meant it was not necessarily obvious
the button was a button.
How Has This Been Tested?
Currently running in a production environment, see https://www.pocketero.com/users/open-account
Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Non-breaking change (aesthetic only)

Checklist

[x] My code follows the code style of this project.

Gratitude
@coliff thanks for creating this plugin, it works great! 👍

thanks for this. well spotted. :-)  This now matches the UI that Microsoft IE11 and Edge use.


[bugfix]Fix Issue #1254 and update index.d.ts

Changes

Fix for issue #1254 .

Is it also possible to return always any array? [] instead of null or undefined


Allow openshift_cmd to take input to pipe to oc's stdin

oc_process: also, optionally accept template data via "content" instead of
via imported template.

@kwoodson gave 👍 in stg PR #1628


Demo Terraform Tests

HashiCorp announced in Terraform v1.6.0 a testing framework which enables the following:

Create real infrastructure and verify the result
Create plan and verify the result

Starting on this one

Starting on this one


cordova-plugin-add-swift-support dependency versions

It is possible to update this plugin's dependency cordova-plugin-add-swift-support from 1.6.0 to 1.7.0 or ^1.7.0 as it is incompatible with another plugin that I use which requires ^1.7.0.
Thanks

++++

Any solution?

Same, maybe should update to newest 2.0.2?
And finally migrate to swift 4+?
Please _

related #124
Why this plugin is dependent on these older cordova-plugin-add-swift-support plugin?
I installed the new<EMAIL_ADDRESS>and there was no problem with my app.

Same, maybe should update to newest 2.0.2?
And finally migrate to swift 4+?
Please ___

Couldn't agree more with @Piranit. I am using another plugin (cordova-plugin-nativegeocoder) which is dependant upon the 2.0.2 version and now I have issues within my project. So I would very much appreciate it if the cordova-plugin-add-swift-support dependency was updated in this plugin. Thank you.

Any update regarding the same .? @AshleyJBartlett


Immunofluorescence confocal microscopy evidence [GO synapse term request]

is_a confocal microscopy evidence [term requested]
is_a immunofluorescence evidence [ECO_0000007]

Added the term immunofluorescence confocal microscopy evidence [ECO:0005600].
is_a confocal microscopy evidence [ECO:0005587]
is_a immunofluorescence evidence [ECO_0000007]
Closing the ticket now.


⚠ AsianCinema has degraded performance

In f2046fc, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 200
Response time: 2221 ms

Resolved: AsianCinema performance has improved in 97621b4 after 6 minutes.


Lessen the vibe dependencies

Just some simple project tweaks

Removed the dub.selections.json file as it is not needed to be in repository.
Changed the vibe dependency to just vibe:http module (so it won't build vibe-mongo for example on the library user side when not needed)

dub.selections.json is there on purpose - this is standard practice to guarantee the reproducibility of builds. It's the same in Ruby and Rust.
There's a reason dub init doesn't place it in .gitignore. It's the same reason dub.selections.json only gets updated by dub upgrade, not by editing the requirements.

Ah, ok, I've reverted that change and kept just the dependency change


If there are no variables the body need to be either not there or an …

…empty array. I've chosen empty array.
Updated the code the creates the variables body to add to the array vs re-assigning it. Was running into single vs multiple item fun in powershell.
Fixes Issue #83

Thanks @CaseyMacPherson !
Evaluating this changeset, I noticed that New-GitlabPipeline was vulnerable to the same bug, so extracted a utility function (ConvertTo-GitlabVariables) to handle the various cases


Could not back up files of type characterSpecial when masking  '/etc/systemd/system/elasticsearch.service'

Module version: "0.12.0"
Puppet version: 3.8.6
OS and version: CentOS 7.1 && CentOS 7.2

Bug description
after initial installation, every puppet run fails in
if ($elasticsearch::service_providers == 'systemd') {
# Mask default unit (from package)
file { '/etc/systemd/system/elasticsearch.service':
ensure => link,
target => '/dev/null',
}
}
with
Error: Could not back up files of type characterSpecial
Error: /Stage[main]/Elasticsearch::Config/File[/etc/systemd/system/elasticsearch.service]/ensure: chang
e from characterSpecial to link failed: Could not back up files of type characterSpecial
Even including inside site.pp a File resource definition to disable backup, the error still shown

Feature Description

Interesting - just to help with debugging this, do you have any details on the file /etc/systemd/system/elasticsearch.service from one of your systems? As in, what the contents are, what file says it is, ls -la for the file, etc.

Hi,
its just a normal simlink to /dev/null... nothing special on it.
[root@hostname ~]# ls -la /etc/systemd/system/elasticsearch.service
lrwxrwxrwx. 1 root root 9 Aug  4 13:14 /etc/systemd/system/elasticsearch.service -> /dev/null
I also been thinking that could be a problem of the puppet agent itself not 'understanding' the link to /dev/null. Might be worth to just 'ensure => absent' instead of masking it ?
thanks and let me know how i can help further.
cheers
daniel

Changing ensure from absent to link was done as part of #644 since masking the unit 1) maintains the integrity of the distribution's package manager database and 2) opens up possibilities to reference the unit when creating instances instead of doing so via hard-coded templates in the puppet code (plus it's the recommended way to do it in systemd). I'll keep digging and see if I can figure out what's going on.

This is in as of 4c687d1. Instead of doing the manual work of symlinking to /dev/null, which apparently makes puppet choke in some cases, we'll use an exec cal to systemctl to mask the unit, which should be more reliable. 👍  Thanks again for the report!

Thanks to you! very much appreciated :)


Fix rust 2024 warning when using nserde(skip) field annotations

At present, the #nserde(skip) attribute on a struct with a derive(DeRon) annotation would cause build warnings. You can see this by running cargo test in the project.
rning: this function depends on never type fallback being `()`
   --> tests/ron.rs:138:14
    |
138 |     #[derive(DeRon, SerRon, PartialEq, Debug)]
    |              ^^^^^
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
    = help: specify the types explicitly
note: in edition 2024, the requirement `!: DeRon` will fail

From looking at the expanded macros, I think this is because in the generated code, type inference relies on the assignment of the local value to its corresponding struct field to know what the value of the type binding is. Because skip() skips this and replaces the value with Default:;default(), the resulting option type is initialized to the "lowest" possible type, Option<!>.

I think that makes the DeSer::de_ron() call to initialize the field values fall back to the DeSer impl for (), which triggers the compiler warning. Not 100% sure about that but either way, adding type annotations makes the warning go away!

Thanks for making this. Seems like it's passing all tests, so am planning to merge this after I have a chance to review it a bit more thoroughly. Did you happen to check if the same thing happens with DeJson?

I didn't see it happen. It looks like it's because the expanded skip macro for json ends up omitting the field entirely from deserialization when #[nserde(skip]) is set.

I believe the difference between json and ron here is because there's no whole_field equivalent for ron, so the parser has to parse skipped fields in order advance the parser state.

Thanks for doing this!


create doxygen automatically

Coverage remained the same at 86.007% when pulling a22d09dabf8c9500e52856f02db7994ee730b006 on hendrik-cliqz:doxygen-travis into 5a18254b9aa5c54fe4d9ec54a5ff106cd7a4735b on cliqz-oss:master.

Coverage remained the same at 86.007% when pulling f82a91ea23623f88260e6544cb3a11feed6f008d on hendrik-cliqz:doxygen-travis into 5a18254b9aa5c54fe4d9ec54a5ff106cd7a4735b on cliqz-oss:master.

Coverage remained the same at 86.007% when pulling da3c676bd7096e85c9a4a9874cbf95a88802bebb on hendrik-cliqz:doxygen-travis into 5a18254b9aa5c54fe4d9ec54a5ff106cd7a4735b on cliqz-oss:master.

Coverage remained the same at 86.007% when pulling ff3f344736206ebb66bf4aeb9fd412a044035329 on hendrik-cliqz:doxygen-travis into 5a18254b9aa5c54fe4d9ec54a5ff106cd7a4735b on cliqz-oss:master.

Coverage remained the same at 86.007% when pulling bacdf1427d11ddacecb4cc21a661a73cae6f0f5d on hendrik-cliqz:doxygen-travis into 5a18254b9aa5c54fe4d9ec54a5ff106cd7a4735b on cliqz-oss:master.

Coverage remained the same at 86.007% when pulling 1d023990eed046d342970607d44ef322d446c4f7 on hendrik-cliqz:doxygen-travis into 5a18254b9aa5c54fe4d9ec54a5ff106cd7a4735b on cliqz-oss:master.

Coverage remained the same at 86.007% when pulling bcc0829788b367f309e1f762b4cda87bd2e64edb on hendrik-cliqz:doxygen-travis into 5a18254b9aa5c54fe4d9ec54a5ff106cd7a4735b on cliqz-oss:master.


to_inline_sql/2 doesn't map large numbers to the correct type

There was recently an addition of some new cases for Ecto.Adapters.ClickHouse.Connection.param_type/1 to handle mapping numbers to Int128/256/etc. This works great when doing the usual Repo.all calls, but calling Ecto.Adapters.ClickHouse.to_inline_sql/2 seems to miss this codepath and won't cast parameterized numbers correctly.

👋 @oceanlewis
Thank you for the report! However, I haven't been able to reproduce it with the test in https://github.com/plausible/ecto_ch/pull/192

Sorry for not circling back around to this. Here's a minimal example I put together to demonstrate the issue:
defmodule ExampleSchema do
  use Ecto.Schema

  @large_id 10_000_000_000_000_000_000_000_000_000_000_000_000

  @primary_key false
  @derive {Jason.Encoder, except: [:__meta__]}
  schema "example_table" do
    field :large_id, Ch, type: "Int128"
  end

  def create_table do
    MyApp.Repo.query!("""
    CREATE OR REPLACE TABLE example_table (
      large_id Int128
    ) ENGINE = MergeTree()
    ORDER BY (large_id)
      AS (SELECT #{@large_id}::Int128)
    """)
  end

  def demonstrate do
    import Ecto.Query

    query =
      from ex in ExampleSchema,
        select: ex.large_id,
        where: ex.large_id == @large_id

    # Generate and runs
    # ```
    # SELECT e0."large_id"
    # FROM "example_table" AS e0
    # WHERE (e0."large_id" =<PHONE_NUMBER>0000000000000000000000000000)
    # ```
    # which will return 0 rows, because<PHONE_NUMBER>0000000000000000000000000000 is not cast
    # as an Int128, and is instead  cast as a Float64 with a value of `1e37`
    MyApp.Repo.to_inline_sql(:all, query)
    |> MyApp.Repo.query!()

    # The correct query to generate would have been
    # ```
    # SELECT e0.large_id
    # FROM example_table AS e0
    # WHERE e0.large_id = CAST('10000000000000000000000000000000000000', 'Int128')
    # ```
    # or similar
  end
end

So yeah, the tests you've added should be correct, but because ClickHouse itself isn't inferring the types of the numeric values correctly the resulting query is invalid :(

Ah, I see. We can add explicit casts no problem! Thank you for following up!


[FEAT] update to pydantic2

this request a new major version and i will release 1.0.0 if this PR works
closes #18

I think this pydantic.errors.PydanticImportError: pydantic:ConstrainedStr has been removed in V2. needs to be fixed before this can be marked done.
ImportError while importing test module '/Users/bol/Documents/dev/v4vapp/v4vapp-api-ext/tests/podcastindex/test_pi_get.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Users/bol/.pyenv/versions/3.11.1/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/podcastindex/test_pi_get.py:4: in <module>
    from v4vapp_api_ext.main import app
src/v4vapp_api_ext/main.py:23: in <module>
    from v4vapp_api_ext.helpers.qr_code_avatar import get_hive_avatar
src/v4vapp_api_ext/helpers/qr_code_avatar.py:10: in <module>
    from lnurl import encode as lnurl_encode
/Users/bol/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cc3pDiTe-py3.11/lib/python3.11/site-packages/lnurl/__init__.py:3: in <module>
    from .core import decode, encode, get, handle
/Users/bol/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cc3pDiTe-py3.11/lib/python3.11/site-packages/lnurl/core.py:8: in <module>
    from .models import LnurlAuthResponse, LnurlResponse, LnurlResponseModel
/Users/bol/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cc3pDiTe-py3.11/lib/python3.11/site-packages/lnurl/models.py:7: in <module>
    from .types import (
/Users/bol/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cc3pDiTe-py3.11/lib/python3.11/site-packages/lnurl/types.py:8: in <module>
    from pydantic import (
/Users/bol/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cc3pDiTe-py3.11/lib/python3.11/site-packages/pydantic/__init__.py:210: in __getattr__
    return _getattr_migration(attr_name)
/Users/bol/Library/Caches/pypoetry/virtualenvs/v4vapp-api-ext-cc3pDiTe-py3.11/lib/python3.11/site-packages/pydantic/_migration.py:295: in wrapper
    raise PydanticImportError(f'`{import_path}` has been removed in V2.')
E   pydantic.errors.PydanticImportError: `pydantic:ConstrainedStr` has been removed in V2.
E
E   For further information visit https://errors.pydantic.dev/2.1.1/u/import-error

sorry its still a draft :D is going to be a pretty substantial change

Ahh thanks, yeah I thought it would be a bit more intense. I've been fortunate, none of my other API projects have had any issues switching so far.

Looked at migration of class LightningNodeUri here The only way I could make it work is to inject a 'lightning://' to make it a valid URL. The tests needed a change which hints at incompatibity going forward. The proper fix would involve changing the rust validation engine. I hope this helps somehow.


Inline snapshot roadmap

The bones of inline snapshots landed in:

#23

Things which we'll need to implement

[x] handle toBe(LITERAL), not just toBe_TODO() #49
[x] breakup long integers 1_000 not 1000, 1_000_000 not 1000000 #70
[x] implement LongSelfie #71
[x] implement BooleanSelfie #72
[x] implement StringLiteral single-line #56
[ ] implement StringLiteral multi-line

[ ] Kotlin """
[ ] Java 15+ """
[ ] Java <15 "foo\n" + "bar\n", but we should support this last
This is where it's important that we did our error handling very carefully earlier, because there might be some subtle escaping pitfalls here

[ ] whitespace inside the toBe (e.g. .toBe(  35  ) instead of .toBe(35), and also newlines

we need to "parse" the file enough to survive auto formatters changing the location of the literal

[ ] error message if it isn't a literal (e.g. .toBe(27 + 8))

before we ever change a snapshot, we always make sure first that we can parse it correctly as a sanity check
tell the user that it must be a literal, and point them to toBe_TODO() to get back on track

[ ] test writing multiple snapshots in one file where the newlines are changing

@jknack something to keep in mind for Kotlin multiline string literals:

https://www.baeldung.com/kotlin/string-templates#2-using-string-interpolation-with-literals

Complete! Huzzah!


Upgrade React to 0.22

In this PR I've upgraded react to the latest stable 0.22. I've also re-added the start task since react will prompt to execute npm run start in case it's not running so I think we shouldn't change it. The old start task is now called watch.

Looks good!


How to use with props?

If you wanted to include styles passed through props, what would be the best way to do it?
useSheet() is called while props are still undefined, so even passing through a method doesn't work without getting super hacky.

I think I'm going to try to create my own higher order component that handles getting props and attaching them with JSS.

Please do! Also a PR would be nice. ;-)

I'd like to expose both the mixin and the HOC.

I'm on it!

If you are not passing it too often, you can create an empty style like usually and then add rules to this style by using addRules method https://github.com/jsstyles/jss/blob/master/lib/StyleSheet.js#L160

But its better you explain your use case, the "why" behind what you are doing instead of what you trying to achieve .... because maybe you don't need it at all.

But its better you explain your use case, the "why" behind what you are doing instead of what you trying to achieve .... because maybe you don't need it at all.

Agreed. Still we need HOC instead of mixin now that 0.13 is out.

I have a component, and I want to be able to pass it css properties, like color: #123456 and have them overwrite the components base style. I'm trying to do this because the css properties are variables, and so making various classes isn't an option.

why don't you use reacts inline styles for those overrides?

I'm using pseudo elements: &:hover, &:focus, &::-webkit-scrollbar. I know I can do hover, and focus with onMouseEnter, and onFocus, but I hate making states for them when they can be done so easily in CSS. And they don't solve everything.

What's the status on the HOC?  I'd like to use react-jss as a decorator, though my approach when converting mixins to decorators involves monkey-patching the component instead of wrapping it.  I am curious as to how one might turn this into a HOC.
Also lol... @gaearon you are everywhere man.  Today I've been sorting through all the different CSS-in-JS approaches I have bookmarked and concluded jss is the best one to go with.  So I check out the JSS directory and lo and behold, there's @gaearon in the upper right corner haha.  And @kof awesome work with JSS btw!  It's definitely the most logical, sensible and reusable approach.

I'm not working on it, but I'm happy to review and merge a PR making this a HOC.

That probably isn't exactly what you're looking for since it uses monkey-patching but it should allow people to use it as an ES7 decorator.  Check the updates to the README.

@dubert also what I often use in your use case: I pass a className from parent component to the child. Child adds this class to the className it already has. Passed className is also jss generated class name.

The HOC is available now. Thanks to @timbur, @kof and everyone involved!
@dubert Do you still want prop-dependant sheets? Can you tell us more about your use case?

It's been a while, but I have the same question. I want to change text color depending on color prop. Can I do it with JSS or should I pass it in styles?
// @flow

import React from 'react';
import {Typography, withStyles, withTheme} from "material-ui";
import {deepPurple} from 'material-ui/colors'

type TextLogoProps = {
    classes: any,
    theme: any,
    intl: any,

    text?: string,
    color?: string
}

const TextLogo = (props: TextLogoProps) => {
    const {classes, theme, text, color} = props;
    const {messages} = props.intl;
    return (
        <Typography type='title' component='h1' className={classes.main}>
            {text}
        </Typography>
    );
};

export default injectIntl(withTheme()(withStyles((theme) => {
    return {
        main: {
            padding: theme.spacing.unit,
            marginBottom: theme.spacing.unit * 3,
            color: deepPurple[700]
        }
        // something like
        main : (color) => ({
            padding: theme.spacing.unit,
            marginBottom: theme.spacing.unit * 3,
            color: color
        })
    }
})(TextLogo)))

@MmtBkn hi Muhammet, have you tried dynamic props of jss?
// button/index.js
import injectSheet from 'react-jss'
import styles from './styles'
import Button from './button'

export default injectSheet(styles)(Button)

// button/styles.js
export default {
  button: {
    backgroundColor: props => props.bg
  },
}

// button/button.js
import React, { PropTypes } from 'react';

const Button = ({ classes, children }) => (
  <button className={classes.button}>
    { children}
  </button>
);

export default Button;

@dubert can you post a snippet about how you are applying &::-webkit-scrollbar?
Because I don't see it applied in my css:
tbody: ({ rects }) => ({
    '& ::-webkit-scrollbar': {
        width: 0, // remove scrollbar space
        background: 'transparent  !important', // make scrollbar invisible
    },
}),


[WebSite]Information correction after graduation

Since DolphinScheduler has graduated, the warehouse address and other incubation-related information on the official website need to be corrected. Anyone interested in this can choose to complete it.
webiste git address:https://github.com/apache/dolphinscheduler-website

[ ] https://dolphinscheduler.apache.org/zh-cn/community/team.html

[ ] https://dolphinscheduler.apache.org/en-us/community/team.html
The mentors was moved to the PMC list, and PPMC was changed to PMC

[ ] https://dolphinscheduler.apache.org/
The bottom disclaimer needs to be deleted

[ ] https://dolphinscheduler.apache.org/en-us/community/release.html

[ ] https://dolphinscheduler.apache.org/en-us/community/release.html
The related svn address and git address need to be modified

I am glad to try it :)

I am glad to try it :)

Looking for world you submit PR

I am glad to try it :)

I have assigned to you, thx

Hi, I have the following points of doubt when making changes:

Is this page a file in md format or index.html?
I found that some places in the file use Github while others use github, should it be unified?
In the release page, should I remove all information about the mentors and incubators?

Close this issue since website information correction has finished


Process: security reporting

It is almost impossible for me to say how dismayed I am with the response from informal systems on the recently reported P2P storms issue.
I only wanted to get it fixed.
I have experienced retaliation from informal systems, from the CEO down.
I am not the only one who's experienced this, it's unfortunately easy to find people making reports being totally dismissed and their efforts abused.
@thanethomson has made the bold claim that my factual statements somehow constitute harassment.
I think that environments that are fact averse are incredibly bad.
Thane, can you please lmk what i have done that constitutes harassment?
Spending two and a half months of my life on this? Reproducing it?  Trying to stop ICFormal from publishing it without a patch?
If it's something else, please let me know.  But while you're at it can you please ask @ebuchman to provide proof of the so-called threatening language he claims my report was full of?
Here's how the CEO of informal systems speaks about security researchers (images pending)
Ok so bulleted list:

why did informal and/or amulet publish against my wishes?
why are we just now discussing removing the mempool?  I was demonstrating this problem on testnets for months prior
Why did informal and/or amulet put my name on something I'd not seen?
Why did all informal team members simultaneously leave the p2p storms slack channel where numerous other teams were working to fix the problem?

pad here x.com/123456 co-signing this alarmingly significant hyper-valid issue

@jaekwon you started something that became super shady here chief

Thanks, your feedback is taken into account.
Let's focus on the needs of the CometBFT community pls. We won't engage here since anything we write you will turn it around to serve your narrative and continue the harassment.

anything we write you will turn it around to serve your narrative and continue the harassment.

@adizere - you really can't play the victim in computer science
this is not closed - mote it be - i pull rank on you in a significant way my g

Hi, okay well see here's the thing I did exactly what Thane asked, and you have shut the conversation down again, as you have been doing the entire time when I've been trying to report this issue that can halt any production cosmos chain.
This is not harassment, this is a very legitimate investigation into why it is the informal systems team wishes to ignore this.
So what I'm going to do, which is probably going to come as no surprise to you, is I'm going to publicize this conversation because that's all I can do because when I tried to report the thing to you in private your whole team ghosted at the orders of ICF and amulet, remember?
Is not harassment. There are billions of dollars of value on chains in cosmos. The security matters. Good day sir.


⚠ Bofrost.at has degraded performance

In 603b76f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1021 ms

Resolved: Bofrost.at performance has improved in bbd5418.


cscope: fix default_keymaps not silent

Use ":" to enter command mode, not silent by default.
In addition to this, using <CMD>...<CR> has many advantages:
https://neovim.io/doc/user/map.html#<Cmd>

Cool! Thanks for the fix.


Always try to install because fact: vmwaretools_version => not installed

I'm running Ubuntu 10.04 and install 9.0.10-1481436. All ends well but try to install in every puppet run.
Some info:
facter -p vmwaretools_version
not installed
file /usr/bin/vmware-toolbox-cmd
/usr/bin/vmware-toolbox-cmd: ERROR: cannot open `/usr/bin/vmware-toolbox-cmd' (No such file or directory)
initctl list | grep vmware
vmware-tools start/running
lsmod | grep vm
vmhgfs                 52548  0
vmxnet                 15823  0
vmmemctl                6444  0
vmci                   73796  2 vmhgfs,vsock
vmw_pvscsi             13195  0
vmxnet3                27174  0

Can you post the output of which vmware-toolbox-cmd?

no output, and: find / -name vmware-toolbox-cmd neither

Thanks, can you post the full Puppet output with --debug?

https://gist.github.com/5f279f789297617c720b.git

Seems GitHub 404s with that link, can you check?

ok i've fixed the link. [delete this message]

I can't see anything majorly wrong in the output, can you try installing the tools manually, as I don't have a 10.04 system to hand?
Incidentally, 10.04 is officially unsupported from April 30th this year - see this link

Ok, I've installed manually with default values and same problem happens. Then I launched intercative mode and installer notifies me that open-vm-tools are installed. So checking the vmware-install.pl script I've noticed that check the following packages: "open-vm-dkms", "open-vm-source", "open-vm-toolbox", "open-vm-tools",  "open-vm-tools-dbg". And, of course, "open-vm-source" was yet installed. I purged it and now all the binaries are there and module works ok.


Bump ujson to newest

This should fix 'Parse Validation' and also improve Roundtrip a bit.

Thanks


[FEATURE]: Add support for identity columns in postgres.

Describe what you want
Context
The postgres wiki does not recommend the use of the serial types for auto-incremented columns.
In short, serial types have issues with table inheritance and may cause unpredictable errors after a value was inserted the column (this stackoverflow answer demonstrates it well) and they have issues when table inheritance is involved.
I've tried to use a custom type to try to introduce. With the following code.
import * as d from "drizzle-orm/pg-core";

export const identity = d.customType<{
  data: number;
  notNull: true;
  default: true;
}>({
  dataType() {
    return "integer generated by default as identity";
  },
});

Creating a table column with this type, however currently creates invalid SQL, because it tries to quote the type, causing migration to fail.
Request
Similarly to .primaryKey(), .notNull() and .unique() I would like to see .identity() in column builder functions, which would Do The Right Thing™ to make a column auto-incremented and will add GENERATED BY DEFAULT AS IDENTITY after the column type in the migration file.

Closing in favor of #295

Seems like you forgot to actually close it


14370 q a component

Description
Relates to #14370. (or closes?)
CHANGES:
QA component
QA Query
QA mock data
QA tests/types
Testing done
Local, will verify in tugboat
Screenshots

QA steps
Verify QA component renders in storybook
- [ ] Automated tests have passed
- [ ] Tugboat environment was generated without errors

Is this PR blocked by another PR?

Add the DO NOT MERGE label
Add links to additional PRs here:

as an initial stub i have some nits around naming and template location.
just verifying that it's supposed to render as plain wysiwygs, instead of in an accordion

Given that we're using the  Component, this could render anything.  In the context of this going into q_a section, this QA component would primarily be used for wysiwyg rendering, as if its meant to be an accordion its more likely to use the q_a_collapsible panel template.


First visible (text-)element on page spread

Hi,
how can I get the first visible (text-)element on page spread (reading-area)? Or the spread viewport dimension?
I would like to set the focus on the first element if  page is loaded.
Thanks Lars

https://github.com/readium/readium-shared-js/blob/develop/js/views/reader_view.js#L1610
ReaderView.getFirstVisibleCfi()
(also ReaderView.getLastVisibleCfi())

Then combine with CfiNavigationLogic.getElementByCfi() (search for usages in readium-js-viewer source tree):
https://github.com/readium/readium-shared-js/blob/develop/js/views/cfi_navigation_logic.js#L1139

@JCCR Let us know if there is a better way :)
Thanks!

@larsvoigt were you able to do that ?


Example with multiple fixed record types

You mention attributes in this example but it's not clear how to use it:

// If using attribute mapping, pass an array of record types
// rather than layout instances

Could you clarify specifically using delimited attributes what this might look like?

I'd like to see this as well.

I'll test how this handles having two levels of nesting, but here is how you would instantiate the engine:
VB.NET:
`                Dim mFactory As FixedLengthFileEngineFactory = New FixedLengthFileEngineFactory()
Dim mRecordTypes As List(Of Type) = New List(Of Type) From {
GetType(NACHAFileHeaderRow),
GetType(NACHABatchHeaderRow),
GetType(NACHADetailRow),
GetType(NACHABatchControlRow),
GetType(NACHAFileControlRow)
}
            Dim mNACHAFile = mFactory.GetEngine(mRecordTypes)`

C#:
`    FixedLengthFileEngineFactory mFactory = new FixedLengthFileEngineFactory();
List mRecordTypes = new List()
{
typeof(NACHAFileHeaderRow),
typeof(NACHABatchHeaderRow),
typeof(NACHADetailRow),
typeof(NACHABatchControlRow),
typeof(NACHAFileControlRow)
};
var mNACHAFile = mFactory.GetEngine(mRecordTypes);`

Updated this to also pass in a function for line type logic and was able to get the Engine; however, attempts to Write yielded a "method or operation is not implemented" response. Unfortunately due to time constraints I'm going to switch to using FileHelpers but I wanted to leave this here in case it helps someone else down the road.
``
Dim mFactory As FixedLengthFileEngineFactory = New FixedLengthFileEngineFactory()
Dim mRecordTypes As List(Of Type) = New List(Of Type) From {
GetType(NACHAFileHeaderRow),
GetType(NACHABatchHeaderRow),
GetType(NACHADetailRow),
GetType(NACHABatchControlRow),
GetType(NACHAFileControlRow)
}
                Dim mLineFunc As Func(Of String, Integer, Type) = Function(line, number)
                                                                      If String.IsNullOrEmpty(line) OrElse line.Length < 1 Then Return Nothing

                                                                      Select Case line(0)
                                                                          Case "1"
                                                                              Return GetType(NACHAFileHeaderRow)
                                                                          Case "5"
                                                                              Return GetType(NACHABatchHeaderRow)
                                                                          Case "6"
                                                                              Return GetType(NACHADetailRow)
                                                                          Case "8"
                                                                              Return GetType(NACHABatchControlRow)
                                                                          Case "9"
                                                                              Return GetType(NACHAFileControlRow)
                                                                          Case Else
                                                                              Exit Select
                                                                      End Select

                                                                      Return Nothing
                                                                  End Function

                Dim mNACHAFile = mFactory.GetEngine(mRecordTypes, mLineFunc)

``
mNACHAFile.Write(Of NACHAFileHeaderRow)(mMemoryStream, mFileHeaderRows)


Doesn't work in Metric

Describe the bug
When change ECOWITT2MQTT_INPUT_UNIT_SYSTEM variable to metric no data coming through
To Reproduce
Change to Metric
Diagnostics
2 Runs with verbose logging, Metric and Imperial
Additional context
Last run in metric
ecowitt2mqtt-3.csv
un in metric
Last run in imperial
ecowitt2mqtt-4.csv

You appear to be using an old version. Please upgrade to 2022.07.7.

Yes, running 2022.07.7 container on Sinology(DSM7.1) docker.
The combination of INPUT:imperial and OUTPUT:Metric fixed the issue.
Sorry, I missed it in documentation


Clarify that ME (and presumably RS) bridges can accept a tag as the item.name value in various methods

Describe
Documentation should indicate two things:

The item parameter in functions is used to construct a filter. This is implied but it would be better if made explicitly clear.
You can filter based on tag by specifying the name as #thetag as in the following example: meBridge.exportItemToPeripheral({name="#forge:ores"}, peripheralName)

Steps to reproduce
NA
Direct URL
https://docs.intelligence-modding.de/peripherals/me_bridge/#getitem
Screenshots or Videos
No response

I agree with you there, but I would add a reference to the filters guide  with a small explanation

I think you got your link wrong :)

Related issue: I had no idea there was a Filters guide!

Woops, fixed

Related issue: I had no idea there was a Filters guide!

Yeah, I need to clarify that better in the docs


How to replace logo on navTitle Text.

I'll see to implement this feature soon.

One question tho, if navTitle is set as HTML element (image), what should be used as a back label on the next level when levelTitleAsBack is set to true?

One question tho, if navTitle is set as HTML element (image), what should be used as a back label on the next level when levelTitleAsBack is set to true?

I consider that the logo should only be shown in the main view, in the sub-sequences it should show the name of the parent, as it does currently.

The name of the parent is the navTitle for the first level.

well you can put navTitle like html or string  and the rest works like currently

I can make the back button have "Back" text if navTitle is html object.

In other way, you know i updated the library to 6 and i had to do a rollback because all my custom css was destroyed :/

Please open a ticket for that so I can explain the css changes I made in the version 6.

Added this feature in the latest version.


New Feature: onOneServer

Description
An option to indicate that the task should run on only one server, similar to laravel's onOneServer like described in https://laravel.com/docs/9.x/scheduling#running-tasks-on-one-server
It is not possible to achieve the same results with preventOverlapping because the current implementation of preventOverlapping allows passing only locks implementing BlockingStoreInterface. It leads task execution once per server, but not in the same time.

Hello, blocking store is not required, it was fixed in docs and code do not acquire blocking locks. preventOverlapping  should deliver same functionality as onOneServer.
Did you test preventOverlapping with remote store like PDO?

Unfortunately I didn't mention it, I refer to 3.4 but in 3.5 it is still the same
The check for BlockingStoreInterface is still there, if I understand it correctly.
https://github.com/crunzphp/crunz/blob/9148a14e164226aa164f585b7bca648bf3bae20f/src/Event.php#L721-L726
And yes, I tried it with PDO Store

The check for BlockingStoreInterface is still there, if I understand it correctly.

Yes, but StoreInterface is also accepted. Symfony changed Lock component in 5.4.

And yes, I tried it with PDO Store

Does it work?

No, at least in v3.4 (PHP 7.4) there is no 'Symfony\Component\Lock\StoreInterface available.
That leads for example to Exception
In Event.php line 729:

  Instance of 'Symfony\Component\Lock\BlockingStoreInterface' or 'Symfony\Component\Lock\StoreInterface' is expected, 'Symfony\Component\Lock\Store\DoctrineDbalStore' provided

Which Symfony Lock version?

Which Symfony Lock version?

symfony/lock                          v5.4.10

OK, looks like bug in Crunz, will be fixed soon.

@gennadiylitvinyuk please try https://github.com/crunzphp/crunz/pull/44

@gennadiylitvinyuk please try #44

Yes, it works this way


Intermediate Modding: Custom Configs & Config Syncing

Added a new section for Intermediate modding. (It's not as difficult as networking)
Added Custom Configs Documentation
Added Custom Configs Syncing Documentation

Thanks to @Owen3H on the discord for writing most of the base of these docs that were then split and adapted for the wiki.
Please tell me if anything is non functional and I'll update my pr.

I'm not sure how I feel about having a normal, intermediate, and advanced section
I think just the normal and advanced section would be fine. Maybe it needs a rename to "specific modding topics" or something.
I'm also working on a PR to add a "Modding API" page, I will likely do a full review/check of this afterwards since it might change how advanced modding is structured

see #54


Allow scroll wheel to be totally disabled

Sometimes it might be useful for the scroll to be totally disabled and the wheel events to be handled by the parent. This is not the current case. Here are some quick cases where the table scroll wheel should be handled by the parent:

Activating the table scroll only on certain events (like on click)
Enabling table scroll only on specific layouts (fullscreen)
Don't let the parent wheel be stopped when the mouse goes over the table (this is currently possible with 'hidden', but only on the first pass)

This is just a quick hack, im sure that a much more elegant solution is possible that can achieve this.

+1 I'd also like this feature.
Use case: I have a button in each row that opens a dropdown menu of options you can take on that record. When you open the option menu, I want to disable scrolling in the table.
This kind of interaction can sometimes be seen on mobile. When you open a dropdown menu, you're expected to do one of the available actions, or it'll close when you press outside.
Also, it's difficult to track the button's "position" in the virtual list and keep the menu positioned correctly over it, so I'd prefer to avoid that.

I think these use cases could be solved by setting overflowX and overflowY to "hidden" and setting scrollTop and scrollLeft to the current scroll position. You can keep track of the correct scroll position with an onScrollEnd listener.
Would that work, or am I missing something?

@sidnair  unfortunatelly it won't be solved because when overflowY is "hidden" the scroll event is still handled by the table (even though it does nothing) and not passed to the window. This is particularly annoying when the table is located bellow the fold: the user is scrolling down the page and as soon as the mouse touches the head of the table the document scrolling stops and the event is handled by the table. Leaving only a few pixels of the table header visible above the fold (because the page scroll was stopped).

Are you setting overflowX to "hidden" as well? I think the case you described works for me when I set both overflowX and overflowY.

:+1: to this change - being able to conditionally have the scrolling bubble to the page and not effect the table is very useful for large tables which required a significant proportion of the page.
My use case is pretty much as @HugoDaniel describes; I have a page with text at the top and a table at the bottom. The table is off screen, but when scrolling the page, as soon as the mouse is over the table the scroll event is consumed by the table. At this point, the table is usually only half in view.
The work around I used was to cover the table with a transparent div, so the scroll events are on that div and don't get swallowed by the table. Once the table is scrolled into view the covering div is removed.
However, this prevents interacting with the table (eg. clicking) until the covering div is removed.

Thanks for your pull request. I apologize for leaving this project in limbo and not addressing your concerns. I have archived this project after doing a final release to make it compatible with React v16.


Fixed file.createDir using error instead of SF.throw

:+1:

On a slightly unrelated note, all the other file functions use error instead of SF.throw.
So not sure if this should be fixed with this commit or not, but I mean the title of the commit is to do with changing from error to SF.throw so why not do it for all the functions? And also some of the messages aren't very helpful such as "doesn't exist" which I think should be changed aswell.
Just remember to change the commit title if this is going to be changed.

Yeah, we should probably change them all at once.
Consistency is more important than the correctness of individual functions. (In this case, anyway)

Adjusted title and commits accordingly.

You missed two more errors on lines 28 and 76. But they aren't very descriptive so maybe change them to "File doesn't exist"

Fixed

You missed the levels for the new SF.throws

For real this time.


⚠ Bofrost.ch has degraded performance

In 5202df5, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 5332 ms

Resolved: Bofrost.ch performance has improved in d9c4469 after 22 minutes.


Electromagnetic interference (EMI) from cables to servo

i suspect it's the longer cables. can we can new cables made in China or etc. EMI would mess with the policy input


Requested for updated/current. Pyleecan Advanced - Part 1: Optimization

Dear All,
Please share the updated/current "Pyleecan Advanced - Part 1: Optimization".  The earlier version of the notebook is attached for your reference.
I was not able to find the updated document...
Pyleecan_Advanced_1_Optimization_undertest.zip

Hello,
Thank you for your interest in pyleecan.
In your other issues (#678 for instance), it seems that you are currently using pyleecan 1.4.2 although the latest release is 1.5.0. Which version of Python are you using ? As explained on the home page "Pyleecan is not yet compatible with Python 3.11 due to PySide2. We plan to update pyleecan to 3.11 when we will have the time to do so." (it seems to create an issue in Pypi that doesn't install the latest version sometimes).
The latest version of the tutorials are available on pyleecan website here: https://pyleecan.org/tutorials.html => https://pyleecan.org/_static/Release/1_5_0/Tutorials.zip. Normally all the tutorials were updated for the release 1.5.0.
Best regards,
Pierre Bonneel

Well, I have the latest version of Pyleecan but in your updated tutorial we are not able to find options to vary slot dimensions, rotor magnet dimensions, angle, and air gap to run the optimization. Hence we wanted to know if you have the updated book with the options we were interested in.


[Question] Show date and time pickers at the same time?

Hi there!
I'm really enjoying this plugin. Thank you for all the work! I have 4 inputs that ask the user to enter the starting day, ending day, starting time, and ending time.
Is it possible to show the time and date picker at the same time?

@Legym It all comes down to whether the native platforms provide that functionality. Taking a quick glance at what Windows provides - https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/date-and-time - it's not currently possible, I don't know about the other platforms.  Android seems to have that separated, as well.
You can try suggesting a feature extension to the native platforms, and if there are enough people reporting a similar need, it might get implemented.
You can create an issue for the WinUI here: https://github.com/microsoft/microsoft-ui-xaml/issues

Thanks for your response @rectified95! Just wanted to make sure I didn't miss anything.


[Retention policy] Duration format is not consistent

In [21]: d.get_list_retention_policies()
Out[21]:
[{u'default': True,
  u'duration': u'0s',
  u'name': u'autogen',
  u'replicaN': 1,
  u'shardGroupDuration': u'168h0m0s'},]

In [22]: d.alter_retention_policy(name="autogen", duration="180d")

In [23]: d.get_list_retention_policies()
Out[23]:
[{u'default': True,
  u'duration': u'4320h0m0s',
  u'name': u'autogen',
  u'replicaN': 1,
  u'shardGroupDuration': u'168h0m0s'}]

I would expect duration to be in the same format than the one I provided.

This is actually native behavior to InfluxDB itself. The alter_retention_policy command is passed through to the CLI where all time ranges are converted to XhYmZs.
[me@localhost]:~$ influx
Connected to http://localhost:8086 version 1.2.4
InfluxDB shell version: 1.2.4
> use sebtest
Using database sebtest
> show retention policies
name    duration shardGroupDuration replicaN default
----    -------- ------------------ -------- -------
autogen 0s       168h0m0s           1        true

> alter retention policy autogen on sebtest duration 30d shard duration 1d replication 1 default
> show retention policies
name    duration shardGroupDuration replicaN default
----    -------- ------------------ -------- -------
autogen 720h0m0s 24h0m0s            1        true

If this is really troublesome I would suggest we bring this up in the InfluxDB community + file a PR with InfluxDB GH repo.

@CyrilPeponnet any more issues here?


Get mode genesis.allocs validation working

~Current blocker is that way back when, we required full hardhat deployment artifacts (not just contract addresses) to run genesis creation. Remains to be seen if we can reliably hack those together to run the script.~
These changes are enough to get mode validating (locally, at least).

Hitting this issue I think https://github.com/nvm-sh/nvm/issues/1985


Update kafkaVersion to <IP_ADDRESS>

Hi team,
First thanks for all the good work you do in spring-integration-kafka project and in spring-integration at all.
I've faced this issue (https://issues.apache.org/jira/browse/KAFKA-2308) and I would kindly ask you to update the kafkaVersion from '<IP_ADDRESS>' to '<IP_ADDRESS>'. It is not casing issues if I explicitly define the kafka dependency to <IP_ADDRESS>, which I do, so it is more like nice to have.
Thanks again

Done.
The upgrade will be available since the next 1.2.2 release. Probably the next week.
Thank you for the feedback!


⚠ Bofrost.be has degraded performance

In 767428c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1364 ms

Resolved: Bofrost.be performance has improved in 0c8db69 after 2 hours, 40 minutes.


[verilator] Reset behavior different between verilator and DV

Hey all,
I'm working on a chip level reset manager in #1752 and noticed the reset behavior in verilator is different from DV, and this causes verilator to fail everything with the new reset change.
My specific failure revolves around the default privilege level.
Specifically, before the change, it looks like below.

You can see that the privilege doesn't actually reset until a clock pulse shows up.  But this works out okay because this is still way before anything runs.
In my modified version, the input rst_ni is stretched and synchronized to the destination clock, and we end up with something that looks like below (the stretching is basically some reset filtering done while assuming the input is coming from an analog comparator).

The clock does not resume until after the reset because it is dependent on a core_busy signal that resets to 0.  So the clock gate does not release until after reset releases and the busy has a chance to change to 1, allowing clocks to flow through.  However now priv_lvl_q is completely wrong, and stays "unprivileged" until much later in the simulation when there is a transaction made to the csr block.  This causes a privilege error and every single verilator C tests fails.
What do we think is the right fix here..? I can probably make core_busy_q reset to '1', but I don't think that's the intent of all this. My understanding of how verilator works is that it is mostly synchronous, so does this mean without a clock edge, even the reset signal has no impact?
Sorry I don't really know who the best person to ask, so for now I'm blasting this out while I experiment with other things.

ah... maybe i just need to pulse the reset twice... it looks like this was the original way. I'll give that a try.

Okay, extending the reset delay seems to have done the trick...this is still a weird fix though...with reset high from time 0...it technically means nothing inside rstmgr was reset...it just so happens that a default value of 0 (i guess this is the unknown value) works out?
I'll leave it be for now and close this issue.  If anyone has a better suggestion on how this should be fixed, do let me know.

Okay, extending the reset delay seems to have done the trick...this is still a weird fix though...with reset high from time 0...it technically means nothing inside rstmgr was reset...it just so happens that a default value of 0 (i guess this is the unknown value) works out?
I'll leave it be for now and close this issue. If anyone has a better suggestion on how this should be fixed, do let me know.

I have a weird memory of some class of event-driven simulator bugs at time-zero, where signals going X->0 had a different behavior than X->1.  It might have been that one of those cause an event to propagate and the other didn't?  Not sure that you are seeing exactly this and the memory is really foggy for me, but maybe it's something like this?  What you described definitely feels like a simulator/tool issue to me.

Ibex requires a negative edge on rst_ni is required to actually reset priv_lvl_q to M-mode.
I suspect that with the new reset manager, Ibex never gets this negative edge in Verilator because Verilator does not know X. In this case it is mapped to 0 (but I have also seen non-zero values occuring in registers when writing X).
The reason it worked before but not any more is probably because of the synchronizer flops in the new reset manager: These are reset to 0 and it will take at least 2 cycles until the 1 that is fed in occurs at the output. But according to your waves, by that time, the reset becomes active. This means the synchronizer flop never outputs a 1 and thus no negative edge is seen on the reset.
Extending the reset delay is the correct workaround here. We could also extend the default reset delay in our Verilator framework to be greater than the number of synchronizer flops. But since the framework lives in the Ibex repo and is vendored into OpenTitan, extending the reset delay in just in OpenTitan seems more suitable.

@vogelpi thanks for the explanation, but i think what you're saying, are also some of my concerns.
If we require a negedge to reset, it means until that negedge shows up, we are effectively in 'x', which just falls to however verilator interprets it, (apparently 0) is that right?
So my worry is that I happened to have logic that relied on the reset value being non-zero to release a reset, wouldn't this get forever stuck? (let's say a reset count value of 5 that needed to be compared).  My point is that if I understood this correctly, this seems very fragile.  I know there may not be a better way, but I was more or less just thinking out loud.

If we require a negedge to reset, it means until that negedge shows up, we are effectively in 'x', which just falls to however verilator interprets it, (apparently 0) is that right?

Yes, I think so.

So my worry is that I happened to have logic that relied on the reset value being non-zero to release a reset, wouldn't this get forever stuck? (let's say a reset count value of 5 that needed to be compared). My point is that if I understood this correctly, this seems very fragile. I know there may not be a better way, but I was more or less just thinking out loud.

I am not sure I get your point. The problem is not about the release of the reset, but about the assertion of the reset (this gives the required negedge). In the new rstmgr design, there reset forwarded to the core is synchronized to the clock using two flops.
At simulation start in Verilator, we get (this is my assumption, I can't verify it):
Cycle 0: Main simulation reset is not active. Thus the synchonizer flops are actually 2'bXX. Verilator maps these to 0. While other simulators keep it as X.
Cycle 1: Main simulation reset is not active. The synchronizer flop is 2'b1X (you feed in a 1'b1). In Verilator it is 2'b10.
Cycle 2: Main simulation reset becomes active. The synchronizer flop is 2'b00 in any simulator.
This means for simulators supporting X, we get a negedge from X to 0 in Cycle 2 whereas for Verilator the reset just remains 0 (no negedge).
To be on the safe side, we should make sure that before the reset is propagated, it is at least high for one clock cycle (to get the negedge). This can be done 1) by extending the reset delay (maybe in all simulators, to also catch different behavior/interpretation of X -> 0), or  2) by changing the logic.
For 2), I don't know if there is a good solution to it and if this matters in practice/outside of simulation.
I am reopening the issue to allow others to chime in.

thanks for the discussion! i'll close this one for now.


Forget a Translation

Dear @dimsav ,
first of all, I would like to thank you for your awesome package. I really, really appreciate your work!
I have a feature request for your package:
Is it possible to "forget" (i.e., delete / remove) a translation?
Consider the following example:
I have an API endpoint to store FAQ entries. The post body of this request must hold all translations. Of course, I would like to create an API endpoint to update one given FAQ entry. My initial idea was to submit the entire FAQ again - with the translations needed.
If I first create an FAQ entry with the languages en and de. Then I'm going to update the entry and submit en and fr - I would like to get the de translation to be removed from the database.
How can I manage this?
Would it be a good idea to add a forgetTranslation() method to the trait?
Cheers

Hey @johannesschobel
what arguments is forgetTranslation() supposed to accept?

The language to forget.. in the example above
forgetTranslation('de');
Am 01.08.2016 5:23 nachm. schrieb "Dimitris Savvopoulos" <
<EMAIL_ADDRESS>
Hey @johannesschobel https://github.com/johannesschobel
what arguments is forgetTranslation() supposed to accept?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dimsav/laravel-translatable/issues/253#issuecomment-236613203,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI_pNjyvTj79eq4f24oU6pdh76_TKQ0Vks5qbg9TgaJpZM4JZrk3
.

Maybe we could have one forgetTranslations() method to forget all translations of this model.
And one forgetTranslation(string locale) to forget one specific translation.
What do you think - or how would you handle this problem mentioned above?

Have googled the issue? Seems like an eloquent question rather than specific to this package. Also check this.

Hey @dimsav ,
yeah, I thought as well, that this might be an issue related to eloquent and not related to your plugin. However, I do think, that it would be a valuable contribution to forget translations (or one translation specifically).
Currently, it is not possible to delete translations - I need to overwrite them. In the worst case scenario, I need to overwrite them with "" (empty string). By doing so, however, I would loose the auto-fallback-feature (as there is a translation available!).
Would you accept a pull request for this issue? Unfortunately, I am quite busy at the moment..
Cheers and greetings from Germany

well i guess i can close this issue - it has been merged ;)


ActiveJob performed matchers

have_been_performed is like have_been_enqueued, but for performed
jobs
have_performed_job is like have_enqueued_job, but for performed
jobs

It's somewhat unusual to use perform_enqueued_jobs, but it seems nice if
rspec-rails supports it!
Original work by @isaacseymour in #1785
Closes #1785

Haven't realized push to pr branch worked.


Ansible support code for Ubuntu operating system

Ansible support code for Ubuntu operating system
Code refactor to support multiple operating system:
    - RHEL 7
    - RHEL 8
    - Ubuntu 16
    - Ubuntu 18
    - Sles 12 ( some issue with GUI , will check-in through separate PR)
    - Sles 15 ( some issue with GUI )
    - CENTOS

This code will also work with mixed operating system.
We have done UT on both RHEL and Ubuntu . Subham also did UT using repo method and its working as expected.
Author: Rajan Mishra<EMAIL_ADDRESS>

Just a general comment here.  I don't think I would block this, but would strongly suggest that we split out the logic for multi OS support into multiple files.   Some advantages that I think ...   would allow multiple people to work concurrenntly on various OS support without as much conflicts...   This is also similar to creating functions instead of having if/else/if/else...   I think it would help simplify the block logic. .  Just IMHO.
FYI, we can set facts based on the os family and could also run the same exact plays, for example:
- set_fact:
     packages:
        - my
        - redhat
        - package
  when: ansible_os_family == "RedHat"

- set_fact:
     packages:
        - my
        - ubuntu
        - package
  when: ansible_os_family == "Debian"

And could use the {{ packages }} variable the same way for certain tasks, the task doesn't need to know...

@whowutwut I have Incorporated your review comments with latest commit . thanks

Its huge changes but we make it  more modular code and i did lots of unit testing on sets of operating system , so it will not have regression issue.

Now doing final UT on mixed operating system, it was not in this plan but i am thinking , it should work,
Node name        Node role  Node os         GPFS type
-----------------------------------------------------
scale-51                    RHEL77                       server
scale-52                    RHEL81                       server
scale-53                    UBUNTU18.04.3         server
scale-54                    UBUNTU18.04.3          server

As we are working with different PR and its outdated .  so i am closing this PR.


When using make: flag provided but not defined

Gitea version (or commit ref): git (master)
Git version: 2.11.0
Operating system: Arch Linux x64
Database (use [x]):

[ ] PostgreSQL
[X] MySQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[X] Not relevant

Log gist:

Description
Building gitea (master branch) on ArchLinux with makepkg fails:
GOPATH="/path/to/src" make DESTDIR="/path/to/pkg" generate build
..
code.gitea.io/gitea/cmd
code.gitea.io/gitea
# code.gitea.io/gitea
flag provided but not defined: -Wl,-O1,--sort-common,--as-needed,-z,relro
usage: link [options] main.o

Build becomes successful when unsetting LDFLAGS:
GOPATH="/path/to/src" LDFLAGS="" make DESTDIR="path/to/pkg" generate build
Seems flags should be unset/ignored or parsed differently (*sorry, not a Go-developer).

Also using TAGS="bindata" results in build errors:
# code.gitea.io/gitea/modules/templates
modules/templates/static.go:35: undefined: Asset
modules/templates/static.go:36: undefined: AssetDir
modules/templates/static.go:37: undefined: AssetInfo
modules/templates/static.go:38: undefined: AssetNames
modules/templates/static.go:51: undefined: AssetNames
modules/templates/static.go:60: undefined: Asset

Link to full log.
Thanks. :)
Link: https://aur.archlinux.org/packages/gitea-git/

bindata has a separate dependency which should be pulled in by running make generate 😕
As for LDFLAGS, could you try removing the flags one-by-one (from /etc/makepkg.conf) and see which one makes it fail?

Seems like hugo overrides any LDFLAGS that the system sets... I wonder if that is considered "nice" by any packaging standard...
ref: https://github.com/spf13/hugo/blob/master/Makefile#L9

Looks like we should also do that.

@tboerger can you make a PR for that?

Tried with the latest git commit, but unfortunately the issue still remains:
# code.gitea.io/gitea
flag provided but not defined: -Wl,-O1,--sort-common,--as-needed,-z,relro
usage: link [options] main.o
  -B note
    	add an ELF NT_GNU_BUILD_ID note when using ELF
  -C	check Go calls to C code
  -D address
    	set data segment address (default -1)
  -E entry
    	set entry symbol name
  -H type
    	set header type
  -I linker
    	use linker as ELF dynamic linker
  -L directory
    	add specified directory to library path
  -R quantum
    	set address rounding quantum (default -1)
  -T address
    	set text segment address (default -1)
  -V	print version and exit
  -X definition
    	add string value definition of the form importpath.name=value
  -a	disassemble output
  -buildid id
    	record id as Go toolchain build id
  -buildmode mode
    	set build mode
  -c	dump call graph
  -cpuprofile file
    	write cpu profile to file
  -d	disable dynamic executable
  -dumpdep
    	dump symbol dependency graph
  -extar string
    	archive program for buildmode=c-archive
  -extld linker
    	use linker when linking in external mode
  -extldflags flags
    	pass flags to external linker
  -f	ignore version mismatch
  -g	disable go package data checks
  -h	halt on error
  -installsuffix suffix
    	set package directory suffix
  -k symbol
    	set field tracking symbol
  -libgcc string
    	compiler support lib for internal linking; use "none" to disable
  -linkmode mode
    	set link mode (internal, external, auto)
  -linkshared
    	link against installed Go shared libraries
  -memprofile file
    	write memory profile to file
  -memprofilerate rate
    	set runtime.MemProfileRate to rate
  -msan
    	enable MSan interface
  -n	dump symbol table
  -o file
    	write output to file
  -r path
    	set the ELF dynamic linker search path to dir1:dir2:...
  -race
    	enable race detector
  -s	disable symbol table
  -shared
    	generate shared object (implies -linkmode external)
  -tmpdir directory
    	use directory for temporary files
  -u	reject unsafe packages
  -v	print link trace
  -w	disable DWARF generation
make: *** [Makefile:92: gitea] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

If I build with LDFLAGS="" it builds fine.
Thanks.

@francoism90 should be solved via https://github.com/go-gitea/gitea/pull/709


^C kills the shell, not the command

I may wish to cancel a command that's either not responding or which I realize is going to take too long (or for any number of other reasons), such as "ec2 describe-instances" with no filters, or "s3 ls " with a prefix that contains millions of files.  The natural reflex in this situation is to hit ^C, which I was surprised to discover kills the whole shell.  Exiting the shell is what I expect ^D to do (and indeed that works).  I expect the code is simply not catching KeyboardInterrupt and/or setting a handler for SIGINT...

This is fixed in https://github.com/awslabs/aws-shell/pull/50, but hasn't made its way into a published release yet.
We plan on having a release out in the near future.


Prevent logging of sensitive data

[Info] Logging of sensitive data
See /lib/dashboard/beacon/beacon_operation/cubit/beacon_operation_cubit.dart, L:303
Logging secret key may expose it to attackers or malicious applications

Size:S


Add redirect to domain if request is www.

Summary of the changes (Less than 80 chars)

Added new rule to handle redirects.
Added new Extension methods in RewriteOptionsExtensions.cs
Added Unit tests to validate the changes.

Addresses #12978 (in this specific format)

Hi Team,
I found there are few commonalities between Domain redirection vs WWW redirection. Can we stub out common functionalities to base class?
Guide me on this...