Update index.yml

change the content link to be consistent with the page header

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@cnwolisa
Thank you for your submission.
The title is intentionally parallel with other titles in the index list instead of exactly matching the header of the page it links to.

@tiburd not sure I understand why this PR was closed without being merged? The change is to the text from "Upload" to "Uploading" and yes I get the rationale for the titles not matching, the title Upload is quite misleading and was flagged by our customer.
I am open to suggestion on what to rename the header of the page to but the index list title needs to change to remove the ambiguity it communicates.

@cnwolisa
Per Microsoft style, index entries do not have to match the titles of the pages that they link to.

Thanks!


Optional "Disable OCR"-Flag for Crawler

Is there the possibility to tell the crawler not to do OCR?
E.g. if there are many documents where I know it's just machine readable pdfs.

Thanks.

Is there the possibility to tell the crawler not to do OCR?
E.g. if there are many documents where I know it's just machine readable pdfs.

ocrPdfMaxPageCount=0

Nice! Where can this option be configured?

Nice! Where can this option be configured?

environment:
- ocrPdfMaxPageCount=0


Fixate the k8gb version to make the scripts reproducible in the future

We don't plan to break the API anytime soon, but just to be on the safe side. if the tag is not specified, the chart's version is used (we release both at the same time). So effectively it will be the same as :latest because the deploy script updates the helm chart each time.
Signed-off-by: Jirka Kremser<EMAIL_ADDRESS>

Hey @jkremser  -  Thanks for the PR on this, sorry I didnt see it earlier - I just approved and merged the PR.   Thanks again


Unintended behaviour when browsing ncmpcpp media library with mopidy-youtube

Hi,
The media library in ncmpcpp works great with mopidy-spotify, but not so well when also mopidy-youtube is enabled. As an example, when I try to explore the artist Serengeti's album "Be a Man", the mopidy output is the following:
INFO     Searching Spotify for: album:"Be a Man" artist:"Serengeti"
INFO     Searching YouTube for query 'Be a Man'
Obviously, the Spotify search is correct, while the Youtube search yields a bunch of results that are completely irrelevant and that makes it inconvenient to quickly and easily add the album to my current playlist (instead I am forced to mark the Spotify results and avoid the Youtube ones). It seems to me that a better solution would simply be to disable Youtube searching when this particular functionality is used (though I have no idea how easy/hard this would be to do).
I appreciate a lot the possibility to search for Youtube videos in the ncmcpcc search engine, but right now it seems like I have to choose between this or the media library feature. Hopefully it will be possible to have both.

Any news on how to handle this?


Shield kept in inventory with keepInventory true

If you have a pvp world with keepinventory true when the player dies he gets a normal shield beacause of the sword-blocking shield!
-Spigot 1.12
-OCM 1.6.1

Wow, I can't believe this bug has gone unpatched for so long! It's now been fixed. Until this latest version gets released, here's a JAR with the patch:
OldCombatMechanics-keepInventory-patch.zip
(Just unzip this, GitHub doesn't support uploading JAR files directly)

Rayzr is gey


German umlauts cannot be encoded.

Can I suggest you investigate the problem and consider submitting a fix? It's challenging for me to reproduce this kind of problem.

German umlauts are working just fine:

Closing as it seems to be fixed. Please reopen if it occurs again.


Minimum sum partition in C++

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
yes
Description
(Write your answer here.)
This problem is solved using dp.
In this problem we have to find two subsets which will return minimum difference.
Input -
4
1 6 5 11
Output -
1
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)
#5196

pr updated @ankitaggarwal23 pls review

all changes made @ankitaggarwal23 pls review

@ankitaggarwal23 this same codefile already exists in our repository. So, if this pr aims to improve the same file it should edit the same file and not create another file with same file name. I think after merging this PR there seems to be a problem on working with windows systems since their filenames are not case-sensitive


serverURL is actually not required in CLI

small nit for the CLI error

Current coverage is 91.62%

Merging #990 into master will not affect coverage as of be5a6fb

@@            master    #990   diff @@
======================================
  Files           73      73
  Stmts         4432    4432
  Branches       888     888
  Methods          0       0
======================================
  Hit           4061    4061
  Partial         10      10
  Missed         361     361

Review entire Coverage Diff as of be5a6fb

Powered by Codecov. Updated on successful CI builds.

Why don't we require it? If you have any cloud code at all which calls back in to Parse, it's necessary, so it seems like a common snag people will hit.

because it's inferred by the default port (1337) and default mount path (/parse).


[BUG] ES6 default export in 0.25v

