Bug: Tabline with No Name or plugin one

Self Checks

[x] I'm using the latest lualine.
[x] I didn't find the issue in exsisting issues or prs.

How to reproduce the problem

I have Chadtree or symbols-outline, they open up a sidebar and when I switch the focus the tab name changes. I would like that is kept the filename in the tab.
My settings
require('lualine').setup{
    options = {
        theme = 'papercolor_light',
        icons_enabled = true,
        disabled_filetypes = {'alpha', 'Outline', 'plugins','CHADTree'},
    },
    sections = {
        lualine_a = { { 'mode', fmt = string.upper } },
        lualine_b = {  },
        lualine_c = { { 'diff', icon = ''}, {
            'lsp_progress',
            display_components = {'lsp_client_name', 'spinner', { 'title', 'percentage', 'message' }},
            spinner_symbols = {'⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'},
          }
        },
        lualine_x = {},
        lualine_y = {  },
        lualine_z = { { 'diagnostics', sources = {'nvim_lsp', 'ale'}, sections = {'error', 'warn', 'info'} } }
    },
    tabline = {
        lualine_a = {{'tabs',
            max_length = vim.o.columns / 3,
            mode = 2
        }},
        lualine_b = {'filename', 'filetype'},
        lualine_c = {},
        lualine_x = {},
        lualine_y = {{ 'branch', icon = '' }},
        lualine_z = {{ 'nofixme#amount'}}
    },
    extensions = { 'fzf', 'chadtree', 'fugitive', 'quickfix' }
}

I would like that is kept the filename in the tab.

what's filename in the tab? how do you define that ? How about when there are multiple windows with different files in a tab ? How do lualine know what names you want to be shown or not?
To me current behavior is expected behavior. It's suppose to show name of active buffer.
You can always write a function or a custom component for your desired behavior.

But it seemed you want filename component not to change when you jump to chadtree....

Yes basically this is the idea, in this way it is kept the filename also on switching tabs. I don't know what is the right way but maybe check the number of buffers in that window and took the central one or do a parameter where you define the filetype to ignore. With the last one basically if the buffer name is OUTLINE don't change the tab text.

maybe check the number of buffers in that window and took the central one

An window is just a view into buffer, multiple windows can contain same buffer . Also when you open a vertical split like opening chadtree one window is in left and other on right visually but there's no way to retrieve that layout info as I know of and center makes no sense there anyway.

do a parameter where you define the filetype to ignore. With the last one basically if the buffer name is OUTLINE don't change the tab text

This ignoring doesn't make sense on statusline you'd only want that behavior in tabline .
To me this adds a lot of complexity for niche usecase so lualine won't be supporting it out of the box. You can implement it in you config as function or custom component.
for example as custom component you can do something like:
local tab_fname = require('lualine.components.filename'):extend()
function tab_fname:update_status(is_focused)
  if not vim.tbl_contains(self.options.disabled_filetypes, vim.bo.ft) then
    self.last_fname = self.super.update_status(self, is_focused)
  end
  return self.last_fname or ''
end

then use it in your tabline
tabline = {
   lualine_b = {tab_fname},
}

Seems a good solution, I am trying to understand how to extend the tabs module to achieve it.
I am not a Lua expert and this code doesn't work:
local tab_fname = require('lualine.components.tabs.init'):extend()
function tab_fname:Tab:label(is_focused)
  if not vim.tbl_contains(self.options.disabled_filetypes, vim.bo.ft) then
    self.last_fname = self.super.update_status(self, is_focused)
  end
  return self.last_fname or ''
end

Overwrite the label function.
local old_tab_label = require('lualine.components.tabs.tab').label
_G.lualine_tabs_last_fname = {}
require('lualine.components.tabs.tab').label = function(self)
  if not vim.tbl_contains(self.options.disabled_filetypes, vim.bo.ft) then
    _G.lualine_tabs_last_fname[self.tabnr] = old_tab_label(self)
  end
  return _G.lualine_tabs_last_fname[self.tabnr] or ''
end
``

It is not clear how to add it in the settings:
    tabline = {
        lualine_a = {{tab,
            max_length = vim.o.columns / 3,
            mode = 2
        }},

I get this

If I use:
    tabline = {
        lualine_a = {{'tabs',
            max_length = vim.o.columns / 3,
            mode = 2
        }},

I think that the new code is not executed.

Any help for this?
I am not a Lua expert but I think that there is something wrong here.

Any help for this?
I am not a Lua expert but I think that there is something wrong here.

what's wrong? I'm not sure what you're trying to do here

I am trying to use your code for tabs. It isn't needed to specify the function in the lualiane parameters as before?

It isn't needed to specify the function in the lualiane parameters as before?

No just put it before your lualine setup call and have 'tabs' in your tabline config.

Yes in that works, I think that Lua hate me 😆


Added favicon

Added favicon to the site. #12

New issue: https://github.com/DevMingler/logo-pairs-game/issues/14
Please have a look and see if you'd like to implement the changes.


Move appium-instruments

First step in https://github.com/appium/appium/issues/7469
Brings appium-instruments into appium-ios-driver. Unit and functional tests added to the latter's test suite (under driver tests for functional).

You don't want to read over 149 files? :)


Integrate pull request preview environments

I would like to support Agora Flat by implementing Uffizzi preview environments.
Disclaimer: I work on Uffizzi.
Uffizzi is a Open Source full stack previews engine and our platform is available completely free for Agora Flat (and all open source projects). This will provide maintainers with preview environments of every PR in the cloud, which enables faster iterations and reduces time to merge. You can see the open source repos which are currently using Uffizzi over here
Uffizzi is purpose-built for the task of previewing PRs and it integrates with your workflow to deploy preview environments in the background without any manual steps for maintainers or contributors.
We can go ahead and create an Initial PoC for you right away if you think there is value in this proposal.

Thank you but we do not plan to add more complexity to PR.
Closing as not planed.


Add Statistical Tests form random.hpp

As a user I would like to validate the functionality of the random number generator using a statistical test method such as diehard so that I can be confident the library is adequately generating random input for secret values.
different platforms handle random number generation differently and as a safety feature we should add statistical tests that can verify the functionality of our internal random number process on a variety of hardware, operating systems, and compilers.

@AddressXception - do we need to be more specific about where is needs to be added or will it be obvious to someone who pikcs up this ticket?


Offline-Model via LM Studio does not work as expected / local-model confusion

Hi,
the readme says, this project would work with a local LM Studio server. The docs says, you have to edit the config/offline-model.config, which does not exist, but the file with the similar purpose is 'config/local-model.config', at least I guess it's meant like that. When trying to run 'python interpreter.py -md 'code' -m 'local-model' -dc' it will ask for the .env with keys for the remote LMs. Creating an empty .env or and .env with empty keys does not change anything. Looks like a bug to me.
Would be great to use this project without using proprietary models.
Thanks, BR Tobias

Okay yes it assumes you already have .env files from previously using sessions of online models,
will work on this bug asap.
Thanks

Fixed the bug in the latest PR


After scroll, the scrollview inset is wrong

Hi, I am using this in a UIViewController, as a child view controller of a uitabbarcontroller. After scroll, the tableView (root view in UITableviewController) will have an offset below the navigation bar. The extra space is about the height of the navigation bar. From Xcode, if I uncheck the Adjust Scroll View Insets checkbox for the view controller, the extra space will disappear after scroll, but the content section will go under the nav bar before the scroll.
To repro this, go with the instruction video, but after embedding the UIViewController with a navigation controller, connect this navigation controller to a UITabbarController. I am using the latest version 1.0, installed via cocoapod.

Hi i am using AMScrolling with uitableview with uiviewcontroller that loaded to uicontainer view.
where AMScrolling does  not working, any hint

is any way AMScrollingnavBar may work in ContainerView please help


Remix and Cypress hydration problem

Have you experienced this bug with the latest version of the template?
Yes
Steps to Reproduce
Setup the template and run npm test:e2e:dev and run the smoke test in either chrome or electron and open the console.
Expected Behavior
That there shouldn't be any hydration probelms
Actual Behavior
The console is filled with:
react-dom.development.js:86 Warning: Expected server HTML to contain a matching <meta> in .     at meta     at head     at html     at App     at RemixRoute (http://localhost:3000/build/_shared/chunk-DRRZ7FOQ.js:7074:3)     at RenderedRoute (http://localhost:3000/build/_shared/chunk-DRRZ7FOQ.js:4543:5)     at RenderErrorBoundary (http://localhost:3000/build/_shared/chunk-DRRZ7FOQ.js:4932:9)     at Routes (http://localhost:3000/build/_shared/chunk-DRRZ7FOQ.js:4803:5)     at Router (http://localhost:3000/build/_shared/chunk-DRRZ7FOQ.js:4750:15)     at RouterProvider (http://localhost:3000/build/_shared/chunk-DRRZ7FOQ.js:4699:5)     at RemixErrorBoundary (http://localhost:3000/build/_shared/chunk-DRRZ7FOQ.js:6693:5)     at RemixBrowser (http://localhost:3000/build/_shared/chunk-DRRZ7FOQ.js:8138:55) printWarning @ react-dom.development.js:86 error @ react-dom.development.js:60 warnForInsertedHydratedElement @ react-dom.development.js:10499 didNotFindHydratableInstance @ react-dom.development.js:11458 warnNonhydratedInstance @ react-dom.development.js:12385 tryToClaimNextHydratableInstance @ react-dom.development.js:12534 updateHostComponent @ react-dom.development.js:19902 beginWork @ react-dom.development.js:21618 beginWork$1 @ react-dom.development.js:27426 performUnitOfWork @ react-dom.development.js:26560 workLoopConcurrent @ react-dom.development.js:26543 renderRootConcurrent @ react-dom.development.js:26505 performConcurrentWorkOnRoot @ react-dom.development.js:25738 workLoop @ scheduler.development.js:266 flushWork @ scheduler.development.js:239 performWorkUntilDeadline @ scheduler.development.js:533 react-dom.development.js:12507 Uncaught Error: Hydration failed because the initial UI does not match what was rendered on the server.     at throwOnHydrationMismatch (react-dom.development.js:12507:9)     at tryToClaimNextHydratableInstance (react-dom.development.js:12535:7)     at updateHostComponent (react-dom.development.js:19902:5)     at beginWork (react-dom.development.js:21618:14)     at HTMLUnknownElement.callCallback2 (react-dom.development.js:4164:14)     at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:16)     at invokeGuardedCallback (react-dom.development.js:4277:31)     at beginWork$1 (react-dom.development.js:27451:7)     at performUnitOfWork (react-dom.development.js:26560:12)     at workLoopConcurrent (react-dom.development.js:26543:5)

I've been debugging this as it makes our e2e test flaky due to re-renders and with that we get detached elements.
Here's some discussion discussion
Could the problem be that cypress injects quite a lot of stuff into the html?
https://github.com/cypress-io/cypress/blob/master/packages/proxy/lib/http/response-middleware.ts#L540
That's my prime suspect as I don't have any problems with hydration outside of cypress.

If I disable the code injection cypress (skip the MaybeInjectHtml middleware) does I don't get any hydration errors, that also breaks cypress.

I think the hydration errors seem to make our tests flakey too.  We're using emotion / material UI which perhaps makes things worse.
Our issue can be summarised like:

The page loads
Cypress clicks a button to submit a form
The page reloads (I think because of hydration issues)
The form is never submitted and the test times out

If I put a hack in wait for 50ms before submitting the form then they run consistently.

Did you ever fix this?

@triptec I have encountered the same issue.  No workaround right now, will consider moving on from cypress

The issue is not tied to the indie stack actually, but I'm not sure the issues here have the same visibility as those in the remix main repository. Still no answer from the dev team 😢
Should we move the issue to the main repo ? 🤷🏻♂

Relates to https://github.com/remix-run/remix/issues/4822

Some workaround I found to avoid issues caused by the dom being trashed by the hydration while the test is running.
// cypress/support/commands.ts
Cypress.Commands.overwrite('visit', (originalFn, ...args) => {
  originalFn(...args);
  cy.get('#__is_hydrated__').should('exist');
});

// app/root.tsx
import { ClientOnly } from 'remix-utils/client-only';

export default function App() {
  return (
    <>
      <YourAppCode />
      {/* Avoid workaround from being in the production build */}
      {process.env.NODE_ENV === 'development' ? (
        <ClientOnly>{() =>

}</ClientOnly>
      ) : null}
    </>
  );
}


Includes fee 7%

what is this for joke?

This is radiculous indeed. 5% was high already.

exactly, i was think about decrease till 2%...

They didn't even told us about that ''little change''.


Support for top level folders

@lukasbach,
Maybe it's my missing but I tried for a while but still can not find a way to sort the folders at top level.
I've also tried to enable the "show root folder" in the file tree alternative plugin, but the right-click-menu of
top level folder only has a "create new folder" feature.
It's seems that the file-order plugin need a button to popup the file sort on top folder?
Thank you for contribution,
Best regards,
Houcheng

You can right-click on a non-folder item in the root folder and reorder from that context menu, or use the "Reorder items in top folder" global command.


Add hint for adding multiple columns with lambdas

Hi there,
I added some documentation for using lambda for multiple columns.
Cheers,
dg

thanks! i still forget the braces sometimes :)


Implement a dialect-specific rule for unparsing an identifier with or without quotes

Which issue does this PR close?
Closes #10557
Rationale for this change

What changes are included in this PR?
Only implement the default dialect in this PR. We need other follow-up PR for other dialects.

Are these changes tested?
Yes

Are there any user-facing changes?
No

Thanks @goldmedal I'm thinking how this will work with whitespaces columns like
select 1 as "a a";

Thanks @comphead :)
I'm not sure what you mean but I think it also works like other illegal char for SQL identifiers. I add a test case for it in 44e9baa.

Thank you @goldmedal -- I think this looks really nice
Thank you for the reviews @comphead
I left some suggestions for improvement but I think they could be done as follow on PRs as well.
cc @phillipleblanc and @devinjdangelo and @backkem

Thanks @alamb !
I think the suggestions is very simple and reasonable. So, I just fixed them in this PR quickly.

Thanks again @alamb @backkem @phillipleblanc @lewiszlw @comphead :)

