doc: diagnostics document: additional questions and proposed changes

Thank you for putting together the diagnostics document, it is very useful for us people who's starting working with Go.
I'm creating this issue as I've additional doubts and @rakyll pointed me to here to ask for clarifications.

In the profiling section you have answered if it's possible to profile production services: I'm going to copy the answer here and add bold to the additional doubts that I have about it:

Yes. It is safe to profile programs in production, but enabling some profiles (e.g. the CPU profile) adds cost. You should expect to see performance downgrade. The performance penalty can be estimated by measuring the overhead of the profiler before turning it on in production.
You may want to periodically profile your production services. Especially in a system with many replicas of a single process, selecting a random replica periodically is a safe option. Select a production process, profile it for X seconds for every Y seconds and save the results for visualization and analysis; then repeat periodically. Results may be manually and/or automatically reviewed to find problems. Collection of profiles can interfere with each other, so it is recommended to collect only a single profile at a time.

This answer is very clear and concise, yet I've found myself trying to answer an additional question: how do one measure the overhead of the profiler? What do you mean by replicas, multiple copies of the same process running in the same machine?
I am guessing the answer might be obvious and it's escaping me due to my lack of enough experience, but I think that additional details like these could really improve the document.

Another question that I have was when reading about serving the profiler handlers in different path and port. The example used is:
mux := http.NewServeMux()
mux.HandleFunc("/custom_debug_path/profile", pprof.Profile)
http.ListenAndServe(":7777", mux)

However when I went to the net/http/pprof documentation I couldn't find a reference to pprof.Profile but rather I had to go to read the init function of that package to find how to do it. Am I missing something or is it just a bug in the document?

I've also found some package mentions like context.Context and httptrace.ClientTrace that don't provide a link to the documentation, which I think could be more than useful.

Sorry for the length of this issue, and if the answers are simple yet eluding me. Thank you for taking the time to read it! I would like to become a Go contributor someday so I'm more than willing to make changes to this document, provided I find out how to answer these questions :smiley_cat:

/cc @rakyll


Gunicorn container halts test session

Describe the bug
During the test session in the Travis build, it looks like the Gunicorn server in the Docker container suddenly comes to the foreground, so tests stop, and eventually Travis kills the build.
To Reproduce
Do a clean check out of the master branch, fully prune your Docker system taking care of not leaving behind any dangling images/containers, remove all your Python venvs, clean up any Python env vars, then in a fresh terminal:
$ cd where/you/cloned/ngsi-timeseries-api
$ pipenv install
$ source setup_dev_env.sh
$ sh run_tests.sh

At some point during the test session you should see the Gunicorn container coming to the foreground and making the tests hang.
Expected behavior
Gunicorn container should sit in the background, allowing pytest to go on with the test session.
Additional context
See any of the following build logs:

https://travis-ci.org/github/smartsdk/ngsi-timeseries-api/builds/727051434
https://travis-ci.org/github/smartsdk/ngsi-timeseries-api/builds/726970500

the problem is not gunicorn, but the new image using entrypoint instead of command, which makes the integration tests fail in the content load fase

ah, thanks for that. I wonder why tests were passing for a while even on Travis as well as on our boxes. Anyhoo, let's fix forward.

fixed by #363


how to change scrape path

Seems to be in the CRD but it's not exactly clear how to set it.
The default seems to be /metrics. How would I change this to /prometheus? I'm guessing something like:
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
  name: example-app
  labels:
    team: frontend
spec:
  selector:
    matchLabels:
      app: example-app
  podMetricsEndpoints:
  - port: web
    path: '/prometheus'

Not been able to get it to work as yet though.

Can you check whether the PodMonitor is picked up by your Prometheus at all? Make sure to double check label selectors configured in your Prometheus instance as well as that your pods have the selector you specify in the PodMonitor.

I changed my service to be on the default of /metrics. But what I posted above might be correct - I might have just applied it wrong. I'll try it again and see.

Have tried this again and tried variations on path: '/prometheus' like path: prometheus and couldn't get it to use the alternative path. Only way I've been able to get it to work is to switch the app itself to using /metrics


[ARROW] Use KyuubiArrowConveters#toBatchIterator instead of ArrowConveters#toBatchIterator

Why are the changes needed?

to adapt Spark 3.4
the signature of function ArrowConveters#toBatchIterator is changed in https://github.com/apache/spark/pull/38618 (since Spark 3.4)
Before Spark 3.4:
private[sql] def toBatchIterator(
    rowIter: Iterator[InternalRow],
    schema: StructType,
    maxRecordsPerBatch: Int,
    timeZoneId: String,
    context: TaskContext): Iterator[Array[Byte]]

Spark 3.4
private[sql] def toBatchIterator(
    rowIter: Iterator[InternalRow],
    schema: StructType,
    maxRecordsPerBatch: Long,
    timeZoneId: String,
    context: TaskContext): ArrowBatchIterator

the return type is changed from Iterator[Array[Byte]] to ArrowBatchIterator
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #4754 (e32311a) into master (06dd7d3) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #4754      +/-   ##
============================================
+ Coverage     58.06%   58.08%   +0.01%
  Complexity       13       13
============================================
  Files           581      581
  Lines         32325    32325
  Branches       4308     4307       -1
============================================
+ Hits          18771    18775       +4
+ Misses        11752    11750       -2
+ Partials       1802     1800       -2

Impacted Files
Coverage Δ

...g/apache/spark/sql/kyuubi/SparkDatasetHelper.scala
82.85% <100.00%> (+0.95%)
:arrow_up:

... and 6 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks, merged to master/1.7


Entra ID Rebrand

Microsoft have renamed Azure Active Directory to Entra ID.  https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/new-name .  This PR updates references to AAD to refer to Entra ID.

On each documentation page, I include formerly Azure Active Directory in the first non heading reference to Entra ID.  This will help anyone unfamiliar with the  name change, and will also mean the page continues to show up in search results if people search for the old name.
I didn't correct references in file names, as this would cause broken links.  If we have a way of redirecting those to new urls I can look at doing that, but if not, I think it's better to leave existing links working.
There were a few references to AAD in release notes for older versions - I left these alone as the product naming was correct at the time of the release notes.
LDAP provider still has references to "Active Directory" as these reference to the on premise Active Directory, not Azure Active Directory

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Hi @afscrome, thanks for this! Just a couple quick items before I do a review:

To make Vale happy you'll want to add some words - Entra, rebrand, etc. - to this file: https://github.com/backstage/backstage/blob/master/.github/vale/Vocab/Backstage/accept.txt
You can do redirects, just add them here: https://github.com/backstage/backstage/blob/bae9015f2bdec15b586efd5275b38b2214ec4eed/microsite/docusaurus.config.js#L114

Thanks @awanlin.  Vale should be happy now.
The one file we have that needs a redirect is https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/aws-alb-aad-oidc-auth.md, however that's under contrib rather than docs, so I don't think the redirects will work for that.

@awanlin Any ideas why the microsite job failed?  Do you mind triggering it for a rerun?

@awanlin Any ideas why the microsite job failed? Do you mind triggering it for a rerun?

Not really, it's been problematic lately, I'll kick it for you though 👍


wip: Invoice signing spec update

WIP re #318

This still needs attention to yanking.

I'm sure I didn't catch everything but I think this is pretty close to complete.


Pricing

I wanted to buy the 9USD Plan, the Pro Plan, but now that I reviewed it, I changed the price to 20USD. When will it return or is it a mistake?

@Exodo0 we needed to raise prices to keep up with demand. More info here: https://x.com/ericsimons40/status/1844551246658798079


Publish First Major (1.0.0) Version on PyPI

This new version will need:

[x] Full functionality with multiple basic reading modes/spreads
[x] Complete README and references
[x] Complete PyPI description page

https://pypi.org/project/cli-tarot/ 🎉


docs(storybook): fix icon size story for show code

This PR is about fixing the "Show code" in the "Size" pat of the Icon component story.
before :

after :

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


Volume controls

Possibilities:

Entering a number after a command to control its volume
Automatically adjusting volume to make sounds consistent
Blocking extremely loud sounds

Rudimentary support added in dbd443336487f1b50f766112c5d09506453fc0c6, but support still needs to be added for ytdl commands.

Added full support in ca930f9b11855d34e10c582853ab425e5e4d02d3


SmartRename not doing anything

Tried both versions (32 and 64 bit). Windows 7x64. After a task is issued, the window closes and nothing happens. The folder is unprotected and the filenames are not very long. Any idea why?

I can repro this when performing renames on items from OneDrive.  Looks like my recent fix to allow OneDrive items led to this.  Can you verify it repros on OneDrive items and not on local files?

I can repro this when performing renames on items from OneDrive. Looks like my recent fix to allow OneDrive items led to this. Can you verify it repros on OneDrive items and not on local files?

I don't use OneDrive but i can install it to try this. Can you give me the steps on what to do exactly with OneDrive?

What is the path to the files/folders you are renaming?  What options did you have set?

here's a quick recording with the info you asked for https://dump.video/IzjwDT

Thanks.  Are you using some sort of Shell replacement for Windows Explorer?