import R from 'ramda'
R is not defined. :(

it looks like source/index.js has all of the named exports but not a default export.
import R, {prop} from 'ramda';

prop('name', {name: 'ramda'}); // works
R.prop('name', {name: 'ramda'}); // breaks

Looks like export * from may provide a solution

cc @Andarist @kedashoe
Looks like you were primary on https://github.com/ramda/ramda/pull/2254

Well, I've forgotten a little bit about this effect of the changes, was focused more on providing backward compatibility for commonjs targets.
Nevertheless I believe ramda shouldn't support import R from 'ramda' syntax. It would effectively prevent tree-shaking wins it got with my PR. Excellent explanation why it should not be supported can be read here.
As mentioned - import * as R from 'ramda'; is the way to go. If some prefer the former way of importing the "default" R - this could be easily added in the existing ramda babel plugin.

I personally prefer to use import R from 'ramda' syntax during development to have quickly access to all the ramda functions without import them one by one.

Could you use import * as R from 'ramda'; instead, @cloud-walker?

yeah, import * as R from 'ramda' - u should be able to access all the ramda functions that way - it's basically saying "import everything from the ramda under R namespace".

This command helped me find-and-replace all instances of import R from 'ramda' and make them import * as R from 'ramda' (on my mac)
find . -type f -name '*.js' -exec sed -i '' s/"import R from 'ramda'"/"import * as R from 'ramda'"/ {} +

Yes I can do (if working on existing module):
import * as R from 'ramda'
import {prop, pipe, map, chain} from 'ramda'

Feels weird but it works ❤
So it's an intentional change?

given the comment explaining the benefit of not have a default export of the entire package, I am with @andarist that it is the correct thing to do.

Yes, I think this is just a documentation issue.

the search/replace snippet from @ecwyne didn't work for me, I used:
sed -i -- "s/import R from 'ramda'/import * as R from 'ramda'/g" src/**/*.js

closing, as this is desired behavior.

why is there so much resistance to adding a default export? Ramda will literally be my only import now that requires an asterisk. It also means I need to refactor like 400 files in 20 projects. Seriously this is weak.

That thumbs down isn't going to coerce me into using Sanctuary, @davidchambers .  I think it's a legitimate argument that when a library "minor" "0.___.x" upgrade requires that I touch literally every file in my app it's short-sighted and damaging.

There are technical arguments why this is better. When you also think about it ramda, as utility library, has NO default export, it is merely a namespace for bunch of utility functions.
0.x is treated differently (at least by node's semver ranges) and it doesn't give you guarantees that a minor bump won't have breaking changes.
Also I don't see why you find needed refactor to be problematic - it literally can be done with simplest find & replace.

I don't consider this comment constructive, @SeanCannon:

Seriously this is weak.

You're welcome to make your case for changing something about Ramda. If the project's maintainers aren't persuaded by your argument you're of course welcome to fork the project and make changes as you see fit.

Seems Ramda is taking notes from Auth0 on how to destroy trust in its user base.
The benefits of having R. in front of the functions in my projects are ten fold. Instant context, signature recognition, ownership deferment. No wondering if its an anonymous function declared at the top, no wondering what FP lib its from. The pain comes from having several production deployments that have a pipeline and when you tell me I need to touch literally every file in the front end for a utility library because you guys decided not to include a default export when "shaking the trees" - yea that's weak. There was no reason to do that. The usability, reliability, and trustworthiness arguments will trump your technical argument every time.
We also align our code on colons and from keywords and such so there's no guaranteed whitespace in the import string.
@davidchambers it's constructive in that your decision here is going to cost us a lot of time and money to make sure that everything continues working in all our repos. Or we just lock in at 0.24.x forever and are left with a bad taste and will use another lib moving forward.
Your decision was not in the best interest of apps that have been depend on Ramda to continue working in accordance to the deprecation notices. #weak

The benefits of having R. in front of the functions in my projects are ten fold.

import * as R from 'ramda'; means all Ramda functions are members of R, doesn't it? If not, which module system and accompanying tooling are you using?

It does, and in my opinion, which is founded on having used this syntax for over a year now, import R from 'ramda' should do the exact same thing.
Dude if this is a decision you guys want to move toward, you gotta give us warning. In my opinion, this is an oversight in the ES6 conversion and it's an extremely easy thing to accommodate on your end. The refusal to do it out of whatever principle you're leaning on is just not cool. You can't expect people to make a change to every file in their app on a whim. Even if it's from a script - regression testing, QA, etc.. it's all time and money.. for what? I haven't actually heard any legitimate reason from the Ramda team other than "this is desired behavior". It's not.

I'll take responsibility for using the caret in the semver and trusting the Ramda team wasn't going to do anything drastic without a deprecation notice. I'm upset because you guys broke that trust - it wasn't just a mistake that was quickly corrected or that the team owned up to and is showing some initiative to fix - this is an outright refusal. "Your apps all broke - this is desired behavior". Can you understand my perspective now?

You do realize that you do not have to upgrade your ramda to the newest version if you do not like the changes, right? Open source is done for free by passionate people and most people just benefit from it, your rant is really out of place.
Have you also noticed that this change was done some time ago already and you are literally the only one with such hateful and dissatisfied response?

Also - changing your imports programatically is not that hard, you can do it with a codemod script. If you want you can use a simple babel transform to achieve your goal such as this:
export default function (babel) {
  const { types: t } = babel;

  return {
    visitor: {
      ImportDeclaration(path, state) {

        if (path.get('source.value').node !== 'ramda') {
			return
		}
		if (t.isImportNamespaceSpecifier(path.get('specifiers.0').node)) {
			return
		}

	    path.replaceWith(
          t.importDeclaration(
            [t.importNamespaceSpecifier(t.identifier('R'))],
            t.stringLiteral('ramda')
          )
        );
      }
    }
  };
}

There's no hate - there's extreme disappointment. I loved Ramda and everything it was doing for JS. This decision feels very not open source. It feels very proprietary and top-down "suck it up".
I'm not against the technical decision. I'm against how it was handled. It was just "noticed" and then "closed".

Previous versions of ramda are very much useable, introducing a backward compatibility for this would literally prevent the main benefit of the change - better tree-shakeability for no reason other than longer migrations and you being able to bump your ramda's version, which I don't see why you would have to do - other than "having the newest".
https://docs.npmjs.com/misc/semver#caret-ranges-123-025-004
It described that breaking changes may happen between minor releases for 0.x versions AND that caret actually won't let npm install a higher minor in that case.

Why not make this a 1.0.0 release then? #curious

https://github.com/ramda/ramda/issues/2337#issuecomment-338237030
Note - Im not the core team member

To close - I'm not upset at the decision so much that I'm upset that you guys somehow can't possibly fathom how your decision could negatively affect people who depend on Ramda to work. Ramda is this awesome lib that just "works". My tests just "work". My compositions just "work". All of a sudden, I can't rely on Ramda to just work anymore and it has to go in the bucket of all the other unstable libraries I need to worry about. You thinking that I'm the only one affected by this proves my point. Apologies if my tone upset you.

I haven't said that you are the only one affected - I've stated only the fact that so far only you have raised so harsh statements about this change. I also still strongly believe that updating your deps to the newest version is not obligatory.

for no reason other than longer migrations and you being able to bump your ramda's version

I got sick again and dropped the ball on the 1.0 discussion.  I will be getting back to that next week.
When we hit 1.0, we expect to be following the norms of semver.

I love what you're doing with this library overall, but I agree with the sentiment that major changes like this need to be better communicated to your users.
I'm glad this issue finally showed up in search results; I spent several hours debugging why in the world R suddenly became undefined and was on the verge of completely uninstalling it. I was using v0.25.0 successfully with a default import for several weeks (honestly I still don't know how this worked, but it did) and after installing Ramda on an external dependency, all libs which depended on that external library broke.
Migrating from the standard import R from 'ramda' to the non-standard import * as R from 'ramda' is still not listed on the 0.25.0 upgrade guide; it's buried in the comments.
I sincerely appreciate all your hard work, but I hope you'll consider being more proactive next time -- small oversights like this cause loyal users to lose trust.

Hmm, I don't know if someone added it since you posted, but that's listed as the first change in the upgrade guide.
You're right that we fell down on this one.  I'm working on trying to get 1.0 out the door, and expect that we'll have a better process for this afterward.

Yes, it looks like @kedashoe updated the guide a couple hours ago. Much appreciated :beers:

5 months and a couple hours later....


Update redis Docker tag to v19.3.0

This PR contains the following updates:

Package
Update
Change

redis (source)
minor
19.1.5 -> 19.3.0

:warning: Warning
Some dependencies could not be looked up. Check the warning logs for more information.

Configuration
:date: Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
:warning: Warning: custom changes will be lost.


Exception 'Error' with message 'Class "TFD\Cloudinary\Converter\Log" not found'

Error if passing an unsupported parameter.
Exception 'Error' with message 'Class "TFD\Cloudinary\Converter\Log" not found' in /var/www/com_fabtechexpo_core/2024_11_27_150149/vendor/tfd/statamic-cloudinary/src/Converter/CloudinaryConverter.php:444

Hi @kunzelmanm , can you provide some example code that causes this error? How does your {{ cloudinary }}-tag usage look like?

{{ cloudinary:image any_invalid_param="true" }}
This isn't logging it, it's throwing a 500 error because the Log facade isn't included.

Thanks for your bug report and PR, @kunzelmanm . The v1.4.2 release includes the changes.


Need a better way to get Collider log

We need a way to get Collider logs without ssh-ing into the VM instance.

Correction

Idea: save the log in some cloud storage.

Try using http://supervisord.org.
You can monitor apprtc, collider and turnserver from the web interface and also get logs without ssh

Closing due to age.


Enable DEP(data execution prevention)

do not allow the data on the stack to be executable for security consideration.

The patch have no real effect since there is no functionality in the FW or HW that looks at these property settings. There are however now HW functionality that implements stack execution prevention. It is enabled for all of the FW RAM. And the mechanism can additionally be enabled by a TKey application.


I get nothing as response

Describe the bug
get ge nothing in response, when i var_dump, i have a boolean false
test.php:25:boolean false
To Reproduce
reproduced code
Code snippets
$prompt = "Hello";

$complete = $open_ai->completion([
    'model' => 'davinci',
    'prompt' => $prompt,
    'temperature' => 0.7,
    'max_tokens' => 150,
    'frequency_penalty' => 0,
    'presence_penalty' => 0,
]);

var_dump($complete);

OS
windows
PHP version
8,2
Library version
openai v3.5

please check https://github.com/orhanerday/open-ai/issues/12


Fixed soundness issues and removed nested member access.

Fixes #9
@ralfjung, please review.
This removes the ability to access nested members in favour of soundness.
This won't be merged before 1.37 lands.

@Gilnaa Should a note to the README also be added similar to the note in the implementation?

You are completely right
On Jul 5, 2019, 11:12, at 11:12, Mazdak Farrokhzad<EMAIL_ADDRESS>wrote:

@Gilnaa Should a note to the README also be added similar to the note
in the implementation?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/Gilnaa/memoffset/pull/11#issuecomment-508673014


[narwhal] Executor follow up

Add more metrics to subscriber / notifier
Log attempt on timeout
Change timeout log level to warn
Reduce stagger delay increment to 200ms

Disabling flaky test_quorum_map_and_reduce_timeout in this PR, cc @mystenmark


#347: Add markdownlint-cli2 as Github Action and pre-commit hook

Resolves #347
pre-commit will be properly set up after #350 is merged
@satwikkansal , please analyze the markdownlint-cli2 output and decide, what errors are better to ignore
sample Github action output
Errors frequency for current README.md:

303 MD013 - Line length (expected 80)
254 MD004 - Unordered list style [Expected: dash; Actual: asterisk]
177 MD031 - Fenced code blocks should be surrounded by blank lines
67 MD026 - Trailing punctuation in heading [Punctuation: '!']
62 MD024 - Multiple headings with the same content [Context: "💡 Explanation:"]
39 MD032 - Lists should be surrounded by blank lines
30 MD012 - Multiple consecutive blank lines [Expected: 1; Actual: 2]
23 MD022 - Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below]
22 MD009 - Trailing spaces [Expected: 0 or 2; Actual: 5]
14 MD034 - Bare URL used
9 MD040 - Fenced code blocks should have a language specified
8 MD036 - Emphasis used instead of a heading [Context: "Output"]
7 MD007 - Unordered list indentation [Expected: 2; Actual: 4]
3 MD030 - Spaces after list markers [Expected: 1; Actual: 2]
2 MD001 - Heading levels should only increment by one level at a time [Expected: h2; Actual: h3]
2 MD014 - Dollar signs used before commands without showing output [Context: "$ wtfpython"]
2 MD038 - Spaces inside code span elements [Context: "(a, 9) "]
2 MD029 - Ordered list item prefix [Expected: 1; Actual: 2; Style: 1/1/1]
2 MD049 - Emphasis style [Expected: asterisk; Actual: underscore]
1 MD041 -  First line in a file should be a top-level heading
1 MD051 - Link fragments should be valid [Context: "[More content like this?](#more-content-like-this)"]
1 MD019 - Multiple spaces after hash on atx style heading [Context: "####  💡 Explanation:"]
1 MD027 - Multiple spaces after blockquote symbol [Context: "    >  If sep is not specified..."]

Hi @nifadyev, let's ignore MD026, MD024, MD034, rest of all look reasonable to me, your thoughts?

I agree with you, except MD034 - most URLs should be hidden using []() Markdown format. And MD033 should probably be ignored as well, html is used for image formatting and changing it based on light/dark theme

I agree with you, except MD034 - most URLs should be hidden using  Markdown format.

Yes, but sometimes it's okay to have them displayed in raw format, when I want the site to be attributed transparently, because otherwise we have to un-necesarily explain where the link directs.

And MD033 should probably be ignored as well, html is used for image formatting and changing it based on light/dark theme

There was no mention of MD033 in the report in first comment, but yes, having HTML is okay.

Is line length set to 80 OK to you?

I prefer higher length like 120 or 140.

I'd prefer to format them gradually, making PRs with no more than 500 changed lines. It will ease review and reduce missing errors

I'd say fix everything in 1 go with autofix, and then whatever can't be fixed we can do incremental fixes.

Agreed on ignored rules and how to format files. I will make changes in this PR soon

Hey @satwikkansal , I've used autofix to format README.md. Now there are 268 errors and most of them - line lengths. I guess they should be fixed separately.

@satwikkansal , base branch has been changed to dev

Merged 🚀


Remove next-i18next as a dependency

Blockers
This ticket needs done in coordination with the larger effort to migrate to the Next.js App Router: #66
Details
This is based on a comment from the maintainer of next-i18next:

It just means next-i18next is not necessary anymore:
https://locize.com/blog/next-13-app-dir-i18n/
https://github.com/i18next/next-13-app-dir-i18next-example

My read of this is that next-i18next will only remain relevant for sites using the "pages" router.

This will happen as part of the migration to the App Router, which includes a move to using next-intl instead of i18next


