[Feature] Market Orders function

Are you adding a new feature?

[x] YES
[ ] NO

Are you enhancing the old feature?

[ ] YES
[x] NO

Is your feature request related to a problem?

[x] YES
[ ] NO

Describe your feature/enhancement.

Can you add the feature by yourself?

[x] YES
[ ] NO

Additional Information

Functions for placing market orders to buy or sell securities at the prevailing market price.
Functionality: The market order function is designed to execute a trade immediately at the current market price without specifying a specific price limit. It is used when the primary goal is to quickly enter or exit a position rather than waiting for a specific price level.
Buy or Sell: The market order function can be used for both buying and selling securities. For buying, the function submits an order to purchase the specified quantity of the security at the best available market price. For selling, it submits an order to sell the specified quantity of the security at the prevailing market price.
Immediate Execution: Market orders are typically executed immediately upon submission, as long as there is sufficient liquidity in the market to fill the order. The trade is executed at the current market price, which may vary slightly from the displayed price due to market fluctuations or slippage.
Best Available Price: When executing a market order, the function ensures that the trade is filled at the best available price in the market at that moment. It takes into account the bid and ask prices of the security and attempts to get the most favorable price for the user.

Please assign me this issue @ighoshsubho

Hello @Abhinavcode13, this is Version 2 of Fintech API repository, there had been few major updates, please go through the docs to make further contributions. Thanks.


check result is defined on fetchFinished correctly

fix https://github.com/martyjs/marty/issues/376

Hmm - I think we'd want to do == null here instead. The intended behavior here is to treat null as a "not found" response.
Otherwise, the modules directory is actually a build artifact - you only need to change src; modules will get updated on build.

@taion you mean !_.isNull we need to check the not condition here. also I added to the modules so our fork of marty can work for now. how do I call build?

@taion  can we merge this?

Please change the check to a null check. I'll merge and re-release after.

@taion all set

Any insight to the failures on Travis?

nothing obvious is jumping out at me hmmm

I took a quick look at the test failure - this is an actual bug in your code. You're hitting the fetchFinished branch on https://github.com/goldensunliu/marty-lib/blob/777b066cf4b1c3482e7541d840e67b6c55e94e02/src/store/storeFetch.js#L89, but not actually marking the fetch as finished.


Clock.schedule_interval more limited than expected

Hello,
Many thanks to the kivy team for building kivy!
I tried to use Clock.schedule_interval to set a timer to record some data in my Kivy application.
Found some limits, I ask users here:
https://groups.google.com/forum/#!topic/kivy-users/3Iubhg6nhvo
Seems that whatever we set, the smallest dt is around 0.01283s
I could not understand where from this comes, tried to change the maxfps without any success.
Requesting for a period of 0.1s brings (on my PC) an average dt of 0.1027s.
That's not very precise.
Maybe, should write something in the documentation about the limits.
For people running into same problem, can use Timer object from the standard lib, ex:
http://stackoverflow.com/questions/12435211/python-threading-timer-repeat-function-every-n-seconds

I guess it should be documented that kivy's clock always returns time not as the actual time but the frame time which tends to be a function of the frame rate.

Will be perfect to see it in the documentation.
I used it as it is, thinking that a 100Hz timer is pretty easy to achieve, today, for a computer. But actually, I got only ~80Hz, running into this limitation.

By rolling my own kivy clock, using event timeouts, I am able to get 1kHz. But for games it's important to get a predicable clock hence the default kivy behavior.

Do you have a sample program that demonstrates the issue:
I can get a kivent game with framerate unlocked to run at 3000+ fps, clock is definitely capable of running at an even smaller dt

Actually, I do not target fps, just a nice use of kivy Clock.schedule_interval as a timer, to save some data.
# -*- coding: utf-8 -*-
from kivy.app import App
from kivy.uix.button import Button
from kivy.uix.label import Label
from kivy.uix.boxlayout import BoxLayout
from kivy.clock import Clock
import csv, datetime

class Container(BoxLayout):

    def __init__(self, *args, **kwargs):
        super(Container, self).__init__(*args, **kwargs)
        self.orientation = 'vertical'
        bt = Button(text='start timer')
        bt.bind(state=self.start_rec)
        self.add_widget(bt)
        self.lab = Label()
        self.add_widget(self.lab)

    def start_rec(self, bt, state):
        if state == 'down':
            self.memory = []
            print datetime.datetime.now()
            self.thread_memory = Clock.schedule_interval(self.reccord_row, 0.01)

    def reccord_row(self, dt):
        now = datetime.datetime.now()
        now = (now.minute * 60 * 1000000 + now.second + now.microsecond) / 1000.
        self.memory.append([dt, now])
        if len(self.memory) == 1000:
            print datetime.datetime.now()
            self.thread_memory.cancel()
            with open('test.csv', 'wb') as f:
                writer = csv.writer(f)
                writer.writerows(self.memory)
            average = sum([e[0] for e in self.memory])/len(self.memory)
            self.lab.text = 'average: {}'.format(average)
            print 'done'

class TestApp(App):
    def build(self):
        self.container = Container()
        return self.container

if __name__ == '__main__':
    TestApp().run()

here Clock.schedule_interval(self.reccord_row, 0.01)
I try to get a 100Hz Timer.
You can try Clock.schedule_interval(self.reccord_row, 0.001) to get a 1000Hz
You will see that you can not get better than a period of 0.01283s, something around 80Hz

I just tested and I got 12-13kHz when setting maxfps to zero using:
from kivy.app import runTouchApp
from kivy.uix.widget import Widget
from kivy.clock import Clock
from time import clock

class Events(Widget):

    trigger = None
    t = clock()
    f = []
    last_t = t

    def __init__(self, **kwargs):
        super(Events, self).__init__(**kwargs)
        self.f = []
        self.trigger = Clock.create_trigger(
            self.callback, timeout=0.001)
        self.trigger()

    def callback(self, *l):
        t = clock()
        self.f.append(1 / (t - self.t))
        if t - self.last_t >= 1.0:
            print('fps', sum(self.f) / max(1, len(self.f)))
            self.f = []
            self.last_t = t
        self.t = t
        self.trigger()

runTouchApp(Events())

The issue of course is that CPU went through the roof. The one I made myself used a event so that we didn't actually have to walk the events 12,000 times a sec and CPU was minimal.

I tried your script.
Added an explicit change of maxfps, and printing a few more things
from kivy.config import Config
Config.set('postproc', 'maxfps', '0')
Config.write()

from kivy.app import runTouchApp
from kivy.uix.widget import Widget
from kivy.clock import Clock
from time import clock

class Events(Widget):

    trigger = None
    t = clock()
    f = []
    last_t = t

    def __init__(self, **kwargs):
        super(Events, self).__init__(**kwargs)
        print self.t
        self.f = []
        self.trigger = Clock.create_trigger(
            self.callback, timeout=0.001)
        self.trigger()

    def callback(self, *l):
        #print self.f
        t = clock()
        self.f.append(1 / (t - self.t))
        if t - self.last_t >= 1.0:
            print('fps', sum(self.f) / max(1, len(self.f)), len(self.f), t, self.last_t)
            self.f = []
            self.last_t = t
        self.t = t
        self.trigger()

