#@!94fbr Free Fire India APK 2024 Download Latest Version

What is 94fbr Free Fire India game?
Watch 🟢 ➤ ➤ ➤ 🌐 Click Here To link (Full Viral Video Link)
🔴 ➤►DOWNLOAD👉👉 (Full Viral Video Link)
Watch 🟢 ➤ ➤ ➤ 🌐 Click Here To link (Full Viral Video Link)
🔴 ➤►DOWNLOAD👉👉 (Full Viral Video Link)
94fbr Free Fire India is a battle royale game created by Garena, specifically tailored to cater to the Indian gaming audience. The game follows the same concept as the original Free Fire, where players are dropped onto an island and must fight to be the last person standing. However, 94fbr Free Fire India has been optimized to meet the unique preferences and cultural aspects of Indian players, providing a localized gaming experience.
From custom events to India-specific content, the game brings a personalized approach, which has made it incredibly popular in the country. With enhanced security measures in place, Garena has ensured that players can enjoy the game without worrying about data privacy concerns, as this version is built in compliance with local regulations.
Don't miss your chance to experience 94fbr Free Fire India APK today! Check out the details at APKHiHe.Net!
Graphics in 94fbr Free Fire India
94fbr Free Fire India boasts impressive graphics, despite being a lightweight game optimized for low-end devices. The graphics in the game deliver a vibrant and visually appealing environment, with a wide array of landscapes, from grassy plains to urban areas, providing a dynamic battleground for players. Each map is carefully designed to offer strategic elements that challenge the players’ ability to adapt to different terrains and circumstances.
Additionally, the game includes visually appealing character designs, unique skins, and special effects during battles, making each match feel thrilling and immersive. The developers have worked hard to ensure the graphics are optimized for smooth gameplay, even for players with low-end smartphones, so more users can enjoy the experience without lag or frame rate issues.
Features in 94fbr Free Fire India
Localized Content: One of the key highlights of 94fbr Free Fire India is its localized content. The game includes Indian-specific events, characters, costumes, and in-game items, all designed to resonate with Indian players. From traditional attire to special Indian-themed events, the localized content enhances the connection with its target audience.
Enhanced Data Security: With data privacy being a major concern, Garena has implemented enhanced security measures in this version to comply with local data protection regulations. This ensures the safety and privacy of players’ information, building trust in the gaming community.
Optimized for Low-End Devices: The game is designed to run smoothly even on low-end smartphones, which is critical for reaching a wider audience in India, where not everyone has access to high-end gaming devices. This optimization allows millions of players to enjoy the game without technical difficulties.
Quick Match Sessions: A typical match in 94fbr Free Fire India lasts around 10 minutes, making it perfect for mobile gamers who prefer short and intense gaming sessions. This feature has made it a favorite among players who want quick and action-packed matches.
Design and User Experience
94fbr Free Fire India offers a user-friendly design that is accessible to both beginners and experienced players. The intuitive interface makes it easy to navigate through menus, customize characters, and join matches quickly. The game’s layout is clear, with simple icons and smooth transitions between different sections.
The user experience is further enhanced by regular updates, which keep the game fresh with new content, features, and in-game events. Players can customize their gameplay with different characters, each having unique abilities that add a layer of strategy to the game. The controls are highly responsive, ensuring that players can enjoy fast-paced action without feeling restricted by poor mechanics.
Conclusion
94fbr Free Fire India is an exciting and immersive battle royale experience, offering tailored content for Indian players while maintaining the thrilling gameplay that made Free Fire a global success. Its optimized graphics, localized content, security focus, and accessible design have contributed to its growing popularity in India.
With frequent updates, engaging features, and the ability to run on a wide range of devices, 94fbr Free Fire India continues to capture the attention of both new and experienced gamers, making it a standout title in the battle royale genre.


Adding dates to cells is not easily discoverable

Using the following example to determine cell value:
    private static CellValues GetDataType( object DataColumn )
    {
        CellValues cvs = new CellValues();

        if( DataColumn is int || DataColumn is short || DataColumn is long ||
            DataColumn is float || DataColumn is double || DataColumn is uint ||
            DataColumn is ulong || DataColumn is ushort || DataColumn is decimal)
        {
            cvs = CellValues.Number;
        }
        else if (DataColumn is DateTime)
        {
            cvs = CellValues.Date;
        }
        else
        {
            cvs = CellValues.String;
        }

        return cvs;
    }

Any time I use CellValues.Date spreadsheet needs repair. Everything displays correctly but ideally I would like it not to need repairing on opening.
Allowing DateTime to fall into the CellValues.String also works.
I don't know if it's a bug or not, so I am just asking if it's a valid cell value.

@thyams Which platform are you running on? ie .NET Framework, UWP, .NET Core, etc

NetCore, CI

Do you see the repro if you compile against .NET Framework?

I will try tomorrow.

Please disregard that last reference from #131. It was a mistake.

@thyams Were you able to repro it on .NET Framework?

I have this same issue compiled against net461.  I'm temporarily writing strings, anytime I use CellValues.Date and put a date into it it corrupts the spreadsheet.  I set the cell's DataType to CellValues.Date and then the CellValue to a new CellValue with the date passed in as a string to the constructor of CellValue (perhaps it needs a specific format on the date?.. as opposed to whatever DateTime.Now.Date.ToString() might spit out?).

@blakepell You need to call ToString() with the appropriate format string to generate an ISO 861 compliant string. Calling DateTime.Now.Date.ToString("s", CultureInfo.InvariantCulture) should get you what you want.
This seems like a common thing someone would want to do, so I think we should add an overload to CellValue that takes a DateTime.

Try to set CellValues to Number.

I am facing another Issue, I want to set only date in Cell with Date datatype but there is no reference available.
If we specify formatted string then it is no more date.
Anyone can help in that ?


Readme Edit - change options key to transport_options

Could you change this
$settings = array(
'transport_class' => 'Zend\Mail\Transport\Smtp',
'options_class' => 'Zend\Mail\Transport\SmtpOptions',

'options' => array(
    'host' => 'smtp.gmail.com',
    'connection_class' => 'login',
    'connection_config' => array(
        'ssl' => 'tls',
        'username' =><EMAIL_ADDRESS>        'password' => 'YOUR-PASSWORD-HERE'
    ),
    'port' => 587
)

);
to
$settings = array(
'transport_class' => 'Zend\Mail\Transport\Smtp',
'options_class' => 'Zend\Mail\Transport\SmtpOptions',

'transport_options' => array(
    'host' => 'smtp.gmail.com',
    'connection_class' => 'login',
    'connection_config' => array(
        'ssl' => 'tls',
        'username' =><EMAIL_ADDRESS>        'password' => 'YOUR-PASSWORD-HERE'
    ),
    'port' => 587
)

);
The first one is misleading and leads to a Zend\ServiceManager\Exception\ServiceNotCreatedException when requesting for password reset.  With the edit, everything goes fine.

I had to add this line to make it work. Before adding this line it was taking about two minutes to send my emails.
'type' => 'smtp'

I hope it helps someone.


Add .github/workflows/make-go-github-file.yaml

See https://github.com/Senzing/senzing-tools/issues/32

Pull requests:

https://github.com/Senzing/serve-grpc/pull/71


fix(material/core): allow mixins to handle 2018 typography configs

CARETAKER NOTE: Updating most mixins will be fine, but some might cause failures in google3. Please identify which ones are problematic and I'll move them to separate PRs

Comments addressed, PTAL

Updated commit message, removed the change for some mixins that caused failures in google3 (they will be  updated in separate PRs)

This is proving too difficult to merge, so I'm going to break it out into separate PRs per component. This one is now merge safe because it just changes the lint check


Moving (parts of) documentation generation scripts to the compiled dll

This was suggested by @dsyme yesterday on Twitter.
Core Design:

As Fornax is essentially just an opinionated script runner there is no way (by-design) to remove .fsx scripts completely.
We could potentially move parts of the scripts (for example API reference generation etc) to compiled DLLs - and our generators/loaders .fsx would just contain a reference to this DLL and single one-line function call

Pros:

Easy to update to a new version (just run paket update on the Docs group)
Hides internal API changes (for example users doesn't need to know that F#.Formatting API has changed)
Provides a single opinionated way of how documentation should be build - good for consistency across our OSS ecosystem

Cons:

Provides a single opinionated way of how documentation should be build - different projects may have different needs
Lack of customizability - a huge advantage of having those scripts in the repo is the fact you can just easily change them to make them fit project needs better
Distribution story when not using Paket - since plain NuGet nowadays installs packages globally there won't be an easy way to reference this library from our generators/loaders scripts (Maybe solved by #r nuget - but keep in mind it's still a preview feature)

CC: @baronfel

Just playing around with this in the DiffSharp repo based on cutting and pasting things from SampleWaypoint.
Random unreasonable wish list below :-))

the checkin of lib/Fornax.Core.dll feels off.  Hoping not to need that.

I'd like to use it without Paket or FAKE, we're not using those in the DiffSharp repo.

I think my ideal user experience would be dotnet fornax build (or dotnet waypoint build) in the top root directory and that's all.  No other installation needed besides the tool.  The ideal result of this would be

API docs for all packable DLLs generated
Page/tutorial docs for all .md and .fsx under docsrc\... built
All output in docs directory ready to checkin, or dotnet fornax build -o ..\tmp\DiffSharp-gh-pages to dump them into another repo
No generation scripts checked in at all

I understand how hard it is to get this, but I just wanted to record that.  I think if we achieved it we'd use that in every fsprojects repo

OK I managed to generate some docs for DiffSharp.
There are a lot of good things here.  As an F# repo maintainer my biggest concern about using the tool is definitely the 6MB of stuff to checkin under docs and the long term maintenance of that under iterative updates and improvements to Fornax/Waypoint.  I'd rather checkin basically nothing.  Any chance that can all be bundled in the Fornax tool or something?
I'd have a whole lot of improvements to make for the generated docs, e.g. some initial thoughts are:

Don't show signatures.  Instead show usage, e.g.  instead of
GetSliceSignature: (i0:int * i1:int) -> Tensor
Attributes: ExcludeFromCodeCoverageAttribute

show a typical callsite:
   tensor.GetSliceSignature(i0, i1)

       i0: int  The first index
       i1: int  The second index
       returns: Tensor

etc.  Don't show the attributes.

There are extra parentheses being show in signatures

I'd be happy to help make such changes and simplifications.

the checkin of lib/Fornax.Core.dll feels off. Hoping not to need that.

This will be fixed with #r nuget, hopefully pretty soon

I'd like to use it without Paket or FAKE, we're not using those in the DiffSharp repo.

I think #r nuget will remove need for Paket, and FAKE is not needed for documentation generation part. Waypoint is more than just documentation generation (it's trying to fill the same niche as ProjectScaffold did in the past with build process, release notes, CI etc), but if we talk just about documentation part of it then FAKE is not needed - it's basically dotnet fornax build inside of the docs folder