Update how-to-fix-corrupt-database.md (Typo "flexible server"→"Flexib…

…le Server")
https://github.com/MicrosoftDocs/azure-databases-docs/blob/main/articles/mysql/flexible-server/how-to-fix-corrupt-database.md
#PingMSFTDocs

@SudheeshGH - related #10

Thanks, @hyoshioka0128!


gamepad not working for glvis

I see gamepad events in my browser and I see gamepad functions in glvis but glvis is not respecting my gamepad (spacemouse) .  Can someone please fix this issue?  I've spent a good bit of time trying to debug this to no avail.
This url states that my gamepad is registerd and active
https://greggman.github.io/html5-gamepad-test/
Thanks
Joe

@tomstitt, do you know anything about that?

I posted some thoughts about this in the similar issue https://github.com/GLVis/glvis/issues/263.
Unfortunately, I do not have a device like this, so I cannot really try it out with GLVis or GLVis-js.

Thanks I now see how things are built from c++ glvis..  However,it's interesting that emscripten creates the hooks for the gamepad in the js code but it seems that they aren't wired.  I had thought there may be an easy way to wire in the the web version w/out having to wire in the c++ version.  @tomstitt  is there a way?


[SPARK-25764][ML][EXAMPLES] Update BisectingKMeans example to use ClusteringEvaluator

What changes were proposed in this pull request?
The PR updates the examples for BisectingKMeans so that they don't use the deprecated method computeCost (see SPARK-25758).
How was this patch tested?
running examples

Test build #97527 has finished for PR 22763 at commit 9def7e8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/97527/
Test PASSed.

LGTM. thanks!

Can we use a more positive title, @mgaido91 ?

Update BisectingKMeans example not to use deprecated computeCost method
Update BisectingKMeans example to use ClusteringEvaluator

done @dongjoon-hyun , thanks.

thanks, merging to master/2.4!

This has been reverted from master/2.4

Ur, @mengxr and @gatorsmile seems to determine to revert #22756 on branch-2.4 only.

Actually I don't see at all the need to revert this. Even without deprecating computeCost, using it for evaluating a model is a very poor approach. We should anyway advice the users to a better approach which is available, ie. using the ClusteringEvaluator to evaluate their models.

ah i see. @mgaido91 can you resubmit it and update the description? The method is not deprecated now.

sure, thanks @cloud-fan


Submit button for job appliction form is disabled if job aplicant uploads Resume file other than Pdf format

Describe the bug
If job applicant uploads the Resume file other than pdf format in job application form, and submit the job application by clicking on submit button then the  Submit button for job application form is disabled.
Screenshot

Expected behavior
The submit button for job appliction form should not be disabled, in case Resume file has format other than Pdf

Closing this issue as already created in #881


Rights to read OUser for reader and writer

Guys,
I do know, that in 2.1.1 you disallow for reader's and writers to read OUser. Also I know that it can be reverted back by application. But please, could you make that in other way? User have to have access at least to his record. Otherwise it's the mess for web app which use OrientDB users for authentication. At least db.getUser() doesn't work properly and a lot of other not so good side-effects...
Unfortunately, we need to rollback to 2.1.0:( Hope that will be resolved in 2.1.2...

Guys,
Any thoughts on this?
Example: OUser class is being used for users for a site. User after login, of course, should have access to his name, avatar and etc.

Guys,
What do you think about idea to use JAAS approach for security in OrientDB?
What do I mean:
security checks "assembled" from several layers:
Layer1: If user is admin (has "bypass") action imidiatly granted
Layer2: Check for rights according to ORole rules
Layer3: Check for additional rules on ORestricted
Layers should be plugable not only on db side, but on app side. For example, application can insert additional layer for checking trial period and so on.
Also it will help to solve this problem: if user wants access to his record - just grant it!
Layers can have flags like in JAAS: required, requiresite, optional, sifficient and so on.
And even more! Validation can be also treated as "security layer". Validation layer is interested in CREATE and UPDATE and grant operation only if document match validation criterias.
Actually all of that can even be "packed" as RecordHooks. And I guess that redesign of this area has been already discussed several times. For example: https://github.com/orientechnologies/orientdb/issues/3429

:+1:

Hi guys,
I have the same problem too.
And it is present in v.2.1.2 as well.
You have changed the permissions to access the OUser class but this change has not been reported in change log or into the migration page of the documentation (as far as I know)
Please, can you advice on how to access to the OUser class using the  "reader" account?
Here is how to reproduce the problem:
OrientDB console v.1.7.9 (build UNKNOWN@r; 2014-09-22 14:46:19+0200) www.orientechnologies.com
Type 'help' to display all the commands supported.
Installing extensions for GREMLIN language v.2.5.0

orientdb> connect remote:localhost/GratefulDeadConcerts reader reader
orientdb {db=GratefulDeadConcerts}> select from ouser

----+----+------+-------------------------------------------------------------------------+------+-----
#   |@RID|name  |password                                                                 |status|roles
----+----+------+-------------------------------------------------------------------------+------+-----
0   |#5:0|admin |{SHA-256}8C6976E5B5410415BDE908BD4DEE15DFB167A9C873FC4BB8A81F6F2AB448A918|ACTIVE|[1]
1   |#5:1|reader|{SHA-256}3D0941964AA3EBDCB00CCEF58B1BB399F9F898465E9886D5AEC7F31090A0FB30|ACTIVE|[1]
2   |#5:2|writer|{SHA-256}B93006774CBDD4B299389A03AC3D88C3A76B460D538795BC12718011A909FBA5|ACTIVE|[1]
----+----+------+-------------------------------------------------------------------------+------+-----

3 item(s) found. Query executed in 0.004 sec(s).

-------------------------

OrientDB console v.2.1.2 (build UNKNOWN@r; 2015-09-09 21:41:27+0000) www.orientdb.com
Type 'help' to display all the supported commands.
Installing extensions for GREMLIN language v.2.6.0

orientdb> connect remote:localhost/GratefulDeadConcerts reader reader

Connecting to database [remote:localhost/GratefulDeadConcerts] with user 'reader'...OK
orientdb {db=GratefulDeadConcerts}> select from ouser

Error: com.orientechnologies.orient.core.exception.OSecurityAccessException: User 'reader' has no the permission to execute the operation 'Read' against the resource: ResourceGeneric [name=CLASS, legacyName=database.class].ouser

Here are the statements I used to fix the problem on my schema:
update orole put rules = "database.cluster.ouser", 2 where @rid=#4:1
update orole put rules = "database.cluster.orole", 2 where @rid=#4:1
update orole put rules = "database.cluster.ouser", 2 where @rid=#4:2
update orole put rules = "database.cluster.orole", 2 where @rid=#4:2
update orole put rules = "database.class.ouser", 2 where @rid=#4:1
update orole put rules = "database.class.orole", 2 where @rid=#4:1
update orole put rules = "database.class.ouser", 2 where @rid=#4:2
update orole put rules = "database.class.orole", 2 where @rid=#4:2


Close button for cookieconsent

Hi.
I was  wondering if it is possible to add a "X" (Close) button for the main cookie consent window.
I know there's one in the prefferences tab, you can also disable that, but could you somehow enable that in the main window?
In Italy, for ex, this is a requirement by law and also, it is pretty convenient for users.
Thanks for advice.

Hi @t0is,
based on the official website Garante della Privacy — the cookie banner must have:

A warning to the effect that the website uses technical cookies as well as (subject to user’s consent) profiling cookies or other tracking tools along with information on the relevant purposes (short information notice);

A link to the privacy policy containing the extended information notice and mentioning any additional recipients of the personal data, data storage periods and how to exercise the rights under the GDPR;

A warning to the effect that if the banner is closed (e.g. by clicking on the ‘X’ on its top right corner) the default settings are left unchanged and therefore browsing can continue without cookies or other tracking tools other than technical ones.

Accordingly, the banner will have to contain the following in order to obtain valid consent: - The command referred to above (e.g., an ‘X’ placed on the top right corner) to close the banner without giving one’s consent to the use of cookies or other profiling techniques and by keeping default settings;

A command (button) to accept all cookies or tracking tools;

A link to an additional dedicated area where the user can select, individually, the functionalities, the third parties, and the cookies that user consents to install, and where the user can either consent to the use of all cookies (if such consent has not already been given) or withdraw his/her consent, also once and for all. In this regard, a good practice consists in using a graphical sign, an icon or any other technical arrangement to flag (e.g. in the footer of each domain page) the status of the consent declarations given by each user, and to enable changing or updating such declarations

https://www.garanteprivacy.it/temi/cookie
https://www.garanteprivacy.it/garante/document?ID=9679270
Linee Guida Cookie e altri strumenti di tracciamento - INFOGRAFICA

As I understand it, the "X" button symbol is merely a suggestion, and it is not the only valid way to reject cookies.
There are many other sources that claim the same thing, including large CMP solutions such as Iubenda.
If this were not the case, virtually all of the existing CMP solutions would not be in compliance with the Italian Cookie Law.

They do not provide the ability to add an X button in the upper right corner of the banner.
They let you place an X button, but it is either small, difficult to click or hardly visible.

That said, the next version of the plug-in will allow you to add a large/visible X button in a specific layout.
Here is a preview: https://github.com/orestbida/cookieconsent/pull/288;
Personally, I would use a "Reject all" button that speaks for itself rather than an "X" button.


Adding ChemNLP for extracting other representations

Hi @tmusho
Would you mind reviewing this simple extraction? I wanted to play a bit with the package in the issue, ChemNLP. You can skip the modifications on the .vscode/settings.json and pyproject.toml, and only focus on src/nomad_ML_smiles_reader/schema.py and src/nomad_ML_smiles_reader/reader.py.
I think this would help you understand too how to extend schema.py first, and then parse some extra information in reader.py 🙂
Let me know if you have any doubts.

I checked the ChemNLP and it seems to be working correctly. The smiles, canoncial, inchi all produce the same output as the input SMILES. It was difficult to confirm the deepSMILES representation but I believe it is correct. However, I do not think the SELF representation is working so I removed. I think you can merge this branch.

I checked the ChemNLP and it seems to be working correctly. The smiles, canoncial, inchi all produce the same output as the input SMILES. It was difficult to confirm the deepSMILES representation but I believe it is correct. However, I do not think the SELF representation is working so I removed. I think you can merge this branch.

Sure, I will rebase and merge later this week. Thanks for the review.


How to disable interpolate (and enable snaping)

Although the linear interpolation of the given data points is normally a nice feature I want the cursor only snaping to the data points exactly. I can workaround this need by the following code:
x = arange(10); y = x**2
plot(x, y)
points, = plot(x, y, '.', markersize=0)
datacursor(points, hover=True)

It would be nice to achieve the same thing with
plot(x, y)
datacursor(hover=True, snap=True)

Would this be possible?
Anyway, many thanks for your work it is very useful.

@fhgd, my experience is that mpldatacursor snaps to the datapoint if the linestyle is ls='' (empty string) and interpolates if the linestyle is, say ls='-'. Am I wrong? Am I misunderstanding something?
That being said, I like the idea of a snap=True parameter that works whether or not linestyle is being used.
(using matplotlib 3.1.1,  python3.6)


Events test / documentation

where do you want the docs to be? wiki?

I usually do it in-repo but you're much better at documentation so I insist you use your way - the wiki :)

Plus when I think about it it makes sense


is there any way to show one item in a row

If you want to show one item per row then you can simply use table view or collection view.
Main purpose of my library is to give custom layouts like Pinterest, which is not achievable with default collection view flowlayout.

i wanted to show one item in one row and then on another row 2 items. mix
of one and two items.
On Wed, Jul 1, 2020, 1:36 AM Muhammad Waqas<EMAIL_ADDRESS>wrote:

If you want to show one item per row then you can simply use table view or
collection view.
Main purpose of my library is to give custom layouts like Pinterest, which
is not achievable with default collection view flowlayout.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mwaqasbhati/WBCollectionViewLayout/issues/1#issuecomment-652028932,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7KZR34LJOSUKP6JKQOG3DRZJEETANCNFSM4OMQDGZQ
.

unfortunately, that's not possible at the moment but I can add it in later versions.


Update README.md

added link for local setup

What's changed?

please add changes to the existing PR, or


Visualize Gaussian models using regular perspective models

Great job!
I find that using regular Gaussian viewers such as SuperSpatt seems to work poorly. It should be that they use perspective models by default. How should I visualize it? I saw that network_gui.py was provided in the code, but it didn't seem to work

Hello.
Firstly, we empirically show that the 3DGS optimized by omnidirectional images can be well rendered with perspective cameras link.
However, since we follow the optical properties of omnidirectional images in ODGS, the perspective rasterizer should be modified to be compatible with omnidirectional images.
Actually, we have the (dirty) code for compatible rasterization on the perspective image domain, and we are planning to release the clean version of the rasterizer.
Since we are now busy for the conference, we will add the perspective rasterizer later this month.
Thank you for your interest.


deduplicate some NAT_RUN_BLOCK_* macros

This adds a new NAT_RUN_BLOCK_GENERIC macro that is called from
NAT_RUN_BLOCK_AND_POSSIBLY_BREAK_WITH_CLEANUP, NAT_RUN_BLOCK_AND_POSSIBLY_BREAK and NAT_RUN_BLOCK_WITHOUT_BREAK.

Cool!!


equivalence partitioning testing

Here is one slide from the 24 Mar lecture. It is an example of equivariance partitioning and I think the instance here is closely connected to our program: what if the user enters something like
add sdfs/sddffs some random stuff sdf/name / /name name

I am not sure if our current parser can deal with such weird strings nicely. When we design and write test cases, we should probably consider such corner cases.
By the way, during PE, we can test others' products in this way as well.  :)

duplicate of #59, but more detailed.


MessageType for MessageDialog doesn't seem to do anything

I've launched the example MessageDialog code from the docs:
extern crate gtk;
use gtk::prelude::*;
use gtk::{ButtonsType, DialogFlags, MessageType, MessageDialog, Window};

fn main() {
    if gtk::init().is_err() {
        println!("Failed to initialize GTK.");
        return;
    }
    MessageDialog::new(None::<&Window>,
                       DialogFlags::empty(),
                       MessageType::Info,
                       ButtonsType::Ok,
                       "Hello World").run();
}

Changing MessageType::Info to MessageType::Error doesn't affect the dialog in any way. (see the screenshot). Is this correct?

I'd expect some icon reflecting the Dialog type to appear, which is missing in both cases, as in this example

This is a support request, not a bug in the bindings. And also generic to GTK :)
I don't know enough about the GTK API but this probably has to be used differently for getting the behaviour you want. Your best choice for getting an answer to this would be here: https://discourse.gnome.org/


How to generate data need for generation of our own data?

I want try on my own data. I have the required information but how to convert them? Such as pc, bbox, calib, pose?

You can prepare your data following our example, which is available at
https://github.com/weiyithu/SurroundOcc/blob/bd7f4acfd173c83fbffd6ee407a446bddd5c81bb/README.md#ground-truth-generation.


Sidebar search scroll issue and main nav updates

Summary
This PR aims to fix #6334 and syncs the main nav with the recent updates seen on mm.com (new promo items and addition of Mattermost Academy under Developers dropdown).
Let me know, if anything - thanks!

Search fix looks great, @emdecr! Thank you! The generated preview is showing a smaller-than-expected icon next to Mattermost Academy. It doesn't appear to be the same size as visible via the website.

Nice catch @cwarnermm ! Should look more comparable now 😁


[Cherry-pick][branch-3.0][Enhancement] Support unnest table function for trino parser (#27054)

Fixes #issue
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

@Mergifyio rebase

[FE PR Coverage Check]
:heart_eyes: pass : 28 / 28 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/connector/parser/trino/AstBuilder.java
28
28
100.00%
[]


google-drive-ocamlfuse: unknown option '-m'.

I think -m makes more sense for 'multithreaded' than having two '-s' options ;)

Nice catch! Thanks!


Add user Link model to the backend

Story# 84439866 on Pivotal Tracker
Generated a new model for user Links. A Link is owned by one user and a user can own more than one Link. All user-links will be shown on his profile alongside with his bio and other personal data.
All test cases are passing, except for one. The one which I commented as i'm stuck with it.
Will *try to work on the frontend end part of the task.

Thanks @AhmedGaber looks great :+1:
Can you address the comments I added and do a git rebase -i HEAD~3 to squash the commits into one?

I don't know what's the problem.

@AhmedGaber the problem is not with tests the problem with the jshint (linting of your javascript). To test it locally just run grunt without any command or grunt jshint:all. Travis CI show that these are errors:
app/scripts/services/linkService.js
  line 47  col 18  Expected 'optSuccess' to have an indentation at 19 instead at 18.
  line 59  col 13  Expected 'return' to have an indentation at 11 instead at 13.
  line 62  col 7   Expected '}' to have an indentation at 5 instead at 7.
  line 83  col 8   Expected '}' to have an indentation at 7 instead at 8.
  line 49  col 30  'response' is not defined.

:+1: awesome job @AhmedGaber


Added norms to documentation

Added norms to follow while adding roles to stockpile
Fixes #32

Yes, we'll be creating a per-role fact. What I mean by each role creates its own fact tree is that instead of just dumping vars, you can build your tree. Take scenario 1 for example:
---

# Capture the data you are interested in
- name: "my example name"
  shell: "ethtool -i {{item}} | grep driver | awk -F: '{print $2}'"
  with_items: "{{ ansible_interfaces }}"
  register: interface_drivers

We're trying to collect interface_drivers, and we're not just dumping everything into a dictionary like this:
- set_fact:
    stockpile_example: interface_drivers

But rather, we're building the dictionary to represent the vars we want them
- set_fact:
    __dict: |
        {% for item in  interface_drivers.results %}
        {{item.item}}: "{{item.stdout}}"
        {% endfor %}

# Store the data using the role_name as the key.

- name: "Store example data"
  set_fact:
    example: "{{__dict|from_yaml}}"

I hope that clears it up


Code Review

Hi there 👋
Here are some fixes that I believe would solve your problem with this API.
Click here to see the PR, already merged btw.

Changes:

[x] Added hibernate validator dependency to the pom.xml.
[x] Implemented Log4J lib to log request's activity.
[x] Enabled Logging Level INFO for the application.
[x] Implemented javax validation for JPA classes.
[x] Changed the ID generation type to AUTO
[x] Modified the @Repository classes to extend JpaRepository instead of CrudRepository.
[x] Removed unnecessary constructor methods.
[x] Cleaned @Service methods.
[x] Cleaned @Controller methods - Catching and logging exceptions.

I believe the payloads for creating new registers should be something like this:

Creating a new Note:

{
   "text": "Example",
   "book": {
      "id": 1
   }
}

Creating a new Book:

{
   "title": "Example"
}

FYI: The ID will be created automatically, so there's no need to specify them on your payload.

Hey, good fella!
I got this problem when trying to create a new book:
Invalid property 'id' of bean class [com.coffeehub.models.Book]: Getter for property 'id' threw exception; nested exception is java.lang.reflect.InvocationTargetException
Can u help me further?

Apparently, the problem is solved when I send a symbolic "id" field in the request body, which value will be replaced automatically. However, when trying to create a note, I have the following problem:
c.coffeehub.controllers.NoteController   : Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Error while committing the transaction

Sure, can I see your payload?

Ended up that when I first reviewed your code, I changed the id type from long to Long, but I forgot to change the attribute type on getter and setter methods. That solves the NullPointerException issue. My bad 😞
Click here to see the PR with the code fixes.

That's fine!


Update Future description

Fixes #103

I kind of feel it would be best to just delete that sentence :) wdyt, @skade?