runTouchApp(Events())

Actually, surprised with the outputs:

('fps', 1845.1417117386989, 1675, 1.076692, 0.076152)
('fps', 1757.0488113671274, 1717, 2.07701, 1.076692)
('fps', 1781.662071470891, 1744, 3.077483, 2.07701)
('fps', 1739.9652620841441, 1716, 4.077871, 3.077483)
('fps', 2008.446633244311, 1838, 5.078472, 4.077871)
('fps', 1926.7985469400749, 1819, 6.078652, 5.078472)

The 2 last data are fine.
But I would expect that len(self.f) would be 1000. Actually, the callback was called around 1700 times, for each set of 1s. That seems to be almost twice than expected, no ?

I'm working on some more clock changes. But the basic idea is that you should not rely on the current kivy clock as a accurate timing mechanism. Because it doesn't know long event processing will take, it's greedy and processes events once it's "close enough" to the timeout. That's what you're seeing.

ok, thank you for explaining.
I hope the clock behind Animation is not that bad, because I use it to drive some "precise" user tests.
Looks like that:
anim =  Animation(x=50, duration=0.2)
anim += Animation(x=20, duration=0.5)
anim += Animation(x=110, duration=0.3)
anim.start(widget)

So far, seems ok, timeout are fairly large.
To save my data at 100Hz, I will use an external Timer (or ZMQ Poller)
Should I close this issue ?

#4436 adds some documentation as well as various clock options so that should fix this doc issue. The clock does fine for animations since it's not as sensitive to exact timing. But I would not rely on it for exact timing.


Restored Triple Threat Titan gun

Implemented Triple Threat Titan gun and scripts.

We should have maybe waited with merging this as it break compatibility between versions :I

Technically crosshair should also go vertical when zooming @taskinoz, but I'm not sure how easy it is to implement that :P

Aren't we breaking compatibility between anything below 1.6 anyway with the security fixes. And with the crosshair rotating, we'd probably need some custom RUI for that or figure out how one of the other ones spin.

Aren't we breaking compatibility between anything below 1.6 anyway with the security fixes.

Yes but this will end up in 1.7 and will require both client and server to be on the same version to interact, meaning this is the second time in a row now that players need to upgrade from a minor version. Not the end of the world but we should really try reducing the number of breaking changes between minor releases ^^


Add support for WavlmForXVector

Adding support for wavlm with xvector head on top.
The onnx version of microsoft/wavlm-base-plus-sv can be found at D4ve-R/wavlm-base-plus-sv.
Aims to be as close to the python implementation as possible.

import { AutoProcessor, AutoModel, read_audio } from '@xenova/transformers';

const processor = await AutoProcessor.from_pretrained('D4ve-R/wavlm-base-plus-sv');
const audio = await read_audio('FILE_URL', 16000);
const inputs = await processor(audio);
const model = await AutoModel.from_pretrained('D4ve-R/wavlm-base-plus-sv');
const output = await model(inputs);

 // {
 //   embeddings: Tensor {
 //     dims: [ 1, 512 ],
 //     type: 'float32',
 //     data: Float32Array(512) [-0.349443256855011, ...],
 //     size: 512
 //   },
 //   logits: Tensor {
 //     dims: [ 1, 512 ],
 //     type: 'float32',
 //     data: Float32Array(512) [0.022836603224277496, ...],
 //     size: 512
 //   }
 // }

Wow! This PR looks perfect! 😍 I look forward to reviewing and merging over the weekend!

Thank you! Awesome 👍
I also have code for WavLMForAudioFrameClassification & Wav2Vec2ForAudioFrameClassification, will open a pr once this is merged!

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

I did some additional testing w/ quantization settings, and it's clear that the best combination is per_channel=False and reduce_range=False (you can test it out by running the following code snippet, replacing the model ID with D4ve-R/wavlm-base-plus-sv, with and without { quantized: false }. I will also add it to the model cards.
import { AutoProcessor, AutoModel, read_audio, cos_sim } from '@xenova/transformers';

// Load processor and model
const processor = await AutoProcessor.from_pretrained('Xenova/wavlm-base-plus-sv');
const model = await AutoModel.from_pretrained('Xenova/wavlm-base-plus-sv');

// Helper function to compute speaker embedding from audio URL
async function compute_embedding(url) {
    const audio = await read_audio(url);
    const inputs = await processor(audio);
    const { embeddings } = await model(inputs);
    return embeddings.data;
}

// Generate speaker embeddings
const BASE_URL = 'https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/sv_speaker';
const speaker_1_1 = await compute_embedding(`${BASE_URL}-1_1.wav`);
const speaker_1_2 = await compute_embedding(`${BASE_URL}-1_2.wav`);
const speaker_2_1 = await compute_embedding(`${BASE_URL}-2_1.wav`);
const speaker_2_2 = await compute_embedding(`${BASE_URL}-2_2.wav`);

// Compute similarity scores
console.log(cos_sim(speaker_1_1, speaker_1_2)); // 0.959439158881247 (Both are speaker 1)
console.log(cos_sim(speaker_1_2, speaker_2_1)); // 0.618130172602329 (Different speakers)
console.log(cos_sim(speaker_2_1, speaker_2_2)); // 0.962999814169370 (Both are speaker 2)

Clean addition! Thanks so much @D4ve-R!

I also have code for WavLMForAudioFrameClassification & Wav2Vec2ForAudioFrameClassification, will open a pr once this is merged!
Lmk if i should/can add docs somewhere.

I look forward to reviewing your future PRs 🔥

Thank you!! This was really fun!


Firefox Bug with Fluid Layout

Hey all,
I'm working on putting a bootstrap of sorts together for myself for various projects using a little bit from various sources around the web along with some personal includes. Just whipped up this layout really quickly tonight and noticed a bug in Firefox when resizing the window (the third column on the bottom right occasionally clears the floats and pushes down beneath the others):
http://bootstrap.korywakefield.com/
Any ideas? Pretty sure my brain is just fried from working all night, haha. Other than that one little bug, is looking pretty good elsewhere. I'll continue to mess with it tomorrow and see if I can come up with any answers.

By the way tylertate, I just wanted to say what an awesome job you did on this one. So clean and simple...I'm loving it!

Adding a mixin of simply "margin-right: 0;" to the last row item takes care of the trick. Not the prettiest way to do it but it works. If anyone has any ideas, let me know!

Closing this one out, but if anyone happens to read this and figure out a better fix I'd appreciate it.


error

I have installed all dependencies guided by your readme.However, there is a error .Please tell me how to solve it ,thank you.

Dear wkHacker, pykeops is not a critical dependancy of our project, I would suggest trying to run a subset our code without this library as things have moved on in the years. You may need to comment out some import pykeyops lines. Good luck and best wishes James

Thanks for your answer,  I have solved this problem by changing the version of Pytorch.


Ui change to count the percentage for Manual Tests

This change can able  to calculate Success percentage for both "Manual" and "Functional" tests in Code analysis test widget.

LGTM


Is the service verions "2017-04-17" wrong?

