syscall: TestRlimit fails on arm7hl Linux in 1.18rc1

What version of Go are you using (go version)?

$ go version
go version go1.18rc1 linux/arm

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="arm"
GOBIN=""
GOCACHE="/home/alex/.cache/go-build"
GOENV="/home/alex/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/alex/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/alex/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/alex/src/github.com/golang/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/alex/src/github.com/golang/go/pkg/tool/linux_arm"
GOVCS=""
GOVERSION="go1.18rc1"
GCCGO="gccgo"
GOARM="7"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -marm -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1876570945=/tmp/go-build -gno-record-gcc-
switches"

What did you do?
While preparing the Fedora package update for the next Go 1.18 release, I found that TestRlimit fails on arm7hl as you can see in this build. You can see the whole build log here in case someone is interested.
But the failure can be reproduce outside the Fedora build system:
[alex@ibm-p8-kvm-03-guest-02 src]$ ../bin/go test syscall -run ^TestRlimit$ -v
=== RUN   TestRlimit
    syscall_unix_test.go:349: Rlimit: change failed: wanted syscall.Rlimit{Cur:0xfffffffffffffffe, Max:0xffffffffffffffff} go
t syscall.Rlimit{Cur:0xffffffffffffffff, Max:0xffffffffffffffff}
--- FAIL: TestRlimit (0.01s)
FAIL
FAIL	syscall	0.216s
FAIL

I cannot reproduce it with previous versions, so I bet it might be related to this commit.
What did you expect to see?
No failing tests.
What did you see instead?
A failing test.

CC @tamird

I don't understand why the kernel is ignoring the requested change.  What version of the kernel are you running?

I don't understand why the kernel is ignoring the requested change. What version of the kernel are you running?

In the build system where I first saw the issue we have right now this version:
5.16.7-200.fc35.armv7hl+lpae

In the virtual machine where I can reproduce it:
5.14.10-300.fc35.armv7hl

Both are the standard packages that Fedora 35 and Fedora 36 ship.

I think this test is more trouble than it's worth.

Reopening for 1.18 backport.

Closed by merging commit 520f0d04017dff65314ce54a45e4b8212f0bfb87 (CL 390022) to release-branch.go1.18.


Bug: Terminal instance hidden after window reload

Does this issue occur when all extensions are disabled?: Yes/No
Yes

VS Code Version:
Version: 1.83.1 (Universal)
Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
Date: 2023-10-10T23:46:55.789Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.6.0
OS Version: macOS 13.5.1 (22G90)

Steps to Reproduce:

Starting a terminal instance with for example "npm run dev" with a node applicaton
Using the VSCode command "Developer: Reload Window"

Expected behaviour:
The terminal instance should either be killed with the reload command or persist and be opened again.
Bug behaviour:
The terminal instance remains running, but is not opened and therefore not accessible any more.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Vm 2020

Please help me not to pack this file because I have never used Visual Studio 2015/2017 and Windows Driver Kit 10 please give me a complete file thank you very much.

check /bin/vmloader.sys

you are truly a savior you can help me and i will download it thanks

You probably do not understand what I mean because I am not familiar with the technology. And I'm not fluent in English, this is google translate

kiểm tra /bin/vmloader.sys

You probably don't understand what I mean because I'm not tech-savvy
Hope you could help me with a customized version of win10x64bit for me to download.
And I'm not fluent in English, this is google translate

kiểm tra /bin/vmloader.sys

how to run 64bit windows 7
Because I don't know how to install, please

RUN /bin/install.bat

I did RUN /bin/install.bat but it didn't work even with the admin rights I enabled on wm windows 7 64bit. Turn on the install file and then close it itself.I did something wrong so I hope you can help me because I am not familiar with the computer thanks


'My Products' should be the only visible nav menu item for a marketplace or consumer user

Describe the bug
'My Products' should be the only visible nav menu item for a marketplace or consumer user

@phriscage Could you please review?


[s3acl] Step1: move s3account.AccountManager into to iam.S3ApiConfiguration

move s3account.AccountManager into to iam.S3ApiConfiguration and switch to Interface
https://github.com/seaweedfs/seaweedfs/issues/4519
What problem are we solving?
Passing s3 integration tests with ACL requires dynamic account management
How are we solving the problem?
In IdentityAccessManagement, I added account management in the same way.
How is the PR tested?
go test -v | grep -e Account -e Acl
=== RUN   TestGetAccountId
--- PASS: TestGetAccountId (0.00s)
=== RUN   TestExtractAcl
--- PASS: TestExtractAcl (0.00s)
=== RUN   TestParseAndValidateAclHeaders
--- PASS: TestParseAndValidateAclHeaders (0.00s)

Checks

[yes] I have added unit tests if possible.
[no] I will add related wiki document changes and link to this PR after merging.

Need to adjust the variable names

Need to adjust the variable names

It looks like for variables from mappings :)


[ffmpeg] Fix build error on arm64-linux

Fixes https://github.com/microsoft/vcpkg/issues/39206
/cache/vcpkg-src/buildtrees/ffmpeg/src/n6.1.1-92c5eda8dc.clean/ffbuild/pkgconfig_generate.sh: 1: libavcodec/libavcodec.version: Error: not found
Fix according to upstream commit.

[X] Changes comply with the maintainer guide.
[ ] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

Compile test pass with following triplets:
x64-linux

Thanks for the fix and checking for the upstream fix!


Implicit autolink references

This integration requires that issue references be surrounded by square brackets ([]) in order to link back Jira. This is a source of friction, and it works differently than other implementations of equivalent features (e.g. GitHub, Bitbucket, GitLab, ...), where a simple mention of the Jira issue key will result in a link.
I know there's already a built-in GitHub feature for autolinking, but it can often be tedious or infeasible to manually register and maintain them for every (Jira project ✖ GitHub repository) for even medium-sized organizations.
I see that there are already some requests for improvements to the built-in feature that could make this slightly easier to do, such as organization-level autolinking or API support for autolink configuration. This is fine, but would still require extra manual work or scripting that should probably just be built into the Jira integration already.
My request is for a feature that can coexist with the built-in autolinking, and which doesn't require bracketing issue references. Basically:

Autolink any GitHub references to Jira tickets known to exist in connected Jira instances (could be simpler to not check for ticket existence, but only project existence)
Any autolink rules registered via the built-in GitHub feature should override this behavior

Alternatively (probably worse design):

Auto-register & manage autolinking rules in all Jira-integrated repos (one rule per Jira project)

Is either option feasible here? Without linking all references (not only those surrounded by brackets), it seems like an incomplete feature. Thanks!

Hi @usmonster. I'm from a team at Atlassian that is currently in the process of migrating the ownership over to us from GitHub. As a part of this, we're currently going through the backlog of issues and prs to see what can still be addressed and what should be closed.
I've flagged this with the 'to triage' label so my team can discuss. We'll keep you posted on the status of this.

Thanks for looking at this!

Closing this as a duplicate of this issue. That project will cover designing a good and consistent way to linkify issue references in GitHub.

@ccrolf Sorry to come back to this after so long, but I only now noticed that the issue you linked to, about linking from commit messages, is actually unrelated to my request, which is about loosening the syntax requirements.
To simplify my request, it's to detect both PROJ-123 and [PROJ-123] as hyperlinkable issue references, as long as there is a PROJ project in the connected Jira instance. Please let me know if this can be reopened, or if there's another open issue that covers this request.
Thanks!

