Problem DNS <IP_ADDRESS> (Windows 10 x64)

Hello. I have a problem. Install and test DNSCrypt, everything works, the server passes the test. As soon as I change DNS to <IP_ADDRESS>, all the addresses are not recognized (the system does not see <IP_ADDRESS> as the DNS server, and does not send requests through it).
Six months ago, it worked, but now is not.
Installed Windows 10 x64.
Tried all versions DNSCrypt and SimpleDNSCrypt - the problem is that DNS requests are coming in DNSCrypt service if I change the DNS for your network card to <IP_ADDRESS>.
I tried to put a local address of the PC (<IP_ADDRESS>) in the service DNSCrypt and DNS network card - the same questions are not recognized as DNS.
Please help me.

What is srv you use ?
Try update resolve.csv and select other provider dns ( i have seems problem with d0wn-ru-ns1 ).

mausspb
DNS proxy server working. Windows does not recognize the DNSCrypt as DNS - to <IP_ADDRESS> are not sent to queries as DNS server.

Hi, just would like to signal I have the same issue (and same setup/tested with firewall off, just to avoid issues with that) as AlexBO222. What does work though is the original DNSCrypt from OpenDNS https://github.com/opendns/dnscrypt-win-client .

What happened if you try this client?

What happened if you try this client?

I tried all clients (and even private) - the result is the same. The client is not guilty - the operating system is blocking DNS queries for this program, when installed in the system. Exactly where and how locked - can not find.

I don't think the operating itself can be responsible for that behavior, unless you are running some very unique version of Windows.
Are you running some firewall, antivirus, or hypervisor?

Windows 10 Pro x64 Russian (build 1607)
Kaspersky KIS <IP_ADDRESS>1
4 PCs with the same systems and antivirus software, but different on the iron - on all blocked DNSCrypt.

WTF, that is so Russian. Maybe we need to contact Kaspersky Lab. for why they block DNSCrypt.

@AlexBO222 Add your voice here: https://forum.kaspersky.com/index.php?showtopic=355020 and here: https://forum.kaspersky.com/index.php?showtopic=355127

licaon-kter

Thank you. I will try, as suggested in the topic for the second link.

KrasnayaPloshchad
The problem is deeper. When installing KIS system modifies. If you unload the KIS, DNSCrypt not work anyway.

Unload means uninstall? If not, what happens if you uninstall it completely and reboot?

Not uninstall. Only unload. If back to 2016 version KIS - DNSCrypt ok.

The KIS discussion is a red-herring, I have no (as in none) AV installed and DNSCrypt doesn't work. As said, by the OP and by me in the above, as soon as one changes the proxy settings to <IP_ADDRESS>, it stops working. A thought: "Does the port (53, which one CANNOT specify) prevent this?"

degski

Maybe you are right. Can the OS itself does not run other applications at the 53rd port. I did roll back to the previous point (when the KIS was installed 2016 version), but the operating system has to this point no other current updates. Perhaps in the new updates to the windose 10 (x64) made such a ban.

@degski You need an actual app to listen on port 53, else Windows won't use it as as a DNS server, that's not an issue.
Does SimpleDNScrypt fail too?