a custom theme (placebo for windows 7 https://www.deviantart.com/solmiler/art/Placebo-for-Windows-7-188414149) and Qtabbar for tabs

OK, let me install a Win7 VM to see if I can reproduce the issue there.

I can reproduce the issue on Win7.  I'm pretty sure I know what is wrong.  I'll code up a fix.  Thanks.

Fixed in latest release.  Thanks for reporting this.


Hans The Almighty crashing game in Nether [Ticking Entity]

When exploring in the Nether My game and/or the server I'm running crashes because of Hans The Almighty. It's happened multiple times and I've found no way to fix it(Other than running a repeating command killing every Hans The Almighty). It happens on the server and single player.
To reproduce this bug, you just have to float around in the nether anywhere and then out of nowhere the game crashes. Probably because a Hans The Almighty Spawns in and crashes the game
Expected Behavior is a ticking entity crash.
Setup:

Forge 36.2.20
Immersive Weapons 1.4.2
mods folder from mod pack
modlist.txt

I've tried deleting the entirety of the nether dimension and looking in the immersive weapons config file to disable spawning of Hans but there are only structure options in the config file. I thought it was only in the nether since I've only crashed in the Nether but it's actually in the overworld as well when I look closely at the crash reports.
If anything else is needed I can provide it.
Hans The Almighty in another location crash:
crash-2022-01-01_14.10.29-server.txt
Hans The Almighty in the Nether:
crash-2022-01-02_12.07.00-server.txt
Most recent crash:
crash-2022-01-04_13.45.06-server.txt

All 1.16 versions of Immersive Weapons are at End of Life and are not receiving updates. Chances are it has been fixed in v1.5.x+ (1.17 versions). However, I'll take a look into it, if it's an easy enough fix then I'll release an update. Can you upload your debug log? It'll be under the logs folder of your game directory.
As for the config file, versions before 1.9.3 do not support configuring the natural spawning of entities.

 Thanks for even looking into it :)
Here's a crash that JUST happened for this issue:
crash-2022-01-04_16.04.06-server.txt
Here is the log for said crash.
2022-01-04-10.log.gz
.

I would seriously enjoy being able to support multiple versions, but unfortunately, I do not have enough time or resources to do it by myself.
From what I can see in the crash, something is null where its not supposed to be. But your log seems unrelated to this crash:
[04Jan2022 08:00:11.501] [Server thread/ERROR] [de.geheimagentnr1.auto_restart.util.ServerRestarter/]: Auto Restart could not be done.
java.io.IOException: Cannot run program "C:\ThisPC\Desktop\MedievalMinecolonies\run.bat": CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessBuilder.start(Unknown Source) ~[?:1.8.0_311]
	at de.geheimagentnr1.auto_restart.util.ServerRestarter.restartServer(ServerRestarter.java:34) ~[auto_restart:2.0.0]
	at de.geheimagentnr1.auto_restart.handlers.ForgeEventHandler.handleServerStoppedEvent(ForgeEventHandler.java:63) ~[auto_restart:2.0.0]
	at net.minecraftforge.eventbus.ASMEventHandler_353_ForgeEventHandler_handleServerStoppedEvent_FMLServerStoppedEvent.invoke(.dynamic) ~[?:?]
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?]
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?]
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?]
	at net.minecraftforge.fml.server.ServerLifecycleHooks.handleServerStopped(ServerLifecycleHooks.java:124) ~[forge:?]
	at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:683) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) ~[?:?]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_311]
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessImpl.create(Native Method) ~[?:1.8.0_311]
	at java.lang.ProcessImpl.<init>(Unknown Source) ~[?:1.8.0_311]
	at java.lang.ProcessImpl.start(Unknown Source) ~[?:1.8.0_311]
	... 11 more

Is there a file just named debug.log? Or if that one doesn't exist, check for latest.log.

I'm sorry about that, new to actually making a modpack AND running the server for it.
debug.log

I don't see anything in there about a crash in that log, it looks like everything worked correctly.
I'll mess around a bit in a development environment to see if I can reproduce it.

Dang, I'll set up the command block and put the command I put into and the settings as a "fix" if you don't find anything if it works fine after an hour.
Here's the modpack if you'd like to reproduce it with the additonal mods.
[Current] ModpackAlpha 1.1-20211231T232352Z-001.zip

It works properly on my end.

So that leads me to believe another mod is incompatible with Immersive Weapons. I did see a lot of hacky stuff going on in the log, so perhaps that could be related. What I will do is attempt to backport the entity spawn configurations from 1.9.3 to the 1.4.x branch, so you can at least disable the natural spawning of Hans. I don't know when I'll have this done, but I'll let you know.

Thank you so much for all your help, right now as a temporary fix I have a command block set to "/tp @e[type=immersiveweapons:hans] ~ -64 ~"  with it running at all times unconditionally.
As for Hans, sometimes he's fine and dandy and he spawns in just fine and then other times he's the harbinger of ticking entity.
Again thank you for your help, I really like this mod a lot!

I've released v1.4.3 which adds configuration options to toggle the spawning of entities. Unfortunately, this really only is a band-aid fix but since it seems to be a mod conflict, I cannot do much more. But you should be able to disable Hans while keeping the other entities active, providing they aren't causing trouble as well.


IGAPP-729: Support .jpeg images

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.
Not sure what to do about .gifs. Our image view does apparently not support gifs. I think there are three possibilities:

Keep the current behavior, i.e. just opening .gifs in the browser
Do nothing on click
Change to a different image view

I would not do 3. as the benefit is very little. What do you think?

Not sure what to do about .gifs. Our image view does apparently not support gifs. I think there are three possibilities:

Keep the current behavior, i.e. just opening .gifs in the browser
Do nothing on click
Change to a different image view

It actually should work. But you need to enable gifs on android https://stackoverflow.com/a/57026717


Fix resolved view decorator

Last time I checked it was not. It is used internally in aurelia template ng.
I do agree that decorators are not meant to be used in this manner. It does work just fine

@bas080 I know for a fact that it's being exported. https://github.com/aurelia/templating/blob/master/src/view-strategy.js#L44
My question was, which path is exporting it. I know now that my above example should work. https://github.com/aurelia/templating/blob/master/dist/es2015/aurelia-templating.js#L387


[Storage] SAS version cleanup.

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly

/azp run java - storage - ci

Just had one comment about hardcoding the version that we should apply to all XXXServiceSasSignatureValues stringToSign methods

ServiceSasSignatureValues

@gapra-msft Blobs is the only place it seems to matter for now. We don't branch out this logic elsewhere (datalake doesn't even have equivalent).

@kasobol-msft  Even if it doesn't matter for now, shouldn't we future proof it?

/azp run java - storage - tests-weekly

/azp run java - storage - tests-weekly


Modal: Fix overlapping UI for scrollable content

Modal: Fix overlapping UI for scrollable content

This update adjusts the width of the Scrollable faders and the position
of the CloseButton for Modal. Previously, these elements had fixed
sizes/offsets, which overlapped with the (native) scrollbar that appears.
To remedy this, a util function was added to calculate the web
scrollbar width, determined by the OS. Calculcations where then added
to inline styles when applicable.
This update also fixes the Modal scroll bug, introduced by the
AnimeJS integration.
Resolves: https://github.com/helpscout/blue/issues/141

Changes Unknown when pulling 8b0fd919b61bb0edf34c029204342a04c4719550 on Modal/fix-overlapping-ui into ** on master**.


ember-cli-htmlbars-inline-precompile is opting out of caching due to an AST plugin that does not provide a caching strategy: v-get

Deprecation message while starting Ember serve !.

ember-cli-htmlbars-inline-precompile is opting out of caching due to an AST plugin that does not provide a caching strategy: v-get

preprocessors are supposed to provide a caching mechanism now, but perhaps those modules don't do it yet

After upgrading an addon to ember-cli 2.7.0 I get similar messages, see the TravisCI log here: https://travis-ci.org/kaliber5/ember-bootstrap/builds/152026260

This is the same underlying issue as https://github.com/ember-cli/ember-cli-htmlbars/issues/91, and the error is with the individual AST plugins.
In this case, it is provided by ember-cp-validations which was fixed in https://github.com/offirgolan/ember-cp-validations/pull/305.


"The Accounting Game"

Problem
Billions of people living on a planet develop their personal lifestyle preferences and all is good, but sometimes living life can cause conflicts with others and violence is sometimes used to try conflict resolution, which causes a lot of suffering.
Goal
Have billions of people - who can't possibly know each other personally beyond their personal communities - live on the same planet peacefully. If arbitrary lifestyle choices lead to conflicts, they should be resolvable without violence.
How to start thinking about solutions?

Individuals and groups can of course come up with arbitrary life style choices, which is awesome :-)
In a group where everyone knows each other people can always find custom ways to solve issues
What works in groups where people know each other, breaks down when there are too many people
History is filled with war and violence as the most primitive method of "conflict resolution".