@ccrolf can we re-open? I also find it so odd that we have to add square brackets. I expected it to work with just the mention of issue key, without having to set up autolinking ourselves in every project (which BTW is only available for Paid plans 😢 so it's completely not a solution for those just using the Free plan)
In fact, I wasted time trying to get the unfurling of links to work because this requirement of square brackets isn't even properly mentioned in the README or wherever the feature is mentioned. The symbols are there, but there's no explicit warning that they must be added.


Error while installing

Hello,
I tried to install fractor, but composer results into an error:
➜  typo3_13 ddev composer require a9f/fractor --dev
./composer.json has been updated
Running composer update a9f/fractor
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires a9f/fractor * -> satisfiable by a9f/fractor[v0.1.0, v0.1.1, v0.1.2].
    - a9f/fractor[v0.1.0, ..., v0.1.2] require symfony/config ^6.4 -> found symfony/config[v6.4.0, ..., v6.4.7] but the package is fixed to v7.0.6 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

The example in README uses rules for TYPO3 13. TYPO3 13 itself uses symfony/* ^7.0. But fractor is still using ^6.4. Can you streamline these dependencies?
Stefan

@sfroemkenjw Could you try it again please?

@sfroemkenjw I haven´t done a release yet.

@sabbelasichon Yeah, I get it installed now, but the next bis stone is on the road. I created the next issue ;-)


The typing animation is working?

Hi!
I saw there is a Typing file with the 3 dots, and the css is there.
I wonder if i can pretend that the bot is typing, i try with $bot->typesAndWaits(2), but only waits for 2 seconds, the animation is not display
I don't now if im doing something wrong or is not working for this case.
Thanks!

any update?

I wrote jquery to do this.
Use this in chat.blade.php
setInterval(function () {
        // check if last message is by visitor. If yes, show indicator
        if($( "ol.chat li:last-child" ).attr('class') ==='visitor')
        {
            $( "ol.chat" ).append('

');
        }
        else
        {
            // if last message is by bot and indicator is shown, then remove indicator from conversation
            if($( "ol.chat li:last-child" ).attr('class') ==='indicator' && $("ol.chat li:nth-last-child(2)").attr('class') ==='chatbot')
                $("ol.chat li .loading-dots").parent().remove();
        }
    }, 10);

Logic behind this code I thought as

Whatever user types in, expects respond from bot after that, right? So every message user types we have to show indicator after that.
class .visitor is used for message which user types in and class .chatbot is used for bot messages which is already in-built.
So every interval I will check that, from whom last message has been triggered. If it is visitor, then show type indicator till bot responds.
Once bot replies, now last message is of bot, so remove type indicator from conversation.
Done. Hope it helps you.

@rohankhudedev is there a guide on how to implement your code? Thanks

This will be coming in an upcoming release

Is it working now?

I havent checked that it is available in latest release. If not working, you can try the jquery code which i have given above.

Thanks for the code
I added a chunk of code that work for buttons as well. When a button is clicked, the typing animation pops out.
  setInterval(function () {
      // when button is clicked, change class to visitor
      $( ".btn" ).click(function(){
        $( "ol.chat li.chatbot:last-child" ).has( "div div.btn" ).removeClass("chatbot").addClass("visitor");
      });

        // check if last message is by visitor. If yes, show indicator
        if($( "ol.chat li:last-child" ).attr('class') ==='visitor')
        {
            $( "ol.chat" ).append('

');
        }

        else
        {
            // if last message is by bot and indicator is shown, then remove indicator from conversation
            if($( "ol.chat li:last-child" ).attr('class') ==='indicator' && $("ol.chat li:nth-last-child(2)").attr('class') ==='chatbot'){
                $("ol.chat li .loading-dots").parent().remove();
              }

        }
    }, 10); ```

Thanks for the code
I added a chunk of code that work for buttons as well. When a button is clicked, the typing animation pops out.
  setInterval(function () {
      // when button is clicked, change class to visitor
      $( ".btn" ).click(function(){
        $( "ol.chat li.chatbot:last-child" ).has( "div div.btn" ).removeClass("chatbot").addClass("visitor");
      });

        // check if last message is by visitor. If yes, show indicator
        if($( "ol.chat li:last-child" ).attr('class') ==='visitor')
        {
            $( "ol.chat" ).append('<li class="indicator"><div class="loading-dots"><span class="dot"></span><span class="dot"></span><span class="dot"></span></div></li>');
        }

        else
        {
            // if last message is by bot and indicator is shown, then remove indicator from conversation
            if($( "ol.chat li:last-child" ).attr('class') ==='indicator' && $("ol.chat li:nth-last-child(2)").attr('class') ==='chatbot'){
                $("ol.chat li .loading-dots").parent().remove();
              }

        }
    }, 10); ```

This code does not seem to work for me for buttons. I do not get any typing indicator when the user clicks a button. Any thoughts on how this could be implemented.

I made a little modification to this script in order to set automatic scroll-down in the message area just after the dot animation (the original script fails to do that if the animation is located at the bottom of the message area). I did this change in my chat.html (framePoint) instead of chat.blade.php:
<!doctype html>

        <title>BotMan Widget</title>
        <meta charset="UTF-8">

        <link rel="stylesheet" type="text/css" href="chat.css">

Hope that helps someone!

Hi!!
I found the solution, maybe
use BotMan\BotMan\BotMan;
use BotMan\BotMan\Interfaces\Middleware\Received;
use BotMan\BotMan\Messages\Incoming\IncomingMessage;
class CustomReceivedMiddleware implements Received
{
/**
* Handle an incoming message.
*
* @param IncomingMessage $message
* @param callable $next
* @param BotMan $bot
*
* @return mixed
*/
public function received(IncomingMessage $message, $next, BotMan $bot)
{
$bot->typesAndWaits(1);// HEREEEEEE
return $next($message);
}
}

This code does not seem to work for me for buttons. I do not get any typing indicator when the user clicks a button. Any thoughts on how this could be implemented.

It worked well for me

I'm using the 2.0 version

Hi..
Could u pls share the entire project folder??
It would be great help..
Thanks
Siddhi

I created a new package that solves this and several other issues
https://www.npmjs.com/package/botman-extended-web-widget


TypeError: float() argument must be a string or a number, not '_NoValueType'

Traceback (most recent call last):
97%|#########6| 29/30 [00:18<00:00,  1.53it/s]
File "D:/limengyi/learning/motioNet/h36m-fetch/process_all.py", line 146, in process_subaction
annots = process_view(out_dir, subject, action, subaction, camera)

97%|#########6| 29/30 [00:18<00:00,  1.53it/s]
File "D:/limengyi/learning/motioNet/h36m-fetch/process_all.py", line 90, in process_view
75%|#######5  | 3/4 [00:00<00:00, 10.09it/s]
frame_indices = select_frame_indices_to_include(subject, poses_3d_univ)
File "D:/limengyi/learning/motioNet/h36m-fetch/process_all.py", line 49, in select_frame_indices_to_include
max_move = ((joints3d - prev_joints3d) ** 2).sum(axis=-1).max()
File "D:\anaconda\envs\python36\lib\site-packages\numpy\core_methods.py", line 47, in _sum
return umr_sum(a, axis, dtype, out, keepdims, initial, where)
TypeError: float() argument must be a string or a number, not '_NoValueType'

This is not a problem that I've encountered before. From a little bit of web searching, it seems like the people tend to encounter this when their Python environment is a bit broken.

With the provided docker container the processing worked correctly for me (tried it yesterday)

Thanks very much,this problem was resolved after reloading pycharm.


[8.x] Use a file system object to require files

Currently, laravel provides a lot of nice helpers like: app()->configPath() and a lot more so that the structures of the customized applications remain understandable for a package developer. (No need to hard code app()->basePath('config') and just hope it will work.)
This is fine but it still leaves to way to know which paths are brought in from the service provider as routes and config files.
Practically a code analyzer package (like the laravel-microscope) needs to have a comprehensive list of all the route and config files to be able to scan and analyze them.
But currently, there is no way reliable way of seamlessly swapping the loadRoutesFrom and mergeConfigFrom implementations to know what is passed to them.
But if laravel starts to use files binding, a package developer can swap out the files binding to replace it with a "spy" version of it and know where are the route and config paths really reside.

Performance hit:
In production, if the route and config files get cached, this change will have zero hits on performance and will not execute at all.

Backward compatibility:
1- In case of a wrong path, PHP require produces a fatal E_COMPILE_ERROR level error, but this one throws an exception.
2- It introduces two new variables in the required files: $__path and $__data which may affect a function like: get_defined_vars();

I close this since it is not backward compatible in case someone catches the ErrorException thrown by the require statement.


Remove right icon from journey tool links

Remove right arrow/caret on journey tool links so it doesn't wrap to its own line.
Removals

Remove jump-link__right class from journey tool links

Review

@amymok or @cfarm
@stephanieosan

Screenshots
Large screen

Mobile

Notes

We could add the icon back on mobile, like we do for the journey nav:

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

Looks good!
@virginiacc just talked, and we're leaving the links as-is in this PR. Arrows on mobile for nav, no arrows on mobile for normal links.

Looks good!


Move SafeAutoCorrect: false to correct cop config

https://github.com/rubocop/rubocop/pull/11211 added autocorrect for Lint/AssignmentInCondition, but marked Layout/AssignmentIndentation as unsafe for autocorrection.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Nice catch!


Make ImplementationSpecific an alias to Prefix path type

Resolves https://github.com/STRRL/cloudflare-tunnel-ingress-controller/issues/85

@STRRL @diegs

ghcr.io/kanya-approve/cloudflare-tunnel-ingress-controller:master
Supports ImplementationSpecific as alias to Prefix

sorry for the late response, LGTM!


Increase pixelStep to help caching performance

From @jayeb

This might be outside the scope of this PR, but I'm strongly opposed to setting the default pixelStep to 1: it's a really bad strategy from a caching perspective, and is going to result in unnecessarily long load times for many users. I'd recommend we set this to at least 10, and in the long-term I'd like to see us adopt a stepping approach more like the one we're using in imgix.js.

https://github.com/imgix/ember-cli-imgix/pull/31/files/91e8c63b90e10ee604ea11a1eb653d908f71c55e#diff-32146cb198866e726cd039e4f16606df

Will solve this in PR instead


allcouchdbs is undefined when setting up the network.

Hi All
When I try to up the network with the below command
./minifab up -o nimble.efpf.com -e true -s couchdb
I am getting an error 'allcouchdbs' is undefined
Any idea ?