@licaon-kter "Does SimpleDNScrypt fail too?" No, it works. Tested here: http://www.openresolver.com/?ip=<IP_ADDRESS> , which gives me "Recursive resolver is not detected on <IP_ADDRESS>", which seems to be the "correct" answer, if things are set up properly and work correctly.
How can one (if one can) specify port 53, surely there must be a way (so I won't need an app)?

Specify 53 where? What for?
Do read a bit more about how DNS works, this is the basic stuff: server needs to listen on port 53, clients only connect to port 53. (it does not matter if client and server are actually the same machine)
If SimpleDNSCrypt works then just use it.
Use these sites to verify that only the selected server is used: https://github.com/jedisct1/dnscrypt-proxy/issues/393

openresolver.com checks that a public resolver is running on a public IP address.
This is very unlikely to be what you want.
Use one of the sites listed by @licaon-kter or run that command:
hostip resolver.dnscrypt.org

It will return the IP address of the resolver you are actually using, and it should match the DNSCrypt rseolver you chose (you can use http://iptoasn.com/ to check its name if you need to).

@jedisct1 and @licaon-kter Alright guys, stop shouting! No, you both were right, it didn't work (checked with https://dnsleaktest.com/), up till now. One (apparently) still has to manually set the dns-server to <IP_ADDRESS> in the IP4 settings of the network adaptor. After doing this, dnsleaktest.com returned the address/ip of the dns-server I picked. Thanks to all of you, resolving (pun intended) this issue!

@degski That's a given, I mean setting up manually.

In my case, no matter what sites I can not go after the installation of <IP_ADDRESS>, and nothing I can not check - so there is no DNS server on your PC. DNSCrypt works, but the OS does not let him as a DNS server and says I do not have a PC desktop DNS server, and anywhere I can not enter.

@AlexBO222 you using Windows 10? Have you allowed Incoming traffic to TCP port 53 and UDP port 53 in "Windows Firewall with Advanced Security"?
I have to personally add rules to allow Incoming traffic to those two ports before dnscrypt-proxy works.

All Windows Security - OFF. KIS 2017 manages all security windows 10. The KIS has no such settings in your firewall.

Maybe KIS hijacks DNS queries. This is probably something you should discuss on a Kaspersky support forum.


[WEB-CLIENT] PIN map is gone

Describe the bug
The map for the PIN (seeking help) is gone. @mcverter mentioned this is a CSS issue.
To Reproduce
Steps to reproduce the behavior:

Sign into https://app.staging.reach4help.org/
Switch to "Seeking Help" from the sidebar.
Look at what used to be a map at the top of the screen.

Expected behavior

@schowdhury8 talk to @ebrelsford about fixing map css.  @btuerker  might also know

@schowdhury8 Please make sure to snap any console logs 😄 . Helps us debug.

Not a css error.  Map has nonzero dimensions.   Seems to be an error in the firebase layer.
@schowdhury8 reassigning to @ashwinkjoseph .  maybe @sabind can advise too


Expand lets in case branches

This allows to apply erasure to any term, after having expanded let-bindings in constructor arguments inside branches.

The proofs are not entirely finished but the main arguments are validated :)


Feat/stack

Preflight Checklist

[X] I have read the Contributing Guidelines for this project.
[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the pull request tracker for a Pull Request (PR) that matches the one I want to submit, without success.

Issue
This PR Closes #979 #980
is related #834
Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (npm run build) was run locally and any changes were pushed
[x] Lint (npm run lint) has passed locally and any fixes were made for failures

Changes
Changes in this pull request:

addresses extensibility and composition possibilities of layout components with nesting capabilities

introduces footer component

introduces stack component (used within footer)

enhances mixins and styles

introduces a new link-list variant which switches from vertical to horizontal at a given breakpoint

enhances lyne-title capabilities for theming

introduces a new naming/CSS custom property concept for external (API like) and internal CSS custom properties e.g. --_icon-spacing-inset for internal usage. But without the underscore as API/external custom property --icon-spacing-inset

Browsers
I tested the build on the following browsers:

[x] Firefox Desktop
[x] Chrome Desktop
[x] Safari Desktop
[x] Firefox Mobile (Pixel 6)
[x] Chrome Mobile (Pixel 6)
[x] Safari Mobile (iPhone 13, iOS 15)
[x] Opera
[x] Brave

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Does this introduce a breaking change?

[x] Yes
[ ] No

I removed the prefix for spacing variables which I once introduced for the responsive spacing variables. I did this, because the naming of the spacing variables was not consistent (responsive spacing variables used the prefix, fixed spacing variables did not use it) and it made it easier / no. exceptions for the stack component spacing which gets calculated/mapped through the property/css custom property like this var(--spacing-${this.gapHorizontal}).
I suggest to introduce the --lyne prefix for all Lyne custom properties, but as a refactoring task by itself.
Mentions

@lyne-design-system/core

Codecov Report

Merging #1013 (33bd78e) into master (5c55f7b) will increase coverage by 0.80%.
The diff coverage is 89.74%.

@@            Coverage Diff             @@
##           master    #1013      +/-   ##
==========================================
+ Coverage   60.21%   61.02%   +0.80%
==========================================
  Files          42       44       +2
  Lines        1385     1424      +39
  Branches      320      329       +9
==========================================
+ Hits          834      869      +35
- Misses        477      479       +2
- Partials       74       76       +2

Impacted Files
Coverage Δ

src/components/lyne-link-list/lyne-link-list.tsx
93.75% <ø> (ø)

src/components/lyne-footer/lyne-footer.tsx
89.47% <89.47%> (ø)

src/components/lyne-stack/lyne-stack.tsx
90.00% <90.00%> (ø)

Continue to review full report at Codecov.

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


Most relevant result on top when searching collection

when searching for example 3 in the search bar, it should put the most relevant result on top.
currently, it shows the # 3 as last result

in this case, what is the most relevant result?
https://canary.kodadot.xyz/ahp/collection/50?search=3
It looks like its number from high to low

Hotfix should orderBy: blockNumber_ASC

👋


In 05_Composing_Plots the rasterized_pop plot is empty

HoloViz: 0.11.3
05_Composing_Plots

Additional Context
If I remove .opts(logz=True) I get

Subjective Comment
I think the data and intentions of the example is great. But the end result does not at all emphasize this.
I would have a hard time selling this to anybody. It's really difficult to see the correlation between the areas with the high population density and the earth quakes. And personally I think the map color is not very pretty.
Sorry. and thanks for all the effort that has gone into producing this example.

Its the same problem in Exercise 3

Duplicate of https://github.com/holoviz/holoviews/issues/4376. I'll try to update the notebook today.

Fixed in #264.


Use of negroni in readme is incorrect

Negroni's logging handler expects its own wrapped response writer. So to make the example in the readme work as expected, it looks more like this:
logMiddleware := negroni.NewLogger()
rpc.WithMiddleware(
    func(w http.ResponseWriter, req *http.Request, next http.HandlerFunc) {
        logMiddleware.ServeHTTP(negroni.NewResponseWriter(w), req, next)
    },
))

Otherwise, you'll see an error like "interface conversion: *http.response is not negroni.ResponseWriter: missing method Before" in your response bodies.

 Didn't realize their library had such a tight dependency on its own response writer. Your snippet does work, but it feels rather cumbersome to have users do that just to pull a middleware off the shelf.
Rather than updating the readme, I can make the frodo middleware internals use a compatible response writer. This way you can still have the simplicity of the current example but... you know... it would work :)
I thought I was already using a custom response writer for another purpose where I needed to inspect the status code, but I can't seem to find that anywhere (I must have backed that out). I'll need to do some noodling to determine if the custom response writer belongs in Frodo or if it should live in http://github.com/monadicstack/respond` which handles the gory details of HTTP response wrangling.