Hmm, what I should do? Should improve the sentence or remove it?

Hmm, perhaps we should do another pass over the whole section? It seems to imply a few things that are potentially confusing or misleading:

It says Future is a type, but it really is a trait.
It talks about differences between futures::future::Future and std::future::Future, but they are the same trait.

ping @skade

While reading https://book.async.rs/overview/std-and-library-futures.html, which at time of writing currently still incorrectly states that std::future::Future and futures::future::Future are distinct, I was confused, and it took me about half an hour to establish what was actually going on. It would be good to have this changed, since, as I can attest, the misinformation is having real-world consequences. Aside from that, I appreciate the information about asynchronous Rust.

https://github.com/async-rs/async-std/pull/1024

Fixed by https://github.com/async-rs/async-std/pull/1024


Update kafka jmx-exporter metrics rules

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
N/A

License
Apache 2.0

What's in this PR?
Extended jmx exporter mbean parsing rules to:

extract broker version
Extract tls metrics by protocol/cipher
Extract connection metrics by client software name and version
Special parser for *Percent beans to also return the MeanRate
and {One,Five,Fifteen}MinuteRate
parse GAUGES and COUNTERS reported as 3 KV pairs in kafka

Why?
Ability to better monitor kafka.
Additional context

Checklist

[x] Implementation tested
[x] Error handling code meets the guideline
[x] Logging code meets the guideline
[x] User guide and development docs updated (if needed)

removed WIP - as per my testing this should be ready for review


[0.10.8] What's wrong with the indentation?

I wanted to indent multiple lines at once but it failed. This is how it looks like when I select some lines and press Tab. Sometimes it works though, like when creating an untitled file in split screen.

Quite important bug @egamma @jrieken @bpasero

@alexandrudima fyi

Same here! Cant work with it currently! It also intents completly wrong when i create a newline. (With a tab instead of spaces also...)

It also intents completly wrong when i create a newline. (With a tab instead of spaces also...)

That's something else and was introduced in the previous version as well. If editor.insertSpaces is set to auto it detects the indentation used by the opened file. But if you create a new file, it can't detect the indentation type so it uses spaces instead. Some issues regarding this have been raised already and should be discussed over there.

This looks like Mac OS behavior for the select before the editor knows that the select requires different behavior. It's just not catching that first select. Once the file is in the working files section then the editor has it in memory...this is me speculating, though, and watching what is happening.

Can somebody provide a link for VSCode 0.10.6? Its impossible to work on HTML with this Version. Hope to have it fixed soon.
@SamVerschueren
What i mean is the following. (Extension .jsx, file is not empty, it has 70 lines)
This behaviour was definetly not present before.
Steps to reproduce:

.jsx file (maybe also other ones)
Indent somewhere in a function, move the cursor to another line and save the file (be sure to have "remove leading whitespace" option enabled)
Go back to that line and press TAB.

@philipgiuliani Ok, that's definitely something else. Create a new issue for that one if you don't mind as it's not the same as this one and then they can separately being tracked by the team.

@SamVerschueren done in the following issue https://github.com/Microsoft/vscode/issues/2845.

Previous releases are at https://github.com/Microsoft/vscode/wiki/Previous-Releases

Having a similar issue with SQL files if I highlight some lines and try to indent them with tab.

This one is strange because, in addition to killing all the text, Command + Z refuses to undo the action!
If I manually indent the first line with 4 spaces and highlight the rest, hitting tab works as expected.

@SamVerschueren @philipgiuliani @nchammas I am sorry, this looks horrible.
I cannot reproduce on a vanilla (no extensions) 0.10.8 on Windows.

I will try shortly on the mac

Indeed, might be related to Mac.

@SamVerschueren Do you have any extensions installed that might hijack the tab key? i.e. just to be sure the built-in command executes, can you please add the following to the end of your keybindings.json:
{ "key": "tab", "command": "tab", "when": "editorTextFocus && !editorTabMovesFocus" }

Added that but still the same behaviour.
Switched to the insider build and removed all the extensions I had installed over there (just to make sure) but still the same.

I still cannot reproduce. Can you think of anything else I might be doing differently? Do you have other settings for VSCode or maybe a different keyboard layout, etc...
Here I am trying on a mac:
All I do is select some text, press Tab a few times and undo (Cmd+Z)
I have just downloaded 0.10.8 from the website on a new mac install:

@weinand @joaomoreno Can you please also try to reproduce this?

This is odd.
I installed a new fresh version of the latest insider build. Removed my Application Support/Code - Insiders directory to make sure I don't have any setting specified. Still the same behaviour.
I have a U.S. keyboard layout.