Wonder if you use latest code. Please run minifab update command , then minifab cleanup. Then try again. I just tried it and had no issues.

Wonder if you use latest code. Please run minifab update command , then minifab cleanup. Then try again. I just tried it and had no issues.

@Akayeshmantha I've tested using your command. it all worked fine. As I indicated above, please do run the following commands in sequence.
./minifab cleanup
./minifab update
./minifab up -o nimble.efpf.com -e true -s couchdb

@Akayeshmantha I've tested using your command. it all worked fine. As I indicated above, please do run the following commands in sequence.
./minifab cleanup
./minifab update
./minifab up -o nimble.efpf.com -e true -s couchdb


#604 BestTimeToBuyAndSellStock.cpp

Pull Request Template
What have you Changed(must)
Write here what you have changed in codebase
Issue no.(must) -
Pr will be closed and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[ ] This issue was assigned to me if not it will marked as spam.
[ ] My file is in proper folder
[ ] I am following clean code and Documentation.My code is well linted and I am using flake8 standard for python
[ ] I have added title and what program will do first in the file

README - How to Contribute

It's good practice to create an issue before the PR.

Thanks, @romiljain23 for reviewing the code. It's really very very helpful.


i18n: add dt ex1 cn translations

Could you check with the latest version? i have included severall translations from #196 into #195

Could you check with the latest version? i have included severall translations from #196 into #195

Just updated to mainstream. Sorry for the delay.

Since there are no changes after merging the main branch, this PR can be closed.

在合并主分支后这个 PR 已经没有用处了，关了吧？


python3Packages.hydrawiser: init at 0.2

Motivation for this change
Python library for Hydrawise API.
https://github.com/ptcryan/hydrawiser
This is a Home Assistant dependency.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109291 run on x86_64-darwin 1

1 package marked as broken and skipped:

python39Packages.hydrawiser

2 packages built:

python37Packages.hydrawiser
python38Packages.hydrawiser

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109291 run on x86_64-darwin 1

1 package marked as broken and skipped:

python39Packages.hydrawiser

2 packages built:

python37Packages.hydrawiser
python38Packages.hydrawiser

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109291 run on x86_64-linux 1

1 package marked as broken and skipped:

python39Packages.hydrawiser

2 packages built:

python37Packages.hydrawiser
python38Packages.hydrawiser

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109291 run on x86_64-linux 1

1 package marked as broken and skipped:

python39Packages.hydrawiser

2 packages built:

python37Packages.hydrawiser
python38Packages.hydrawiser


Enhancement: Make it possible to use distrib-rl without editing any python

Assuming that the functionality that someone needs is implemented in this tool, it'd ideally be possible use this tool by editing config only.

TODO:
pass experiment file-path to Run_Server.py via CLI


Rawhide

This is more of a question than issue.
I was just wondering whether I could switch to rawhide repos after install ? Or you don't recommend it ?
Any answer appreciated.

Sorrym I must have missed this message.
So I don't have a rawhide repo
https://www.leifliddy.com/asahi-linux/
But in any case, Fedora rawhide is now based on f39, which is probably not what you would want to use atm.
The Fedora team is going to announce an official Asahi release (F38-based) sometime within the next month or two.
So I would just wait until that happens. That way you could easily jump between whichever release you want.
In the meantime, you could simply rebuild the kernel and mesa-related packages for F38 if you wanted to. All other Fedora-Asahi packages should already be in the official Fedora repos. (m1n1, uboot, asahi-scripts, dracut-asahi, alsa-ucm-asahi...etc)
What sort of benefit are you expecting from Fedora rawhide?
The F37 kernel and mesa packages (in my repo) are already bleeding-edge....

Thx for an answer.
To answer your question. Up until now I used rolling distro. I hope that switching to rawhide would give me similar experience.

Aghhhh, the thing is that Fedora has a 6 month release cadence.
Think about that for a minute -- every 6 months, a new version of Fedora is released.
In my mind that's really the best of both worlds -- where you can have bleeding-edge software without the instability that's inherit with many rolling-release distros.
Fedora rawhide is really a development/staging environment/repo. It's sort of like the main/master branch on a git repo.
Rawhide is geared toward testers, devs, early adopters...etc. If you fall into that category, that's cool -- we need people to test, evaluate, and provide feedback. But I don't really look at it as a substitute for a rolling-release distro.
Also, a six month release cadence is really fast. I mean Fedora 37 has python3.11, glibc 2.36. binutils 2.38, perl 5.36, golang 1.19, firefox 110, kernel 6.1.15, systemd-251.13, pipewire-0.3.67, mpv-0.35...etc.
Most of these packages are at the latest version or 1 behind the latest version (except for systemd, which is 2 behind)
But next month, when F38 is released, almost all of those packages will be at the latest version.
And that's pretty damn good.....
Also.... please consider joining this channel if you haven't already
https://app.element.io/#/room/#asahi:fedoraproject.org
There's a number of high-level Fedora devs there that have much more experience then I do ; )

Hmmm - I must say you got me thinking. Some good arguments.
Channel joined :)

Expect plenty of issues if you switch to rawhide repos, but it's a good way of becoming a Fedora contributor! Finding those bugs, fixing the bug upstream or in the Fedora rawhide repo.


For the AW_MEAN regridding method, report the width as 1 instead of NA.

This very minor change in convention make the logic easier for printing useful warning messages to the user.  This is similar to the nearest, upper-left, upper-right, lower-left, and lower-right types, where by convention we report 1 instead of NA.
Some DTC staff were confused about whether the regridding width applies to the AW_MEAN option and printing an informative warning message and updating the data/config/README file will help clarify.

Did changes in my local feature_1186_aw_mean branch, tested, merged into develop, and pushed up to github.


ActiveState project integration?

👋This is a great project! Thank you for all the work you've put into it!
I'd be interested in contributing a configuration file and some docs for it (as an option in or near the Prerequisites section your README.md) to your project but wanted to run it by you with context before just making a PR.
At the hack night meetups I've been going to, a lot of the people showing up want to learn Python but don't know where to start (or even where to look). But this is the perfect place to start, and to continue revisiting! 💯 💯
One thing we consistently run into though is getting up and running in the first place. Learning environments are extra tricky to navigate on those nights because during experimentation people have often ended up with different Python and Python package versions installed globally / locally / with pip / with apt-get, etc.
I think offering integration with an ActiveState project could be really helpful for people with difficulty getting started and people like me trying to help out on hack nights.
Here's the documentation addition I'm imagining:

On Linux and have ActiveState's state tool?
Run state activate from the project directory

And here's what the config file looks like as an activestate.yaml:
name: learn-python
owner: shnewto
languages:
- name: python