In "the small", where people living in communities know each other, there is always space to come up with custom conflict resolution methods the community likes. If an individual doesn't like that method of conflict resolution, it can move to a different community or even live alone.
In "the large", where people and communities don't know each other personally anymore and can't keep track, the problem is different. Traditional social mechanisms of conflict resolution break down.
The best methods people invented and use today to avoid conflicts with other people without violence seems to be The Accounting Game.
The Ideas behind The Accounting Game
Every person can live however they want - alone or with their communities - and fine local rules to avoid conflict, but where people don't know each other, they use the concept of transaction.
Every person maintains a balance sheet and organizations of people also maintain balance sheets.
If people do not maintain their own balance sheets (e.g. employees), then employers and banks maintain a simplified balance sheet for them.
A transaction is consensus between two individuals/organizations to change their balance sheets in certain ways compatible with the rules of The Accounting Game. In times where there are no conflicts - life can go on in arbitrary ways - but in case of dissent, The Accounting Game defines the rules to deny transactions to protect oneself from unwanted changes without the use of violence.
Billions of people around the world are organized in organizations with employees and play the accounting game for 40h+ per week.
The promise of the game is - if everyone sticks to the rules - we have a mechanism without violence to resolve conflicts.
The Question
Is The Accounting Game we play today fair? Are the rules fair?

i think "cool" money might be like bitcoin, but everyone who starts accepting it creates value for the bitcoin holder community without which bitcoin would be worthless... so if i start accepting bitcoins i want the bitcoin holder community to pay me a service fee... ...and of course, as soon as i earned some bitcoins, i also kind of start paying this service fee to others :-)

Evolution of Money
Stage 0 - no money
People only act based on the direct utility motive

If Alice has bananas and wants salt

If Bob has apples and wants bananas
If Chelsea has wood and wants apples
If Daniel has salt and wants wood

Times get tough when people cannot find somebody to directly trade with,
because nobody directly needs anything others offer, so people
develop a very useful strong hoarding habit for tough times that come often.
Stage 1 - the secret power of the money motive
Traders always get what they want by figuring out the money motive

If Alice has bananas and wants salt

If Bob has apples and wants bananas
If Chelsea has wood and wants apples
If Daniel has salt and wants wood

then driven by the money motive, Alice trades bananas for apples with Bob

then driven by the money motive, Alice trades apples for wood with Chelsea
then driven by the utility motive, Alice trades wood for salt with Daniel

This all works because a supply circle is closed.

Alice =bananas=> Bob =apples=> Chelsea =wood=> Daniel =salt=> Alice

Stage 2 - the money motive becomes common knowledge
Observing how well traders do many people adapt the money motive

If Alice has bananas and wants salt

If Bob has apples and wants copper
If Bill has copper and wants bananas
If Chelsea has wood and wants apples
If Daniel has salt and wants wood

then driven by the money motive, Alice trades bananas for apples with Bob who is driven by the money motive

then driven by the money motive, Alice trades apples for wood with Chelsea who is driven by the utility motive
then driven by the utility motive, Alice trades wood for salt with Daniel who is driven by the utility motive
also driven by the utility motive, Bob trades bananas for copper with Bill who is driven by the utility motive

This all works, because Alice and Chelsea traded purely on the money motive

Bob   =apples=>  Alice =apples=>  Chelsea =wood=> Daniel =salt=> Alice
Alice =bananas=> Bob   =bananas=> Bill    =ananas=>  Bob

Stage 3 - commodity money & wealth
People start to choose to trade for what's in high demand to make trading easier,
so they don't get stuck with what they traded for based on the money motive.
Trying different commodities as money over time, people learn whats important:

divisibility & uniformity - so you can match the worth of stuff you want to trade for (unit of account)
transportability - so you can use it wherever you go (medium of exchange)
store of value - low cost of preservation

If Alice has bananas and wants salt or copper

If Bob has apples and wants copper
If Bill has copper and wants bananas or copper
If Chelsea has wood and wants apples or copper
If Daniel has salt and wants wood or copper

Alice =bananas=> Bill   =copper=> Alice

Alice =copper=>  Daniel =salt=>   Alice

Daniel =copper=> Chealsea =wood=> Daniel

Chelsea =copper=> Bob =apples=> Chelsea

In the example above, we assume over time copper prevailed as commodity money

It speeds up closing supply circles and creates wealth faster

Stage 4 - credit money & entrepreneurship
Makers of commodity money experience unusual high demand powered by:

peoples need for commodity money when trading
peoples hoarding habit

If Alice has bananas and wants [apples, wood, copper & salt] or money

If Bob has apples and wants [wood, bananas & salt] or money
If Chelsea has wood and wants [apples, bananas, copper & salt] or money
If Daniel has salt and wants [apples, wood, bananas & copper] or money
If Bill has copper and wants [apples, bananas, wood & salt] or money

then driven by the money motive, Alice trades bananas for copper with Bill who is driven by the utility motive
then driven by the money motive, Bob trades apples for copper with Bill who is driven by the utility motive
then driven by the money motive, Chelsea trades wood for copper with Bill who is driven by the utility motive
then driven by the money motive, Daniel trades salt for copper with Bill who is driven by the utility motive
...

@TODO: ....
Trading mostly happens in exchange for commodity money now.
Wealthy people can now more easily fund projects

noncounterfeitability - so nobody can cheat
powered by peoples

credit - Standard of deferred payment
As long as the money motive in a transaction is one-sided,
this kind of money works well to find supply circles, but what if:
Money is the technology we use to solve the problem of finding supply circles.
It's how we get to money in the first place

How to live a good life and peacefully co-exist with all the wonderful creatures on this planet, we had some thoughts about conflict resolution that were interesting to me.

Individuals or small groups or communities make all kinds of wonderful lifestyle choices and find inspiring ways how to live and work together. If there will ever be a conflict, they can probably come up with all kinds of creative methods how to resolve them peacefully and even share their best practices with others.
If it happens that some people cannot find a way to agree with the life style and rules of a community they might just leave and try something different somewhere else.
Where I struggled to find a good answer to how approach solving conflicts peacefully is when there is a planet with billions of people - "anonymously" many - so many, that people can't keep track and all the different lifestyle choices can lead to conflicts between groups that can't find ways to agree.
I keep thinking - it would be good to have a "lowest common denominator" - on how to solve conflicts without resorting to violence and war.

My personal feeling is - with all it's flaws - this "least common denominator" in todays world is The Accounting Game and the rules about what is allowed an what not. The idea seems to be, that the entire world keeps journals and a balance sheet (employers, banks and governments do it for the people who don't do it themselves). So in case of conflicts, the rules around accounting will be used to solve the conflict peacefully through a series of economic transactions. An economic transaction is a mechanism which can only happen if both sides consent. So instead of growing or building up potential for conflict, this potential can be reduced or resolved all the time through transactions as a "lowest common denominator" in order to avoid violent conflict.

I see many flaws with todays rules in The Accounting Game all the people play 40h+ every week, but as an idea to avoid violent conflict in "anonymously large groups" as a fallback in case people can't find other ways it makes sense to me.

I would really appreciate some input and feedback on this thought. I have the feeling, that many patchwork folks have quite different thoughts about it and i'd like to understand them better.

Isn't economy an "accounting game" to make sure everybody put's in equal effort + add some social welfare mechanisms to help people and give them a safety net?

I can just give to people and everybody else gives and it can magically work
But in reality - most ppl prefer accounting to keep track of whats going on and be able to deal and prevent systemic free riders

every transaction leads to a saldo in balances which needs to be cleared + accounted for eventual social welfare mechanisms ppl are willing to provide
I see accounting as a fallback mechanism that documents whats going on so once ppl start to feel unsure if everything is still ok, they can check the numbers
In my understanding, in abstract, the clearing happens when a supply chain is closed into a supply circle, where the closest such possible circle is a mutual exchange (goods/services for goods/services) each transaction partner wants and has aprox. equal value. If the transaction uses money, it's a one sided exchange and the "money" represent the open circle

either the receiver doesn't get money or the sender goes in the red when you transact
But you'd still need settlement to be done by a centralized 'bank'
but then of course you can federate the banks
and that's roughly the real world financial system

what if each user published their own history as a ledger.
As long as they never changed history, it would work right?
we'd need something watching closely that people don't write a cheque, and then remove it from their log, but also there'd have to be interactions with other ledgers for each transaction with other histories

hypothetical design:

Every user has a hypercore. The bank has a hypercore. All transactions will occur on hypercores.
users write cheques to their hypercores.
"The bank" syncs the hypercores of every user that keeps an account. As soon as the bank sees a cheque, it tries to process it
if the details are all correct, and the cheque-author has the balance, the bank updates the balances in its internal DB, and publishes a confirmation on its hypercore

we do have to trust the bank, but if we had all activity and state written publicly, we could reduce that trust. so if the bank lies, it's easy to see. I think the 'dat-cheque' system has a single distinct advantage over existing payments (like stripe): it's totally async, and writes can occur offline

otherwise, my personal opinion is that payments on the internet need to improve via banking. What we really need is an API standard that all banks follow, with an address standard as well
=> so that I can ignore whoever you bank with and write code that says pay(tim, $5)

federated digital banks doesn't sound too hard. The banks themselves would need something like PoW for inter-bank transfers though right?... or? ...

Hey can you teach me few coding skills  ?? Internet Banking.


Switching libraries does not preserve overrides on parallel text styles

Hey there,
When switching to another library, the plugin correctly switches out the local (or library) text styles for the target library text style, but it "resets" any overrides that may have been applied. For design files that have the occasional one-off override, like centered text for example, they'll be reset resulting in manually having to reapply them.
I think preserving these overrides when switching would be desirable behavior, especially if the overrides were intentional.
Thanks

Not sure what you mean with "parallel text styles". Maybe you have different styles with the same name?