It looks like "2017-04-17" is not a valid service version anymore, can you please confirm this and updated the page if it's not correct?
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-store-data-blob#supported-storage-operations
Thanks for your help!
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 07a44a28-a19c-f68e-167c-5e8ad91605e0
Version Independent ID: 33eacdff-4f0a-c543-d8f9-e7b208bab015
Content: Store block blobs on devices - Azure IoT Edge
Content Source: articles/iot-edge/how-to-store-data-blob.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

Hello @xiafu-msft Thanks for posting the feedback over here!

It looks like "2017-04-17" is not a valid service version anymore

Could you please attach more error logs if you are using version 2017-04-17.
Or is this a general question on checking if this version works?
So that we understand the issue better.

Hi @SatishBoddu-MSFT
Thanks for your reply! Users said they cannot send request using 2017-04-17 while they can use '2019-07-07'
https://github.com/Azure/azure-sdk-for-python/issues/13985

@xiafu-msft We are checking with the PG team on this.

As we are tracking this issue internally.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Please also do visit Microsoft Q&A the home for technical questions and answers at Microsoft.

hi @SatishBoddu-MSFT
thanks for your help! just wanna check if there's any updates of this issue, we got several other customers running into the same problem
for example this most recent one https://github.com/Azure/azure-sdk-for-python/issues/15957

hi @SatishBoddu-MSFT
thanks for your help! just wanna check if there's any updates of this issue, we got several other customers running into the same problem
for example this most recent one https://github.com/Azure/azure-sdk-for-python/issues/15957

Hello @arduppal Could you please help in this matter? Please provide your suggestion to get this issue unblocked.

Hello @arduppal Could you please help in this matter? Please provide your suggestion to get this issue unblocked.

@xiafu-msft - can you try the version 1.4.0 of "Azure Blob Storage on IoT Edge" module, and let us know if you still have this issue?

@xiafu-msft - can you try the version 1.4.0 of "Azure Blob Storage on IoT Edge" module, and let us know if you still have this issue?

Hi @arduppal
It looks like the customer still get the same problem https://github.com/Azure/azure-sdk-for-python/issues/15957 can you help him/her with it?
Thanks so much

Hi @arduppal
It looks like the customer still get the same problem https://github.com/Azure/azure-sdk-for-python/issues/15957 can you help him/her with it?
Thanks so much


/api/send response 400 in v2.6.0

Describe the Bug
With umami v2.6.0 the /api/send POST request made by the browser fail with code 400 and message Cannot read properties of undefined (reading 'includes'). In umami v2.5.0 and previous this error is not present.
Database
PostgreSQL
Relevant log output
No response
Which browser are you using? (if relevant)
Edge, but reported also with Powershell Invoke-WebRequest and bash curl
How are you deploying your application? (if relevant)
Docker on aarch64 (Raspberry Pi 4)

Thanks for reporting. This seems to be a duplicate of #2236, or the same root cause. We have a fix and will try to do a release soon.

Fixed in v2.6.1.

I still get 400 of /api/send in v2.6.2


Language-specific comment parsing

In Python, comments start with a #. Lilly fails to detect whether the language's comments start with // or #, so in Go, lines starting with # are still grayed out.
I suggest adding a comments key in the .syntax files, like # for Python and // for Go, so that this is fixed.
For multiline comments, we could have a key like multiline_comments with a value of ["start", "end"], like ["/*", "*/"], and then the parser could ignore things between the start and end values.

If you want to raise a PR we can see if the solution makes sense, but sure it sounds like a good idea to me.


Jupyter Server: Not Started No Kernel

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur
I've been trying to use jupyter notebook in vscode. I installed the python extension then clicked Python: Select Interpreter to start jupyter server and then I tried to create a notebook.
Actual behavior

Expected behavior

Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running: Local | Remote | N/A
Extension version: 2020.3.71659
VS Code version: 1.44.0
Setting python.jediEnabled: true | false
Python and/or Anaconda version: 3.8.0
OS: Windows_NT x64 10.0.18362
Virtual environment: conda | venv | virtualenv | N/A | ...

Developer Tools Console Output

-1586816413609.log
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

Thank you for your feedback @DorotheaM. Your logs show that the extension is not finding Python on your machine.
Which Python do you have installed?
Could you show us an image of what comes up when you click: Ctrl + Shift + P, then select 'Python: Select Interpreter to start Jupyter Server'?

Yes, I get this

Please try to reset you interpreter. Just do that again, and select the only option that comes up. Then try to open or to create a notebook.
If that doesn't work, maybe the extension has an issue with python 3.8. To make sure, could you try using python 3.7?

I installed python 3.7.7, ran it again with both of them and got this

I wanted to avoid downloading anaconda because I'm using pip and I wouldn't know what to do with both of them since I'm new to programming in general but I see that most sites suggest using jyputer notebooks with anaconda. Is that the only solution?

In line 689 of your log, a package called tornado is failing. This is why a lot of python devs go to anaconda, it helps with this types of issues.
Now I hear you that you'd like to stay with pip, and it should work. What you can try now is to install different versions of tornado and see which one works.  Hopefully this helps you getting it to work.

@DorotheaM, can you start Jupyter from the command-line (outside of VS Code)?

Actually no, although I have installed some packages for instance pip install jupyter pip install notebook. Have I missed something else?

Please activate your python environment (if its a virtual env), then run
python -m jupyter notebook in your terminal.

Excuse me but I am not familiar with the terminology. What do you mean if its a virtual env?
Meanwhile if I run the command as it is, I get this

I am sorry but I have the same problem,the jupyter notebook works just fine outside the vscode,however,it just keeps saying Jupyter Server: Not Started No Kernel，I have changed the terminal of the vscode to anaconda prompt powershell since I cannot run conda activate in windows powershell(I am confused either, because my conda supports powershell, and I run conda init powershell, but after that nothing happens),but it still doesn’t work. @DonJayamanne


Does possible to restrict concurrent provision operations started by controller?

I use your lib/controller for writing own flex-provisioner, all works,
but one problem exist - memory usage.
While deploy apps with PVC to K8S, many not bound pvc can be created at one time.
That causes to spike memory usage by provisioner, because controller try run provision operation for every one not bound pvc at one time.
Example:
For one pvc at time, provisioner use ~60-80 Mb of RAM, for 10 pvc, around ~300 Mb of RAM.
I look at controller code and not found any interface to restrict count of concurrently running provision operations, does not found a way to serialize them.
Do i miss something?
Thanks, for any info.

No, it's not possible and you're right it is not optimized. Scaling is a problem. Let's track general improvements here https://github.com/kubernetes-incubator/external-storage/issues/812


Clone Git Repo extension does not honour space in the Destination path

If the destination path contains a space, the extension takes the path up to that point...
For example, if you try to clone the git repo to c:\program files\repos it instead copies the repo to c:\program
Tarun

However if you pass the destination path with double quotes it honours the space. I would at the least expect the extension to wrap the path in quotes and escape any special characters behind the scene. It's not a blocking issue. Would be great to fix, or at least indicate in the information icon for the field.

Thanks for finding and logging the bug, Tarun. One of us will get to it at some point. If you wish, you may create a branch of the repo, fix it, and send a pull request.

Creating a PR to add quotes around Destination parameter to ensure spaces are accounted for.

Applied fix.


[v2.8] Port fix 478

Porting https://github.com/rancher/rancher/pull/45767