Sounds good!


Wrong case sensitivity.

https://deck.net/41a741e6340da07afacab52836978a6e
Newtonsoft.Json tries case sensitive first... if not it performs case insensitive name matching.
Also it is not possible to derive from DefaultContractResolver or implement own IContractResolver.
So there is no way to override this behavior and convert from camel to pascal case.
It is result of browser native implementation. Possible solution:
The optional reviver parameter is a function that will be called for every key and value at every level of the final result. Each value will be replaced by the result of the reviver function. This can be used to reform generic objects into instances of pseudoclasses, or to transform date strings into Date objects.
The stringifier method can take an optional replacer function. It will be called after the toJSON method (if there is one) on each of the values in the structure. It will be passed each key and value as parameters, and this will be bound to object holding the key. The value returned will be stringified.
--
Also it looks it ignores Convention attribute... And I guess it is not correct...
In any case it does not allow me to make a workaround.

We will be working on this issue to implement fallback casing support in Bridge.Newtonsoft.Json.
The Reviver option is available by using the native JavaScript JSON.Parse method.

The [Convention] attribute is not supported by Newtonsoft.Json, so we will not be able to support with Bridge.Newtonsoft.Json.
We will be able to implement the fallback to case-insensitive match if the strong match is not found at first.


Remove outdated configurations and ensure the tutorial runs smoothly

address https://github.com/kubernetes-sigs/gateway-api-inference-extension/issues/135
Remove outdated configurations and ensure the tutorial runs smoothly

Thanks @Jeffwan ; does this address all the issues in https://github.com/kubernetes-sigs/gateway-api-inference-extension/issues/135?
/lgtm

@ahg-g Yes. I think @yankay address the missing piece in https://github.com/kubernetes-sigs/gateway-api-inference-extension/pull/139


iOS 13 dark mode support

I noticed that the default background color of the view controllers is "white" and not "systemBackground"

Fixed in 1.4


[sil-combine] Leave the new load at the old load site when promoting unchecked_take_enum_data_addr + load -> load + unchecked_enum_data.

We must make sure the new load is inserted where the old load was instead of
inserting it at the unchecked_take_enum_data_addr, since the
unchecked_take_enum_data_addr may be in a different block from old load /and/
old load may not post-dominate that point. This was just a thinko.