The general idea is that with an account on https://platform.activestate.com/ you can preconfigure a Python (or Perl) environment with whatever packages you want and it builds a binary you can install. The state tool works as a kind of a "meta venv" for those preconfigured environments so you don't have to install your project's dependencies system wide (Windows and macOS support on the way).
Here's a link to the learn-python project I created https://platform.activestate.com/shnewto/learn-python
(it does require creating an account to view while we're in the early stages of building all this up 🙃)
Would be happy to answer any questions or to make a PR if you're open to it!
P.S. If you'd rather create your own project as and use that instead of the shnewto/learn-python project I put together that'd be great too! If you did the configuration file might look something like this:
name: learn-python
owner: trekhleb
languages:
- name: python

Btw, for the sake of clearly stated transparency, I work on https://platform.activestate.com at ActiveState.

Sir, is there anything I can do for you.

🤔 I'd sort of forgotten about this, I'm no longer with ActiveState so I think I'll just close this ticket. Activestate does maintain a fork though so if anyone's curious about a potential contribution from them that'd be a good place to reach out.


Fix(It/StreamingCommunity): Fix empty videolist and change base domain

This has been fixed by this guy about 3 months ago or so, I've only changed the domain and other little things.

Closes #3071
Closes #2477
Checklist:

[x] Updated extVersionCode value in build.gradle for individual extensions
[x] Referenced all related issues in the PR body (e.g. "Closes #xyz")
[x] Have tested the modifications by compiling and running the extension through Android Studio

As I have already written, I have never studied programming and I apologize for not having updated the post on the problems encountered in the following days of use.  Mainly 3 things happen: the subtitles repeat the same sentence 4-5 times, some episodes freeze and some have no audio.  I was mainly driven by finishing watching a TV series and didn't make sure that what I didn't need worked.  I apologize for the inconvenience caused.


Consolidate invalid address log

The Invalid listen address errors should be as same as Invalid advertise address.
Signed-off-by: Kien Nguyen<EMAIL_ADDRESS>

Thanks!


Upgrade to 68.4.2 (32-bit)

Please send a 68.4.2 (32-bit) as it doesnt work with this version

Solution is n https://github.com/opto/nostalgy/releases


Just cannot create SequenceExamples

When I want to create SequenceExamples from notesequences.tfrecord, message like this occurs:
INFO:tensorflow:Processed 1 inputs total. Produced 0 outputs.
Besides, the SequenceExample files' sizes are zero.

This is my notesequences.tfrecord file created from bach's Goldberg Variations:

Are you sure the input sequences are not polyphonic? I'm also encountering similar issue, however if you're working on the latest pull, you'll notice that it does spit the reason out in more verbose explanations.

Thanks for your reminding, but the README.md in basic_rnn says:

This model takes monophonic melodies, meaning one note plays at a time. Use basic_rnn_create_dataset.py to extract monophonic melodies from NoteSequence protos made from your MIDI files. The script will look at each instrument track and extract a melody line if it is at least 7 measures long, and at least 5 unique pitches (with octave equivalence). If multiple notes play at the same time, one note is kept.

Does that mean polyphonic input is okay? And monophonic melodies can be extracted from original polyphonic input?

I've seen the "extraction mechanism" give strange outputs, to nothing. Unfortunately I'm away from my workstation, but can share the complete log with the latest pull. Both while creating the tfrecord files and then datasets?

While creating the tfrecord files and datasets, messages are printed out respectively as follows:

zhangyuchao@node1-cluster:~/tf_workspace/magenta$./dataset_processing.sh
INFO: Found 1 target...
Target //magenta/scripts:convert_midi_dir_to_note_sequences up-to-date:
bazel-bin/magenta/scripts/convert_midi_dir_to_note_sequences
INFO: Elapsed time: 0.119s, Critical Path: 0.00s
INFO: Running command line: bazel-bin/magenta/scripts/convert_midi_dir_to_note_sequences '--midi_dir=/home/disk1/zhangyuchao/tf_workspace/magenta/midi_directory' '--output_file=/home/disk1/zhangyuchao/tf_workspace/magenta/tmp/notesequences.tfrecord' --recursive
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcurand.so locally
INFO:tensorflow:Converting MIDI files in '/home/disk1/zhangyuchao/tf_workspace/magenta/midi_directory/'.
INFO:tensorflow:Converted 1 MIDI files in '/home/disk1/zhangyuchao/tf_workspace/magenta/midi_directory/'.
INFO:tensorflow:Could not parse 0 MIDI files.

zhangyuchao@node1-cluster:~/tf_workspace/magenta$ ./attention_rnn_create_dataset.sh
INFO: Found 1 target...
Target //magenta/models/attention_rnn:attention_rnn_create_dataset up-to-date:
bazel-bin/magenta/models/attention_rnn/attention_rnn_create_dataset
INFO: Elapsed time: 0.103s, Critical Path: 0.00s
INFO: Running command line: bazel-bin/magenta/models/attention_rnn/attention_rnn_create_dataset '--input=/home/disk1/zhangyuchao/tf_workspace/magenta/tmp/notesequences.tfrecord' '--output_dir=/home/disk1/zhangyuchao/tf_workspace/magenta/tmp/attention_rnn/sequence_examples' '--eval_ratio=0.10'
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcurand.so locally
INFO:tensorflow:
Completed.
INFO:tensorflow:Processed 1 inputs total. Produced 0 outputs.

Maybe you can try these two MIDI files of mine.
MIDI.zip
Thanks a lot!

@danabo do you know what's happening with the input pipeline here?

npuichigo, both mid files you shared contain multiple time signatures. The Bach piece switches time sig frequently. The HP piece has a 4/4 and 6/8 time sig both at time zero for some reason. Since some models use information about where notes are in the bar, we wanted to avoid complicating things and we discard MIDIs with multiple time signatures.
I'll add a message that counts how many samples are discarded because of multiple time signatures so this is clear in the future. Sorry for the inconvenience.

When I ran the melody extractor with my change over your mid files I got this output:
INFO:tensorflow:Processed 2 inputs total. Produced 0 outputs.
INFO:tensorflow:DAGPipeline_Quantizer_sequences_discarded_because_multiple_time_signatures: 2
The reason for discarding the sequences is now displayed.

I'm closing this since things are working as intended.

Thank you for your reply! It's very helpful to me, and I'll try another piece.


Add RecordExists members for v3.3.0

Fixes #95
Added members as virtual so they can match the interface without depending on the exact version.

Thanks, @pentp! Would it make sense for us to provide an implementation of the methods? I did a quick pass over the Orleans changes, and this is just a flag to identify if the record exists in an underlying data store, right? Should we allow this to be settable in the fixture? Or should we automatically set/reset it based on the calls to the storage class?

Not sure, depends on if/how people will start using this new property.
Theoretically it could be useful, but there's no way to set the value (IStorage<TState> only has a getter). We could update it in WriteStateAsync/ClearStateAsync, but that's just duplicating the Stats.Writes/Clears and does not help with the primary use case - checking if a record existed after calling ReadStateAsync.

Yeah, I think we'll have to provide an implementation at some point. Otherwise, grains that use the new property would simply throw. I could see that we get this merged just to get API compatibility, and spin an implementation out into another task.
I think the trickier question is around the ClearStateAsync method. Does this always reset RecordExists to false? Or only when the underlying storage provider deletes the record? I took a quick peek at the DynamoDB storage provider, and it appears to reset RecordExists regardless of whether is writes a truncated row or deletes the row. I'm not sure if this behavior is the same for all providers, though. (But, what specs to we have for most of the Orleans contracts? 🤷♂)
It sounds like the general pattern would be:
WriteStateAsync => set RecordExists
ClearStateAsync => reset RecordExists
@benjaminpetit You reviewed & merged dotnet/orleans#6580. Do you have any insight to share regarding the above? Is this a bad assumption (especially given that a custom storage provider could implement this any way it pleased)?

@seniorquico - You got it!  The intent of the record exists flag is for a grain to know if the state was loaded from the database.  When you call WriteStateAsync, the expectation is that when that method returns, the state is stored in the DB, and when you call ClearStateAsync the state is no longer in the db (even though the row/record may exist), so WriteStateAsync will set that flag to true, and ClearStateAsync will set that flag to false.
Another way of looking at it is that it is a way for a grain to know if it exists already, For example if I have a 'Create' method on a grain, but its only valid to call that method when the grain has not been created before, the grain could check that flag before it creates itself.

It's good to confirm this is the expected behavior. I'll take another pass over this, and we should be able to do a pre-release that just provides the API compatibility. It shouldn't be too difficult to provide a working implementation of RecordExists.


Use TS 2.4 to Build VSCode

Wip
we need to pick up gulp-tsb fix first

Pushing into local branch for WIP


Redirect Python script errors

Currently errors in the Python processing script are not redirected to the WinForms interface textbox.
Errors should be displayed in the textbox when encountered.

Resolved with v1.1


Refactor ensure_valid_accept_media_type

Replace invalid_accept_media_type? with valid_accept_media_type? method, which I think it's easier to understand which media types are valid. Only allow the following Accept types:

Blank
ALL_MEDIA_TYPES # => '*/*'
JSONAPI::MEDIA_TYPE # => 'application/vnd.api+json'

@shunwen Thanks!


Analyzer Feedback from IntelliJ

Version information

IDEA AI-232.10300.40.2321.11567975
3.3.3
AI-232.10300.40.2321.11567975, JRE 17.0.9+0--11185874x64 JetBrains s.r.o., OS Windows 11(amd64) v10.0 , screens 2880.0x1620.0

You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply
You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future releas
BUILD FAILED in 11s

Hi - I don't think this is the right forum for your issue; you might see https://flutter.dev/go/flutter-gradle-plugin-apply to see if the info there is helpful.


python311Packages.archspec: 0.2.1 -> 0.2.2

Diff: https://github.com/archspec/archspec/compare/refs/tags/v0.2.1...v0.2.2
Changelog: https://github.com/archspec/archspec/releases/tag/v0.2.2
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 279104 run on aarch64-linux 1

4 packages built:

python310Packages.archspec
python310Packages.archspec.dist
python311Packages.archspec
python311Packages.archspec.dist

Result of nixpkgs-review pr 279104 run on x86_64-linux 1

8 packages built:

hpccm (python311Packages.hpccm)
hpccm.dist (python311Packages.hpccm.dist)
python310Packages.archspec
python310Packages.archspec.dist
python310Packages.hpccm
python310Packages.hpccm.dist
python311Packages.archspec
python311Packages.archspec.dist


YOLOV2

can you rearrange model in following files:

data.py
model.py
main.py
utils.py

Also, add a script for downloading and unpacking dataset (refer https://github.com/nirmal-suthar/dataloader/blob/master/celebA(multiLabel)/download.sh)

rearranged the model

Now, you can remove ipynb book
also, rename folder to YOLOv2_TensorFlow
make folder named assets and move all display files in that folder


problem with paths

Describe the bug
Hi, great project you have here.
I am however having a problem with paths. I am using a post request to kick off the hls stream. The problem I am having seems to be with white-space in the file path. i.e /path/to/file.mkv works perfectly however /path/to the/file of choice.mkv raises an ffmpeg runtime error that the path does not exist. (runtimeERROR: path /path/to does not exist)
I believe this is due to the terminal commands for ffmpeg as if I call ffmpeg in the terminal using quotes around white-space parts i.e  /path/"to the"/"file of choice".mkv then the command works.
I removed the path checks in the programme to test a quoted path and I still got the error, this time (runtimeERROR: path /path/"to the"/"file of choice".mkv doesnt exist).
I do not understand enough of the python code to dig deeper here. New to coding.
Ive tried the pathlib library to create pureWindows path before sending to the create hls stream but this didn't work either
I am sure there is a simple solution to this I am not seeing, but im just not sure. Id appreciate and help!
Thanks :)
To Reproduce
Steps to reproduce the behavior:

try to use a path with white-space
See error

Expected behavior
paths with white-space to work same as those without
Local machine (please complete the following information):

OS: Windows
FFMpeg 4.2.1

Additional context
I am sure there is a simple solution I am missing!

Thank you for the report and full description. I have just fixed the bug and now you should update the package:
pip install --upgrade python-ffmpeg-video-streaming


Small cleanups

Removes some line-wrapping in ROS prints that are no longer necessary
Removes unused boolean in getCostMatrix

rebased.
LGTM


Should we move the repo to ember-cli organization?

@rwjblue it might be best to have this live in ember-cli organization at this point. I made you an admin on the repo. Is that sufficient for you to transfer it over?

Done! 😸

Perfect!
Thank you 👍


Fixed bug with nextClearBit, made stateless strategies static

This should fix #8. Additionally, stateless strategies have been made static, the EqualsStrategy is initialized lazily. Also I unified the formatting a bit (sorry for the whitespace changes in the diff, append ?w=1 to the URL to ignore them).

Thanks for the contribution, I'll take a look in the morning (9:30pm here in Tokyo).


Added more filters

Related Issue
Closes #947

Description

More filters added for easy categorization of resources.
Screenshots

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

@inkerton, to meet the requirements, each category should have a minimum of eight tools. Otherwise, we will not be able to proceed with it.

I have the list of tools. Where do I put them?

Hello, contributors! This is Jason speaking. Due to some workflow issues, we will be closing all the PRs today. Therefore, I kindly request all of you to create new PRs tomorrow, as the currently open ones will be closed by our team. I apologize for any inconvenience caused. Also, please make sure to check the titles when creating the PRs. You can refer to the README.md for more details. Thank you.


Meeting 2017-05-25 Community Committee (CommComm)

Meeting 2017-05-25 Community Committee (CommComm)
Time
UTC Thu 25-May-2017 20:30 (08:30 PM):

Timezone
Date/Time

US / Pacific
Thu 25-May-2017 13:30 (01:30 PM)

US / Mountain
Thu 25-May-2017 14:30 (02:30 PM)

US / Central
Thu 25-May-2017 15:30 (03:30 PM)

US / Eastern
Thu 25-May-2017 16:30 (04:30 PM)

Amsterdam
Thu 25-May-2017 22:30 (10:30 PM)

Moscow
Thu 25-May-2017 23:30 (11:30 PM)

Chennai
Fri 26-May-2017 02:00 (02:00 AM)

Tokyo
Fri 26-May-2017 05:30 (05:30 AM)

Sydney
Fri 26-May-2017 06:30 (06:30 AM)

Or in your local time:

http://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation++Meeting+2017-05-25&iso=20170525T20
or http://www.wolframalpha.com/input/?i=8pm+UTC%2C+May+25%2C+2017+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/1J14T5lXuFWsaTqfkpmPruAZ4E-WsVe2V5TAaKwDjHN0/
Previous Minutes Google Doc: https://docs.google.com/document/d/1tysRywkgReTXtYlG_hSvxmbnV7V3dUoXei2v6uXiC0A/

Agenda
Extracted from cc-agenda labelled issues and pull requests from the nodejs org prior to the meeting.
nodejs/community-committee

Cleaned up membership rules #50
Expanding the Node.js Collection: Reviewers #45
Adding folks as members #38
Moderation shortage #33
Add some scope (aka: stake your claim!) #13

Invited

Ashley Williams @ashleygwilliams (CommComm)
Bryan Hughes @nebrius (CommComm)
Emily Rose @emilyrose (CommComm)
Gregor Martynus @gr2m (CommComm)
Jenn Turner @renrutnnej (observer)
JP Wesselink @jpwesselink (CommComm)
Mikeal Rogers @mikeal (observer/Node.js Foundation)
Myles Borins @MylesBorins (CommComm)
Penny Hugger @pup (observer)
Rachel White @rachelnicole (CommComm)
Richard Littauer @RichardLitt (observer)
Rod Vagg @rvagg (CommComm)
Sarah Conway @SarahKConway (observer/Node.js Collection)
Tierney Cyren @bnb (observer)
Tracy Hinds @hackygolucky (CommComm)
William Kapke @williamkapke (CommComm)
Zibby Keaton @ZibbyKeaton (observer/Node.js Collection)

Notes
The agenda comes from issues labelled with cc-agenda across all of the repositories in the nodejs org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting
Google Hangouts; link will be posted here shortly before the meeting starts.
A standing invitation exists for all @nodejs/tsc members who are not also CommComm members to attend in observer capacity.
Public participation
We stream our conference call straight to YouTube so anyone can listen to it live, it should start playing at https://www.youtube.com/c/nodejs+foundation/live when we turn it on. There's usually a short cat-herding time at the start of the meeting and then occasionally we have some quick private business to attend to before we can start recording & streaming. So be patient and it should show up.

it's gonna be a close call for me... i have a family thing on thursday and i'm not sure how long that's gonna go. i can probably fit this in though since its quite late

I'll be unable to attend, as well; couchsurfing in Poland for a night and need to hang out with my host.

I will also not be able to attend this meeting, but @SarahKConway will fill the group in on the happenings of the Node.js Collection.

I'll be there.

I have an schedule conflict so I don't think I'll be able to make this one.

Live stream will be at https://www.youtube.com/watch?v=tA1Ovl5eKRA, hangout link for participants will be posted here in about 20 minutes!

My apologies for the delay, I had some internet issues. Here's the link for participants: https://hangouts.google.com/hangouts/_/ytl/Yn8HviH1B7YxROnNctu1106YontmqMjdE5-n2z-n9WA=?eid=100598160817214911030

Sorry for the delays everyone, we've been having some technical difficulties. NEW HANGOUT LINK: https://hangouts.google.com/hangouts/_/ytl/mHMit4-TvAKq9Xyf3FZgwll_T-486YcOSnyViDoFLSE=?eid=100598160817214911030

Thank you for updating links @williamkapke! I was kinda flailing around at the beginning of the meeting 😅

Meeting notes landed, closing this issue.


March Type System Changes

This post contains information about some forthcoming changes to bogl. After a few people have tried them out, I would feel comfortable merging it into master, at which point it will go live for all of the student programmers.
I initially intended to release them as part of a rewrite of the type system, but as Jennifer noted, many of the fixes would be useful to have now.
Ben has set up a development server. You can access it here to try out all of these changes.
I am hoping that some people can do a quick test run to make sure that nothing has gone horribly wrong, since these fixes required some significant changes to the bogl implementation.
My hope is that people poke around and try to break/stress test these changes. Note that I am not asking you to type in the examples below verbatim; the point is that we get a variety of programs running on these new changes.
Also note that Ben and I do keep a test suite; I've written tests for these fixes and they of course pass.
If you encounter an issue, make sure to try it both on the main bogl site as well as on the development one so that we can know whether one of the current changes introduced it or whether it existed before that.
You can email Ben and me and we will take it from there.
Proper support for type names
Type errors will now be reported nominally rather than structurally. That is, they will use type names instead of type expressions.
Before

After

Report first type error first
In the past, the last type error was reported. This led to very unhelpful you did not define x errors.
Before

After

Assign symbols to a type
In the past, the type checker assigned symbols to a singleton type, regardless of the type definitions. For example, X to {X} and O to {O}.
Before

After

Disallow symbols that have not been declared
In the past, arbitrary symbolic values could be used, even if they were never declared.
Before

After

Enforce parameter cardinality
In the past, function equations and signatures with mismatched parameter cardinality were not rejected.
Before

After

Reject spurious subsumption
In the past, symbols were incorrectly considered subtypes in certain edge cases of if expressions and binary operations.
Before

After

Not fixed: well-formedness criteria for symbols in type definitions
Certain type definitions are not rejected as they should be. For example, symbol literals can still be declared in multiple types. This is not correct, but is a known issue that will be fixed in the future.
Fortunately, the type system does still prevent unsafe expressions formed from these types from being executed.

@alexgrejuc I found an interesting type error in an existing program "Space Invaders" that we wrote some time ago. Here's the share link for that program on the dev server. This works on the normal server. In addition, the message is a bit dense as well, but we can consider that at some other time if we want.

I have condensed the type issue from above into a clean unit. This works on the live version as expected.
type T0 = (Int,Int)
type T1 = (Int,T0)

f : T1 -> T1
f(a,b) = if True then (a,b) else (a,b)

Thank you for finding the issue and finding a minimal example of it! Also,

doesn't occur if you don't nest the tuple inside of an if-then-else expression

is a quite helpful. I just patched an issue up related to if expressions right before making this post, and evidently I didn't quite do it right.
I won't be able to work on it until the 25th, but the details you've provided are very helpful.
The issue is very likely in this function

Closed since the issue @montymxb  spotted has been fixed and these changes have been merged.


HELP

I tried the basic example and i am getting :
FAILED
REASON: read Timeout
In every test , i dont understand why that's happening

Check that your esp8266 is actually connect to internet (not only WiFi connected).
Your router may not response any data to device, reset router or change router or use mobile/PC WiFi hotspot.
Test internet connectivity by making simple http request (see in Arduino example) or ping by using ping library.

The problem is that the data is getting updated on the firebase , the serial monitor shows the error so its a proof that the data is getting uploaded its just that something or somewhere else is the problem

Nothing update in your database,as no response from firebase server due to no internet connection issue.
Did you try my suggestion above?

Use your mobile phone to share WiFi hotspot to esp8266.

Yes i did tried your suggestion and the firebase is right in front of me , the data is getting updated but there is no response on the serial monitor .

Update esp8266 package (Arduino Core SDK) from board managers to latest version.
Share your code here.

How about making http request and ping test?  Share your test code (ping or http request) and result.

Okay so i did some research and i found the problem. The problem is not with the code but the type of board which i was using  Although the on i have is very similar to nodemcu but its actually not . Maybe the firmware of that chip was making it incompatible.
Also i would recommend you to put this in your repository that this library wont work properly on this particular

board .
This is the image of the board:

The board you showed  from robotdyn uses Espressif ESP8266EX mcu as in Node MCU and Wemos D1 Mini.
It has 4 MB (32 Mbit flash) as in other boards and nothing is special.
In Arduino IDE, you can choose board Wemos D1 mini or Generic ESP8266 and choose proper flash size and SPIFFS for this board.
If you still get the error, the board you used may defect or the supply voltage is not stable during WiFi operation.
You can connect board with ypur PC via shorter USB cable or use large capacitor 220 uf or greater connect between 3.3V and GND close to board.
Even you can use ESP-12F WiFi module with this library.


Name this thing

@mjbrender Hrm, can't open issues on a fork! I cloned the 12 days, removed the origin, and then added this one and pushed it. Is the repo name good for this year?

I'm good with it @rnelson0. Roll with it!

This feels more appropriate every day :)
http://www.explainxkcd.com/wiki/index.php/1597:_Git
On Mon, Nov 2, 2015 at 9:16 AM, Rob Nelson<EMAIL_ADDRESS>wrote:

@mjbrender https://github.com/mjbrender Hrm, can't open issues on a
fork! I cloned the 12 days, removed the origin, and then added this one and
pushed it. Is the repo name good for this year?
—
Reply to this email directly or view it on GitHub
https://github.com/commitmas/30-days-of-commitmas-2016/issues/1.

Haha, it does! If there's a way to "split" a fork into a master, I haven't figured it out yet - but that's technically a GitHub issue not a Git issue :)


Display ATS tabs in MRU order

This PR changes the ATS display order to always be in most recently
used (MRU) order. I chose not to give ATS the option to be displayed
in-order because that order is better served through the traditional
left-right TabRow switching.
Note: TabSearch will stay in-order.
This means that users can only choose one order or another in their
nextTab/prevTab bindings. Setting useTabSwitcher to true will make
nT/pT open the ATS in MRU order. If it's set to false, the ATS won't
open and nT/pT will simply go left and right on the TabRow.
I'm open to getting rid of the global and making ATS its own keybinding,
but for now I figured I would keep the current behavior and open the PR
to get eyes on the code that doesn't have anything to do with the
settings.
Closes #973

I make a call to update the indices of Tab::SwitchToTabCommand whenever there's a rearrange/close/open, so it actually works perfectly fine 😄

It seems, to achive the MRU behavior, you need to set the tabSwitcherMode entry in the settings.json file to mru from the default one, which is inOrder. This is also documented here, but this issue thread seems to be shown earlier in search results, so I wanted to make an update here.
Note: Valid as of version 1.11.2921.0