Closed in favor of https://github.com/rancher/rancher/pull/45901


blank page after system suspend

Hey,
lounge is great so far!  Though I found a small, but annoying niggle, when running 2.0.0-rc1:
With thelounge open, after returning my system from sleep, the page is blank and does not auto-refresh/reconnect. I think the same behaviour can be observed when killing the serverside process. I've seen it happen in Chrome and Electron (nativefier).
I'm not sure how it gets to the blank page; but I think, what it should do instead is attempt reconnection attempts forever?

Are you running this on your laptop?
FYI, The Lounge is meant to be run on a machine that stays up, but agreed that it should be trying to reconnect at the very least.

This seems to me like a duplicate of https://github.com/thelounge/lounge/issues/595. Closing as such.

@astorije  Thanks for checking!  However, this isn't a dupe.
The serverside parts run on a dedicated VM. I'm talking about the js frontend that just replaces itself with a blank page after coming out of suspend on my laptop. What I would expect instead is that it reconnects transparently, like any desktop client would.


ISPN-8845 - Support for non-String keys in the rest server using a custom key

Created a test case to allow send a customized key to the server

Checkstyle error: [ERROR] /home/infinispan/workspace/Infinispan_PR-5771-PN4CEVLXCMNEYFXON7S2VW5G3C4PB7BHJHFKWMJRVV3CD6PYCTFQ/integrationtests/compatibility-mode-it/src/test/java/org/infinispan/it/compatibility/CustomKey.java:72: Missing new line at the end of file [RegexpMultiline]

Merged, thanks @diegolovison !


Crashes when Home or Recents button is pressed.

Library crashes with the following exception when the dialogue is enabled and the Home or Recent button is pressed.

java.lang.RuntimeException: Parcelable encountered IOException writing serializable object

@searchy2  thanks
compile 'com.geniusforapp.fancydialog:FancyDialog:0.0.6
fixed please check this version

:raised_hand_with_fingers_splayed:  Nice, great work!

thanks
On Sat, Mar 25, 2017, 10:16 PM Ray Li<EMAIL_ADDRESS>wrote:

🖐 Nice, great work!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/geniusforapp/fancyDialog/issues/8#issuecomment-289233127,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHMF-9WyAGufwNpXOwL6lY4DUKyl7pygks5rpWf-gaJpZM4Mo10t
.


Is there a way to customize client host in trace data?

FEATURE REQUEST

Please describe the feature you are requesting.
A way to customize producer/consumer client host in trace data.

Provide any additional detail on your proposed use case for this feature.
TraceBean does have field clientHost,

but it is ignored when encoing trace context to transfer string.

And finally using born host of message as client host when decoding transfer string to trace view.

In our deployment architecture, there is a proxy, which is actually the rocketmq remoting client, between user client and broker. And what we want is user client ip could be shown in trace view.

Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

#5395


feat: add support multiple device for name_add_mac_suffix on GUI

add support multiple device for name_add_mac_suffix on GUI
will be show a select for multiple devices

We don't want to merge this. Configurations are tied to devices in the dahsboard. This PR is decoupling that and adds another step for the main flow of ESPHome device update. Advanced users can already achieve this from the ESPHome CLI.
We're in the final phase of adding OTA update to devices without requiring the dashboard. This should be the way for firmware to update themselves without having a specific config.


Investigatioin on  changing form dcat:Dataset to dcat:Distribution

#813
I recommend breaking this ticket up to 3 parts.
the first implementation should be done in the pmd repo since it will be backwards compatible so when later the rest of the ticket is implemented the process won't break.
**Csvcubed Models repo
One part would be focusing on the cscubed repo developing the Distribution class na modifying the functions that is using the dataset class in the models repo.
In the dcat.py a Distribution class will be needed which would also inherit from the resource class.
In the graph I have made displays the data that the class should contain https://miro.com/app/board/uXjVM_7G82A=/
Also see in the documentation what data the dcat:Dataset and the Distribution class should contain
https://www.w3.org/TR/vocab-dcat-2/#Class:Distribution should all the data be added?
**Csvcubed repo:
In the catalog.py the configure_dcat_dataset will need to be reworked
ArbitraryRdf.py possibly a new Enum value is needed or change the CatalogDataset?
QbDataSetInCatalog.py does the QbDataSetInCatalog class would need change when it comes to inputs.
It would continue to take in the qb:DataSet but would also need the dcat:Distribution instead of the dcat:Dataset.
ConceptSchemeInCatalog.py does the ConceptSchemeInCatalog class need a change similar to the QbDataSetInCatalog.
Probably
**Pmd repo:
The changes in the repo would focus on the reading of the data without changing the output, which has to follow the syntax supported on pmd currently. Backward compatibility has to be supported so it can read from the shapes we currently output and also from the new shapes(
the one with the dcat:Dataset and the dcat:Distribution).
_get_catalog_entry_from_dcat_dataset
Take the dataset info from the isDistributionof attribute
Add pmdcat_distribution = pmdcat.Distribution(str(record[“distribution”]))
Add the attributes os the distribution class
_delete_existing_dcat_metadata
Uses two functions
_delete_existing_dcat_dataset_metadata
Modify to query for the data coming from the Distribution class
_set_pmdcat_type_on_dataset_contents
This function might need change
**Inspect API
The inspect API will also need changes that have been adressed by Rob "the code which retrieves the catalogue metadata will not work with the new RDF structure/shape we're proposing to use here. We also need to worry about backwards compatibility there (i.e. making it able to read older shaped CSV-Ws as well as newer shaped CSV-Ws)".
**Suggestion
After the PMD repo ticket is done the other two tickets should be released together cause it might introduce breaking changes.

The inspect API will definitely need some changes. The code which retrieves the catalogue metadata will not work with the new RDF structure/shape we're proposing to use here. We also need to worry about backwards compatibility there (i.e. making it able to read older shaped CSV-Ws as well as newer shaped CSV-Ws).

Closed as investigation complete; new issues created and assigned to Epic.


Make the number of validators mutable during chain lifetime

Right now ValidatorsCount sets proper CN count for the whole network lifetime which is acceptable for most public networks, but doesn't fit well some of NeoFS scenarios (growing a network from one node to many of them). Therefore we need to make it possible to change it.
An obvious solution is just an extension of the configuration file, like ValidatorsCount: {height: number, height: number,...}, similar to Legacy's MaxTransactionsPerBlock or FreeGasLimit setting. Easy to implement, but it requires configuration file update on all nodes.
The other option is going through Policy or other special contract. Committee-signed transactions are always good, but it's a separate mechanism and it contradicts the scheme we have now, so maintaining this functionality (protocol extension) would be rather costly.

Things that should be taken into account:

Real committee is updated once in a while (the performance optimization from af1651941). DBFT should probably see the updated view on validator number when the committee is updated. Otherwise reward calculations should be altered somehow (it is not obvious how).
SecondsPerBlock should be altered too. As we could see in benchmarks it can heavily influence TPS when there are many validators.

