Starting with .net 4.7, empty System.Windows.Forms.ApplicationConfigurationSection added to web.config

I have an asp.net app which can be updated using a dedicated settings page. The corresponding controller writes those settings as key/values under appsettings in the web.config file (to be precise, appsettings uses a referenceSource attribute to reference the file where the appSettings are actually written). This works file with all previous versions of the .net framework.
Starting from .net framework 4.7, the following issue has appeared:

An empty System.Windows.Forms.ApplicationConfigurationSection is added to web.config when the configuration is saved. From my understanding this section has been added to .net 4.7 and cannot be empty.
Not sure why System.Windows.Forms.ApplicationConfigurationSection is added to web.config

The code for saving the app configuration is given below:
public static void SetWebConfigValue(string keyValue, string value)
       {
           if (!string.IsNullOrEmpty(keyValue))
           {
               Configuration config = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("~");

               AppSettingsSection appSettings = config.AppSettings;

               KeyValueConfigurationCollection settings = appSettings.Settings;

               if (KeyExists(settings.AllKeys, keyValue))
               {
                   settings.Remove(keyValue);
               }
               settings.Add(keyValue, value);
               config.Save(ConfigurationSaveMode.Modified, true);
           }
       }

I sent mail to the team ...

@richlander Thanks for this...for info I have also created a SO "issue" and at least one person confirms this problem: https://stackoverflow.com/questions/44764032/why-latest-net-4-7-adds-an-invalid-configsection-to-my-web-config. This problem happened since the latest "creator's update" and I have managed to reproduce it in my own dev environment,

Thank you so much aludin for reporting this.  Our team has identified the issue and working on a solution that will be available in the next release of .NET framework/Operating System. Meanwhile, you can safely remove the empty <System.Windows.Forms.ApplicationConfigurationSection/> section from web config file and unblock your applications.

@adreddy507 Many thanks for the feedback. Yes I realized that by removing the <System.Windows.Forms.ApplicationConfigurationSection/> section, the problem is solved. This problem was triggered when I was updating the appSettings child elements. As a workaround I have modified the appsettings element to reference an external file using the <appSettings file="path to file"/> syntax. When programmatically updating that external xml file, the issue is not triggered.

I actually got this in an app.config for a desktop application -- at one point during initialization, the application runs System.Net.Dns.GetHostName(), which tries to load the app.config and fails (on a .Net 4.5 machine). I'm not at all sure where along the pipeline a .Net 4.7 machine was involved, but it ended up that the only difference between a working config and non-working one was the extra System.Windows.Forms.ApplicationConfigurationSection, as mentioned in the OP.
A slightly sanitized stack trace is below.
Application : TheDesktopApp.exe
Version du Framework : v4.0.30319
Description : le processus a été arrêté en raison d'une exception non gérée.
Informations sur l'exception : System.Configuration.ConfigurationErrorsException
Pile :
   à System.Configuration.ClientConfigurationSystem.EnsureInit(System.String)
   à System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(System.String)
   à System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(System.String)
   à System.Configuration.ConfigurationManager.GetSection(System.String)
   à System.Configuration.PrivilegedConfigurationManager.GetSection(System.String)
   à System.Net.Configuration.SettingsSectionInternal.get_Section()
   à System.Net.Sockets.Socket.InitializeSockets()
   à System.Net.Dns.GetHostName()
   à Logging.CustomLogger.InitialiseLogging(System.String, System.String)
   à TheDesktopApp.MainWindow..ctor()
   à TheDesktopApp.App.OnStartup(System.Windows.StartupEventArgs)
   à System.Windows.Application.<.ctor>b__1(System.Object)
   à System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   à System.Windows.Threading.DispatcherOperation.InvokeImpl()
   à System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   à System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   à System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   à System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   à System.Windows.Threading.DispatcherOperation.Invoke()
   à System.Windows.Threading.Dispatcher.ProcessQueue()
   à System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   à MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   à MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   à System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   à MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   à System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   à MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   à MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   à System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   à System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
   à System.Windows.Threading.Dispatcher.Run()
   à System.Windows.Application.RunDispatcher(System.Object)
   à System.Windows.Application.RunInternal(System.Windows.Window)
   à System.Windows.Application.Run(System.Windows.Window)
   à System.Windows.Application.Run()
   à TheDesktopApp.App.Main()

I just sent mail to the team again.

Hi narc0tiq,
Is it possible to send us a sample app here? Also, can you please provide following details?

Confirm exact version of .NET framework installed on the machine. you can follow instructions listed  here : https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed#net_b
What is the OS running ( OS version)
if sample application is not available, what is the targeted framework of the application.

Thanks,

Sample app might take a while, because I'm in the middle of other stuff, but let me get you the other data:

HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full\Release says 460798 decimal, i.e. .NET Framework 4.7 on Windows 10 Creators Update (I haven't had a chance to grab the Fall Creators Update yet)
"About your PC" says it is Windows 10 Pro v.1703, build 15063.674
All the projects in the (large) solution are targeting the .NET Framework 4.5.1 (for compatibility reasons).

Naturally, the app.config with extra System.Windows.Forms.ApplicationConfigurationSection works just fine on my machine, but then fails when copied to other machines, such as a Windows 7 SP1 Enterprise machine with the release 379893 decimal (.NET Framework 4.5.2) installed. Obviously, a solution is "delete the rogue config section", but it's a pain point that really shouldn't happen, IMO.
In case it's not obvious, the application rewrites its own app.config (using the System.Configuration.ConfigurationManager), and the extra section only appears when running on the machines with netfx-4.7, but if the modified config then arrives on another machine running netfx-4.5, it will not work there, with the first visible pain point being if it does System.Net.Dns.GetHostName() in a constructor for something like a WPF Window.

Hi,
We tried to repro this with following code snippet in a sample winforms application but were not successful.  We did take a fix earlier in the product cycle and it should be present in the release version you mentioned above. If you are still seeing this issue with latest .NET framework, please share us your sample application to help us identify the problem.
Sample code used to repro:
private void Form1_Load(object sender, EventArgs e)
{
string hostName = System.Net.Dns.GetHostName();
this.textBox1.Text = hostName;
System.Net.IPHostEntry ipEntry = System.Net.Dns.GetHostEntry(hostName);
System.Net.IPAddress[] addr = ipEntry.AddressList;
string IPAddress = addr[0].ToString();
this.textBox2.Text = IPAddress;
}
Thanks

Ok, I've got code: https://github.com/narc0tiq/dotnet-temp/
Reproduction steps are in the readme, but essentially involve:

running the app on a machine with .NET Framework 4.7 and making it edit app.config,
copying the app to a machine with a lesser version (4.6.1 in my testing, since that's what I had handy),
and then running the app on that other machine, which will display the problem immediately.

The projects include <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> and the app.configs contain <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/>, so the ConfigurationManager should be able to tell whether System.Windows.Forms.ApplicationConfigurationSection is permitted or not (it's not).

Thank you so much for this narc0tiq. We will be looking at it and update this thread soon.

This issue has not got any input for long time and we have changed were issues are tracked. If this is still an issue kindly raise a new issue in the appropriate repo as mentioned in dotnet/1275


out of memory(cpu) when finetuning with 50M text image pairs

thanks for your nice job, there is a "out of memory(cpu)" error when finetuning with 50M text image pairs, after loading the data(takes about 2 days), the process died in the beginning of the training. we found the reason is out of memory(cpu), for details please see the following screenshot. For now I am trying to split the dataset into 10 patches and loading one of these 10 patches every epoch. Is there any solution else to support huge dataset such as 100M text image pairs?

I'll test with pseudo 50M text image pairs. How much cpu RAM do your system have?
Thanks, about 1007GiB RAM every machine.
@kohya-ss

If you cache the latents to the memory with --cache_latents without --cache_latents_to_disk, the amount of memory used by latents will be H_W_C * sizeof(float) * num of images = 128_128_4 * 4 * 50M = 13TB.

If you cache the latents to disk, will the same 13TB capacity be used on disk?
Is there any way to speed up the loading of data into the script? Most GPU servers use hourly billing and it is inefficient to spend 2 days just loading images into RAM without even starting training

You can always add multiprocessing for loading files to speed things up.
You can add it anywhere you are loading the images/captions/metadata

image size loading (like below)
processing metadata
checking cache validity

train_util.py
from multiprocessing import Pool
...
logger.info("loading image sizes (threadpooled).")
pool = Pool()                                            # Create a multiprocessing Pool
iterator = pool.imap(load_image_size, self.image_data.items())  # process data_inputs iterable with pool
for key, image_size in tqdm(iterator, total=len(self.image_data.items()), smoothing=0.01):
    self.image_data[key].image_size = image_size

# fetch image sizes  (ran in  threadpool to load more quickly)
def load_image_size(image_data) -> Tuple[str, Any]:
    image_key, image_info = image_data
    image_size = None

    if image_info.image_size is None:
        image = Image.open(image_info.absolute_path)
        image_size = image.size
    else:
        # return current size if it already exists
        return image_key, image_info.image_size

    return image_key, image_size

synchronous image loading is a pain, so the above change was the largest gain in time saved.


Documentation restructure: readme/architecture/concepts/tutorial/docstring, etc.

Describe your problem

Overall structure

[ ] https://github.com/v6d-io/v6d/issues/296

Tutorial

[ ] Kubernetes: https://github.com/v6d-io/v6d/issues/1084
[ ] Python: https://github.com/v6d-io/v6d/issues/962
[ ] End to end: https://github.com/v6d-io/v6d/issues/488

Docstring

[ ] https://github.com/v6d-io/v6d/issues/1083

Closed as #1253 merged.


font problem in terminal window

VSCode Version: 1.17
OS Version: Fedora 26

Distributor ID:	Ubuntu
Description:	Linux Lite 3.4
Release:	16.04

@Holdlen2DH Fedora has issues with its default font, if you change the font the problem should be gone, try adding this to your settings:
"terminal.integrated.fontFamily": "'DejaVu Sans Mono'"

@svrakata see https://github.com/Microsoft/vscode/issues/35681

Duplicate https://github.com/Microsoft/vscode/issues/35644

@Tyriar  Thanks very much! It  works.


Images missing on iPhone and Mac

Dear Olivier,
Just to let you know that the images are not displayed since yesterday night, both on my iPhone and in my Mac.
Cheers

Congratulations! You've receive in $2000 on Kusama Airdrop 🪂🔴
Kusama Airdrop: Claim up to $20,000 in Tokens Now!
→ Earn rewards on connect you wallet
→ Claim Your $KSM Today
Connect your wallet, follow the instructions, and claim this exclusive airdrop from Kusama. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

🚀 Claim Your Bonus Now! Check Eligibility
Access the Kusama platform and connect your wallet securely.

Congratulations! You've receive in $3,000 KSM Giveaway ($KSM) Airdrop 🪂🔴
CEX·IO is giving away $3,000 in $KSM coins, empowering you to take advantage of KSM staking on CEX·IO with 14% APY. Join the giveaway and earn a chance to win up to $500. Stake Kusama with CEX·IO, get high rewards and win prizes!
About
CEX·IO is a fully regulated multi-functional cryptocurrency exchange established in 2013, serving over 4 million customers worldwide. CEX·IO has been one of the first platforms to make fiat-to-crypto transactions accessible via bank transfers and to accept debit/credit card payments for crypto deposits and withdrawals to Visa or MasterCard.
→ How to join the $3,000 KSM Giveaway Airdrop?
Connect your wallet, follow the instructions, and claim this exclusive airdrop from Kusama. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

Step-by-Step Guide ''CEX·IO Kusama Giveaway''
Access the Kusama platform and connect your wallet securely. Ensure you're using a trusted wallet for the transaction.

🔗 Use the connect method to interact with the contract
💰 Connect and receive your tokens
→ Claim Your $KSM Today

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!

$BNB Airdrop: Claim Your $2000 in BNB Now!
You've been selected to receive a portion of the $1.5k Binance Airdrop. We're thrilled to offer you $1500 in BNB. But wait, there's more—connect now, and instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1000 in BNB! Additionally, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, take the opportunity to win up to $20,000—it's your golden chance!
Winners: @chuenlye, @ctzheng, @stefan2904, @agroce, @B0Qi, @shispt, @scottRuiter

AltLayer Airdrop Season One Update

🚀 Exciting Announcement!
AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 400,000,000 (4% of the total supply)

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 08, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
cbress21, @penso, @rnbguy, @mustybatz, @syjn99, @guenit, @remyjkim, @0xNineteen, @kvnyu24, @d0zingcat, @antoninfin, @johnsaigle, @CreatorMetaSky, @PaleHazy, @xenowits, @MrsP3lt, @robot-factory, @daweth, @ck76, @fly51fly


Explicitly mention that StackStorm is free & open source on the main page

This should address some of the comments from https://news.ycombinator.com/item?id=38153197,
where people were guessing if the product has some enterprise/paid features or not.

It's updated!


HMR not working

I created an empty project using pnpm create vite and then installed vite-plugin-vue-inspector and found that HMR doesn't work.

OK, then wait for Vite to fix it.

HMR is not working for me with v4.0.0 and v4.0.1

Fixed in V2.0.3


[angular-ui-sortable] Types of property 'sortable' are incompatible

I'm trying to include angular-ui-sortable.d.ts definitions file but doing so, causes my project to fail compilation with the following error.
src\typings\angular-ui-sortable\angular-ui-sortable.d.ts(78,15): error TS2430: Interface 'UISortableUIItem<T>' incorrectly extends interface 'IAugmentedJQuery'.
  Types of property 'sortable' are incompatible.
    Type 'UISortableProperties<T>' is not assignable to type '{ (): JQuery; (methodName: 'destroy'): void; (methodName: 'disable'): void; (methodName: 'enable'...'.
src\typings\angular-ui-sortable\angular-ui-sortable.d.ts(82,15): error TS2430: Interface 'UISortableUIParams<T>' incorrectly extends interface 'SortableUIParams'.
  Types of property 'item' are incompatible.
    Type 'UISortableUIItem<T>' is not assignable to type 'IAugmentedJQuery'.
      Types of property 'sortable' are incompatible.
        Type 'UISortableProperties<T>' is not assignable to type '{ (): JQuery; (methodName: 'destroy'): void; (methodName: 'disable'): void; (methodName: 'enable'...'.

All I did was, tsd install angular-ui-sortable -s. I had to remove the definitions to make my application work again.
My tsd.json file includes:
"installed": {
    "angularjs/angular.d.ts": {
      "commit": "230b346dad577c91af8db9f0a1db26697d2dd5bd"
    },
    "jquery/jquery.d.ts": {
      "commit": "230b346dad577c91af8db9f0a1db26697d2dd5bd"
    },
    "angular-ui-router/angular-ui-router.d.ts": {
      "commit": "230b346dad577c91af8db9f0a1db26697d2dd5bd"
    },
    "angularjs/angular-sanitize.d.ts": {
      "commit": "230b346dad577c91af8db9f0a1db26697d2dd5bd"
    },
    "lodash/lodash.d.ts": {
      "commit": "230b346dad577c91af8db9f0a1db26697d2dd5bd"
    },
    "angular-file-upload/angular-file-upload.d.ts": {
      "commit": "230b346dad577c91af8db9f0a1db26697d2dd5bd"
    },
    "modernizr/modernizr.d.ts": {
      "commit": "230b346dad577c91af8db9f0a1db26697d2dd5bd"
    },
    "jqueryui/jqueryui.d.ts": {
      "commit": "230b346dad577c91af8db9f0a1db26697d2dd5bd"
    },
    "angular-ui-sortable/angular-ui-sortable.d.ts": {
      "commit": "230b346dad577c91af8db9f0a1db26697d2dd5bd"
    }
  }

Any input? Am I missing something?

I have the same issue

Long silence is long.

please send a pull request. I'll review it.

I have the same issue after updating the typings for angular-ui

The problem is that the ui.item has a sortable property, but it's also a JQuery object that has a sortable() method on the prototype (if the jQuery ui sortable is loaded).
Actually you can't call the sortable() method on the ui.item object, because the property shadows the method, but it's there in jQuery ui's typedef, and that causes the error.
Don't know how this can be expressed in typescript, or if is it possible to delete/override a previously defined property....


Integration with spec authoring tools (Bikeshed, ReSpec)

Raised by @tabatkins during TPAC 2024's breakout on Web features: Bikeshed currently has a mechanism to include MDN panels and Can I Use panels. Down the road, this could be replaced, or completed, with a way to reference web-features, leveraging spec URLs and/or links to BCD keys.
Integration with spec authoring tools seems something worth thinking about from a web-features perspective. Creating this issue to discuss and track progress.

Here's how Bikeshed currently integrates with MDN and CanIUse:
MDN

I automatically (and current unconfigurably) look for shortname.json or shortname-N.json among the MDN data files.
Each feature has an associated deep link; I take the fragment from there and attach the MDN panel to the element with that ID.

CanIUse

CanIUse doesn't consistently have deep links into specs, but it does contain spec URLs of some sort.
You can explicitly tag an element with the CanIUse token corresponding to a feature, to attach the CanIUse panel to it.
You can register a URL prefix to be informed about what CanIUse tokens exist with that URL prefix (but still have to explicitly attach those tokens).

It looks like I can get a nice best-of-both worlds hybrid with web-features. Each feature has both a deep spec link and a unique token.
So my plan, I think, would be:

You can register a URL prefix, which'll automatically include all features matching that prefix.
Those feature panels will be attached to the element with the matching fragment ID.
You can also explicitly tag an element with a web-features token and get the corresponding feature panel attached to it.
If you use a URL prefix and give the explicit token for one of those features, it'll override the fragment-based attachment.

Aka, something like:

...
Include Web Features Panels: https://drafts.csswg.org/css-backgrounds

Painting Area: the 'background-clip' property

...

<dfn webfeature="css.properties.background-clip.text">text</dfn>

With this, you'd automatically get the css.properties.background-clip feature panels attached to the heading, since it has a matching URL. The background-clip:text features uses the same URL, tho, so this explicitly attaches that panel to the text definition. (If you didn't do this, then because they're both attached to the header, it'll just put both features into the same panel.)


restarting a debug session corrupts breakpoints if DA runs in EH

start VS Code
open dev tools console and enable to stop on exceptions
use this program:console.log("hello 1");
console.log("hello 2");

set breakpoint in first line and start debugging
when breakpoint is hit add second breakpoint in second line
restart debug session with "Restart" button

Observe: no breakpoint is hit and this exception occurs:

The problem is that we convert Source.paths in the DAP request's arguments into URIs "in situ" and that this affects a cache where the breakpoints are coming from. After the restart the same breakpoints from the cache are used in places that cannot deal with "Source.paths" being URIs.
The fix is to deep clone the DAP request's arguments before modifying them.


MAINT: Replace np.max with np.maximum

fixes #12696
x matches before and after this change.
from scipy import optimize
import numpy as np
optimize.fminbound(lambda x: np.array([x**2]), -np.pi, np.pi, disp=False)

Can you add a test?

What would you like it to test?
The regression test (IMO) would be that this doesn't cause a warning in numpy >= 1.19 and I didn't see a lot of value in that test but I am happy to add if it is commonly done.

The OP had an example that displayed the issue.

I added a test and verified it fails before my change (and passes afterwards).

Thanks @sethtroisi.


Add --fail-at-end to functional-extension-tests Maven executions

Probably a good deal and the ci issue might not be related.

Ha! Lucky it happened to test the changes :grin:
I'll rerun that job...


Add jsDelivr hits badge

Hey, I noticed that list.js gets 6M hits per month on jsDelivr, so I thought you might like this badge.

Nice, thanks! :D


upgraded to player v8.8.1

upgraded to player v8.8.1

I just turned it off for performance reasons but think it would be good to still include so that users can easily turn it back on


About data cleaning

Hi and thank you for the great work!
May I ask if you could provide the code you used in the data cleaning process? I saw your data cleaning steps in the supplementary materials, but I don't know how operations are achieved, like "Parametric representations of patches do not match their discrete mesh representation" or "Over-segmentation of patches (curves) by junctions whose neighboring patches (curves) have identical types and geometry".

I've checkout from MSRA and this part of code is missing, sorry for the inconvenience.
"Parametric representations of patches do not match their discrete mesh representation": For example, the parametric representation of a sphere is (x-c)^2 = r where c is its center and r is its radius. You can also get the exact triangle mesh of the sphere from the ABC *.yml file. If the points in the triangle mesh do not satifies (x-c)^2 = r, we will treat the model invalid and abandon it.
"Over-segmentation of patches (curves) by junctions whose neighboring patches (curves) have identical types and geometry":

For example, the two red dashlines split the cylinder into two patches, and those two patches share the same parametric representations, in this case we will remove these two dashlines

For CAD models with several disconnected components (e.g. a cylidner and a cube which share no common faces), we split the model to several connected component. For each connected component, we use CGAL to judge whether the triangle mesh is self-intersected. All models with self intersection are removed from the dataset.

Thank you! I noticed that there is a sub-index in the ID of some samples in your dataset, such as 00861147_0, 00861147_1, and 00861147_2. This seems to refer to the several components separated from the sample 00861147. How is the order of these components (0, 1 or 2) determined?

We sort the components of a model according to the number of its vertices in descending order.

Thanks a lot! I will have a try.


missing "" at the end of "|"

xcodebuild -destination 'platform=iOS Simulator,name=iPhone 8' \
  -sdk iphonesimulator -project YourProject.xcodeproj \
  -scheme Chuck -configuration Debug \
  clean build \
  OTHER_SWIFT_FLAGS="-driver-time-compilation \
    -Xfrontend -debug-time-function-bodies \
    -Xfrontend -debug-time-compilation" |  <- should have "\" here?
tee profile.log

It shouldn't be needed after a pipe operator. I tested this under Bash and zsh. What shell do you use?

without \, it will hang indefinitely

my zsh:
zsh 5.3.1 (x86_64-apple-darwin17.0.0)

with \

I'm somehow not able to reproduce this.
Does this not return the correct result for you too?
echo "1\n2" |
wc

I have the same issue. Should use '' after '|'.
Shell: fish.

Thanks for reporting! Should be fixed now on master.


build: use sccache

:tada: This PR is included in version 0.32.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


#28830 added list_to_queryset function

Thanks for the idea, however, as explained in the ticket, I don't think this should be included in Django.


check should display affected snapshots

Output of restic version
restic 0.11.0 (v0.11.0-248-g031709e6-dirty) compiled with go1.14.7 on linux/amd64
What should restic do differently? Which functionality do you think we should add?
If check shows some errors, display which snapshots are affected by these errors.
What are you trying to do? What problem would this solve?
Make troubleshooting easier for users. ATM users get list of defect pack files or missing/corrupt blobs and it is pretty complicated to find out which snapshots are actually affected. It would help a lot to get the list of affected snapshots directly from check
Did restic help you today? Did it make you happy in any way?
Sure :smile:

Is a duplicate of #720 (sorry, didn't find that earlier) but still relevant for version 0.11.0...

Is a duplicate of #720 (sorry, didn't find that earlier) but still relevant for version 0.11.0...

I can propose to work on this, but I want to wait for #3106 to be merged...

I can propose to work on this, but I want to wait for #3106 to be merged...

@aawsome Then let's track this feature in it's original issue ;-) . I agree that it would be better to wait until #3106 is merged.

@aawsome Then let's track this feature in it's original issue ;-) . I agree that it would be better to wait until #3106 is merged.