This shouldn't have passed checks.
+ cargo fmt --all -- --check
`cargo metadata` exited with an error: error: failed to load manifest for workspace member `/opt/dev/datafusion/datafusion/core`
referenced by workspace at `/opt/dev/datafusion/Cargo.toml`

Caused by:
  failed to load manifest for dependency `datafusion-functions`

Caused by:
  failed to parse manifest at `/opt/dev/datafusion/datafusion/functions/Cargo.toml`

Caused by:
  dependency (regex) specified without providing a local path, Git repository, version, or workspace dependency to use

functions/Cargo.toml
regex = { worksapce = true, optional = true }

This shouldn't have passed checks.
+ cargo fmt --all -- --check
`cargo metadata` exited with an error: error: failed to load manifest for workspace member `/opt/dev/datafusion/datafusion/core`
referenced by workspace at `/opt/dev/datafusion/Cargo.toml`

Caused by:
  failed to load manifest for dependency `datafusion-functions`

Caused by:
  failed to parse manifest at `/opt/dev/datafusion/datafusion/functions/Cargo.toml`

Caused by:
  dependency (regex) specified without providing a local path, Git repository, version, or workspace dependency to use

functions/Cargo.toml
regex = { worksapce = true, optional = true }

Yeah, I don't know why that is a warning and not an error -- here is a PR to fix it: https://github.com/apache/datafusion/pull/10662


Python Style Guide Documentation

📚 Documentation
Create a Python Style Guide Documentation in the specific Python Directory which serves the following purpose:

Acquaint the User about the Python Styles Guide and what are the best practices to follow (PEP-8).
Mention about Code Width and Alignment, a proper convention to add Whitespaces and Indentation.
Mention about Variable Naming Conventions and various best practices followed in Python Programming.

Have you read the Contributing Guidelines on Pull Requests?
Yes

Hi. Can you assign me this issue?

Hi. Can you assign me this issue? @atarax665

@DeagleOfficial Assigned to you.


"Need internet" picture whenever internet is off and looking at a meal

The text loads up because there's a local copy of the data, but the picture doesn't load (maybe put in something saying no internet access).
Or alternatively figure out a way to store offline copy of these pics?

Moved to Trello board


sql: rename column for SHOW STATISTICS

PR: https://github.com/cockroachdb/cockroach/pull/31927
From release notes:

Renamed the first column name returned by SHOW STATISTICS to statistics_name. [#31927][#31927] {% comment %}doc{% endcomment %}

Docs already accurate.


ur-move-1@14-0

Press Submit! You don't need to edit this text or do anything else.
Be aware that your move can take a minute or two to process.

good god finally

ggwp

This was lovely, programmers deserve a proper facebook 💘


Typo in examples / join

In the relational word you need a third table to model the many-to-many relation. In ArangoDB you have a choice depending on the information you are going to store and the type of questions you are going to ask.

In the relational word

Should perhaps say "In the relational world".
https://www.arangodb.com/docs/stable/aql/examples-join.html

That's right, it is supposed to be "world". Thanks for reporting!
https://github.com/arangodb/docs/commit/cc22a8a76fb13769a62db78d3b7e33b0616277c0


Updated conll2012 model with latest traning data

Updated the conll2012 model after training it with --fold-count 10 option. Got a f1 score of 87.01 for the best model and an average of 86.65.

very cool thanks !


Support the ability to “summon” participants to your current file location

Currently, the private preview allows participants to jump to the file location of another participant, as well as “pinning” to a participant, which allows you to automatically follow along with future file and cursor position changes.
However, there may be scenarios where a participant wants to actively capture the attention of everyone else in the collaboration session, as opposed to asking/expecting them to separately jump to/pin to their current file/cursor position. To support this type of interaction, we could add a “summon” capability to allow a one-time sync of all participants active file/cursor position.

@lostintangent this would be great to have! One of my employees is visually impaired and always zoomed in with windows magnifier, this feature would save us a lot of time troubleshooting/debugging if I could "summon" him to my current location if I think I found the issue vs him having to pan his entire screen to get to the pin button or to the solution/file explorer and finding the file.
It'd be nice to have a setting to determine whether it opens a new tab or changes the current one when you are "summoned"
#55 had a comment about classroom/teaching use cases, being able to open a pinned tab in all the guest participants would be a good feature in that scenario. It'd give more flexibility than a "pinned only" and more guidance than a simply "read-only" session

@RyanWilsonBIBend Would you expect the summon feature to notify all participants (more of a "ping"?) that you wanted to capture their attention, and give them the option to ignore it?

I would expect it to be more of a ping.
Maybe the Host could have a "Force Move" option where they are moved to the cursor of the Host ?

This should now be available in v0.3.392/v.0.393.


Don't pass callbacks=None to XGBoostSklearnEstimator._fit

Why are these changes needed?
The original implmentation would pass callbacks=None to XGBoostSklearnEstimator._fit and eventually lead to a TypeError of XGBModel.fit() got an unexpected keyword argument 'callbacks'. This PR instead does not pass the callbacks=None parameter to avoid the error.
Related issue number
This PR fixes #1314
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/FLAML/. See https://microsoft.github.io/FLAML/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed.

@microsoft-github-policy-service agree

Thank you @Atry for the PR! Could you please also update the setup.py to allow xgboost>=2.0.0?

Sure! Updated.


Remove OperatorUpgradeSpec from CRD

It seems this is no longer used in the code, so we can just remove it.

/lgtm


Code Inspection: npm audit on atomist-update-latest-20190709164042

marked:>=0.3.14 <0.6.2

(warn) Regular Expression Denial of Service Upgrade to version 0.6.2 or later.

marked:0.4.0:

typedoc>marked

[atomist:code-inspection:atomist-update-latest-20190709164042=@atomist/atomist-sdm]

Issue closed because branch atomist-update-latest-20190709164042 was deleted.


Not working when compile for Raspberry2+, please help, thank you

Hi, I'm compinig with Arduino IDE directly to bin file for my Raspberry3. I have no issues with other I2C libraries, ADC, I/O, etc work fine, but I can't find an RTC lbrary compatible with Raspberry,
exit status 1, "Errore durante la compilazione per la scheda RaspberryPI B+/2."
I just need to read the clock and store new values.. I;m very sad I can;t find nothing..  strange, I guess it's only a couple of I2C requests tothe device and read the answer, I'm thinking to lead datasheet DS3231 and send I2C commnds manually.
Kindly help me, thank you!

yeah we dont support raspberry pi with this library at all :) please contact the vendor you bought your RTC from for support on getting it running with linux!


All datatypes' json file as default

IComparable
such types cannot be exported.
Is it possible to have all types exported?

IComparable
such types cannot be exported
IComparable and many generics of IComparable<T> are exported in the example included in the repo.

Is it possible to have all types exported?
No, you must list all the types you want to export.


Chekiang

This society is accompanied by the note ‘Kaihsienkung Village, Chekiang’ (today this would be romanized ‘Kaixiangong Village, Zhejiang’). However, according Fei (1939), which appears to be the main source, this village is not in Chekiang but in the neighbouring province of Kiangsu (Jiangsu). For this reason, I would suggest renaming this society 'Jiangsu' or 'Kiangsu'.