@alexandrudima In your second example (the untitled file), can you type your text (as it is now), save it as test.txt or something and try it again?

Ok, here I am trying again with an untitled file that then I save on top of an existing file.

Do you maybe press Tab while in the OS menus? Do you maybe have any errors in the console (F1 > Toggle Developer Tools)? Does this report when pressing Cmd+] which is an alternative binding for indent lines?
Here is the OSX version I'm trying on, maybe this makes a difference?

Do you maybe press Tab while in the OS menus?

No

Do you maybe have any errors in the console

No

Does this repro when pressing Cmd+] which is an alternative binding for indent lines?

No, can't reproduce with this keybinding which is odd.

This is how it always acts like that.

Open the project and open that test.txt file
Close VS Code entirely
Open VS Code which will open test.txt automatically
Select all the lines and press Tab

My OS X is one patch version higher.

I also have it on El Capitan 10.11.3

I also have it, this is my setting.json:
{
  "editor.insertSpaces": true,
  "editor.tabSize": 2,
  "search.exclude": {
    "**/dist": true
  },
  "files.trimTrailingWhitespace": true,
  "files.insertFinalNewline": true,
  "editor.fontFamily": "hack",
  "editor.fontSize": 12,
  "editor.renderWhitespace": true
}

Quick update: just updated to El Capitan 10.11.3 and I can now immediately reproduce even with the default settings

\O/ JEEJ! :)

@philipgiuliani

Can somebody provide a link for VSCode 0.10.6?

Previous releases are available from https://github.com/Microsoft/vscode/wiki/Previous-Releases

@SamVerschueren @philipgiuliani @nchammas @sijad
Can you please try the following workarounds and let us know if they work.
Possible workaround 1
Edit settings.json to enable auto save with a delay <= 1000:
    "files.autoSave": "afterDelay",
    "files.autoSaveDelay": 1000

Possible workaround 2
Have a "dirty" file permanently open. (i.e. open a new untitled file, make a change in it) and then go about editing other files -- without any need to enable auto save as above.
Explanation
Took a few hours to track down, the problem surfaces so far only on OS X El Capitan 10.11.3 and only on an edit that causes the first file to become "dirty": (i.e. on the edit that brings VS Code from having 0 unsaved files to 1 unsaved file).
The underlying problem is we are updating the OS window to mark the VS Code window as containing a dirty file (icon gets greyed out) synchronously, in a model change listener, while the keydown event is still being handled. This causes e.preventDefault() to malfunction, producing a follow up unexpected input event, while still handling the original keydown event. We then react to the input event and begin applying edits to the model. Thus, the model gets edits applied while it is applying edits, which is unexpected (causing undo to malfunction).
Filed issue against Electron in atom/electron#4438 and we need to revisit all our code paths where we use remote during handling an event.

@alexandrudima - Workaround 1 works for me. :+1:

Although, it does kill the "dirty" indicator that shows up next to the file name. Is that expected?

@alexandrudima confirming both workarounds fix the problem. Looking at the issue you created, it's fixed in the latest electron version?
@nchammas the file can't get (really) dirty anymore because it gets auto-saved ;).

Right, but I thought the save interval meant it would be dirty for a short amount of time.

Try setting autoSaveDelay to 5000, that makes it dirty for ~5s. I noticed VS Code uses 800ms internally for delaying some things in the view (like the progressbar in option dialogs etc.). This might be the case here as well. After 800ms the dirty icons gets visible but shortly after becomes invisible. Just guessing here :).

Oh I see, the delay is in milliseconds. Derp. :)

Workarounds are working for me! :)

Wow, great catch @alexandrudima

Workaround 1 seems to fix this for me. :+1:
FYI I am running Yosemite 10.10.5.

I found another workaround (since I don't like auto-save):

insert a space
delete the space
(don't save)

Now you can tab/shift-tab to your heart's delight.  As long as the file is already 'dirty', the bug won't happen.
If you do happen to accidentally clobber your code with tab/shift-tab, you can right-click the file in the Working Files view and select "Revert file".
This is similar to Possible Workaround 2 above, only you don't have to have an extra dirty file open all the time.

@alexandrudima thanks! it was a real lifesaver

I'd also like to add that I'm seeing this behavior in OS X 10.10.5 (Yosemite)

I'm also experiencing this behavior when pressing SHIT+TAB.
All my block of code is deleted and CMD+Z (undo) doesn't work at all.
OS X 10.11.3
VS Code 0.10.8-insider

@brunnopleffken haha "SHIT + TAB" :laughing:

@alexandrudima I've verified fix for the insider's build.

@alexandrudima looks great for stable too

@philipgiuliani Oops! Mistyping an issue may cause situations like this, HAHAHAHA

Just want to say thanks for the workarounds and the fixed update today. :)

:+1: +1 to that

Thanks @alexandrudima . Appreciate the effort!

Thanks for fixing this


Error with custom shaders

Hey there, I`m facing a strange error while trying to set a second shader reource here is my code:
 m_imageBatch->Begin(DirectX::DX11::SpriteSortMode::SpriteSortMode_Deferred,
  m_alphaBlendState.Get(), nullptr, nullptr, cullMode, [=]
{
      GetDeviceContext()->PSSetShader(material->GetPixelShader()->GetShader(), nullptr, 0);

      if (auto cb = material->GetConstantBuffer())
      {
          auto buff = cb->GetBuffer();
          GetDeviceContext()->PSSetConstantBuffers(0, 1, &buff);
      }

      if (sampler)
      {
          auto samplerRs = sampler->GetShaderResourceView();
          GetDeviceContext()->PSSetShaderResources(1, 1, &samplerRs);
          GetDeviceContext()->PSSetSamplers(1, 1, &sampler->m_sampler_state);
      }
});
RECT rc = {size.left, size.top, size.left + size.width, size.top + size.height};
m_imageBatch->Draw(texture->GetShaderResourceView(), rc);
m_imageBatch->End();

but I got this strange error

D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: The Pixel Shader unit expects a Sampler to be set at Slot 1, but none is bound. This is perfectly valid, as a NULL Sampler maps to default Sampler state. However, the developer may not want to rely on the defaults.  [ EXECUTION WARNING #352: DEVICE_DRAW_SAMPLER_NOT_SET]
D3D11: **BREAK** enabled for the previous message, which was: [ WARNING EXECUTION #352: DEVICE_DRAW_SAMPLER_NOT_SET ]

Note I`m using the lastest verison (feb2024) with directx11.
Also I made obvius check like my pointers are not null etc.

This is a warning that I marked with a error.
If I just disable this warning works fine:
pInfoQueue->SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_WARNING, true);
But the case is how can I solve this warning.

You didn't include your custom shader source, but are you sure the if (sampler) clause of your lambda is being executed?