It can be made a part of election process, delaying update for committee number of blocks is not a problem (still, it's easier to do that with configuration file).
SecondsPerBlock just requires a configuration on all CNs, other nodes don't care much.

It also affects these things:

getversion RPC response
It's supposed to be static (as protocol configuration) and clients can cache the value they get initially for their purposes.
tx resend thresholds
Initialized once per node lifetime currently, not something critical, but still affecting network's operation.
committee and validators derived from the configuration ("standby")
Notary contract's MaxNotValidBeforeDelta calculation
Doesn't seem to be critical, but at the moment of switch it can act wrong unless the switch time is known in advance.
consensus/voting
Kinda the most obvious thing, but given the way our voting works there is at least also a question of how to handle the number of voters going below 20%. Normally standby list is used in this case, but it's a standby list and extending it means changing network configuration.

The other thing to keep in mind is that we have a committee which technically can be of different size than CN list. Usually it's taken from the configuration file, but the number of keys there is not specified explicitly, so changing it requires additional configuration option as well.
Updating the number of validators via the configuration file solves almost all of these problems (except for getversion), while keeping it in the contract is not easy. Going through the contract we'll need to keep "excessive" standby validators nearby and we'll have to change some internal parameters on the go (without node restart). Legacy voting was somewhat more flexible wrt this issue.
Unless we completely drop the N3 voting ("private FS mode") we better extend the configuration file format and update configs on all nodes. This way it'll at least not require additional switches (of which we have many already) and the extension itself will be completely possible.


HIL no position lock

Describe the bug
When I try HIL I cannot use any flight mode that implies GPS, altough QGC shown a 3d lock.
Always getting a ERROR rejecting "flightmode" no position lock yet.Please retry.
To Reproduce
Steps to reproduce the behavior:

Start HIL
Try for example commander takeoff on the mavlink console.

Log Files and Screenshots

Drone (please complete the following information):

using Pixhawk cube 2.1, Taranis Frsky & X8R receiver

Additional context
Using QGC v3.4.4, ubuntu 16.06 docker container and latest stable v 1.8.0 of PX4

Can you try with master? There was a fix here: https://github.com/PX4/Firmware/pull/10586.

Did you flash the fmu-v2 target? If so, some modules are missing there due to limited flash space. You can update the bootloader (https://docs.px4.io/en/advanced_config/bootloader_update.html) and flash fmu-v3, then it should work.

Thanks.
I just tried and this problem is gone, but I did find another problem.
When I am using my Pixhawk cube 2.1 I can arm but it does not takeoff in Gazebo (neither with the RC nor with the QGC mav_cmd).
Today arrived the pixhawk 4 and I tried HIL and in this Hardware is working without any problems.
Do you have any idea? I reset every parameter, got a fresh pull from PX4 but not finding the problem.
Should I post this better in the other post and close this one?

i am also facing the problem cannot taking off with HITL in airsim. i tried a version in about mid sept, it worked normally . but with a version lastweek(nov 1st) it can just arm but never takeoff. there may be some problems during the period.

Hi KeyneZzz,
I was facing yesterday the same issue. I cannot fly in HIL, but it does arm. I hope someone in the community or dev. team has a clue and can help as. I will keep trying. If I find something I share the info


Add code action for unknown debug types

Issue Type: Feature Request
That could open the extension viewlet with a query for that type.
VS Code version: Code - Insiders 1.26.0-insider (0c2d71e2bb9a020995729ab7d5d5f8e4e897e657, 2018-08-03T05:12:27.609Z)
OS version: Darwin x64 17.7.0

Would you expect a quick fix in the launch.json or an action in the dialog once you get the "unkown debut type" error? Or maybe both?

I had a QuickFix in mind. Both might make sense.

That makes sense and I like the idea, let's assign it to august

Will not have time to tackle, moving to on-deck


Segmentation Fault for islandhelper / Ventura 13.1 arm64/MacBookPro

Hi,
This is an amazing plugin ! Thank you for building it and sharing it with the world. I love using it with SketchyBar. I updated to the latest code from master & I'm getting a segmentation fault trying to run the islandhelper.
lldb produces:
Process 14840 stopped

thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x000000010000384c islandhelpermain + 48 islandhelpermain:
->  0x10000384c <+48>: ldrb   w8, [x0]
0x100003850 <+52>: cmp    w8, #0x31
0x100003854 <+56>: b.ne   0x10000389c               ; <+128>
0x100003858 <+60>: adr    x0, #0x358                ; DBPATH_CMD
Target 0: (islandhelper) stopped.

Running the program outside of a debugger (and outside of sketchybar) seems to be working correctly (freshly installed config) on my end.
The debugger produces that error because the environment variable "P_DYNAMIC_ISLAND_NOTIFICATION_ENABLED" has not been set. When running the helper program via the sketchybarrc, this is not the case, as the config file exports this variable (config file is sourced).

Hi,
Good to know re the Env variable ! Makes sense.
I only brought the debugger up because I’m getting a crash attempting to
run it in a previously working .sketchybarrc and I saw the segfault as a
reason sketchybar didn’t start. I will check my config and see if that env
variable maybe isn’t getting set…
Thanks for the amazingly fast response !
On Mon, Jan 2, 2023 at 15:15 crissNb @.***> wrote:

Running the program outside of a debugger (and outside of sketchybar)
seems to be working correctly (freshly installed config) on my end.
The debugger produces that error because the environment variable
"P_DYNAMIC_ISLAND_NOTIFICATION_ENABLED" has not been set. When running the
helper program via the sketchybarrc, this is not the case, as the config
file exports this variable (config file is sourced).
—
Reply to this email directly, view it on GitHub
https://github.com/crissNb/Dynamic-Island-Sketchybar/issues/21#issuecomment-1369265763,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEOIBZYNI5V762YWCU3H23WQNOPLANCNFSM6AAAAAATPAA3VY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Got it - it was the variable. I had not updated the config based on the new sketchybarrc.
Still getting some sort of an error I can't track down -
"Parse error: bad token :1
But it's not preventing Dynamic Island from loading - it just seems that any error in Sketchybar will keep it from hiding itself from the native MacOS menubar when a user moves up to the top.

I'm a bit confused. Could you elaborate (perhaps share a short clip of what's happening)?
I've resolved the parse error with my latest commit, but from what I've seen it shouldn't have any impact on Dynamic Island's behaviour.

Hi -
Thanks for following up ! I am sorry that I confused two things. The parse error is coming from the plugin, thank you for fixing it!
Sketchybar was not hiding because I needed for some reason to adjust the setting for topmost in order to have the bar autohide. I didn't have that in the configuration before.
crissNb @.***> writes:

I'm a bit confused. Could you elaborate (perhaps share a short clip of what's
happening)?
I've resolved the parse error with my latest commit, but from what I've seen it
shouldn't have any impact on Dynamic Island's behaviour.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

I'm glad you fixed your issue. Closing this issue.


Allow automatic registration of socket families

Before this PR we needed to add a function call to generic socket() call handler if we wanted to add a socket family. This is not very extensible way, so instead create a way where the registration of socket family can be done automatically.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@e506d88). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master   #13312   +/-   ##
=========================================
  Coverage          ?   48.75%
=========================================
  Files             ?      319
  Lines             ?    46873
  Branches          ?    10836
=========================================
  Hits              ?    22854
  Misses            ?    19389
  Partials          ?     4630

Impacted Files
Coverage Δ

include/net/socket.h
100% <ø> (ø)

