ffa_1life / Last Man Standing

I see there's already "ffa_1lf_", but that one insta-kills on hit.
I'd like a gamemode similar to 1dm but without teams.
Do you think you could add that one; or how hard would it be to do it?
Since I suspect individual rounds to be over quite quickly, the winner should probably be the one that can secure 3 or so wins first.

So, you want ffa, but players are sidelined after their first death?  And the last player playing is the winner?

Pretty much; I think it would be a very fast paced game, that the average player might take more serious than ffa (and also enjoy it more), and there wouldn't be any team play pressure like in tdm and 1dm.
I'm planning to have last man standing tournaments in the mmorpg, but I also think the gamemode could be fun in standard alti gameplay.
Do you think this is more something to realize with a script than adding it as a new gamemode?

With the use of the server patches /denySpawn, this should be doable as a new game type.  I think the type should be called 1fa, that will make it look more like 1bd, 1de, and 1dm.  Map names would still be ffa_1fa_....
Maybe we should make lives configurable, with 1 being the default.  What do you think?  If you want, you could set the life count to 3 for a map.  For your uses, you could create a way for players to earn extra lives.

So far the 1fa mode seems good; 3 lives and 3 minutes feels very balanced.
Also the matches aren't over nearly as quickly as I had thought, so counting wins over multiple matches isn't necessary to get a good game.
As we talked in game before; I think a good addition would be to have the server randomly broadcast the kills, lives, and location of currently alive players.
At the end of a match the "top 3" who managed to stay alive the longest could be spelled out, instead of just having one player be proclaimed winner. Maybe also make "ties" work better, dunno~
The vanilla alti match-end screen of ffa already displays the people who killed the most; so writing those in the chat probably wouldn't add much.
Could you add the ability to have lives be shared between team/color members? A plus.txt command to enable and disable it would be useful. I think this could be fun in team modes, but also in ffa. Whether there's 1, 2 or 8 teams, sharing lives would add an interesting dynamic.
If I find the time I'll work on a script for N-life-ball/1lb, or whatever we could call it (3 lives, if the lives value is a number then this is what everyone's lives is set to after each goal; if it's a "+N" then these lives are added to everyone's lives after each goal, allowing people to stack).
Is it already possible with the current setup to manipulate an individual player's lives easily? Lives could be added for collecting powerups, for kills, for ball scores, etc. I'd need the ability to set lives to a certain value, to add lives, and to subtract lives.
I think the /set lives command should work like this;
/set lives [N] {all/team/color/player}
The former can be any number and will set the lives of everyone on the server to N, and will be the default for everyone who joins newly (except if it's player name or if the newly joined isn't part of that team/color).
If N is "+N" then the number is added to everyone's current lives. No change to lives of people who haven't joined?
If N is "-N" then the number is subtracted from everyone's current lives. No change to lives of people who haven't joined?
The later can be omitted (in which case it'll count for everyone), or it can be a team or color descriptor or player name. Possibly also a list of targets?
What to do with players who join red (lives: A) and switch to blue (lives: B)?
What are your thoughts on this?

As we talked in game before; I think a good addition would be to have the server randomly broadcast the kills, lives, and location of currently alive players.

The location is a good idea, but I don't think we need the rest of it, as you can just press the tab key to see those statistics.  I have found that I do that from time to time, especially after I am out and just watching, to see who is ahead of whom.

At the end of a match the "top 3" who managed to stay alive the longest could be spelled out, instead of just having one player be proclaimed winner. Maybe also make "ties" work better, dunno~

This is totally do-able, it would be similar to the TAG game mode.  You could also use the number of deaths as the tie breaker if multiple people were still alive at the end of the round.  I will look to add this over the winter break.

Could you add the ability to have lives be shared between team/color members? A plus.txt command to enable and disable it would be useful. I think this could be fun in team modes, but also in ffa. Whether there's 1, 2 or 8 teams, sharing lives would add an interesting dynamic.

I am not convinced this would be a good addition to this game mode.  I have found that anything which requires coordination quickly breaks down.  Aligning people to teams, and getting them to work together, especially when they technically can kill each other, causes all kinds of issues.  Just look at my attempt to test out FFA on Coop with ffa_coop_wrap_around.  For this to work, it would need to be a tournament, where teams self-identified before the tournament, and the server knew who would be playing together.  I think a script when worked off of the base code would be the best way to implement this.  When a player died, you would just sync their out count.

If I find the time I'll work on a script for N-life-ball/1lb, or whatever we could call it (3 lives, if the lives value is a number then this is what everyone's lives is set to after each goal; if it's a "+N" then these lives are added to everyone's lives after each goal, allowing people to stack).

You could do this and then for each goal, have a:
foreach my $player in (player::list) {
     mem->game('oneout', $p)=0;
}

However, I currently only keep that counter up-to-date for you on map type 1fa.  So, we would have to revamp some of that code to be more generic.  If you are really serious, then I can do that.  But, if you aren't going to do it, then I would just rather leave my code alone.
Alternatively, you could keep all of that in a script.
A final option would be to fork alti+server's repo, make your changes in a branch, and then issue a merge request for me to re-incorporate your changes.  Theoretically, 1lb, would belong in the main code base, as it would be generic to multiple maps.

Is it already possible with the current setup to manipulate an individual player's lives easily? Lives could be added for collecting powerups, for kills, for ball scores, etc. I'd need the ability to set lives to a certain value, to add lives, and to subtract lives.

For my code, as it sits now, lives is a general number that applies to each person.  However, you could implement your own per-player life count.  For example you could set lives as such in mapChange:
foreach my $player (player::list) {
     mem->game('lives', '1lb', $player)=3;
     mem->game('outs', '1lb', $player)=0;
}

Then, to give a player an additional life (in powerupPickup or powerupAutoUse), you would just mem->game('lives', '1lb', $p)++;.