@swift-ci test


[WIP] Prepare syntax tree modification needed for Diagram

Purpose
This has the syntax tree modifications (injecting type related details) to help render the diagram
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: NipunaMarcus:x: CharukaKYou have signed the CLA already but the status is still pending? Let us recheck it.


Fix d2i_PrivateKey() to work as documented [1.1.1]

d2i_PrivateKey() is documented to return keys of the type given as
first argument |type|, unconditionally.  Most specifically, the manual
says this:

An error occurs if the decoded key does not match type.

However, when faced of a PKCS#8 wrapped key, |type| was ignored, which
may lead to unexpected results.
(cherry picked from commit b2952366dd0248bf35c83e1736cd203033a22378)

This pull request is ready to merge

Merged
176eb406691f14d560cf7619365830a4d033ee28 Fix d2i_PrivateKey() to work as documented


The file valid1.txt is not uploaded？

./datasets/last-fm/rawdata/LFM-1b_users.txt   is also not UPLOADED ??


Doorbell chime twice per press

Hi - I've got the 2021 Nest Doorbell (battery) - I've got it setup successfully on homebridge and is working for all intents and purposes.
However I've noticed when I press the doorbell, there will be 2 chimes - It appears on both STARTED and ENDED a notification will be sent to my device and my homepods will also chime.
[6/5/2023, 3:07:39 PM] [homebridge-google-nest-sdm] Event received: {
"eventThreadState": "STARTED"
[6/5/2023, 3:07:39 PM] [homebridge-google-nest-sdm] Doorbell ring! Entrance Doorbell
[6/5/2023, 3:07:58 PM] [homebridge-google-nest-sdm] Event received: {
"eventThreadState": "ENDED"
[6/5/2023, 3:07:58 PM] [homebridge-google-nest-sdm] Doorbell ring! Entrance Doorbell

Just pushed v1.1.4 which should fix the issue.
I spent some time trying to play around with caching events so that I could use the motion start/stop events, but in the end I ignored them and used the same motion decay time I've always used, the extra complexity of accurately reporting when motion has "started" and "stopped" wasn't worth it.

Thank you so much - Tested and it's working perfectly.


The Zitadel project needs to be OS agnostic

Preflight Checklist

[X] I could not find a solution in the existing issues, docs, nor discussions
[X] I have joined the ZITADEL chat

Describe your problem
Firstly, Microsoft basically owns the enterprise landscape.   Which means there are a lot of windows only developers that have managed to create golang projects that anyone on any platform can easily build and contribute to.
At least my group of developers that are moving to zitadel are coming from this enterprise windows environment.
The current Zitadel project needs to be improved to capture a bunch of developers that couldn't give 2 shakes about Linux or mac.
This is how easy it should be to build and step code for zitadel.

clone it
go mod tidy
launch it with visual studio code

I can do exactly this with a go app that exposes a grpc endpoint, grpc-gateway endpoint, and a few http endpoints internally backed by echo.  My colleagues who only use macs can do it too.
My dockerfile builds it all for production and was mostly created by our devops guy who knows Linux.
Describe your ideal solution
Same as above
Version
2.38.1
Environment
Self-hosted
Additional Context
No response

WOW! I got it to run on windows but oh boy what a slog.
my dart was messed up due to flutter, had to remove that.
choco install make
choco install dart-sdk
choco install sass

Make sure your dart is version 3.x
I was then able to call
make which produced the zitadel binary, without the exe extension.  No big deal wasn't going to run it that way.
I then had to make a config folder at the project level (same place main.go lives) and put in the zitadel.yaml and init.yaml in there.
This is my visual studio code launch.json
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "zitadel",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program": "${workspaceFolder}",
            "args": [
                "start-from-init",
                "--masterkey", "MasterkeyNeedsToHave32Characters",
                "--tlsMode", "disabled",
                "--config", "./config/zitadel.yaml",
                "--steps", "./config/init.yaml"
            ],
            "env": {
                "ZITADEL_DATABASE_POSTGRES_HOST": "localhost",
                "ZITADEL_DATABASE_POSTGRES_PORT": "6432",
                "ZITADEL_DATABASE_POSTGRES_USER_USERNAME": "postgres",
                "ZITADEL_DATABASE_POSTGRES_USER_PASSWORD": "password",
                "ZITADEL_DATABASE_POSTGRES_ADMIN_USERNAME": "postgres",
                "ZITADEL_DATABASE_POSTGRES_ADMIN_PASSWORD": "password",
                "ZITADEL_EXTERNALSECURE": "false",
                "ZITADEL_FIRSTINSTANCE_MACHINEKEYPATH":  "/machinekey/zitadel-admin-sa.json",
                "ZITADEL_FIRSTINSTANCE_ORG_MACHINE_MACHINE_USERNAME":  "zitadel-admin-sa",
                "ZITADEL_FIRSTINSTANCE_ORG_MACHINE_MACHINE_NAME": "Admin",
                "ZITADEL_FIRSTINSTANCE_ORG_MACHINE_MACHINEKEY_TYPE": "1"  ,
                "ZITADEL_LOG_LEVEL": "debug"
            }
        }
    ]
}