chore: watermark and eventtime in windowing operations

for window operations today, we use window start time for both eventtime and watermark. with this PR, that will be changed to (window.endtime - millisecond)

sure will do.


Added Verify Forgot Password link test cases

Summary
Ref: [MM-50430](Ref: https://mattermost.atlassian.net/browse/MM-50430)
Test client

[x] Browser
[x] Mobile App (version, OS)
[x] Desktop App (version, OS)

Test key: MM-T5415 - https://github.com/mattermost/mattermost-test-management/blob/main/data/test-cases/suite/sign-in-authentication/MM-T5415.md


Yokai crashes everytime i open It

Steps to reproduce
1:Open the app
Expected behavior
It should prompt me to my library as always
Actual behavior
It just crashes
Crash logs
I can't Open the app and couldn't find crash logs on the app folder
Yōkai version
1.8.0
Android version
Android 10
Device
Samsung Galaxy S9+
Other details
Yokai crashes everytime i open It, This could be related to a Mihon issue but in Mihon it's just slow Yokai directly crashes, That's why im making this report
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help.
[X] I am reporting an issue exclusive to this fork. I have also checked that is not an issue on the main version of Mihon
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.8.0.
[X] I have updated all installed extensions.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I have filled out all of the requested information in this form.

Have you completed the onboarding process or does it crash as soon as you update Yokai?

It crashes as soon as you update Yokai, Had to uninstall and install it again to get It working

Interesting... I will just slap Mihon's crash screen to Yokai in case that happened again so I can debug it.

Took a wild guess, probably fixed by 7daa7cb7c9f5cf37c5985beaef316dd424654fe0.

Seems like it's fully fixed on v<IP_ADDRESS>.


WIP api: jsonref replacement on indexing

Adds support for replacing JSONRefs prior to indexing.

Signed-off-by: Lars Holm Nielsen<EMAIL_ADDRESS>NOTE: Tests are missing

Coverage increased (+0.007%) to 99.533% when pulling a92d3a51960f5d590dc6f6d9281b7b7e406fcca5 on lnielsen:replacerefs into 5907eb8955f7c727fa0523ec1cd5b182c00bf7c3 on inveniosoftware:master.

Coverage increased (+0.007%) to 99.533% when pulling 8bc6fe631bbd0a8063a5ba412edfd05dacea0c4c on lnielsen:replacerefs into 5907eb8955f7c727fa0523ec1cd5b182c00bf7c3 on inveniosoftware:master.


Rendering to PNG fails to render lists correctly

Got a report about the PNG export failing to handle spell lists correctly. Investigating.

appears to be a firefox issue and limited to two-column stat blocks. switched PNG exporting libraries (to html-to-image) to no avail. monitoring library status, but since it's an upstream issue not much I can do unless I want to dive in to that package to fix the issue.
Current solution is to export with chrome/edge/chrome-derivative browsers. will update this issue if it gets fixed.


Fix Baseline dependency Nuget package

Marten <IP_ADDRESS>3
Installing this package version will fail for users when using .NET 4.6.
Unable to find a version of 'Baseline' that is compatible with 'Marten <IP_ADDRESS>3 constraint: Baseline (>= 1.0.0-alpha-32)'.

Appears to only work if I force-install Baseline first, then install Marten after--I think the prerelease Baseline package is missing framework targets in the nuspec.
Couple other issues I had when installing on a 4.6 project:

Missing System.Data.Common dependency
Missing System.Reflection.TypeExtensions dependency

I could not reproduce initializing a database connection in raw npgsql, I could only repro with vanilla Marten install.

The latest version targets Baseline 1.1.0 and should fix this issue. Feel free to re-open if that's not the case. Some of this is actually split across several projects though. System.Data.Common would actually be a dependency of Npgsql, TypeExtensions is a dependency of Baseline, etc. If they still aren't coming down, it's likely a problem with the nuget client and not our versions because I can see on nuget.org that they are specified as dependencies.


Support for multidimensional arrays

Title says it all.

Maybe, as a first step, expose any array that has more than one dimension as DNMultiDimensionalArray (a subclass of DNArray) that adds nothing but at least acts like a marker.


FIx BigDecimal syntax

Description
Just a small test update to correct our BigDecimal initialization signature for rubies 2.7+

Thanks!


Beginning Improvements

first of a couple things I am working on prior to demo day:

cleaned up styling on browse container, there was a redundant background and border.
toggled login/signup tabs to disappear when logged in.

things I am working on:

after clicking add interest, having most recent itemList reload again, instead of going back to a blank page
cleaning up view interest modal, adding styling.
other housekeeping/style items

Probably will come up with other changes as I continue to refactor code.  Any help is appreciated!

Pulled remote workingBranch to local and tested.  Works fine. The refactoring is in right direction, this is a good way of using JSX to conditionally render only the relevant nav links. This will lead to better user experience. Good job!


Potential bugs caused by AcceleratedOptimizer

Right now, Accelerator handles one global GradScaler, which will be shared by all optimizers registered in Accelerator, and scaler.update will be called in AcceleratedOptimizer.step method.
If we consider the following script, the update method will be called twice. However, it is stated in https://pytorch.org/docs/stable/notes/amp_examples.html#working-with-multiple-models-losses-and-optimizers that the update method of GradScaler should be called only once every training step.
    model0, model1, optim0, optim1 = accelerator.prepare(model0, model1, optim0, optim1)

    output0 = model0(input)
    output1 = model1(input)
    loss0 = criterion(output0, target)
    loss1 = criterion(output1, target)

    accelerator.backward(loss0)
    accelerator.backward(loss1)
    # scaler.update() is called here
    optim0.step()
    # scaler.update() is called again
    optim1.step()

It should be noted that the above code snippet will not raise any error, so I guess it might cause some potential weird undebuggable behaviors.

The gradient scaler updates are just there to adjust the rate of the multiplicative factor for the loss to avoid gradient underflow. Most of the time, nothing happens, so I don't think this would result in any bug.


linux build ubuntu icon invalid

Preflight Checklist

I have read the contribution documentation for this project.
I agree to follow the code of conduct that this project follows, as appropriate.
I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

Electron Forge Version:

5.2.4

Electron Version:

12.0.1

Operating System:

Ubuntu 20.04.2 x64

Last Known Working Electron Forge version::

none

Expected Behavior
icon visible
Actual Behavior
icon is the default
To Reproduce
https://github.com/tkggusraqk/electron-demo
Additional Information
<!--
Add any other context about the problem here.

For example:
* Console output when you run your `electron-forge` command with the environment variable
  `DEBUG=electron-forge:*`. (Instructions on how to do so
  [here](https://www.npmjs.com/package/debug#usage)). Please include the stack trace if
  one exists.
* Command line arguments you are passing to `electron-forge` (e.g.,
  `electron-forge make --not-a-real-flag`)
* The `config.forge` data in `package.json` or `forge.config.js` in use
* A failing minimal testcase (with a link to the code) or detailed steps to reproduce the problem.
  Using `electron-forge init` is a good starting point, if that is not the source of your problem.

Unfortunately, due to the limited amount of time of the maintainers and the limited amount of information present in this issue, we cannot help debug your app at this time. Instead, you should make sure your issue is not already answered Electron Packager's Frequently Asked Questions document, and consider using one of the community forums, as there are more people there available to answer questions.


[CI] PIP workflow is broken

Discovered in https://github.com/inventree/InvenTree/pull/4615
A recent update to PIP has broken our CI build:
 Collecting pip>=22.2 (from pip-tools==6.12.3->-r requirements-dev.txt (line 240))
ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
    pip>=22.2 from https://files.pythonhosted.org/packages/ae/db/a8821cdac455a1740580c92de3ed7b7f257cfdbad8b1ba8864e6abe58a08/pip-23.1-py3-none-any.whl (from pip-tools==6.12.3->-r requirements-dev.txt (line 240))

Notice:  A new release of pip is available: 22.0.4 -> 23.1
Notice:  To update, run: pip install --upgrade pip
Error: Process completed with exit code 1.

The --requires-hashes flag (which is enforced because we have hashed our pip dependencies) now appears to be more proscriptive.
Currently the "solution" is to pin the pip version used in our CI tools to the previous version. This cannot be a "long term" solution and so we'll need to fix this properly.

@SchrodingersGat including the hashes is a security feature against supply-chain attacks on pypi. They are stepping up their 2fa requirements etc. so I think it would be fine to remove the hashes. Should we go ahead with that? The change is 2 lines and a regeneration.

As we are pinning versions, I'd be happy with that I think. Are you able to submit this?

PR is submitted https://github.com/inventree/InvenTree/pull/4627


Support connectivity for workloads

For workloads that define container host ports, the worker will be
responsible for creating a dedicated netfilter chain and add rules for
incoming IPv4 and IPv6 traffic for the desired ports.
When workload is being removed, the chain will be dropped.
On workload udpdates, the chain of rules will be re-created.
Signed-off-by: Moti Asayag<EMAIL_ADDRESS>

/lgtm


Update Channel Manager to use Close Ledger and Children

This is blocked on this https://www.notion.so/Tech-Planning-abf8dddb24184d95aea4300e24cd703c?p=b4f48a399bae41d1aa3e995475a4468f.


⚠ Bofrost.at has degraded performance

In 9c56bfb, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1810 ms

Resolved: Bofrost.at performance has improved in d324eeb after 6 minutes.


ensure pow parity in fixedpoint python class vs solidity

The changes made to reach Solmate compatibility that were made in this PR have no impact on the endpoints, tests, or functionality. Therefore, I am closing this issue without making changes to the Python code.


Return the minified hosted lib file for a minified build.

Coverage decreased (-0.4%) to 95.102% when pulling 48b3d45dcda5833c8bdb0747af98d933b3f86903 on minified_build into 9edbfce9bc6e1dae64dd61c8ec526f77947f16e3 on master.

Coverage increased (+0.2%) to 95.579% when pulling a432fcb6d4262f4c45a7a4c6003671c178300b8a on minified_build into 0c903516bb66c264f7886ca7199544984843131d on master.

Coverage increased (+0.2%) to 95.606% when pulling 1de1b601e9a0f79317992e67e03485a3595c0489 on minified_build into 0c903516bb66c264f7886ca7199544984843131d on master.

Coverage increased (+0.2%) to 95.606% when pulling 1de1b601e9a0f79317992e67e03485a3595c0489 on minified_build into 0c903516bb66c264f7886ca7199544984843131d on master.

Coverage increased (+0.07%) to 95.487% when pulling 1de1b601e9a0f79317992e67e03485a3595c0489 on minified_build into 0c903516bb66c264f7886ca7199544984843131d on master.

Coverage increased (+0.2%) to 95.595% when pulling 1de1b601e9a0f79317992e67e03485a3595c0489 on minified_build into 0c903516bb66c264f7886ca7199544984843131d on master.


[VS Code] Starting collaboration session: An error was encountered while querying information from the operating system.

Error:
Starting collaboration session: An error was encountered while querying information from the operating system.
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS

extensionVersion
1.0.379

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.36.0-insider

platformName
Linux

platformVersion
4.4.0-18362-Microsoft

Hi @Purian23 , thank you for reporting the issue. Would you give us some more information to investigate ? Does this consistently happen for you or happened once ? Also , your logs may provide us with helpful information. You can access them via the "Live Share: Export Logs" command from the command palette (ctrl + shift + p) and attach them to the issue.

dupe of #507


fix: normalize default evm version if solc configured

ref #7014
This is not quite perfect, but is better than before.
If a solc version is provided in foundry.toml but no evm-version, we normalize the config's evm-version.
This does not affect solc compilation because this is also in foundry-compilers before invoking solc.
This can be improved by:
emitting warnings if user configures both evm_version and solc that are incompatible.
cc @0xalpharush

merging as clippy lint is unrelated -.-


restorePurchases doesnt invoke event

restorePurchases doesnt invoke any event on ios on real device. I am using non renewable subscription. do you have any solution for this?
purchase.restorePurchases();

purchase.on(purchase.transactionUpdatedEvent, function(transaction){

        console.log('transactionUpdatedEvent');

        if (transaction.transactionState === TransactionState.Restored && application.ios) {

            console.log(`Purchase of ${transaction.productIdentifier} restored.`);
            console.log(transaction.transactionDate);
            console.log(transaction.transactionIdentifier);
            console.log(transaction.originalTransaction.transactionDate);

        }
    });

ok its about non renewable subs.


MR toolkit Motion controllers not rendering in app on Initial launch

Overview
When I make a .appx project the motion controllers are not showing up on initial launch but do appear if I suspend and re-enter the already open app . I built the project with only the Holo Toolkit  motion controller example scene and in place of the controller models I see two  white cuboids instead of the controller models.
Expected Behavior
Every time the app launches ( 1st time or 50th) the motion controller models are rendered in my project if activated/ on
Actual Behavior
On the very first app launch the Motion Controllers do not render at all and the custom rays I have built to connect to the controllers are  unresponsive as if the objects aren't even being instantiated.
Steps to reproduce
-Put HoloToolkit Motion controller prefab in very fist scene which unity loads with build settings

test that Motion controllers render in editor
Create an .appx package
On the first launch test if  Controller models render in scene, you can reproduce multiple times by closing the app and re-launching the application again .

When I did it using the HoloToolkit example scene , White cuboids rendered in the scene instead of the actual Motion controller models.
Unity Editor Version
2017.4.0f1
Mixed Reality Toolkit Release Version
2<IP_ADDRESS>

@keveleigh thoughts?

I will work through testing the compatibility between various versions of Holotoolkit and the Unity versions.

I've moved to unity version :  2017.2.1p2  and Holo Tookit version :  2<IP_ADDRESS> Patch Release . unfortunately I am still getting the white cubes in the Holotoolkit example controller scene I did notice a log however that states :  Model task is null, Loading alternate.
I can of course infer that that means there is an issue loading the controller model and it's trying to use the alternate default model however is there any reason that that might happen in the example scene ?

I ended up fixing this issue by making my scripting backend  .Net - based , removing a few of the plugins with broken references , and  I did have to comment a few functions who lost reference to their respective libraries.    I still don't understand what the crux of the issue was but   I know it had to do with IL2CPP and loading the camera in a custom scene .  Closing Issue.


Add files via upload

Changed the code a little bit to allow it to activate/deactivate the menu using a Tap. Replaced OnLongPress with onTapCancel, as the OnTap event cannot win against the animation. I hope this helps.

Trying to use this PR but there is a problem with the dependencies used.
import 'package:hrzen/src/components/focused_menu_modals.dart';
Can't really figure out what this package is.


Smd 383/feature/additional http errors

https://dluhcdigital.atlassian.net/jira/software/c/projects/SMD/boards/140?quickFilter=815&selectedIssue=SMD-383
Redirects previously unhandled errors (those not in the exisiting error templates) to the generic 500 error page, instead of creating an unhandled exception.

Can this be merged with squash


[Bug]: User should expect that the baseline images will get updated when the "Update screenshot" button is clicked

Describe the Bug
Discussed in https://github.com/FRSOURCE/cypress-plugin-visual-regression-diff/discussions/230
Given the following context:
On my side, I have set up a folder with some reference images (e.g. "reference_images/logo.png", "reference_images/progressBar.png", "reference_images/form.png"
When I run a test case, the screenshots are saved in a folder called "visual_testing". This folder is defined through the option "pluginVisualRegressionImagesPath" on Cypress config.
I then compare the images, one by one on my test script using cy.matchImage({ matchAgainstPath:  'reference_images/logo.png' })  and so on...
This works fine when just comparing the images, but when I want to update a reference image using the "Update screenshot" button, it doesn't work, because it updates the screenshots on the "visual_testing" folder instead of the ones on the "reference_images" folder.
Steps to reproduce

Set up a folder with some reference images (e.g. "reference_images/logo.png", "reference_images/progressBar.png", "reference_images/form.png"
Define a folder called "visual_testing" through the option "pluginVisualRegressionImagesPath" on Cypress config
Call .matchImage({ matchAgainstPath:  'reference_images/logo.png' }) and the other reference images as well on your script
Run the test case once using Cypress GUI
Make some changes to the element you're testing, so that it has a visual difference higher than the threshold applied
Run the test a second time. When the error appears, click on "See comparison" and click on the "Update screenshot" button
The screenshot is saved in the "visual_testing" folder instead of updating the image in the "reference_images" folder

Expected behavior
The baseline images should be updated when the "Update screenshot" button is clicked
Additional context
Cypress v12.16.0
Package version
3.3.10
Device
PC
OS and version
Windows 10
Browser and version
Chrome, Edge
Node version
16.14.0
I can work on it by myself

[ ] Yes
[x] No

Code of Conduct

[X] I agree to follow this project's Code of Conduct

We're experiencing the same issue with a similar structure (snapshot folder is not the default folder), the baseline image is not being updated when clicking the update screenshot button.
The workaround is to manually delete this image and run the test again so it will be created again.


Locale (i18n) aware link_to, directory_indexes and translated paths

I'm building a localized website in English and Dutch (NL) and this is the navigation I want to achieve:
In English:
Home
About
The Team

in Dutch:
Home
Over
Het Team

Which means my build file structure should look something like:
/index.html
/about/index.html
/about/the-team/index.html
/nl/index.html
/nl/over/index.html
/nl/over/het-team/index.html

--
In my config.rb I have:
activate :i18n, :mount_at_root => :en
activate :directory_indexes

And my navigation.erb:
<%= link_to t(:home), "/index.html" %>

<%= link_to t(:about), "/about.html" %>

<%= link_to t(:team), "/about/the-team.html" %>

I've tried:

Combining directory_indexes with localized child pages.

Translating paths using the paths key in the language YAML files. From the docs:

In some cases you may want to localize the name of the file in addition to its contents. You can use the special paths key in your language YAML files to rename URLs to be language-specific.

But I can't get them to work together properly.
The link_to helper doesn't always take locales into account when parsing the URL's. Sometimes I get absolute or broken links (ie. missing slashes). And directory_indexes, translated paths and child pages don't go well together.
Anyone knows how to achieve this? Or am I missing something?

For locale aware link_to you have to define your own helper. For mangrove.com we use:
def local_path(path, options={})
  lang = options[:language] ? options[:language] : I18n.locale.to_s
  "/#{lang}/#{path}"
end

In the navigation we use this kind of link_to:
<%= link_to t("pages.company.label"), local_path(t("paths.company")) %>

Also, you need to put your template files in /source/localizable/ instead of /source.
Last but not least, you need to put your translated paths in your locale files, like this:
nl:
  company: over-ons
  paths:
    company: over-ons

I hope this is all. Good luck ;-)

@rensverschuren thanks :)
I'll give that a try after the weekend.

Thanks :) I'll give that a try after the weekend.
Edit:
@rensverschuren I'm using the helper now, slightly modified to omit the language mounted as root.
But I'm still a little confused on how to translate the paths and subdirectories. Are you using directory_indexes to build the subdirectories or did you create them manually? ie. contact in www.mangrove.com/nl/contact/rotterdam/. And what if I wanted to translate "contact"? ;)

@rensverschuren I'm using the helper now, slightly modified to omit the language mounted as root.
But I'm still a little confused on how to translate the paths and subdirectories. Are you using directory_indexes to build the subdirectories or did you create them manually? ie. contact in www.mangrove.com/nl/contact/rotterdam/. And what if I wanted to translate "contact"? ;)

@sn3p I'm facing the same problem right now, how did you translate the subdirectories?

I'm facing the same problem right now, how did you translate the subdirectories?

This is really old and ugly piece of code, but this is what I came up with back then.
Note that this was when we were still running Middleman v3, so will probably break in v4.
# Localized link_to
def locale_link_to(*args, &block)
  url_arg_index = block_given? ? 0 : 1
  options_index = block_given? ? 1 : 2
  args[options_index] ||= {}
  options = args[options_index].dup
  args[url_arg_index] = locale_url_for(args[url_arg_index], options)
  link_to(*args, &block)
end

# Localized url_for
def locale_url_for(url, options={})
  locale = options[:locale] || I18n.locale
  options[:relative] = false
  url_parts = url.split("#")
  url_parts[0] = extensions[:i18n].localized_path(url_parts[0], locale) ||
                 url_parts[0]
  url = url_parts.join("#")
  url = url_for(url, options)
  # Replace leading locale url segment with domain
  url.sub("/#{locale}/", full_url("/", locale))
end

Hello everyone! I'm facing this issue and I have to say the helper_method has indeed helped a lot, but I'm facing an issue with this:
I have this in my config.rb:
# Pretty URLs https://middlemanapp.com/advanced/pretty-urls/
activate :directory_indexes
# i18n https://middlemanapp.com/advanced/localization/
activate :i18n, mount_at_root: :en, langs: %i(en es)

And when I'm in a route, let's say my.site/es/my-page, this happens:
link_to 'HOME', local_path('/')
# or
link_to 'HOME', local_path('/', language: :es)
# Both of them output
HOME
# Which is absolutely fine and expected, because /es is the root of the current locale

But when I'm in a mounted-locale route, let's say my.site/my-page (by default :en is mounted), this happens:
link_to 'HOME', local_path('/', language: :en)
# It outputs
HOME
# Which is gives me a 404 error clearly because /en is not valid, :en is mounted.

So, I made an exception in the helper:
def i18n_path(path, options = {})
  lang = options[:language] ? options[:language] : I18n.locale.to_s
  # English is mounted at root
  lang = '' if lang == :en
  # Replace multiple slashes with one
  "/#{lang}/#{path}".gsub(/\/+/, '/')
end

Which is basically the same as saying link_to 'HOME', '/'
And here is the issue, when link_to is used to redirect to the root, the "root" is anyway with the current locale.
My question would be, how to go to the TRUE root of the site when I'm in locale, using link_to helper?

Adding my solution, which is trying to work with middleman internals as much as possible.
# config.rb
activate :directory_indexes

helpers do
  def localized_path(path)
    localized_filename = path.sub(/\./, ".#{I18n.locale}.")

    resource = sitemap.resources
      .select { |r| r.try(:target) }
      .find { |r| r.target.match(localized_filename) }

    raise "Can't find resource in sitemap for #{path} with #{localized_filename}" unless resource

    "/#{resource.eponymous_directory_path}"
  end
end

# locales/fr.yml
---
fr:
 paths:
   source-name-of-the-page: ce-chemin-est-en-français

<a href="<%= url_for localized_path('source-name-of-the-page.html') %>">Link