There's a couple more sources used for this society in the EA and SCCS data:

chien1967
fei1946
fried1953
lang1946
linebargeretal1956
smith1970
fried1953

Do you have an idea whether they agree on the location?

Hi Robert,
I’ve looked into the other sources. Lang (1946), Linebarger et al. (1956), and Smith (1970) are available on archive.org. They’re all about China as a whole rather than any specific locality. I haven’t been able to find Ch’ien (1967), but based on the title (‘The Government and Politics of China’) I assume this is similar. Fried (1953) focuses on Ch’uhsien (Chuxian) in the province of Anhwei (Anhui). So it would seem that none of the sources are about Chekiang.
The note ‘Kaihsienkung Village, Chekiang’ strongly suggests that Murdock had this village in mind when coding this society, but for some reason got its location wrong.
Best wishes,
Oliver

@olcsheehan so the geo-coordinates are correct, but the name (the province) is wrong?

The coordinates are slightly off. I believe this is the place:

The coordinates are only slightly off. Kaixiangong village is not marked on Google Maps, but there's a place called 'Kaixiangong Car Station' that matches the maps and descriptions in Fei (1946). The coordinates are 30.98, 120.49 (I tried posting a link but it didn't seem to work).

Hi, I checked this and @olcsheehan is right. The coordinates are approximately 31 N, 120.5 E, and the province is "Kiangsu" according to Fei (1946), now written as Jiangsu https://en.wikipedia.org/wiki/Jiangsu
However, the question is whether to name the culture by province name or just generically "Chinese" as was the original SCCS name. https://d-place.org/society/SCCS114
Alternatively it can be named "Wu Chinese" (according to the dialect) or "Han Chinese" (according to the ethnicity) https://en.wikipedia.org/wiki/Wu_Chinese-speaking_people
See also HRAF - correct coordinates and name "Han Chinese"

Going with "Han Chinese", following HRAF, would seem the best option to me.

I'm fine with that.

‘Han Chinese’ would be fine if Chekiang were the only society in the EA meeting this definition, but there’s also Cantonese (Ed16), Min Chinese (Ed6), and Shantung (Ed10).

So, if Chekiang is the only society for Wu Chinese in SCCS, we could rename to "Chinese" there (the particuliarities will still be conveyed through the "sub_case" field of each datapoint), and rename to Kiangsu or Jiangsu for EA, since, a more fine-grained name seems to be intended by the D-PLACE editors with "Chekiang".

That would make sense :)

@xrotwang -- perhaps we need to display things as {{ name }} - {{subcase}} on the website to make this clearer? Is it the case that a given {{name}} can have multiple subcases? or is it a 1:1 mapping?

@xrotwang -- perhaps we need to display things as {{ name }} - {{subcase}} on the website to make this clearer? Is it the case that a given {{name}} can have multiple subcases? or is it a 1:1 mapping?

I think there might be a few cases of that - e.g. Esa (Ca10) is a subgroup of Somali (Ca2) - but not many.

@SimonGreenhill @olcsheehan there are quite a few cases of the same society having values for different sub-cases. Most of them seem to be in Binford:
sqlite> select cldf_languagereference, count(distinct Sub_Case) as c from valuetable group by cldf_languagereference order by c desc limit 20;
B72|11
B374|9
B355|8
B298|8
B118|8
B357|6
B65|5
B383|5
B372|5
B359|5
B204|5
B381|4
B299|4
B22|4
B1|4
B9|3
B85|3
B75|3
B6|3
B389|3

E.g. here's the subcases for B72:
sqlite> select distinct Sub_Case from valuetable where cldf_languagereference = 'B72';

Special reference to Was Nyae !Kung
Special reference to Dobe !Kung
Special reference to Nyae Nyae !Kung
General
Rainy Season, Mobile !Kung, Camps 1, 3, 5, 6, 9
Dry Season, Mobile !Kung, Camps 2, 4, 7, 10-16
Dry Season, Dobe !Kung
Nyae Nyae !Kung
Dobe !Kung
Southern Auen !Kung
Auen !Kung

Displaying sub-case somewhat prominently can only be done on the value pages (or would you want to list all sub-cases on the society page as well?), and that's where we already do that: e.g. https://d-place.org/valuesets/B021-B72

Superseded by https://github.com/D-PLACE/dplace-dataset-ea/issues/3 and https://github.com/D-PLACE/dplace-dataset-sccs/issues/3


Add courses related to Knowledge Graph

Knowledge graphs is more important than ML/DL, Knowledge graphs give AI the context it needs.

For Artificial Intelligence to make its intelligent decisions, it is necessary to emulate ‘context’. It must be possible to represent the relationships, complexity and, most importantly, the meaning of data in such a way that the AI’s seemingly intelligent conclusions and decision are sensible in the real-world. Within Ontotext’s GraphDB, knowledge graphs represent data and the meaning of that data. This is how information is transformed into the ‘knowledge’ in knowledge graphs. GraphDB’s use of Linked Data captures the relationships between the data, which is the ‘graph’ part. This representation of data’s semantics and its relationships create a contextual understanding that is used by AI to make those seemingly intelligence decisions.

References:

https://www.ontotext.com/blog/artificial-intelligence-and-the-knowledge-graph/
https://neo4j.com/blog/ai-graph-technology-knowledge-graphs/
https://www.forbes.com/sites/bernardmarr/2019/06/26/knowledge-graphs-and-machine-learning-the-future-of-ai-analytics/

You are fast!


.sfdx Folder Created for NON Salesforce Projects

Summary
A .sfdx folder is created with +3k files on every project when VSCode is opened, even though it's not a Salesforce project.  I now have to disable and enable the salesforce extension pack all the time.
This isn't a very pleasant experience.
Steps To Reproduce:
Open a non-Salesforce project.
Expected result
This shouldn't happen.
Additional information
Salesforce Extension Version in VS Code:
60.8.0 - April 10, 2024
SFDX CLI Version:
@salesforce/cli/2.29.5 darwin-arm64 node-v20.11.0
OS and version:
MacOS 14.4.1 (23E224)
VS Code version:
Version: 1.88.1
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:43:08.196Z (6 days ago)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

I verified that in a non-sfdx project, having E4D installed/enabled triggers the start of other extensions.

We have merged a fix for this issue that will be included in the next release of Einstein for Developers.  If this issue is affecting you, one way to workaround would be to install an older version of the E4D extension and use v0.43.1 until the next release is published.  Please let us know if this issue is still present for you after the next release is published.


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 853 ms

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


[cli] rancher up --pull reports success when image pull fails

Rancher versions:
rancher/server: v1.6.14
rancher/agent: v1.2.9
rancher/cli: v0.6.7
Infrastructure Stack versions:
healthcheck: N/A
ipsec: N/A
network-services: N/A
scheduler: N/A
kubernetes (if applicable): N/A
Docker version: (docker version,docker info preferred)
Client:
Version:         1.12.6
API version:     1.24
Package version: docker-1.12.6-71.git3e8e77d.el7.centos.1.x86_64
Go version:      go1.8.3
Git commit:      3e8e77d/1.12.6
Built:           Tue Jan 30 09:17:00 2018
OS/Arch:         linux/amd64
Server:
Version:         1.12.6
API version:     1.24
Package version: docker-1.12.6-71.git3e8e77d.el7.centos.1.x86_64
Go version:      go1.8.3
Git commit:      3e8e77d/1.12.6
Built:           Tue Jan 30 09:17:00 2018
OS/Arch:         linux/amd64
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
Red Hat Enterprise Linux Server release 7.4 (Maipo)
3.10.0-693.21.1.el7.x86_64
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Bare-metal
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node, internal DB
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:

Create the following docker-compose.yml:

version: '2'
services:
  top:
    image: docker.io/centos:7
    command: top
    environment:
    - TERM=xterm-256color
    labels:
      io.rancher.scheduler.global: 'true'
    network_mode: bridge
    tty: true

Start "top" service with rancher CLI:

rancher up --pull --force-upgrade -d top

Edit /etc/hosts on one of the nodes running the "top" service to point docker.io at <IP_ADDRESS>.

<IP_ADDRESS>    docker.io

Run the rancher up command again

rancher up --pull --force-upgrade -d top

Results:
Rancher CLI returns 0 and reports success, even though it was unable to re-pull docker.io/centos:7 on the node with the altered /etc/hosts file.  Expected Rancher CLI to return non-zero and report failure.

Thanks for your report!
With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.
If you think we should keep this issue open, please let me know.


Settings not displaying a correct Group title since upgrading to Umbraco 11

Describe the bug
[untranslated / not supplied title ? ]
To Reproduce
Upgrade from v10 to v11 of Umbraco and UrlTracker
Expected behavior
Correct banner
Screenshots

Hi @martinjgriffiths ! Thank you very much for your bug report. I'll see if I can reproduce this behaviour and get back to you when I have some results. That should be within 2 days.

@martinjgriffiths Can you check which language you have selected for your backoffice account? I've been able to reproduce this behaviour when selecting a language that is not "English (United States)".
If your language is not supported, you can open a pull request with a translation of the language that you want to have supported.

Yup thats it, mines set to English (United Kingdom)

I'm getting this on Umbraco v9 + UrlTracker v9.1.1 as well. Language is set to English (United Kingdom)

Thank you for letting me know. I'll see if I can fix it. I've probably just forgotten to add the language file for the fallback language

@martinjgriffiths I just released a prerelease 11.0.1-beta.1 with a fix for this issue. Can you confirm that this version fixes your issue?
@Mohunky I also released a prerelease 9.1.2-beta.1 with a fix. Can you confirm that this version fixes the issue on your version?

Yup that did the trick for me - thanks for the quick response

@martinjgriffiths I just released a prerelease 11.0.1-beta.1 with a fix for this issue. Can you confirm that this version fixes your issue?
@Mohunky I also released a prerelease 9.1.2-beta.1 with a fix. Can you confirm that this version fixes the issue on your version?

Fixed! Thank you very much, appreciate the fix and the package :)

That makes me happy :D
I'll do a proper release of this fix either later today or at the latest next week.

This issue is fixed in version 9.1.2, 10.2.1 and 11.0.1


do not build bingen if offline compilation is disabled

travis CI is still failing because the library requires OpenCL 1.2 and later header files while travis CI provides OpenCL 1.1 header files


chore: remove beta tag

LGTM, pls just wait for approval

LGTM, pls just wait for approval

Yes, I'm waiting for developer.leaseweb.com deployment


Undocument support for EOL Python 2.6 and 3.3

Python 2.6 and 3.3 are end of life. They are no longer receiving bug fixes, including for security issues. Python 2.6 went EOL on 2013-10-29 and on 2017-09-29. For additional details on support Python versions, see:
https://devguide.python.org/#status-of-python-branches
Removing support for EOL Pythons will reduce testing and maintenance resources.
Using pypinfo, here are the PyPI download statistics for the last 30 days, showing low numbers for these EOL Pythons:

python_version
percent
download_count

2.7
56.49%
3,841,256

3.6
30.41%
2,067,785

3.5
8.38%
569,774

3.4
3.15%
214,075

3.7
1.50%
102,095

2.6
0.04%
2,960

3.3
0.02%
1,236

3.8
0.00%
84

3.2
0.00%
46

None
0.00%
33

https://github.com/ofek/pypinfo
This change only removes the documentation of 2.6 and 3.3. Legacy code is expected to be removed in future commits as the changes are quite extensive.

We can probably cut this line, right?

Yup! I agree. Removed in the latest revision.

Awesome -- can you rebase after the #367 merge I just did?

Done!


Command execution [editor] has not completed. Trace:

Description
Command execution [editor] has not completed. Trace:
Reproduction Steps
through the console using the /lp editor command
Expected Behaviour

Server Details
git-Paper-188 (MC: 1.18.1)
LuckPerms Version
LuckPerms v5.4.2
Logs and Configs
https://gist.github.com/Chypik/ae597a11ff86cd73a0347b47899511a8
Extra Details
No response

https://gist.github.com/ae597a11ff86cd73a0347b47899511a8.git

It's getting stuck doing a DNS lookup, check your servers internet connection + connection settings.


Add Jane Street as a Tier 1 Sponsor

https://github.com/ML-Purdue/ml-purdue.github.io/commit/5d1cd0af6c2daaae19ae9b76d7b9a4287929ee32


add Array::as_any_arc

Which issue does this PR close?
Closes #2901.
Rationale for this change
Allow users to keep downcasted arrays arround. This is useful when you wanna return an array from a method for which you know the type and the caller wants to used the typed array (e.g. for certain kernels).
What changes are included in this PR?
New method Array::as_any_arc.
Are there any user-facing changes?
New method Array::as_any_arc. Since this method is required by all implementations, this is a breaking change.

Marking as draft for now as I'm not sure what the consensus on the path forward here is. I think tcloning the ArrayData is a workable solution currently, and we can continue to provide statically typed versions of kernels to reduce the need for this (#2967)

#2902 got closed using a different implementation.


Support installer environment variables?

The pixi docs describe several environment variables which control the behavior of the installer scripts. I know this action installs pixi via downloadTool(), not with the install scripts, but perhaps still worth supporting? At least the ones shared on all platforms:

PIXI_VERSION (this is just VERSION on linux/mac, maybe worth standardizing?)
PIXI_HOME

Just convenience, but it would be nice to be able to set PIXI_VERSION at the top of a workflow instead of setting version separately wherever this action is used.
I guess the way to do this would be to check process.env here

I want to keep downloadTool as changing this to for example the install.sh script can break things in corporate environments behind a proxy (I had this problem in https://github.com/mamba-org/setup-micromamba/pull/61 before).
Not sure about PIXI_VERSION as this introduces a second way to basically do the same thing without being clear which the preferred way is. I'm also unsure how other setup-* actions do this. I would suppose they also only use the GitHub-provided input arguments.

It does look like other setup-* actions just use the input. I will close this.


Enable TCP as part of dashboard test

WIP until https://github.com/istio/istio/issues/21690 is fixed - the connection closing is a workaround

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
4f101a06a8386349c8a860f443471a43d2f67de1
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
4f101a06a8386349c8a860f443471a43d2f67de1
link
/test lint_istio

gencheck_istio
4f101a06a8386349c8a860f443471a43d2f67de1
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Fix further memory leak(s).

These commits fix at least one memory leak (and possibly others) that were occurring on API 19 and API 21.

Codecov Report

Merging #2674 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #2674      +/-   ##
=========================================
+ Coverage    2.77%   2.77%   +<.01%
=========================================
  Files         258     258
  Lines       12343   12335       -8
  Branches     1111    1111
=========================================
  Hits          342     342
+ Misses      11974   11966       -8
  Partials       27      27

Impacted Files
Coverage Δ

...ava/fr/free/nrw/commons/nearby/NearbyFragment.java
0% <0%> (ø)
:arrow_up:

.../fr/free/nrw/commons/category/GridViewAdapter.java
0% <0%> (ø)
:arrow_up:

...w/commons/contributions/ContributionsFragment.java
0% <0%> (ø)
:arrow_up:

...ommons/contributions/ContributionsListAdapter.java
0% <0%> (ø)
:arrow_up:

...nrw/commons/nearby/NearbyNotificationCardView.java
0% <0%> (ø)
:arrow_up:

...e/nrw/commons/location/LocationServiceManager.java
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Online code preview

What do you think, @GuillaumeGomez, could https://kijewski.github.io/play-rinja/ / https://github.com/Kijewski/play-rinja/ be interesting to someone? If it could be (made) interesting, then I'd move it into the organization.
Right now, it's more or less a prove-of-concept.

It would be useful to me for sure!

Moved: https://github.com/rinja-rs/play-rinja + https://rinja-rs.github.io/play-rinja :)
But it seems like I lost my ownership during the transfer, and I also didn't get it back through the org. I hope do can do settings changes and re-invite me. :D

Don't you have admin rights to do so normally already?

 You're now admin of the organization directly.

Ahh, thank you! :)

Well it was a mistake on my end so now it's fixed at least. :)

https://rinja-rs.github.io/play-rinja/ is pretty, now. :)

It is indeed! Maybe you might want to add a "generate" button to reduce load on your server too.

All the code generation, highlighting, etc., is all done in the browse in Wasm. No data is transferred. That's why I needed https://github.com/rinja-rs/rinja/pull/111 and https://github.com/rinja-rs/rinja/pull/117. :)

Oh wow. That's SUPER cool!

Well, just open a PR to add links to your playground then so we can sell even more rinja to the world. :D

Resolved in #120.


Revert "job"

This reverts commit ec2da386d673174ab3f336933cd3c1f46300614b.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


global namespace pollution

In files glbinding/include/glbinding/Function.h and other unnamed namespaces are used, so all classes declared insde are in fact global, because it's header file included from gl*.h.
I think such helper classes shouldn't pollute global namespace.
I just had compilation error because of this issue.

Thanks for reporting, this is actually a bug and will be fixed.

the tag 1.0.5 was updated, and now includes today's fixes


fix(core): disable add to cart button when products are out of stock

What/Why?

Use isInStock from inventory to check if a product/variant is available to be added to cart.
Show out of stock messaging.

Testing
Locally the button is now disabled when the product is out of stock.

Can we add a test to verify this?

Good idea, looking into this.


errors related to subprocesses in run_evaluation.py

Thank you all for your amazing work here. This benchmark seems extremely useful and I am excited to work on improving performance on it.  Unfortunately I have been encountering some difficulties running the evaluation harness. I have tried running run_evaluation.py on several different platforms (Windows, Mac, Google Colab, an Amazon AWS EC2 Ubuntu instance) and continually encounter errors similar to those described in Issue #6 .
To attempt to fix these errors I adapted the approach suggested by yuexihang in that issue and changed the executions in context_manager.py to bash -c 'source ...' from source .... This allows me to run executions without errors however some gold patches from the dataset seem to be failing to apply and the generations that do successfully run do not log the passed test cases in the log file (but the include the >>>>> All Tests Passed).
The exact modifications I made to the code as well as two of the examples problems I am evaluating it on are under the issue branch of my fork of your repository (to run the code with the modifications you can simply rename context_manager_new.py to context_manager.py).
The matplotlib example given there is the example given in your paper which passes the test cases. It also appears to pass the test cases under the modified code but is an example of a case where the passed test cases are not logged in the log file. The django example appears to be failing to apply but isn't throwing any errors which interrupt execution. Thanks for your help with this error!

This is probably better fixed by https://github.com/princeton-nlp/SWE-bench/pull/31

This seems to partially solve the issue, but I still run into problems with pip which I suspect are related to the repository-specific conda environment not being set up correctly. @JasonGross if you have gotten the code to work with replacing "source" with "." could you share what operating system you are running it on? The initial bin/sh issue seems to go away if I run it on SUSE instead of Ubuntu, but I am still running into other errors.

I'm running it on WSL Ubuntu.  And, sorry, I didn't realize there were issues beyond the source one, I'm only saying that . is probably better then bash -c 'source ...

Yah you're right - that seems like it could be a different issue entirely so I should probably close this issue. Are you able to run the run_evaluation.sh and get output files which list all the tests that passed/didn't pass with only modifying source to "."? I keep running into all sorts of issues which seem to vary depending on the exact problem I am attempting to evaluate.


Charts docs clean-up

Hi,
It's just a pull request to merge the different commits made by @Sagar2366 (#4998, #5000, #5001, #5002), using CLI, so I could sign the commit to add DCO. I also cleaned up the markdown code to fix code block display issues.
I didn't need to apply #4999, just changed the bullet points to use hyphens instead of asterisks.

Thanks @EppO and @Sagar2366 for putting this together!


Bug/344 error on click

Description
Signup error click
When clicking on an item from the error summary for teh signup form, the app would crash - see Trello board item linked above.
In This PR
Added the functionality to scroll the user to the desired error.
Added smooth scrolling behaviour to both, the sign up button, and the error summary items.
Acceptance Criteria
N/A
Test Instructions

git checkout Bug/344-ErrorOnClick and npm run dev
Navigate to the sign up page.
Scroll all the way down and press on the "Submit" button.
See the scrolling animation
Press on all 4 of the error items to see where the page is scrolled to.

Help Requested

Any constructive feedback is more than welcome!

Checklist

[x] Strings use placeholders for translation (No hard coded strings)
[x] Unit tests have been added/updated

Awesome work
If you check out Paul's issue here: #140
He brings up that we should include focusing the element that is scrolled into view as well. Best practice and better a11y that way.

Awesome work
If you check out Paul's issue here: #140
He brings up that we should include focusing the element that is scrolled into view as well. Best practice and better a11y that way.

Addressed in the previous commits.

When clicking on an item in the error box, can you make it so that the focus is put on the input of the linked error? Currently the focus remains on the the list of errors so pressing Tab scrolls the page back to the top.

Good catch, I will work on this!


Feat/binance perpetual derivative

Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
This PR create Binance connector to the latest standards.
Tests performed by the developer:

Test cases for the new code

Tips for QA testing:
Normal QA test for Perpetuals connectors.

Test performed:

Cloned and installed feature branch
Manually created docker image successfully
Started the client
Connected the connector API keys = OK
Balance output = OK
Create/Import/Start a strategy = OK
Check status and status --live match with exchange = OK
Order cancellation = OK
Ticket and Order book --live match with exchange = OK
Order filled events = OK
Vertify fee calculation = OK
Data collected by datadog = OK
Test different token pairs = OK
Position retrieval = OK