I launched it with visual studio code and was stepping code.  That is how I found out that the parameter being passed in the authorize call where bad.
i.e.
http.Handle("/login", rp.AuthURLHandler(state, provider, rp.WithPromptURLParam("Welcome Back!")))

hei @ghstahl
Thanks for creating the issue and great that you got it to run.
Actually we do not have anyone in our team who has a windows machine, so I guess thats why its not as easy.
But I agree with you that it would be great to have an easy setup no matter which os you are using.

Brand New Widnows 11 Machine.
Prerequisite
install choco
install git
install go
Powershell (Administrator)
choco install nodejs-lts
choco install yarn
choco install make
choco install dart-sdk
choco install sass

Clone your zitadel fork.
IMPORTANT:  Open a git bash terminal and navigate to your zitadel project.
make compile

I have an existing zitadel docker-compose that configures it with all my orgs and idps.  As part of that there are 3 files I will copy over to my zitadel project.
In your zitadel project
md config
md machinekey

I then copied my configs over.
./config/zitadel.yaml
./config/init.yaml
./machinekey/zitadel-admin-sa.json

Visual Studio Code
install code
In my ./.vscode/launch.json
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "zitadel",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program": "${workspaceFolder}",
            "args": [
                "start-from-init",
                "--masterkey", "MasterkeyNeedsToHave32Characters",
                "--tlsMode", "disabled",
                "--config", "./config/zitadel.yaml",
                "--steps", "./config/init.yaml"
            ],
            "env": {
                "ZITADEL_DATABASE_POSTGRES_HOST": "localhost",
                "ZITADEL_DATABASE_POSTGRES_PORT": "6432",
                "ZITADEL_DATABASE_POSTGRES_USER_USERNAME": "postgres",
                "ZITADEL_DATABASE_POSTGRES_USER_PASSWORD": "password",
                "ZITADEL_DATABASE_POSTGRES_ADMIN_USERNAME": "postgres",
                "ZITADEL_DATABASE_POSTGRES_ADMIN_PASSWORD": "password",
                "ZITADEL_EXTERNALSECURE": "false",
                "ZITADEL_FIRSTINSTANCE_MACHINEKEYPATH":  "/machinekey/zitadel-admin-sa.json",
                "ZITADEL_FIRSTINSTANCE_ORG_MACHINE_MACHINE_USERNAME":  "zitadel-admin-sa",
                "ZITADEL_FIRSTINSTANCE_ORG_MACHINE_MACHINE_NAME": "Admin",
                "ZITADEL_FIRSTINSTANCE_ORG_MACHINE_MACHINEKEY_TYPE": "1"  ,
                "ZITADEL_LOG_LEVEL": "debug"
            }
        }
    ]
}

Hopefully you be debugging.
Put a break point here
Open your browser to your zitadel home page.  Mine is http://localhost:8081
Your breakpoint will be hit.

Maybe for local development, you can use WSL2 without an issue though.


Enhancement : Add Support to Reflect config.json into DB as a Table

Description:
We need to implement functionality that reads config.json and reflects its contents into the database as a new table for superset to seamlessly use it during automated templated dashboard creation.
Acceptance Criteria:

Modify upload2pg.py to accommodate config.json reflected as a table ( eventconfig table )
Ensure config.json values are reflected appropriately

It isn't clear to me if when I edit the json if I need to rebuild the images or not.
it is not required to rebuild the image each time we edit the json file

I usually remove the harvest.track file before I restart
ONLY if one wants to make the harvestor go through the start date to end ranges again!


Can't send dai