I'm just referring to the same text style between the 2 libraries. When the plugin applies the text style of the same, it clears any overrides that may have been applied to that text layer.

oh! I understand now. Text styles doesn't work that way in sketch. Unfortunately, those parameters are part of the style, they are not overrides. That is the reason most designers do different styles for different alignments. Take a look


Implement mkdirpPromise

[x] code is properly formatted (npm run fmt)
[x] tests are added/updated
[x] documentation is updated (npm run doc to regenerate documentation based on comments)
[x] description of changes is added under the Unreleased header in CHANGELOG.md

ping @belochub

Landed in https://github.com/metarhia/common/commit/56eddc0c244f5e093e1cd24ca8c11c410a2675d9.


Website is broken (no style for /docs/configuration/)

The page /docs/configuration/ ("Configuration") is completely without any style, probably due to the usage of absolute URLs in the HTML.

Wow! This was strange!
The base url is referenced through a variable in the page. The variable is declared as ../../ on a template page for all docs pages. This has worked for years! But, apparently, it doesn't anymore...
I had to add the base page variable to all individual docs-pages, then it works again.
The sql2o website is build on jekyll hosted by github pages.
Thanks for reporting this!


 Sorry for the other pull requests!

The application wasn't working at all until I passed in a HttpClientHandler that allowed for auto decompression of the gzip return data. Also, I fixed what looked like an artifact in packages.config, and added the packages.config files to the other projects so they would work. (They need the MS.net.http package too, not just the RobinhoodNet project)

Thanks for that. It's been a while since I worked on this, and it looks like Robinhood continues to evolve their API.
Would you be interested in helping out? When I first coded this project I totally missed the JObject.ToObject method and did serialization by hand. I now have a separate branch where I'm adding JsonAttributes to objects. This will make the project more elegant and more maintainable. Take a look at Issue #4, if you're interested.
Also, don't forget to register for Hacktoberfest. You can get a free t-shirt :-)

No problem at all!
Yeah I did the same thing the first time I worked with JSON.NET actually,
so I'll pull that branch and get to work then! I plan to extend this quite
a bit for what I am working on. I'd love to keep throwing any extensions to
the core application I write your way and eventually finish a full version
of this.
I am actually creating a web front end for Robinhood, using AdminLTE
https://almsaeedstudio.com/preview as a quick boost on the UI stuff. I
feel like the Robinhood team might not appreciate that so much, so I am not
going to put it up for public use just yet. I really just want it for
myself, to have a dashboard of trends and better data sets and controls to
trade all in the same area. I can share it and keep you in the loop if
you're interested.
Best,
James
On Thu, Oct 22, 2015 at 12:11 AM Filip Frącz<EMAIL_ADDRESS>wrote:

Thanks for that. It's been a while since I worked on this, and it looks
like Robinhood continues to evolve their API.
Would you be interested in helping out? When I first coded this project I
totally missed the JObject.ToObject method and did serialization by hand. I
now have a separate branch where I'm adding JsonAttributes to objects. This
will make the project more elegant and more maintainable. Take a look at
Issue #4 https://github.com/itsff/RobinhoodNet/issues/4, if you're
interested.
Also, don't forget to register for Hacktoberfest
https://hacktoberfest.digitalocean.com/. You can get a free t-shirt :-)
—
Reply to this email directly or view it on GitHub
https://github.com/itsff/RobinhoodNet/pull/3#issuecomment-150101303.


♻ clean prettier issues

Description
Clean up prettier issues.
Checklist

[x] My changes follow the contributing guidelines of this project.
[x] I have performed a self-review of my code.
[x] ~I have made corresponding changes to the documentation.~
[x] ~I have added tests that prove my fix is effective or that my changes work.~
[x] New and existing unit tests pass locally with my changes.

Coverage: 94.745%. Remained the same when pulling a5a901a14c962d0e65952b58b90d04e8d5afba2a on chore/clean-prettier-issues into f9bb8ffa0ccb26945ac13fdd5d9e85bae81be318 on main.


Add GQL go integration tests

Purpose
Update test API crs to alpha2
Fixes https://github.com/wso2/apk/issues/1961
Fixes https://github.com/wso2/apk/issues/1949
Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (98fafb9) 26.53% compared to head (6629806) 80.18%.
Report is 36 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1962       +/-   ##
===========================================
+ Coverage   26.53%   80.18%   +53.64%
===========================================
  Files         124        9      -115
  Lines       14516      550    -13966
  Branches     2575      246     -2329
===========================================
- Hits         3852      441     -3411
+ Misses      10540      109    -10431
+ Partials      124        0      -124

Flag
Coverage Δ

adapter
?

common-controller
?

config-deployer-service
?

idp-domain-service
80.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Morse is incorrect for K (. not_._.)

As discovered when I typed OK

Yeah, you're right.
Double-checked the other codes, they all seem to be correct.

Implemented in Version 1.3.3


You haven't add 8x1 multiplexer in circuit verse why ..?😤😤 .I have to do my task tomorrow is my last date of assignment submission.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Device Information [optional]:

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
Are you working on this issue? (Yes/No)

@Maddiprog I don't think it's a bug, It's more like a feature request.

Feature requests should be tagged accordingly, also we can't commit timeframe for the features as the development is handled by the volunteers


Pack() used in mixed precision

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below): 1.13
Python version: 3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10
GPU model and memory: Tesla-V100-SXM2

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
I want to use the clip_by_global_norm, but it does not work when the variables are mixed precision: float32 and float16 because it used Pack() function somewhere.
If I cast all the vars into float16 or float32,  it brings up other problems like 'can not add float32 with float16' in other operations.
Describe the expected behavior
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@estelll, In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!

@estelll, Please provide the minimal code to replicate the issue. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Update Designs for Learning Path Details Pages

We need to finalize and provide updated designs for the Learning Path Details Pages. Brie had worked on these explorations in the past, but they're a bit outdated and need some refinement.
FYI @CooperRedhat @jessiehuff

Michael recently put together these designs here for showing learning path details. https://marvelapp.com/prototype/8j3g8d5/screen/85239808. I believe we are going with Proposal #3 and showing the details in the drawer.
@jessiehuff @CooperRedhat

Closing for now as it's not being worked on. May revisit if/when learning paths are used with quickstarts.


Global Exception Handling

No exception/error message is displayed.

same as https://github.com/AccountGo/accountgo/issues/21


Picture message bug

Describe the bug
When sending or receiving picture messages all I get is an icon not a preview.
To Reproduce
Steps to reproduce the behaviour:
Send or receive a picture message.
Screenshots
If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

iOS Version: 13.3
iOS Device: iPhone XR
unc0ver Version: 4.3.1

Place an "x" between the brackets if true:

[X] this is a bug others will be able to reproduce
[X] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[ ] this issue is present after a rootfs restore
[X] this issue is present on the latest version of unc0ver

Logs
If applicable, add logs or error messages here.

Only for iMessage or for Text Messages? Or for both?

Ita both text and iMessage.

Same here on iPX 13.3.

I am having the exact issue as originally stated. However:
iPhone 11 Pro Max
iOS version 13.3
unc0ver version 4.3.1
It is still present after multiple rootfs restores
This is occurring with every text and iMessage I receive with a picture.

Same issue. iPhone X 13.3.

supposedly fixed in v4.4.0, will close this when it gets released.

Substitute bug, so update.

Update what? Cydia shows no updates for substitute? Do I need to add a repo?

@Cryptiiiic Cryptiiiic commented 6 days ago
supposedly fixed in v4.4.0, will close this when it gets released.
So why is it closed now? 4.4.0 is not released and no updates.

Closing an issue that isn’t fixed doesn’t make it go away.

@SavageAUS It is fixed pwn hasn't released the update yet. Github issues are to track unc0ver unfixed bugs.

I fail to see how pwn saying it’s fixed means this bug gets closed as I opened the bug and I still have this bug so this issue should not be closed until the update is released and can be confirmed to be fixed. That’s how I run my bug tracker anyway. A bug is a bug until a fix has been pushed / released and this has not been released so therefor still a bug. And if this release is anything like the others it will be a while before it is released.
These are my thoughts and opinions, not an attack on anyone. Just my 2 cents.

@SavageAUS I agree but with the particular issue it’s pretty straightforward. No further discussion is needed other than people that are already subscribed. For other issues this might not be the case.


Bug 2177184: [release 4.12] build: increase default resource cpu & memory limits

We now have 100 workers by default and watch a lot of resources such as PVCs,  VolumeAttachments and owned CRs. This leads to Out-Of-Memory kills(OOMKILLs) with just limit of 128Mi.
Therefore, raising limit to 512Mi memory and 1000m cpu.
Signed-off-by: Rakshith R<EMAIL_ADDRESS>(cherry picked from commit 666074b4e8c28b7a2fa5513546a97dad50a6950d)

/bugzilla refresh

/bugzilla refresh

/lgtm

New changes are detected. LGTM label has been removed.

Added two commits related to github action workflow changes to make ci happy.
ptal
/cc @Madhu-1 @red-hat-storage/kubernetes-csi-addons-contributors


error on using Datastructures.jl on Version 0.4.0-dev, Commit ff35d98 (0 days old master)

lobi@orange4:~/juliarepo$ ../julia04/julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "help()" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.0-dev (2015-05-14 00:12 UTC)
 _/ |\__'_|_|_|\__'_|  |  Commit ff35d98 (0 days old master)