"Percent to hide" property not working

As soon as I have any amount of watch progress on a video it will get hidden.
I have tried using different percentages (normally would use 100) to no avail.
It also seems like even when clearing watch progress videos will not always re-appear. From what I can tell it works if I use "clear watch progress" but not if I open the video and put the progress bar to zero manually - but I am not entirely sure about that.
I am not sure if this appeared recently or if it just took some time for me to notice
I am using latest stable Firefox version on W10.
Thanks for your work.

It also seems like even when clearing watch progress videos will not always re-appear. From what I can tell it works if I use "clear watch progress" but not if I open the video and put the progress bar to zero manually - but I am not entirely sure about that.

That is on Nebula's side unfortunately, since I can only use their progress indicator.
As for the other things, I'll have to check, I thought it was working fine until recently...

I just tried to reproduce it and it seems to work fine:

Watching a bit further, it was then hidden (screenshot with hiding disabled):

This has led me to another bug though, due to a change in the API. But the behavior is the same. Firefox 112.0.2 (64-bit).
If you really sure that the video shouldn't be hidden, can you please post information from the console here: Please open the browser console (DevTools, e.g. by hitting F12 and switching to the console tab), enable debug log (upper right), reload the page (where you expected to see the video) and try to copy all the messages

Please re-open if you still have problems

Please re-open if you still have problems