I would love an Easter egg or even full on functionality to switch networks and use xdai.io for moving dai as welll... If that functionality exists... I can't find it

Hi @GriffGreen, this feature exists (now). Click the buttons with the arrows pointing to the "right".


JQuery Turbolinks Issue using AdminLTE Theme

I am using AdminLTE theme in my Rails project and have enabled Turbolinks, Everything is working fine except there is one issue that when i click on left menu my content-wrapper doesn't load properly instead i have to reload the page to load it properly. This is a very common issue in Turbolinks and we normally resolved by using
$(function () { /* ... / }); instead of $(document).on('ready', function () { / ... */ });
and
$(document).on('click', 'button', function() { ... }) instead of $(document).on('click', 'button', function() { ... })
So far i have tried in app.js to but no effect can you please guide me where do i need to change to load view properly .
Thanks

I am not sure what TurboLinks is. Could you please clarify.
Also, those are the same

$(document).on('click', 'button', function() { ... }) instead of $(document).on('click', 'button', function() { ... })

Thanks!

I had an issue with the page height when I clicked on button with turbolinks enabled, the height of layout just shrinked. To solve it I just called $.AdminLTE.layout.activate(); from the CoffeeScript:
ready = ->
  $.AdminLTE.layout.activate();

$(document).ready(ready)
$(document).on('page:load', ready)

I have the same problem. When I use a sidebar-toggle it works when I reload the page but not when I visit a new page and turbolink loads it.
The @billp 's code does not work. $.AdminLTE.layout.activate() do nothing.

Yes you are right, the  code works above in some cases only.
Try this:
var o = $.AdminLTE.options
if (o.sidebarPushMenu) {
  $.AdminLTE.pushMenu.activate(o.sidebarToggleSelector)
}
$.AdminLTE.layout.activate()

This code works in coffeescript :
$(document).ready ->
  $.AdminLTE.layout.activate()

$(document).on 'page:load', ->
  o = $.AdminLTE.options
  if o.sidebarPushMenu
    $.AdminLTE.pushMenu.activate(o.sidebarToggleSelector)
  $.AdminLTE.layout.activate()

And the equivalent in JavaScript :
$(document).ready(function() {
  $.AdminLTE.layout.activate();
});

$(document).on('page:load', function() {
  var o;
  o = $.AdminLTE.options;
  if (o.sidebarPushMenu) {
    $.AdminLTE.pushMenu.activate(o.sidebarToggleSelector);
  }
  $.AdminLTE.layout.activate();
});

Thanks @billp

Cheers :beers:

Works like a charm. Thank you.

Thanks this saved me!

If you are using turbolinks 5, change above a little:
var ready = function () {
  var o;
  o = $.AdminLTE.options;
  if (o.sidebarPushMenu) {
    $.AdminLTE.pushMenu.activate(o.sidebarToggleSelector);
  }
  return $.AdminLTE.layout.activate();
};
document.addEventListener('turbolinks:load', ready);

It works like a charm, thanks @billp

It says that AdminLTE is undefined for rails 5.1 and AdminLTE 2.4.0 :(

Use rails 5, turbolinks 5 and admin lte v 2.4.2
Not work for me! Help

Hi guys please help me out with this issue
https://stackoverflow.com/questions/54956246/adminlte-2-4-5-treeview-not-working-properly-after-refresh-only-it-is-working-in

Just in case someone will came here from hours of stackoverflowing, here's solution
var ready = function () {
    return $(window).trigger('resize');
};
document.addEventListener('turbolinks:load', ready);

Add this to your js file (which will be included into application.js via require_tree . or manual include).

nice, this works for me.

// Tree Data API   // =============   $(window).on('load', function () {     $(Selector.data).each(function () {       Plugin.call($(this))     })   })
On adminlte.js u can also modify the code below to:
// Tree Data API   // =============   $(document).on('turbolinks:load', function(){     $(Selector.data).each(function () {       Plugin.call($(this))     })   })

In my case had problems with PushMenu and Turbolinks
Tried all above but the only code that worked it out to avoid monkeypatching:
// javascript/packs/application.js

global.$.AdminLTE = require("admin-lte")

$(document).on('turbolinks:load', function () {
    $.AdminLTE.Layout._jQueryInterface.call($('body'));
});

w/ AdminLTE 3.1.0 and Rails 6
for other plugins you should probably change Layout with IFrame, etc... and maybe there is a faster way, but this was enough for me ;)