|__/                   |  x86_64-linux-gnu

julia> Pkg.status()
WARNING: unknown Clang commit c4d18994, metadata may be ahead of package cache
3 required packages:
 - Clang                         0.0.5+             master
 - Gtk                           0.8.0
 - Winston                       0.11.9
13 additional packages:
 - BinDeps                       0.3.12
 - Cairo                         0.2.26
 - Color                         0.4.5
 - Compat                        0.4.4
 - Cxx                           0.0.0-             master (unregistered)
 - DataStructures                0.3.9
 - Docile                        0.5.0
 - FixedPointNumbers             0.0.7
 - Graphics                      0.1.0
 - IniFile                       0.2.4
 - SHA                           0.0.4
 - Tk                            0.3.3
 - URIParser                     0.0.5

julia> using DataStructures
Warning: Method definition call(Type{IPv4}, AbstractString) in module Base at socket.jl:35 overwritten in module Compat at /home/lobi/.julia/v0.4/Compat/src/Compat.jl:41.
Warning: Method definition call(Type{IPv6}, AbstractString) in module Base at socket.jl:78 overwritten in module Compat at /home/lobi/.julia/v0.4/Compat/src/Compat.jl:42.
Warning: Method definition isless(T<:Base.IPAddr, T<:Base.IPAddr) in module Base at socket.jl:6 overwritten in module Compat at /home/lobi/.julia/v0.4/Compat/src/Compat.jl:47.
Warning: Method definition call(Type{Dict{K,V}}, Any) in module Base at dict.jl:406 overwritten in module Compat at /home/lobi/.julia/v0.4/Compat/src/Compat.jl:59.
ERROR: LoadError: LoadError: TypeError: apply_type: in Type, expected Type{T}, got Tuple{TypeVar,TypeVar}
 in include at ./boot.jl:252
 in include_from_node1 at ./loading.jl:134
 in reload_path at ./loading.jl:158
 in _require at ./loading.jl:70
 in require at ./loading.jl:56
 in include at ./boot.jl:252
 in include_from_node1 at ./loading.jl:134
 in reload_path at ./loading.jl:158
 in _require at ./loading.jl:70
 in require at ./loading.jl:54
while loading /home/lobi/.julia/v0.4/Compat/src/Compat.jl, in expression starting on line 60
while loading /home/lobi/.julia/v0.4/DataStructures/src/DataStructures.jl, in expression starting on line 3

For some reason your Julia build is missing the build number, which will break Compat and presumably a lot of packages. If you built Julia with NO_GIT=1, then this may be JuliaLang/julia#10851.

Well, i didn't intentially build with NO_GIT=1. I was following the instructions in https://github.com/Keno/Cxx.jl to build a v0.4 with addtional Make.user.
Does this qualify for a julia issue?

@simonster:
I somehow managed by make distclean + make to get a Version 0.4.0-dev+4829 which now let's me start using DataStructures without error message.


After login get 401 on getting UserInfo, i need to reload the page to get it OK

Issue and Steps to Reproduce

After login get 401 on getting UserInfo, i need to reload the page to get it OK or to force the render.
I am using react app and Keycloak as OIDC Server
Versions
6.15.19
Screenshots

Expected
Get user info directly after login
Actual
I get null object
Additional Details
In the userinfo request we can see that the token is not valid, seems to be not injected

Installed packages:
@axa-fr/react-oidc

Hi @BillelMessaadi , thankbyou for your issue.
Dibyou have a sample ofbyour configuration?

const configuration = {
client_id: "[client-id],
redirect_uri: window.location.origin + "/authentication/callback",
silent_redirect_uri:
window.location.origin + "/authentication/silent-callback",
scope: "openid profile address email phone", // offline_access scope allow your client to retrieve the refresh_token
authority: "http://localhost:8080/realms/[realm-name]",
refresh_time_before_tokens_expiration_in_second: 40,
service_worker_relative_url: "/OidcServiceWorker.js",
service_worker_only: true,
token_renew_mode: TokenRenewMode.access_token_invalid,
};

I also have the same issue using the demo app

thank you @BillelMessaadi .
May you check in the network tab if in your failing request. Access token is injected in theAuthorization http header?

Hi @BillelMessaadi it look like you service worker is not active for this request. Are you testing with debugging tool activated and cache disabled? It can bring this strange behavior.

Hi @BillelMessaadi , do you have any news? Did you solve your issue?

hi @BillelMessaadi , I close the issue. Thank you for it. Feel free to reopen it if needed.


nvbuf_utils: Could not get EGL display connection

Hi
I want to run sample of detectnet_v2_tlt on jetson nano.
my jetson has:
jetpack 4.4 DP
TensorRT 7.1
Cuda 10.2
I installed Deep stream with this way :
$  sudo tar -xvpf deepstream_sdk_v5.0.0_jetson.tbz2 -C /
$ cd /opt/nvidia/deepstream/deepstream-5.0
$ sudo ./install.sh
$ sudo ldconfig

I follow all the commnad in the repo except TRT OS.
when I run this cammand I get this error:
./deepstream-custom -c pgie_detectnet_v2_tlt_config.txt -i sample_720p.h264
nvbuf_utils: Could not get EGL display connection
One element could not be created. Exiting.

are you using ssh to login the device? what's your ssh command?

It's work with ssh -X

bash: ssh: command not found


How to target an on-prem azure agent for build/deployment?

I am battling to understand how to build and deploy my app with azure pipelines using on-prem azure agents. I have successfully installed 2 agents azurebuild and azuredeploy which are working and can execute basic build and tests tasks.
I have assigned the azurebuild agent to an Agent Pool and the azuredeploy agent to a Deployment Pool and Deployment Group. It seems build agents and pipelines are just for building/compiling and testing my app on a random server from the Agent Pool defined in azure-pipelines.yml and thus useless for deploying since you cannot target a machine.
If I want to deploy to a specific server I cannot therefore use a build pipeline (though certain youtube videos by microsoft suggest otherwise) because it will just run on ANY server in the agent pool and the trigger and pool are hardcoded in the yml and this is the same across all brnaches.
Questions

How can I specify a specific agent/machine on which to run my build without hardcoding an agent pool into the yml file? The azure-pipelines.yml file is the same in all branches but I want to build a develop branch on a development server, a test branch on a test server and a master branch on a production server.
How can I specify a different branch to trigger a release since azure-pipelines.yml is the same in every branch?
Can pipelines be used to deploy? If so how can I specify the branch and target host to run the deployment on at runtime?

Assuming I cannot use Azure Pipelines to deploy my app how do I do this? If I create a release under Pipelines -> Releases it never asks for a repo nor a branch nor a deployment target (be it machine or pool or deployment group).
Other issues:

The documentation does not explain what these agent pools, deployment groups and deployment pools mean and how many you need, when to create one, how they relate to environments etc.
The documentation nowhere describes multiple pipelines inside a single yml file though the file is called azure-pipelines.yml (plural). Is this possible? If not, how does one create multiple pipelines??

To chose an agent to run a job on, you have to set a demand for the agent name:
pool:
      name: Default
      Demands:
      - agent.name -equals $(AGENT_NAME)

Yep, finally figured that one out. However, what if I want to run a build/deploy on multiple hosts? For some reason it only runs on one agent in the pool which sucks for me.

Using Matrix strategy as I've commented in the other issue #353

To chose an agent to run a job on, you have to set a demand for the agent name:
pool:
      name: Default
      Demands:
      - agent.name -equals $(AGENT_NAME)

Sorry to comment on this old issue but is this one half of the solution? How exactly do I set the value that will ultimately end up in $(AGENT_NAME)?

The agent name is set when you install the agent. In the pipeline you can define a variable or better a parameter which you can choose as you run the pipeline.

Here is an example of a pipeline which let's you run any powershell script on any server you choose:
# Ad-hoc execution on any server

trigger:
- none

parameters:
- name: AgentName
  displayName: AGent
  type: string
  values:
  - myserver1
  - myserver2
  - myserver3

jobs:
- job: job1
  displayName: Run any script on any host

  pool:
    name: BUZ-MYB
    demands:
      - agent.name -equals ${{parameters.AgentName}}

  steps:
  - task: PowerShell@2
    displayName: Check a URL
    inputs:
      targetType: inline
      script: |
        Invoke-WebRequest https://curl.haxx.se/
      pwsh: true

Here is an example of a pipeline which let's you run any powershell script on any server you choose:

Thanks for the response.
This is the first thing I tried but it didn't work. Does this work for you? From what I can see after Googling for a while is that while that syntax is correct, it doesn't work due to how the demand value is processed. Here's a SO answer I found from a Microsoft employee. https://stackoverflow.com/a/60551855/8209253

Yes it works fine. What error are you getting?


Rename model filter to object filter?

The model filter doesn't really define a model. It defines an object. More specifically, it defines an instance of a class. For instance, if you want a Proc input, you have to do this:
model :proc

That doesn't really make sense to me. I think this would be better:
object :proc

I think we ended up with model because we usually use this filter for ActiveModel objects. But it's designed to work with anything. I think we should change the name to reflect that.

> Class.ancestors
=> [Class, Module, Object, Kernel, BasicObject]

It also seems to more clearly indicate the fact that it can be used for modules.

I think this is a good change.