Hey,
Sorry I was on vacation these last couple days.
I still have this problem. I watched a couple seconds off the most recent video in my feed and it disappeared.
Rest of the hidden videos are hidden as they should as they have reached 100%.
Here are the logs:
Youtube: true Theme: null visitedColor: #6fbce6
Hiding 0 creators 	videos? true with perc watched: 100 [content_script.js:1:63495](moz-extension://b3546a4f-f282-47a9-b73f-ed06fe799c10/scripts/content_script.js)
Detected theme null [content_script.js:1:63684](moz-extension://b3546a4f-f282-47a9-b73f-ed06fe799c10/scripts/content_script.js)
playbackChange: 0.1 autoplay? false autoplay in queue? true
volume scroll? false change: 0.1 log? false show? true
use first subtitle? true<EMAIL_ADDRESS>Navigating to page myshows from <empty string><EMAIL_ADDRESS>Loading finished for page myshows<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 16 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 19 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 20 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 17 watched video(s<EMAIL_ADDRESS>Hiding 0 video(s) by hidden creators<EMAIL_ADDRESS>Hiding 12 watched video(s<EMAIL_ADDRESS>

Hm, you have it set to 100, so it shouldn't hide any videos actually.
I don't know how I missed that, but apparently the problem occurs on the "My Library" page. The video should still appear on the "Videos" page. I'll look into it.

Apparently I missed another change in the API, dump mistake. I'll release another version soon.


Cant install role do1jlr.restic

I am having trubole installing the role do1jlr.restic becuse it does not exist in galaxy.

Yess, sorry. I have to cleanup this mess some day but did not find the time for it.
Since ansible switched to galaxy-ng I was no longer able to publish my roles to the do1jlr namespace and all roles moved automatically to the roles-ansible namespace.
https://galaxy.ansible.com/ui/standalone/roles/roles-ansible/restic/
ansible-galaxy role install roles-ansible.restic

Okay thanks,
So the right role is then roles-ansible.restic?
Ansible is now failing on "TASK [roles-ansible.restic : (PREPARE) Ensure restic directories exist]" due to "chgrp failed: failed to look up group mygroup" do you know if this is somting that is missing whit my user or is this a error whit the role?

I figerd out that this is a issue when the user and group name are not the same.


manual merge

OPS Build status updates of commit 6082127:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/msftdynamicsgpdocs, working directory: W:\nucy-s, target branch: live, target branch commit: 5c24c55360c0f580de8e1081a0c5cffb73fa48ba, source branch: master, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 71d4718:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-gp/payroll/AdvancedPayroll.md
:warning:Warning
View
Details

dynamics-gp/installation/SystemSetup.md
:white_check_mark:Succeeded
View

dynamics-gp/payroll/AdvancedPayroll.md

Line 331: [Warning] Invalid file link:(~/payroll/media/4be45bdfbfa7fa5b8e5e1273c99fe1ca.jpg).
Line 375: [Warning] Invalid file link:(~/payroll/media/1b7a7d0d2105d38b4f108fcbcae8a9ea.jpg).
Line 427: [Warning] Invalid file link:(~/payroll/media/3682febe7f8380e092213bf04723673a.jpg).
Line 571: [Warning] Invalid file link:(~/payroll/media/38faa911c7b27828dae0557600159f32.jpg).
Line 668: [Warning] Invalid file link:(~/payroll/media/1859a5d77be20b8a7241e4ea2624640f.jpg).
Line 708: [Warning] Invalid file link:(~/payroll/media/48e1813c069cc3809e85f08cf7e45bcb.jpg).
Line 837: [Warning] Invalid file link:(~/payroll/media/1496d6c0f31bccc37099c5590b1b3092.jpg).
Line 860: [Warning] Invalid file link:(~/payroll/media/7977806af2f0ec351776e5cb71069fb1.jpg).
Line 1162: [Warning] Invalid file link:(~/payroll/media/10d43b370e55069491f108e962d29310.jpg).
Line 1191: [Warning] Invalid file link:(~/payroll/media/0a40d3be32d5491e1636f612d457a794.jpg).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


NIFI-3483 Added import statement to resolve failing tests.

PR 1566 added NumberFormat to fix a locale-dependent test but missed the import statement.
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Thanks for the quick verification. I need a committer but I think @apiri is on it.

Yeah, sorry about this.  Serves me right for trying to eyeball the merge.  Will get this in.  Thanks

Aldrin's having a long day. The merge was successful but did not include the magic incantation to close the PR. Closing manually. Thanks all for the quick response.


docs: update FunctionParameters guide link

[x] I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Update url for FunctionParameters

Additional context & links

https://github.com/openai/openai-node/blob/master/src/resources/chat/completions.ts

Thank you for bringing this to our attention!
This comment is auto-generated from our OpenAPI spec – I've just opened up a fix for that internally and the fix should make it's way to this repo in the next few days.


fdescribe / fit shows redlines on the entire block

when using focused tests, vscode will show redlines on the entire focused blocked, instead of just showing it on the fdescribe / fit line
it is forcing me to disable eslint while working on specific tests
see example:

The reason is that the error is reported that way from the ESLint npm module (https://github.com/eslint/eslint) and so far I was very reluctant tempering with any of the information. I see your problem but I have no knowledge about when it would be appropriate to shorten the error range and when not.
Any objection to close this?


Switch to using wildcard matches for keywords

Just a small update to use like in the keyword filter in get_experiments to allow for more flexibility when searching keywords.
Notably it would mean access-om2-01 and access-om2 could be matched with access-om2%

Can you see any problems with this @angus-g? You mentioned the idea of more flexible matching, and when @aekiss asked about wildcards I realised it would be pretty easy to support with a small change.

😕
Are you suggesting I add some tests with more SQL wildcards for completeness?

I don't think that's strictly necessary. I meant more that it cements using - as the inter-word separator in keywords — if we were using underscores in keywords, maybe a query would be broader than expected, somehow.
Perhaps just worth noting that it's a wildcard query in the docstring?

Definitely worth mentioning in the doc string. Thanks.


sway: respect systemdSupport and dbusSupport

This patch causes sway to honor the systemdSupport and dbusSupport attrs.
The default behavior (if these attrs are undefined) is unchanged.
I have verified a full rebuild (from the bootstrap tarball) of this PR plus https://github.com/NixOS/nixpkgs/pull/160967 plus https://github.com/NixOS/nixpkgs/pull/161017 plus systemdSupport=false on top of https://github.com/NixOS/nixpkgs/commit/65c8149cb14200c172782ede4219f53ee1d751dd.
NOTE: I was unable to test this patch against master because it has upgraded to sway-1.7, which requires meson-60.0.  As the nixpkgs meson provider explains it, "Meson is a delicate package.".  I wasn't able to backport meson-60 to nixpkgs-21.11 to allow for testing.
Motivation for this change
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

This doesn't evaluate because you haven't added the basu dependency.  (Do we even have a package?)
But either way, I think systemd will still be linked by dependencies?  Do they all have options to disable systemd already?  Otherwise I'm not sure what the benefit is.

This doesn't evaluate because you haven't added the basu dependency.

Really?  It evaluates for me against master and builds against 21.11.  I'm trying a full build now against master but that's like 50 derivations, will take a few hours.
What error message did you get?

(Do we even have a package?)

No, that's just sway's goofy way of saying "I don't want a session-bus".  Check meson_options.txt, there isn't a "none" option.  The way you write "none" is "basu".  I don't think it makes any sense either, but I found it on some mailing list somewhere and it definitely works; I've been running this on all my machines (laptop, two workstations) for two months now.

But either way, I think systemd will still be linked by dependencies?

It definitely isn't linked by dependencies on my system.  But I am not done upstreaming patches.  Please be patient.
The fact that I was able to pull this off with so little effort was what sold me on nix.

I've pushed an additional patch onto this branch that should make it easier to understand sway's awkward configuration option naming scheme.  Hopefully it is more understandable.

But either way, I think systemd will still be linked by dependencies?

It definitely isn't linked by dependencies on my system. But I am not done upstreaming patches. Please be patient.
The fact that I was able to pull this off with so little effort was what sold me on nix.

Okay, I've submitted 12 pull requests, all very short.
If you apply all 12, and add the four lines below to your overlays.nix, you'll get a fully-functional linux userspace (sway, ungoogled-chromium, firefox, qutebrowser, emacs, alacritty, etc) without systemd anywhere, not even a compile-time dependency.  Verified with nix-tree on my "myPackages" derivation.
  (final: prev: { systemdMinimal = prev.eudev; })
  (final: prev: { systemd = prev.systemdMinimal; })
  (final: prev: { udev = prev.systemdMinimal; })
  (final: prev: { polkit = null; pcsclite = null; })

It is possible.
The same is possible for dbus.  Let's work through the systemdSupport PRs first.

I'm almost finished with a full rebuild (from the bootstrap tarball) of this PR plus  #160967 plus systemdSupport=false on top of 65c8149cb14200c172782ede4219f53ee1d751dd.

Thanks for the review!  I have applied your three recommended changes and pushed a collapsed single-commit PR.

First commit: I'd use sway: Add systemdSupport and dbusSupport or sway: Make systemd and D-Bus optional ("honor" seems inappropriate to me as those parameters didn't exist before).

Actually they did!  They are top-level parameters that you can set in config.nix -- this is where I set them.  That's why it's important to use the same name dbusSupport across packages, rather than some packages calling it enableDbus or useDbus or something else.
I've changed the title to "respect" in case that carries less connotation?  Another possibility would be "don't ignore".  But it is a globally-configurable option that long predated this PR.

A few sentences in the body for the motivation/use-case would also be very nice and useful.

I'm have very deliberately not done that, because for some reason people get very emotional about systemd.

I assume you're using (Free)BSD or another systemd-less OS?

I don't think my personal computing setup belongs in the commit message, but since you asked:
I've been running systemd-less, dbus-less Linux since the 1990s, and have used runit for process supervision since before systemd existed (I'm currently migrating from runit to s6, which is quite similar to runit but has many improvements).  It is sort of incredible how many people think that this is somehow impossible or defies the laws of physics.  When people express disbelief, I have to carefully distinguish between those people who are genuinely curious about how this works and other people who get very angry and upset at me for daring to use Linux without systemd and dbus.  I have a feeling some of the latter kind will probably come out of the woodwork to heckle me now that I've confessed this.
Currently I use this setup on my laptop, two workstations, eight or nine headless routers, and two headless build-farm machines.  I like it a lot.

Latest push is explained here.

Very nice. We should probably extend the NixOS test to test a non-dbus
non-systemd version as well, but I don't know if you have experience with
that?

—
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/160972#issuecomment-1049260364,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABV7PJ5QB4ZXCC5X74M642LU4VK6NANCNFSM5O3SOJEQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because your review was requested.Message ID:
@.***>

Unfortunately I have not yet installed NixOS, so it is definitely beyond my abilities at the moment.
Learning NixOS is on my to-do list, but there are a few major items ahead of it -- the big ones being finishing the mips64 bootstrap and setting up a hydra instance on mips64.  Those will take some time, however, so I would prefer that it not block this.

NixOS test to test a non-dbus non-systemd version as well

I was under the impression that NixOS was rather inextricably intertwined with systemd.  I would happy to be wrong about that.
I can certainly see why NixOS needs process supervision.
If there are any efforts to make NixOS work with a different process supervisor like (s6, runit, daemontools) I would be interested in contributing to those efforts.  But I had been told that something like that was not particularly realistic, and would not be well received by the NixOS community.  I am not looking to stir up trouble.

I was under the impression that NixOS was rather inextricably intertwined with systemd. I would happy to be wrong about that.

Well yes, but you can still test that the non-systemd version of sway works even if you are running on systemd.

Ping...
(I implemented the three changes requested by @primeos, but github still says "1 change requested: primeos requested changes" -- I guess this is because I wrote and committed the changes outside the github UI rather than using the web interface?)

Merged, thanks for your PR :)

Thank you!

(Edit: Not quite sure if we should also propagate dbusSupport through via sway-unwrapped.override { inherit isNixOS enableXWayland; }; but we could always re-visit that later if necessary/useful and it should be good to go for now.

I'm not yet using NixOS (just nixpkgs) so I at the moment I can't test that properly.

Another nit would be trayEnabled ? systemdSupport && dbusSupport.)

Implemented in PR #163402


Fields/Gallery?

I haven't found any documentation about what field types are available. Did I miss it in the docs?
For example, how do I add multiple files to a page?

gallery implemented in 0.9.3


add restart integration test to cargo workspace

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[x] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[ ] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary

Other information
Allows it to re-use most the dependencies already compiled when running cargo test. For some reason it still re-compiled wry (+gtk,gio,ect...) and the tauri crates  even though I thought they would be immediately usable.
Mostly useful on clean builds, like CI. I noticed it most when using my 2 core cpu for testing other build-time related stuff.

hmm, that test didnt fail locally on linux for me. checking

@chippers the test wasn't failing locally because you had the core/tests/restart/target folder already compiled; I've fixed it but I wish there was a better way than just using OUT_DIR (maybe there is one).


Update Pages “portfolio”

Automatically generated by Netlify CMS

👷 Deploy Preview for nervous-engelbart-a15395 processing.
🔨 Explore the source changes: 11a6ae3c9a034e5c51c38f93abcae80492978ee5
🔍 Inspect the deploy log: https://app.netlify.com/sites/nervous-engelbart-a15395/deploys/61b2c0b3d233010009d7705a


Achievement: Goal System Rework

Description
Refactor goal system to meet the new backend goal requirements.
Please refer to this Google Doc for details.
Important
The following lines in GameUserStateManager require changes after the backend is updated.
Created an issue as a reminder: #1438
cc: @anthony-halim @sciffany
https://github.com/source-academy/cadet-frontend/blob/0204b1fa9936fc59b8cd6584bfa1bbd4b2b4a449/src/features/game/state/GameUserStateManager.ts#L91-L97

Pull Request Test Coverage Report for Build 7125

117 of 176 (66.48%)  changed or added relevant lines in 17 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.2%) to 34.318%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/commons/achievement/AchievementCard.tsx
0
1
0.0%

src/commons/achievement/AchievementOverview.tsx
0
1
0.0%

src/commons/achievement/control/editorTools/editableUtils/goals/EditableAchievementGoal.tsx
0
1
0.0%

src/commons/achievement/control/editorTools/editableUtils/goals/EditableAchievementGoals.tsx
0
1
0.0%

src/features/achievement/AchievementActions.ts
11
12
91.67%

src/features/achievement/AchievementReducer.ts
0
1
0.0%

src/commons/achievement/utils/AchievementInferencer.ts
78
93
83.87%

src/commons/sagas/RequestsSaga.ts
0
17
0.0%

src/commons/sagas/AchievementSaga.ts
4
25
16.0%

Files with Coverage Reduction
New Missed Lines
%

src/commons/achievement/AchievementCard.tsx
1
0%

src/commons/achievement/utils/AchievementInferencer.ts
1
83.5%

Totals

Change from base Build 7118:
0.2%

Covered Lines:
2382

Relevant Lines:
6442

💛  - Coveralls


I need ideas for extensions

my only ideas are my websites API but that isn't even remotely useful for anyone or WebGL

Have you heard of SupaBase, if not, you should make a supabase API extension, it uses a url and apiKey, I also made one too
Also I just came here because you needed ideas

I got an idea, vectors (math not svgs)

I got an idea, vectors (math not svgs)

Ooo you could do that but how

Create and delete folders, create and delete files, just like in OS.
Download and upload.
I want such an extension.

Create and delete folders, create and delete files, just like in OS. Download and upload. I want such an extension.

Doesn't that already exi- ohhhhh i get it

Create and delete folders, create and delete files, just like in OS. Download and upload.  Only ZIPs. Which an extension exists for that. However for deleting files and opening folders, you can use my Files Expanded extension, found at:
https://sharkpools-extensions.vercel.app/

Create and delete folders, create and delete files, just like in OS. Download and upload. I want such an extension.

rxFS. That's just rxFS.

Above comment is incorrect. rxFS is not useful for what they're asking for.

Above comment is incorrect. rxFS is not useful for what they're asking for.

1: That was QUICK
2: Oh. I thought they meant a simulated file system. ¯_(ツ)_/¯

Above comment is incorrect. rxFS is not useful for what they're asking for.

1: That was QUICK 2: Oh. I thought they meant a simulated file system. ¯_(ツ)_/¯

I Guess?

Maybe you could do my idea https://github.com/TurboWarp/extensions/issues/1766#issue-2702536736

Maybe you could do my idea #1766 (comment)

That's very hard

true but it would been cool to see

Maybe you could do my idea #1766 (comment)

That's very hard

true but atleast it would been cool to see

true but it would been cool to see

Maybe you could do my idea #1766 (comment)

That's very hard

true but atleast it would been cool to see

Yea, I do agree with the idea


Fix mysql migration

Originally posted by @alexef:  https://github.com/woodpecker-ci/woodpecker/commit/ca8e215cfa238f29b137b2ff93b704ca8db2f16f#r103543149
It seems mysql is not supporting DROP INDEX IF EXISTS which is currently used by https://github.com/woodpecker-ci/woodpecker/blob/master/server/store/datastore/migration/000_legacy_to_xorm.go#L110

@anbraten Can this be closed?

Its still in the code.


WIP: test on self-hosted, sgx

Closes: #13

this is also ready for review but I will drop 47dc092a4931eb979800bb046f9584d731599f3a once #127 is merged


fix(sinsp): use the right cgroup when detecting rootless podman

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area API-version

/area build

/area CI

/area driver-kmod

/area driver-bpf

/area driver-modern-bpf

/area libscap-engine-bpf

/area libscap-engine-gvisor

/area libscap-engine-kmod

/area libscap-engine-modern-bpf

/area libscap-engine-nodriver

/area libscap-engine-noop

/area libscap-engine-source-plugin

/area libscap-engine-savefile

/area libscap-engine-udig

/area libscap

/area libpman

/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it:
0d4e479cd17a9b391f742705149c2a043b41165b had a bug which prevented it from actually working for rootless containers
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Sorry :)
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gnosek
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [gnosek]

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

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gnosek, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra,gnosek]

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