subsys/net/lib/sockets/sockets_internal.h
100% <ø> (ø)

subsys/net/lib/sockets/sockets.c
50.28% <0%> (ø)

Continue to review full report at Codecov.

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

Yeah, I also wanted to ping re: status of this. To remind, I proposed a compromise to avoid undoing too much work here: keep .is_supported(), but use it only for the TLS case (and keep around in case it's needed in the future, but avoid "abusing" it just because it's there.) @jukkar let me know if you agree.

@jukkar let me know if you agree.

Well, I do not agree. I think we should keep this generic.

I think we should keep this generic.

Sure, keep generic, but not abuse. So, what's exactly you don't agree with?

So, what's exactly you don't agree with?

That it is made TLS specific, isn't that what you asked.

That it is made TLS specific, isn't that what you asked.

I proposed to define (in the current codebase) .is_supported only for TLS sockets, and for packet/CAN socket have corresponding checks directly in xxx_socket(). That means that if someone implements SOCK_DGRAM support for packet/CAN (should be fairly easy), it will just work, and there won't be situation that someone implemented them, but it's blocked by some obscure function elsewhere and one needs to debug all that mess.

@jukkar: Any response/progress here?

Resolved the merge conflict.

Probably not worth trying to get this into 1.14 so changed the milestone to be 1.15

Probably not worth trying to get this into 1.14 so changed the milestone to be 1.15

Why not? There're just some questions/suggestions posed above, waiting for your reply.

waiting for your reply

I have replied already what there is to reply. Anyway, there is no real need for this to be in 1.14 so we can postpone this one.

Rebased against latest master.

Rebased against latest master.

I am proposing that this is merged like this. If some optimizations are needed, we can then tweak it later.


Environment variables like JASMINE_CLIENT_INTEGRATION=0 are not passed to spawn process

To reproduce:

Run velocity CLI with environment variables like this:

JASMINE_CLIENT_UNIT=0 JASMINE_CLIENT_INTEGRATION=0 velocity test-packages some-package
```

Jasmine client tests will still run.

Workaround: comment out all client tests.

Those flags doesn't work in the package testing mode. You can use xdescribe to disable some tests.

Why not?

What is your use case? Why do you want to disable the client tests for a package test run?

Lets say I have many tests, both Jasmine Server Integration and Jasmine Client Integration.
If I'm investigating a particular Jasmine server test I might put fdescribe on it to focus it and run only that one test. With Velocity CLI this will focus the test only among the server integration tests and still run all the client integration tests. (That may be considered a general meteor:jasmine problem). The goal was to focus the test for quick results cycles while working on it. As a workaround you would think JASMINE_CLIENT_INTEGRATION=0 would stop all client tests since it does in other ways of running Velocity tests.
It's also just nice to have be able to have fewer mirrors running sometimes since they are resource intensive.
If there was a way to truly focus a single test across mirrors (either in code or in the html-reporter) this wouldn't be as necessary, but it still seems inconsistent.

Ok. I see. I track this issue here: https://github.com/xolvio/meteor-jasmine/issues/299.
For package testing the client and server tests run in the same mirror sequentially.


Rethink Nav Labels

Overview
Navigation titles should be clear as to what the page does. The current disconnect between what the Nav titles are vs. what the page shows (ex. Nav Name: "Add your project" vs Page Title: "Tag Generator"). This also creates confusion when referring to pages in FAQs and other sections.

 Current Nav name vs Page Title

Action Items

[x] Spend 20 minutes on the following:

[x] Write a quick synopsis/objective/what you can achieve, for each page. This will help in developing a naming schema (Do for both “Join the Index” and “Overview”)
[x] Brainstorm ideas of new labels

Resources/Instructions
This came as a note from Bonnie after auditing the whole site.
Bonnie's Notes coming from Issue #1096

 Additional comments by Bonnie

Consider using words like Wizard
Decide between "Civic Tech Tag Generator" / "Tag Generator" / "Tag Generator Wizard" etc.

What is important is that there is clarity and consistency

You want the words to be consistent and lighthearted (reference branding exercise)

Once this is completed, a new Issue will be generated for another audit to make sure labeling within FAQs is correct and in-sync with Nav names
Tracked on Issue #1066

This needs to be turned into a development issue
@kevindphan @smsada

Need some clarity about Civic Tech Organizations vs Organizations in the NavBar as the pics above are different

Nav needs to be cleared

Following this, we need to match this in the lower nav for consistency

Also Tag Generator Wizard should be the Title of the page

Re-Opening to make changes addressed in previous comment

Keeping it Civic Tech Organization

Will provide Max username/pass to https://api.civictechindex.org/admin/

The site has been updated and re-rerouting alternatives have been added through react-router in App.js. However I still need to update the links in the FAQ page which does not utilize react-router. For this I will need access to the backend.


Fix broken link to CHANGELOG.md

Now links relative to the repository and correctly to the Change Log. The old revision 404s.
The old revision currently points to https://github.com/ForgeRock/forgerock-android-sdk/blob/master/blob/master/CHANGELOG.md. Note the extra blob/master/ that leads to a page that doesn't exist.

Beep beep. Are you still interested in this PR?

Closing this pull request. The broken link in question has been fixed already.


[BUG] Cellular demo doesn't build on windows

Describe the bug
Mqtt mutual auth demo with sara r4 doesn't build out of the box.
Target
Windows
Host
Windows 10
To Reproduce
Try to build demo on windows
Expected behavior
Build successfully
Screenshots
NA
Additional context
This doesn't build because the underlying FreeRTOS+TCP doesn't build, because glibconfig.h doesn't exists, and other issues.

Hi @friesendrywall, thanks for taking time to report this issue. We will look into this and get back to you.

The main build fails with this output -
Build started...
1>------ Build started: Project: mqtt_mutual_auth_demo_with_sara_r4, Configuration: Debug Win32 ------
1>LINK : fatal error LNK1104: cannot open file 'D:\repos\full_freertos\FreeRTOS\FreeRTOS-Plus\VisualStudio_StaticProjects\FreeRTOS+TCP\build\FreeRTOS+TCP\Win32\Debug\FreeRTOS+TCP.lib'
1>Done building project "mqtt_mutual_auth_demo_with_sara_r4.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 3 up-to-date, 0 skipped ==========
I'm attaching the build results for FreeRTOS+TCP, which I tried to build to fix this error.
FreeRTOS_TCP_log.txt

@friesendrywall
Can you help to check your build configuration mentioned in the page? If you are using Debug_with_Libslirp, please change it to Debug and re-build the project to feedback the result.
We observe the same log with Debug_with_Libslirp configuration and will look into it.
If you build the demo from mqtt_mutual_auth_demo_with_sara_r4.sln, the default configuration is Debug. The demo only uses xLogToStdout. You should be able to build this demo and run it without ethernet.

See attached.

@friesendrywall
Thank you for your information. I managed to reproduce the problem you mentioned with the following steps:

Remove the FreeRTOS+TCP.lib in FreeRTOS/FreeRTOS-Plus/VisualStudio_StaticProjects/FreeRTOS+TCP/build folder. This is probably built result by other demo project.
Use visual studio IDE instead of MSBuild.exe. MSBuild.exe can't reproduce this problem.

I create a PR #1101 to fix this issue. Please also give it a try.
Sorry for your time wasting on this problem and thank you for reporting this problem again. We will also consider to update the logging library to remove the dependency with FreeRTOS+TCP. With this feature, FreeRTOS+TCP is not required in cellular demo anymore.

It looks like PR #1101 does fix this, thanks you.


Reset some style changes that leaked out of the Gallery prototype.

What's this PR do?
Removes some style changes that were accidentally merged in #6424, notably removing some styles that changed the campaign gallery to use our handwritten font on user photo captions.
How should this be reviewed?
Does it look the way it used to look? 🎨 🔍
Any background context you want to provide?
💥
Relevant tickets
References a conversation in the #deploys room.
Checklist

[ ] Documentation added for new features/changed endpoints.

For review: @DoSomething/front-end @angaither

👍


Install and configure moonlight-embedded

Install moonlight-embedded using 👍 https://github.com/link-webcreations/moonlight-config
This works perfectly when installing manually.
So the aim is to

Install it using ansible
Add the ability to launch the stream without keyboard connected on the PI (Send a command from the PC thought SSH on the session connected thought HDMI and showed by the TV)

We should put that in roles/moonlight.


bluesky: IN PROGRESS: trying to reproduce upload blob with refresh failure

for snarfed/bridgy#1670

Closing in favor of https://github.com/snarfed/lexrpc/pull/10


[VFS-398] FtpFileObject.getChildren() fails when a folder contains a file with a colon in the name

Fixing exception 'org.apache.commons.vfs2.FileSystemException: Could not load VFS configuration' on StandardFileSystemManager.init

@amiraroshan,
Thank you for your PR. May you please rebase to resolve the conflicts?
Gary

@amiraroshan ping?

@amiraroshan ping?

@amiraroshan
I'm pretty sure this is fixed by now in git master at least, if not in a released version. May you please verify and close this PR?

No feedback, closing.


fix - requirements.txt

Specify numpy version to 1.16.4 since the default version installed as the dependency of matplotlib  ver 2.0.0 (installs numpy ver 1.18.4) no longer works with pandas ver 0.19.2

We have fixed this issue. Closing this PR.


Help

idk what i am doing can you help me do it by using anydesk app ?

Hi, I don't think it would be safe to use remote access for privacy and security reasons. If you have problems running the program, describe the problem and, if possible, paste the contents of traceback.log. If you have trouble following the instructions on README.md, I will try to explain them here in great detail.

Install an android emulator, preferably Bluestacks 5 .
Change the resolution to 1280x720 and enable ADB https://support.bluestacks.com/hc/en-us/articles/360053245871-How-to-use-the-BlueStacks-5-Settings-menu
Install Blue Archive from the play store
Install Python https://www.python.org/downloads/ and remember to check the box "Add python to environment variables"
Download adb and add to path https://www.youtube.com/watch?v=OSp5_wBAVyQ
Finally, open the command prompt and type "cd path/to/BAAuto"  and press Enter
then type "pip install -r requirements.txt". This will install the python libraries.
Run BAAuto and in connection address type the emulator IP:PORT e.g <IP_ADDRESS>:5557
Configure the rest however you like and click the start button while the emulator is running

I hope these instructions are comprehensive, but if you are still having problems I will try to help you. Please note that the GUI has some bugs and I'm trying to fix them.

i have a learning disapility so can you just add me on discord and use Anydesk

I'm sorry, I don't want to take risks. You can ask friends and family for help. You honestly won't miss much as the script only saves you 5 minutes a day at most and it doesn't automate all the tasks like Lessons.


The Software Citadel codebase example

Hello,
A question rather than an issue :)
I found Caesar and it sounds great: https://www.caesar.rocks/#why-would-i-even-need-a-web-framework
On that page it mentions:

You can also take a check out Software Citadel's GitHub repo, which is an open-source cloud platform in development, making use of Caesar.

That repo seems to be an Adonis app though ... ? Have you/they now switched to Node/TS? Only I was wondering if Caesar was going to be actively maintained e.g. https://www.caesar.rocks/advanced/events
Thanks!

Interested in this as well.  As of now, the link is returning a 404.


Bug: Drag gap between tab bar and windows controls doesn't always happen

Description
Currently sometimes show like this

Steps To Reproduce

Tested on resolution 1920x1080 and scaling 100%
Maximize window
Open new tabs until tab bar is full

Requirements

Make sure a drag gap is always present between the tabs and window controls

Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.3155
Log File
debug.log

I can repro.

You can drag there and so you cannot add a new tab by the button, right?

A fix will be included in the next release. Thank you @XTorLukas for your research on this issue and for contributing the fix.


configuration files returns different results as using the same options in the command line

Using configuration files to run clingo gives different results(solving time, choices, conflicts, etc) to just running the same options on the command line. I tried this initially with clingo-dl but it is also different when running the clingo examples from the repository.
If I have a configuration file named config.c with the contents:
[tweety]:  --heuristic=Domain
Running this command on a 15puzzle instance :
clingo examples/clingo/15puzzle/encoding.lp examples/clingo/15puzzle/instance1.lp --stats --quiet=2 --configuration=config.c
gives different results to this command:
clingo examples/clingo/15puzzle/encoding.lp examples/clingo/15puzzle/instance1.lp --stats --quiet=2 --configuration=tweety --heuristic=Domain
Is this some side effect of using the configuration files or is it a bug?

To be honest, I do not understand how to use the --configuration=<file> option just by reading the --help=3 output and the explanations given with --print-portfolio. Maybe @BenKaufmann can shed some light on this?


⚠ Turnos 24x7 has degraded performance

In 6a39f92, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1019 ms

Resolved: Turnos 24x7 performance has improved in 557bc6a.


sketch on init.app

hi ian,
i want to bundle k scripts with k.app in the BMFS.
this will stop monitor from auto loading k because there will be more than one file in bmfs.
i propose auto loading a program if it is called 'init.app'
this PR is a sketch (not tested) of how it would look - i think it's simpler code, too. feel free to reject the PR if it's not right and implement it properly
also, here is a patch to baremetal.sh i'd need in order to bundle k (as init.app) with k scripts and data:
diff --git a/baremetal.sh b/baremetal.sh
index ec99812..69b7c49 100755
--- a/baremetal.sh
+++ b/baremetal.sh
@@ -410,12 +410,14 @@ function baremetal_bnr-uefi {
        baremetal_run-uefi
 }

-function baremetal_app {
+function baremetal_init_app {
        baremetal_sys_check
        cd sys
        if [ -f $1 ]; then
                ./bmfs bmfs.img format /force
-               ./bmfs bmfs.img write $1
+               for x in $*; do
+                       ./bmfs bmfs.img write $x
+               done
                cat fat32.img bmfs.img > baremetal_os.img
                cd ..
        else
@@ -486,8 +488,8 @@ elif [ $# -eq 1 ]; then
                baremetal_bnr
        elif [ "$1" == "bnr-uefi" ]; then
                baremetal_bnr-uefi
-       elif [[ "$*" == *".app"* ]]; then
-               baremetal_app $1
+       elif [[ "$1" == "init.app" ]]; then
+               baremetal_init_app $*
        else
                echo "Invalid argument '$1'"
        fi

it's hard to hack on baremetal with the mutiple repos and the ./baremetal.sh setup script. this is the main reason i'm posting a patch to baremetal.sh and not a PR. had you ever thought of condensing everything into the one repo?
best,
jack

i've added a repo that will test this new functionality at
https://github.com/effbiae/init-bm
forget that patch for baremetal.sh. try this one:
diff --git a/baremetal.sh b/baremetal.sh
index ec99812..abc231f 100755
--- a/baremetal.sh
+++ b/baremetal.sh
@@ -410,13 +410,16 @@ function baremetal_bnr-uefi {
 	baremetal_run-uefi
 }

-function baremetal_app {
+function baremetal_init_app {
 	baremetal_sys_check
 	cd sys
 	if [ -f $1 ]; then
 		./bmfs bmfs.img format /force
-		./bmfs bmfs.img write $1
+		for x in $*; do
+			./bmfs bmfs.img write $x
+		done
 		cat fat32.img bmfs.img > baremetal_os.img
+		ls -l baremetal_os.img
 		cd ..
 	else
 		echo "$1 does not exist."
@@ -486,9 +489,6 @@ elif [ $# -eq 1 ]; then
 		baremetal_bnr
 	elif [ "$1" == "bnr-uefi" ]; then
 		baremetal_bnr-uefi
-	elif [[ "$*" == *".app"* ]]; then
-		baremetal_app $1
-	else
 		echo "Invalid argument '$1'"
 	fi
 elif [ $# -eq 2 ]; then
@@ -497,4 +497,8 @@ elif [ $# -eq 2 ]; then
 	elif [ "$1" == "install" ]; then
 		baremetal_install $2
 	fi
+else
+	if [ "$1" == "init.app" ]; then
+		baremetal_init_app $@
+	fi
 fi

I'll take a look into this. I wonder if the auto started app name should be entered somewhere when monitor is built.
Everything used to be in a single repo back when the project started. Things were parted out as some people just wanted to make use of Pure64. The CLI was removed from the kernel and became Monitor since I have no need for a user interface with BareMetal-Node.

yes, you could pass the auto start app name in a macro at build time. in c, this would look like
cc -DINIT=init.app c.c
Then in c.c
#ifndef INIT
#define INIT init.app
#endif
char* init=#INIT

But linux/unix hard code "init" as the name of the first process that is run, so no need to make it configurable

I've updated Monitor to search the disk for a file called "init.app". If one is found it will be auto-started.

NASM does have some command line options that I use for building Pure64 (two different binaries from the same source). I'll look into that as well.


Created Starbucks-Landing-page

Pull Request for WebMasterLog 💡
Issue Title: Starbucks Landing Page

Name of the project : Starbucks Landing Page
Category:  Frontened Project(HTML , CSS)
Name: Sneha Mishra
GitHub ID: https://github.com/Sneha123-zudo
Idenitfy yourself: Contributor under JWOC

Closes: #97

Describe the add-ons or changes you've made 📃
Added a new project.
Checklist: ☑

[x] My code follows the Contributing Guidelines & Code of Conduct of this project.
[x] This PR does not contain plagiarized content.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

Screenshots 📷

Note to reviewers 📄

Please review my pull reuest

Sir , in readme file is it necessary to give working video ?

Sir , in readme file is it necessary to give working video ?

Not necessary.

Done the changes, please check it.


VTS L1 Enhancement - Code Cleanup - Device Setting - FP

This issue needs to be addressed

Clean up unnecessary code in L1:

Zero warnings during compilation will cause removal of unused functions, variables, and macros.
FATAL use in all tests must be removed except for init and term/close APIs.
Rename and check the usage of these functions everywhere
DS_ASSERT_AUTO_TERM_NUMERICAL -> UT_ASSERT_EQUALS
DS_ASSERT_AUTO_TERM_STRING->UT_ASSERT_STRING
Review the usage of casting:
Eg:  from eIndicator = UT_KVP_PROFILE_GET_UINT32(buffer);
to eIndicator =(dsFPDIndicator_t) UT_KVP_PROFILE_GET_UINT32(buffer);

Re-check if any new API interface has been added recently and requires an L1 test case. Raise a separate issue if there are any missing API  L1 Test implementations.

Acceptance Criteria:
Zero Warnings
Let us know if any new test APIs need to be introduced based on the latest interface file.
Remove the use of FATAL macros all functions must fall through if any.
Remove use of UT_ASSERT_AUTO_XXX - remove and replace with UT_ASSERT Macros

Change is now available at #130

all changes are now available in tag 3.1.0


Using vkCmdClearAttachments with no stencil attachment sometimes causes Metal validation error

I'm seeing that calling vkCmdClearAttachments under MoltenVK sometimes causes this sort of validation error:
validateDepthStencilState:3671: failed assertion `MTLDepthStencilDescriptor uses frontFaceStencil but MTLRenderPassDescriptor has a nil stencilAttachment texture'