When {name} is not specified in the path, a folder with the package name still gets created

	"path": {
		"js": "js"
	}

will have the effect of creating the folder js, followed by a folder with the name of the package, followed by the js files.
Essentially there is no difference between the above and:
	"path": {
		"js": "{name}/js"
	}

What's actually even more perplexing, the files that didn't find a match inside the path rules, are dumped without problems in the current folder, disregarding their source package, flattened out and messing up the project. Brilliant. One would think that the files that don't find a match would be ignored.

I have the same issue

I wish the {name} can be optionally excluded from the paths. For example, trying to use Font Awesome with bower-installer means I have to go and manually update the .css files because they reference the font files by relative paths (it expects "/fonts/." and is instead "/fonts/font-awesome/.").
The unmatched files being dumped into current folder was annoying too, but seems like it would be easily fixable.

Workaround for time being is in #110


Vsphere CSI Storage driver prerequisites failing on OKD vs OCP?

Version
4.6.0-0.okd-2021-02-14-205305
UPI
How reproducible
In my environment, seemingly 100%
Describe the bug
Hi all,
I'm stuck on a frustrating issue here while exploring OpenShift for a proof of concept.
I have two PoC clusters - a OCP 4.6 one and an OKD one. Both installed in the same vsphere 7.0 U1x Environment. Same networking (unique IPs of course). Same DNS server, etc.
I want VSphere CSI storage. I'm following this handy guide: https://veducate.co.uk/how-to-install-vsphere-csi-driver-openshift/ (i believe made by one of the residents here).
I started with the OCP cluster I rolled about a week ago. Worked beautifully, as described.
I re-rolled the OKD cluster, wanting the latest and greatest I went with 4.7. Having failed multiple times, I dug into CSI's documents and their compatibility matrix shows support only for Kuber 1.19 - and since 4.7 is 1.20 - I concluded I made a grave mistake.
I went back to OKD 4.6 and attempted again.
As a reminder: The CSI Install requires you to change the "VMWare compatibility level" of each cluster involved VM to version 15 (ESX 6.7 or later), as well as enable the disk.enableUUID = true flag.
Here is my basic workflow:

Using UPI against VSphere, install OKD 4.6 with 3 masters and 3 workers.
Bring them up to full health, all operators available.
Update them using the stable channel to the latest available; until full health and all operators available.
I'm aware of this certification rotation thing after 24 hours, meaning some part of the cluster has to stay alive for 24 hours; a full shutdown in the first day would break the cluster without special treatment; Ergo, I would shut down 2 of 3 masters and 2 of 3 workers, update their hardware level/enableUUID. Boot them back up until they appeared "ready" in "oc get nodes". At which point I would shut down the remaining 1 master and 1 worker, perform the same operation and boot them back up.
oc get nodes shows all workers and masters ready after this
... but never will all operators become healthy again. In particular, openshift-apiserver.

I end up with something like this from oc get co:
NAME                                       VERSION                         AVAILABLE   PROGRESSING   DEGRADED   SINCE

authentication                             4.6.0-0.okd-2021-02-14-205305   False       True          True       13h
cloud-credential                           4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
cluster-autoscaler                         4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
config-operator                            4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
console                                    4.6.0-0.okd-2021-02-14-205305   False       False         True       12h
csi-snapshot-controller                    4.6.0-0.okd-2021-02-14-205305   True        False         False      12h
dns                                        4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
etcd                                       4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
image-registry                             4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
ingress                                    4.6.0-0.okd-2021-02-14-205305   True        False         False      13h
insights                                   4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
kube-apiserver                             4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
kube-controller-manager                    4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
kube-scheduler                             4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
kube-storage-version-migrator              4.6.0-0.okd-2021-02-14-205305   True        False         False      13h
machine-api                                4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
machine-approver                           4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
machine-config                             4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
marketplace                                4.6.0-0.okd-2021-02-14-205305   True        False         False      12h
monitoring                                 4.6.0-0.okd-2021-02-14-205305   False       True          True       13h
network                                    4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
node-tuning                                4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
openshift-apiserver                        4.6.0-0.okd-2021-02-14-205305   False       False         False      13h
openshift-controller-manager               4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
openshift-samples                          4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
operator-lifecycle-manager                 4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
operator-lifecycle-manager-catalog         4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
operator-lifecycle-manager-packageserver   4.6.0-0.okd-2021-02-14-205305   False       True          False      13h
service-ca                                 4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
storage                                    4.6.0-0.okd-2021-02-14-205305   True        False         False      14h

I'm unable to recover from this state, even if I trigger cert rebuilds.
Begging the following questions from me:

Does OKD support the VSphere CSI Driver? Has anyone here been able to install VSphere CSI into OKD?
What is it about either VM Hardware version 15 and/or disk.enableUUID = true - that OKD operators don't like?

Any help appreciated in advance. Thanks.

Begging the following questions from me:

This is a bug tracker, not a support forum. What's the issue you're hitting, what's the expected result and why is it an OKD issue?

Version
4.6.0-0.okd-2021-02-14-205305
UPI
How reproducible
In my environment, seemingly 100%
Describe the bug
Hi all,
I'm stuck on a frustrating issue here while exploring OpenShift for a proof of concept.
I have two PoC clusters - a OCP 4.6 one and an OKD one. Both installed in the same vsphere 7.0 U1x Environment. Same networking (unique IPs of course). Same DNS server, etc.
I want VSphere CSI storage. I'm following this handy guide: https://veducate.co.uk/how-to-install-vsphere-csi-driver-openshift/ (i believe made by one of the residents here).
I started with the OCP cluster I rolled about a week ago. Worked beautifully, as described.
I re-rolled the OKD cluster, wanting the latest and greatest I went with 4.7. Having failed multiple times, I dug into CSI's documents and their compatibility matrix shows support only for Kuber 1.19 - and since 4.7 is 1.20 - I concluded I made a grave mistake.
I went back to OKD 4.6 and attempted again.
As a reminder: The CSI Install requires you to change the "VMWare compatibility level" of each cluster involved VM to version 15 (ESX 6.7 or later), as well as enable the disk.enableUUID = true flag.
Here is my basic workflow:
1. Using UPI against VSphere, install OKD 4.6 with 3 masters and 3 workers.

2. Bring them up to full health, all operators available.

3. Update them using the stable channel to the latest available; until full health and all operators available.

4. I'm aware of this certification rotation thing after 24 hours, meaning some part of the cluster has to stay alive for 24 hours; a full shutdown in the first day would break the cluster without special treatment; Ergo, I would shut down 2 of 3 masters and 2 of 3 workers, update their hardware level/enableUUID. Boot them back up until they appeared "ready" in "oc get nodes".

5. oc get nodes shows all workers and masters ready after this

6. ... but never will all operators become healthy again. In particular, openshift-apiserver.

I end up with something like this from oc get co:
NAME                                       VERSION                         AVAILABLE   PROGRESSING   DEGRADED   SINCE

authentication                             4.6.0-0.okd-2021-02-14-205305   False       True          True       13h
cloud-credential                           4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
cluster-autoscaler                         4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
config-operator                            4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
console                                    4.6.0-0.okd-2021-02-14-205305   False       False         True       12h
csi-snapshot-controller                    4.6.0-0.okd-2021-02-14-205305   True        False         False      12h
dns                                        4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
etcd                                       4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
image-registry                             4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
ingress                                    4.6.0-0.okd-2021-02-14-205305   True        False         False      13h
insights                                   4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
kube-apiserver                             4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
kube-controller-manager                    4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
kube-scheduler                             4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
kube-storage-version-migrator              4.6.0-0.okd-2021-02-14-205305   True        False         False      13h
machine-api                                4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
machine-approver                           4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
machine-config                             4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
marketplace                                4.6.0-0.okd-2021-02-14-205305   True        False         False      12h
monitoring                                 4.6.0-0.okd-2021-02-14-205305   False       True          True       13h
network                                    4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
node-tuning                                4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
openshift-apiserver                        4.6.0-0.okd-2021-02-14-205305   False       False         False      13h
openshift-controller-manager               4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
openshift-samples                          4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
operator-lifecycle-manager                 4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
operator-lifecycle-manager-catalog         4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
operator-lifecycle-manager-packageserver   4.6.0-0.okd-2021-02-14-205305   False       True          False      13h
service-ca                                 4.6.0-0.okd-2021-02-14-205305   True        False         False      14h
storage                                    4.6.0-0.okd-2021-02-14-205305   True        False         False      14h

I'm unable to recover from this state, even if I trigger cert rebuilds.
Begging the following questions from me:
* Does OKD support the VSphere CSI Driver? Has anyone here been able to install VSphere CSI into OKD?

* What is it about either VM Hardware version 15 and/or disk.enableUUID = true - that OKD operators don't like?

Any help appreciated in advance. Thanks.

this looks to be an upgrade issue rather than using the vSphere CSI, however VMware do not offer validation for OKD as far as I am aware. If this is something you would like to see then please raise it against the vSphere CSI github repo.
Anyway back to your upgrade issue, I believe your hitting this bug
https://access.redhat.com/solutions/5896081


Spike: Overlap Idea Demo Page

Create a test page for this overlap concept for gantt and line?

Solid dark border and 50% opacity fill on shapes and bars. Would not apply to icons. For cases when there is a direct overlap, we would create a simulated overlap (plot an overlapping icon rather than two directly on top of each other).