Win App driver is not honoring implicit time out

I set the implicit timeout of the driver to 6 sec. But it is not immediately if the control is not identified. it waits for 10-15 sec before telling control is NOT found.
Can you please tell why this behavior is happening

Could be a lot of things, post your code

var appSession = new WindowsDriver(new Uri(WindowsDriverlUrl), AppCapabilities);
appSession.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(16);
appSession.FindElementByName("Procedure -- Dialog");
I am doing negative testing to verify control with "Procedure -- Dialog" does not exist.  Now even after 16 sec. it waits for some more time like around 22 sec i am getting the exception "'An element could not be located on the page using the given search parameters.'"
Since i gave the implicit time out to 16 sec. I am expecting the error to be thrown at 16 sec instead of 22 sec

I have found that ImplicitWait does not work.   The only thing that modified the wait time was passing a timeout into the constructor.
new WindowsDriver<WindowsElement>(new Uri(config.uwpDriverURL), appCapabilities, TimeSpan.FromSeconds(config.findTimeOutLong));

@tedrog36, that doesn't work for me either. I've tried both methods, i.e. implicitwait and passing the timeout to the constructor but I still get an immediate "An element could not be located..." web driver exception. The scenario I have is, is that a button is clicked and a second "login" window opens. If I do a Thread.Sleep then all is fine, but any kind of implicit wait doesn't persist.

Hi, the driver does not care about implicit time.
It is essential for mixed scenarios with elements, that have fast search speed and others with a slow speed of finding.
In some case's search time is over 15 seconds, that makes everything very slow.
Thanks for your work and hopefully your attention to this issue .
/ip/


[BUG] Including hostname in json logs drops kube_cluster_name tag

Agent Environment

> agent version
Agent 7.39.2 - Commit: f6f7bc9 - Serialization version: v5.0.26 - Go version: go1.17.11

Running the agent as a k8s daemonset via the helm chart using mostly default values. Logs are enabled with container_collect_all: true.
Describe what happened:
I have an app printing json logs that are collected by the agent. If a log line includes hostname as a top level key in the json object, that value will override what datadog shows in the Host field for that line, causing it to lose association with the server host the log came from. Also, kube_cluster_name will not be added as a tag to that log line. This is a similar problem to the one in #14099.
Describe what you expected:
Normal log lines behave as expected. Specifically, if a log line does not include hostname in the json, datadog will show it as coming from the correct server and will show kube_cluster_name tag which is automatically added by the agent.
Steps to reproduce the issue:

Run datadog-agent as a daemonset in k8s with logs enabled, a cluster name set, and container_collect_all: true.
Start an app pod whose container runs the following bash script:while true; do
  echo '{"message":"this line works properly"}';
  echo '{"message":"this line is buggy","hostname":"nonsense"}';
  sleep 10;
done;

Additional environment details (Operating System, Cloud provider, etc):

Hi @ryanartecona, thanks for using Datadog.
This issue queue is primarily intended for tracking features, bugs and work items associated with the datadog-agent open source project. For your request, please contact our support.

I confirm this bug. It drops all tags added by the kubernetes datadog agent when the hostname attribute is present inside json formatted logs.
@ryanartecona did you get any reply from the support ?

After contacting the support, here is the explanation.
As described here, by default hostname is considered by the json preprocessing configuration to remap the host name.
Therefore the hostname attribute won't have the same value as expected. And this has the consequence of dropping all host related tags because tags are coupled with the hostname, as further explained by the support (screenshot of the complete answer below)
(tags are associated to hostname and not sent with logs every time for performance reason, therefore this drop effect happens when the hostname attribute is overriden on logs with a value that does not match the real host where Datadog agents are running on.
How to resolve that: get rid of the hostname attribute coming from your json logs, or pass the real host value to a HOSTNAME environment variable to your container to get the correct one.
Support answer:


Change rebar3 and mix cache files destination

Instruct rebar3 and mix to use recipe work dir to keep cache files. That is necessary to avoid host contamination and make a clear separation from any other host cached files.
For rebar3:
https://rebar3.readme.io/docs/configuration
REBAR_CACHE_DIR
For mix:
https://hexdocs.pm/mix/main/Mix.html#module-environment-variables
MIX_ARCHIVES
MIX_HOME
Adding those variables in rebar3.bbclass and mix.bbclass should be enough (of course, point it to the recipe work dir)

Implemented.