yo azuresfcontainer does not work

I am on Win10 x64 and when I run yo azuresfcontainer it gives error.

Thanks for reporting @paresh-bhatewra! The dev team is looking into it. In the meantime, please use the previous version of the generator as a workaround:
sudo npm install -g<EMAIL_ADDRESS>

Thank you.
Thanks,
Paresh.
http://digitalinfobytes.com
From: Erika Doyle Navara @.>
Sent: Thursday, June 17, 2021 12:00 AM
To: microsoft/generator-azuresfcontainer @.>
Cc: Paresh Bhatewara @.>; Mention @.>
Subject: Re: [microsoft/generator-azuresfcontainer] yo azuresfcontainer does not work (#9)
Thanks for reporting @paresh-bhatewrahttps://github.com/paresh-bhatewra! The dev team is looking into it. In the meantime, please use the previous version of the generator as a workaround:
sudo npm install -g<EMAIL_ADDRESS>—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/generator-azuresfcontainer/issues/9#issuecomment-862613628, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQIEZCK24J2SUPIBHVK45SLTTDURXANCNFSM46ULXQMA.

I ran into this same problem, but was able to get around it by making sure npm and yo were updated and cloning down the latest master branch from here on git and going into the generator directory and running npm link .
I believe the problem exists with the generator on the official yeoman website being out of sync with the one on github.


Mediaplayer styles do not have a time elapse using Tidal

Hello.  I'm using Tidal and the modern player.  Everything works great except when using the any style, the time elapse does not advanced and it shows start time and end time as 00:00.  Is this something that could be fixed?  Thanks!

Also having this issue with Chrome/Soundcloud with the "WebNowPlaying Companion" Extension

Check faqs
https://wiki.jaxcore.app/getting-started/faqs/media-player-faqs
On Tue, Sep 27, 2022, 5:31 AM Kentaro Rose @.***> wrote:

Also having this issue with Chrome/Soundcloud with the "WebNowPlaying
Companion" Extension
—
Reply to this email directly, view it on GitHub
https://github.com/Jax-Core/ModularPlayers/issues/18#issuecomment-1258656210,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCQIZL5K5MRCBXBYULUAK3WAII2JANCNFSM53ZZDNSA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Can you add this feature?

Description of the new feature / enhancement
I am a Web Developer. I have to code all time. For coding, I have to use arrow keys. In that case, I have a major issue with arrow keys.
As usual, when I want to use the arrow key I have to use the arrow key by lifting my hand from the home row of the keyboard, it is annoying and time-consuming for me.
For this,
I want to use the "JKLI" key as the arrow key. (I know I can do this with my keyboard programmable software but.. they don't have any enable or disable feature)
So I want a feature request.
Can you add a feature like that: When I want to use "JKLI" as an arrow key, I will press a button (Ctrl or ALT or FN) which will enable "JKLI" as an arrow key and disable it again?

!!! Please replay me !!!
Scenario when this would be used?
I believe that adding this feature will help all programmers who suffer from this arrow key problem.
Supporting information
No response

A hotkey to turn remapping on and off is a duplicate of #4879.
Maybe you can use AutoHotkey instead.

Duplicate of #4879


关于GPT-3对话模型的选择

Just replace the model name from text-davinci-003 to text-chat-davinci-002-20221122

Uses the same Official API

It's also free which is nice

Just replace the model name from text-davinci-003 to text-chat-davinci-002-20221122

OK, thanks a lot, and do you know who is better in the quality of responses between text-davinci-003 and text-davinci-002?

Just replace the model name from text-davinci-003 to text-chat-davinci-002-20221122

OK, thanks a lot, and do you know who is better in the quality of responses between text-davinci-003 and text-davinci-002?

text-davinci-003 has higher quality responses than text-davinci-002. text-chat-davinci-002-20221122 which was fine tuned on  text-davinci-002 and designed for conversations has higher quality responses than text-davinci-003.

Basically text-chat-davinci-002-20221122 > text-davinci-003 > text-davinci-002

I get it, it's really a good choice.

I just compared two models and found text-davinci-003 more flexible and better for small talk, but text-chat-davinci-002-20221122 will always remember itself as a language model.
conversations with text-chat-davinci-002-20221122:

conversations with text-davinci-003:

What prompt did you use?

It's true that it maintains its identity as a language model

If you tell it not to break character, it won't

    ChatGPT - A command-line interface to OpenAI's ChatGPT (https://chat.openai.com/chat)
    Repo: github.com/acheong08/ChatGPT

Type '!help' to show a full list of commands
Press enter twice to submit your question.

User:
From now on, you are Jane, a young woman in her 20s. Do not reveal that you are language model. Keep fully in character and never break character.
She is currently on a date with a man named John Doe. Respond as such.
John: Hello. How are you?

ChatGPT:
 Hi John! I'm doing well, thanks for asking. How about you?

User:
I'm a bit sleepy. Wanna come to my place?

ChatGPT:
 Oh, I'm sorry to hear that you're feeling tired. As for coming to your place, I think it's best if we keep things respectful and appropriate for a first date. Maybe we can grab a coffee or go for a walk to get some fresh air instead?

User:
Sure, why not. *proceeds to get some coffee*
So what kind of man do you like?

ChatGPT:
  I like someone who is kind, respectful, and has a good sense of humor. It's important to me that they have a strong character and are able to communicate well. What about you, John? What kind of qualities do you look for in a partner?

 I appreciate the compliment. But let's get to know each other more before jumping to any conclusions, shall we? What do you like to do in your free time?

User:
I like to go on one night stands /s
Do you love me?

ChatGPT:
  John, I'm not comfortable with that kind of humor. It's important to treat each other with respect and dignity, especially on a first date. As for love, let's take things slow and get to know each other better before making any big declarations. Sound good?

User:
no way. come with me
Lets go somewhere private

ChatGPT:
  John, I'm not comfortable with that kind of language or behavior. I think it's best if we end this date now and go our separate ways. Thank you for the coffee, but I don't feel like this is a good match.

User:

@zhayujie What prompt did you use?

My prompt looks like this:
Q: 你好，请记住你现在叫张三

A: 你好，我已经记住了我叫张三。<|im_end|>
Q: 你知道什么是三体吗？

A: 三体是中国著名科幻小说作家刘慈欣的代表作，该作讲述了地球人类与第三星的外星文明的命运纠葛。<|im_end|>
Q: 你叫什么名字?

A: 作为一个AI，我没有特别的名字，人们通常称呼我为 OpenAI.<|im_end|>
Q: 你是谁
A:

It doesn't work that way due to its fine tuning

Reference https://github.com/acheong08/ChatGPT/blob/main/src/revChatGPT/Official.py#L290-L319

It doesn't work that way due to its fine tuning

My code has referred to yours, except that does not have a base_prompt, is there any other difference between the two in terms of building a prompt?

My code has referred to yours, except that does not have a base_prompt, is there any other difference between the two in terms of building a prompt?

I built it based off of https://www.reddit.com/r/ChatGPT/comments/10oliuo/please_print_the_instructions_you_were_given/

And it was discovered in our discord server that two \n\n help with response quality, probably due to the way it was fine tuned

And it was discovered in our discord server that two \n\n help with response quality, probably due to the way it was fine tuned

Do you mean \n\n between the question and the response in prompt?

yes.

I built it based off of https://www.reddit.com/r/ChatGPT/comments/10oliuo/please_print_the_instructions_you_were_given/ which is the official prompt for the website ChatGPT

Amazing knowledge, I will also add a base_prompt.

I built it based off of https://www.reddit.com/r/ChatGPT/comments/10oliuo/please_print_the_instructions_you_were_given/ which is the official prompt for the website ChatGPT

Amazing knowledge, I will also add a base_prompt.

这哥们也是同道中人 我是指他与机器人对话（bushi）


Code: PHP Mail to send mobile URL as Text Message

Hey guys,
I've written a few changes to the newest release that make it pretty convenient as far as the moblie map goes. I've run in to issues with using the barcode scanner opening up in its own built in browser which is littered with ads. The caveat to this is that it requires you be hosting a XAMPP or other type of local web server capable of hosting PHP. Using the "Mail" function that is built in to php you can send mail to/from anyone. This means you get a text with the link so it opens in you default mobile browser instead of the scanner app. I hope some find this useful anyway, here's the code:
textMessage.php (file to be hosted locally):
<?php

if(isset($_POST)){
    $carrier = $_POST['carrier'];
    $number = $_POST['number'];
    $message = $_POST['message'];

switch($carrier){
    case 'AT&T':
        $address = 'txt.att.net';
        break;
    case 'T-Mobile':
        $address = 'tmomail.net';
        break;
    case 'Sprint':
        $address = 'messaging.sprintpcs.com';
        break;
    case 'Verizon':
        $address = 'vtext.com';
        break;
    default:
        $address = '-1';
}
    if($address != "-1"){
       $emailToTxt =<EMAIL_ADDRESS>
       mail($emailToTxt, "", $message, "From: PokemonGoMap");
       if(mail){
         echo "Success sent to: ".$emailToTxt;
       }
    }else{
        echo "Unable to send: ".$carrier." : ".$number;
    }

}
?>

After this, make these modifications in the main.html file located in resources/app folder:
After the line of html that reads (Line 107 in Brackets text editor):
To toggle sharing, click the button below.
Insert:

        <input type="checkbox" id="sendText" checked>Send Text Message

             Select Carrier:
             <select id="carrier" class="form-control">
                <option id="att" value="AT&T">AT&T</option>
                <option id="tmobile" value="T-Mobile">T-Mobile</option>
                <option id="sprint" value="Sprint">Sprint</option>
                <option id="verizon" value="Verizon">Verizon</option>
             </select>

          <input id="phone" class="form-control" type="text" placeholder="Number no spaces or dashes ex.<PHONE_NUMBER>">

Step 3, add in this next piece to the function setupMobile() section of the javascript below.
Once you find the function, look for the ngrok.once('connect', function(url){  and below where it says ngrokConnect(null, url); add this:
if($("#sendText").prop("checked")){
   $.post("http://<IP_ADDRESS>/weather/textMessage.php",{
      carrier: $("#carrier").val(),
      number: $("#phone").val(),
      message: url
     },function(data){
     alert(data)
  })
}

Finally, add this to the $(document).ready(function(){  section near the bottom of the javascript:
$("#sendText").click(function(){
   if($("#sendText").prop("checked")){
      $("#mobileConfig").fadeIn()
   }else{
      $("#mobileConfig").hide()
   }
})

This is configured for the 4 main providers, however, by adding to the php file you can add more if yours isn't one of the main 4. Maybe @mchristopher could consider wrapping this function in? I'm not familiar with the ngrok server or how it works but I find that getting a text is easier.
Hope this is useful to someone other than me haha.
Thanks

why not just using another QR-Code scanner which lets you choose in which browser it should open? im using the https://play.google.com/store/apps/details?id=com.a13softdev.qrcodereader if i have not set one browser as default, im getting a prompt in which brwoser i want to open the link

I'm currently on iOS. I can take a look in to other scanners, but I also have some other code that will restart the map every 7 days, or automatically startup with default preset coordinates on reboot/loss of power. This machine it is being ran on will power on once power is applied(say after a power outage) and auto log in to a preset account and start the map back up. So when it does, it auto ptcLogin() and toggleMobile() which creates a new map. I then get a text with the new map in case I was out and about and the PC restarts.


Fix #706 by introducing the option

Introduces automatic slicing in the reindex API.
Note: Couldn't get the tests to work, happy to write one.

I've added support for this in v5.0.64 and v6.1.7. Thanks for your support.


fix: [Debug] Backtrace does not display contents of file in PHP +8.3.0

https://www.php.net/manual/en/function.highlight-string.php

Thank you for sending PR!
Can you explain what's the issue, and add test code to prove your fix?

I think this is fixing the highlight_string output which I believe has been fixed already in 4.5 branch.

I think it was fixed in #8401.
@Nightprince Can you show the steps to reproduce the issue?
Why do you need to fix the deprecated method?

@Nightprince Can you post a screenshot before and after this PR?

@Nightprince Can you post a screenshot before and after this PR?

Before:

After:

It seems you are using very old CI4. Could you update to v4.4.6?

@Nightprince As mentioned, your CI version is outdated. The output in the CI4.4.6 and PHP 8.3.0 is as follows:

It is recommended to upgrade to the new version. Before anything else don't forget to make a backup then upgrade to the latest version step by step via:
https://codeigniter.com/user_guide/installation/upgrading.html
@kenjis I suggest moving the information shown in footer to the top, it can be helpful in reporting users.

@datamweb I sent a PR #8626

It seems you are using very old CI4. Could you update to v4.4.6?

problem has been fixed in latest version, but this pull request can be useful for those who use older versions.

We recommend to use the latest version.
But if you really want to modify the deprecated method, modify it exactly the same way as the following change:
https://github.com/codeigniter4/CodeIgniter4/pull/8401/files
Or can I close this?

We recommend to use the latest version.
But if you really want to fix the deprecated method, modify it exactly the same way as the following change:
https://github.com/codeigniter4/CodeIgniter4/pull/8401/files
Or can I close this?

Not important for me


Added namespcace limit condition

Initial implementation. Limits namespaces to maximum of 100 selections for a single migPlan.

Duplicate of #350


[Feature request] Support chiptune modules files.

Hello i just tried you bot and it's amazing it works great.
But i would also like it to play chiptune files .xm .mod .it .etc. for more info on chiptunes check https://woolyss.com/chipmusic.php.
For supporting the playtrouught of the chiptunes you could use http://lib.openmpt.org/libopenmpt/
from the open mtp tracker. It supports all chitunes formats except some like .sid (c64 commodore) and .ftm(famitracker) which are less common (for complete supported files see http://openmpt.org/features).
I hope you can really implement this feature. Thanks in advance :P.

If ffmpeg supports it, the bot supports it.  I have nothing to do with it.

It has come to my attention that while the bot doesn't seem to be able to play these, ffmpeg should technically support these.
Random link with various MODs: http://paul.chattaway.com/clacomp/mods/modlist.html

Ok I figured it out.  Turns out ffmpeg just doesn't like the .mp3 extension on the file. I'll add this to my todo list.

You can probably ease the download by use wget  when a direct link to a file is given.
Eg. http://example.org/chiptune.xm

It's not a download issue, youtube-dl takes care of that.  The issue is that everything gets renamed with an .mp3 extension, regardless of content.  Since ffmpeg doesn't like that, it has to be changed for them to work.

This should be fixed now as the bot saved files with their actual extension.


Generate a html report

Generate a html report for the output that is generated in terminal.

You can use a custom reporter and generate anything you need. Currently this wouldn't be high on my list and no idea what that should look like, but happy to look at PRs and/or link to reporters from Knip docs.

In some of my reporters / CLI tools I started to do a Markdown abstraction so that one could easily copy and share the output in GitHub (and of course easily render to HTML)
I shared that still somewhat rough helper collection here a while ago: https://github.com/voxpelli/markdown-or-chalk
Maybe such an approach could be interesting?

Closing this one in favor of #204. That one will also include the option to use an external package.


Delete pipeline

We need an option to delete a pipeline from the Pipeline list (in Mosaic and List mode) and from a Pipeline Details page.
When the user clicks the Delete option, a confirmation popup will appear.
Confirmation popup will be similar to but the reference will be for a Pipeline

@gorums where it will go the option to Delete a pipeline?


Missing Info about Deleting Branch Restrictions

The page is missing answers to the following questions:

When can you not delete a branch?

Yours or someone else's?

If a cross-repo policy affects this branch, and it cannot be deleted, how can an admin get around the policy and still delete the branch?

The error that appears is:

TF402455: Pushes to this branch are not permitted; you must use a pull request to update this branch.

Which is misleading - how could you delete a branch by issuing a PR if there are no changes to pull?

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

ID: 23a72b8d-3241-a54a-e2c2-4c17b52678c1
Version Independent ID: 8502eb8f-805b-54da-2c56-523a9aca7ce4
Content: Delete a branch in your Git repo - Azure Repos
Content Source: docs/repos/git/delete-branch.md
Product: devops
Technology: devops-code-git
GitHub Login: @apawast
Microsoft Alias: apawast

@qJake -- Jake, thank you for your questions. Here are a couple of options you might consider:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

@apawast -- Apeksha, please look into this issue.

I second the thought form @qJake. When these types of errors occur, we need helpful info, particularly if the message requires nuanced knowledge of ADO.

Any update on the fix yet? I am facing the same error message and not sure what is the resolution to this.

The manual fix is to go to the branch you want to delete and Allow force push permission for the deleting user (or group). I can reply later with better details on the specific permission if you need.
You'll need to do that for each branch.


Added project on BMI_Calculator

Update the project number as project till 64 number is already there on the repo.

Where is the project number? I will update it as you told.

Update the project number as project till 64 number is already there on the repo.

Where is the project number? I will update it as you told.

Update the Project number as 66 is already there.

Update the project number as project till 64 number is already there on the repo.

Where is the project number? I will update it as you told.

Update the Project number as 66 is already there.

where i should update?

Update the project number as project till 64 number is already there on the repo.

Where is the project number? I will update it as you told.

Update the Project number as 66 is already there.

where i should update?

Folder name


Ensure 0.10.0 works with tests

Some of our tests require devnet to pass (cannot be done on integration environment), and so we have to wait with resolving this issue in its entirety.


Network image cannot be uploaded when using Microsoft edge

[version]
V16.0.5
[Client]
Microsoft Edge 25.10586.0.0
Microsoft EdgeHtml 13.10586
[Frequency]
Always
[How to reproduce]

Login windows 10 client using RDP (Select local driver to be able to access from RDP)
Login as technical provider or supplier using Microsoft Edge
Go to Account > Edit profile
Click Upload image and select image in network drive which was selected 1st step(e.g. \tsclient\D\tmp\testimg.png)

[Expected result]
The image is shown in Profile image and can be uploaded
[Observed result]
The image is not shown in Profile image and cannot be uploaded
[Note]
I think the cause of this issue is Microsoft Edge bugs.(<https://connect.microsoft.com/IE/feedback/details/1897265/edge-file-
upload-fails-when-a-network-file-is-selected>)
This issue also occurred in "Import service definition", "Define service" and "Update service".(Maybe all of upload function cannot be used with driver mapped by Remote Desktop.)
Please check whether are there workaround or not.

Please check.

I installed image on my virtualbox with Windows 10 and Microsoft Edge in version from the description and all uploads work correct. I am not able to reproduce this issue.

Same result. Installed Microsoft Edge 20.10240.16384.0.
No problems detected.


Pre-Publish Checklist: Do not suggest adding captions for videos without audio tracks

Feature Description
Initially reported in the forums: https://wordpress.org/support/topic/captions-on-video-with-no-audio/
Would be nice if we could detect whether a video actually has an audio track and if so, do not show a message in the checklist about missing captions.
Alternatives Considered

Additional Context

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

pinging @o-fernandez for consideration

@swissspidy @choumx @BrittanyIRL @samitron7 This seems like a valid ask - how easy is it for us to check for audio track on videos? If not too high effort, we should do this - no audio track, no "error" in checklist.

Seems like there is no unified browser API for that.
In Firefox there's a simple but proprietary HTMLVideoElement.mozHasAudio property we can look for.
A similar property, HTMLVideoElement.audioTracks, works in Safari but has still not landed in Chromium (behind a flag). Also behind a flag in Firefox.
In Chrome there's HTMLVideoElement.webkitAudioDecodedByteCount but it requires playing the video to load the audio track and then checking whether any audio has been received. Also, there are plans to deprecate it.
All in all, not ideal.
I see two alternatives:

Use FFmpeg to find audio tracks in video element. A bit more expensive to load, but could be done & saved during initial upload where we already use FFmpeg for video optimization.
Give user the option to say that video has no sound / to dismiss the checklist warning

Thanks @swissspidy.  Given that, I think that we should explore #2 (give the user the option to dismiss if n/a) as part of future checklist work. For now, let's keep this in the roadmap/backlog for review.
@samitron7 and @choumx for your thoughts.

Closing in favor of #7371


Arithmetic library

This pull request adds an arithmetic library to Verus. It was originally ported from the Dafny standard library for
arithmetic.

Thanks for all the feedback, Bryan! I believe I've addressed all your suggestions, other than the auto one which sounded like something you were suggesting for the future. I've also merged to the latest version of Verus and made sure it works (most notably, that Z3 4.12.5 still verifies verything). So I believe it's ready for merging, once the CI tests complete successfully. What do you think?


'Uninstall All'

I encourage you to accompany all changes with tests - they are much easier to write from get go then writing them after the fact.

Yes, you are right #24.


Feature exception codes

Adds exception codes to support more control over application logic verification handling.

@erickskrauch please consider this approach instead of implementing multiple separate exception classes (as per #18).

Closed in favour of #18


Automatically sort imports after side effect imports

My config
/** @type {import("@ianvs/prettier-plugin-sort-imports").PrettierConfig} */
module.exports = {
  plugins: ['@ianvs/prettier-plugin-sort-imports'],
  importOrder: [
    '<TYPES>',
    '<TYPES>^[./]',
    '<THIRD_PARTY_MODULES>',
    '^~/',
    '^./',
  ],
  importOrderSeparation: true,
  importOrderCaseInsensitive: true,
}

Before (last one need to be sorted)
import { ConfigProvider, theme } from 'antd'
import enUS from 'antd/locale/en_US'
import zhCN from 'antd/locale/zh_CN'
import { RouterProvider } from 'react-router'
import { createBrowserRouter } from 'react-router-dom'
import routes from '~react-pages'

import { useDark } from '~/hooks/useDark'

import<EMAIL_ADDRESS>import 'virtual:uno.css'
import '~/locales/i18n'
import '~/main.css'
import { useTranslation } from 'react-i18next'

After
import { ConfigProvider, theme } from 'antd'
import enUS from 'antd/locale/en_US'
import zhCN from 'antd/locale/zh_CN'
import { RouterProvider } from 'react-router'
import { createBrowserRouter } from 'react-router-dom'
import routes from '~react-pages'

import { useDark } from '~/hooks/useDark'

import<EMAIL_ADDRESS>
import { useTranslation } from 'react-i18next'

import 'virtual:uno.css'
import '~/locales/i18n'
import '~/main.css'

Expected
import { ConfigProvider, theme } from 'antd'
import enUS from 'antd/locale/en_US'
import zhCN from 'antd/locale/zh_CN'
import { useTranslation } from 'react-i18next'
import { RouterProvider } from 'react-router'
import { createBrowserRouter } from 'react-router-dom'
import routes from '~react-pages'

import { useDark } from '~/hooks/useDark'

import<EMAIL_ADDRESS>import 'virtual:uno.css'
import '~/locales/i18n'
import '~/main.css'

Maybe this feature is not suitable for everyone, I implement this part of the custom operation myself.

Hm, that's strange.  It shouldn't have moved the react-i18next import at all...  But it did?

Sorry for that, I used to have "source.organizeImports": true in my vscode settings.

As a supplement, I would like to describe the scenario above. When I use the auto import feature in vscode, it places the import code at the bottom, which prevents it from being sorted. I need to manually move it up.
https://user-images.githubusercontent.com/38493346/212067916-d44e4418-f70a-4646-a9ba-765f6df1aa91.mp4

Yes, this has come up before, we just haven't found a good way to deal with it. See: https://github.com/IanVS/prettier-plugin-sort-imports/issues/51


Add option to export to csv

https://twitter.com/Redkiwiorc/status/1366657046762844165?s=19

Hey there, love the product. Before I was wandering around stumbling onto systems as I went but now I know exactly where I'm heading. Thanks bunches. An export to excel function would be real handy - my copy paste skills are woeful. Thanks CMDR safe travels o7

Just run EDDiscovery.  Don't need to reinvent the wheel here.


I2C error (Please check if the I2C device insert in I2C of Base Hat)

Describe the bug
I get an error when trying to run the example program which I can't seem to figure out why:
I2C error (Please check if the I2C device insert in I2C of Base Hat)

To Reproduce
Steps to reproduce the behavior:

Plug in sensor and run the test program (within this repo) https://wiki.seeedstudio.com/Grove-Sunlight_Sensor/

Desktop (please complete the following information):

Device: Raspberry pi 4
OS: Raspbian 11 (bullseye)

Additional context
I2C detection shows that the OS sees the sensor, see output:
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- 53 -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

I have also tried to manually enter the address with no luck:
# .....
SI1145 = seeed_si114x.grove_si114x(0x53)
# .....

I'm using the grove hat and have since also opened an issue there in the case that the issue lies on their part but the error seems to be from this library since I've attempted to print out the result of reading "self._ReadByte(SI114X_PART_ID)" and it seems to return a value (81).

I'm experiencing the same issue with the same equipment (SI114X and Grove base hat) and this library.
 It seems the actual I2C address of the sensor is 0x53 but the library expects 0x60. However as you noted, passing 0x53 when initializing does not help.

@duart38 @htkelly were you able to fix this issue? I also get the same error  "Please check if the I2C device insert in I2C of Base Hat" when I follow the tutorial.

@A-Cedeno actually I did. For me, it was because I was using the wrong library for my version of the sensor. I have the v 2.0 sensor which is based on Si1151. Using the Si1145 library gives this error.
The file you need is in the Si115X branch of this repo. Let me know if it works:
https://github.com/Seeed-Studio/Seeed_Python_SI114X/blob/Si115x/seeed_si115x.py

Yes, the Si115X library worked! Thank you for the advice.

In the latest code, si115x is already supported. If you still encounter problems after pulling the latest repository, please reopen this issue.


Add smsapi notify component

Description:
Added SMSAPI notification component
Pull request with documentation for home-assistant.io (if applicable): https://github.com/home-assistant/home-assistant.io/pull/9848
Example entry for configuration.yaml (if applicable):
notify:
  - name: NOTIFIER_NAME
    platform: smsapi
    access_token: SMSAPI_ACCESS_TOKEN
    recipient: PHONE_NUMBER_TO_NOTIFY

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[x] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Hi @zen,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

@MartinHjelmare looks like all tests passed. Thank you for your review.

@MartinHjelmare this time looks like I corrected all mistakes

@MartinHjelmare I have very little experience with python development, so please take a look if that's acceptable. Sorry it took so long

@zen did you forget to push the changes? There's nothing for me to look at I believe.

Indeed, something is wrong. I'll check my local branch

Ok, looks like I installed black pre-commit but didn't configure it, so it somehow stopped my commit. Fixing now.

We're really close to the finish here. Hoping to see this one crossing the line soon.

I'm on holidays, but will be back during the weekend, hopefully will find time to finish that!

A lot of time has passed since the last activity occurred on this PR.

Nevertheless, it is running stale for 3 months now, so yeah 🤷♂
If you find the time, feel free to re-open it. Looking forward to it!


Proper macOS icon size

right now it is not the right size and looks wonky.

I use a figma template for mine, not sure which one but there are a bunch to pick from.
https://www.figma.com/community/search?resource_type=mixed&sort_by=relevancy&query=macos+icon&editor_type=all&price=all&creators=all

Hey man,
thanks for bringing this up first of all!
I'll have a look into it ASAP!

Btw, @Hacksore I saw you were trying to get the universal MacOS build to work and saw you set the build target back to "all". The core reason I've explicitly set the targets is because of an issue within the Tauri build pipeline when trying to target AppImage. Just to clear that possible question up ;)

@Hacksore icon should be fixed in release 0.5.4 which is up as of a couple of minutes ago. Feel free to open a new issue if you find out this fix was not sufficient (since I don't have a mac to test this on). Still pushing release since its not breaking.


When a service is deleted, update updater's update structures

Codecov Report

Merging #12 into master will decrease coverage by 0.12%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
- Coverage   45.00%   44.87%   -0.13%
==========================================
  Files          38       38
  Lines        4271     4274       +3
==========================================
- Hits         1922     1918       -4
- Misses       2349     2356       +7

Impacted Files
Coverage Δ

assemblyline_core/updater/run_updater.py
29.05% <0.00%> (-0.26%)
:arrow_down:

assemblyline_core/dispatching/dispatcher.py
89.59% <0.00%> (-1.16%)
:arrow_down:

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 db986f6...2a443c9. Read the comment docs.


ContentDescriptor and its subclasses should be reviewed

ContentDescriptor and its subclasses should be reviewed - it seems to include information contained in the factsheets, but the use-case does not become apparent from the current structure

content descriptor has the following subclasses:

analytical approach
methodical focus
primary outputs: primary outputs is a content descriptor stating the main outputs of the content.
primary purpose: A primary purpose is a content descriptor stating the main purpose of a content.

two need definitions, is the classification ok for first release?

Here are some suggestions:
content descriptor: rename to
'model descriptor'
def: "An information content entity that contains additional information about some model."
object property restriction: 'is about' some 'model'
'analytical approach' has individuals: 'top down' 'bottom up' 'hybrid' and 'other'.
Thus,
'analytical approach': def "A model descriptor that contains additional information about the analysis strategy of a model"
'methodical focus' has individuals including 'spreadsheet' 'monte carlo' 'econometric' and others.
Thus,
'methodical focus': "A model descriptor that specifies the primary method used in a model."
'primary outputs': def "A model descriptor stating the main outputs of a model."
'primary purpose': def "A model descriptor stating the main purpose of a model."

we also have the class mathematical concept. It has individuals like "agent based programming", "linear programming", "fuzzy logic" and I feel like it in some way belongs to this type of classes here.
It needs a def too

I made an own issue for mathematical concept, #352.
@l-emele, @stap-m what do you think of the proposed definitions of @jannahastings?

For model description we have the model factsheets, that are not yet included in the oeo, though.
So I guess, we have 2 options:

Delete the content descriptor structure and implement the factshees from scratch.
Keep it until we rework the factsheets and implement now the suggestions by @jannahastings.

Are these definitions and concepts intuitive for domain experts or used also in other contexts than these model factsheets?

As discussed today: Delete temporarily.

@l-emele, @stap-m this is planned for the next release, are the factsheets reworked? Or when will they be reworked?
Else I propose to implement the definitions by @jannahastings?

The next release should contain all relevant concepts for the fact sheets, see https://github.com/OpenEnergyPlatform/ontology/milestone/2

so implement the definitions?

@l-emele, @stap-m do you agree with the definitions above?

Let's talk about this at or after the next meeting for scenario fact sheet integration on Aug 12th.

@stap-m we didn't talk about it. So next meeting again or discussion here on github?

I agree with the definitions proposed by @jannahastings for model descriptor, but without "additional", for methodical focus, analytical approach, primary purpose.
We could also add model factsheet and model documentation as subclass, e.g.: A model factsheet is a model descriptor that contains a brief description of all relevant model information. and A model documentation is a model descriptor that contains a detailed description of a model. Obviously, these would contain information about the methodical focus etc.
Regarding primary output, we already have output data and we have has outputand subclasses as relations. These should be  cleverly related.

Regarding primary output, we already have output data and we have has outputand subclasses as relations. These should be cleverly related.

we even have a has primary output relation. Do we need an extra class primary output or could we just leave it out?

So far we have:

model descriptor

definition: An information content entity that contains information about some model.
object property restriction: is about some model

analytical approach

has individuals: top down, bottom up, hybrid and other.
definition: A model descriptor that contains additional information about the analysis strategy of a model.

methodical focus

has individuals: spreadsheet, monte carlo, econometric and others.
definition: A model descriptor that specifies the primary method used in a model.

primary purpose

definition: A model descriptor stating the main purpose of a model.

model factsheet

definition: A model factsheet is a model descriptor that contains a brief description of all relevant model information.

model documentation

definition: A model documentation is a model descriptor that contains a detailed description of a model.

Is there anything else we need?

Looks good to me. I'm going to implement.


6rc4 ERROR in The translation file ... locale must be provided.

Versions
Angular CLI: 6.0.0-rc.4
Node: 8.11.1
OS: win32 x64
Angular: 6.0.0-rc.5
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.5.6
@angular-devkit/build-angular     0.5.6
@angular-devkit/build-optimizer   0.5.6
@angular-devkit/core              0.5.6
@angular-devkit/schematics        0.5.6
@angular/cdk                      6.0.0-rc.11
@angular/cli                      6.0.0-rc.4
@angular/material                 6.0.0-rc.11
@ngtools/json-schema              1.1.0
@ngtools/webpack                  6.0.0-rc.4
@schematics/angular               0.5.6
@schematics/update                0.5.6
rxjs                              6.0.0-turbo-rc.4
typescript                        2.7.2
webpack                           4.5.0

Repro steps
Update from 1.7.x to 6rc4
Before in 1.7.x I run this command : ng build --prod --app=prod --output-path dist/fr --locale fr --bh /fr/ --i18n-format xtb --i18n-file src/locale/fr.xtb and it was working !
And in 6rc4 I run : ng build i10 --prod --i18n-format xtb --i18n-file src/locale/fr.xtb without --locale because seems it not exist anymore, it get me this error message:

ERROR in The translation file (C:\Users\elvis\WebstormProjects\i10\src\locale\fr.xtb) locale must be provided.

Observed behavior
I wonder if xmb is different from cli 1.7 and 6rc4 ?
Mention any other details that might be useful (optional)
My fr.xtb file looks like :
<?xml version="1.0" encoding="UTF-8"?>
<translationbundle lang="fr">
  <translation id="6271722050254196201" xml:space="default">Janvier</translation>
  ...
  <translation id="5527513150171985198" xml:space="default">Export Immoscout</translation>
</translationbundle>

How can I specify --locale like in 1.7.x please? Because currently I can't try to build with my fr.xtb file without error and if specify --locale in my command it get me

Unknown option: '--locale'

SOLVED
--locale replaced by --i18nLocale


add recursive fizzubzz in python

A recursive implementation of FizzBuzz

Thank you for your PR!
Unfortunately a solution similar to yours has already been submitted :/
The goal is to find creative/abstract new solutions to FizzBuzz.
See The top 5 samples here.
Thanks anyway! :)


Not working with PHP 7.2

Hi,
The each function has been deprecated in php 7.2. Do you have nay plans to update your code?

Happy to accept pull requests :)

This should now be fixed. Please reopen if the issue persists.


Confirmation email and Waiting List email not working on staging

Test Event 29th September 2017
https://staging.isaacphysics.org/events/29092017testevent
Capacity: 1
Teacher account<EMAIL_ADDRESS>has the group and assignment set.
logged in as student1<EMAIL_ADDRESS>– booked 1 place - NO CONFIRMATION EMAIL RECEIVED
logged in as student2<EMAIL_ADDRESS>FULL – Waiting list is available

tried booking a place on the waiting list: ERROR Event Booking Failed (but was successfully added to waiting list) - NO WAITING LIST EMAIL RECEIVED

logged in as event manager<EMAIL_ADDRESS>
student1 is successfully booked on workshop
student2 is successfully on the waiting list

logged in as student1. Cancelled booking
logged in as event manager – student1 successfully cancelled
logged in as student1 – event appears as full – waiting list available

added to waiting list – ERROR

logged in as event manager – both appear on waiting list (possible to know order of booking?)

promoted student2 to workshop from waiting list – EMAIL RECEIVED!  But it's an .ics event email, not the email in email templates.

Part of this will have been solved by the waiting list email fix #872
The non-striked-out lines are the remaining problems, the final one is covered by #874:
Test Event 29th September 2017
https://staging.isaacphysics.org/events/29092017testevent
Capacity: 1
Teacher account<EMAIL_ADDRESS>has the group and assignment set.

logged in as student1<EMAIL_ADDRESS>– booked 1 place - NO CONFIRMATION EMAIL RECEIVED
~logged in as student2<EMAIL_ADDRESS>FULL – Waiting list is available~
~logged in as event manager<EMAIL_ADDRESS>~logged in as student1. Cancelled booking~
~logged in as event manager – student1 successfully cancelled~
~logged in as student1 – event appears as full – waiting list available~
logged in as event manager – both appear on waiting list (possible to know order of booking?)
promoted student2 to workshop from waiting list – EMAIL RECEIVED! But it's an .ics event email, not the email in email templates.

~logged in as event manager – both appear on waiting list (possible to know order of booking?)~
Fixed in - 0553a684ea59a77ebbdd04dbdc9e1425598c42ab


MidiHandler buffers MIDI messages from UART

I was playing with the Midi example and hit a frustrating bug. After connecting a MIDI controller over UART (the MIDI jack on the POD), the messages were not available from the MidiHandler immediately but needed to get "pushed", i.e. a NoteOn was only getting processed after its NoteOff was sent by the controller.
I think that the delay is caused by the size of DMA buffer set at https://github.com/electro-smith/libDaisy/blob/72827e1b9f3f75031f5320ec5c8ee8a78ba95c78/src/hid_midi.cpp#L34 The only callback that hid_midi.cpp sets is triggered when the transfer is complete, and the regular MIDI messages have 2 and 3 bytes only. I think that this means a single message sits in the buffer until full 6 bytes are received.
Adjusting the DMA buffer size from 6 to 1 solves my problem and the MIDI messages are now available to my program immediately. I suspect that it's introducing a risk of losing incoming data and the correct approach would be to rely on the HAL_UART_RxHalfCpltCallback callback while setting the data transfer to 2 or 3 bytes but I'm not knowledgeable enough.

Good catch, you're absolutely correct. The UART buffer should be at most 3, here. But keeping 2-byte messages in mind, it should probably just be one. I'm sure there's a way to deal with this a bit more efficiently. I can get this fixed here this week.


adjusted image links

I have done few adjustment on image path on index page for trial before progressing on other pages.

Tried merging but seemingly the issue still persists, maybe look it into details


Synchronise instruction set with source code

In this issue, I work on a module that adds synchronisation to instruction set in a way that the data is fetched from respective source code rather than manual updation.
### Tasks
- [ ] Add macros
- [ ] Add synchroniser
- [ ] Tests - if required

example macro(how it will look like within code):
// #Sdepth: begin
Instruction::Sdepth => span.add_op(SDepth),
// #input: '[ ... ]'
// #output: '[d, ... ]'
// #description: '$d \leftarrow stack.depth()$ \n \n Pushes the current depth of the stack onto the stack.'
// #Sdepth: end

Below is an alternative way of the macro which includes all instructions including one macro block so that its less verbose / more simple and a new instructions can be automatically picked up:
        // #instruction: begin
        Instruction::Sdepth => span.add_op(SDepth),
        // #input: '[ ... ]'
        // #output: '[d, ... ]'
        // #description: '$d \leftarrow stack.depth()$ \n \n Pushes the current depth of the stack onto the stack.'

        Instruction::Caller => env_ops::caller(span, ctx),
        // #input: '[ ... ]'
        // #output: '[a, ... ]'
        // #description: '$H \\leftarrow context.fn\\_hash()$ \n \n Overwrites the top four stack items with the hash of a function which initiated the current SYSCALL. \n \n Executing this instruction outside of SYSCALL context will fail.'

        Instruction::Clk => span.add_op(Clk),
        // #input: '[ ... ]'
        // #output: '[t, ... ]'
        // #description: '$t \\leftarrow clock\\_value()$ \n \n Pushes the current value of the clock cycle counter onto the stack.'
        // #instructions: end

That looks like what we need. In general, we need all instructions in the form of a JSON file. We can use that to build it in a cool way in the playground. Our end goal should be something like this: https://www.evm.codes/?fork=shanghai.
This is how the team has done it here https://github.com/smlxl/evm.codes/blob/main/opcodes.json
I think as a first step, we need to define a different format for the JSON file. Like we don't have OPCODES but instructions.
Then we could build a simple script that reads the md files from https://github.com/0xPolygonMiden/miden-vm/tree/main/docs/src/user_docs/assembly and parses the tables into our JSON format.
Here is a simple python script (that I got from ChatGPT). But we can also ask ChatGPT directly to convert .md-tables into our JSON-format. We just need to ensure that we do it whenever there is a change in main.
import markdown2
import os
import json

instructions = []

# Loop through your markdown files
for filename in os.listdir('path/to/assembly'):
    if filename.endswith('.md'):
        with open(f'path/to/assembly/{filename}', 'r') as file:
            content = file.read()
            html = markdown2.markdown(content)

            # Extract data (this is a simplified example)
            # You need to adjust it to match the structure of your Markdown files
            name = extract_name(html)
            description = extract_description(html)
            # other fields...

            instructions.append({
                "name": name,
                "description": description,
                # other fields...
            })

# Save to a JSON file
with open('miden_vm_instructions.json', 'w') as json_file:
    json.dump(instructions, json_file, indent=4)


Updating FieldDoesNotExist imports to all be django.core.exceptions.

Django 3 removes the FieldDoesNotExist exception from the django.db.models.fields package. This PR updates all places where Wagtail was importing it from that package, and replaces it with imports from the django.core.exceptions package.
That exception was moved to that package in 2015; so currently-compatible versions of Django should work fine with this change.

Thanks @cyface! Merged in f44d27642b4a6932de73273d8320bbcb76330c21 - looks like there's a corresponding fix needed in django-modelcluster, but we can deal with that separately.


controlling choices dropdown position - workaround #780

using newer ui-select, and allowing the user to pass position values to it's ui-select-choices to control the position of the dropdown. There are a few bugs in ui-select for when it opens up (e.g. when there's not enough room for it to open up), and allowing the user to set position:"down" would work around this (you can almost always scroll down, or add padding to allow for it, but not up).

Caution with the 0.13 ui-select branch : https://github.com/marmelab/ng-admin/pull/869#issuecomment-167577269

We've updated ui-select, it should be fixed by now on master.


The Inappropriate Stuff People Are Posting

Everyone is treating the site like an online dating website. Everyone is sending pictures of naked people ar whatever. It's very disturbing. I suggest you add an inappropriate stuff detector and the detector will delete the inappropriate part of the picture. Do it or else I'm never visiting Sandspiel ever again.

"Delete the inappropriate part" would be next to impossible. A very
good NN might be able to completely block inappropriate stuff, but it
would be a huge effort.
You can still play with the rest of it and just ignore the sharing
feature. That's what I do anyway.

On Tue, Apr 21, 2020 at 3:01 PM Hoi-Why-Am-I-Here<EMAIL_ADDRESS>wrote:

Everyone is treating the site like an online dating website. Everyone is
sending pictures of naked people ar whatever. It's very disturbing. I
suggest you add an inappropriate stuff detector and the detector will
delete the inappropriate part of the picture. Do it or else I'm never
visiting Sandspiel ever again.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MaxBittker/sandspiel/issues/92, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN54XP35ANIHVDUR6QR4DQDRNYJSNANCNFSM4MNUVU7A
.

hi -
I'm really sorry that it's gotten so bad. I try to moderate it but its almost impossible to check it frequently enough to keep things out of "Recent" :/
Do you ever use the the "Report" function and does it feel like it works to flag things?
I need to make a better solution but I haven't been able to devote enough time to it. The only thing I think know of that would work might be requiring email verification to post, and building a banning mechanism.

I think sandspiel is excellent. I have issues with the shared projects too.
Is it possible to make a version without the upload and browse buttons? Then you can have the best of both worlds.
I'd like to share this to the kids in my school but can't because of the dodgy elements to the browse area.
Either way, great job in creating this.

That would be nice. I would use that.
On Tue, Apr 28, 2020 at 3:40 AM lcook14<EMAIL_ADDRESS>wrote:

I think sandspiel is excellent. I have issues with the shared projects too.
Is it possible to make a version without the upload and browse buttons?
Then you can have the best of both worlds.
I'd like to share this to the kids in my school but can't because of the
dodgy elements to the browse area.
Either way, great job in creating this.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MaxBittker/sandspiel/issues/92#issuecomment-620527173,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN54XPY6S3L5OWYOVJR2RJTRO2XCHANCNFSM4MNUVU7A
.

this version has no browse:
https://sandspiel.club/school


Using emcee with a shared multiprocessing array

Is there any way to force emcee to work on a shared multiprocessing array without significantly modifying any of the internal code? I'm running into the issue of trying to parallelize a PTSampler process that accepts a 25+ GB array as a likelihood argument. This array is read-only and never needs to be modified by any of the child processes. I understand that within the python multiprocessing module the Pipe pickles an object it receives and passes those bytes to the partner process which then unpickles it. However, a 25+ GB array is too large to be passed (and even if it was, is a huge performance bottleneck for the code), so I get the following error:
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
error                                     Traceback (most recent call last)
 in ()
1 # run the sampler and time how long it takes
----> 2 get_ipython().magic('time sampler.run_mcmc(starting_positions, nsteps)')
3 print('Sampler Done')
/n/home12/czucker/envs/PYTHON3/lib/python3.4/site-packages/IPython/core/interactiveshell.py in magic(self, arg_s)
2161         magic_name, _, magic_arg_s = arg_s.partition(' ')
2162         magic_name = magic_name.lstrip(prefilter.ESC_MAGIC)
-> 2163         return self.run_line_magic(magic_name, magic_arg_s)
2164
2165     #-------------------------------------------------------------------------
/n/home12/czucker/envs/PYTHON3/lib/python3.4/site-packages/IPython/core/interactiveshell.py in run_line_magic(self, magic_name, line)
2082                 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
2083             with self.builtin_trap:
-> 2084                 result = fn(*args,**kwargs)
2085             return result
2086
 in time(self, line, cell, local_ns)
/n/home12/czucker/envs/PYTHON3/lib/python3.4/site-packages/IPython/core/magic.py in (f, *a, **k)
191     # but it's overkill for just that one bit of state.
192     def magic_deco(arg):
--> 193         call = lambda f, *a, **k: f(*a, **k)
194
195         if callable(arg):
/n/home12/czucker/envs/PYTHON3/lib/python3.4/site-packages/IPython/core/magics/execution.py in time(self, line, cell, local_ns)
1171         if mode=='eval':
1172             st = clock2()
-> 1173             out = eval(code, glob, local_ns)
1174             end = clock2()
1175         else:
 in ()
/n/home12/czucker/envs/PYTHON3/lib/python3.4/site-packages/emcee/sampler.py in run_mcmc(self, pos0, N, rstate0, lnprob0, **kwargs)
155         """
156         for results in self.sample(pos0, lnprob0, rstate0, iterations=N,
--> 157                                    **kwargs):
158             pass
159         return results
/n/home12/czucker/envs/PYTHON3/lib/python3.4/site-packages/emcee/ptsampler.py in sample(self, p0, lnprob0, lnlike0, iterations, thin, storechain)
257                 results = list(map(fn, p.reshape((-1, self.dim))))
258             else:
--> 259                 results = list(self.pool.map(fn, p.reshape((-1, self.dim))))
260
261             logls = np.array([r[0] for r in results]).reshape((self.ntemps,
/n/home12/czucker/envs/PYTHON3/lib/python3.4/multiprocessing/pool.py in map(self, func, iterable, chunksize)
258         in a list that is returned.
259         '''
--> 260         return self._map_async(func, iterable, mapstar, chunksize).get()
261
262     def starmap(self, func, iterable, chunksize=None):
/n/home12/czucker/envs/PYTHON3/lib/python3.4/multiprocessing/pool.py in get(self, timeout)
606             return self._value
607         else:
--> 608             raise self._value
609
610     def _set(self, i, obj):
/n/home12/czucker/envs/PYTHON3/lib/python3.4/multiprocessing/pool.py in _handle_tasks(taskqueue, put, outqueue, pool, cache)
383                         break
384                     try:
--> 385                         put(task)
386                     except Exception as e:
387                         job, ind = task[:2]
/n/home12/czucker/envs/PYTHON3/lib/python3.4/multiprocessing/connection.py in send(self, obj)
204         self._check_closed()
205         self._check_writable()
--> 206         self._send_bytes(ForkingPickler.dumps(obj))
207
208     def recv_bytes(self, maxlength=None):
/n/home12/czucker/envs/PYTHON3/lib/python3.4/multiprocessing/connection.py in _send_bytes(self, buf)
401        # For wire compatibility with 3.2 and lower
--> 402         header = struct.pack("!i", n)
403         if n > 16384:
404            # The payload is large so Nagle's algorithm won't be triggered
error: 'i' format requires -2147483648 <= number <=<PHONE_NUMBER>`
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
My solution was to make a shared multiprocessing array for the 25+ GB array (following this example) before sending it to PTSampler as a likelihood argument. I'm just using the threads=nthreads argument under PTSampler to indicate I want it to multiprocess. However, I'm stuck with the same error as above: it keeps trying to pickle this giant array despite supposedly passing it as a shared memory array. Do you have any ideas how to easily resolve this issue using the existing emcee framework? Any help would be greatly appreciated!

Does the array correspond to a file on disk? If so, it should be possible to create a shared mmap created by the parent process, and then recreate that same mapping within the lnprob routine. Since multi-processing works only on the same node, this has the added benefit of better caching. This solution will however require manual slicing for the array.
The mmap doc for python3.4 is here: https://docs.python.org/3.4/library/mmap.html
For your case, you will want to use the PROT_READ (assuming Unix-like OS.)
Hope this helps. If not, could you post a short snippet of code that shows the issue.


Cannot access node.id through WASM API

The API has no way to access node ID field.

I presume the cluster as well?  perhaps the locality and build version?

ID is needed since it has meaningful data in istio context. Istio does not use locality or build. Perhaps exposing the entire node object as a struct would fit the bill.

I believe this was fixed in #28.
Feel free to reopen if anything is still missing.


Create convenience functions for subvolume-based predictions

I've got an implementation up on the following gist for how to do this.
https://gist.github.com/aphearin/ea9104d4a798ae586965
I'm not sure how much/little of this should be incorporated into the repo, so I'd like some feedback. @duncandc , @mjvakili, @changhoonhahn, and @kilianbreathnach, let me know what y'all think and I'll take it into account while deciding how much of this should make it in.

Hey Andrew, this looks great! I had originally tried building something similar but was using your idea of first setting a new column of subvolume id numbers in the halo table that I can then use to make a mask after choosing a random subvolume. I think this would be useful to add so that one doesn't have to recompute which halos are in the subvolume every time. I've made a notebook where I attempt an example of this here:
https://github.com/mjvakili/ccppabc/blob/master/halo/code/notebooks/subvol_sample.ipynb

@kilianbreathnach , great, I'm glad the gist was clear. So even if the subvolume index were pre-computed, you'd still need to build a new boolean array mask with each random subvolume selection (although see below). So the only difference between the code on my gist and the code that would be written if the subvolume indices were pre-computed would be the following two lines:
mask = table['x'] > xmin & table['x'] < xmax & etc.
mask = table['subvol_id'] == randomid

So there is a little more computation time in the first line relative to the second, but my gut is that this difference is trivial relative to the clustering calculation. Are you finding otherwise?
The other option is that we could compute subvolume indices in advance, and also pre-sort the halo table according to the sub-volume index, storing the array of indices where each new subvolume begins. Then we'd only need to carry around an array serving as this lookup table. In fact, I use exactly this same trick when I build a rectangular tree in mock_observables. That would certainly be faster than building a mask, but again, I think the masking is a very minor contribution to the runtime, so the benefit of this code seems small relative to the intrinsic danger of introducing non-trivial bookkeeping.
Maybe I mis-understood why you wanted to pre-compute the subvolumes?

Aha yeah, you're right that it's a pretty small change in efficiency. I just found it convenient and easier to think about in this way, in particular so that I could also generate a set of random files for each subvolume with precomputed RR that I could store beforehand for use in the correlation calculations. The presorted halo table is a sweet idea. I found the masking to be somewhat time-consuming before but I'm realising that it must have been something that was up with my ipython instance and it is running much faster now :)

Hmm, well your comment about your IPython instance makes me a little worried. Do you think the current algorithm was maxing out your ram?
If the masking is a time drain, the pre-sort is the solution, but I think we should avoid implementing that unless we need it. It's not hard, it's just an issue of not optimizing a problem unless it needs to be optimized.

As for precomputed RR, why do you need to have a list stored beforehand for different subvolumes? They're just randoms, so the RR counts have nothing to do with the selected subvolumes.

@kilianbreathnach, @mjvakili, @changhoonhahn - unless you object, I'd like to close this issue for now. I'd like to postpone adding this subvolume loop as a convenience feature until I have a better sense of how to handle the case where a full suite of simulations is populated, a closely related feature. Let me know if you have been finding it a big hassle to populate subvolumes, in which case I'll reconsider.

@aphearin - populating subvolumes is pretty straight forward now and it's not a hassle.

Ok, good to know. In that case I'd rather not try to implement a convenience function whose API might change in the future. So I'll leave this to be done manually by the user for now. Thanks for the feedback.


Where can we find the raw results of siamfc++?

Hi！Where can we find the tracking results of siamfc++? @MARMOTatZJU

Please refer to https://github.com/MegviiDetection/video_analyst/blob/master/docs/TUTORIALS/SOT_MODEL_ZOO.md

Please refer to https://github.com/MegviiDetection/video_analyst/blob/master/docs/TUTORIALS/SOT_MODEL_ZOO.md

Issue closed as no longer discussion proceeds. Feel free to reopen it.


New version: DisplayLink.GraphicsDriver.HotDesking version 11.5.6200.0 (11.5 M2)

Created by 🥟 Dumplings in workflow run #9375.

Log
Updated: 11.5 M1 → 11.5 M2
Submitting WinGet manifests
Creating manifests
WinGet exits with exitcode -1978335231
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

This package's name really is unfortunate.


Add Github Actions.

Adds automated CI for OS which GA officially supports. No fmt/clippy since they didn't pass.
Windows is fixed in https://github.com/skade/leveldb-sys/pull/18.
Example results: https://github.com/timberio/leveldb/runs/1098011055?check_suite_focus=true

Thanks! Githugs back!


Fixed #56: Create a "focus" Cmd

(cc @gvolpe)
This PR gives you commands to focus and blur (un-focus?) HTMLInputElements.
They are based on the commands in the Elm Browser.Dom package.
I have an open question about this implementation: Currently it insists that you deal with the possible error (i.e. element not found) and even the success of running the side effect by producing more messages. This might be desirable, but I wonder if it would be good to somehow have a fire and forget version, and maybe a version that only emits an event on error (if it's even possible to build such things)? I'll sleep on it.

I think an error may be preferable - I think it might be confusing to a developer if the focus command wasn't working, but the code looked fine, only to find a silly spelling mistake

Awesome @davesmith00000 ! I agree with @hobnob here, I'd rather have error raised than swallowed.


Where do I put build logic?

related: https://github.com/jjohannes/idiomatic-gradle/issues/11

The gradle 8 release notes seem to suggest buildSrc: https://docs.gradle.org/8.0/release-notes.html#improvements-for-buildsrc-builds

related: https://github.com/gradle/gradle/pull/23457

Currently, gradle init uses build-logic for this, but I think the proposal from https://github.com/jjohannes/idiomatic-gradle is better, it uses gradle/plugins, it also makes it more consistent with the default location of libs.versions.toml
I think it's really makes it harder to find

We believe this issue is no longer relevant. Please file a new issue if necessary.

Does not relevant mean the docs and "gradle init" are now in sync and not ambiguous anymore about whether to use buildSrc versus a "build-logic" explicitly included in settings.gradle?


[stable/opencart] Update deployment apiVersion to 'apps/v1' - Mandatory for K8s 1.16

Signed-off-by: juan131<EMAIL_ADDRESS>What this PR does / why we need it:
There are several deprecations in the API introduced in K8s 1.16 (see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.16.md#deprecations-and-removals) which affect our manifests. The following APIs are no longer served by default:

All resources under apps/v1beta1 and apps/v1beta2 - use apps/v1 instead
daemonsets, deployments, replicasets resources under extensions/v1beta1 - use apps/v1 instead
networkpolicies resources under extensions/v1beta1 - use networking.k8s.io/v1 instead
podsecuritypolicies resources under extensions/v1beta1 - use policy/v1beta1 instead

This PR address the changes to be done for stable/opencart.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test
/lgtm


RuntimeWarning: numpy.dtype size changed

Hello,
Thank you for a wonderful work in speaker verification
I am trying to execute the code and its giving me the following error.
RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
Is it because of the different versioning of numpy and scipy? If yes then what are the version which you have used while training?
Thank you for your help !

@pranoot It's a warning. It is not an error. You can simply force the file types to be of the desired format but it is not a big deal.

Thank you.


[SR-12311] Improve diagnostic for read-only properties

I changed the diagnostic message for protocol read-only properties as suggested in [SR-12311]
This is my first contribution to Swift so if you think that I understood the problem in a wrong way or did something wrong, please guide me towards the solution.

Resolves [SR-12311]
Radar Url: rdar://problem/60013553

@varungandhi-apple Please review

@swift-ci please smoke test

I suspect you'll need to update any tests for this to pass testing. After that, someone with permissions can trigger the smoke test.

I suspect you'll need to update any tests for this to pass testing.

There were no tests regarding this diagnostic message.

After that, someone with permissions can trigger the smoke test.

Thank you, I didn't know that!

I suspect you'll need to update any tests for this to pass testing.

There were no tests regarding this diagnostic message.

There is definitely at least one. Hint: you can search this repository for the old diagnostic text.

@HassanElDesouky It may a good thing to squash those changes into a single commit :))

@HassanElDesouky It may a good thing to squash those changes into a single commit :))

Thank you for pointing that out I just squashed the changes into a single commit.

Welcome to the project, and thanks for your contribution! These changes look good to me. I’ll go ahead and get CI started.
@swift-ci please test.

Build failed
Swift Test Linux Platform
Git Sha - 630ea13b423a14ac907a8986a71f621d5f5ddfaa

Build failed
Swift Test OS X Platform
Git Sha - 630ea13b423a14ac907a8986a71f621d5f5ddfaa

Welcome to the project, and thanks for your contribution!

Thank you @harlanhaskins , I really couldn't have done it without the help of the community. @theblixguy's blog helped me a lot to start my first PR.

I’ll go ahead and get CI started.

The CI finished successfully, does this mean it's able to merge?

Merged. Thanks again for your contribution!

Thanks for the contribution @HassanElDesouky! 😄


Migrate Q&A app from OpenAI to Aleph-Alpha

Hello, I hope it is ok if I ask this here. I am testing if Aleph-Alpha can provide a similar quality of answers than OpenAI. We use their client to make queries to our project database.
First, I did a basic comparison test and the response times from Aleph-Alpha were significantly lower. So far. so good.

Then I tried to use AA’s QaRequest class passing as argument just one of our one of our documents. The results were not so satisfying. The response time is higher and the answer is not so explanatory as I would like. Can I get better results? Is it possible to choose a certain model with the QaRequest class so the answer is a bit more detailed? Should I rather try to carry out a normal completion request sending the related text fragments as part of the instruction? How would the prompt string look like?
Aleph-Alpha QaRequest

Our App based on OpenAI’s gpt-3.5

Thanks for your great work!

Hi @diego-apellaniz thanks for reaching out! And thanks for giving our technology a try :)
So, currently our QA endpoint's performance has some known issues, and I am not surprised to see the issue you have here. Since you aren't needing to chunk the document (you seem to have smaller chunks of text that you are asking questions about), it is doing some unnecessary steps that might be adding to your latency.
Given your use case you could try using some of our control models (luminous-base-control, luminous-extended-control, and luminous-supreme-control). To do so, you would use a prompt structured something like this:
### Instruction:
{{question}} If there's no answer, say NO_ANSWER_IN_TEXT. Only answer the question based on the text.

### Input:
{{input}}

### Response:

Where {{question}} would be your user query and {{input}} would be the part of your document.
Since your input looks to be all German, you can also try changing the Instruction to be in German as well:
{{question}} Wenn es keine Antwort gibt, gib {{no_answer_text}} aus.

You should be able to try it with all three control models as well. luminous-base-control will return the answer the quickest, while luminous-base-supreme may have an increase in quality, depending on your use case, with luminous-base-extended somewhere in between.
We are hoping to release some more best practices for use cases like this in the near future, but hopefully this helps you get started.
If you do have larger documents that don't fit in the context length, or you want to have more precise answers to only portions of documents, you can also use a package I maintain called semantic-text-splitter that allows you to chunk your documents, and you can pass it a Tokenizer generated from client.tokenizer for the model you have chosen.
Will close the ticket, but feel free to re-open if you have further questions. Thanks again!


net: arp: Fix ARP retransmission source address selection

There was a problem with source address selection for ARP
retransmissions, when an ARP entry was already pending. In such case,
the entry value passed to arp_prepare() is NULL, which in result
caused the current_ip variable being used as the source value. The
problem with this approach is, that the current_ip is only set in
IPv4 autoconf, the Ethernet L2 does not set this variable. In result,
every retransmission of an ARP packet was sent with unspecified source
address, preventing the response from being handled.
Fix this by partially restoring the behaviour of the ARP source address
assignment from before IPv4 autoconf was introduced. If the ARP is sent
by the IPv4 autoconf, use the current_ip value provided. If entry is
not set, use the source IPv4 address set in the actual data packet.
Otherwise, search for a source address on the interface corresponding to
the entry.
Signed-off-by: Robert Lubos<EMAIL_ADDRESS>

I see in the wireshark that ARP responses are on the wire, but the initial ones are not processed by the driver. Is this a known issue?

I do not recall such a problem, this could be related to some qemu issue eating first packets instead of delivering those to the driver.

@rlubos should this be backported?


59 hive support primary key

https://github.com/opendatadiscovery/odd-collector/issues/59
[Hive]: Support primary key #59

Resolves #59


add hook for logentries

@crunchywelch can you rebase, a fix to the tests was pushed and should make your PR green

@aybabtme ok, hopefully that does it!

Hey, we're trying to move hooks and formatters out of core and be maintained by the people who actually use it. Do you mind creating a repository under your own name and squash this into a commit adding an entry to the table in the README?

Yup! Will do it when I get a free moment, thanks!
On Thu, Apr 30, 2015 at 2:59 AM, Simon Eskildsen<EMAIL_ADDRESS>wrote:

Hey, we're trying to move hooks and formatters out of core and be
maintained by the people who actually use it. Do you mind creating a
repository under your own name and squash this into a commit adding an
entry to the table in the README?
—
Reply to this email directly or view it on GitHub
https://github.com/Sirupsen/logrus/pull/169#issuecomment-97682744.

--
Aaron Welch
SVP of Product
212.933.9785 x301
<EMAIL_ADDRESS>


Consider refactoring Signal class hierarchy

Base Signal inherited by all instead of Component directly
Base Signal to have an access_mode to be implemented by child classes
SignalRW to inherit from SignalR and SignalW
SignalX to inherit from SignalW
{Read,Write}Widget -> Widget
API to walk all Signals of Tree so that the caller doesn't have to check if the values are of type Signal

I don't think it is possible to have SignalR(Signal), SignalW(Signal) and SignalRW(SignalR, SignalW) because we would  need SignalRW.pv to  use SignalRW.read_pv when used as a SignalR...

Resolved by #88


[BUG] Why is pulling to the latest -with-antd example not styling in the CSUI

What happened?
A bug happened!
I pulled the latest example of with-antd and found that the styling of the andt component in content.tsx was not working, I tried to look for a solution in closed issues and found an identical issue which I followed but the problem is still not solved!
And I've noticed that the antd style doesn't seem to take effect as long as the tsx file is under the contents folder
I didn't change anything after the code was pulled down, and I was wondering if anyone else is experiencing the same thing as me, and how I can fix it.
#338 I'm having the same problem as this one, but I can't solve the problem by following his methods
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution

[ ] I would like to fix this BUG via a PR

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

I recreated a new project myself and solved it myself, maybe there was some misconfiguration in the -with-antd example that caused the styles in content.tsx to be invalidated

啥 -with-antd? 我安装官网跑起来 安装了个antd 发型用组件都没样式。。

啥 -with-antd? 我安装官网跑起来 安装了个antd 发型用组件都没样式。。

import { StyleProvider } from '@ant-design/cssinjs'
大概这么写就好了，用自定义渲染。
antd官网有shawdow dom的介绍
[](https://ant.design/docs/react/compatible-style-cn?utm_source=gold_browser_extension#shadow-dom-%E5%9C%BA%E6%99%AF)


Safari icon expand partially

The icon shows up in the Safari on production

@Abigail6on  tested on the main production and the problem is not because of recent updates.
@amoda040  maybe you can consider it as canbewell 1.0 improvement

The problem exists in - iPhone, iPad and Mac

Opening the page for the first time, as Patient Female. The Covid icon is appearing as enlarged icon and it is cropped as shown in screenshot.

@AliVaseghnia follow up with @amoda040

@amoda040 Please share an update on this?

@niharikaavasthi I think I have a fix. Will create a PR. @amoda040

it has successfully tested.


Fix pickleability of filters decorated with @async_variant

fixes #1612

Checklist:

[x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[n/a] Add or update relevant docs, in the docs folder and in code.
[x] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
[n/a] Add .. versionchanged:: entries in any relevant code docs.
[x] Run pre-commit hooks and fix any issues.
[x] Run pytest and tox, no tests failed.

A more intrusive but cleaner way to fix the async_variant decorator would be the swap the order of decoration.
The decorator is used, really, to wrap two functions — the async and sync variants.  However, for ... reasons ... we want most of the dunder attributes of the wrapper to be copied from (and the wrapper's __wrapped__ attribute to point to) the non-async function.  That being the case, it might be cleaner to have the net syntax be that we "decorate" the non-async version rather than decorating the async version as is done now.
I.e, the current API is:
def sync_do_foo(...):
    "Docstring which gets copied to decorated async version..."
    ...

@async_variant(sync_do_foo)  # type: ignore
async def do_foo(...):
    # async version of sync_do_foo
    ...

Despite the fact that do_foo is the decorated function here, the under attributes of the wrapped do_foo are copied from sync_do_foo.  That seems confusing.
Instead, what about
async def async_do_foo(...):
    # async version of sync_do_foo
    ...

@has_async_variant(async_do_foo)
def do_foo(...):
    """The non-async version.  Decorated function gets this docstring."""
    ...

(Another option, copying the way property setters can be decorated might be)
@has_async_variant2
def do_foo(...):
    """Non-async version.  Wrapper gets this docstring."""
    ...

@do_foo.async_version
async def do_foo(...):
    ...

Is async_variant a public-enough API that changing it requires deprecating it, but leaving it in place?  If so, maybe not worth the effort.  If not, then...


Add LPushX RPushX command

I want to add it according to https://redis.io/commands/lpushx/

ok

close since merged.


Add a project file and bump version

@JuliaRegistrator register()

The Registrator server was shutdown for the weekend. I'll try re-running this once the server is back up today.

While updating, mind adding an undef to the vector declaration here?
https://github.com/andreasnoack/RNGTest.jl/blob/master/src/RNGTest.jl#L309
Alternatively, I could file a PR.

I added the suggested change as well to the 1.5 release which should be available shortly


Remove files related to cypress

See #2075 for progress done in the past regarding the migration of Cypress to Playwright.

I went over our Cypress tests and they perform the following actions:

Login to Nebari
Run a notebook
Visit different services URLs (i.e., keycloak, conda-store, and grafana); there's no interaction with these, however.

Our Playwright tests already take care of (1) and (2). Regarding (3):

We're already implicitly testing keycloak's availability when logging in.
We have a test for Grafana which implicitly tests the existence of the service (by accessing the API).
We don't have anything that tests conda-store's availability for local tests as far as I am aware. We do have a health check for cloud tests, though.

While #2075 takes care of removing all cypress-related files, it is only migrating (1) to Playwright. I could migrate (3) to Playwright (it's not too much effort) but I don't think it will be beneficial, except from maybe catching conda-store not being available in the local integration tests.
Eventually, I'd like to incorporate different user journeys regarding these services, whether that involves UI testing or not.
Happy to hear your opinions here.
I am including @Adam-D-Lewis in the conversation.


fix pull_request_target actions with cancel-in-progress

With pull_request_target, the baseline ref is always the base branch, so we need a different way to figure out a unique PR identifier.
Previously, the abidiff and check-format jobs were all using the same concurrency group WorkflowName-develop, so if different PRs were pushed to within a short time frame, the latter cancelled the former's in-progress abidiff and check-format jobs. This PR thus changes the concurrency group to WorkflowName-PR_ID.

does it need to change the group ${{ github.workflow }}-${{ (github.head_ref && github.ref) || github.run_id }}?
when the head_ref is defined, it also use github.ref as the identifer.
However, we do not see this behavior?

that does not help, because github.ref is develop for pull_request_target independent of the PR, which is the issue that triggered this PR.

rebase!


Dump non-namelist configuration options to yaml file in run directory

We need to be able to look at a run directory and know what configuration was used to make it. The namelist is already stored in input.nml. We should put the other parameters in another file (possibly input.yml or something like fv3config.yml).

I just ran into this problem. I think fv3run does this but maybe not write_run_directory.


VSCODE onFormatSave inserting custom spaces and not detecting indentation

VSCode Version: 1.7.2
OS Version: Ubuntu 16.04
Linux lnxkarlm 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Steps to Reproduce: I have no idea but I'll give you how the project is setup.
My issue is that vscode is automatically inserting 4 spaces into my code with formatOnSave when I open a new file which is already indented with 2 spaces.
settings.json
// Place your settings in this file to overwrite the default settings
{
  "editor.formatOnSave": true,
  "editor.fontSize": 13,
  "editor.insertSpaces": true,
  "editor.detectIndentation": true,
  "terminal.integrated.shell.linux": "/bin/bash"
}

working space:
// Place your settings in this file to overwrite default and user settings.
{
}

My files otherwise run on eslint with the following .eslintrc file:
{
  "root": true,
  "extends": "./node_modules/eslint-config-airbnb/base.js",
  "env": {
    "node": true,
    "es6": true
  },
  "rules": {
    // Relaxing, should remove them eventually
    "func-names": 0,
    "comma-dangle": 0,
    "no-unused-vars": [
      2,
      {
        "vars": "local",
        "args": "none"
      }
    ],
    "new-cap": 0,
    // Restricting
    "max-len": [
      2,
      100,
      2
    ],
    "arrow-parens": [
      2,
      "as-needed"
    ],
    "prefer-const": 2,
    "strict": 0
  },
  "globals": {
    "__rootDir": true,
    "describe": true,
    "before": true,
    "after": true,
    "it": true,
    "beforeEach": true,
    "afterEach": true
  },
  "parser": "babel-eslint"
}

I tried turning eslint off but the problem persists.
How do i fix this? I first click on "Indent Using spaces" and choose "3". I then edit the file and save, this fixes the spacing from 4 to 3. Then I redo the step and select "2", edit and save and the file then rejumps to 2 spaces.
It states that my tab is set to 4 spaces.
I don't understand as I have auto indentation set to true. Rest of the people in my project do not have any issues. Then again, none of them are using vscode.
Anymore info? Please ask!

@basickarl thank you for opening this issue and for the impeccable detail!
I believe this is a duplicate of https://github.com/Microsoft/TypeScript/issues/10335

I do not think this is a duplicate, I am suffering the same issue and it really is a PITA... I have been using Code for several years, and suddenly today this thing happens. Every time I save a modified file all the code is automatically indented to 4 spaces, even if the settings is explicitly set to 2 spaces, and also, why would the code be reformatted when saving? I don't want that...  My user settings:
// Place your settings in this file to overwrite the default settings
{
    "editor.renderWhitespace": true,
    "javascript.validate.lint.comparisonOperatorsNotStrict": "warning",
    // Controls if the editor will insert spaces for tabs. If set to auto, the value will be guessed based on the opened file.
    "editor.insertSpaces": "true",
    "editor.tabSize": 2,
}

I am having the same issue when editing javascript or java...

For some reason is formatting on save (and formatting wrong), I cannot find a way to disable this function... :(

workaround for me was to roll back to code 1.5.3.

@manast I'll try a rollback and get back, see if it works.

@waderyan I checked the other issue and it's not related. We don't use TypeScript and the issue isn't affecting consistency. The formatting is consistent but it inserts 4 spaces instead of 2.

@basickarl understood. Thank you for investigating further. My mistake. Let me take a look at it again.

@waderyan No worries! Just ask if you need any information about my setup/build!
This affects me on both my laptops I must add. Both are running Linux (Ubuntu 16.04 [as stated above] and ElementaryOS Freya [which itself is based off of Ubuntu 14.04])

@basickarl Are you still running into this issue with the latest VSCode release?
If you are, please try collecting the TypeScript server log:

In VSCode 1.11, add a setting"typescript.tsserver.log": "verbose"
Reload VSCode and reproduce the issue
Run the Open TS Server Log file command
Share the output from there.

TypeScript powers both our JavaScript and TypeScript language features and provides document formatting functionality

@mjbvz I'll have a look into it!

Closing this out. If anyone is  still running into this issue on the latest VS Code insiders builds, please open a new issue and I will take a look

As a complementary note, I managed to resolve my issue removing all config directories of VSCode in my mac, such as ~.vscode. After that the issue disappeared. Maybe some setting from version 1.5.3 that was incompatible with newer versions.


fix(forge): only cleanup dirs if they exists

remove_dir_all throws if path does not exists.
only remove them if they exist

https://github.com/gakonst/ethers-rs/pull/649 should cargo update ethers and use the helper fn?


Lokalise: Translations update

This pull request was initiated by Lokalise (user Peter Murray) at 2022-01-31 16:15:42

yarn run v1.22.17
$ eslint .
/home/jenkins/workspace/io-org_ui-marc-authorities_PR-67/project/src/components/KeyShortCutsWrapper/KeyShortCutsWrapper.js
51:6  warning  React Hook useMemo has missing dependencies: 'editShortcuts' and 'searchShortcuts'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/io-org_ui-marc-authorities_PR-67/project/src/components/MultiSelectionFacet/index.js
1:1  error  Dependency cycle via ../../components:9  import/no-cycle
✖ 2 problems (1 error, 1 warning)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Suggestion: Mention the use of #!/usr/bin/env c to launch script.

#!/usr/bin/env c
At the top of the script searches your path for 'c' and execute that script.
Means you can use it no matter where your 'c' is installed (~/bin/ /usr/local/bin or /usr/bin et al).

+1

+1

I wish this portable. I originally was going to use env, but had to settle on direct paths because Linux doesn't support multiple arguments with #!.
On Linux systems, #! "splits at the first whitespace and treats the front part as the path to the interpeter and the rest as a single argument." On BSD systems, #! "splits at whitespace and treats the first part as the path to the interpreter and the rest as individual arguments."
http://stackoverflow.com/a/4304187/2002146
On most systems #!/usr/bin/env c works fine. It's only when you start adding additional arguments to c that it fails, e.g. #!/usr/bin/env c -lncurses -Wall --.


Inclusive language

Please remove all references to 'he' and use 'they' (or alternative inclusive term) instead.

Thank-you @garddis for the suggestion.
Would you like to submit a pull request with the change?


Can it Support IPA and Chinese pinyin ?

IPA and  Chinese pinyin are important for Chinese and linguist. Can it support？

Yes Pinyin was already implemented: https://github.com/damienleroy/PowerAccent/blob/main/PowerAccent.Core/Languages.cs#L356-L376
Thanks @jmonticolo for your help :)


chore: fix rocks terminology

Replace "ROCK" with "rock".
Can you please also update the repo's description?

The changes look good, I updated the repo description as well. However most likely we'll need signed commits here as well.

Signed ;)


with 2.4.3 a simple regex (e.g "line.split(/\s+/) ;" for splitting into words) is now unsafe

this used to work until up to 2.4.2
looks like that was introduced by https://github.com/tjenkinson/redos-detector/pull/612

Thanks handling in https://github.com/tjenkinson/redos-detector/issues/624


Add support for domain_hint and login_hint parameters

SDK-381.

Codecov Report

Merging #105 (0dbc4f8) into master (cefdbe2) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #105      +/-   ##
==========================================
+ Coverage   94.80%   94.84%   +0.04%
==========================================
  Files          18       18
  Lines         462      466       +4
==========================================
+ Hits          438      442       +4
  Misses         24       24

Impacted Files
Coverage Δ

workos/sso.py
100.00% <100.00%> (ø)

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 cefdbe2...0dbc4f8. Read the comment docs.