Im 100% sure that if (sampler)` works.
https://github.com/microsoft/DirectXTK/assets/17410205/b7999d05-ac12-4455-ae1c-553dcb892e1b
As I said if i disable directx warnings it works super fine.


Gathering data: hide ligand names flag

Summary of changes
Fixes #190 by adding a flag to change the ligand names.

Licensing agreement

[x] I agree to release these inputs under the combined MIT and CCBY SA 4.0 licenses of this repository

P.S. Please feel free to discard my review and merge when things are suitably sorted out - it's probably best not to spend a ton of time cleaning up the file writing here if we're going to do it elsewhere.


Move the production code from lib/ to src/

This gets the directory structure more in line with what most
other projects (including Symfony) are using. (The PHP namespaces
are unchanged, though.)
Also flatten the directory structure.
Fixes #230

Rebased and repushed.


Binary Search

Issue Id you have worked upon -
#185
Briefly explain your program logic -
Finding target element present inside array or not using binary search algorithm.
Compare target with the middle element.
If target matches with the middle element, we return the middle index.
Else If target is greater than the middle element, then target can only lie in the right half subarray after the middle element. So we seaech for the right half.
Else (target is smaller) search for the left half
Screenshots(Attach 2 screenshots of your own input and output) -

Checklist:
Eg - If your code follow the below guidelines. Kindly change [] to [x]
All the conditions should be fulfilled for considering your code for merging -
[x] I have mentioned the question as comment in my solution file.
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I confirm that I have not copied the code from anywhere. In case its found that I have copied I can be banned from the repository.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.

@Kaustubh-git,
Kindly add question as the first comment to the solution file.


Web 112: Integrating Material Components with web frameworks

Learn how to extend pre-built Material Components into components for any web framework.
Web 112

Done


Adding National Taitung University from Taiwan

Adding National Taitung University from Taiwan

@billyfan01 Pull request merged. Thank you!


fix(webpack): reset stats file / promise on watch run events

Seems like this has gotten lost during the parallel build feature: https://github.com/xing/hops/commit/30ad91c2eccfbd103ca40290cdc0f8a655651da6#diff-5fe2ecdd50bbcabc5564903e94169121L72

Bors merge bot cheat sheet
We are using bors-ng to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of bors delegate+ or bors delegate=[list]).

Syntax
Description

bors merge
Run the test suite and push to master if it passes. Short for "reviewed: looks good."

bors merge-
Cancel an r+, r=, merge, or merge=

bors try
Run the test suite without pushing to master.

bors try-
Cancel a try

bors delegate+
Allow the pull request author to merge their changes.

bors delegate=[list]
Allow the listed users to r+ this pull request's changes.

bors retry
Run the previous command a second time.

This is a short collection of opinionated commands. For a full list of the commands read the bors reference.

bors merge


re-enable yoyo?

The pgl.yoyo.org source was paused (in data/yoyo.org/update.json) due to the provider blacklisting t.co, which is required for clicking Twitter links. Pausing the update was a wise decision at the time, but I'd like to revisit the idea of enabling that list again. It would need an extra one-liner somewhere to remove t.co from the result, of course, but we're missing out on what I believe to be a good list otherwise. Any thoughts?
I would also extend this to @pgl directly: Would you consider removing t.co so more users and downstream lists can resume making use of your work?

@hyder365 Sure, so - add an exclusion for that domain? Do you not have an easy way to do that?
I include domains which are primarily used for ads or tracking. google.com is not primarily used for tracking, which is why it's not in my list. My inclusion policy is here: https://pgl.yoyo.org/as/policy.php

Oh, hey, I just remembered - you can easily exclude domains from my list by using the skip query parameter: https://pgl.yoyo.org/as/formats.php#skip
Example: https://pgl.yoyo.org/adservers/serverlist.php?skip=101com.com,207.net
(Went into a bit of a rabbit hole here: I just went to check this and it wasn't working, because previously it was using the PHP [] array assignment format - this was due to caching, so I've changed it to support comma-separated values instead.)

Hi Devon @hyder365 yup, gonna do this, just need to sequence this because I've been travelling for the past while and that has messed with my priorities.

@StevenBlack This adlist added the click.discord.com domain to the blocklist which is preventing users from signing in to discord. (You must visit a link on this domain when signing in with a new device as part of 2step verification)
I have reported it to the list admin and this was the response:
click.discord.com is a tracker. If you're OK with it tracking you, then
choose Don't Warn Again. It's not preventing anything that doesn't have
an incredibly easy way provided to stop the block happening.

@shunkica

Click it. I dare you.

@shunkica I mean, that's true, but if you're using a service that doesn't allow you to easily add exclusions to your allow list, then I would suggest reconsidering that service.

Hi @hyder365 thank you for those thoughts.
So we're clear: if Discord wants seamless service to their customers, it behooves THEM to behave ethically.
In other words, Discord is not special. We don't serve Discord, nor do we back this particular mode of operation.
The people we serve here are those who do not want be tracked. It's really that simple.


all selector issue

Hi,
Unfortunately I think i found a issue in 'all' operator.
For reproduce it, create 3 models: Group, User, GroupUser (with group_id and user_id fields)
Create 2 users: user1, user2
Create one group: group1
And add user1 and user2 to group1
GroupUser.create!{group: group1, user: user1}
GroupUser.create!{group: group1, user: user2}
Now, if i request for group including user1 ans user2, i have no response.
GroupUser.where(:user.all => [user1, user2] ).count # => 0
But if i request with user1 or with user2 only, i got a good response.
Regards,
Dohko

Gems:
mongoid (4.0.0)
activemodel (~> 4.0)
moped (~> 2.0.0)
origin (~> 2.1)
tzinfo (>= 0.3.37)
mongoid-autoinc (4.0.0)
mongoid (~> 4.0)
mongoid-enum (0.2.0)
mongoid (~> 4.0)
mongoid-ip (0.0.1)
mongoid-paperclip (0.0.9)
paperclip (>= 2.3.6)
moped (2.0.2)
bson (~> 2.2)
connection_pool (~> 2.0)
optionable (~> 0.2.0)

It looks like a issue with my models relations...
Thank you


Update mingw-winlibs-llvm-ucrt, mingw-winlibs-ucrt-mcf and mingw-winlibs-ucrt

This PR updates the three packages shown as title. I updated mingw-winlibs-ucrt-mcf and deleted $matchLlvm in its autoupdate regex, but I don't know if it'll influence the future releases when MCF Gthread supports LLVM. I also added posix after $matchGcc in the other two packages' autoupdate regex to match the latest POSIX build updates.

[x] I have read the Contributing Guide.

/verify


panic: runtime error: racy use of timers

What version of Go are you using (go version)?

$ go version
v1.14.7

Does this issue reproduce with the latest release?
not sure
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY="******"
GONOSUMDB="******"
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/usr/local/go/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build206275195=/tmp/go-build -gno-record-gcc-switches"

What did you do?

What did you expect to see?
no panic
What did you see instead?
panic: runtime error: racy use of timers

goroutine 3014322 [running]:
time.stopTimer(0xc00f1a80f8, 0x2e45a20)
	/usr/local/go/src/runtime/time.go:224 +0x2b
time.(*Timer).Stop(...)
	/usr/local/go/src/time/sleep.go:78
net/http.(*http2clientConnReadLoop).cleanup(0xc010682fa8)
	/usr/local/go/src/net/http/h2_bundle.go:8210 +0x10d
net/http.(*http2ClientConn).readLoop(0xc004fb1380)
	/usr/local/go/src/net/http/h2_bundle.go:8180 +0x122
created by net/http.(*http2Transport).newClientConn

go1.14 is no longer supported.


Fix: Add import for shims and angular2 pollyfills to index.ts

Removed shims and polyfills from webpack config and added explicit imports to index.ts to ensure the shims and angular2 polyfills load before angular does.
Tested updated version on Chrome and IE and the buttons load correctly now (when switching between About Us and Counter page)
Connected to rangle/rangle-starter#100

:shipit:


[DEMONSTRATION] Adds experimental resource name validation

This PR demonstrates AWS resource name sanitization (for a subset of resources) integrated into deploylib using a new experimental resource name sanitizer/validator.
The purpose of this draft is to solicit feedback on the UX and implementation. As it stands now, it seems to work pretty well, but I'm not too confident regarding the optimal set of interfaces.
The process of generating a valid resource name is as follows:

apply a ShorteningStrategy if supplied to reduce the total length of the supplied ResourceName's components (i.e. prefix, name, suffix) to the configured max length. The shortening strategy makes it possible to prioritize shortening a specific part of the name or making part of the name fixed (i.e. unshortenable).
Apply a NamingStrategy to the shortened ResourceName to combine its components into a single string.
Sanitize the generated string in one or more passes (up to 5 passes by default):

Truncate the string if it's longer than max length.
Throw an error if the string is shorter than the min length.
Apply the supplied SanitizationRules and capture any violations.
For any violations, sequentially apply the violated rules' supplied FixFunc (if present) to resolve any issues.
Revalidate the string if it's been fixed
Return the valid string or start another pass if the string is still invalid

return the sanitized result or throw an exception if any constraint violations are present in the result.

im wondering if we could simplify it for now since we will want this in go eventually and do something like, given resource name shorten the app name + resource name to max length, then have the regex it needs to match

Similar thoughts to Jordan's about simplification. Generally when I think of the rules, I think of the following categories:

Rule
Implication
Resolution

max length
name may get shortened
truncate input

required prefix/suffix 1
name may get lengthened
truncate input based on max length

disallowed prefix/suffix
name may get lengthed (e.g. disallowed-* → 0disallowed-*)
truncate input based on max length; or remove the disallowed prefix/suffix 2

disallowed char or format (e.g. IP addressed in s3)
name length stays the same
do the char replacements

desired prefix/suffix 3
name may get lengthened, but only to a certain amount
truncate input based on max length? or truncate the prefix/suffix?

1: Note that this is usually due to an AWS resource rule, but we can impose one of these for our own reasons. For example, require that buckets have a prefix of payloads-${appname}-${accountId}, to ensure uniqueness.
2: For example, s3 buckets can't end in xn--. An easy resolution would be to just do s/xn--/xn/.
3: For example, we may want a name of gateway-${annotationId}, where gateway- is the desired prefix: it's not required for any rule, but is just nicer for humans to see for whatever reason.
So, the resolutions then generalize to:

do 0 or more char replacements
optionally add a prefix or suffix

or, optionally replace a prefix or suffix

truncate left or right, based on whether we added a prefix or suffix; or, you can do the truncation before you add the prefix/suffix, taking into account how many chars the pre/suffix will add.

I don't think we need a ton of generality and a multi-pass system for these. The char replacement may make sense to generalize, if regexes don't cover all the cases easily; but otherwise we can just specify one input that specifies those three things, and then apply them.


cgroup: v2: do not set subtree_control for new cg

A cgroup can either have delegations (cgroup.subtree_control is populated) OR it can have processes in it, but not both. So we need to make sure that we don't add any controllers to the new cgroup's cgroup.subtree_control BUT we should continue to do so for any parents that we create.
Fixes #35

Ok this is good to go.

/cc @jsturtevant

Fixed comments


PostgresClient performance decrease when executing the same queries consecutively

Describe the issue
When running the same fairly complex set of queries (using the same client ) performance in each subsequence execution slows down - e.g first time 5.2 seconds, next time 5.6, next 6.0, etc. and it tends to keep climbing to over 8 seconds and probably more - I stopped testing.
Vapor version
postgres-nio 1.22.1
Operating system and version
macOS 14.6.1
Swift version
5.10.0
Steps to reproduce
A little tricky to reproduce given the number of queries in each execution run.
Restarting the client application seems to always get performance back to 5.2 seconds.  Is there some cleanup necessary when using PostgresClient.   Note that each execution creates a new PostgresClient but all the queries within the execution run use the same client.
Outcome
I would expect to see identical performance in each subsequent execution run - or at least within 0.1 seconds since the performance on restarting the application is nearly identical the first time the execution is run.
Additional notes
Not running Vapor - just using the PostgresClient from a macOS client application

An additional observation is that is I wait 30 seconds or a minute between running the queries then the performance seems to remain at 5.2 seconds.
This surely is a sign that something is being cleaned up during that time.
Anyone have any suggestions as to how to 'reset' things so that the performance of queries on a new client remain constant.
Perhaps something in the connection pool that needs to be reset so it doesn't get reused ?

@duncangroenewald Can we have a reproducible example? Does it need specific queries or does it happen with any simple query?

@MahdiBM - I will try and create an example to reproduce the issue.  The queries are all simple single table queries, however there are a lot of them because each execution is fetching a heirarchy that is about 10 levels deep with about 2000 lowest level nodes.
There are about 150 top level nodes that need to be retrieved and I was hoping to be able to run multiple concurrent parallel queries but there appears to be a really big performance hit when doing that - everything slows down to the point where it seems like the queries are running in series.  Testing on an M3 Max MacBook - which is running at around 120% cpu i.e using just a single core.  Client and Postgres db running on the same MacBook.

Here is an example of the performance degradation that we are seeing.  I created a test application to do this and see the same issue as with the production application.  This is testing against the same database.
The m: value is the number of lowest level nodes fetched for each code.  Typically the higher number would mean slightly slower read time.  Bearing in mind the m value is 4 levels down in the hierarchy.
However if you take the example of L025 with a fetch time of 0.5 seconds for m:30 nodes and later on M005 m:35 has a fetch time of 3.5 seconds. However run the M005 query standalone and it returns in only 0.6 seconds.  In fact just wait a minute or so and then run the M005 query without even restarting the whole application and it returns in the same 0.6s.


rk3328-cc board with 18.04 install fail

Required Info

Camera Model
D435

Firmware Version
latest

Operating System & Version
Ubuntu 18.04(arch)

Kernel Version (Linux Only)
4.4.114

Platform
rk3328

SDK Version
with source }

Language

Segment
others }

Issue Description
I'm trying to install sdk from source according this.
My platform is rk3288 and with the latest img:

ROC-RK3328-CC-ubuntu18.04-LXDE_20180605
Linux firefly 4.4.114 #46 SMP Tue Jun 5 17:30:08 HKT 2018 aarch64 aarch64 aarch64 GNU/Linux

And with the guide, I run the "script/patch-arch.sh", and and patching the file went wrong(realsense-camera-formats.patch).
I fixed it by :
`@@ -624,6 +624,18 @@ struct v4l2_pix_format {
#define V4L2_PIX_FMT_Y8I      v4l2_fourcc('Y', '8', 'I', ' ') /* Greyscale 8-bit L/R interleaved /
#define V4L2_PIX_FMT_Y12I     v4l2_fourcc('Y', '1', '2', 'I') / Greyscale 12-bit L/R interleaved /
#define V4L2_PIX_FMT_Z16      v4l2_fourcc('Z', '1', '6', ' ') / Depth data 16-bit /
+#define V4L2_PIX_FMT_Y8       v4l2_fourcc('Y', '8', ' ', ' ') / Greyscale 8-bit /
+#define V4L2_PIX_FMT_Y10      v4l2_fourcc('Y', '1', '0', ' ') / Greyscale 10-bit /
+#define V4L2_PIX_FMT_Y12      v4l2_fourcc('Y', '1', '2', ' ') / Greyscale 12-bit /
+#define V4L2_PIX_FMT_Y16      v4l2_fourcc('Y', '1', '6', ' ') / Greyscale 16-bit /
+#define V4L2_PIX_FMT_RAW8     v4l2_fourcc('R', 'A', 'W', '8') / Raw data 8-bit /
+#define V4L2_PIX_FMT_RW16     v4l2_fourcc('R', 'W', '1', '6') / Raw data 16-bit /
+#define V4L2_PIX_FMT_INVZ     v4l2_fourcc('I', 'N', 'V', 'Z') / 16 Depth /
+#define V4L2_PIX_FMT_INZI     v4l2_fourcc('I', 'N', 'Z', 'I') / 24 Depth/IR 16:8 /
+#define V4L2_PIX_FMT_INVR     v4l2_fourcc('I', 'N', 'V', 'R') / 16 Depth /
+#define V4L2_PIX_FMT_INRI     v4l2_fourcc('I', 'N', 'R', 'I') / 24 Depth/IR 16:8 /
+#define V4L2_PIX_FMT_INVI     v4l2_fourcc('I', 'N', 'V', 'I') / 8 IR /
+#define V4L2_PIX_FMT_RELI     v4l2_fourcc('R', 'E', 'L', 'I') / 8 IR alternating on off illumination */
/* SDR formats - used only for Software Defined Radio devices /
#define V4L2_SDR_FMT_CU8          v4l2_fourcc('C', 'U', '0', '8') / IQ u8 */`
but the second problem is:
make: Entering directory '/home/firefly/workspace/librealsense/scripts/kernel/linux-4.4.114'   Building modules, stage 2.   MODPOST 0 modules make: Leaving directory '/home/firefly/workspace/librealsense/scripts/kernel/linux-4.4.114' cp: cannot stat '/home/firefly/workspace/librealsense/scripts/kernel/linux-4.4.114/drivers/media/usb/uvc/uvcvideo.ko': No such file or directory
And I did'nt found the "$KBASE/drivers/media/usb/uvc/uvcvideo.ko" file.
Any one can help this ?

Hi @dongxuanlb
From my experience, RK Linux images tend to be monolithic (without Kernel modules) and I personally struggled to rebuild the entire kernel from source.
A more reasonable approach is to run CMake with flag -DFORCE_LIBUVC=true. Then everything should work.

Hi @dorodnic
I think maybe the problem is modpost does not build anything?
firefly@firefly:~/workspace/librealsense/scripts/kernel/linux-4.4.114$ sudo make M=drivers/media/usb/uvc/ modules   Building modules, stage 2.   MODPOST 0 modules
so there is no uvcvideo.ko in the folder?

I'm not 100% sure, but the libuvc work-around should definitely work. @ev-mp will be back within a week and perhaps will be able to offer a better solution (I'm not an expert in kernel building :) )


[E2E module to LLM]

Hi there,
Thanks for releasing the repo.
Could you please identify how we convey the features from E2E_{perception, prediction} modules, like 3D info, trajectorys to the token embeddings ? As of today, I have not found the clue that the VLM module senna_llava_llama.py integrates this part into.
Best,
Lewis

Sorry to disturb you, I have not found the module about senna_E2E and I don't find out how to realize the interaction code between senna_VLM module and VAD-like E2E code, have you figured out?

Hi there,
Thanks for releasing the repo.
Could you please identify how we convey the features from E2E_{perception, prediction} modules, like 3D info, trajectorys to the token embeddings ? As of today, I have not found the clue that the VLM module senna_llava_llama.py integrates this part into.
Best, Lewis

Hi, Lewis,
When ground-truth perception results are unavailable, Senna can convert the 3D info and trajectories output by the E2E module into prompts required for scene understanding, such as Motion Intention Prediction. However, this is not the main focus of this paper, so we did not discuss it in detail. Nonetheless, thank you for your question, and we will explain this part more clearly in future updates to the paper.

Sorry to disturb you, I have not found the module about senna_E2E and I don't find out how to realize the interaction code between senna_VLM module and VAD-like E2E code, have you figured out?

Since part of the Senna-E2E code is implemented based on the company's internal framework, it may not be fully open-sourced. However, I will try to open-source the core components of Senna-E2E in the future. To answer your question, as Senna-VLM outputs formatted meta-actions, Senna has a one-to-one embedding (randomly initialized) for each meta-action, which serves as the meta-action feature and is fed into Senna-E2E as an input feature for the planning module. During the training process of the Senna-E2E module, the weights of the meta-action embeddings are updated. You can also refer to the last few paragraphs of Sec III.B in the paper for more details.

Thanks for your reply!

@rb93dett  Thanks a lot for the reply. Closing this issue.


Existing database and Translatable extension

Hi,
a costumer has a recipes website based on Symfony 2. It now would like to internationlize it and translate each recipe in several languages.
I've tried to use the Translatable extension and I expect the generation of a table in my DB that not seem to happen.
Is it correct to use this extension or am I wrong?
What I think is that the extension works properly when a project starts from scratch and not if it is a consolidated product. Hope that impression is wrong.
Please, let me know on how can I approach this.
Thanks,
Andrea

Hi Andrea, there is no automatic migration process, unless you build it for your requirements.

You may set default locale to one which is used untranslated. And translatable will use that for the default locale translations.
You can use something else or custom.
Or analyse how extensions store translations and run a migration.

Cheers,

Thanks l3pp4rd,
I think that the last point is the one I should follow. If I understood, I can try to make a new Symfony2 project and apply those extensions, in order to see which database structures it creates. Then I could try to apply it to my existing project.
Is it right?
Thanks,
Andrea

Yes, exactly. Also look first if you have only one language to migrate, choosing default locale does not create extra translation records..

If I have more languages to provide, should I not consider this way?
Generally speaking, what I would like to do is to define the logic at the Entity level, passing it the locale and then quering the content from a single translation table that contains all the translations.
If it is well explained, what do you suggest to do?

well, just look how it works and populates translation table, then create a migration script and all should work. one field is translated per row. if you want more elegant solution, go with custom.

When you say custom, which are the best practices? Can you suggest me something?
Right now I'm not able to figure out how to define the logic to catch an alternative string once it is defined a specific locale. I would like to act at the Entity class level.
Thanks for your really fast replies!

Ask that question on stackoverflow


Tab freeze

we tried to implement marquee3k on 2 website over a 1year span, and only those 2 websites had this exact same bug :
once in a while, our tab will freeze, and we are unable to close it
only by force killing chrome...
So we expect that it is this marquee3000 lib that bug ;)
I found a user that may have the same bug using this lib too - see here

I had this issue too but it only happens if you have many tabs on Chrome running a lot of animations like the marquee ticker library. It seems to be effective when you have a default speed of 0.25x and initialize your ticker when it is within viewport.
Also, make sure your markup is set up correctly, otherwise, initializing the ticker will most likely crash your browser. I never seem to have this issue if I init the ticker right after everything on my page has finished loading.

Had this same issue which is why I stopped using this script. :( Was hoping maybe someone had found a production ready solution. It's just not worth risking freezing my users browsers if they happen to open the page in a new background tab.


Put base64 images into a folder?

What if we take the base64 images from the newsletter/pages and put them into an actual folder at save, then replace them with the correct path?

Mmmh. Except base64 is actually better for newsletters.

... Except the pages/newsletters becomes impossible to edit otherwise :/

... Except the pages/newsletters becomes impossible to edit otherwise :/


Number should support generic notation

Number is very generic, ranging from mere integers to float and double.
It would be nice to be able to limit the numeric range, by say
@param {number<int>} param the param
@param {number<float>} param the param
@param {number<double>} param the param

While int, of course, could be also made generic in that it comprises of byte, short, long and so on...

@silkentrance you can use @typedef and @external for int, float, double and etc.


Unable to setup debug service

I'm encountering issues when setting up the debug service in Code for i.
The first error was not being able to create the "certs" folder.  Developers don't have write access to the /QIBM path so VS Code wasn't able to create the folder.
We do have a tool that gives us sudo-like capabilities so using that in an ACS session I manually created the /QIBM/ProdData/IBMiDebugService/bin/certs folder and gave myself access.
After that Generate Certificates fails with "Failed to create certificates."  There is no additional information in the error message.
Are there steps I can do manually to get this to work?

@BrianGarland regarding that directory: I have a PR coming that changes the default to a writable directory and also makes it configurable. This will solve that issue.
For the commands. I will pull them from the code and get back to you.

Should be fixed by #1895


Sharepoint Server 2016 client component SDK for tenant admin?

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

https://www.microsoft.com/en-us/download/details.aspx?id=51679 does NOT have tenant DLL for SharePoint 2016 on-prem. Where to get the library? Thanks!

Hi khteh,
Have a look at the following nuget package: https://www.nuget.org/packages/Microsoft.SharePoint2016.CSOM/


Add Developer's guide and best practices

Resolves #654

Very cool to see this. I'll let @alpe review and give approval, but great addition

putting that together, my notes, in case it helps:
our chain-id is going to be localnet
our gas denomination is going to be configured to uwasm
staking denomination is the default ustake
adding two users: tester1 and validator1

wasmd init localnet --chain-id localnet
edit ~/.wasmd/config/app.toml

set minimum-gas-prices to 0.025uwasm

edit ~/.wasmd/config/client.toml

set chain-id to localnet

edit ~/.wasmd/config/config.toml

change all the times to 200ms

wasm keys add tester1
wasmd add-genesis-account $(wasmd keys show -a tester1)<PHONE_NUMBER>0uwasm,10000000000ustake
wasm keys add validator1
wasmd add-genesis-account $(wasmd keys show -a validator1)<PHONE_NUMBER>0uwasm,10000000000ustake
wasmd gentx validator1 "250000000ustake" --chain-id="localnet" --amount="250000000ustake"
wasmd collect-gentxs

now wasmd start should just work

Hey.. in the name of "Developer's guide and best practices", can we please have a Getting Started.md?
What I mean is a list of steps that gets a new developer up and running with an instance of wasmd that they can deploy contracts to.
I'd write it and suggest in the PR, but as of right now I don't know the correct steps.
A bit of a guess, but something like:

make install (okay, that is in the Readme)
add initial accounts (wasmd keys something or other?)
create genesis (I am not sure what this is for, if it's necessary, how to do it, and how it relates to wasmd as opposed to other layers of the stack)
speed up block time (something like this?)

A lot of this should be in an overhauled docs site, and definitely info on connecting to chains, setting up Go, etc. But it would be good to have the notes here. Especially things like compiling on MacOS (the ledger warnings/errors), arm64 compatibility, etc.

Documentation is an epic were you can always add more or improve it. I think it is important to get something out that we use to iterate and improve.
This document is targeting  wasmd contributors as a start. There is a lot more that we need to share with new developers like test strategy and best practices, in order to grow the contributor list in the future.
Other roles like contract developers are not covered here. It is a fair request to have doc for them, too or link to it.
I have create #1081 to follow up on your request @dakom . Thanks a lot for bringing this up! I would be happy if you can help us building better docs.


Binaries reporting 404

I was trying to get open264 codecs installed on my Fedora Desktop but I can't seem to do so because the binaries are reporting 404.
➜  ~ sudo dnf install openh264 mozilla-openh264
Fedora 39 openh264 (From Cisco) - x86_64        763  B/s | 989  B     00:01
Dependencies resolved.
================================================================================
 Package             Arch      Version           Repository                Size
================================================================================
Installing:
 mozilla-openh264    x86_64    2.3.1-2.fc39      fedora-cisco-openh264    427 k
 openh264            x86_64    2.3.1-2.fc39      fedora-cisco-openh264    420 k

Transaction Summary
================================================================================
Install  2 Packages

Total download size: 847 k
Installed size: 2.2 M
Is this ok [y/N]: y
Downloading Packages:
[MIRROR] openh264-2.3.1-2.fc39.x86_64.rpm: Status code: 404 for http://ciscobinary.openh264.org/openh264-2.3.1-2.fc39.x86_64.rpm (IP: <IP_ADDRESS>)
[MIRROR] mozilla-openh264-2.3.1-2.fc39.x86_64.rpm: Status code: 404 for http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.fc39.x86_64.rpm (IP: <IP_ADDRESS>)
[MIRROR] openh264-2.3.1-2.fc39.x86_64.rpm: Status code: 404 for http://ciscobinary.openh264.org/openh264-2.3.1-2.fc39.x86_64.rpm (IP: <IP_ADDRESS>)
[MIRROR] mozilla-openh264-2.3.1-2.fc39.x86_64.rpm: Status code: 404 for http://ciscobinary.openh264.org/mozilla-openh264-2.3.1-2.fc39.x86_64.rpm (IP: <IP_ADDRESS>)
[FAILED] mozilla-openh264-2.3.1-2.fc39.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
(2/2): openh264-2.3. 50% [==========          ] 420 kB/s | 427 kB     00:01 ETA
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
  mozilla-openh264-2.3.1-2.fc39.x86_64: Cannot download, all mirrors were already tried without success

Even trying to open binary links from past 2 releases (2.40 and 2.41) leads me to 404.

This was probably a transient network/server issue, the package URLs work for me now.


Error when uploading

I get this error when I upload the package.zip, I got my data 3hrs ago. Thank you!
chunk-F3NYKV2Z.js:7 TypeError: Cannot read properties of null (reading 'content')
at E9 (chunk-H7Q3MJJL.js:34:825)
at Zi (chunk-F3NYKV2Z.js:5:52842)
at na (chunk-F3NYKV2Z.js:9:8687)
at qs (chunk-F3NYKV2Z.js:9:933)
at Qf (chunk-F3NYKV2Z.js:9:864)
at ut (chunk-F3NYKV2Z.js:9:724)
at yi (chunk-F3NYKV2Z.js:7:10856)
at chunk-F3NYKV2Z.js:5:38670
at L.unstable_runWithPriority (chunk-F3NYKV2Z.js:1:4026)
at rn (chunk-F3NYKV2Z.js:5:38448)
ui @ chunk-F3NYKV2Z.js:7
chunk-F3NYKV2Z.js:7 TypeError: Cannot read properties of null (reading 'date')
at o (chunk-H7Q3MJJL.js:31:38715)
at O9 (chunk-H7Q3MJJL.js:32:75)
at Zi (chunk-F3NYKV2Z.js:5:52842)
at na (chunk-F3NYKV2Z.js:9:8687)
at qs (chunk-F3NYKV2Z.js:9:933)
at Qf (chunk-F3NYKV2Z.js:9:864)
at ut (chunk-F3NYKV2Z.js:9:724)
at yi (chunk-F3NYKV2Z.js:7:10856)
at chunk-F3NYKV2Z.js:5:38670
at L.unstable_runWithPriority (chunk-F3NYKV2Z.js:1:4026)
ui @ chunk-F3NYKV2Z.js:7
root-N7Z4GSUZ.js:1 TypeError: Cannot read properties of null (reading 'date')
at o (chunk-H7Q3MJJL.js:31:38715)
at O9 (chunk-H7Q3MJJL.js:32:75)
at Zi (chunk-F3NYKV2Z.js:5:52842)
at na (chunk-F3NYKV2Z.js:9:8687)
at qs (chunk-F3NYKV2Z.js:9:933)
at Qf (chunk-F3NYKV2Z.js:9:864)
at ut (chunk-F3NYKV2Z.js:9:724)
at yi (chunk-F3NYKV2Z.js:7:10856)
at chunk-F3NYKV2Z.js:5:38670
at L.unstable_runWithPriority (chunk-F3NYKV2Z.js:1:4026)

Unfortunately it's always difficult to debug these kinds of issues since I only have access to my own data packages. I can't reproduce the issue with my last one from December, but I've requested a new one to see if the format might have changed since then.
Otherwise it may be something specific in your package. Did this happen during the processing of the package or later when you were already looking at the stats?

My friend have the same issue, it seems that it does not work with new data!

Just got my latest data package and I can reproduce the problem - will have a look this weekend.

Discord indeed changed their message file format from XML to JSON, and the site didn't know how to handle that - should be fixed in 4e22e5ef20bff4491dad53f5ffdb8d013d2ee130 (which is live already).
Let me know if that works for you (you'll have to let the site scan your package again) or if you still see issues on your end.

It's working perfectly, thank you !! @davidbmaier


Add support for ruby 2.2

Currently blocked by support for the json gem on ruby 2.2: https://github.com/flori/json/issues/229

Closed by https://github.com/assaf/vanity/commit/d069e60ae4bbfa04ed303f5a65dedbe361d72c4b


Merge broke current build. Button cannot appear as a descendant of button. Collapse not working.

Prerequisites

[x] Using npm
[x] Using an up-to-date [main branch]
[x] Using latest version of devtools. [Check the docs for how to update]
[x] Tried solutions mentioned in [#400]
[X] For issue in production release, add devtools output of DEBUG_PROD=true npm run build && npm start

validateDOMNesting(...):  cannot appear as a descendant of .
at button
at http://localhost:1212/renderer.dev.js:31985:66
at http://localhost:1212/renderer.dev.js:1761:15
at http://localhost:1212/renderer.dev.js:1864:20
at button
at http://localhost:1212/renderer.dev.js:31985:66
at http://localhost:1212/renderer.dev.js:526:32
at h2
at div
at http://localhost:1212/renderer.dev.js:31985:66
at http://localhost:1212/renderer.dev.js:463:24
at BrowserCollapse (http://localhost:1212/renderer.dev.js:107567:28)
at div
at http://localhost:1212/renderer.dev.js:31985:66
at http://localhost:1212/renderer.dev.js:410:23
at div
at List (http://localhost:1212/renderer.dev.js:107658:45)
at TabContextProvider (http://localhost:1212/renderer.dev.js:108034:31)
at div
at http://localhost:1212/renderer.dev.js:31985:66
at http://localhost:1212/renderer.dev.js:7993:94
at SearchContextProvider (http://localhost:1212/renderer.dev.js:107947:34)
at div
at Hello
at Routes (http://localhost:1212/renderer.dev.js:101831:5)
at Router (http://localhost:1212/renderer.dev.js:101765:15)
at MemoryRouter (http://localhost:1212/renderer.dev.js:101678:5)
at App
at EnvironmentProvider (http://localhost:1212/renderer.dev.js:14894:24)
at ColorModeProvider (http://localhost:1212/renderer.dev.js:3194:21)
at ThemeProvider (http://localhost:1212/renderer.dev.js:32024:64)
at ThemeProvider (http://localhost:1212/renderer.dev.js:20377:27)
at ChakraProvider (http://localhost:1212/renderer.dev.js:14194:24)
at ChakraProvider (http://localhost:1212/renderer.dev.js:15575:23)
overrideMethod @ react_devtools_backend.js:4026
printWarning @ react-dom.development.js:86
error @ react-dom.development.js:60
validateDOMNesting @ react-dom.development.js:10846
createInstance @ react-dom.development.js:10927
completeWork @ react-dom.development.js:19415
completeUnitOfWork @ react-dom.development.js:26552
performUnitOfWork @ react-dom.development.js:26524
workLoopSync @ react-dom.development.js:26422
renderRootSync @ react-dom.development.js:26390
performSyncWorkOnRoot @ react-dom.development.js:26041
flushSyncCallbacks @ react-dom.development.js:12009
(anonymous) @ react-dom.development.js:25607

Expected Behavior

Tab throws error when search is executed. After that, the tab fails to collapse.
Current Behavior

Steps to Reproduce

Run app with DEBUG=true

2.execute a search

exception thrown

Possible Solution (Not obligatory)

Context

Your Environment

Node version : 16.2.0
Operating System and version : Ubuntu 20.04

:+1:

#30

This issue persists. Still getting
Warning: validateDOMNesting(...):  cannot appear as a descendant of .
at button
at http://localhost:1212/renderer.dev.js:31985:66
at http://localhost:1212/renderer.dev.js:1761:15
at http://localhost:1212/renderer.dev.js:1864:20
at button
at http://localhost:1212/renderer.dev.js:31985:66
at http://localhost:1212/renderer.dev.js:526:32
at h2
at div
at http://localhost:1212/renderer.dev.js:31985:66
at http://localhost:1212/renderer.dev.js:463:24
at BrowserCollapse (http://localhost:1212/renderer.dev.js:107567:28)
at div
at http://localhost:1212/renderer.dev.js:31985:66
at http://localhost:1212/renderer.dev.js:410:23
at div
at List (http://localhost:1212/renderer.dev.js:107658:45)
at TabContextProvider (http://localhost:1212/renderer.dev.js:108033:31)
at div
at http://localhost:1212/renderer.dev.js:31985:66
at http://localhost:1212/renderer.dev.js:7993:94
at SearchContextProvider (http://localhost:1212/renderer.dev.js:107946:34)
at div
at Hello
at Routes (http://localhost:1212/renderer.dev.js:101831:5)
at Router (http://localhost:1212/renderer.dev.js:101765:15)
at MemoryRouter (http://localhost:1212/renderer.dev.js:101678:5)
at App
at EnvironmentProvider (http://localhost:1212/renderer.dev.js:14894:24)
at ColorModeProvider (http://localhost:1212/renderer.dev.js:3194:21)
at ThemeProvider (http://localhost:1212/renderer.dev.js:32024:64)
at ThemeProvider (http://localhost:1212/renderer.dev.js:20377:27)
at ChakraProvider (http://localhost:1212/renderer.dev.js:14194:24)
at ChakraProvider (http://localhost:1212/renderer.dev.js:15575:23)
On current build. Just pulled and rebuilt.

Still cannot build a functional build on linux.

https://github.com/yessGlory17/programmer-browser/pull/63