@laurunning
Do you know what decision was made regarding this?

This was delivered via https://github.cerner.com/Geneva/carbon-graphs/tree/alt-site


Move jenkins pipeline library

Moving used subset of shared libraries into kogito-pipelines repo.

I have tested on kogito-images pipelines, works fine there.
Once I switch the apache jenkins KIE folder to use this, I will watch closely for any regression and fix when necessary.


Setting a convention for branch names

You know the drill. I propose something and then we fight.
Proposed branch name convention
All branches should have a prefix signifying what their purpose is.
Development branches
These are branches meant for long-term development of some feature (e.g Renderer, Parser, Physics Engine, etc.)
They should be prefixed with dev/
Feature branches
These are branches meant for introducing a feature that doesn't need continuous development (otherwise, use a dev branch).
This could be changing the build system, adding a logger class, etc.
They should be prefixed with feature/
Tidy branches
Tidy branches are meant for tidying everything up: directory structure, code style, filenames, etc.
They should be prefixed with tidy/
Hotfix branches
These are branches meant for quickly fixing a bug that was introduced by some commit.
They should be prefixed with hotfix/
Master branch
Well, the master branch. Nothing should ever be directly changed on here, only on other branches, and then merged with pull requests.
Overview
dev/*     - Continuous development
feature/* - Introduction of some feature
tidy/*    - Tidying up (Code style, naming conventions, ...)
hotfix/*  - Introducing quick fixes for bugs

Do we need a release branch?
What I haven't decided yet, is whether it would be advantageous to have a release branch, as well as the master branch.
The idea being that while the master branch should only ever have working and tested features introduced, it is always possible
something may come up when merging two independently developed and tested features.
The release branch would then essentially just be a mirror to the well-tested commits on the master branch. Every time it is
completely certain that everything works as expected on the master branch, it would get merged onto the release branch.

Agree on nearly all of this. A release branch is of advantage, but i think too much of a maintenance burden at this point. We might consider this later when the engine has reached a more advanced stage. For now we should consider the master branch to be the working one. This means that whatever is on the master branch should be working 100%. For that do the following:
Before merging with master branch, one should first merge the current state of the master branch in their own working branch and adapt current changes there, before merging the working branch back to master again. This is to avoid the clusterfuck of the situation you had at first trying to merge the new parser, where you had to recommit my previous changes...

Agreed: No release branch; merge master into current branch before merging a pull-request


Update Bioconda recipe for ADAM 0.25.0

See https://github.com/bioconda/bioconda-recipes/pull/12445

Fixed


Adding a small sentence into the AMP Read-me to avoid waste of time when trying AMP

In the example code it is written:  // DON'T EDIT BELOW THIS LINE but actually the s.src need to be change with the name of the forum.
I lost some time until I tried to change it....and it did actually work :) So to avoid others to make the same error, this small sentence should do the work

Thanks for your contribution @cf-jlambelet! cc @Hovspian


Add watchOS deployment to PodSpec build script

Motivation:
We support watchOS 6+ with SwiftNIO Transport Services; as such we should
include watchOS as a deployment target for our CocoaPods.
Modifications:

Add a watchOS deployment target to build_podspecs.sh
Update docs

Result:
Users can deploy to watchOS 6+ with CocoaPods.

@Lukasa we actually support below watchOS 6 but not usefully since we can't do any networking. Are we okay with setting it as 6?


Documentation: Internal App Sharing SHA-1 and DEVELOPER_ERROR

We were getting the dreaded DEVELOPER_ERROR while signing in.  The root of the problem is that while we had the SHA-1 of our release and debug keystores in Firestore, there is yet another one lurking in the bushes.
If you happen to use Google Play's Internal App Sharing, they seem to re-sign the app for internal app sharing.  In Google Play Console go to Development Tools-> Internal App Sharing->App Certificate and there is another SHA-1 fingerprint to put into firebase.
This is separate from the Release Management->App Signing certificate, which can be different (but it probably the same as your release key).

Link to more information: https://stackoverflow.com/questions/57780620/how-to-get-android-internal-app-sharing-key-sha1-to-enable-google-apis

hi @mcorner since you seem to have hands-on experience, would you be so kind and open a PR with documentation improvement? Thank you

Squeaky wheel gets the work.  Here you go and thanks for the library.


Untrusted domain when accessing CSIDE

According to this issue the only way to make CSIDE available for modifying objects is to use Windows authentication in your containers. From a local VM I created a container with Windows authentication, here's the script:

When I try to open CSIDE, it gives me an 'untrusted domain' error:

I used the same script to create the same container on an Azure VM (created with the aka.ms/bcsandbox template), and in there it does work. What do I need to change to make this work on a local VM?
For me personally it's not relevant because I don't have any CSIDE work at the moment but asking for a friend ;) I swear I've always been able to modify objects in CSIDE, and I generally only use UserPassword containers. I was totally surprised by this, so now I have to know :)
As an aside - I would like to know why I can use the object cmdlets in navcontainerhelper on a UserPassword container, but it does not let me modify objects from CSIDE. I'm confused how the Cmdlets don't seem to need Windows authentication but CSIDE does?

The problem is Windows authentication, since containers are not joined to the domain, the host needs to be able to connect to the AD server, containers cannot live of cached credentials. I need to VPN to corpnet in order for Windows auth to work on my laptop.
Azure VMs are not connected to an AD server (they have their own AD you can say) and as such always works.

@freddydk - Before I go ahead and do this, are You saying that if I make my Server 2016 Hyper-V a Domain Controller it would work? Or am I missing something?

As a test I just created a new UserPassword container, added a field to the Customer table in CSIDE, and saved the object without compiling. Then I used the PowerShell compile Cmdlet and that completed successfully. Here's the script that worked for me:

I still don't understand though, why one thing does and another thing does not work in UserPassword container. Both my local VM and my laptop are in a workgroup, not a domain. If the Azure VM works because they are not connected to an AD server then my setup should also work. Am I getting it backward?

@TheDenSter I think compiling is not the problem, but syncing the changes. As far as I know, when C/SIDE needs to sync tables, it connects to the mgmt service (7045). That service however is only able to handle Win Auth, so if you just try to connect with NavUserPassword, that fails (see https://www.axians-infoma.de/navblog/using-ad-accounts-in-containerized-nav-and-what-i-learned-on-the-way/ for an old but on that part probably still correct log analysis). You have three ways around that:

Use gMSAs to do something similar to a domain join for your container. Afterwards Win Auth works
Use the same username and password on both host and container. With that setup Win Auth also works as the container is not in a domain, so it only looks at username and password during authentication without caring about the domain.
Get a session into your container and call compile-navapplicationobjects there which in turn also calls sync-navtenant. As all this is happening inside the container and with a local container user, WinAuth also works. This is what compile-objectsinnavcontainer does and why it always works

I hope that a) this makes sense and b) I am correct :) @freddydk am I missing something?

I think the navcontainerhelper's compile Cmdlet calls the regular NAV Cmdlet, which would mean that my script has the same effect as your suggestion 3 without having to open a session, and it works without Windows auth. This is why this confuses me so much because 'normal' (meaning locally installed) CSIDE does not need Windows auth to save/compile objects, and effectively by saving without compile and then issuing a PowerShell compile command, that all does work without Windows auth.
The only thing that appears to be an issue is the compile step when saving in CSIDE. Even more confusing, that DOES work in an Azure VM but not locally, and I can't find a difference in setup between the two. I know next to nothing about this though, so I am probably looking in all the wrong places :)
Then to make it even more confusing, Windows auth does work in Azure vm but not in my local vm, even though neither one is connected to any domain controller... The workaround does work, but I still don't understand why this is happening

Tobias is right on all points - CSIDE tries to connect to 7045 which fails. He also states that Compile-ObjectsInNavContainer does exactly open a session and call compile-navapplicationobject.
And FYI - Windows Auth works locally for me (when I am VPN'ed into corpnet).

compile-objectsinnavcontainer does open a session, see here. If you set up the Azure VM through one of Freddys templates, then you have the same Windows user in the VM and in the container, so this works because of 2).


buffer concept

can you plz implement a buffer or some caching concept,
like if the user play one media, the next media is preparing the background,
and if the user reclick on the same media it wont downloading from the beginning,
this is important thank you

Hey man, I like what you have done with this library! but did you manage to finish the buffer concept? can't wait to see it working!

I did not to finish the buffer concept.
If you implement the concept, please send me a pull request :smile:


Greenkeeper/@typescript eslint/eslint plugin 2.24.0

Coverage remained the same at 64.925% when pulling b4c0504d5d742b12bccc196dc774ccc47ebf53bf on<EMAIL_ADDRESS>into 2760cab6868dc72ff91ab0d2eba8633b76cbfc39 on master.


samples/gettimeofday: Detect 32-bit timeval.tv_sec

First, fix the posix arch to make glibc expose 64-bit time_t and off_t types. Then, make sure time_t is never 32-bits on all architectures.

@keith-packard Did you have something else in mind?

This is for building any of the 'posix' boards which use -m32 to compile 32-bit applications using glibc. In that mode, the default size of time_t is only 32 bits, which means the existing gettimeofday sample emits a compile-time warning when computing the upper 32-bits of the time value from this expression:
		printf("gettimeofday(): HI(tv_sec)=%d, LO(tv_sec)=%d, "
		       "tv_usec=%d\n\t%s\n", (unsigned int)(tv.tv_sec >> 32),
		       (unsigned int)tv.tv_sec, (unsigned int)tv.tv_usec,
		       asctime(&tm));

The simple fix would be to adjust this sample to avoid the right-shift on systems with 32-bit time_t, but I thought it would be better to ensure that every target board used 64-bit time_t as that's the best way to ensure all of the code is fully 2038 ready.

@keith-packard Did you have something else in mind?

This is for building any of the 'posix' boards which use -m32 to compile 32-bit applications using glibc.

Ok. But, why do you want to build this application in native_posix? (This application cannot be used in native_posix.
This application cannot be built with any of the POSIX arch based boards when using the host libC.)

Ok. But, why do you want to build this application in native_posix? (This application cannot be used in native_posix. This application cannot be built with any of the POSIX arch based boards when using the host libC.)

Hrm. It was getting built by twister when I started this series, which is how I discovered this issue. And, it can be built directly:
$ west build -b native_posix samples/posix/gettimeofday/
...
[20/245] Building C object CMakeFiles/app.dir/src/main.c.obj
.../zephyr/samples/posix/gettimeofday/src/main.c: In function ‘_posix_zephyr_main’:
.../zephyr/samples/posix/gettimeofday/src/main.c:37:71: warning: right shift count >= width of type [-Wshift-count-overflow]
   37 |                        "tv_usec=%d\n\t%s\n", (unsigned int)(tv.tv_sec >> 32),
      |                                                                       ^~

In any case, it does seem like getting the native_posix target to use the 64 bit types is useful -- this found a couple of bugs in code that appears to only get tested under native_posix currently.

.. this found a couple of bugs in code that appears to only get tested under native_posix currently.

I'm very fine with fixing the typecasting issues. Though that can be sent as a separate PR.

@keith-packard looks like the test config is skipping it right now
$ ./scripts/twister -v -p native_posix -T samples/posix
...
INFO    - 2/3 native_posix              samples/posix/gettimeofday/sample.posix.gettimeofday SKIPPED (runtime filter)

Looks like it's https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/posix/gettimeofday/sample.yaml#L5, that's why we saw it in https://github.com/zephyrproject-rtos/zephyr/pull/63332
So that sample has been broken since the introduction, guess this should go in for 3.5?

@fabiobaltieri

So that sample has been broken since the introduction, guess this should go in for 3.5?

For native_posix this sample does NOT work and should never be not filtered.

For native_posix this sample does NOT work and should never be not filtered. (independently of this PR change)

Ok, does it need a platform_exclude then? https://github.com/zephyrproject-rtos/zephyr/pull/63332/files#diff-b226ecf1e2d64385ee6951d471595210c4b0a2e52e8e4f185f5a89a9d2b73728 would enable it otherwise as the current filter says nothing about the platform. Sorry if that makes no sense, I'm unfamiliar with the details. I guess, why would it not work with native_posix? :-)

For native_posix this sample does NOT work and should never be not filtered. (independently of this PR change)

Ok, does it need a platform_exclude then?

Let's better discuss this in the other PR, it is a bit off-topic here :)

For native_posix this sample does NOT work and should never be not filtered. (independently of this PR change)

Ok, does it need a platform_exclude then?

Let's better discuss this in the other PR, it is a bit off-topic here :)

What would you like me to do with these patches then? Do we want to switch arch/posix to 64-bit time/offset on -m32 builds? If so, how should that deal with libc-specific definitions? Do we want to split out the minor fixes for 32-bit targets using 64-bit offset/time types? Or, should we just pend this series until after 3.5 and think about it then?

What would you like me to do with these patches then?

I'd say, the patches for tests/subsys/fs/common/test_fs_basic.c
& samples/drivers/flash_shell/src/main.c
are uncontroversial fixes that should go in as is.
Wrt. samples/posix/gettimeofday/src/main.c I don't lean either way.
Wrt to arch/posix/CMakeLists.txt , if you think it is in general better to have those types match the embedded library size when building with the host library we can take it in already as is. If you think that due to not enabling samples/gettimeofday in native_posix it is a moot change, we can just drop it. Or we can calmly talk about it.

Wrt. samples/posix/gettimeofday/src/main.c I don't lean either way.

It doesn't seem like this is the right place to test this condition anyways -- it's only getting tested on a subset of targets and only when the POSIX stuff is enabled. time_t is part of the C standard, so if we want to make sure everyone uses a 64-bit version, then we should have a test which checks that in every environment. Maybe as addition to the existing C library tests instead of here? I stuck it here because that's the code which failed (when shifting the time_t value by 32 bits).
I'll move this check to test/lib/c_lib and see what we think. It seems to fit in very nicely there. Having a simple check that avoids an obvious 2038 vulnerability seems pretty useful to me.
That's a longer series which also enables the C library tests on the native targets; #63941. That has no fixes for the time_t size, it just gets the tests building and running on the native platforms, skipping the time_t size check.

Wrt to arch/posix/CMakeLists.txt , if you think it is in general better to have those types match the embedded library size when building with the host library for 32bits we can take it in already as is. If you think that due to not enabling samples/gettimeofday in native_posix it is a moot change, we can just drop it. Or we can calmly talk about it.

It seems like using 64-bit types for time_t everywhere would be good, but I agree that the current mechanism to select that for glibc is not great. Something that does this would be required if we're testing the size of time_t as above. Figuring out something prettier than a random #define would be good.

Switched to draft until we sort out #63941 and whether we should be using 64-bit time/offset types on 32-bit native builds.


custom player view without touching the pod

hello
i made my custom view for the player but how i can assgin it to the viewplayer class and connect its functionality without modifiing the POD file

Fix.
https://github.com/0x0c/LMMediaPlayer/commit/63a6705372dfd37523e4041413290cc620e37e73


Add task that checks for exposed encrypted variables

This PR adds a hardhat task that allows users to easily check and see if they are exposing any encrypted variables without guarding them behind a permission. Output of task if a contract is exposing variables:
Output:

Contract:

(sorry for light mode :D)
Motivation:
https://fhenix.monday.com/boards/1498001596/pulses/1649136424
Encrypted variables that are available publicly can be decrypted by another contract on the network. This should be highlighted in the docs.  This works for both public variables (Counter1) and public getters of private variables (Counter2). Heres a super minimal reproduction:
contract Counter1 is Permissioned {
  // Exploit from public variable
  mapping(address => euint32) public userCounter;
}
contract Counter2 is Permissioned {
  mapping(address => euint32) private userCounter;

  // Exploit from public getter
  function getCounterGetter(address user) public view returns (euint32) {
    return userCounter[user];
  }
}

contract CounterExploit {
  function exploitUserCounter(address user) public view returns (uint32) {
    return FHE.decrypt(counter1.userCounter(user));
  }

  function exploitUserCounterGetter(
    address user
  ) public view returns (uint32) {
    return FHE.decrypt(counter2.getCounterGetter(user));
  }
}

it.only("Counter is exploitable", async function () {
  const toAdd = await fhenixjs.encrypt_uint32(10);
  await counter1.connect(signer).add(toAdd);
  await counter2.connect(signer).add(toAdd);

  const expUserCounterVal = await counterExploit.exploitUserCounter(signer.address);
  const expUserCounterEncryptedVal = await counterExploit.exploitUserCounterEncrypted(signer.address);

  console.log({
    expUserCounterVal,
    expUserCounterEncryptedVal,
  });
  // --> { expUserCounterVal: 10n, expUserCounterEncryptedVal: 10n }
});

Merged in elsewhere


1.5.2 release

Bug fixes.

[x] Tag
[x] Upload to PyPI

I used twine upload for the first time :)


chore: concurrent map write in internal/metric test.

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #4042

/retest

/retest


PeerServer stop not working as expected

after app.stop()
In [42]: eth.app.services.peermanager.started
Out[42]: False
In [43]: eth.app.services.peermanager.is_stopped
Out[43]: True
In [44]: eth.app.services.peermanager.start()

error: [Errno 48] Address already in use: ('<IP_ADDRESS>', 29873)
it seems that its failing to stop the streamserver

I am working on this.
I can't reproduce sequence app.start() app.stop() app.start() app.stop() ... to fail.
However I can reproduce bind error if sequence of calls is app.start() app.start(). That results in the situation that app.stop() will never close peermanager socket. Why? On first app.start() peermanger binds to 29873 by self.server instance. On second app.start() peermanger will fail to bind to 29873 however new self.server instance will be initialized and this instance will be used when app.stop() is called. The real self.server is dangling and will be never closed.
This situation should be definitely prevented.

Fix. Covered here https://github.com/ethereum/pydevp2p/blob/develop/devp2p/tests/test_full_app.py#L161


Added spanish translation

I added spanish translation for "Why React isn't dying"

Thanks. I'm not a fan of medium because they put content behind a pay-wall. Have you considered alternatives like dev.to or hashnode ?

The truth is that I did not consider it. When I started with this blog, I just searched in the browser and used the first option. Little by little I start to regret using Medium. I might seriously consider moving to dev.to . Thanks for the suggestion

By the way, grat work with Tanstack. I'll start using it, and also translating the blog posts =).

if you decide to switch, please come back to update the link :) I'll merge this now.