Pending tests:

Funding payment handling
Overnight test, checking issues during the longrun:

Network reconnection, Order failed submit, Unexpected errors or Warnings

Hi, @yancong001. Could you please check failing tests?

Hi, @yancong001. Could you please check failing tests?

Of course, but what are the failed tests?

@yancong001 Please check tests failing here:
https://github.com/hummingbot/hummingbot/actions/runs/3757406022/jobs/6426949434

@yancong001 Please check tests failing here: https://github.com/hummingbot/hummingbot/actions/runs/3757406022/jobs/6426949434

all tests passed

@yancong001 That’s great, longrun tests left, upon checking should be good.
Then going to review from our devs.

The overall is okey, but the idea of this refactor is to adapt the code to the latest standards. Good job, and after this changes I will do the last review and we are ready to merge the PR!
Ok, I will recheck and revise it soon

The overall is okey, but the idea of this refactor is to adapt the code to the latest standards. Good job, and after this changes I will do the last review and we are ready to merge the PR!

Ok, I will recheck and revise it soon

those changes have been updated. @cardosofede

Seems like you made all the requested changes, good job!
I have this issue when trying to change the leverage: OSError: Error executing request POST /leverage. HTTP status is 503. Error: {"timestamp":1673025015923,"path":"/fapi/v1/leverage","msg":"Unknown error, please check your request or try again later."}
2023-01-06 14:10:16,406 - 2925 - hummingbot.core.utils.async_utils - ERROR - Unhandled error in background task: Error executing request POST /leverage. HTTP status is 503. Error: {"timestamp":1673025016447,"path":"/fapi/v1/leverage","msg":"Unknown error, please check your request or try again later."}
Traceback (most recent call last):
File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/core/utils/async_utils.py", line 9, in safe_wrapper
return await c
File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/connector/perpetual_derivative_py_base.py", line 356, in _execute_set_leverage
success, msg = await self._set_trading_pair_leverage(trading_pair, leverage)
File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/connector/derivative/binance_perpetual/binance_perpetual_derivative.py", line 733, in _set_trading_pair_leverage
set_leverage = await self._api_request(
File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/connector/derivative/binance_perpetual/binance_perpetual_derivative.py", line 816, in _api_request
raise IOError(f"Error executing request {method.name} {path_url}. "
OSError: Error executing request POST /leverage. HTTP status is 503. Error: {"timestamp":1673025016447,"path":"/fapi/v1/leverage","msg":"Unknown error, please check your request or try again later."}
2023-01-06 14:10:16,984 - 2925 - hummingbot.core.utils.async_utils - ERROR - Unhandled error in background task: Error executing request POST /leverage. HTTP status is 503. Error: {"timestamp":1673025017032,"path":"/fapi/v1/leverage","msg":"Unknown error, please check your request or try again later."}
Traceback (most recent call last):
File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/core/utils/async_utils.py", line 9, in safe_wrapper
return await c
File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/connector/perpetual_derivative_py_base.py", line 356, in _execute_set_leverage
success, msg = await self._set_trading_pair_leverage(trading_pair, leverage)
File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/connector/derivative/binance_perpetual/binance_perpetual_derivative.py", line 733, in _set_trading_pair_leverage
set_leverage = await self._api_request(
File "/Users/dardonacci/Documents/work/hummingbot/hummingbot/connector/derivative/binance_perpetual/binance_perpetual_derivative.py", line 816, in _api_request
raise IOError(f"Error executing request {method.name} {path_url}. "
OSError: Error executing request POST /leverage. HTTP status is 503. Error: {"timestamp":1673025017032,"path":"/fapi/v1/leverage","msg":"Unknown error, please check your request or try again later."}
2023-01-06 14:10:17,716 - 2925 - hummingbot.client.hummingbot_application - INFO - stop command initiated.

Merged PR in behalf of foundation team. The updated binance perpetual will be applied on the development branch and the next Hummingbot version 1.12.0


Minor typo mistakes on www.marzipano.net

It looks like there are some typo mistakes in the Create Scene part of the Getting Started Section.

Fixed.


Fabric 1.19 doesn't start, unplayable

Describe the problem
just reinstalled my minecraft fabric server to change to a new modpack, just get this error and it doesnt even generate the server files like 'config' 'mods' etc
Container definition
docker run -d -v /home/rae/mc-docker:/data \
-e TYPE=FABRIC \
-p 25565:25565 -e EULA=TRUE --name mc itzg/minecraft-server:java17-jdk \
-e VERSION=1.19 \
-e MEMORY=6G \
--restart unless-stopped \
-e FABRIC_LOADER_VERSION=0.14.11

Container logs
user@server:~$ docker logs mc
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 3 1000 1000 4096 Dec 18 01:47 /data'
[mc-image-helper] 02:27:47.697 ERROR : 'get' command failed: launchermeta.mojang.com: Temporary failure in name resolution
[init] ERROR: version lookup failed:

oh and when i visit the website its trying to pull from, i just see

The log shows you have a DNS issue
Temporary failure in name resolution

The screenshot also looks like some strange networking issue on your system with invalid HTTPS certificate.


trayscale on steamdeck error

Getting following error after installing Trayscale on the SD and following the instructions:
(127)(deck@steamdeck ~)$ sudo tailscale set --operator=$USER
sudo: tailscale: command not found
Doesn't seem to have been installed despite launching from Discover?

That's correct. Unfortunately, Tailscale requires stuff too low level to allow it to be installable as a Flatpak. Ironic, considering that I had originally started working on this so that I could use it on my Steam Deck... As far as I am aware, there's nothing I can do about it. Sorry. Installing Tailscale separately, such as via pacman, should work, but I believe that it will get deleted the next time that you update SteamOS and will then need to be reinstalled and reconfigured.

Thanks Deedlefake. That's too bad. Would have been nice.
When I read the comments in Discover, I understood it to be working on the SD, but I guess me it was not referring to SD.


Support merge keys

As discussed in #31. I'm like 95% sure this use of SafeConstructor is thread-safe, but I'm not very familiar with SnakeYAML so if someone wants to check my work I'd appreciate it.
I can add more specific tests if anyone wants, but this seemed reasonable and keeps us at 100% coverage.

Codecov Report

Merging #32 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #32   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines         102    106    +4
  Branches        6      5    -1
=====================================
+ Hits          102    106    +4

Impacted Files
Coverage Δ

src/main/scala/io/circe/yaml/parser/package.scala
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Varnish Cache with auto invalidation for ES

Hello.
I've just prepared a Varnish configuration with autoinvalidating ES. It is able to really improve your page's speed.
Request to the:
/api/catalog/vue_storefront_catalog_eu/product/_search

Without Varnish (132ms):

With Varnish (79ms):

Elasticsearch is pretty good at caching. However, let's look at extensions that fetch some data from a real backend (M2). Example of my extension that fetches menu without Varnish (791ms):

As you see TTFB is really huge. It is because API sends the request to Magento. So normally it goes through VSF-API -> Magento. When we use Varnish we cache it in front of the VSF-API so the response is... a bit faster! (84ms)

I am also wondering about caching Pull Cart request and invalidate it with Update & Delete. I have to check this idea.
Inside my PR, we have file docker/varnish/README.md there you can find every information I've prepared for developers.
https://github.com/DivanteLtd/vue-storefront-api/blob/342fe2b89ad895578cb2d9fdfdb62cffa20f6231/docker/varnish/README.md
As we have a docker image, we can easily test it locally. We just need to create the same network for each docker-compose. Usually, I run:
docker-compose -f docker-compose.nodejs.yml -f docker-compose.yml up

Then, in another terminal I run:
docker-compose -f docker-compose.varnish.yml up

So when I am experimenting with Varnish's config, I have only to rerun Varnish.
Error or tagless requests should not be cached.

I've rebased it to the new develop. Removed network stuff from docker composes and put configured ones in docker/varnish/docker-compose. Varnish will only work if config.varnish.enabled equals true


[#3827] DNS update for UDP datasender

Codecov Report

Merging #3833 into master will increase coverage by 0.02%.
The diff coverage is 76%.

@@            Coverage Diff             @@
##           master    #3833      +/-   ##
==========================================
+ Coverage   40.92%   40.94%   +0.02%
==========================================
  Files        2186     2187       +1
  Lines       70997    71045      +48
  Branches     9750     9756       +6
==========================================
+ Hits        29057    29092      +35
- Misses      39184    39192       +8
- Partials     2756     2761       +5

Impacted Files
Coverage Δ

...ercorp/pinpoint/profiler/sender/UdpDataSender.java
56.92% <61.11%> (-0.22%)
:arrow_down:

...corp/pinpoint/profiler/sender/RefreshStrategy.java
89.74% <89.74%> (ø)

...npoint/rpc/server/SimpleServerMessageListener.java
80% <0%> (-20%)
:arrow_down:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
56.25% <0%> (-18.75%)
:arrow_down:

...m/navercorp/pinpoint/test/OrderedSpanRecorder.java
72.11% <0%> (-1.93%)
:arrow_down:

...ofiler/sender/StandbySpanStreamDataSendWorker.java
80.59% <0%> (-1.5%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
79.44% <0%> (-0.7%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
74.16% <0%> (+1.66%)
:arrow_up:

...pinpoint/profiler/instrument/AccessorAnalyzer.java
65.71% <0%> (+8.57%)
:arrow_up:

Continue to review full report at Codecov.

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


Using Github Release to automatically check newest release

I think we can follow the way Updater.cs checking the newest update for Flow to automatically get the newest update for plugins instead of storing the direct download link in plugin.json.
This can avoid updating pluginsmanifest every time plugins update. Or checking the update is also part of the review process?

https://github.com/Flow-Launcher/Flow.Launcher/blob/f714e1e4e01b6640c4b8dbcf66ca6ec94dd5cb5b/Flow.Launcher.Core/Updater.cs#L131-L148

Here are some idea.

Remove the version number in plugin.json, since it will not be updated here.
Add JsonDeserilization in PluginManager like what has done in Updater.cs.
Only add the project url in pluginmanifest instead of the direct downloadurl.

Here are some idea.

Remove the version number in plugin.json, since it will not be updated here.
Add JsonDeserilization in PluginManager like what has done in Updater.cs.
Only add the project url in pluginmanifest instead of the direct downloadurl.

I think we can follow the way Updater.cs checking the newest update for Flow to automatically get the newest update for plugins instead of storing the direct download link in plugin.json.
This can avoid updating pluginsmanifest every time plugins update. Or checking the update is also part of the review process?

hmm the reason i included version is so we dont have a scenario where malicious actor creates a plugin, gets approved, then uploads another zip file, and our code just looks for the latest and updates user's plugin to the malicious new release. At lease we can say on the day of our approval, we approved this version as at this date, any subsequent uploads to the same version we will not be able to be responsible. If we just approve the plugin once, subsequent uploads we won't know about.
What do you think?

I think we can follow the way Updater.cs checking the newest update for Flow to automatically get the newest update for plugins instead of storing the direct download link in plugin.json.
This can avoid updating pluginsmanifest every time plugins update. Or checking the update is also part of the review process?

hmm the reason i included version is so we dont have a scenario where malicious actor creates a plugin, gets approved, then uploads another zip file, and our code just looks for the latest and updates user's plugin to the malicious new release. At lease we can say on the day of our approval, we approved this version as at this date, any subsequent uploads to the same version we will not be able to be responsible. If we just approve the plugin once, subsequent uploads we won't know about.
What do you think?

Only add the project url in pluginmanifest instead of the direct downloadurl.

Project url/website, code url and direct download url are separated in the case where people may decide to have a website for the plugin different to where the code lives, eg GitLab

Only add the project url in pluginmanifest instead of the direct downloadurl.

Project url/website, code url and direct download url are separated in the case where people may decide to have a website for the plugin different to where the code lives, eg GitLab

Only add the project url in pluginmanifest instead of the direct downloadurl.

Project url/website, code url and direct download url are separated in the case where people may decide to have a website for the plugin different to where the code lives, eg GitLab

You are right, but manually pr every update may be quite significant works when Plugins become more... Maybe we can provide different way of doing that. By providing direct url, we won't support auto update, while we can support auto update for github or gitlab.

Only add the project url in pluginmanifest instead of the direct downloadurl.

Project url/website, code url and direct download url are separated in the case where people may decide to have a website for the plugin different to where the code lives, eg GitLab

You are right, but manually pr every update may be quite significant works when Plugins become more... Maybe we can provide different way of doing that. By providing direct url, we won't support auto update, while we can support auto update for github or gitlab.

Maybe we can use CI to automatically check for new update, and update the file.


about gym env

After installed the dependencies in the requirements.txt, I cannt run this command successfully：
python atari_dqn.py --resume_path "log/PongNoFrameskip-v4/dqn/policy.pth" --watch --test_num 10 --task "PongNoFrameskip-v4"
For me, there is a problem as below:
gym.error.NameNotFound: Environment PongNoFrameskip doesn't exist.

already solved


QuickCheck intergral function

The output of the integral function is in range [0,1]. But is it proved? If no mathematical proof, let's prove it with property test.

done.


OCPCLOUD-1786: Allow to exclude commits from rebase

This commit adds an option to explicitly exclude some commits from resulting rebase PR.
Example:
rebasebot ... --exclude-commits sha1 sha2 sha3 ...

I tested it manually on cluster-api repo (before it was updated), like
rebasebot --source https://github.com/kubernetes-sigs/cluster-api:main \
          --dest openshift/cluster-api:master \
          --rebase Fedosin/cluster-api:rebase-bot-master1 \
          --update-go-modules \
          --github-user-token ~/.secrets/access_token.txt --dry-run --exclude-commits aaa bbb 2c38789029

The test showed that 2c38789029 was excluded, and the related log message appeared in my console.

/lgtm

/lgtm cancel
Wait a second, just one thing

https://github.com/openshift-eng/rebasebot/pull/21/files#diff-ef0ae8c4429f5305666f568bf98e90a9b457af4826d674115cbb6c8e60a802f8R142 - this will blown up here due to None will come if no argument provided, I believe


[WIP] Reliability fixes for benchmarking work

[ ] Fixes #785
[ ] Fix Molecule copy initializer (offmol2 = Molecule(offmol)) so that offmol2.properties doesn't point to the same dict as offmol.properties
[ ] Add tests
[ ] Update docstrings/documentation, if applicable
[ ] Lint codebase
[ ] Update changelog

I've put on my thinking hat, and I think the test I've added for #785 is appropriate, and that other existing tests ensure the continued detection of ACTUAL undefined stereo bonds.
I've also modified an existing test to ensure that the molecule copy initializer DOES produce a unique properties dict in memory.
Typing up releasenotes now. This should be ready for review.

some of our molecule setters do no validation

Having had to do some actual work with the toolkit recently, the lack of validation doesn't seem to be the worst thing (the really annoying thing is excessively strict validation or needing to access a private method to get stuff done)

there is no Bond.stereochemistry setter

I'm wrapping my head around this. I... think we should allow this, but the OFF Toolkit's current view of molecules is such that a bond's stereochemistry is structurally just as important as its bond order. Then I looked, and we actually DO expose a bond order setter. So, it may not be intentional, but it would at least be good if our API is consistent about this sort of thing.

bonds in rdmols with STEREOANY are not processed and fall back to the default None

This was something I had to puzzle out for a while in the course of fixing this issue. I've added a comment in from_rdkit about this assumption so future folks won't be so confused.


Fixes for missing types on docblocks, extraneous imports and some gen…

…eral formatting

Looks like a formatting & docbloc changes only. :+1:


Documentation Updates | 2024.05.04

Attn: This is a DRAFT PR. I'm still doing some finishing touches and fixing some nit-picky areas. I will mark this Ready for Review when I'm fully satisfied with my changes.
Ooooooh boy, I have yet another big one for you! This PR includes some new Images, Videos, and some fixes all around the text in the Documentation.
Added

Header Images/Videos added to Reflections & Specular, Outlines, Emission, Glitter / Sparkle, and Global Mask Documentation pages. This brings it even closer to the goal of having rich visual examples in the Documentation!
Additional information added to Global Mask, including text and images.
Additional information added to Reflections & Specular, including an image regarding the integrated Packer.
Finished Documentation for Parallax Heightmapping.
Added Warning regarding Screen-Space AO Post Processing in UV Tile Discard.
Completely Reorganized Decals, with new mention of some properties introduced in 9.0.
Added a new Image and Video to the Decals showing an Example usage, as well as a demonstration of the Raycast feature.

Changed

Updated Docs Status on intro.md
Moved Special FX Category to be shown on top of AudioLink Category to match the Shader. This is only a visual change.
Changed title: Glitter to title: Glitter / Sparkle to match the Shader in glitter.md. This is only a visual change.

Fixed

Many typos resolved!
Fixed wrong wording for Ignore Indirect Shadow Color in the Shading documentation (Thanks @slord399 for pointing that one out!).
Fixed missing information in AL Spectrum, mainly regarding the Circle Spectrum settings.
Fixed an issue where the Video Player would expand beyond the width on mobile.

I've updated my initial comment with these new changes I've thrown in:

Added a new Image and Video to the Decals showing an Example usage, as well as a demonstration of the Raycast feature.
Fixed an issue where the Video Player would expand beyond the width on mobile.

...aaand that should be everything! Ready for Review!


error handling

the example code did not compile without adding a try and do/catch

Thanks for the PR
Cheers
Ash


[Bug]: On trying to edit existing or add a new role in the release-ee environment, an internal server error is thrown

Is there an existing issue for this?

[X] I have searched the existing issues

Description
We are seeing an internal server error on Roles page, when we try to edit existing or add a new role in the release-ee environment.
Steps To Reproduce
Login as instance admin into the release-ee environment
Go to Admin settings
Click on Roles
Click on Add a role or try to edit an existing role
The following errors are seen.

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
Cloud

This Issue was due to duplicate policy in environments in one workspace.  Removed the corrupted policy manually for two environments. This is working fine now.


ChangeEmail

Is there any option to prevent user from Login after email is updated?
requireAccountVerification = true, prevents login for the first time not every time email is updated.

To me it looks like login will not be allowed, at least looking at these lines of code in the AuthenticationService


Luma3DS Updater hangs when starting up

What model of system are you using?

[ ] Old 3DS
[ ] Old 3DS XL
[X] 2DS (non-XL)
[ ] New 3DS
[ ] New 3DS XL
[ ] New 2DS XL

What is your current Luma3DS version?
If you are running an hourly version of Luma3DS, please manually update to a stable version as I will no longer deal with people who are using hourlies.

[ ] Luma3DS v7.1 + boot9strap v1.0/v1.1
[ ] Luma3DS v8.0 + boot9strap v1.2+
[ ] Luma3DS v8.1 + boot9strap v1.2+
[ ] Luma3DS v8.1.1 + boot9strap v1.2+
[ ] Luma3DS v9.0 + boot9strap v1.2+
[ ] Luma3DS v9.1 + boot9strap v1.2+
[X] Luma3DS v10.0+ + boot9strap v1.2+

What version of Luma Updater are you using?

[ ] v2.0
[ ] v2.1
[ ] v2.1.1
[ ] v2.1.2
[ ] v2.2
[ ] v2.3
[ ] v2.4
[ ] v2.5
[X] v2.6

How are you running Luma Updater?

[X] .cia
[ ] .3dsx + HBL/Rosalina

What problems are you experiencing?
Please tell us what problems you are facing.
When starting up Luma3DS Updater from the HOME Menu, the system hangs when it's "Checking for an updated updater..."
until you hold the POWER Button to turn it off.
What is the exact error code you are receiving?
Please give the exact error code the app gives you.
No Error Code given.
Steps to reproduce

Launch Luma3DS Updater from the HOME Menu.
Profit

I can't replicate the issue. Try again.

My apologizes, I've noticed that the 2DS Date and Time were incorrect which may caused Luma3DS Updater to hang. I've fixed the Date and Time and now Luma3DS boots normally. I have no idea that the cause of this issue was that the Date and Time were wrong.


broken openrc-shutdown

See here

Maybe fixed in v2.0-testing. Closing...

Forgot to mention that i used openrc-shutdown -s now


Add output to CSV file

Hi again,
Another PR this evening :)
Example output content:
input,status_code,content_length,content_words
ccc,301,0,1
aaa,301,0,1

I'm still not sure about adding timestamp or/and source file to the output.

Yep, good point. Actually I think both approaches could be useful - maybe introducing two output formats like ecsv with base64 encoded payload and raw csv for some simpler use-cases like when you just bruteforce directories etc. That way the tool can support simple and advanced use cases (assuming that advanced user is able to decode the result hehe :) )

That sounds like a good plan! I'm all for it

Good to hear! Will put an update around the evening.

Updated.

LGTM! Thanks!


React 16.x TypeError: Object(...) is not a function

I just wanted to try out this fancy library, but it doesn't seem to work with react 16.x.
The error is thrown in line 5.
import * as React from 'react';
import './App.css';
import { getComponentAsync } from 'universal-async-component';

const AsyncHelloWorld = getComponentAsync({ loader: () => import('./Test') });

class App extends React.Component {
  render() {
    return (
      <div className="App">
        <AsyncHelloWorld />
      </div>
    );
  }
}

export default App;

"dependencies": {
    "lodash": "^4.17.5",
    "react": "^16.2.0",
    "react-dom": "^16.2.0",
    "react-scripts-ts": "2.13.0",
    "universal-async-component": "^1.0.1"
  },

Just updated the example repo with React 16 and it seems to be working
https://github.com/mohsen1/universal-async-component-example/pull/2
Can you make sure you are not compiling import()s with Babel or TypeScript? Webpack must see those import() statements for this to work


Abort signal

I've added some initial testing, the first one never ends, while the fourth fails.
Closes: https://github.com/mcollina/undici/issues/164

the first one never ends, while the fourth fails.

I will take a look. Can you also add docs?
We currently don't support https://www.npmjs.com/package/abort-controller. Do we want to?

I will take a look. Can you also add docs?

Yes, I finish working on the tests :)

We currently don't support https://www.npmjs.com/package/abort-controller. Do we want to?

My plan is to support it and I already have some tests for it, but I would like to fix these ones before continuing.

@ronag @mcollina I've added the support for abort-controller, but the tests are failing, what am I missing? 🤔

I guess it's just the abort-controller tests? Have you confirmed addEventListener works as you expect?

@ronag found it, apparently using the options { once: true } never triggers the event 🤷♂
Now all the tests are passing except for the first test of each file.

I think this pr is now ready, @ronag @mcollina do you think we are still missing something?

Some of those setTimeouts seem unnecessary but I'm fine with landing it with those. @mcollina ?

Agreed, no setTimeout

Seems like a minor thing with http-parser. It won't invoke kOnHeadersComplete unless we start the body, i.e. the following test fails:
test('writeHead invokes callback', (t) => {
  t.plan(1)

  const server = createServer((req, res) => {
    res.writeHead(200)
  })
  t.tearDown(server.close.bind(server))

  server.listen(0, () => {
    const client = new Client({
      hostname: 'localhost',
      port: server.address().port,
      protocol: 'http'
    })
    t.tearDown(client.destroy.bind(client))

    client.request({ path: '/', method: 'GET' }, (err, data) => {
      // never called
      t.ok(err)
    })
  })
})

@mcollina: I don't see this as a huge issue.
@delvedor: I don't think the tests should depend on this behavior as we might want to fix it at some point.


Changed RSK Ticker SBTC->RBTC

The coin name from RSK has changed. I'm opening this pull-request on behalf of RSK labs.

Closing PR - commit is unsigned


Can't export .maps please HELP

When trying to export .maps i get this.
IndexOutOfRangeException: Index was outside the bounds of the array.
(wrapper managed-to-managed) System.Object.ElementAddr_4(object,int,int,int)
MapIO.saveTopologyLayer () (at Assets/Scripts/MapIO.cs:33)
MapIO.Save (System.String path) (at Assets/Scripts/MapIO.cs:208)
MapIOEditor.OnInspectorGUI () (at Assets/Editor/MapIOEditor.cs:36)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor[] editors, System.Int32 editorIndex, System.Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1374)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Should be fixed with the latest updates. Can you confirm it works for you and I'll close the issue?


[BUG] html5 problem set_locale

I try with manjaro 64 bit and windows 8.1 64bit in Italian, and emscripten give this message in same case, I post error of linux:
http://pastebin.com/yy9aGBQA
the windows error:
http://pastebin.com/9cYeT1Sq

I have same error, I also work with manjaro

I have same error  also in Manjaro :(

ah i think i saw the error, probably because the way to get locale is not
well defined, leave this open and i will check it out befroe 2.0
On Wed, Sep 16, 2015 at 12:35 PM, Sergi<EMAIL_ADDRESS>wrote:

I have same error also in Manjaro :(
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/2477#issuecomment-140779468.

ah i think i saw the error, probably because the way to get locale is not
well defined, leave this open and i will check it out befroe 2.0

Using a build from November 3rd, I have the same error on windows 10 and ubuntu 15 (both mozilla and chrome).

Error confirmed on a recent build:
ERROR: set_locale: Invalid Locale: C
   At: core/translation.cpp:508.

@reduz can we just fallback to "en" if LANG is "C"? I can do that fix and submit a PR

@nunodonato I'd say go for it, with a comment in the code linking to this issue so that it can be reassessed post-2.0.

@akien-mga I can try, but I'm not sure if my fix actually fixes this issue's problem. I tried setting my system to an non-existent locale and in fact godot prints that error, but still functions normally.

Yeah, it's not a big issue anyway (there are more annoying problems with the HTML5 template), so I think it can wait for a proper resolution in 2.1 :)

Not critical for the upcoming 2.1, so moving to the next milestone.

@akien-mga why do you say this is not a big issue? I think it is the reason the 3dPlatformer sample (and probably others) will not run in html5 even with latest master build - at least it is the only error message printed and output stops after it.

Ah, nevermind. I don't think this is causing the problem actually; I implemented the fix suggested here and it doesn't change anything.

This error still remains on 2.1 :/


Wrong positioning of text label on Macbook (Catalina 10.15.7) Chrome (89)

Version

Phaser Version: 3.54.0

Operating system: macOS Catalina 10.15.7

Browser: Chrome Version 89.0.4389.114 (Official Build) (x86_64)

Description

Text should be positioned in the middle of the ball but it is positioned below the ball.
Example Test Code

The bug is visible at phaser examples:
https://www.phaser.io/examples/v3/view/game-objects/container/text-and-sprite-test
Additional Information

I noticed that the bug is present only on Chrome on macOS. It works fine on Firefox, Safari on macOS. Also it works fine on Android Chrome/Firefox.

Could be the same as #5625.

@telinc1 yes, I'm using DuckDuckGo and it's causing the problem! Thanks.


[Platform]

Reproduction steps
How should I modify chip-tool to process zcl commands simultaneously targeting different nodes?
Platform
raspi
Platform Version(s)
1.0.1
Type
Manually tested with SDK
(Optional) If manually tested please explain why this is only manually tested
No response
Anything else?
No response

chip-tool does not do ZCL at all, so...
If what you want to do is send multiple Matter commands targeting different nodes "in parallel" (as in, send the next one before the previous one finishes), that would require a good bit of re-architecture in chip-tool; it has a concept of "currently running command" and that's a singleton.  But you can start in examples/chip-tool/commands/common/Commands.cpp in the Commands::RunCommand and see how the logic flows from there.
If you are asking about something else, please reopen and clearly describe what you are asking.


Update about section of CLI

Codecov Report

Merging #49 (2ceedf2) into main (2cad561) will increase coverage by 2.64%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
+ Coverage   41.24%   43.89%   +2.64%
==========================================
  Files           8        8
  Lines         805      843      +38
==========================================
+ Hits          332      370      +38
  Misses        473      473

Files Changed
Coverage Δ

src/cli/args.rs
89.89% <100.00%> (+2.39%)
:arrow_up:


Saving user credentials generates not loadable JSON

When saving the credentials with the example 'save_user_creds.py', a JSON is generated which can not be loaded again with 'load_from_json()'.
The function 'save_as_json()' does save the attribute 'expiry' with no value.
(... expiry":,"user_id":null, ...)
Therefore, loading the JSON generates following error:

Traceback (most recent call last):
File "/Users//Documents/PycharmProjects/spotipy-control/venv/lib/python3.7/site-packages/pyfy/creds.py", line 129, in load_from_json
self.dict.update(json.load(infile))
ValueError: Expected object or value

Best regards

Hi,
Thanks for reporting this bug.
Like you said, this error and the error in #13 are likely caused by trying to serialize user_dict.expiry as json. It isn't serializable because it's a datetime object. In order to be able to json serialize it, we need to first convert it to an iso datetime string and then convert it back when deserializing it. I thought it's not worth the effort and deleted it all together when being serialized. I pushed a new version a couple of minutes ago. Can you check if that fixes it for you?
Thanks.

Hi,
thanks for the quick response.
Unfortunately it did not solve the problem. getattr(out_dict, "expiry", None) always return None so the attribute expiry never gets deleted.
I have made changes myself and created a pull request. I think this should fix the problem.
The problem only seemed to occur with ujson. Simple json used the parameter default=str.
Thanks and best regards

Awesome! I'll merge and update Pip with a new version now. Thank you.


Find instructors function only finding badged instructors?

In the More -> Find Instructors function, it seems like it's only finding people who are certified. That default makes sense, since instructors require certification.
Sometimes we want to find all associated people in a given region though, to potentially contact as helpers or let them know a workshop is going on. Is there a way to search for all People associated with a given airport code?

Yeah, we can make this form a little more universal.

Thanks, I think that would be useful. Maybe taking away the default filters and giving more filter options?
I think main queries are by airport and then we want to know if people are certified instructors, not-yet-certified instructors, helpers or learners. This will probably start to be even more important as we try to foster local communities.

Thanks!


Enable testing of different result types

Currently (after #64), the TestsBase.RunTest method takes two strings as expected results.
Ideally, the result should be generic, to allow for different expected result types:

tuple(string, string) for C# and VB.NET code formatting
IEnumerable for other formatters
VisualizerData

Post- #71, this is now irrelevant.


Release new version on RubyGems?

Hi!
I'm using this plugin in a way that requires version 1.1.0.
However, the latest version on rubygems.org (and hence the version installed by running fastlane add_plugin github_action  is 1.0.0.
I was able to work around this by specifying a git repo for the plugin in my Pluginfile, but it would be nice (and presumably useful for other folks) if a new version was pushed to Rubygems.
Let me know if there's anything I can do to help with that! I assume the answer is no, but happy to lend time on the off-chance that's not the case.

@joshdholtz wanted to nudge this again, on the off-chance you're active enough with this project to be willing to cut a new build! An OSS project I help is relying on this project as part of its setup instructions, so a large number of people are now setting up GH Actions workflows that have to manually point to the git repo instead of Rubygems, which technically works but is less than ideal.
Again, happy to help if there are ways I can minimize the load.


Readme should default to the HRE

the hardhat runtime environment is perfect for testing and doing everything we need to do.

just to clarify, this means adjusting instructions from kovan to the local hardhat network?

Hi @plinki , yes the README should prioritize the instructions/notes for the local hardhat network (after all, the default network is set to hardhat). However it should still contain notes and instructions for other networks as it does now, but maybe just ensure the local environment ones are first. Hope this helps

Closing, I think this has been addressed


Add Develop/HADK page

Awesome effort to bring the layout over, but shouldn't we change the top banner to a heading, to align style with the docs?

Awesome effort to bring the layout over, but shouldn't we change the top banner to a heading, to align style with the docs?

Sorry, I don't quite get what you are getting at. The top banner is a heading - it's just like the heading on top of every page, with the (ok, maybe not so) minor difference in style.

Very nice effort indeed!

Awesome effort to bring the layout over, but shouldn't we change the top banner to a heading, to align style with the docs?

Sorry, I don't quite get what you are getting at. The top banner is a heading - it's just like the heading on top of every page, with the (ok, maybe not so) minor difference in style.

Precisely what I meant:) Remove the styling of the grey-background banner. But I guess it's fine as it is too, because this makes the HADK page stand out, being the starting point for any porter.
And Raine is right, if we want to re-use this style for any other pages that deem so.

refactored the pages so that the main layout htmls now contain mostly includes, and the minor differences between the layouts are controlled via include directive on main_content_wrap.html. I also removed the references to hadk on css class names.


[FluidHelloWorld] Difference in rendering dice in Chrome and Firefox

Describe the bug
Running FluidHelloWorld on Chrome and Firefox side by side results in differences in rendering the die's orientation. To be clear, this is a minor annoyance at best and is likely related to Unicode font differences in Chrome vs Firefox.
To Reproduce

git clone git@github.com:microsoft/FluidHelloWorld.git
npm i && npm start
open http://localhost:8080/ in Chrome to start new session
copy session URL and paste in new Chrome Incognito window
paste session URL in new Firefox window
Roll die in any window until you get asymmetric result (2 or 3)

Expected behavior
Dice show the same on Chrome and Firefox.
Instead, they show reversed as per attached screenshots.

Thanks for reporting @infojunkie . With our FluidHelloWorld example we've tried to keep it simple and this involves using native browser font to render the die face. As you pointed out it seems like different browsers represent this differently.
Since this isn't impacting the functionality, and our goal here it to optimize for simplicity, does it seem reasonable to wont-fix this issue? If not do you have a proposed solution?

Thanks for reporting @infojunkie . With our FluidHelloWorld example we've tried to keep it simple and this involves using native browser font to render the die face. As you pointed out it seems like different browsers represent this differently.
Since this isn't impacting the functionality, and our goal here it to optimize for simplicity, does it seem reasonable to wont-fix this issue? If not do you have a proposed solution?

Yes it makes total sense to not attempt fixing this issue. I was initially thrown off by the difference in rendering at first, so maybe a note on the README would suffice.

Yes it makes total sense to not attempt fixing this issue. I was initially thrown off by the difference in rendering at first, so maybe a note on the README would suffice.

The resolution here is to add a note in the FluidHelloWorld readme noting that because the dice are ascii they can appear different depending on the browser.

The resolution here is to add a note in the FluidHelloWorld readme noting that because the dice are ascii they can appear different depending on the browser.


Adding Games in Android Project

🚀 Feature
The android projects directory has no games, would like to add simple games like snake game and flappy bird
Have you spent some time to check if this issue has been raised before?
Yes
Have you read the Contributing Guidelines?
Yes
Pitch
The projects suggested are beginner friendly and they enable practical understanding of java concepts

@AntoineDoniel you can work on this.

Can I also add to this?


Docs: Is the README Supported Versions and Formats Table Up to Date?

If it is not, could someone with the relevant knowledge put in a PR? TY!
This table: https://github.com/bom-squad/protobom#supported-versions-and-formats

No it is not, this came up today in a call with the SPDX community.

Should the table read:

Format
Version
Encoding
Read
Write

SPDX
2.2
JSON
planned
-

SPDX
2.2
tag-value
planned
-

SPDX
2.3
JSON
supported
supported

SPDX
2.3
tag-value
planned
-

SPDX
3.0
JSON
planned
planned

CycloneDX
1.4
JSON
supported
supported

CycloneDX
1.5
JSON
planned
planned

Or something else?


Add safari extension for iOS/iPadOS .

Hey,
Is it possible to add this safari extension for iOS/iPadOS?

I think it should be possible, but I have not touched it yet. #28

Will track at #28


Is it possible to add/del row dynamically?

The vue-table load data from api-url.
Is it possible to add/del row(s) dynamically only in the browser locally without requesting new data from server?

Definitely. If you use Data mode, Vuetable won't request data from the serve at all. If you want to add/delete row(s) dynamically, you can manipulate tableData via refs.
Anyway, you should post your question in Vuetable-2 repo instead of this one.


feat: Impl EstimateRessources wrapper for transactiont receipt result

feat: Implement EstimateResources for Transaction Receipt Result
Introduction
We need an implementation for JSON-RPC v0.5.1 ExecutionResources field.
Currently, on Madara, there are two implementations for ExecutionResources:

The one from the Blockifier here
A simple ExecutionResourcesWrapper around the execution wrapper from starknet.rs, recently implemented to address the ExecutionResources field from v0.5.1.

Solution
This presents us with three options:

Modify the ExecutionResources implementation from the Blockifier to meet our needs (JSON-RPC schema + encode/decode compatibility).
Expand the ExecutionResourcesWrapper in Madara to support encode/decode + ensure compatibility with the Blockifier's implementation.
Synchronize the latest versions of the Starknet API containing an ExecutionResources field, make it no-std, and ensure compatibility with starknet.rs as well as JSON-RPC compatibility.

While I was writing this issue, I realized that clearly the best option was to implement this field in Madara, thus resolving step 3. I am turning this into an issue, please comment below with any questions or if you want to take it.

So what will be the flow?

Runtime
RuntimeAPI
Client
RPC response

execution -> BlockifierExecutionRessource
???
???
StarknetRPCExecutionRessource

So the goal of this issue would be to keep the same BlockifierExecutionRessource where it is declared and add to it a conversion into a new StarknetRPCExecutionRessource (wrapping StarknetRsExecutionResources) encode/decode compatible that will be located on the mc-rpc crate to fill out the trace apis.

I don't think you should have a wrapper type.
Just create another with the same fields.
So the flow would be:

Runtime
RuntimeAPI
Client
RPC response

execution -> BlockifierExecutionRessource
OurCustomExecutionRessourceType
OurCustomExecutionRessourceType
StarknetRPCExecutionRessource

??

Also what is the RPC route that need to return that struct?

The trace api rpc methods like estimate fee and simulate tx

@ybensacq

Runtime	RuntimeAPI	Client	RPC response
execution -> BlockifierExecutionRessource	OurCustomExecutionRessourceType	OurCustomExecutionRessourceType	StarknetRPCExecutionRessource

For now if I'm not mistaken the execution ressource is unchanged on the whole code base but converted in the Starknet rpc response, it would be more like:

Runtime
RuntimeAPI
Client
RPC response

execution -> BlockifierExecutionRessource
BlockifierExecutionRessource
BlockifierExecutionRessource
BlockifierExecutionRessource -> StarknetRPCExecutionRessource

@antiyro  I started to work on this one, can you assign to me please?

solved by @ybensacq here: https://github.com/antiyro/madara/pull/1


SWAR Parsing of std::uint8_t

Closes: #99

Removing the buffer improves things a little bit better, but is still substantially worse than the existing implementation:
            std::from_chars<unsigned char>:   282 ms (s=6379836875)
boost::charconv::from_chars<unsigned char>:   302 ms (s=6379836875)

I don't think this is worth pursuing further.


maintains focus when user clicks editor multiple times

closes #1573

@magorlick sorry about the outline ~ not sure how that slipped through! Updated w/ the change.
I can tackle the second point as a follow-on


Update os images in openshift deploy for integration

Description
It looks like this hasn't been updated in a while and it's missing 4.12 leading to 400 errors when downloading images.
This also updates the whole map to match the assisted-service repo
As a follow up we should also update the other image lists in this repo, but let's just get integration working first.
How was this code tested?

Tested with oc process -f deploy/template.yaml --local.
Template renders fine.
Assignees

/cc @osherdp
/cc @eliorerz
Links

Checklist

[x] Title and description added to both, commit and PR
[x] Relevant issues have been associated
[x] Reviewers have been listed
[x] This change does not require a documentation update (docstring, docs, README, etc)
[ ] Does this change include unit tests (note that code changes require unit tests)

/lgtm


Could not load the default wrapper for your platform: cpy, performance may be affected!

I install nanomsg with pip install nanomsg, I got this waring:
/home/roger/anaconda/envs/crawler/lib/python2.7/site-packages/nanomsg_wrappers/__init__.py:22: UserWarning: Could not load the default wrapper for your platform: cpy, performance may be affected!
"%s, performance may be affected!") % (default,))

and I have set up
export LD_LIBRARY_PATH=/usr/local/lib

what is wrong?

This is an old issue, but when I had this problem it was because I didn't have nanomsg header files on my computer.  I just had to install them.
If you run pip install -v nanomsg (that just added the verbose flag), you may get more information about why the extension couldn't be built.  The error I was getting was
 _nanomsg_cpy/wrapper.c:4:24: fatal error: nanomsg/nn.h: No such file or directory
plus a big warning banner saying the extension could not be built.
So I just had to install the header files.  Note that the verbose flag to pip also gives you lots of information you probably don't care about as well.

(python3.5) For me it fails because it can not find the module
ImportError: No module named '_nanomsg_cpy'


migrate to. NET core

Are you planning to migrate to. NET core?

that is a good suggestion, i'll begin to migrate to dotnet core recently

Hi @a1q123456 I love what you have done here and I say thank you!
Comapring this with yours,  I see that there are a lot of difference and I found it hard understanding how you built the server and the ws client on it.
Can you update your fork? Can you separate your code from the fork so that we can understand how you did this in case we need to implement a different type of server and clients?
Can you guide me on how you think I can create a server and a client based on akka.net?

dot

Hi @a1q123456 I love what you have done here and I say thank you!
Comapring this with yours, I see that there are a lot of difference and I found it hard understanding how you built the server and the ws client on it.
Can you update your fork? Can you separate your code from the fork so that we can understand how you did this in case we need to implement a different type of server and clients?
Can you guide me on how you think I can create a server and a client based on akka.net?
And lastly can video-on-demand server be achieved using RTMP?
Thanks

Hi, I've rewrite everything about rtmp-sharp and optimized support for amf3 encoding. so I guess I  there is no need to merge code from upstream now.
and sorry, I have no knowledge of akka library, but vod feature will be added to this project soon

Thanks @a1q123456
Does this support stream key and authentication and multi-tenancy?

Thanks @a1q123456
Does this support stream key and authentication and multi-tenancy?
And can I publish using OBS?

I didn't tested with obs, but it supports rtmp standard, so I guess it'll works.
for authentication, you can extend LivingController and add you own authentication logic

Ok....I guess the usual [Authorize] from asp.net core should work?

Ok....I guess the usual [Authorize] from asp.net core should work?

sad, the asp.net core's [Authorize] may not work. but [Authorize] is a good idea, I'll think about it