I think my ideal user experience would be ...

Personally, I agree. Heck, I'd move even further than this - docs should just be hosted in a service, you just submit your package and content files - similarly to how HexDocs works for Elixir...
But again it's an issue of the customizability - what if you want to add more links in the menu. Or what if you don't like menu structure (fairly opinionated) that I'm providing? By giving scripts we enable people to change things people don't like

6MB of stuff to checkin under

It seems 5MB of this are static files we provide. Probably most of it could be replaced with the calls to CDNs rather than having it in the repo. I'll investigate.
Another 700KBs is Fornax.Core.dll and yes, we need to get rid of it.

Yup
I guess ideally I'd only want things under docs if it's actual customization (logos, names, content).  If it's just default behaviour then just let the defaults be in the DLL.
I don't have much experience with how other languages are doing this.

To reiterate on ideal UX point - from my experience in building and trying to push tooling in our ecosystem it seems that really often our users have their own preferred workflows - we always have this discussion of Paket vs NuGet, or about how FAKE should be used, or about how editor tooling should work, or what should be part of solution scaffold, or how we should create projects. Such discussions happened with Paket, FAKE, ProjectScaffold, Ionide, Forge, even SAFE Stack template... any basically any other tooling project that's out there.
It just seems that our community strongly values their independence of choice in the area of tooling/workflow - not saying it's good or bad, it's just what it is. So I'm not sure if such opinionated tool as you suggest Don would work in F# context - I've been trying to push similar opinionated tools before and it was not the most successful thing I've done in my life ;-)

It just seems that our community strongly values their independence of choice in the area of tooling/workflow - not saying it's good or bad, it's just what it is

Historically doc generation tended to not be quite like this - people took what they got in the ProjectScaffold template and made lots of sites that look like this or this.  The look is good and I would be happy with that (or a visual refresh of that) on .NET Core tbh, but the API generation needs a lot of work.
So I think there's space for at least one opinionated tool, at least for the majority of fsprojects/... projects, but there are requirements, e.g. content driven, clean simple look, a few necessary customization hooks.

people took what they got in the ProjectScaffold template and made lots of sites that look like this or this.

Just for the sake of adding to the discussion about the earlier point about not committing generator .fsx scripts - this was not a case with ProjectScaffold. Those projects have not only F# scripts in there (https://github.com/fsharp/FSharp.Data/blob/master/docs/tools/generate.fsx) but also Razor templates (https://github.com/fsharp/FSharp.Data/blob/master/docs/tools/templates/template.cshtml) in the repo - in case of Fornax we've replaced Razor with more .fsx scripts ;-)

The API reference doc generation used in that generation needed more work though

Definitely agree that improvements need to be made - I'm still actively working on making this documentation template better (using Waypoint repository as a current source of the documentation template)

Those projects have not only F# scripts in there (https://github.com/fsharp/FSharp.Data/blob/master/docs/tools/generate.fsx) but also Razor templates (https://github.com/fsharp/FSharp.Data/blob/master/docs/tools/templates/template.cshtml) in the repo - in case of Fornax we've replaced Razor with more .fsx scripts ;-)

Yes, I know, and it's my experience with maintaining these that make me want to never want to see them again :-)  They were continually breaking in very obscure ways, and have now ultimately bit-rotted completely unforunately.
The scripting/dependency experience will be more uniform now with .NET Core FSI scripting and #r "nuget: ...".  But boy those scripts have caused me a lot of pain back a few years ago.

6MB of stuff to checkin under

With #31 this goes down from 6MB to 900KB - and 700KB out of it is still Fornax.Core.dll that I hope to remove with #r nuget... thingy.


Removing myself as a maintainer

I haven't done any maintenance on this repo in a million years, and @dbast is keeping track of it. I should jump out, so am removing myself

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Fragments in ReactWrapper are not rendered with html() if children are functions

I believe this issue is related to https://github.com/airbnb/enzyme/issues/2006 not being fully fixed.
This issue only affects ReactWrapper, ShallowWrapper seems to work fine.
Current behavior
.html() doesn't show children created from functions when component is wrapped with fragment.
Expected behavior
.html() returns exact markup if rendered children are either classes or functions.
Your environment
https://codesandbox.io/s/032mpxq6rv
API

[ ] shallow
[x] mount
[ ] render

Version

library
version

enzyme
3.9.0

react
16.7.0

react-dom
16.7.0

react-test-renderer

adapter (below)
1.11.2

Adapter

[x] enzyme-adapter-react-16
[x] enzyme-adapter-react-16.3
[x] enzyme-adapter-react-16.2
[x] enzyme-adapter-react-16.1
[ ] enzyme-adapter-react-15
[ ] enzyme-adapter-react-15.4
[ ] enzyme-adapter-react-14
[ ] enzyme-adapter-react-13
[ ] enzyme-adapter-react-helper
[ ] others ( )

Tried a few enzyme-adapter-react-16 versions, looks like this issue is a regression 1.8.0 -> 1.9.0

Thanks, this was a very helpful repro.

@ljharb, as I can see, fix was released, but this test case still fails with<EMAIL_ADDRESS>

Repro fork with updated adapter version
https://codesandbox.io/s/n9v3j8p164

@atsikov it has not yet been released in enzyme proper; it will be included in the next one.

v3.10.0 has now been released.


Alt characters in Times New Roman

I am recreating a number of scientific reports into Times New Roman before the XML conversion. For special characters I am using exclusively Times New Roman characters. HOWEVER, I use a subscript and even a superscript period (.) as in 2.5 (subscript) and I have searched and searched and have not found a subscript, or superscript period.  It is important that my special characters do not lose their formatting, and it is just silly that I cannot find a subscript period. Can you advise? Help? Assist? Make me one?
Many thanks, Ruth Shaw, Senior Typographer and Designer, Cameographics, Belfast Maine

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

 Therefore it is impossible to fix this issue.

I am not aware of a subscript or superscript period in Unicode.


Browser and demo

It's look like something great but how to use it on browser ?
I would like to make a undo/redo on an object, there is information but a real example (codepen or another) could be precious.
const past = [1, 2, 3]
const future = [1, 2, 3, 4]

const present = diff(past, future)

const future = Array.from({ ...past, ...present.do })

Not clear.

Hi, thank you for your interest in T(a)rdis.
I tried to make all the examples that is needed to fully understand how T(a)rdis works.
The past/future/present term was (for me) the greater way to hilight how T(a)rdis works, but I can understand how it can be confusing.
When your use the diff function, you will get an object with both the do and undo key that are two objects to perform the actions to re-apply the change between the past and the future, or to undo the changes.
These objects are meant in the way that merging them with the source is how you apply the patch.
Merging source with patch.do will perform the action to move to target.
And merging target with patch.undo will lead back to the source.
I hope I was clear, and will answer any of your further questions.

Thank you. I understand at 99%, but make multiple changes, save diff in an
array and play with this array when I do multiple undo and redo is not
easy.
I make it without diff in a big array of full json, it's work (without your
script). I can do an undo and redo with t(a)rdis, but my json time machine
never works for me.
For now my cheap solution works, but I spend a lot of time to make it
better with your script. So a demo with history undo redo will be really
appreciate for novices and me.
My json looks like '{a:[0, 1],b:[0, 0]}'.
Le jeu. 22 août 2019 à 11:41, Quentin Gerodel<EMAIL_ADDRESS>a
écrit :

Hi, thank you for your interest in T(a)rdis.
I tried to make all the examples that is needed to fully understand how
T(a)rdis works.
The past/future/present term was (for me) the greater way to hilight how
T(a)rdis works, but I can understand how it can be confusing.
When your use the diff function, you will get an object with both the do
and undo key that are two objects to perform the actions to re-apply the
change between the past and the future, or to undo the changes.
These objects are meant in the way that merging them with the source is
how you apply the patch.
Merging source with patch.do will perform the action to move to target.
And merging target with patch.undo will lead back to the source.
I hope I was clear, and will answer any of your further questions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Swizz/trdis/issues/3?email_source=notifications&email_token=AAOSYTHSJHYZJH6CQOZLJ2DQFZNN5A5CNFSM4IJBPPJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD44QPFI#issuecomment-523831189,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOSYTFFCOQDS4XCFEHDUQLQFZNN5ANCNFSM4IJBPPJQ
.

For this task, I urge to use the deep flag on the diff function,
and the patch function that come with T(a)rdis, it will help your to handle all the patch stuff.
Given the following object :
{
  a: [0, 1],
  b: [0, 0]
}

if you perform the following change :
{
  a: [0, 1],
- b: [0, 0]
+ b: [1, 1]
}

Using the diff function that way :
const changes = diff(source, target, true)

will give you the following changes output :
{
  do: {
    a: { length: 2 },
    b: {0: 1, 1: 1, length: 2}
  },
  undo: {
    a: { length: 2 },
    b: { 0: 0, 1: 0, length: 2 }
  }
}

(Array are changed to objects in the diff result to only keep track of changed items, and length for added/removed items)
To apply the changes, I recommand you to use the patch function that use the exact same options/flags.
Undo changes :
const source = patch(target, changes.undo, true, true, true)

Redo changes :
const target = patch(source, changes.do, true, true, true)

The API reference is here : https://github.com/Swizz/trdis#api

The 3 true flags are for respectivly :
deep
The deep paramater allow you to create a deep patch object of nested objects.
array
If the array parameter is set to true, arrays will be automatically returned if the length property is present (may break some things if you use a lengthproperty not for arrays too).
clean
The patch function return an object with all the keys, the deleted properties will appear as undefined, unless you set the clean parameter to true.

I try this : https://codepen.io/benoitwimart/pen/Vozgrq?editors=1012

I see two misstakes and one bug of mine (I will fix it within the day).
First you need to use the diff this way : diff(old, new), so
   37   function dataDiffUpdate(){
   38     dataDiff = dataDiff.slice(0,historyPosition);
-  39     dataDiff.push(diff(data,_data,true,true,true));
+  39     dataDiff.push(diff(_data,data,true));
   40     _data = JSON.parse(JSON.stringify(data));
   41     historyPosition = dataDiff.length;
   42     console.log(historyPosition);
   43
   44   }

(diff only have one option : deep)
And this one, is more about how you use cursor to get the current change.
   29   function undo(){
   30     if(historyPosition>1){
   31       historyPosition--;
-  32       data = ( patch(data,dataDiff[historyPosition-1].undo,true,true,true));
+  32       data = ( patch(data,dataDiff[historyPosition].undo,true,true,true));
   33       console.log(JSON.stringify(data));
   34
   35     }
   36   }

The bug I will fix is about how deep and array works.

Oh yes, I remember on an other test the wrong switch between old and new :)

The fix is now published under 1.0.1

I will try in few days, thank you !