I think the /set lives command should work like this;
/set lives [N] {all/team/color/player}
The former can be any number and will set the lives of everyone on the server to N, and will be the default for everyone who joins newly (except if it's player name or if the newly joined isn't part of that team/color).
If N is "+N" then the number is added to everyone's current lives. No change to lives of people who haven't joined?
If N is "-N" then the number is subtracted from everyone's current lives. No change to lives of people who haven't joined?
The later can be omitted (in which case it'll count for everyone), or it can be a team or color descriptor or player name. Possibly also a list of targets?
What to do with players who join red (lives: A) and switch to blue (lives: B)?
What are your thoughts on this?

Any of that last part doesn't make sense.  All of the syntax for the plux.txt file is really for static and map wide settings.  And those things have overhead throughout the code and affect the configuration packet.  My suggestion to manipulate a person's lives would be to use the mem->game(...) interface for storing objects in memory.


Project Test Case 9_11

Summary
hi all, i understand that currently my customers queueing for a selfcheckout are fixated on the particular server and not being served by a vacant one right after they are done serving. however, im not quite sure how to implement the logic where customers next-in-line are served immediately after a selfcheckout done event. any help would be appreciated!
Screenshots (if any):

How are the customers waiting for the self-check counters? Key things that you need to check for are

After one customer is served by the self-check are you updating all the wait events to make sure that they reflect the new wait time? Additionally, make sure that you update the lists whenever you take in a new customer.
Are you updating the list of customers for all the self-check counters every time there is an update here? The problem seems to be that your list is not being updated when a customer is done being served.

hi! im not sure if this is what youre asking exactly, but maybe u can set the self-check rest time to 0 so customers are served immediately after?

sorry for not being clear! basically after a self checkout is done serving a customer, the next customer in the self checkout queue is not being served by the free self checkout and im not quite sure how to implement the logic to fix this.

After one customer is served by the self-check are you updating all the wait events to make sure that they reflect the new wait time? Additionally, make sure that you update the lists whenever you take in a new customer.
ohh i havent done this. if you dont mind could you share how you implemented this? not sure if my implementation is the same as yours but my PQ of events is contained in my simulator.

Are you updating the list of customers for all the self-check counters every time there is an update here? The problem seems to be that your list is not being updated when a customer is done being served.
i see, i dont currently have a list of customers in my selfcheckouts yet so i'll give that a try.

thanks!

you can iterate through all the self-checkouts to find which one has the earliest next available time, and generate a new event with that time

hi! i have almost the exact same output as you, may i ask how did u manage to overcome this issue for this test case?

would help u if i could but i accidentally created a cyclic dependency oopsies

hi! I'm not sure if this can help but I had the same issue previously where 13 didn't get served immediately when 9 left, and it was because I my Wait class logic had some issues. I used the same Wait logic from lab3 but included a part before everything where if the queue is at an SCC then check for the earliest avail time and use this time to generate subsequent wait events if needed (like what the others said). If the customer is served the serve event should have the serverID of the most recently available SCC, but the queue that is updated should be the first SCC's queue (if you only have one SCC queue).
If it still doesn't work I think you can try to first implement the 2 sets of logic separately within Wait (use if-else to check if server is SCC or human first, then process the Wait differently), and if this works you can compare with your original method and find the missing parts that you didn't handle (unless this is the way you're already doing it)

hi! i have almost the exact same output as you, may i ask how did u manage to overcome this issue for this test case?

i fixed it alr u should follow the logic mentioned by kryst above thats how i got my code to work


Update: Latest sqldeveloper stable

Update version
Upgraded the dependency to oracle's jdk8.

Build ok
Installed in userland
Runs ok

cc @bluescreen303

thanks a lot!


Glitch when hide overlapped window and show it again

It seems only a few apps are affected, in the video it's kitty terminal and sublime text.
after shutting down kitty terminal to be able to see sublime text window, and it's not responding
Video:
https://user-images.githubusercontent.com/34259386/148630591-a70ce8f0-40b1-4104-bbb8-2eb115857148.mp4
Edit: It's a glitch on almost every overlapped window
Edit 2: When I turn on border, the problem disapear

using berryc decorate_new false fixed the problem


echarts3.0在iOS触发touch事件时报错

问题简述 (One-line summary)
在iOS10 点击图表的时候会报错
TypeError: undefined is not an object (evaluating 'u.zrX')
版本及环境 (Version & Environment)

ECharts 版本 (ECharts version):3.3
浏览器类型和版本 (Browser version):iOS 10 所有浏览器
操作系统类型和版本 (OS Version):iOS10

重现步骤 (Steps to reproduce)
1.touch图表就会报错
期望结果 (Expected behaviour)
跟随鼠标显示当前touch位置的图表信息
可能哪里有问题 (What went wrong)
获取touch事件位置有错？

Can confirm this on all touch devices, throws this:

Demo: https://echarts-3-3issue.hyperdev.space (run this on mobile or Chrome / dev tools / mobile emulation)
Could this be looked at with priority @pissang ?

Sorry about that. Already fixed https://github.com/ecomfe/zrender/commit/3e1bcda9414c8de7df992eeed770c6a6344c136e

Thanks heaps @pissang! Are you planning to make a new release sometimes soon?

Yes we will release a quickfix version a few hours later

Great to hear this, many thanks!

我也遇到这个问题，新版本已经发布了么？

v3.3.1 released https://github.com/ecomfe/echarts/releases/tag/3.3.1

Awesome, thanks @pissang , will test asap!


[Update](inverted index) set default inverted index storage format to v2

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run p0

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Fix - Import error on server profile

Description

Gives the fix for the import error on server profile.

Check List

[x] New functionality includes testing.

[x] All tests pass for go 1.11.x + gofmt checks .

[] New functionality has been documented in the README if applicable.

[X] New functionality has been thoroughly documented in the examples (please include helpful comments).
[X] New endpoints supported are updated in the endpoints-support.md file.

[X] Changes are documented in the CHANGELOG.

Please add the usage of import in example file.

Have added the in the example. But the usage remains the same as for imports of other resources.


[Feature Request] Tag select

Thanks for making this plugin, it is super handy for working with tasks and perfectly complements the other task plugins.
I was hoping to use this plugin to toggle 'status' hashtags on a list, but they are inserted in front of the text and that doesn't make much sense for tasks
Is this possible with current features? I tried {raw} but it wasn't parsed.
This plugin makes dealing with tasks so much easier through hotkeys, daily driving now.
As an aside, I am tempted to extend this plugin with a dropdown/popup tag selector - multi-selecting a range of tags via UI tied to a hotkey would be excellent. And maybe a sort order.
Great work, thanks again for contributing to the community.
Cheers

Hello! Thank you for sharing your thoughts and giving feedback on the project.
Regarding your tag request, have you had a chance to try out the suffix feature? I believe it might be just what you're looking for. To toggle the status of a todo list containing tags like #todo, #later, and #pending, you can set it up like this:
- [ ]
- [ ] || #todo
- [ ] || #later
- [ ] || #pending

As for your suggestion for a tag selection UI, I really appreciate your idea. Not only for tags, but I believe having a UI for all state groups would be very useful as well. I plan to work on implementing this in my free time, and I welcome any contributions you might have. 😄

Sleep deprivation is real. 🤦
Just had a quick think on how contextual GUI could work.
In a normal task management app, right clicking a task is often a primary method of setting properties, so I made a quick mockup of a solution (requires native context menus disabled of course)

Monkey patch .menu with toggletask context UI (assuming custom layout in menu not possible otherwise)
On right click of Checkbox or tag, show toggletask context UI
OR on right click of line without a selection, show toggletask context UI
Task states rendered from text (have some ideas on how this could work)
Tag clicks don't close context menu (preventDefault type thing maybe) allowing multi choice

Ignore styles, just a quick comp. Should be able to use theme styles with clever CSS trickery.
Problem with popovers and this kind of UI, is they often get in the way, get stuck, and I end up disabling them (at least I have with multiple plugins).

Looks a bit better, if the idea has any merit I'm happy to help

Another idea, is to bring up a small popover when right clicking a checkbox, overriding the normal menu showing up in-situ like this, although this would be global UI (set group as global?)

Hi, I have implemented a popout window with Obsidian's native suggestion editor that can be triggered with a hotkey. For mouse interaction, I think we can add a floating box either at the beginning or end of the matched lines to enable it.

That was quick! Thanks for doing this, it's a great feature.
For me, I only get the the hashtag popover after setting the hotkey for the POP stategroup:

I set 'Status Tag' to CTRL+S, the only effect is the tag dropdown appearing if the cursor is after the first hashtags pound symbol, and nothing if before.

Hi, I tried to replicate your setting and here’s what I found.
The popover window only appears when the cursor is not on the tag. Could you please provide more details? A screen recording would be very helpful for me to assist you
https://user-images.githubusercontent.com/29173832/221589241-6412dcf3-7875-4c99-91d1-02af7bbeb5f4.mov

I'm thinking it's a plugin conflict, so I guess I'll have to figure out which one of these it is:

Enabled plugins: ['templater-obsidian', 'dataview', 'calendar', 'settings-search', 'cmdr', 'periodic-notes', 'heatmap-calendar', 'obsidian-hide-sidebars-when-narrow', 'hotkeysplus-obsidian', 'obsidian-minimal-settings', 'obsidian-custom-frames', 'open-vscode', 'quickadd', 'mysnippets-plugin', 'obsidian-day-planner', 'dbfolder', 'no-dupe-leaves', 'cm-editor-syntax-highlight-obsidian', 'obsidian-toggle-list', 'custom-sort', 'obsidian-icon-folder', 'omnisearch', 'obsidian-task-progress-bar', 'table-editor-obsidian', 'auto-class', 'make-md', 'nldates-obsidian', 'obsidian-attachment-name-formatting', 'obsidian-tabs', 'obsidian-hotkeys-for-specific-files', 'obsidian-tasks-plugin', 'folder-note-plugin', 'obsidian-hover-editor', 'file-explorer-note-count', 'obsidian-quiet-outline', 'obsidian-fullscreen-plugin']

I can now reproduce it. The suggestion editor will not show when 'obsidian-tasks-plugin' or 'completr' is enabled. Can you try disable 'obsidian-tasks-plugin' and reload obsidian?

Disabled Tasks, reloaded Obsidian, same problem. So it's probably something else in there. I will triage when I get a chance.
Thanks for looking into this.


Logging to file

This makes it easier to find exactly what happened wrong in a production build where the console logs are discarded.

Fixed in 251e1285bf0ff420bc437054146172243d1a8b85


Data rich/literate documents analysis

"Data Literate Rich Documents" is our terminology for markdown documents that includes tables, graphs etc as well as for straight up dataset publishing. The terminology emerged out of work over the years with DataHub and Datopian and see post about it in early 2021 on PortalJS https://portaljs.org/data-literate and the demo there.
Acceptance

[x] job stories written
[ ] ideas for implementation

Job stories
General
I have markdown + data (csv, json, xlsx, sqlite?) and want to put it online with the minimum of fuss and complexity so that others can see and use my work

I have a dataset i want to publish consisting of README plus a data file (or files) e.g. in CSV
I have a data-driven story where i want to display data and/or charts in my markdown doc
I have a data science analysis i quickly want to publish

On disk you have:
README.md
data.csv

In README i have something like:
# My Amazing Dataset

This is my awesome dataset / data driven analysis.

Here's the data

<DataTable src="mydata.csv" />

You can create a nice chart like this:

<LineChart config={} data="mydata.csv" />

And pfft in a puff of smoke this turns into a nice rendered page with a table and Line Chart. Here was the demo:
https://portaljs.org/data-literate/demo
Data Table
When creating a markdown page I want to display a data table in it so that people can understand what i am talking about

inline data e.g. json, or even inline csv
data from a separate file
primary data types: csv, json. But also xlsx and then many others

Graph
When creating a markdown page I want to display a graph of data so that people can understand what i am talking about

FIXED. See details in issue description.


Bugfix #2457

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
bugfix.

What is the current behavior? (You can also link to an open issue here)
Still getting sometimes node processes of candleLoader which never get killed. If reader data is empty than DONE never set to true and there is an infinite loop.

What is the new behavior (if this is a feature change)?
Now checking if iterator.from is > than "to" and ending the candleLaoder.

Other information:

:+1: thanks.


Add mimeType extension support

Is your feature request related to a problem? Please describe.
This feature is needed for the Attachment widget (https://github.com/google/android-fhir/issues/1621).
The mimeType will allow a QuestionnaireItem to decide the expected file type to upload e.g. image/jpg, application/pdf.
Describe the solution you'd like
Implement the mimeType extension support from FHIR.
Describe alternatives you've considered
N/A
Additional context
https://www.hl7.org/fhir/extension-mimetype.html
Would you like to work on the issue?
Yes

@Tarun-Bhardwaj @f-odhiambo


Get-PSRepository, Install-Module, Get-InstalledModule do not consistently work when executed under 2 different windows accounts

Steps to reproduce
$NugetMetadata = Get-InstalledModule -Name NugetMetadata -ErrorAction SilentlyContinue

if ($null -eq $NugetMetadata)
{
    Install-Module -Name NugetMetadata -Repository PSGallery -Scope CurrentUser -AllowClobber
}
else
{
    Import-Module -Name NugetMetadata
}

Expected behavior
if NugetMetadata module is not presently installed in user's scope, then install it from PSGallery repo. Unfortunately, even Get-PSRepository does not work and I'm presented with this error: WARNING: Unable to find module repositories.
Actual behavior
I get this error instead
WARNING: The property 'Values' cannot be found on this object. Verify that the property exists.
WARNING: The property 'Keys' cannot be found on this object. Verify that the property exists.
WARNING: Exception calling "Deserialize" with "1" argument(s): "'.', hexadecimal value 0x00, is an invalid character. Line 1, position 1."
Get-PackageSource: Unable to find repository 'PSGallery'. Use Get-PSRepository to see all available repositories.

Environment data

$PSVersionTable output
Name                           Value
----                           -----
PSVersion                      7.2.1
PSEdition                      Core
GitCommitId                    7.2.1
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Get-Module -ListAvailable PowershellGet, PackageManagement output
    Directory: C:\program files\powershell\7\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     1.4.7                 PackageManagement                   Desk      {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource…}
Script     2.2.5                 PowerShellGet                       Desk      {Find-Command, Find-DSCResource, Find-Module, Find-RoleCapability…}

    Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Binary     <IP_ADDRESS>               PackageManagement                   Desk      {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource…}
Script     <IP_ADDRESS>               PowerShellGet                       Desk      {Install-Module, Find-Module, Save-Module, Update-Module…}

Get-PackageProvider -ListAvailable output
Name                     Version          DynamicOptions
----                     -------          --------------
NuGet                    <IP_ADDRESS>          Destination, ExcludeVersion, Scope, SkipDependencies, Headers, FilterOnTag, Contains, AllowPrereleaseVersions, ConfigFile, SkipValidate
PowerShellGet            <IP_ADDRESS>          PackageManagementProvider, Type, Scope, AllowClobber, SkipPublisherCheck, InstallUpdate, NoPathUpdate, AllowPrereleaseVersions, Filter, Tag, Includes, DscResource, RoleCapability, Comma…
PowerShellGet            <IP_ADDRESS>

Are the PSRepository sources stored in an xml file just like nuget sources that I can examine to check if it's corrupted?

Update:
Lines 94 and 101 of https://github.com/PowerShell/PowerShellGetv2/blob/master/src/PowerShellGet/private/modulefile/PartOne.ps1, indicate that the PSRepository file is PSRepositories.xml stored in $env:LOCALAPPDATA\Microsoft\Windows\PowerShell\PowerShellGet. Once we dropped that file, we were able to recreate it and everything was fine. Is there a cmdlet or function I could use to reset PSRepositories.xml to a fresh out-of-box state? That would help deal with corruption issues like this in the future.


Use a faster JSON library

What does this PR do?
Switch uses of the stdlib JSON package to the recently open-sourced library https://github.com/segmentio/encoding
Motivation
I'm curious to see the impact on overall cpu & memory usage
Additional Notes
I replaced all occurrences, perhaps if this does help we can:

just switch for the parts that had the greatest impact
also potentially replace jsoniter, introduced in https://github.com/DataDog/datadog-agent/pull/2665

Are there any benchmarks on our data set ?

Yes in future we'll need to devote time to benchmarking this, and only focus on replacing the use of jsoniter.

Just a note for and when this (or another PR tackling this) is reopened. One of the challenges when replacing these encoding/decoding libs is ensuring consistency. We were already bit by this in the past - when we first introduced jsoniter (replacing the stdlib) when we started seeing different types, etc... So QA'ing this carefully and extensively would be a major requirement.


Error 400 - Inventories will not be loaded

Expected behavior
Should load inventories when you sign in.
Actual behavior
Instead gives out an error.
Steps to reproduce the behavior
Just load up the site. (csdreams.eu)
Other

[Operating System]: Ubuntu 16.04

[How did you start the script]: pm2 start index.js -n "Tradebot"

Error Stack
Something went wrong.. please try again. (400)

Seems like you do not have access to the API you are trying to access.

I have bought the API from SteamApis. I chose the steam inventory and market items endpoints.

And you have the API key entered in your config?

Probably not enough funds on account or invalid API key used.

I have around 9€ left on my account and it's cost's 7,50€ a month. Also I have checked that I have my API key in my config multiple times, and it's still there. :D

Email me your config.js file with username, password and the two secret values removed. Keep API keys and other stuff as is.
<EMAIL_ADDRESS>

Done.

Looks like old config file, download the latest files. There's appID etc.. missing.

Where do I get the latest files from? I just downloaded them today!
2017-11-09 1:29 GMT+02:00 Kristjan Kirpu<EMAIL_ADDRESS>
Looks like old config file, download the latest files. There's appID
etc.. missing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pepzwee/node-csgo-web-tradebot/issues/118#issuecomment-342996485,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Af8pW1cyUBOeWrz1unTaNG3DUHGhXqUfks5s0jlHgaJpZM4QXEIB
.

Where do I get the latest files from? I just downloaded them today!

Where did you download them from?

I downloaded it from github and through putty using git. I just compared the config files and they were exactly the same. But from your link, now it's updated. Is there anyway that I can change my current files without losing my changes on the site?

Depends on what you've changed and also how old your files are compared to the updated files. It's something you'll have to figure out yourself.
Usually updates are backend related so you could try copying and pasting your frontend files and see if it works.

I've basically only done changes to the index.html and bootstrapper.css files. That's frontend, right? I'm new to English development termiology. :P

Yes, that's front-end.

I did the backend changes. Nothind changed, but now I cannot log in.
When I try to login it gives me this error: 403 Error: Check your API key is correct
I checked it multiple times and it is right. Both of them.
Thanks for the fast support btw! :D

Oh and my front-end files are around 3 months old.

Paste the contents of lib/inv.js

I replaced everything, including the inv.js, but the index.html, bootstrapper.css and images. No change. 😭

Did you restart the script?

Oh damn, that's a good idea. I'll try it now!

Works now! Thanks so much! Now I just need to wait a week until my trade hold is gone!


Fix Doc Symlinks

The added / can make certain tooling sad.
This also regenerates the English docs, which seem to have been out-of-date.

I didn't touch the actual docs at all, so any wording issues will need to be addressed in a follow-up PR.

Merging since @emilypi approved and @slpopejoy is busy.


fix connection_id() should return bigint type

Proposed changes
pick from master #29287
close: #28168

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


doc: Add Brex to list

Brex is an American based startup hiring fully remote in Brazil from the founders of pagar.me, our backend is being mostly Kotlin and ideally will be 100% Kotlin in the future.

@gustavofreze Hey, I wasn't sure how exactly to contribute to the repo, could you take a look at this PR please?


Unable to add to discord servers

When trying to add the bot to a server I get the following which points to the below link:

https://support.discord.com/hc/en-us/articles/360040720412-Bot-Verification-and-Data-Whitelisting

Sorry for the wait @u4dandy.
The Media-Helper application isn't managed by me so I can't do anything about this.
@rtcflyer runs it and I've let him know.

I've applied for verification so we're just waiting on discords end at the moment. Apologies for the wait, will provide an update once it's been verified.

@u4dandy the bot is now verified and can be added at https://discord.com/oauth2/authorize?client_id=1026547091121655808&permissions=274878032960&scope=bot applications.commands


Update astropy-helpers to v2.0.1

This is an automated update of the astropy-helpers submodule to v2.0.1. This includes both the update of the astropy-helpers sub-module, and the ah_bootstrap.py file, if needed.
This is intended to be helpful, but if you would prefer to manage these updates yourself, or if you notice any issues with this automated update, please let @bsipocz or @astrofrog know!

Coverage remained the same at 82.143% when pulling cf6af6c433f70de104810bb8dd75f3cd98cff87e on bsipocz:update-helpers-v2.0.1 into 7ad3786b7cf0417b123306a2885cc516f7dae28b on hamogu:master.


[terraform-ibm-kms-all-inclusive] Follow up actions for examples / tests

Follow up actions once https://github.com/terraform-ibm-modules/terraform-ibm-kms-all-inclusive/pull/418 is merged:

Rename default example to basic example
Switch the upgrade test to run solutions/standard and ensure to create key rings and keys as part of the test (since the solution purposely doesn't create any by default)
Follow up on platform roles in the ibm_catalog.json (platform roles seem to be missing for Key Protect in catalog) - internal issue created
update CRA config to use CIS benchmark profile

PR https://github.com/terraform-ibm-modules/terraform-ibm-kms-all-inclusive/pull/430


Support other refseqs.

Clone of this docker-cle issue:
https://github.com/genome/docker-cle/issues/28

For both somatic and germline workflows we need to support the following refseqs at minimum:

GRCh38DH - The reference used by CCDG
GRCh38.d1.vd1 - The reference used by GDC
GRCm38 - Standard mouse refernence

For 2) and maybe 1) we would want to fix the U2AF1 region of the genome by masking with N


MatPaginator does not work with dynamic data

Bug, feature request, or proposal:
MatPaginator does not work properly with dynamically loaded data
What is the expected behavior?
MatPaginator should work the same even if the table/paginator are within *ngIf
What is the current behavior?
MatPaginator does not work at all
What are the steps to reproduce?
https://stackblitz.com/edit/angular-8e1csg
What is the use-case or motivation for changing an existing behavior?
The paginator should work within the ngIf
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.0.3, Material 6.2.1
Is there anything else we should know?
If I replace the *ngIf="dataSource" with [style.display]="dataSource ? 'block' : 'none'", then the paginator works fine.

This is pretty much not a problem of the paginator. Put console.log(this.paginator) infront of this.dataSource.paginator = this.paginator; and see, that it's still undefined.
So you are essentially assigning undefined to this.dataSource.paginator - which obviously doesn't work.
You can try something like that to overcome your problem:
  @ViewChild(MatPaginator)
  set paginator(value: MatPaginator) {
    this.dataSource.paginator = value;
  }

@pfeigl is correct - the paginator value is undefined because you have an ngIf. Unfortunately it is part of the mechanics of Angular that ngOnInit will not catch view children that are contained within an ngIf.

For what it's worth, I found it easier to move the data table to it's own component with the loaded data as an @Input() - this meant that from the POV for the data table everything was available synchronously, so I didn't have to change the way the parent component worked.

@studds good suggestion, that is what I have done as well, thanks!


Unknown exception for Dependabot policy

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
With the below config...
name: 'Dependabot Review'

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

jobs:
  compliance:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Advance Security Policy as Code
        uses: advanced-security/policy-as-code@main
        with:
          token: ${{ secrets.DEPENDABOT_API_TOKEN }} # My GH PAT, which works with the Dependabot API
          argvs: --display
          policy: GeekMasherOrg/ghas-compliance
          policy-path: policy.yml

my workflow fails with the following error:
Dependabot Alerts from Pull Request
[72](https://github.com/reverbdotcom/edge-acl/actions/runs/4948715728/jobs/8849842456?pr=70#step:3:77)
  Error: Unknown Exception was hit, please repo this to https://github.com/advanced-security/policy-as-code
[73](https://github.com/reverbdotcom/edge-acl/actions/runs/4948715728/jobs/8849842456?pr=70#step:3:78)
  Error: Unable to parse PURL ::
[74](https://github.com/reverbdotcom/edge-acl/actions/runs/4948715728/jobs/8849842456?pr=70#step:3:79)
  Total unacceptable alerts :: 0
[74](https://github.com/reverbdotcom/edge-acl/actions/runs/4948715728/jobs/8849842456?pr=70#step:3:79)
  Acceptable risk and no threshold reached.

Expected behavior
I expect the workflow to output the Dependabot findings in my repo.
Screenshots

HI @GeekMasher ,
I am encountering the above issue in one of my repo only ,
i am using v2.5.0 and below error has occurred. Kindly let us know the solution for same.
Dependabot Results
Error: Unknown Exception was hit, please repo this to https://github.com/advanced-security/policy-as-code
Error: Failed to get data from GraphQL API


Error while generating html SyntaxError: invalid syntax

I get an error when I tried to generate html from the junit xml file I have.
D:\junit2html-master>C:\Python27\python.exe junit2html D:\junit2html-master\tests\junit-complex_suites.xml D:\junit-complex_suites.html
Traceback (most recent call last):
File "junit2html", line 3, in
from junit2htmlreport import runner
File "D:\junit2html-master\junit2htmlreport\runner.py", line 7, in
from junit2htmlreport import parser, matrix, merge
File "D:\junit2html-master\junit2htmlreport\parser.py", line 10, in
from .render import HTMLReport
File "D:\junit2html-master\junit2htmlreport\render.py", line 19
def str(self) -> str:
^
SyntaxError: invalid syntax
xml file used is the xml from tests directory. tests\junit-complex_suites.xml
Am I doing something wrong?
Thanks in advance.
--
Sonu

It looks like your version of the code is incorrect or has been modified.
should be __str__ instead of str
render.py, line 19:
def __str__(self) -> str:
        env = Environment(
            loader=PackageLoader("junit2htmlreport", "templates"),
            autoescape=select_autoescape(["html"])
        )

@dmiro  I expect @sonudavidson had his pasted code turned into markdown which is why it is showing str  and not str

Hi @sonudavidson,  junit2html no longer supports python2 - see https://www.python.org/doc/sunset-python-2/

I need to graduate my glasses again. 😄


Explanation

Hi,
This i a really cool bug. Can you explain what's going on in the memory while performing the bug?
Is there a buffer overflow somewhere? Thank you for your answer.

Hello @alexanderremmerie
There are actually multiple different bugs used in the procedure (there are also other bugs of this calculator that have no use here), I can give a general explanation of what is happening in the memory, but I don't know what causes the bugs at the instruction level.
Memory
The data memory layout is made of fixed size "zones". Some examples:

"Home screen" entries (first zone, at offset 0)
"Data editor" entries (accessed with data key)
"Constant" value/function (accessed with 2nd ÷)
"Function table" function (accessed with table key)

To store the symbols inside most parts of the data memory (examples: "Home screen", "Constant" and "Function table"), the calculator uses a 1 byte (8 bits or rather two times 4 bits) "alphabet", where one symbol uses one byte.
Some examples:

Byte value (decimal)
Byte value (hex)
Symbol

1
01
(

2
02
,

3
03
+

4
04
*

5
05
 nCr

25
19
iPart(

30
1E
1

42
2A
log(

46
2E
2

47
2F
minX

62
3E
3

75
4B
tan(

105
69
lcm(

121
79
gcd(

137
89
remainder(

143
8F
Clear L3

157
9D
1-Var Stats

188
BC
π

Some of them are usable symbols (or functions) that are accessible trough keys/menus (like +, *,  nCr , tan() or not (like iPart(, lcm(, gcd( or remainder( : those ones are accessible with keys/menus in older/different models of TI calculators but they do work on the TI-30X B/S MultiView).
Some are used in the menus: they will produce unexpected results if put inside a calculation (like Clear L3 or 1-Var Stats).
Some others (not represented here) need multiple bytes because the MathPrint mode stores textbook-style symbols (like square root, exponent, ...) with multiple bytes. For example, square root of ... is (in decimal): 74, ..., 33.
To store the entries inside the "Data editor", the calculator uses another system because those entries are not stored as a calculation but as a number:

One byte indicate with a bitmask if the number is "special", like a negative number, a fraction or a multiple of π
6 bytes (or 12 times 4 bits) contain the fraction or number with a 16 characters (4 bits) alphabet for the 10 digits (the other 6 characters are symbols, arrow, spaces, ...)
One byte stores the exponent

Right now, I explained how the symbols are stored, but to distinguish the entries from each others, they need to be inside a structure:

In the "Data editor", this is simple: every cell of the table is at a fixed position and uses exactly 8 bytes. The calculator also stores the number of rows of each column somewhere.
For the "Home screen" entries, this is different:

The first byte indicates the length of the entry (including the length (1) of this byte itself and the length (2 or 4) of the metadata). A length of 0 means there is no next entry in memory (end of the "list"). A length of 255 for a result indicate an Error and does not contain other metadata or data.
The next 2 (for inputs) or 4 (for result) bytes are the metadata bytes: they contain information about the height/width of the entry on screen and (for the results only) the position on screen
Then there are the symbols (explained previously) making this entry.

For example, if you type square root of 121 on the home screen, this is what the data memory will look like (in decimal):

Offset
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
...

Value
7
84
2
12
8
30
30
8
24
10
74
30
46
30
33
0
...

Details:

Values
Explanation

7
size of result (1 + 2 + 2 + 2 = 7)

84, 2
on screen result position

12, 8
on screen result dimensions

30
number 1

30
number 1

8
size of input

24, 10
on screen input dimensions

74
start of square root symbol

30
number 1

46
number 2

30
number 1

33
end of square root symbol

0
entry of size 0 = end of entries list

It you type it twice, this sequence (without the zero at the end) will simply appear twice with the zero at the end.
To reset the "Data editor" values, the calculator sets the length of the columns to 0.
The way the calculator resets the "Home screen" entries is by setting the very first byte to 0. That way, the "list" is broken but the entries are still in memory as long as they are not erased by new entries.
For example, if you press reset now, this is what the memory will look like:

Offset
0
1
2
3
4
5
6
...

Value
0
84
2
12
8
30
30
...

Bugs
First Bug
The first bug is what I call the "half-delete". Normally, when an input or result is deleted, the (respectively) result or input associated with it is also deleted.
This bug will delete only the most recent entry in memory: either a result or an input.
Here are 2 variants/examples that will trigger it (assuming the cursor in on the home screen):
data 0 enter ▶ sto▸ data enter enter sto▸ clear clear 2nd mode
or
data 3 enter ▶ sto▸ data 1 enter sto▸ clear clear clear clear clear
After doing it once (or an odd number of times), the calculator will interpret the inputs as the results and the results as the inputs.
Since the results use 2 more bytes of metadata, the inputs (displayed as results) will be truncated of their first 2 bytes (those bytes will be interpreted as the dimensions by the calculator). And the results (displayed as inputs) will "gain" 2 bytes that corresponded to their original dimensions on screen. Those bytes will be interpreted as symbols by the calculator.
This allows generating some specific symbols. Obviously, if a MathPrint symbol is not complete (like 74, ... without 33 ever) this will produce some interesting bugs, undefined behaviours or freezes.
Second bug:
After this sequence of operations:

Typing one character (let's call it the offset, we'll see later why) that will give an error when enter is pressed; in this example, this is the . character (other examples: +, -, ...)
Pressing enter
Pressing the exponentiation key (^) to get . to the power of a square with a dotted border
Pressing enter
Performing the "half-delete" bug

The data memory looks like this (in decimal):

Offset
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
...

Value
7
12
10
18
7
51
113
255
4
6
8
18
0
0
255
4
6
8
18
0
...

Details:

Values
Explanation

7
size of entry

12, 10
dimensions of entry on screen

18
.

7
start of exponent symbol

51
square with a dotted border

113
end of exponent symbol

225
size of entry, 255 = Error, this is the result of . enter

4
size of entry

6, 8
dimensions of entry on screen

18
.

0
entry of size 0 = end of entries list

0, 255, 4, 6, 8, 18, 0
inaccessible leftover copy of result Error and input . because the "half-delete" moved the list to the left after one entry was deleted.

But since the "half-delete" only deleted one entry, we now have 3 entries in memory, with the most recent one being interpreted as a result, so this is how the calculator sees it:

Values
Explanation

7
size of entry

12, 10
position of entry on screen

18, 7
dimensions of entry on screen

51
square with a dotted border

113
end of exponent symbol (which has no start anymore ...)

So we now have extracted an incomplete MathPrint symbol that appears as a square with a dotted border.
We can now select this entry with ▲ and paste it on the editable line (bottom line) of the home by pressing enter once.
The editable line will look like this in the working memory (in decimal): 51, 133.
Now if we press ◀, and paste the entry again at that position, the editable line contains: 51, 133, 133. It looks like one of the 51 got overwritten.
Now, if we press delete, this will trigger the "second bug" and the memory will suddenly look like this (in decimal):

Offset
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
...

Value
6
90
0
6
8
14
3
0
8
18
7
51
113
255
4
6
8
18
0
0
255
4
6
8
18
0
...
??
...

What causes this exactly is unclear to me but the result is that the first 3 bytes (7, 12, 10) are replaced by (6, 90, 0, 6, 8, 14, 3, 0, 8) and the next bytes are moved to the right.
The memory is now interpreted by the calculator as:

One entry of size 6
One entry of size 3
One entry of size 18
The rest depends on what value is present at the byte with offset 27 (= 6 + 3 + 18).

This has an interesting consequence: the symbol . that has a decimal byte representation of 18 is now interpreted as the size on an entry (at offset 9).
So, by knowing the position of the inaccessible entries in memory, it it possible to find the character/symbol (in this example .) corresponding to the right offset (in this example 18) and, with this technique, place it at offset 9 to "point" to the next entry and then remove the few garbage entries (with deletes or half-deletes depending on the number of entries).
In the full procedure, I simplified the calculation of the size value a bit, as it differs from the actual offset by a constant number.
Third bug
A large part of the procedure is composed of tricks to set the value of the byte at offset 9 to the right offset, but there is also another bug worth mentioning to reach this goal in some specific cases:
Normally, in the "Data editor", there are only 42 rows. But there the is a way to access rows 43 and higher.
This is not very useful in everyday use as this additional space comes from somewhere: the values overflow on the next columns (for example: column 1 from row 43 to 82 corresponds to column 2 from row 1 to 42) or on another memory location (for example: column 3, row 61 will write inside the "Constant" value/function ordinarily accessible with 2nd ÷). Technically, this is a buffer overflow.
Here is one way to get more than 42 rows (assuming the cursor is on the home screen and the data editor is empty):

Press data.
(40 times) Press 0 enter.
At this point, the bottom of the screen should show L1(41)=    . If it's not the case, insert or delete the right amount of cells to get 40 lines of zeros and go to row 41.
Press ▶
Press sto▸ data enter enter ▲ 0 enter
Press ◀ 0 enter 0 enter enter 0 enter

This is useful in some specific cases (when 'size' is equal to 21 or 22), in order to get a specific character thanks to the different encoding used by the "data editor" compared to the "Constant" value/function (2nd ÷).
The 43rd row is also used when the most recent entry in the memory is too small and would be overwritten by the recovery procedure: when this row is reached, it is possible to move the whole "Home screen" memory by an offset of 8 by simply pressing 2nd delete on the 43rd row.
I hope this answers your questions.

Thank you for this very detailed explanation.
Would it be possible to write data to memory so that the calculator interprets the data as code (like assembler) and execute your own code on the calculator?
For example, is it possible to make a snake game and then write it to memory so that the calculator executes the code (if possible, without deleting the authentic code)?

I don't think this is possible.
Only "working RAM" (small, fast) and "data RAM" (bigger, slower) are both modifiable and big enough to store a (very small) program but, unfortunately, the processor cannot directly execute code stored in RAM. The executable code is stored in ROM, which is not modifiable (at least without external tools).


[Bug]: Internet connection drops out/times out and download stops with an Unhandled Error popup

Affected Version
1.80.14-PRE
Bug Behavior
I have slow and unreliable internet connection - when the connection drops out the download stops and an Unhandled Error popup appears with the stack trace.
Expected Behavior
Keep retrying every few seconds and continue download.
Steps to reproduce

Start downloading the game
Have your connection drop out (without disconnecting Wi-Fi or Ethernet cable)
Connection times out and produces unhandled error

Related Issues
No response
Screenshot(s)

Additional Information
System.TimeoutException: Request for session ID: 16258 has timed out!
 ---> System.Threading.Tasks.TaskCanceledException: OperationCanceled
 ---> System.IO.IOException: net_io_readfailure, The I/O operation has been aborted because of either a thread exit or an application request.
 ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.
   Exception_EndOfInnerExceptionStack
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError, CancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16)
   at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken, Int32)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16)
   at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1, CancellationToken)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16)
   at System.Net.Http.HttpConnection.ReadAsync(Memory`1)
   at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory`1, CancellationToken)
   Exception_EndOfInnerExceptionStack
   at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory`1, CancellationToken)
   at Hi3Helper.Http.HttpResponseInputStream.ReadAsync(Byte[], Int32, Int32, CancellationToken )
   at Hi3Helper.Http.Http.SessionTaskRunnerContainer(Session, CancellationToken)
   Exception_EndOfInnerExceptionStack
   at Hi3Helper.Http.Http.SessionTaskRunnerContainer(Session, CancellationToken)
   at Hi3Helper.Http.Http.SessionTaskRunnerContainer(Session, CancellationToken)
   at Hi3Helper.Http.Http.<TaskWhenAllSession>b__41_0(Session session, CancellationToken innerToken)
   at System.Threading.Tasks.Parallel.<>c__57`1.<<ForEachAsync>b__57_0>d.MoveNext()
--- End of stack trace from previous location ---
   at Hi3Helper.Http.Http.TaskWhenAllSession(IAsyncEnumerable`1, CancellationToken, Int32)
   at Hi3Helper.Http.Http.Download(String, String, Byte , Boolean , CancellationToken )
   at CollapseLauncher.InstallManager.Base.InstallManagerBase`1.RunPackageDownloadRoutine(GameInstallPackage package, CancellationToken token, Int32 packageCount)
   at CollapseLauncher.InstallManager.Base.InstallManagerBase`1.InvokePackageDownloadRoutine(List`1 packageList, CancellationToken token)
   at CollapseLauncher.InstallManager.Base.InstallManagerBase`1.StartPackageDownload(Boolean skipDialog)
   at CollapseLauncher.Pages.HomePage.InstallGameDialog(Object sender, RoutedEventArgs e)

Heyo, this is intended behavior as Collapse attempts to restore the connection a couple of times before giving up. This is not a bug and is behaving as expected. That being said, I believe the confusion is that this is an error that does not provide enough context for the user. Thus, maybe adding a message to the user may help, though it remains up for deliberation @bagusnl


Button backgroundColor not changing after component rerendered

I have gone through these following points

[x]   Check latest documentation: https://docs.nativebase.io/
[x]   Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[x]   Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[x]   Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[x]   For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[x]   For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description
I tried to dynamically change the backgroundColor of a button by setting a variable as the value of the backgroundColor. Even though the component was rerendering, the styling value was not changing. I logged the value of variable below the user. As we can see, after pressing the Button, the component is rerendering and the value does change but the backgroundColor does not.

After changing the button Component to a TouchableOpacity component and design the Button myself, it did work.

node, npm, react-native, react and native-base version, expo version if used, xcode version
Node : 10.16.0
NPM : 6.10.2
React : 16.8.6
React-Native : 0.60.4
Native-Base : 2.13.0
Expected behaviour
The backgroundColor should change when the component is rerendering and the value of it is changing.
Actual behaviour
The backgroundColor did not change, the only way of doing so was to manually rerender the component by pressing the Display button to reshow the components.
Steps to reproduce
This is my Icon wrapped inside a Button component from native-base.
            <Button
                style={[
                  wallStyling.buttonIcon,
                  { backgroundColor: isMagnified },
                ]}
                onPress={() => this.handleMagnifyMessage(message)}
              >
                <Icon active name="md-resize" style={wallStyling.icon} />
              </Button>

The variable was defined as : const isMagnified = magnifiedMessage === message._id ? 'green' : '#0078FF';
This is the workaround I used, I had to create my own button Component by using a TouchableOpacity from react-native instead of a Button from native-base. It was working after using TouchableOpacity.
              <TouchableOpacity
                style={[
                  wallStyling.buttonIcon,
                  {
                    backgroundColor: isMagnified,
                    alignSelf: 'center',
                    color: '#fff',
                    paddingHorizontal: 17,
                    paddingVertical: 12,
                    justifyContent: 'center',
                  },
                ]}
                onPress={() => this.handleMagnifyMessage(message)}
              >
                <Icon active name="md-resize" style={wallStyling.icon} />
              </TouchableOpacity>

Is the bug present in both iOS and Android or in any one of them?
I only tried on Android.
Any other additional info which would help us debug the issue quicker.
I also tried to set the backgroundColor on the Icon directly but it didn't change anything. To make it work using only an Icon, I had to wrap it in a View component and set the backgroundColor to it.

Can you check with the latest version v2.13.4?

@sankhadeeproy007 I can confirm that on the latest v2.13.4 the issue is still there.

Can you please check in node_modules the version of native-base-shoutem-theme installed?

I updated native-base to v2.13.4 and as @dgeorgiev said, issue is still there. I have the version 0.3.0 of native-base-shoutem-theme

@lwintjen @dgeorgiev I tried this in snack and is working fine. Please check once and if you can reproduce it make the changes to this snack and lemme know.

@PlabanJr It now works, thanks for your snippet. I guess it came from my version of native-base not up to date.


infix to postfix program

A java infix to postfix program for any equation, using stack

Hey @deevya make sure your PR follows Contribution Guidelines specified by the maintainer @alfaPegasis

Hey @deevya make sure your PR follows Contribution Guidelines specified by the maintainer @alfaPegasis

What's wrong in this pr? I was unable to understand

You need to add your code to its specific language folder, currently your code lies in the index folder.

How can i make the required change

How can i make the required change

I am not sure wheather you can make the requested changes for the same PR, what I would suggest you is

Open any online/offline code editor (you can do that be replacing .com with .dev in the repo URL ) or use this link
Move your code to it's respective folder
Open a new PR


xtensa: cavs: add uncached ram sections to cavs25 linker script

xtensa: cavs: add uncached ram sections to cavs25 linker script
Align cavs25 with cavs15/18 and add memory segment for uncached mapping of
the SRAM to linker script. Assign sections to uncached and cached segments
as done in cavs15/18.

Just for sharing with @lyakh and @andyross .

Until we get this working and merged, we need to this fix on SOF side to boot cavs20/25 successfully with SOF:
https://github.com/thesofproject/sof/pull/4220

I really need to get you guys a working python loader for 2.5.  This kind of thing is a circumstance where having a minimal hello_world binary into which you can throw printk()'s along the boot path really helps.  FWIW: messing this up and enabling CONFIG_KERNEL_COHERENCE generally has the effect of the Zephyr kernel tossing an assert fairly early on.  There are checks in there to make sure you don't have any synchronization objects like thread structs or spinlocks in incoherent memory.  If you see that message, you can then go back and check e.g. zephyr.lst to see where the thing got linked and try to work back through the linker script to why it was put in the wrong place.

@andyross Here's a slightly modified version that actually boots up.
If you just push bss to uncached, FW stops booting. It does come up quite far (I can see traces from threads) but I never see FW_READY. If you have the python boot script ready, this would be interesting to test with that. I checked the object dump that the bss change looks as expected in the linker output.
Minimal patch to make the boot fail on top of this:
--- a/soc/xtensa/intel_adsp/cavs_v25/linker.ld
+++ b/soc/xtensa/intel_adsp/cavs_v25/linker.ld
@@ -538,7 +538,7 @@ SECTIONS
        _loader_storage_manifest_end = ABSOLUTE(.);
   } >ram :ram_phdr

-  .bss SEGSTART_CACHED (NOLOAD) : ALIGN(4096)
+  .bss SEGSTART_UNCACHED (NOLOAD) : ALIGN(4096)
   {
     . = ALIGN(4096);
     _bss_start = ABSOLUTE(.);
@@ -557,7 +557,7 @@ SECTIONS
     *(COMMON)
     . = ALIGN(8);
     _bss_end = ABSOLUTE(.);
-  } >ram :ram_phdr
+  } >ucram :ucram_phdr

@kv2019i as I was porting 1.8 to this scheme, the linker script proved to be extremely sensitive to each change. What if you do the .bss section exactly as for 1.8, i.e.
  . = ALIGN(4096);

  .bss SEGSTART_UNCACHED (NOLOAD) :
  {
    _bss_start = ABSOLUTE(.);

without any further ALIGN instructions in it? BTW, are you getting any warnings from the linker if you make this your .bss change?

Hmm @lyakh , that didn't help. It is true that with my version, linker complains "warning: changing start of section .bss by 576 bytes", so that's probably more correct. But functionality it's the same with both, boot doesn't complete.

Hmm @lyakh , that didn't help. It is true that with my version, linker complains "warning: changing start of section .bss by 576 bytes", so that's probably more correct. But functionality it's the same with both, boot doesn't complete.

@kv2019i ah, but I also had similar warnings and until I fixed them all it didn't work...

Ok, updated a new version that boots on cavs25 and tested on TGL hadware with a binary built with Zephyr SDK 0.12.4.
@andyross @nashif  I was wondering if we can merge this first and figure out how to share linker script logic between cavs versions in a separate PR. Getting this in will enable to start running SMP test content on cavs25 platforms.

@lyakh Please check, I think this is ready to go.

@lyakh wrote:

I'm still not sure how important the . = SEGSTART_UNCACHED; statement before #include <linker/common-ram.ld> is.
Maybe @andyross knows? Or maybe you could try booting SMP with that line and see if it changes anything?

Ok, hmm, why have differences when we can align. I updated the PR now. Now it should be same as cavs18. This will make it easier to do the follow-up to reuse the definitions across cavs versions. I run quick tests on TGL and getting same results (as expected as the linker output looks identical).


[Post v2.3] Improves pinned RecycleBin

Resolved / Related Issues
The favorite RecycleBin is particular. We can't move it. In the code, it is handled separately.
The context menu of the RecycleBin page does not offer an entry for Pin/Unpin.

Closes #9191
Closes #8227
Related #9192

Details of Changes
The RecycleBin favorite becomes a favorite like any other, stored like any other. It can be moved and retains its specific menu entries.
The setting to display it is retained. He has priority at the start of the session to add/remove the favorite if necessary. This makes it possible not to break the user's current preferences.
The context menu of the RecycleBin page offers an entry for Pin/Unpin.
Validation
How did you test these changes?

[x] Built and ran the app

With this PR yes, by typing "shell:recyclebinfolder". This is not too obvious, if the plan is to remove the setting to pin recycle bin on sidebar we need to find an easier way to navigate to bin.

Agreed, I think that should be included with this PR as it's already changing the way it works.

This PR doesn't change things. The option in setting still exist here.
I'd suggest to merge it like this. Removing the setting can be done in a different PR, once we have a clear idea about how to make it easy to navigate to bin.


Watch for updates

Unfortunately it doesn't look like GitHub provides an API for us to subscribe to updates, so we'll have to poll instead.


Inconsistent tagging practices on community posts

At the moment we have two similar tags in use:

This issue proposes deprecating the Community Contribution tag that pre-dates the community blog process that introduced the Community tag. This would require changes to these three posts:

[Enterprise IDPs must mature fast...](Enterprise IDPs must mature fast. Here’s how infrastructure optimization can help) - Add Community tag and remove Community Contribution tag
Platform Engineering at KubeCon... - Add Community tag, which seems to have been missed?
Clusters for all cloud tenants - remove Community Contribution tag (I don't think it is appropriate to add a Community tag, since it pre-dates the community post concepts.)

@abangser fyi

Great catch @earth2marsh , we should definitely combine on one and my bad on creating the duplication with the new process!
While we are doing the work, just want to confirm why we would pick one over the other as we can go either way.
community is shorter but with contribution do we get any more clarity?
Wdyt?

I'm happy with that solution @earth2marsh! Have assigned you and really appreciate your initiative here!


Algolia Search Absolute

Hello @justinwhall,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


r

User Story
As a User
I want to have an graphical overview about all my Transactions
so that easily see where my money is going.
Description
A new page will be added where the user sees a Chart, that shows all transactions filtered by category.

AC

[ ] new navigation link to analyse page
[ ] chart will be displayed correctly

Tasks

[ ] create new branch
[ ] implement react charts
[ ] use filterAllTransaction to fill data to the chart

Complexity
m
depends on
#55


move css option scaffold to be after i18n set up

WHY are these changes introduced?
Fix: https://github.com/Shopify/hydrogen/issues/2314

WHAT is this pull request doing?

The CSS option for tailwind modify root.tsx, but this file is overwrite later on during i18n setup.
Because h2 setup css work for existing project and shared the same code for setup during init or setup css,
I moved the CSS option to be run after the i18n setup.
HOW to test your changes?

run h2 init and select tailwind option
Post-merge steps

Checklist

[ ] I've read the Contributing Guidelines
[ ] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[ ] I've added a changeset if this PR contains user-facing or noteworthy changes
[ ] I've added tests to cover my changes
[ ] I've added or updated the documentation

Closing in favor of #2318


[WIP] Add suppression file for possile leak detected by Valgrind

Not investigating this memory error further because I don't think it's worth our time

CI is not setup properly for dtk-2.0 as in #500
Please ignore failures

Note that Valgrind detects the exact same memory error in the C API test.  So the current location of the suppression file might not be the most appropriate.


Impossible to bind an AudioContext to the audio element 'cause it's already connected to another sourceNode.

Have you read the FAQ and checked for duplicate open issues?: Yes
What version of Shaka Player are you using?: 2.3.3
Can you reproduce the issue with our latest release version?: Yes
Can you reproduce the issue with the latest code from master?: Yes
Are you using the demo app or your own custom app?: Custom app
If custom app, can you reproduce the issue using our demo app?: Yes
What browser and OS are you using?: Chrome 65 and OS X 10.13.3
What are the manifest and license server URIs?:
(NOTE: you can send the URIs to<EMAIL_ADDRESS>instead, but please use GitHub and the template for the rest)
(NOTE: a copy of the manifest text or an attached manifest will not be enough to reproduce your issue, and we will ask you to send a URI instead)
What did you do?
I tried to bind an AudioContext to my  element which is wrapped in shaka-player.
const context = new (AudioContext || webkitAudioContext)();
// bind the context to <audio /> element
const source = context.createMediaElementSource(audio);

What did you expect to happen?
The binding would work so I could implement my crossfade function. (I wanna crossfade 2 songs in a playlist)
What actually happened?
home.js?6205:148 Uncaught (in promise) DOMException: Failed to execute 'createMediaElementSource' on 'BaseAudioContext': HTMLMediaElement already connected previously to a different MediaElementSourceNode.

Seems like shaka-player is already connecting the HTMLMediaElement to a MediaElementSourceNode. If it's the case, is there any way to retrieve this MediaElementSourceNode ?

I have a little experience with the Web Audio API, but we don't use it in Shaka Player.  I know that it is possible to do with Shaka Player as I have used it to create a visualizer. My guess is this is a problem with your app.  Maybe this is getting called twice and the second one is failing?  Or maybe you are using another library that is binding to the element?

When I try to bind the audiocontext before init shaka-player I don't have that error. I'm inverstigating.

Update :
I have bound the audiocontext at the lauch of the app. Now I don't have this error anymore but, the music is no played as a click on a track. This problem disappear if comment the initWebAudioApi() function.
componentDidMount () {
  this.initWebAudioApi();
  this.initShakaPlayer();
  this.initMediaSession();
}

initWebAudioApi () {
  // create a new audio context
  this.context = new (AudioContext || webkitAudioContext)();
  // bind the context to our <audio /> element
  this.source = this.context.createMediaElementSource(this.audio.base);
}

Once you create the source object, the audio output is detached from the audio device.  You'll need to attach the source to something to be able to hear the audio again.  For example, if you wanted to put an analyser between the <video> and the audio device:
let analyser = this.context.createAnalyser();
// The <audio> should output to the analyser.
this.source.connect(analyser);
// The analyser should output to the audio device.
analyser.connect(this.context.destination);

Thanks ! That works perfectly.


Fallback to alpha JWT policy if RequestAuthentication is not found

This allows users to slowly migrate to the beta policy:

If there is a RequestAuthentication config for a given workload, it will be used (for Jwt validation)
If not, it will try to use alpha1 applier and policy to generate Jwt filter.

This strategy will also be used for other part of the authN filter chain, including authN filter and (may be) mTLS.
Issue:
https://github.com/istio/istio/issues/19084

@diemtvu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
7a70e29f5f5cea9051db1490c88f5721579686ab
link
/test unit-tests_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.

@diemtvu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-istioio-k8s-tests_istio
7d90962eaae73892379a3a0e4a1fd76fcb403e54
link
/test integ-istioio-k8s-tests_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.

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

Test name
Commit
Details
Rerun command

integ-istioio-k8s-tests_istio
7d90962eaae73892379a3a0e4a1fd76fcb403e54
link
/test integ-istioio-k8s-tests_istio

lint_istio
7d90962eaae73892379a3a0e4a1fd76fcb403e54
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.

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

Test name
Commit
Details
Rerun command

integ-istioio-k8s-tests_istio
7d90962eaae73892379a3a0e4a1fd76fcb403e54
link
/test integ-istioio-k8s-tests_istio

lint_istio
fc1370bdfc02b711323612501ee698b7b87d7f59
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.

/test lint_istio

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

Test name
Commit
Details
Rerun command

integ-istioio-k8s-tests_istio
7d90962eaae73892379a3a0e4a1fd76fcb403e54
link
/test integ-istioio-k8s-tests_istio

lint_istio
fc1370bdfc02b711323612501ee698b7b87d7f59
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.

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

Test name
Commit
Details
Rerun command

lint_istio
fc1370bdfc02b711323612501ee698b7b87d7f59
link
/test lint_istio

unit-tests_istio
84a4932879897780cfbe0b078c0282b5336c5bf7
link
/test unit-tests_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.

/test unit-tests_istio

@diemtvu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_istio
8ca5f4a41adc16add62f624716b45a6750e0becf
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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
8ca5f4a41adc16add62f624716b45a6750e0becf
link
/test gencheck_istio

lint_istio
8ca5f4a41adc16add62f624716b45a6750e0becf
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.

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

Test name
Commit
Details
Rerun command

gencheck_istio
8ca5f4a41adc16add62f624716b45a6750e0becf
link
/test gencheck_istio

lint_istio
8ca5f4a41adc16add62f624716b45a6750e0becf
link
/test lint_istio

e2e-mixer-no_auth_istio
8ca5f4a41adc16add62f624716b45a6750e0becf
link
/test e2e-mixer-no_auth_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.

@diemtvu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pilot-multicluster-e2e_istio
f606f826c99ebef877ecfcfce693770c7d6a7b78
link
/test pilot-multicluster-e2e_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.

/test pilot-multicluster-e2e_istio

@diemtvu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-istioctl-k8s-tests_istio
f606f826c99ebef877ecfcfce693770c7d6a7b78
link
/test integ-istioctl-k8s-tests_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.

/test integ-istioctl-k8s-tests_istio


Rendering incorrectly using the datepicker in React 15.4.2

For some reason the calendar isn't rendering correctly and the only recent change we have made is upgrade to react
<DatePicker
                  label="Rent Begin"
                  placeholderText="Pick rent begin date"
                  minDate={moment()} // Today is minimum date
                  weekStart='0' // start on sunday
                  selected={this.state.rentBeginMoment ? moment(this.state.rentBeginMoment) : null}
                  onChange={this.handleChangeRentStartDate.bind(this)} />

I am getting the same

I guess u people are forget to import the css file
i.e.., import 'react-datepicker/dist/react-datepicker.css';

Importing the CSS file working for me. Thanks @Yamini-Govardhani

It still didn't work for me :-(


Env vars are case sensitive when merge_enabled=True. Is that by design?

Let's say i have very simple yaml config with envs:
default:
  my_section:
    my_param: "default settings content"
development:
  my_section:
    my_param: "development settings content"

And i want to override my_param with env variable at some point. What's proper env var name for such case? DYNACONF_MY_SECTION__MY_PARAM works if merge_enabled=False.
However, if merge_enabled=True, DYNACONF_MY_SECTION__MY_PARAM will set my_section.MY_PARAM, not my_section.my_param.
Easy reproducer:
import os
import dynaconf

os.environ["DYNACONF_MY_SECTION__MY_PARAM"] = "env var content"

settings = dynaconf.LazySettings(
	environments=True,
	env="development",
	settings_files=["settings.yaml"],
	merge_enabled=True,
)

print(settings.my_section.my_param)
print(settings.my_section.MY_PARAM)

Running the code returns the following output:
development settings content
env var content

setting merge_enabled=False and re-running the code returns expected output:
env var content
env var content

Documentation is kinda confusing about this behavior, so i'm not 100% sure it's a bug:
On the one hand, https://www.dynaconf.com/envvars/ examples are showing uppercase env vars are correctly recognized:
export DYNACONF_PERSON__IS_ADMIN=true
assert settings.person.is_admin is True

And it works like that with merge_enabled=False
On the other -  there's the following line:
Also variable access is case insensitive for the first level key

And there's https://www.dynaconf.com/configuration/#lowercase_read , so it looks like only the first level keys are designed to be case insensitive.
I'm using dynaconf 3.1.7, OS is macOS 12.2.1 if that matters.

@abalakh this is a bug, env vars are case insensitive only on windows because on windows every env var is forced to be upper case, on linux it should have worked

@abalakh does it work if you set
DYNACONF_MY_SECTION__my_param=othervalue

??
^that must work, however with all upper must also work if the key already exists in the settings.

@rochacbruno yes, with lowercase everything works. That's what i'm currently using as workaround.

There is a similar issue. An empty lowercase YAML key value isn't overridden by an uppercase environment variable even when merge_enabled is false:
def test_empty_yaml_key_overriding(tmpdir):
    new_key_value = 'new_key_value'
    os.environ["DYNACONF_LEVEL1__KEY"] = new_key_value
    os.environ["DYNACONF_LEVEL1__KEY2"] = new_key_value
    os.environ["DYNACONF_LEVEL1__key3"] = new_key_value
    os.environ["DYNACONF_LEVEL1__KEY4"] = new_key_value

    tmpdir.join("test.yml").write(
        """
        level1:
          key: key_value
          KEY2:
          key3:
          key4:
        """
    )

    _settings = LazySettings(settings_files=['test.yml'], merge_enabled=False)

    # AssertionError: assert 'key_value' == 'new_key_value' if merge_enabled=True
    assert _settings.level1.key == new_key_value  # OK
    assert _settings.level1.key2 == new_key_value  # OK
    assert _settings.level1.key3 == new_key_value  # OK
    assert _settings.level1.key4 == new_key_value  # AssertionError: assert None == 'new_key_value'

Dynaconf is from the master branch (3.1.10.dev0)

@bartolootrit I found the problem you described and it has to do with how dictionaries are ordered.
The env_loader is getting data as:
{'LEVEL1': {'KEY4': 'new_key_value', 'key': 'key_value', 'KEY2': None, 'key3': None, 'key4': None}}

And as dicts considers only latest added elements the None is there, I am thinking on a way to solve it.

I think it might be fixed on this PR https://github.com/dynaconf/dynaconf/pull/795

@rochacbruno Yes. Thank you.


style.css not found when hosting on Github Pages

Hi,
I'm new to Jekyll & Github Pages so I'm probably missing something obvious here but I cannot find what.
style.css is loaded in default.html via
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
So on Github Pages hosting, the url for this stylesheet is https://alexpoint.github.io/assets/css/style.css?v=33125130a4821c5cff85754a283fd242618965dd
and it's actual location is
https://alexpoint.github.io/remedes/assets/css/style.css?v=33125130a4821c5cff85754a283fd242618965dd
Any idea what I'm missing here to have the name of the repository included in the URL?
Thanks

We can't speak to the specifics of your site just by looking at two URLs. If you contact GitHub support they should be able to help you get things straightened out.