From the stack trace, it looks like this validation error is being hit in a synthetic draw command being issued inside of MVKCmdClearAttachments::encode. The error does not get triggered until the command buffer is actually submitted/executed.
Note that my application doesn't have or attempt to use a stencil texture or attachment.

It turns out this was caused by me passing in both VK_IMAGE_ASPECT_DEPTH_BIT and VK_IMAGE_ASPECT_STENCIL_BIT to vkCmdClearAttachments when I only had a depth attachment. There's no validation error for this (and it works on all other drivers I have tried), but the spec does seem to say that you shouldn't do this. I'll leave this open just to ensure that I'm reading the spec right and this isn't permitted.

Fixed in PR #118. Please retest.


[CARBONDATA-1155] Load query were failing if sort_columns have provided nodictionary dimension

Can one of the admins verify this patch?

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2392/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/271/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2395/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/274/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/282/Failed Tests: 1carbondata-pr-spark-1.6/org.apache.carbondata:carbondata-spark-common-test: 1org.apache.carbondata.spark.testsuite.sortcolumns.TestSortColumns.create table with no dictionary sort_columns where NumberOfNoDictSortColumns < NoDictionaryCount

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2402/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/291/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2412/

please rebase to resolve confilct

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2433/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/314/

LGTM

@jackylk please review also

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2480/

@jackylk code has refactored. Please review it.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/365/

LGTM


NOTE: Required S3 permissions

In case there is someone else out there scratching their head about what exact IAM policy permissions are required on an AWS S3 bucket for this to work, they are below. This is using the boto3 storage backend. Replace bucket-name with your, erm, bucket name.
The PutObjectAcl had me scratching my head for a while...
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Files",
            "Effect": "Allow",
            "Action": [
                "s3:DeleteObject",
                "s3:GetObject",
                "s3:PutObject",
                "s3:PutObjectAcl"
            ],
            "Resource": [
                "arn:aws:s3:::bucket-name/*"
            ]
        },
        {
            "Sid": "Bucket",
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket"
            ],
            "Resource": [
                "arn:aws:s3:::bucket-name"
            ]
        }
    ]
}

Thank you very much for this issue,
But I think this kind of help should be addressed to Django-Storages or other storage project.
As we don't maintain storage we can't advise how to configure it.
But we should warn that the used storage must gives writes permissions (or not in case of read-only client)