Something go wrong :(
I make 3 clicks, 3 undos, 3 clicks, 3 undos (the 2 undos is wrong)
https://codepen.io/benoitwimart/pen/Vozgrq?editors=1010
:(

it's look ok 👍
https://codepen.io/benoitwimart/pen/KKPXzVy?editors=1010

Finaly, it's not 100% ok
from {a:[[1,1,1,1],0,0]}
to {a:[[1,1,1,1],[1,1,1,1],0]}
undo return an objet :(
I have {a:[{0:1,1:1,2:1,3:1},0,0]}


[move-prover] changed name of join function of "joinresult"

Motivation
changed name of join function of "joinresult" to make clear that this is not an abstract domain.
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
existing tests are fine

/land


Add policy to deny Project creation if requesting user has no default organization

Checklist

[x] Keep pull requests small so they can be easily reviewed.
[x] Update the documentation.
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog
[x] Link this PR to related issues.

I tested it out with a test account. CLI works and is returning the error message. Console also works and is displaying the same error message in the "create project" wizard window popup


docs: Add translation information

Area of Improvement
Hello, first thank you for the product it is really a pleasure to work with it !!
However, I'm a french developer and working for french users and it was a bit difficult to find a way to translate the components. A translation directly included in the product would have been perfect :wink:  but I think a simple addition to the theming part of the documentation (like theming/translation) giving an example on how to translate easily would have made my work a lot easier and should not take too much time to do.
Also the documentation for content may need more content like describing how ContentField work, I wasn't able to work with it without diving into the typescript code and it may be not accessible for more junior devs.
I may do a PR later on based on my example if I find the time to do it
Link to related docs
https://docs.uploadthing.com/theming#content-customisation
Additional information
No response
👨👧👦 Contributing

[ ] 🙋♂ Yes, I'd be down to file a PR implementing the suggested changes!

I agree,  I would be hesitant to maintain the translations "natively" since that could so quickly explode in size for a feature many users may not use, but this is probably something we should have in the documentation. PRs are definitely welcome to update the theming docs!

Do you mean to make the components more customizable so you can add your custom text?

Do you mean to make the components more customizable so you can add your custom text?

This is already possible with content customization, but there is definitely room for improvement. #947 will help with this, but thgere is also room for documentation on how to use these features for the purpose of internationalization.

Yes I succeed to use the tool has it is my issue was only that it took me a long time to understand how to use it for the purpose of internationalization so just a bit more work on documentation. (I am still watching this issue because I hope to have time to do the bit of documentation soon)


Delete presenters.py

This is only used in the admin app.
When the admin app is changed to use the summary table pattern from the toolkit, this will no longer be needed.
--
Version number assumes that this will be merged after https://github.com/alphagov/digitalmarketplace-utils/pull/166

:+1:


[TW#14189] BLE Central: Can't connect to peripheral while scanning.

In my application I am developing the ESP32 so that as a ble central it can connect to multiple peripherals.
Ideally the app would be able to scan for devices and connect to them as the app discovers them, without stopping the scan.
However I have come across an issue where the app wont connect while scanning.
The app is performing a BLE scan.
The app then tries to connect to a discovered peripheral, while still scanning. The ESP_GATTC_OPEN_EVT returns either "ESP_GATT_ERROR" or "ESP_GATT_BUSY".
If the app stops scanning, then tries to connect, the ESP_GATTC_OPEN_EVT returns with "ESP_GATT_OK"
Please let me know if any more information is needed.

Is anyone able to comment any further on this one?
@igrr @wujiangang ?

@lucazader The following figure is from BLE core Spec v4.2, Vol3 part C Section 9.3.6. it's a reasonable implementation that can't connect when scanning.

Sure it is reasonable, but we want super turbo esp32.  We want to use every possible radio time slice to do something useful whether it is scan, advertise, rx, tx, etc.  And that has to be optimized at the lower level.  Of course you can't do everything at once, but you can try...

have created work around to stop scanning, then connect. Will close issue for now


The OpenAPI spec is missing a title property under info

This is not critical for the release and I need to dig a bit more in the springdoc project.


Rubocop 1.2.0

Bump RuboCop to 1.2.0
Test annotations in new version. See #894.

It looks like annotations only get displayed if the sources that trigger the warnings are included in the PR https://gist.github.com/ybiquitous/72a1d7cf0eb9bbb9255d84d1ee904881


Write protection should not vary between debug and prod mode

Discussed briefly with @phuu and mentioned to @lawnsea.
Right now the canWriteProtect function in utils behaves different in debug mode from production/normal mode:
https://github.com/flightjs/flight/blob/master/lib/utils.js#L12
If debug.enabled is true, mixins cannot overwrite functions from earlier mixins. Otherwise, later mixins clobber functions from earlier mixins.
This can lead to nasty bugs where a component will behave differently when debugging from production mode.
I'd like to remove the setWritability calls entirely from compose.mixin, since that's how the library behaves in production. The alternative way to eliminate the discrepancy would be to always write protect, which is much slower.
Thoughts?

If clobbering is detected in debug doesn't it throw an error? If it does than I think that's fine. If it doesn't then it should.

Nope, writing to a non-writable property does not throw an error. It just fails silently.
> foo = {}
{}
> foo.bar = 'hello'
'hello'
> Object.defineProperty(foo, 'bar', { writable: false })
{ bar: 'hello' }
> foo.bar = 'goodbye'
'goodbye'
> foo.bar
'hello'

We should make it error (it used to). Unless no-one cares about clobbering (but they probably should)

It looks like this behavior's been the same since the first open source commit, at least.

yeah you right, idk.

weird it should throw in strict mode

(long delayed response).

weird it should throw in strict mode

Yeah my mistake, I was running the node repl in sloppy mode.
That said, flight cannot control whether the code that uses it runs in strict mode or sloppy mode. So I think the problem is still valid.


Unify dnscrypt-{proxy,wrapper}

the proxy and the wrapper code share a lot in common, It seems the project will better benefit of using a common code base as reference implementation of both client and server.
This will also provide opportunities to clearly separate a dnscrypt library from the client/code servers implementations and be able to use it within other existing dns software.
What are your thought? Happy to help with it.
cc @cofyc @jedisct1

@cofyc @jedisct1 any thoughts?

That would be nice, especially for being able to use the same plugins in the client and the server.
Unfortunately, I don't have a lot of spare time to work on this.

https://github.com/chantra/dnscrypt-proxy/tree/unify_src would merge sources, there is no refactoring yet, just functionality parity and moving off Makefile in favor of automake Makefile.am.
From there, we can start refactoring sources incrementally.
I like to know what @cofyc thinks too.

Hi @cofyc @jedisct1 sorry for the frequent pings. Looking forward if I should hack on this over christmas or not 😄

The whole plan sounds awesome!

I had to reprioritize some of my work. I will be closing this issue as it is not worth it staying open with no activity. More details in https://github.com/jedisct1/dnscrypt-proxy/pull/517#issuecomment-288569400


Flash required?

Can it be done without requiring Flash?

https://zenorocha.github.io/clipboard.js/

clipboard.js is good idea.

We can switch from flash to HTML 5, but honestly if I have a bit of time to work on 0bin, this ticket will be very low on my list : not enough benefits.

Fixed in the v2 branch,  soon in prod.


Fixed incorrect OSD removal from Juju storage

Description
Due to the missing location filter, each non-unique loop path matches with the first occurence of the storage instance is written over for the same. This patch adds an additional filter to match against local devices only.
Fixes #124
Type of change
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
CI, possible discussions about adding new tests.
Contributor's Checklist
Please check that you have:

[X] self-reviewed the code in this PR.
[X] added code comments, particularly in hard-to-understand areas.
[ ] updated the user documentation with corresponding changes.
[ ] added tests to verify effectiveness of this change.

As discussed let's raise a sep. PR for the remaining comments. I will merge this one

Cf. CEPH-1066


ENH: cupyx/interpolate: port interp1d from scipy

Port interp1d routine from scipy.interpolate.
The routine itself is not very interesting: for nearest-like modes it delegates to cupy.searchsorted; for 'cubic'-like modes it delegates to make_interp_spline. And it adds heaps and heaps of overhead on top.
It's public in SciPy though, and is used under the hood by griddata. So it's easier to port it and be done with it.
cross-ref https://github.com/cupy/cupy/issues/7186

/test mini

CI failures were due to RUN pip install -U 'numpy==1.22.*' 'scipy==1.7.*' and the failing test was new in SciPy 1.10.  More test failures on scipy < 1.10, skipped in the last commit. Sorry for the back-and-forth.

Thanks, @ev-br!

Thank you for the review @takagi !


Save quoted jenkins links and test names in github issue

We have built function extract_jenkins_link_and_testname and can use it  to process and save TRSS jenkins links and test names.

With issue[body], use function extract_jenkins_link_and_testname to generate (links_list, names_list);
use issue_details[issue_quoted_jenkins_links'] and issue_details[issue_quoted_test_names']  to store in DB.

Depends on PR https://github.com/adoptium/aqa-test-tools/pull/474
Related Issue: https://github.com/adoptium/aqa-test-tools/issues/460

FYI @2001asjad

Thank You @LongyuZhang, I'll work on this!!!


Added missing .UseApplicationInsights() in VotingWeb

Following the step by step guide will not collect information from VotingWeb because the demo code does not include a call to UseApplicationInsights(). VotingData does have it.
I think it is important to emphasis the need of calling it.
I will additionally make a PR to fix the problem in https://github.com/Azure-Samples/service-fabric-dotnet-quickstart

@fbeltrao : Thanks for your contribution! The author, @dkkapur, has been notified to review your proposed change.

@fbeltrao sorry I did not get back to you on this earlier! Great catch - we had realized this around the same time you must have, and were waiting to check in the new doc for a few more changes to come in. This has now been updated - https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-monitoring-aspnet. Please let me know if you think there are still additional issues. Once again - appreciate the feedback!
#please-close


Fix flaky test about kerberos

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Codecov Report

Merging #250 (101d38a) into master (54ddca6) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #250      +/-   ##
============================================
- Coverage     59.29%   59.25%   -0.04%
+ Complexity     1346     1345       -1
============================================
  Files           162      162
  Lines          8789     8789
  Branches        828      828
============================================
- Hits           5211     5208       -3
- Misses         3311     3313       +2
- Partials        267      268       +1

Impacted Files
Coverage Δ

...rg/apache/uniffle/storage/common/LocalStorage.java
42.75% <0.00%> (-2.07%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Mock httpserver

I added the httpserver config, but running my test fails because of the  RuntimeError: MJML compile error (via MJML HTTP server):
Is there a way to mock the MJML calls? I'm doing a mock on the actual email sending
with patch("requests.post") as mock_post:
     mock_post.return_value(ok=True, status=status.HTTP_201_CREATED)

@aabanaag try to mock MJMLRenderNode.render or mjml_render or _mjml_render_by_httpserver

Thank you, I got it by mocking _mjml_render_by_httpserver


Problems with implicit search involving singleton objects under 3.6

We can observe a strange behaviour under the new givens resolution. Currently the implicit search reports 2 ambiguous implicits: 1 is the LowercaseNonEmptyText.type so the singleton object and the second one is given instance defined withing the as trait. Removing the given instance when trying to get rid of these warning leads to compilation leads to not finding any instances of implicit value.
Based on OpenCB failure in @makiftutuncu /as - build logs
Compiler version
3.5.x and 3.6 nightly
Minimized code
infix trait as[Raw, Refined](using narrow: Raw <:< Refined, widen: Refined =:= Raw):
  extension (refined: Refined)
    def value: Raw = widen(refined)
  def undefinedValue: Raw
  lazy val undefined: Refined = narrow(undefinedValue)

  def apply(raw: Raw): Refined = narrow(raw)
  given instance: (Raw as Refined) = this // comment out to make case1 compile and make case2 fail

extension [Raw](raw: Raw)
  def as[Refined](using r: Raw as Refined): Refined = r.apply(raw)

object model:
  opaque type LowercaseNonEmptyText <: String = String
  object LowercaseNonEmptyText extends (String as LowercaseNonEmptyText):
    override val undefinedValue: String = " "

@main def Test =
  import model.LowercaseNonEmptyText
  val case1 = LowercaseNonEmptyText("foo").value
  val case2 = "bar".as[LowercaseNonEmptyText].value

Output
-source:3.5
-- Warning: /Users/wmazur/projects/sandbox/src/main/scala/test.scala:20:35 -----
20 |  val case1 = LowercaseNonEmptyText("foo").value
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |Given search preference for ?{ value: ? } between alternatives model.LowercaseNonEmptyText.type and (model.LowercaseNonEmptyText.instance : String as model.LowercaseNonEmptyText) will change
   |Current choice           : the first alternative
   |New choice from Scala 3.6: none - it's ambiguous
-- Warning: /Users/wmazur/projects/sandbox/src/main/scala/test.scala:21:14 -----
21 |  val case2 = "bar".as[LowercaseNonEmptyText].value
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |Given search preference for ?{ value: ? } between alternatives model.LowercaseNonEmptyText.type and (model.LowercaseNonEmptyText.instance : String as model.LowercaseNonEmptyText) will change
   |Current choice           : the first alternative
   |New choice from Scala 3.6: none - it's ambiguous
2 warnings found

Both warnings are elevated to errors under -source:3.6
-source:3.5 (or -source:3.5) + commented out given instance
-- [E172] Type Error: /Users/wmazur/projects/sandbox/src/main/scala/test.scala:21:45
21 |  val case2 = "bar".as[LowercaseNonEmptyText].value
   |                                             ^
   |No given instance of type String as model.LowercaseNonEmptyText was found for parameter r of method as

Expectation
Ambigious implicits should not be reported
Workarounds
1st
Replacing
given instance: (Raw as Refined) = this

with
given instance: this.type = this

solves the problem
2nd
Replacing
object LowercaseNonEmptyText extends (String as LowercaseNonEmptyText)

with
implicit object LowercaseNonEmptyText extends (String as LowercaseNonEmptyText)

This workaround seems to be less Scala 3 idiomatic by the usage of implicit keyword that's going to probably be deprecated at some point in the future.
However this version below does also work:
  given LowercaseNonEmptyText: (String as LowercaseNonEmptyText) with
    override val undefinedValue: String = " "

@odersky I'm not sure if should it actually work under the new implicits. Can I ask for deciding either it's an issue or expected behaviour (related https://github.com/epfl-lara/lisa/pull/224)


Kubernetes communication between pods and external machines is sometimes blocked by UFW

Cluster information:
Kubernetes version: 1.21.3
Cloud being used: bare-metal
Installation method: apt && kube init
Host OS: Ubuntu 20.04
CNI and version: Calico 3.20.0
CRI and version: Docker 10.10.8

I installed kubernetes on bare metal with configuration as below:

k8s-master - virtual machine attached to private network - <IP_ADDRESS>
k8s-node1 - virtual machine attached to private network - <IP_ADDRESS>
db - virtual machine attached to private network - <IP_ADDRESS>
networking - calico
container runtime: docker

db is outside kubernetes cluster (not attached as worker), k8s cluster is:
STATUS   ROLES                  AGE   VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION     CONTAINER-RUNTIME
Ready    control-plane,master   72m   v1.21.3   <IP_ADDRESS>    <none>        Ubuntu 20.04.3 LTS   5.4.0-84-generic   docker://20.10.8
Ready    <none>                 49m   v1.21.3   <IP_ADDRESS>    <none>        Ubuntu 20.04.3 LTS   5.4.0-84-generic   docker://20.10.8

UWF is set to allow all communication on private network:
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
Anywhere                   ALLOW IN    <IP_ADDRESS>/27/tcp

Kubernetes was initialized with:
--cluster-cidr=<IP_ADDRESS>/16

Calico with config:
 name: CALICO_IPV4POOL_CIDR
              value: "<IP_ADDRESS>/24"

My applications deployed to cluster generally workes fine - app can connect from docker (from k8s pod) to db host, pods sees each other.
The problem is: in k8s-node1 machine I see a lot of errors logged from UFW.
Mainly those are errors targeting coredns containers port 53 (DNS):
[UFW BLOCK] IN=calib678d9f2863 OUT=enp1s0 MAC=ee:ee:ee:ee:ee:ee:ce:09:88:b5:fa:70:08:00 SRC=<IP_ADDRESS> DST=<IP_ADDRESS> LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=41444 DF PROTO=TCP SPT=35646 DPT=1433 WINDOW=64800 RES=0x00 SYN URGP=0 MARK=0x10000

But there are also entries telling me that communication to my db server is blocked.
[UFW BLOCK] IN=cali39580615a9a OUT=enp1s0 MAC=ee:ee:ee:ee:ee:ee:0a:0c:af:04:cc:e5:08:00 SRC=<IP_ADDRESS> DST=<IP_ADDRESS> LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=40304 DF PROTO=TCP SPT=34274 DPT=1433 WINDOW=64800 RES=0x00 SYN URGP=0 MARK=0x10000

Those ufw block are not permanent - as I said my app generally works, only some of connections are dropped and I can't find the reason.

This sounds likely to be a UFW configuration issue - you're probably missing some configuration to bypass UFW for Calico traffic in some situations. I'm not super familiar with UFW config so can't say off the top of my head what that would look like, though.
In general we do not recommend using Calico in conjunction with other firewalls, since Calico includes firewalling capability itself and it is often tricky to get two tools doing roughly the same thing to play nicely with each other.
You might need to allow in/out all calixxxx interfaces?

In ufw forward policy was set to DROP. When I changed it do ALLOW the log is empty.
Strange thing in all this story was that all the blocked connections have this mark:
MARK=0x10000
I suppose that this marks are added by calico itself?
Extept for those syslog entries everything was working fine - my apps was working correctly.

Sounds like this is solved now?  Please reopen or raise a new Issue if necessary.


Bump NetworkScope api

prepare for networkscope implementation

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: hzxuzhonghu
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
If they are not already assigned, you can assign the PR to them by writing /assign @geeknoid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Test name
Commit
Details
Rerun command

prow//e2e-simpleTests-minProfile.sh
b5721452c08f2391cf55f9f3cec6fa3b9a1a68a6
link
/test e2e-simpleTestsMinProfile

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.

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

Test name
Commit
Details
Rerun command

prow//e2e-simpleTests-minProfile.sh
b5721452c08f2391cf55f9f3cec6fa3b9a1a68a6
link
/test e2e-simpleTestsMinProfile

prow/e2e-mixer-no_auth-mcp.sh
b5721452c08f2391cf55f9f3cec6fa3b9a1a68a6
link
/test e2e-mixer-no_auth-mcp

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.


Button and toggle-button should not contain a <div>

Reproduction
https://stackblitz.com/edit/components-issue-utnh8w
Steps to reproduce:

run stackblitz
see html source

Expected Behavior
 element's Permitted content is Phrasing content , according to HTML5 rule.
Actual Behavior
 element by Material Button Component and Toggle Button Component includes div element (Flow content)
Environment

Angular:7 ~ 8
CDK/Material:7 ~ 8

Confirmed that both contain a div which is technically not allowed by the spec, but doesn't actually cause any real problems.

I agree with you, it doesn't cause real problems probably.
But I can't say that I adopt WCAG2.0 4.1.1 when using Matelial Button.

https://github.com/angular/components/pull/16366

this issue need to closed @jelbourn @crisbeto

@viniciusschuelter good catch, thanks


Cannot click relative paths in terminal

Issue Type: Bug
Run a compiler on a file with an error, and hold down the Alt button and click on the pathname. Nothing happens.

Related:

There was updates for xtermjs addons (search and webLinks) which is used in termial panel.
webLinks is used in TerminalInstance with TerminalLinkHandler which is used to find file paths (and lines).

I bet @Tyriar can fix it ;F
It looks like there is problem with current working directory:
Full paths are working (i.e. on Windows E:/Some/main.cpp), but relative aren't. There is suspicious looking TODO comment... :C

@PsychoXIVI wow, nice investigation! @octref noticed links not working but we couldn't repro after that, this being a race condition makes sense as to why we couldn't repro so easily. I've definitely seen it before as well.
A PR would be awesome if you can put it together quick, this might go in the recovery build that we will probably release next week so if you can put a fix together in the next couple of days that would be best.
I think the best and easiest fix here is use TerminalInstance. processReady and set initialCwd on TerminalLinkHandler, and probably remove it from the constructor since it's not very useful there.

We can propably revert https://github.com/Microsoft/vscode/commit/4ed24e070ab4bf4995af829e5cfaabcf01ff4d45 to make it work, since its looks like this commit doesn't fixes #57612.
#57612 is still an issue:

And this feature doesn't work because of that :C

@PsychoXIVI we only need the initial cwd to be set to fix this regression. Getting the actual cwd in realtime is another feature which is a bunch of work (mainly because it's tough on Windows currently).

@PsychoXIVI I think I'll put the fix together for this today as it will likely be included in 1.27.2, thanks again for the investigation!

Still not working for me after updating to 1.27.1 on macOS

Just tried out 1.27.2, the issue still exists. 1.26.x is also broken but 1.25.x works fine.

@szhu can you share a screenshot and text of the failing line?

.
./Music
./Music/.localized  ← Recognized
./.gnupg
./.CFUserTextEncoding  ← Recognized
./Pictures
./Pictures/.localized  ← Recognized
./.atom
./.atom/styles.less  ← Recognized
./.atom/.apm
./.atom/.apm/cool-trim
./.atom/.apm/sb-callsite
./.atom/.apm/asap
./.atom/.apm/sb-debounce
./.atom/.apm/disposify
./.atom/.apm/sb-react-table
./.atom/.apm/loose-envify
./.atom/.apm/ms
./.atom/.apm/atom-package-deps

@szhu folders never worked. https://github.com/Microsoft/vscode/issues/29499
@somewhatabstract works for me:

It appears to be linked with resizing.

@somewhatabstract that's an unrelated bug that should get fixed with https://github.com/Microsoft/vscode/issues/23688

It worked for me before, Now it is disabled.

@b00f did you update to 1.27.2? Please report a new issue if so.

@Tyriar Thanks. It is fixed in this version. Hopefully you have integration test for this feature then it won't be an issue in later versions.


torch.nn.Module wrapper for transforms does not seem to work for custom transforms

I tried creating custom transforms, and tried using the module wrapper. It seems that even a no-op transform in a nn.Module does not work in the FFCV framework. It appears to be a fundamental bug in the way the module wrapper is implemented:

FFCV statically uses numba to compile any operation
numba cannot resolve the type of a torch module
compilation fails for the operation.

I created a script to demonstrate this using a trivial no-op module: https://github.com/facebookresearch/FFCV-SSL/pull/8
class DummyModule(nn.Module):
    def __init__(self):
        super().__init__()

    def forward(self, img):
        return img

I was having a similar issue, and found that adding ToTensor() to the pipeline before my nn.Module transforms fixed it. Perhaps this will work in your case too:
from ffcv.transforms import ToTensor
from ffcv.fields.decoders import SimpleRGBImageDecoder
img_pipeline = [SimpleRGBImageDecoder(), ToTensor(), DummyModule()]


[Feature request] Provider overriding in container

Hello! I started playing around with dishka, looking for some alternative to dependency-injector, and I really liked it conteptually, especially scopes and type-based injections.
Unfortunetly, when trying to introduce it to django project, I found out one missing feature from dependency-injector, i.e. in place providers overriding. I managed to succesfully integrate container to inject dependencies into django views, but things get tricky when it comes to tests. It's very hard, if not impossible, to setup django tests with pytest in simillar manner as with more modern frameworks, i.e. by creating whole new application object that could be passed around in pytest fixtures, with it's own tests container attached.
I found other issue about container overriding: https://github.com/reagento/dishka/issues/151 , but it mentions cloning container with different providers, which would not help in my case. I guess only overriding in context manager (independent of scopes), or with teardown method (I mean, overriding in place, not cloning) would help in my case. Like in dependency-injector https://python-dependency-injector.ets-labs.org/providers/overriding.html
Apart of solving problems with Django specifically, it would also make possible to use pattern in pytest that I find very helpful, i.e. incrementally overriding providers in different tests scopes, taking adventage of how pytest look for fixtures:
https://docs.pytest.org/en/6.2.x/fixture.html#fixture-availability
So for example, I would define most general overrides on container fixture in root conftest.py, and then add more specific overrides in more narrow scopes, using pattern:
@pytest.fixture
def container(container):
      container.override(<some_specific_provider>)
      return container

Is it possible/feasible to implement that with your design?

We have plans for this in one of future releases (#231), but it is not actually required for you.
The container is rebuilt from a list of providers. To build another container you can take the same list.. and add more providers to it. The latest factories override previous ones.

providers = [Provider1(), Provider2()]

prod_container = make_container(*providers)

test_container = make_container(*providers, TestProvider())


plenty of maintainers now

should be good now, we can lower this flag.

as mentioned in https://github.com/rebeccahughes/react-native-device-info/issues/37  we're good.


Change findProfiles query to reduce KV load

After looking into the failures from the query service, it seems that the query being used was causing the issue. Originally we were doing “SELECT *” which requires KV ops to get the whole document. Since we are putting pressure on KV with other KV ops this part of the query was slow, the query request queue would fill up and requests would start being denied. This PR changes the query to "SELECT meta().id" removing the KV ops from the query.

At the dataset and rate here, that explanation has some validity, but doesn't quite completely make sense.  The other KV ops won't slow down this query's KV ops.  Are we just queueing because of some arbitrary limit in the query service?  That sounds more likely.
While SELECT * is probably not quite perfect, the idea of an operation that does KV is pretty well expected and I'd probably like to have something like that here.


Kubernetes module

Managing the kubernetes life cycle can easily be embedded on Makes while making the process declarative instead of imperative. This will also allow for other people to re-use a well structured mechanism for applying/rolling-out/destroying and debugging
Example implementation:

https://gitlab.com/fluidattacks/product/-/tree/708bb9d1662b8431c2439d540465c72167b9b719/makes/foss/units/integrates/back/deploy/dev
https://gitlab.com/fluidattacks/product/-/tree/708bb9d1662b8431c2439d540465c72167b9b719/makes/foss/units/integrates/back/deploy/prod

I would advise using Terraform for this instead as it perfectly manages states.
We can also take advantage of workspaceForTerraformFromEnv to manage several environments of the same resources. i.e Development environments.


"Unsend all DMs" option only; Unsent stopped.

The three (3) buttons mentioned are lacking two (2). Only the 'Unsend all DMs' are present. The script works as it will unsend messages but after a minute or two, it will stop unsending messages. It will keep on running but isn't unsending anything anymore at this point. Reloading doesn't work.
www.instagram.com-1719418186153.log

OS: Windows 11 Home; Version 23H2; OS build 22631.3737
Browser: Chrome
Version: 126.0.6478.126 (Official Build) (64-bit)
Language: English (US)

but after a minute or two, it will stop unsending messages
How many messages are we talking about here?

All the way to the beginning.

It was unsending for a few minutes

My question was how many messages (approximately) get unsent and how many do not get unsent?

Bro can anyone tell which script i have to put in developer console and how to put that please can anyone tell?

The three (3) buttons mentioned are lacking two (2). Only the 'Unsend all DMs' are present. The script works as it will unsend messages but after a minute or two, it will stop unsending messages. It will keep on running but isn't unsending anything anymore at this point. Reloading doesn't work.

Same problem, is there a way to put a loop so even if the unsending stops, it starts again by itself ?

I recommend you open a new issue with the provided template, and I will do my best to fix the issue ASAP.


MUMUP-1565 : Admins can now see keywords if they flip the switch

Admin flag

In beta settings

With Keywords

Clicking link will do the search
Sorted alphabetically (case insensitive)

Without

Minor changes

Moved the ng-repeats to the li instead of the ul for all of the details sections. We don't need a new ul for every item :)
removed $scope.$storage (which was pointing at session storage) in marketplaceController as it wasn't being used and conflicted with mainControllers $scope.$storage which was pointing at local storage

:+1:

I think I love the use of Beta Settings to gate access this -- it's certainly not what I had in mind when I wrote that Story, but it meets the underlying business need of hiding this from non-admin users to avoid adding UI complexity we're not ready for.  So, great example of articulating Stories in terms of business need creating opportunity for potentially quicker and better development decisions than might have been made if the Story had been over-specified.


fix: white text on white background in grid demo 3.0.0-RC.1

🐛 Bug Report
When the demo site is viewed with dark theme is impossible to read the text inside the grid boxes
💻 Repro or Code Sample
View the examples in the grid demo page with dark theme
https://calm-sea-053fa6a03-365.westeurope.3.azurestaticapps.net/Grid
🤔 Expected Behavior
viewable text

😯 Current Behavior

💁 Possible Solution
Change background or font color
🔦 Context

🌍 Your Environment

OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
.NET and FAST Version [e.g. 1.8.0]

Fixed. See https://preview.blazor-fluentui.net/Grid (yes, that is a new url for the preview demo)


Use named parameters

For example at https://github.com/EduWireApps/kdecole-api-dart/blob/ee5d4aac0fd9c11b9874b7260cd4190323480d05/lib/src/entities/email.dart#L10, it would be better to use named parameters like:
Email({required this._title, required this._body, required this._sender, required this._receivers, required this._id, required this._messages});

Also, what is the interest of using private attributes along getters there @Freezman31?

It's my Java habits x)
I'm going to change this


Make single install script that runs everything

Blocked by #32 (shell scripts need parameter inputs) and #34 (any updates to PATH need to be immediate)

For testing on DO:
yum -y install wget
iptables -I INPUT 1 -i eth0 -p tcp --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT
service iptables save

wget https://raw.githubusercontent.com/enterprisemediawiki/Meza1/opt-script-params/client_files/install.sh
bash install.sh

Completed in #50


Fix SASS source-maps

@binyamin Does this work fine to you?

I'll try to look at this tonight, or tomorrow morning.

@binyamin did you have the time to check this already?

This is great. Thank you.


informative error when jshintrc is invalid

When jshintrc is incorrect, i want to know what happened.
Therefore i am adding the error message to the error and not just saying that the file couldn't be parsed

Coverage remained the same at 94.82% when pulling b477896030f1072611cee303b7499b17628d0dde on david-gang:master into 4e59553f7e2e09ba6c15643fdcb5b4416301148f on jshint:master.

Coverage remained the same at 94.82% when pulling ca7c6398896f25799a6beb4911c2087e673a5cc0 on david-gang:master into 4e59553f7e2e09ba6c15643fdcb5b4416301148f on jshint:master.

Coverage remained the same at 94.82% when pulling ca7c6398896f25799a6beb4911c2087e673a5cc0 on david-gang:master into 4e59553f7e2e09ba6c15643fdcb5b4416301148f on jshint:master.

Coverage remained the same at 94.82% when pulling a10daa1141a5c40fa36ad50c755e69486c714468 on david-gang:master into 4e59553f7e2e09ba6c15643fdcb5b4416301148f on jshint:master.


DRAFT: MAM Channels

Further utilize MAM channels to deliver functions such as:

buyer / seller communication (pre/post purchase)
delivery of digital assets
embedding additional widgets within the conversation between buyer/seller (location on the map, link, etc.)

[https://github.com/iotaledger/identity.ts] (DID) could be considered for this as well.

Hey, can we edit the name away from MAM Channels to IOTA Streams / Stream Channels ?
MAM is referencing the the legacy code | protocol, from the wording.
Thanks, and i love this repo, it just makes sense, great use case.
Will PR in some time here and there. 🚀

thanks @sascha1337 ! I've updated it now.
I hope I'll find some time in the future to do some work as well.


Mixed censor support

It would be great to have a generic censoring capability that accounts for left, interval, and right censored data together instead of needing to run a specific function for each censor type. An application I commonly have is reverse-engineering a fit from known percentile. For example: I know the 50th percentile value was 10, the 75th percentile value was 20, the 90th percentile value is 25, and the 99th percentile value is 30. I would create a table like:
start | end | count
NULL_1 | 10 | 50
11 | 20 | 25
21 | 25 | 15
26 | 30 | 9
31 | NULL_2 | 1
and fit the data here. The first 4 rows are interval-censored (left first row is technically left-censored as I wrote it, but I could have put in 0 instead of NULL_1 there) and the bottom row is right censored. I could be wrong, but I don't think I can do this with your package as-is. I can achieve a good-enough fit by put an arbitrarily large value into the space where the NULL_2 is, but I shouldn't have to. I think being able to support such a dataset would be very helpful.
By the way, entering the above into JMP and fitting weibull returns a fit of:
alpha = 14.04
beta = 1.44
in case you wanted to pick this up and have a comparison to another software tool already supporting this type of data entry.
When I put NULL_2 = 50, the fit changes to:
alpha = 14.05
beta = 1.45
Any value <50 and i start to deviate from the true fit significantly and any value >50 start to collapse onto the right answer.

Check out SurPyval. It has the capability to take arbitrary censoring (and truncation) with the one API.


C# - Transcode Without Schema Issues

I am serializing a simple C# object using the CompactBinaryWriter. When attempting to Transcode this serialized object to XML, a null object reference exception is thrown. Any assistance would be appreciated.
Thank you
Charles
(Please excuse the messy code)
Program.txt
Thing.Bond.txt
Object reference not set to an instance of an object.
   at lambda_method(Closure , CompactBinaryReader`1 , SimpleXmlWriter )
   at Bond.Transcoder`2.TranscoderHelper.Transcode(R reader, W writer) in C:\src\nuget\bond\cs\src\core\Transcoder.cs:line 156
   at Bond.Transcode.FromTo[R,W](R reader, W writer) in C:\src\nuget\bond\cs\src\core\Transcoder.cs:line 33
   at BondSerialization.Program.Main(String[] args) in C:\Users\cgriffith\Desktop\BondSerialization\BondSerialization\Program.cs:line 46

To transcode to a text-based protocol, a schema (either a static schema from the type or a runtime schema) is required. The text protocols need schemas so they know which field name to use for a given field id. The NullReferenceException is arising due to the lack of a schema to provide metadata for each field.
The protocol transcoding example uses a static/compile-time schema. To use a runtime schema, you can construct a Transcoder with a RuntimeSchema instance.
Yes, the error message could be better.

Closing for now. Please re-open if needed.


Repo License?

Hello,
I have been getting requests to add support for DITN to an upscaling application I created. However, I cannot do that without there being an applicable license. Is it possible for you to add a license to this repository?
Thank you in advance.

Seconded-- please add a license to this repo! It takes about five minutes.
https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository

Hi~
We are very happy that our work is useful for your research and we have added the applicable license.


swift install instructions?

these instructions https://github.com/meedan/react-native-share-menu/blob/master/example/ios/README.md are written for obj c. surprising considering swift is a thing and xcode 9 creates ShareViewController in swift. can we get an update please?

We are not working with Swift at the moment. We do welcome contributions, though, so feel free to submit a PR!

haha i am definitely not there yet. thank you.


tutorial notebook renaming rearranging

What are the issues this pull addresses (issue numbers / links)?

Simplifying tutorial notebooks naming/organization based on user feedback.
Matching documentation folders.

As part of the pr, it would be helpful to get a list of notebooks that have removed from the tutorial directory.

Just finishing chatting with @marcolincs  @dwang429  @priti-ashvin-shah-ibm  all good to me after this

This looks great! One final thing we can do in this or a next PR is to add links to the tutorial videos, so we can cross-reference the two


Optional  closing not implemented

Description
Resolved all but the optional closing <p> tags for release of v1.8.0. Someone should tackle this issue when convenient with plenty of tests as it is a guaranteed bug farm.
Input
The code looked like this before beautification:
<p> Some content
<h1> Other content
</h1>

Expected Output
The code should have looked like this after beautification:
<p> Some content
<h1> Other content
</h1>

Actual Output
The  code actually looked like this after beautification:
<p> Some content
    <h1> Other content
    </h1>

Settings
Default

Seriously.  Here's the text from https://www.w3.org/TR/html5/syntax.html#optional-tags:
A <p> element’s end tag may be omitted if the p element is immediately followed
by an <address>, <article>, <aside>, <blockquote>, <details>, <div>, <dl>,
<fieldset>, <figcaption>, <figure>, <footer>, <form>, <h1>, <h2>, <h3>, <h4>,
<h5>, <h6>, <header>, <hr>, <main>, <nav>, <ol>, <p>, <pre, <section>, <table>, or <ul>
element, or if there is no more content in the parent element and the parent element
is an HTML element that is not an <a>, <audio>, <del>, <ins>, <map>,
<noscript>, or <video> element,  or an autonomous custom element.

Handling the simple case of closing a P tag when it is the the parent of one of the listed would be relatively straightforward, but beyond that this will be quite a hairball.  Anyone willing to provide examples, they maybe we can work them one at time.

Any news on this issue?

@nikeee
No yet, but reading it again maybe this isn't as bad as I first thought.
The change needs to be made here:
https://github.com/beautify-web/js-beautify/blob/e00d3b2b78600ffe590dc4a87a085fb1b586c9dd/js/src/html/beautifier.js#L766-L769
Unlike other cases, this doesn't need to walk back up the DOM to figure out if the element is auto-closes - it only applies when p is immediately before.
else if (parser_token.parent.tag_name === 'p' && p_closers.indexOf(parser_token.tag_name) !== -1) {
    // TODO: check for the parent element is an HTML element that is not an <a>, <audio>, <del>, <ins>, <map>,
<noscript>, or <video> element,  or an autonomous custom element.
    // To do this right, this needs to be coded as an inclusion of the inverse of the exclusion above.
    // But to start with (if we ignore "autonomous custom elements") the exclusion would be fine.
    var p_parent = this._tag_stack. get_parser_token().parent;
    if (p_parent === null || p_parent_excludes.indexOf(p_parent.tag_name) === -1) {
      result = result || this._tag_stack.try_pop('p');
    }
  }
}

@nikeee
Thanks for bringing this up.   Could you do me a favor and try some of your inputs on https://beautifier.io/ to make sure my fix is working?

It works as I expected. Thanks! :)

It works as I expected. Thanks! :)


update bugfix delay rabbitmq support lavarel delay function

this lib very usefully  , but i found a bug, lavarel rabbit delay cant work! wish u can merge!

Merged and in release 5.2. Thanks!


Fix #178 - Improper handling of the arguments parameter

See #178. This PR adds a single-line fix and several unit tests of the related logic
@reviewbybees

Merging to get it in the next release


Modified return type to avoid implicit float to int conversion

To avoid deprecation log on implicit conversion, the method getCropPosition should always return int.
The function, imagecopyresampled, expects type int on parameters src_width and src_height .
https://www.php.net/manual/en/function.imagecopyresampled.php
Example deprecation log:
PHP message: PHP Deprecated:  Implicit conversion from float 472.5 to int loses precision in /vendor/gumlet/php-image-resize/lib/ImageResize.php on line 324'

PHP version: PHP 8.1.5 (cli) (built: May  3 2022 09:22:01) (NTS)

This is fixed in 2.0.2.


[nrf] add timestamp in nrfconnect logs

Problem
Timestamp is missing from nrfconnect log. This is a desired feature when debugging.
Summary of Changes
Adds the timestamp.

@gjc13 can you take a look at the couple comments and address as needed? Good to merge after that


Return columns that are a search hit

Suggestion from @henridf in a public Slack thread:

Feature request for exploring messy data (which is quite wide and sparse):

I'm looking for a specific string (say foo) which could appear in many columns, and i really care which column it is present in. since my data is wide, it's a bit of a manual hassle to figure that out from the results of my search on foo. So it would be nice to have some way of combining cut with search to say that i want e.g. the id column plus any column that that's a hit for the search foo.

Once we add record support to over, this should be possible with
 over this | pattern

but would be more efficient like this...
pattern | over this | pattern


Wrong positioning of widget content

Hey folks,
I have encountered an issue that the widget content isn't centered in the widget body. Can anyone else reproduce this? I think it's because of the absolute positioning from the .widget__body

@xyNNN, this problem is related to mozaik-ext-time widget which is not vertically centered when no title is defined

I just saw I already had

feel free to re-open if it doesn't solve the issue


Create systemd.debian.erb

Added to support ubuntu 16.04

@vkhatri seems relatively sane, haven't gone through it in detail though.
@JustGav it might be wise to add ubuntu 16.04 to the kitchen platform list [here] (https://github.com/vkhatri/chef-consul-ng/blob/master/.kitchen.yml#L14) and see how the tests go.

Service consul needs to be updated for template systemd.debian.erb. PR 19 covers Ubuntu 16.04.

@JustGav Thanks!


“One of your alts has already entered the tournament” error when joining tournament

I am helping a friend set up a server.  When we teat the code on a hosted server, and try to create a tournament, we are encountering a message that says “one of your alts has already entered this tournament” when other people try to join the created tournament even though no participants have entered the tournament yet. As a result, no one can join the tournaments we create.
How can we resolve this issue?

I'm sorry what?

When we teat the code on a hosted server, and try to create a tournament, we are encountering a message that says “one of your alts has already entered this tournament” when other people try to join the created tournament even though no participants have entered the tournament yet.

This library is a markdown to HTML converter

Oh. Oops. You’re right. Wrong repo. Sorry.


disco_l072cz_lrwan1

I am trying to use the example on the 'disco_l072cz_lrwan1'. I use the CLI to build the example, the online compiler does not compile the example source code.
I first had to adjust the available memory, otherwise an error on running:
Operator new[] out of memory
I added the following to mbed_app.json:
"thread_stack_size": {
"value": 1024
},
"main_stack_size": {
"value": 1024
}
However now I get the following error when running the example:
Mbed LoRaWANStack initialized
CONFIRMED message retries : 3
Adaptive data  rate (ADR) - Enabled
Connection - In Progress ...
Unexpected Spurious interrupt, index 2
Is it possible to run the example on the disco_l072cz_lrwan1  board, if so,how ?

Hi @kleunen ,
Yes DISCO-L072CZ-LRWAN1 is a supported board. Seemingly, you are running out of stack here.
Mbed LoRaWAN stack and your application, both run in 'main stack' . You are allocating too little stack for your main and OS stack sizes. Could you please try with a larger number for OS and Main stack size ?

Hello,
if I increase the stack size:
"thread_stack_size": {
"value": 2048
},
"main_stack_size": {
"value": 2048
}
I get the following error:
Stream obj failure, errno=12

+----------------------------+--------+-------+-------+
| Module                     |  .text | .data |  .bss |
+----------------------------+--------+-------+-------+
| [fill]                     |    154 |     1 |    55 |
| [lib]\c.a                  |  29329 |  2472 |    89 |
| [lib]\gcc.a                |  12328 |     0 |     0 |
| [lib]\m.a                  |   1060 |     0 |     0 |
| [lib]\misc                 |    220 |    12 |    28 |
| lora_radio_helper.o        |    108 |     4 |  1760 |
| main.o                     |   1645 |     4 |   646 |
| mbed-lora-radio-drv\SX1272 |    282 |     0 |     0 |
| mbed-lora-radio-drv\SX1276 |   9511 |     0 |     1 |
| mbed-os\drivers            |   3225 |     4 |   144 |
| mbed-os\events             |   1518 |     0 |   101 |
| mbed-os\features           |  35913 |    71 |  2713 |
| mbed-os\hal                |   1629 |     4 |    66 |
| mbed-os\platform           |   3567 |     4 |   356 |
| mbed-os\rtos               |  12695 |   168 |  3941 |
| mbed-os\targets            |  12221 |     4 |  1220 |
| trace_helper.o             |    128 |     4 |   284 |
| Subtotals                  | 125533 |  2752 | 11404 |
+----------------------------+--------+-------+-------+
Total Static RAM memory (data + bss): 14156 bytes
Total Flash memory (text + data): 128285 bytes

Could you please explain what is your setup ?
Have you modified the application ? Because you are ending up in Stream class. I wonder why.

@kleunen Okay, I am able to recreate that with the stack setting you are using. Let me try without these settings

Default stack settings for Mbed OS are 4K now. Putting that to 2K while still retaining RTOS will probably not work.

@kleunen I think the LoRa stack occupies only 6K, but with RTOS also loaded there might be very little left. It'd be interesting to see runtime memory statistics for this board.
Alt: removing the RTOS on this target should save quite some memory - although not sure if the stack compiles.

@janjongboom The lorawan stack uses the eventqueue, so I think it can not be used without the rtos. I will have a look if I can get the runtime memory statistics, hopefully next week I have some time for this.

@kleunen EventQueue works fine without RTOS. You can just run the dispatch_forever() call in the main loop.
Maybe need to comment out a cmsis2.h header somewhere but it actually compiles without it.

@janjongboom I think I read somewhere the rtos stack was used. Within the trace_helper I see mutex is used, but that can be quite easily removed I guess. What else is used in the lorawan stack, I can not comment on, that is something hasnainvirk should know.

Here's some numbers from Multi-Tech xDot (32K RAM target). The heap stats are measured right after calling connect() on the stack. RTOS removal requires one patch and removal of trace helpers.
Default build (develop profile, with RTOS, default stack)
ROM [|||||||||||||||||||||||                             ]   117KB/256KB
RAM [||||||||||||||||||||||||                            ]   15.4KB/32KB

Current heap: 3308 / 15652

Default build without RTOS (develop profile, default stack)
ROM [|||||||||||||||||||                                 ]  98.3KB/256KB
RAM [|||||||||||||                                       ]   8.82KB/32KB

Current heap: 1856 / 0

No clue why total heap size is not reported now... But given that it uses 7.5K less static RAM I'd expect 22K heap size.
Release build without RTOS and with newlib-nano (default stack)
ROM [|||||||||||||||                                     ]  74.3KB/256KB
RAM [|||||||||                                           ]   6.42KB/32KB

Current heap: 2308 / 0

Interesting that heap usage grows. Maybe newlib-nano does that.
Release profile without RTOS and with newlib-nano and ee-printf (default stack)
ROM [||||||||||||||                                      ]  72.3KB/256KB
RAM [|||||||||                                           ]   6.33KB/32KB

Current heap: 856 / 0

I think part of the win is that it does not need to construct any serial object here. Make sure to remove the platform target overrides from mbed_app.json
Recap
The smallest we can go to seems 7.1K of RAM usage (6.3K static, <1K dynamic). That should be plenty for the DISCO board. But it comes at a cost because the default config uses 18.7K. Maybe we should add some instructions for DISCO to use newlib-nano and no RTOS.

It seems only removing the rtos is already enough, correct ? And this is just removing those two includes ? Make you wonder why these includes were even there ... or am I missing something here ?

Also the 2x 255 bytes for tx/rx, this is the serial port buffer ? The serial port is full-duplex, so a RX and a TX buffer is required, event if you are using only a single thread. 255 bytes does sound like quite a lot actually, but ok.

It seems only removing the rtos is already enough, correct ? And this is just removing those two includes ? Make you wonder why these includes were even there ... or am I missing something here ?

Yeah, I created a bug report: https://github.com/ARMmbed/mbed-os/issues/6100

Also the 2x 255 bytes for tx/rx, this is the serial port buffer ? The serial port is full-duplex, so a RX and a TX buffer is required, event if you are using only a single thread. 255 bytes does sound like quite a lot actually, but ok.

No, LoRaWAN buffers (see main.cpp).

@kleunen I think Jan has explained everything that can be done. In our testing we could actually fit into the board by reducing main stack size to 2K and using ARMCC or IAR as compiler. We do not alter Mbed-OS stack size. In an alternative scenario, which Jan has described above, we can go as low as 6K but that needs some alterations. In response to
What else is used in the lorawan stack, I can not comment on, that is something hasnainvirk should know.

The stack itself and the radio drivers are built to work without RTOS. The stack does not do any dynamic memory allocation. trace_helper() is just an application extension and you are free to remove it.

Indeed it compiles and runs now, but I am getting an 'OTAA Failed - Check Keys' error on activation. The keys seem to be correct, i tried different byte orders, using default phy and running on the things network. No luck so far.

@kleunen fe57839bb24a455c8ba09f823d13911228c79fa9 broke few pins of murata. I just committed a fix: cc52e60f5c5dba0d46ebd00cc91dd557bfd2ebba.
Also please note that this board does not have calibrated chrystal so your cpu frequency might be slightly off and therefore timers are not exact (at least Multitech's gateways sends it's responses right in the beginning of the RX windows, so timers must be quite exact).
If you see problems receiving responses from gateway (especially JOIN ACCEPT), you can either:

quick hack to expand max_sys_rx_error in LoRaMac.cpp (e.g. 10 -> 100)
or
You can use target's trim bits to tune CPU frequency for your module:
mbed-os/targets/TARGET_STM/TARGET_STM32L0/device/stm32l0xx_hal_rcc.h:
#define RCC_HSICALIBRATION_DEFAULT     ((uint32_t)0x10U)   /* Default HSI calibration trimming value */
To see how you need to tune the frequency you can use for example blinky app and oscilloscope to measure how e.g. 1sec timer is triggering. Or if you want to measure HSI frequency, enable DEBUG_MCO and measure pin PA_8. It should be exactly 30MHz.

I did a pull of the latest changes, and changed max_sys_rx_error in LoRaMac.cpp (e.g. 10 -> 100):
  // Init parameters which are not set in function ResetMacParameters
    _params.sys_params.max_sys_rx_error = 100;
    _params.sys_params.min_rx_symb = 6;
    _params.sys_params.retry_num = 1;

But still it get the same error, just takes much longer now to return 'OTAA Failed - Check Keys'.

Could you please enable traces in mbed_app.json? Add these settings:
"target.features_add": ["COMMON_PAL"],
"mbed-trace.enable": true,
And are you using the default (EU868) region?

@kleunen just in case please update your radio driver and Mbed-OS repos.   Chekout to latest master and use mbed update command.

Mbed LoRaWANStack initialized
CONFIRMED message retries : 3
Adaptive data  rate (ADR) - Enabled
[DBG ][LSTK]: Initiating OTAA
[DBG ][LSTK]: Send Join-request..
[DBG ][LMAC]: Next Channel Idx=1, DR=5
Connection - In Progress ...
[DBG ][LMAC]: Next Channel Idx=0, DR=4
[DBG ][LMAC]: Next Channel Idx=0, DR=3
[DBG ][LMAC]: Next Transmission in 4402 ms
[DBG ][LMAC]: Next Channel Idx=0, DR=3
[DBG ][LMAC]: Next Channel Idx=0, DR=2
[DBG ][LMAC]: Next Transmission in 14047 ms
[DBG ][LMAC]: Next Channel Idx=2, DR=2
[DBG ][LMAC]: Next Channel Idx=0, DR=1
[DBG ][LMAC]: Next Transmission in 30190 ms
[DBG ][LMAC]: Next Channel Idx=1, DR=1
[DBG ][LMAC]: Next Channel Idx=0, DR=0
[DBG ][LMAC]: Next Transmission in 74622 ms
[DBG ][LMAC]: Next Channel Idx=2, DR=0
[DBG ][LMAC]: Next Channel Idx=0, DR=5
[DBG ][LMAC]: Next Transmission in 139934 ms
[DBG ][LMAC]: Next Channel Idx=2, DR=5
[DBG ][LMAC]: Next Channel Idx=1, DR=4
[DBG ][LMAC]: Next Channel Idx=0, DR=3
[DBG ][LMAC]: Next Transmission in 4405 ms
[DBG ][LMAC]: Next Channel Idx=0, DR=3
[DBG ][LMAC]: Next Channel Idx=0, DR=2
[DBG ][LMAC]: Next Transmission in 13057 ms
[DBG ][LMAC]: Next Channel Idx=2, DR=2
[DBG ][LMAC]: Next Channel Idx=0, DR=1
[DBG ][LMAC]: Next Transmission in 30200 ms
[DBG ][LMAC]: Next Channel Idx=1, DR=1
[DBG ][LMAC]: Next Channel Idx=0, DR=0
[DBG ][LMAC]: Next Transmission in 74629 ms
[DBG ][LMAC]: Next Channel Idx=1, DR=0
OTAA Failed - Check Keys

Perhaps now I just don't have reception, there are some gateways, but they are about 1 km away.

Is there anyway you could check from gateway whether your JOIN request is visible at that end?

I am afraid not, i now just use the gateways from the things network, so they are not in my control

@kleunen You can check from TTN console if your join request was received or not

Yes, I did check their, and it says: never seen, on the device. So I guess no join request. But this is really that it did not receive a packet at all ? Not even with incorrect network key ?

@kleunen Yes, it has not received any of your packets. By default we are using maximum TX power in EU region. So your device power file should be alright. It may be the case that the your radio environment is heavily shadowed. Because of LoRa modulation type, Fresnel Zone becomes important. We would like to ideally have the radio balun in the horizontal plane so that your signal do not hit the ground. Try holding your device with upright antenna. And you may also want to try to increase the number of retries per datarate.
    "nb-trials": {
            "help": "Indicates how many times join can be tried, default: 12",
            "value": 12
        },

This is defined in mbed_lib.json and you can override that in your mbed_app.json. Please note that this number should be a multiple of six (6 datarates in EU band).

outdoor it works, so, it is not the code now that is incorrect

just one more question, I just generated a random device eui, but the there is no other source where I can get a unique device eui ?

@kleunen well, at least just for test purpose you could generate your fake device EUI and feed it to TTN console when you are registering your device. App EUI will be generated by TTN and hence you will get a level of Uniqueness.  Device EUIs are embedded into the hardware normally, just like a MAC address. If you don't have one, that means your hardware is for testing or prototyping only. Any production ready module, will always come with a DevEUI burnt into it.

Do not generate random EUIs. EUIs need to be globally unique, and blocks should be bought from the IEEE. If your device does not have an EUI you can either use one from TTNs range, or use a local scoped address. Do not generate 8 random bytes and use it as EUI.

Just an update here for people running into this issue, I have created a minimal example here: https://github.com/janjongboom/mbed-os-example-lorawan-minimal
$ mbed compile -m DISCO_L072CZ_LRWAN1 -t GCC_ARM --profile=./profiles/develop.json

@janjongboom. In your example, rx_buffer can be stored on the stack:
    uint8_t rx_buffer[LORAMAC_PHY_MAXPAYLOAD];
    int16_t retcode;
    retcode = lorawan.receive(MBED_CONF_LORA_APP_PORT, rx_buffer,
                              LORAMAC_PHY_MAXPAYLOAD,
                              MSG_CONFIRMED_FLAG|MSG_UNCONFIRMED_FLAG);

To further reduce static memory consumption, correct ?
Also the send does not need the buffer to be alive until TX_DONE (ownership is not transferred according to lorawan documentation). And also, for TX at least use snprintf:
int8_t tx_buffer[LORAMAC_PHY_MAXPAYLOAD];
packet_len = snprintf((char*) tx_buffer, sizeof(tx_buffer), "Dummy Sensor Value is %3.1f",
                    sensor_value);

@kleunen Yep, there's some ways to reduce this further, but I just wanted to show the newlib-nano and no RTOS tricks.


Add a license

Currently this repo has no license, which according to silly copyright laws, means that it's proprietary. You can clear up the confusion by adding a suitable free license, like GPLv3 :)

Taskzy
On Jun 19, 2017 22:27, "pizzaiolo"<EMAIL_ADDRESS>wrote:

Currently this repo has no license, which according to silly copyright
laws, means that it's proprietary. You can clear up the confusion by adding
a suitable free license, like GPLv3 :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Dvik/Taskzy/issues/4, or mute the thread
https://github.com/notifications/unsubscribe-auth/AQVWkJJM2ErTMAWodeaPHR1SuLhJahqBks5sFoVLgaJpZM4N-Tvy
.

Thanks @picsi
Added the license.


Why do we need reload of daemons in ansible/install.yml

https://github.com/fredrikhgrelland/vagrant-hashistack/blob/master/ansible/install.yml#L60-L61
Questions:
Why do we need reload of daemons in the install script? We have not started anything yet

When files are added to system, you need to reload to verify and add these files to everyone's knowlegde


Editor.js integration

Flextype 0.9.0 should use next generation block styled editor - Editor.js
Key features:

It is a block-styled editor
It returns clean data output in JSON
Designed to be extendable and pluggable with a simple API

Link: https://editorjs.io

moved to https://github.com/flextype/flextype/issues/122


Enhance warning popups about script being unresponsive

From time to time I keep getting reports by users about this topic, which is a SMP thing and not script related at all. Thing is there is not an "user accessible" place where people is informed about it. This is a list of suggestions which should improve the current user experience (while making developer's life easier):

Set the default configuration to higher values (+10 secs for ex.) to lower the frequency people get it for no reason under heavy processing tasks. In case there is an inf. loop, it makes no difference at all since it will be thrown anyway (just later).

Add a clearer description on the popup:

Reword it so the user understands the popup is not an script error but an SMP feature: "A script may be busy (don't report this as an error) or may have stopped responding."
Reword it so the user understands letting it continue is fine in many cases: "This may be common for processor intensive tasks which require more time to finish (and should be let to continue)."
Reword it so the user understands that stopping it will make the panel crash (and that's not an script error): "You can stop the script now (thus crashing the panel) or let it continue (usually recommended)".
Reword checkbox to: "Don't ask me again until next session".
Inform the user about the possibility to configure the timer (so they know what to do the first time they see it): "NOTE: Warning threshold can be changed at Preferences/Advanced/Tools/Spider Monkey Panel"

Add the info to the FAQ to point users to it: https://theqwertiest.github.io/foo_spider_monkey_panel/docs/faq

@regorxxx,
if you want to use a workaround ( which I've been using for my auto-detect resolution script since I published the theme on Github ), you can set it in the foobar preferences > Advanced > Spider Monkey Panel >
Script execution time limit before triggering a slow script warning (in seconds): 30
It will be saved in your profile\configuration folder in the cfg file foo_spider_monkey_panel.dll.cfg
If you made any other personal changes for SMP, I would start with a fresh one ( delete your existing foo_spider_monkey_panel.dll.cfg in the configuration folder ) and just modify the default value for the
slow script time out and close foobar. The new modified foo_spider_monkey_panel.dll.cfg will be automatically
written in the configuration folder. You can then upload and included it in your scripts ( see here ), so you don't have to worry
about user reports...
-TT

@TT-ReBORN Thanks for the suggestion :)
Although not sure about it. That requires an external file overriding the one on the user's profile, which makes more sense when you are already overriding the entire profile folder (like a theme does) but not so much for scripts: note future updates would override the user's config again (counterintuitive). That may be fine for a theme, since that's the idea.
If that's the last resort, I could simply throw a popup the first time the script is loaded warning about it and pointing users to configure it.
But anyway both approaches are simply workarounds, there is room for improvement here to make it more in line with real life scripts. I mean, right now the popup is giving more problems than avoiding them, since scripts released on the forum usually are tested enough and coded to not have infinity loops. It seems more useful for developers (while testing) than for regular users.

@regorxxx,
well the foo_spider_monkey_panel.dll.cfg file just stores the values of the SMP settings in Preferences > Advanced.
Nobody ( 99,99% ) really cares about these settings and they stay default all the time anyways...
So I don't see any problem in just changing the slow script timeout value, doesn't matter when you release future updates, because it won't change anything besides the slow script timeout value...
Of course it's different when using foo_ui_columns.dll.cfg or core.cfg, these two config files will change and use the saved/stored
foobar preference settings, which I would only use, like you pointed out for themes...
Anyways it's still better than having an annoying popup warning and a crash.
Of course it would be the best if @TheQwertiest changes the default value ( nobody really cares / only devs for debugging ),
just one click instead using these workarounds...
-TT

@TT-ReBORN
You got me with that point. Also since @TheQwertiest will suspend development for some time, it may be wise to apply that workaround for now.

I've been getting quite a lot of unresponsive script pop-ups like this
Please can you increase the timeout or add a way to fully deactivate it.
Thanks to regorxxx's post, I've changed the warning threshold at Preferences/Advanced/Tools/Spider Monkey Panel to 10 seconds, and hopefully that will reduce the amount of pop-ups, but I don't think most people will know about that.


Drawing to custom control is shifted one pixel to the left

Hello,
I am trying to make a custom control, but bounds for drawing seems to be incorrect, x-coordinate is shifted one pixel to the left, as you can see on the following image:

To Reproduce
Steps to reproduce the behavior:

Run the following project AvaloniaDrawingIssue.zip
See the issue

Expected behavior
Red rectangle is fully visible
Am I missing something or is this a bug?

Not 100% sure this is what's happening (not had time to look at the repro yet) but Avalonia like most other modern rendering frameworks uses a drawing system where physical pixels are centered on the coordinate you specify. This means that depending on the scaling if your screen, at times a pixel may be shifted left by 1 physical pixel or drawn blurry if you draw at whole pixel coordinates.
Controls like Border account for this automatically, but if you're doing the drawing yourself you'll have to account for it yourself by shifting by half the line width (e.g. 0.5 if you have a 1-pixel line).
A few references for other frameworks:
For WPF: https://stackoverflow.com/a/7663956
For SVG: https://stackoverflow.com/a/34229584
For HTML canvas: https://usefulangle.com/post/17/html5-canvas-drawing-1px-crisp-straight-lines

Not 100% sure this is what's happening (not had time to look at the repro yet) but Avalonia like most other modern rendering frameworks uses a drawing system where physical pixels are centered on the coordinate you specify. This means that depending on the scaling if your screen, at times a pixel may be shifted left by 1 physical pixel or drawn blurry if you draw at whole pixel coordinates.
Controls like Border account for this automatically, but if you're doing the drawing yourself you'll have to account for it yourself by shifting by half the line width (e.g. 0.5 if you have a 1-pixel line).
A few references for other frameworks:
For WPF: https://stackoverflow.com/a/7663956
For SVG: https://stackoverflow.com/a/34229584
For HTML canvas: https://usefulangle.com/post/17/html5-canvas-drawing-1px-crisp-straight-lines

Not 100% sure this is what's happening (not had time to look at the repro yet) but Avalonia like most other modern rendering frameworks uses a drawing system where physical pixels are centered on the coordinate you specify. This means that depending on the scaling if your screen, at times a pixel may be shifted left by 1 physical pixel or drawn blurry if you draw at whole pixel coordinates.
Controls like Border account for this automatically, but if you're doing the drawing yourself you'll have to account for it yourself by shifting by half the line width (e.g. 0.5 if you have a 1-pixel line). So instead of drawing a box from say (0,0) to (100, 100) you would draw from (0.5,0.5) to (99.5,99.5).
A few references for other frameworks:
For WPF: https://stackoverflow.com/a/7663956
For SVG: https://stackoverflow.com/a/34229584
For HTML canvas: https://usefulangle.com/post/17/html5-canvas-drawing-1px-crisp-straight-lines

Yes, that could definitely be it. Shifting by 0.5f seems to fix the issue, I have tried that before. I was just confused that x and y coordinates behave differently and didn't want to introduce more problems then I solve, but after your explanation it seems to be safe to fix it that way.
Thank you, grokys, for the quick and helpful answer!

Not 100% sure this is what's happening (not had time to look at the repro yet) but Avalonia like most other modern rendering frameworks uses a drawing system where physical pixels are centered on the coordinate you specify. This means that depending on the scaling if your screen, at times a pixel may be shifted left by 1 physical pixel or drawn blurry if you draw at whole pixel coordinates.
Controls like Border account for this automatically, but if you're doing the drawing yourself you'll have to account for it yourself by shifting by half the line width (e.g. 0.5 if you have a 1-pixel line). So instead of drawing a box from say (0,0) to (100, 100) you would draw from (0.5,0.5) to (99.5,99.5).
A few references for other frameworks:
For WPF: https://stackoverflow.com/a/7663956
For SVG: https://stackoverflow.com/a/34229584
For HTML canvas: https://usefulangle.com/post/17/html5-canvas-drawing-1px-crisp-straight-lines

Yes, that could definitely be it. Shifting by 0.5f seems to fix the issue, I have tried that before. I was just confused that x and y coordinates behave differently and didn't want to introduce more problems then I solve, but after your explanation it seems to be safe to fix it that way.
Thank you, grokys, for the quick and helpful answer!


canned queries text update

change
viable deletions -> viable  deletions protein coding (check, but I don't think we have any  data fro RNA's)
inviable deletions , ditto
Conserved in S. cerevisiae  -> proteins conserved in S. cerevisiae
Conserved in human/vertebrates proteins conserved in human/vertebrates

There are 14 ncRNA IDs in the viable deletions list, and 4 in the inviable list.
I did the name changes for the conserved protein queries.