LGTM label has been added.  Git tree hash: 53354f53cb5e176d48448147d38a7a9ac56997c6

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, gnosek, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,LucaGuerra,gnosek]

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


Mythril cannot identify imported openzeppelin contracts in foundry project.

My mythril.solc.json file looks like this:
{
  "remappings": [
    "@openzeppelin/contracts/access/=lib/openzeppelin-contracts/contracts/access/",
    "@openzeppelin/contracts/utils/=lib/openzeppelin-contracts/contracts/utils/"
  ],
  "optimizer":{
    "enabled": true,
    "runs": 500
  }
}

The error i get:
abinash@hacek:~/Desktop/Lottery$ myth analyze ./src/Lottery.sol --solc-json mythril.solc.json
mythril.interfaces.cli [ERROR]: Traceback (most recent call last):
  File "/home/abinash/.local/lib/python3.10/site-packages/mythril/interfaces/cli.py", line 966, in parse_args_and_execute
    address = load_code(disassembler, args)
  File "/home/abinash/.local/lib/python3.10/site-packages/mythril/interfaces/cli.py", line 717, in load_code
    address, _ = disassembler.load_from_solidity(
  File "/home/abinash/.local/lib/python3.10/site-packages/mythril/mythril/mythril_disassembler.py", line 297, in load_from_solidity
    for contract in get_contracts_from_file(
  File "/home/abinash/.local/lib/python3.10/site-packages/mythril/solidity/soliditycontract.py", line 132, in get_contracts_from_file
    yield SolidityContract(
  File "/home/abinash/.local/lib/python3.10/site-packages/mythril/solidity/soliditycontract.py", line 197, in __init__
    ).extract_features()
  File "/home/abinash/.local/lib/python3.10/site-packages/mythril/solidity/features.py", line 31, in extract_features
    all_require_vars.update(modifier_vars[modifier["modifierName"]["name"]])
KeyError: 'Ownable'

Can you try it with the develop version of the code and see if the issue still persists?

Yes, it is still persist.

Did you try v0.22.2?

I have the same issue
ParserError: Source<EMAIL_ADDRESS>not found: File not found. Searched the following locations: "".
 --> /nftTradingCards/src/Factory1155.sol:6:1:
  |
6 | import {AccessControl} from<EMAIL_ADDRESS>

Hi @derawl , this is a different issue, can you log a bug report for this?


Allow React function bindings to return values from jslib calls

Pull request for https://github.com/jeffreylanters/react-unity-webgl/issues/40 (re-opened for branching from master instead of dev)

@jeffreylanters This one is branched from master - let me know if it's okay


When workers falls master do not know about it.

When the Mist worker falls (killed from Mesos).  The Mist master thinks that the worker with jobs is still working.
(manual mode, exclusive workers on separate nodes started through singularity on Mesos cluster)

It also happened in (local mode, exclusive workers)

fixed by #426


Make library imported using Import Library available for the rest of the suite

I am calling Import Library keyword in the __init__.robot:Suite Setup (Not the Settings.Library because I'm getting library address only at runtime):
*** Settings ***
Suite Setup  Global Suite Setup

*** Keywords ***
Global Suite Setup
    Import Library  Remote  ${addr}:${port}  WITH NAME  MyLib
    MyLib.My Method  # <- this works

However, when I'm trying to access library from test cases inside this suite, it's not available:
tests/
  __init__.robot
  01__Basic.robot

01__Basic.robot:
*** Test Cases ***
Basic Test Case
    MyLib.My Method  # <- Gets error

Is this intended? Can I make my library available to whole suite and all nested suites?

It's a design decision that imports in init files aren't seen by child suites. It's the same with normal imports and with Import Library. The reason is that otherwise changes to init files could have undesirable effects to child suites and we believe it's better to have explicit imports. Imports being seen by child suites would have some benefits, but I believe the problems, including backwards incompatibility problems, would be bigger.
If you always run the whole directory, you can use Set Global Variable in your init file and then import the library normally in child suites.


ToggleSwitch - fix position of accessibility icons

Step-by-Step Guide to reproduce

Open the ToggleSwitch in Storybook
Compare it to ToggleSwitch in Design
See that positioning of accessibility icons is off

Bug Description / False Behaviour
Positioning of accessibility icons in coded ToggleSwitch component is not as defined in design.

Correct Behaviour
Positioning of accessibility icons in coded ToggleSwitch component is as defined in design.

Testing
Check existing unit tests of the component(s) and adjust the tests to prevent this bug from occurring again in the future, if you see a way.

Background
Add more background information here, if needed

Will be done within #875


is it maintained?

We use discord more often for discussion. It's maintained in the sense that it works with current versions of the client and someone is generally available in the discord channel if you need help.


Any plan with cameraview?

Hi I see cameraview in Google's repo, do you have any plan to combine those?
https://github.com/google/cameraview

This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!


Trivial RFE: add dspy.version variable

Not a huge problem, but it would be nice if we could introspect on the dspy version.

@hmoazam I wonder how easy for this to work with the way we publish versions?

Yes we can do this, I'll take a look.

Solved: https://github.com/stanfordnlp/dspy/pull/1963


sediment-pi-zero-w-v1-c wake issues after bad weather

Log files.
logs.zip
Pending telemetry. (Pending images folder empty.)
sediment-pi-zero-w-v1-c.telemetry.pending.zip


Get price function fails if one subgraph is not responding

I should get the price for the assets with an available subgraph. We probably need a try catch in a for

i am blind, it works ok


Merging latest changes from main voodootikigod repo

Contains:

Latest changes from upstream branch.
Change to enable serialport on IoT that hasn't changed - https://github.com/ms-iot/node-serialport/commit/e4d548b026a6a1d353ba67a1ec3cd46900a5a1ad

@kunalspathak @ooeygui I need 2 sign-offs

Changes in src/serialport_win.cpp looks good to me. :smiley:

+1


Implemented some feature

Implemented:

Some
Feature

@asbjornu This looks good, but I have a few comments above.


Properly configure tracing in upgrade test toml configurations

also remove the deprecated usage of .Namespace in the toml file and
use ForwarderTarget

If tracing is not properly configured in toml then the default (no-op) tracing is used.

Release Note

Docs

/test upgrade-tests_eventing-kafka-broker_main

/test upgrade-tests_eventing-kafka-broker_main

I think there is something wrong with this patch, perhaps the target change is the problem? :thinking:

/remove-lifecycle stale


Add compatibility with earlier versions

https://github.com/aetrion/erl-dns/pull/67
Interface of put_zone/1 function was changed in this commit.

LGTM


MLHR-1857 License header format

This PR formats all files with the ASF license header (exclusions listed in pom.xml).
@sashadt @andyperlitch There are a large number of demo UI files in this repository, some of them may be dead? Can you please check that the header changes on those files are correct and don't break anything.
@sandeepdeshmukh Please look at the .R files.
The goal is to get these changes in soon so before branching 3.2.0

@vrozov please review. If there is no other feedback, it would be nice to get this merged within the next days.

I'll wait till Friday for the feedback.

I're reviewed, and we can skip all the web demos.  I've opened PR to delete web/ folder from this request against your branch, @tweise


Implement wrapper for rbd_diff_iterate function(s)

Hello,
Really appreciate  all work you've done but is there any chance of realization diff_iterate function in rbd package.
Thanks.

@pymhd  Absolutely agree, that would be really useful

@madbananas @pymhd just wanted to follow up on this issue. Is this still something you'd like supported?

@noahdesu Absolutely. It would be really great. Thank you.

@pymhd  @madbananas  please take a look at our PR #177 if you care to. This is your opportunity to check out the API we're adding and ask any q's about the design prior to us merging it. Thanks.


Unsound sending of non-Send types

Continued from https://github.com/rustsec/advisory-db/pull/1846.
Repro of data race causing segfault in safe code:
use std::cell::Cell;
use std::thread;
use threadalone::ThreadAlone;

struct Corrupt<'a>(&'a Cell<String>);

impl<'a> Drop for Corrupt<'a> {
    fn drop(&mut self) {
        self.0.set(".".repeat(40));
    }
}

fn main() {
    let cell = Cell::new(String::new());
    thread::scope(|s| loop {
        let bad = ThreadAlone::new(Corrupt(&cell));
        s.spawn(|| drop(bad));
        cell.set(String::new());
    });
}

$ cargo build && target/debug/testing >&2 2>/dev/full
Segmentation fault (core dumped)

This is the Drop impl in question:
https://github.com/cr0sh/threadalone/blob/457fd19bd9dd8fabf48ade9885503bf25e23d9b5/src/lib.rs#L161-L166
The intended behavior of this Drop impl was:

If correct thread, then drop T
If incorrect thread, then print and abort

whereas the actual behavior implemented in the above code is:

If correct thread, then drop T
If incorrect thread and stderr is writeable, then print and abort
If incorrect thread and stderr is not writeable, then drop T and unwind

See https://doc.rust-lang.org/1.75.0/std/macro.eprintln.html where it calls out that eprintln can panic.
A non-panicking eprintln would look like _ = writeln!(io::stderr(), ...).

Oh wow, nice catch. Will publish a fix later today. If you prefer, you can commit and submit a PR then I'll merge it. (Or I'll do on my own and leave a credit)
Actually I didn't consider that eprintln can even fail 😂 In macOS there's no /dev/full so didn't understand your intent at first glance

Hey @cr0sh, is a fixed version coming soon?
I see you have yanked affected versions already, would you be OK with me merging https://github.com/rustsec/advisory-db/pull/1846 before a fix is published?

@ShnatselI I published 0.2.1 which resolves the request. I'm not familiar of the process about rustsec, but I think you can merge the PR.
@dtolnay I did with myself and leaved a credit on ec42d1ad4427f9b2903be733d6e1f8ce982717cb. Thanks again!


This is impossible to get stacktrace of gesture exception

When an error occurs at execution of GestureRecognizer.invokeCallback, FlutterError.reportError calls _WidgetInspectorService._reportError istead of overriden FlutterError.onError. Impossible to log this error by own logger.
onTap:  () {           throw Exception("sdfdfdf");         }
════════ Exception caught by gesture ═══════════════════════════════════════════════════════════════
The following _Exception was thrown while handling a gesture:
Exception: sdfdfdf
When the exception was thrown, this was the stack:
#0      SavedSearchesList._buildSavedSearch. (package:epm_ingm_b2b/src/ui/widget/saved_search/ss_list.dart:49:11)
#1      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:706:14)
#2      _InkResponseState.build. (package:flutter/src/material/ink_well.dart:789:36)
#3      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
#4      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
...
Handler: "onTap"
Recognizer: TapGestureRecognizer#8f3b4
debugOwner: GestureDetector
state: ready
won arena
finalPosition: Offset(157.7, 435.0)
finalLocalPosition: Offset(157.7, 39.4)
button: 1
sent tap down
instead of my implementation of ErrorHandler

Hi @DenisovAV
I'm not sure this issue is intended as
a bug report for GestureRecognizer.invokeCallback
or a proposal.
Can you help me to clarify
thank you

Hi, @iapicca
Thank you for your answer. I've found an already created issue with the same question.
This is #44440
Will watch it and waiting for an answer


Bug in cal_dious_3d function

.Bug was found when I use the cal_iou_3d() .  IoU result of two bbox3d will get wrong when the angle = np.pi/4 , but get correct when the angle = np.pi/4 + 1e-6. Following is my test case:
import torch
from oriented_iou_loss import cal_diou_3d

x = torch.tensor([0., 0., 0., 2., 2., 2., np.pi/4]
                 ).view(1, 1, 7).cuda()
y = torch.tensor([0., 0., 0., 2., 2., 2., -np.pi/4]).view(1, 1, 7).cuda()

_, iou3d = cal_diou_3d(x, y)
## iou3d = 0 , wrong

x = torch.tensor([0., 0., 0., 2., 2., 2., np.pi/4+1e-6]
                 ).view(1, 1, 7).cuda()
y = torch.tensor([0., 0., 0., 2., 2., 2., -np.pi/4+1e-6]).view(1, 1, 7).cuda()

_, iou3d = cal_diou_3d(x, y)
## iou3d =1, Right

Hi, I cannot reproduce this bug. I got iou3d=1 in both cases.
Did you use the latest version of my code? I fixed some bugs several months ago. Please consider pulling this repo again and re-compiling the CUDA extension. Also, you might need to delete the generated files under cuda_op before the re-compilation.


munkiinfo - PHP 7.2.2 Deprecation warning

The munkiinfo module throws a deprecation warning when using PHP 7.2.2. The module appears to still run and process data, but it may stop working in the future. Error message is below
Deprecated:  The each() function is deprecated. This message will be suppressed on further calls in ../munkireport-php/app/modules/munkiinfo/munkiinfo_model.php on line 47

could you test if the commits fix the issue?

This issue has been resolved.


KAFKA-10468: Fix CNFE on deserialization of Log4jController#getLoggers

@mimaison this one is really trivial, grateful if you could take a look.

This is a duplicate of https://github.com/apache/kafka/pull/9182

Thanks @ijuma


Cargo (Rust) is a very old version v0.13.0-nightly

Is there any way to update this?

@ryanpeach Have you considered https://github.com/mozilla/nixpkgs-mozilla ?

Where are you getting that version from? Are you accidentally using an old overlayed package, or picking it from an ancient channel?
$ nix-shell -I nixpkgs=channel:nixos-19.09 -p cargo --run 'cargo -vV'
cargo 1.37.0
release: 1.37.0
nix-shell -I nixpkgs=channel:nixos-unstable -p cargo --run 'cargo -vV'
cargo 1.39.0
release: 1.39.0

# Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).

{ config, pkgs, ... }:

{

  # The global useDHCP flag is deprecated, therefore explicitly set to false here.
  # Per-interface useDHCP will be mandatory in the future, so this generated config
  # replicates the default behaviour.
  networking.useDHCP = false;
  networking.interfaces.wlp1s0.useDHCP = true;

  # Configure network proxy if necessary
  # networking.proxy.default = "http://user:password@proxy:port/";
  # networking.proxy.noProxy = "<IP_ADDRESS>,localhost,internal.domain";

  # Select internationalisation properties.
  i18n = {
    consoleFont = "Lat2-Terminus16";
    consoleKeyMap = "us";
    defaultLocale = "en_US.UTF-8";
  };

  # Set your time zone.
  time.timeZone = "America/New_York";

  # List packages installed in system profile. To search, run:
  # $ nix search wget
  environment.systemPackages = with pkgs; [
      hledger                          # For finances
      mmv                              # Batch move utility
      calibre                          # Books
      gcc                              # Standard compiler
      gnumake                          # Makefiles
      libffi
      wget                             # Downloader
      vim                              # Minimal text editor
      tmux                             # Multiplexing
      tor                              # Tor Protocol
      brave                            # Web Browser
      fortune                          # Funny sayings
      figlet                           # Big Font
      cowsay                           # Funny Cow
      screenfetch                      # Show linux info
      lolcat                           # Colors
      emacs                            # OS
      git                              # Version control system
      stow                             # Dotfiles Manager
      unzip                            # Unzips packages
      feh                              # Wallpaper Manager
      wine                             # Windows
      riot-desktop                     # Messaging
      xcompmgr                         # Window Fading
      unclutter                        # Gets rid of mouse

      # Media
      mpv                              # Media Player
      python37Packages.mps-youtube     # Youtube from terminal
      spotify # spotify-tui                      # TODO: Spotify
      steam                            # Steam

      # Rust
      rustc                            # TODO: Rust Programming Language
      rustup                           # Rust updater
      cargo                            # Rust language package manager
      rustfmt                          # Rust linter

      # Zsh
      zsh-powerlevel9k

      # Xmonad
      xlibs.xmessage
      haskellPackages.ghc
      haskellPackages.xmonad-contrib
      haskellPackages.xmonad-extras
      haskellPackages.xmonad-wallpaper
      haskellPackages.xmonad
      haskellPackages.xmobar

      # Haskell Emacs
      haskellPackages.apply-refact
      haskellPackages.hlint
      haskellPackages.stylish-haskell
      haskellPackages.hasktags
      haskellPackages.hoogle

      thefuck                          # Corrects bad bash
      ranger                           # TODO: File Browser
      # weechat                          # TODO: IRC & Matrix
      # weechat-matrix-bridge            # For the weechat matrix library
      dmenu                            # Launch bar
      rxvt_unicode                     # TODO: Terminal Emulator
      bc                               # Basic Calculator
      scrot                            # TODO: Screenshot capturing
      physlock                         # Screen locker
      stack                            # Haskell Environment Handling
      ispell                           # Spelling
      xfontsel                         # Fonts
      xlsfonts                         # Fonts
      xclip                            # Clipboard command line util
      xautolock                        # To lock the screen

      # Wifi
      networkmanager                   # For graphical wifi management
      # gnome.nm-applet

      # Python 3
      python37
      # python36Packages.poetry
      python37Packages.virtualenv
      python37Packages.virtualenvwrapper
      python37Packages.yapf
      python37Packages.flake8
      python37Packages.rope
      python37Packages.mypy

      pulseaudioFull                   # TODO: Audio
      openjdk                          # JDK
      gradle                           # Java package manager
  ];

  # IN CASE OF EMERGENCY
  # nixos-help, nixos-option
  # nix-env -qaP
  services.nixosManual.showManual = true;

  # GUI Network Manager
  # nmcli device wifi rescan
  # nmcli device wifi list
  # nmcli device wifi connect <SSID> password <password>
  networking.networkmanager.enable = true;

  # Some programs need SUID wrappers, can be configured further or are
  # started in user sessions.
  # programs.mtr.enable = true;
  # programs.gnupg.agent = { enable = true; enableSSHSupport = true; };

  # Collect nix store garbage and optimize daily
  nix.gc.automatic = true;
  nix.autoOptimiseStore = true;

  # Enable Adobe Flash
  nixpkgs.config.firefox.enableAdobeFlash = true;

  # Zsh & Bash
  programs.zsh = {
    enable = true;
    ohMyZsh = {
      enable = true;
    };
    promptInit = "source ${pkgs.zsh-powerlevel9k}/share/zsh-powerlevel9k/powerlevel9k.zsh-theme";
  };

  # Emacs
  services.emacs.enable = true;
  services.emacs.defaultEditor = true;
  services.emacs.install = true;

  # Xserver
  services.xserver = {

    # Enable the X11 windowing system.
    enable = true;
    layout = "us";
    xkbOptions = "eurosign:e";

    # X Auto Lock
    xautolock.enable = true;
    xautolock.time = 15;
    xautolock.notify = 10;

    # Display Manager
    displayManager = {
      sddm.enable = true;
      sddm.autoNumlock = true;
    };

    # Desktop Manager
    desktopManager = {
      plasma5.enable = false;
      xterm.enable = false;
    };

    # XMonad
    windowManager.xmonad = {
      enable = true;
      enableContribAndExtras = true;
      extraPackages = haskellPackages: [
        haskellPackages.xmonad-contrib
        haskellPackages.xmonad-extras
        haskellPackages.xmonad-wallpaper
        haskellPackages.xmonad
        haskellPackages.xmobar
      ];
    };

    windowManager.default = "xmonad";
  };

  # Fonts
  fonts = {
    enableFontDir = true;
    enableGhostscriptFonts = true;
    fonts = with pkgs; [
      ubuntu_font_family
      liberation_ttf
      powerline-fonts
    ];
  };

  # Define a user account. Don't forget to set a password with ‘passwd’.
  users.users.rgpeach10 = {
    isNormalUser = true;
    extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
    shell = pkgs.zsh;
  };

  # Weechat
  # services.weechat.enable = true;
  # packageOverrides = pkgs: rec {
  #   weechat = pkgs.weechat.override {
  #     configure = {availablePlugins}: {
  #       plugins = with availablePlugins: [weechat-matrix-bridge];
  #     };
  #   };
  # };

  # This value determines the NixOS release with which your system is to be
  # compatible, in order to avoid breaking some software such as database
  # servers. You should change this only after NixOS release notes say you
  # should.
  system.stateVersion = "19.09"; # Did you read the comment?

  # OpenVPN
  services.openvpn.servers = {
    nordVPN = { config = '' config /etc/nixos/openvpn/usa.ovpn ''; };
    # nordVPNP2P = { config = '' config /etc/nixos/openpn/usa.p2p.ovpn ''; };
  };

}

Thanks Ill try the mozilla overlay

@ryanpeach I suspect your old cargo version might be coming from an ancient rustup toolchain.
Please uninstall (comment) rustup, rebuild, then check again. If that changes the version number, you weren't using nixpkgs-provided cargo.

@ryanpeach Was the issue resolved?

It was, thank you so much. Commenting rustup helped.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Dmitry Kalinkin<EMAIL_ADDRESS>Sent: Thursday, December 26, 2019 5:23:48 PM
To: NixOS/nixpkgs<EMAIL_ADDRESS>Cc: Ryan Peach<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [NixOS/nixpkgs] Cargo (Rust) is a very old version v0.13.0-nightly (#75333)
@ryanpeachhttps://github.com/ryanpeach Was the issue resolved?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/NixOS/nixpkgs/issues/75333?email_source=notifications&email_token=ADRGXSL6KCS5U2LSXMLI6F3Q2U4IJA5CNFSM4JYCYXN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHWINEY#issuecomment-569149075, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADRGXSK7WVWVO3GET566DZDQ2U4IJANCNFSM4JYCYXNQ.


How about using wp-cli

How about using wp-cli  to download and install wordpress, it gives more flexibility http://wp-cli.org/

:+1:

:+1:

we have an image with that https://github.com/etopian/alpine-php-wordpress


black rectangle appearing after window resizing

nvim v0.5.0-865-gfb52790d1
sway version 1.5.1
alacritty 0.6.0 (04cbf767)
Arch 5.9.1-rt20-1-rt
this sort of stuff happens when I resize my window (for bigger) after calling :FTermToggle on opening nvim.

and this sort of stuff happens when I resize my window (for smaller) after calling :FTermToggle on opening nvim.

in both cases i have to toggle FTerm off/on to create the issue.
can you reproduce on your wm / system ?
and thanks for a nice plugin.

Ahh, I am aware of the second one and I never faced the black rectangle issue. This is how it looks like on my DE.

Currently, I don't know how to fix it. The only thing you can do is to exit the terminal and open it again.

I think the this could be used │ instead of current vertical line , and I am not sure that this is been fixed by you, I am not facing this issue

I don't remember fixing this. Although I did some changes to the borders to make it customizable.
I suppose if you are not facing this issue anymore. You can close the issue :)


IP Insights training error

Hello,
I am getting below error while training IP Insights model.
[09/22/2020 06:56:22 ERROR<PHONE_NUMBER>80800] Customer Error: Training Job failed reading dataset. Unable to parse entity or IP address correctly. See AWS Documentation to ensure data follows formatting guidelines. (caused by CParserError)

Caused by: Error tokenizing data. C error: Expected 4 fields in line 633, saw 7

2020-09-22 06:56:28 Uploading - Uploading generated training model
2020-09-22 06:56:28 Failed - Training job failed

And these are the input pairs around line 633.
1982,<IP_ADDRESS>
614875,<IP_ADDRESS>
8716,<IP_ADDRESS> ( line 633 )
1030,<IP_ADDRESS>
67707,<IP_ADDRESS>

@SomnathSI - Would you be able to help with this?
Thanks!

Ignore this issue. I was having a few pairs in this format -
3769,"<IP_ADDRESS>, <IP_ADDRESS>"


Subscription could not be loaded

Storage Explorer Version: 1.12.0
Build Number: 20200116.10
Platform/OS: Windows 10
Architecture: x64
Regression From:  This is the first time I downloaded Storage Explorer
Bug Description
I downloaded the explorer and launched it for the first time as admin under corporate wifi. I succeeded in logging in my corporate Microsoft account but  subscription could not be loaded. I have tried relaunched it, reentered credential, removed and readded my account but nothing changed.
storage explorer error.txt
Steps to Reproduce
I have described above.
Expected Experience

It should be like this:

Actual Experience
Mine is like this:

Additional Context
I'm not sure if my corporate network has anything to do with this problem.

@aokiyuriko it looks like Storage Explorer is trying to talk to a proxy at <IP_ADDRESS>:80 before going to Azure.
This proxy information is most likely coming from an environment variable at your OS level. Can you check for HTTP_PROXY or HTTPS_PROXY environment variables?

@aokiyuriko it looks like Storage Explorer is trying to talk to a proxy at <IP_ADDRESS>:80 before going to Azure.
This proxy information is most likely coming from an environment variable at your OS level. Can you check for HTTP_PROXY or HTTPS_PROXY environment variables?

Thanks I stop using proxy and then it goes right.


redirects can trick crawler into visiting robots.txt-denied pages

url to reproduce: https://upv.gov.cz/Twitter


[feature request] easier API to set table properties

Feature Request / Improvement
Background
Currently, there are two ways to set table properties.

in create_table, pass in properties as dictionary
https://github.com/apache/iceberg-python/blob/29fd42c9b81db2bde66b81ead231408dcd60661c/tests/catalog/test_sql.py#L168

using table set_properties transaction, pass in as key/value pair
https://github.com/apache/iceberg-python/blob/29fd42c9b81db2bde66b81ead231408dcd60661c/mkdocs/docs/api.md?plain=1#L483-L484

With the introduction of TableProperties, it would be great to make overriding table properties easier.
With the current methods, we can only override table properties during create_table since this is not valid python:
with table.transaction() as transaction:
    transaction.set_properties(TableProperties.PARQUET_ROW_GROUP_SIZE_BYTES=1000)

Proposed solution
Allow set_properties to take in a dictionary. And also allow the dictionary value to be non-string type (similar to #469)
with table.transaction() as transaction:
    transaction.set_properties({TableProperties.PARQUET_ROW_GROUP_SIZE_BYTES: 1000})

Another workaround can be to use
with tbl.transaction() as transaction:
    transaction._apply((SetPropertiesUpdate(updates=properties),))

I think this is a great idea @kevinjqliu . Most of the table properties have . in the key anyways, and hence we can't pass them as kwargs anyways. Changing the input parameter to a dictionary feels a lot more straightforward.

Hi @kevinjqliu @syun64 I think currently we can also set properties using dictionaries, just need ** in front of the dictionary:
properties: Dict[str, str] = {...}
with table.transaction() as transaction:
    transaction.set_properties(**properties)

This also works for properties having . in the key.
We do similar thing for catalog properties: load_catalog, example passing in glue session properties
Do you think the above way is good enough or the ** thing is still not very intuitive for users?

@HonahX - yes, that's right.
We can currently achieve functionally the same thing by providing the properties as **properties into the function call. I guess my point is that, if most of the properties have special characters in them so that they must be passed in as dictionary key values anyways, wouldn't it feel more straightforward for the users if we defined properties as a dictionary type in the first place?
Or does it still make sense to keep it as it is because something like below is possible:
load_catalog( "my_catalog", type="rest", uri="http://localhost:8181")

or
load_catalog( "my_catalog", type="rest", uri="http://localhost:8181", **{
            "s3.endpoint": "http://localhost:9000",
            "s3.access-key-id": "admin",
            "s3.secret-access-key": "password",
        }

Where users would appreciate the ability to pass in simpler catalog properties like type and uri as simple kwargs?

oh wow, thanks @HonahX. I didn't think to pass the properties dictionary as kwargs.

Do you think the above way is good enough or the ** thing is still not very intuitive for users?

I feel like its hard to make the connection from dictionary to kwargs. And having the ability to pass the dictionary feels more
intuitive. #503 makes it possible to pass in a dictionary to set_properties.

If we finally choose to change the input parameter to dict, shall we also do the same for catalog?

I'd +1 that change. We might have to support both dictionary and kwargs to keep it backwards compatible, similar to #503

if most of the properties have special characters in them so that they must be passed in as dictionary key values anyways, wouldn't it feel more straightforward for the users if we defined properties as a dictionary type in the first place?

+1