Video by via Dailymotion Source Joe Rogan opens alien-themed anti-cancel comedy club in Austin called VIEW MORE : https://bit.ly/1breakingnews Go to Source
L3-DM-ChatGPT and WordPress – Part I – 2nd March 2023
WordPress is highly customizable and flexible, offering a wide range of themes and plugins that can be used to enhance the functionality and appearance of your website. With thousands of free and premium themes available, users can easily change the design and layout of their website to match their specific needs and preferences.
One of the main advantages of WordPress is its user-friendly interface, which allows users to create and publish content without needing to know how to code. Users can easily add new pages, posts, images, and videos to their website, and can also manage comments and user accounts.
WordPress is also SEO-friendly, with built-in features such as permalinks, tags, and categories that make it easier for search engines to crawl and index your content. Additionally, there are several SEO plugins available that can be used to optimize your website for better search engine rankings.
Another key feature of WordPress is its community support. With a large community of developers and users, there are endless resources available to help you with any issues or questions you may have. Whether it’s through forums, online tutorials, or official documentation, users can find help and guidance for every aspect of their website.
Overall, WordPress is a powerful CMS that can be used to create a wide range of websites, from personal blogs to e-commerce stores and corporate websites. With its user-friendly interface, customizable themes and plugins, and SEO-friendly features, WordPress is a great option for anyone looking to create a professional-looking website without needing to know how to code.
#WordPress
#WordPressPlugin
#WordPressTheme
#WordPressWebsite
#WordPressDesign
#WordPressDeveloper
#WordPressBlog
#WordPressCMS
#WordPressHosting
#WordPressCommunity
#WordPressTutorial
#WordPressTips
#WordPressSecurity
#WordPressUpdates
#WordPressSEO
#WPBeginner
#WPPlugins
#WPTips
#WPDeveloper
#WPThemes
Little Gestures of Confidence
How to run containers on Mac with Podman
Go beyond the basics, learn what happens under the hood when running Podman on your Mac, and create a flexible container environment that meets your needs. Read More at Enable Sysadmin
The post How to run containers on Mac with Podman appeared first on Linux.com.
Andy Wingo: pre-initialization of garbage-collected webassembly heaps
Hey comrades, I just had an idea that I won’t be able to work on in the
next couple months and wanted to release it into the wild. They say if
you love your ideas, you should let them go and see if they come back to
you, right? In that spirit I abandon this idea to the woods.
Basically the idea is Wizer-like pre-initialization of WebAssembly
modules, but for modules
that store their data on the GC-managed heap instead of just in linear
memory.
Say you have a WebAssembly module with GC
types.
It might look like this:
(module (type $t0 (struct (ref eq))) (type $t1 (struct (ref $t0) i32)) (type $t2 (array (mut (ref $t1)))) ... (global $g0 (ref null eq) (ref.null eq)) (global $g1 (ref $t1) (array.new_canon $t0 (i31.new (i32.const 42)))) ... (function $f0 ...) ...)
You define some struct and array types, there are some global variables,
and some functions to actually do the work. (There are probably also
tables and other things but I am simplifying.)
If you consider the object graph of an instantiated module, you will
have some set of roots R that point to GC-managed objects. The live
objects in the heap are the roots and any object referenced by a live
object.
Let us assume a standalone WebAssembly module. In that case the set of
types T of all objects in the heap is closed: it can only be one of the
types $t0, $t1, and so on that are defined in the module. These
types have a partial order and can thus be sorted from most to least
specific. Let’s assume that this sort order is just the reverse of the
definition order, for now. Therefore we can write a general type
introspection function for any object in the graph:
(func $introspect (param $obj anyref) (block $t2 (ref $t2) (block $t1 (ref $t1) (block $t0 (ref $t0) (br_on_cast $t2 (local.get $obj)) (br_on_cast $t1 (local.get $obj)) (br_on_cast $t0 (local.get $obj)) (unreachable)) ;; Do $t0 things... (return)) ;; Do $t1 things... (return)) ;; Do $t2 things... (return))
In particular, given a WebAssembly module, we can generate a function to
trace edges in an object graph of its types. Using this, we can
identify all live objects, and what’s more, we can take a snapshot of
those objects:
(func $snapshot (result (ref (array (mut anyref)))) ;; Start from roots, use introspect to find concrete types ;; and trace edges, use a worklist, return an array of ;; all live objects in topological sort order )
Having a heap snapshot is interesting for introspection purposes, but my
interest is in having fast start-up. Many programs have a kind of
“initialization” phase where they get the system up and running, and
only then proceed to actually work on the problem at hand. For example,
when you run python3 foo.py, Python will first spend some time parsing
and byte-compiling foo.py, importing the modules it uses and so on,
and then will actually run foo.py‘s code. Wizer lets you snapshot the
state of a module after initialization but before the real work begins,
which can save on startup time.
For a GC heap, we actually have similar possibilities, but the mechanism
is different. Instead of generating an array of all live objects, we
could generate a serialized state of the heap as bytecode, and another
function to read the bytecode and reload the heap:
(func $pickle (result (ref (array (mut i8)))) ;; Return an array of bytecode which, when interpreted, ;; can reconstruct the object graph and set the roots ) (func $unpickle (param (ref (array (mut i8)))) ;; Interpret the bytecode, building object graph in ;; topological order )
The unpickler is module-dependent: it will need one case to construct
each concrete type $tN in the module. Therefore the bytecode
grammar would be module-dependent too.
What you would get with a bytecode-based $pickle/$unpickle pair
would be the ability to serialize and reload heap state many times. But
for the pre-initialization case, probably that’s not precisely what you
want: you want to residualize a new WebAssembly module that, when
loaded, will rehydrate the heap. In that case you want a function like:
(func $make-init (result (ref (array (mut i8)))) ;; Return an array of WebAssembly code which, when ;; added to the module as a function and invoked, ;; can reconstruct the object graph and set the roots. )
Then you would use binary tools to add that newly generated function to
the module.
In short, there is a space open for a tool which takes a WebAssembly+GC
module M and produces M’, a module which contains a $make-init
function. Then you use a WebAssembly+GC host to load the module and
call the $make-init function, resulting in a WebAssembly function
$init which you then patch in to the original M to make M”, which is
M pre-initialized for a given task.
Optimizations
Some of the object graph is constant; for example, an instance of a
struct type that has no mutable fields. These objects don’t have to
be created in the init function; they can be declared as new constant
global variables, which an engine may be able to initialize more
efficiently.
The pre-initialized module will still have an initialization phase in
which it builds the heap. This is a constant function and it would be
nice to avoid it. Some WebAssembly hosts will be able to run
pre-initialization and then snapshot the GC heap using lower-level facilities (copy-on-write mappings, pointer compression and relocatable cages, pre-initialization on an internal level…). This would potentially decrease latency and may allow for cross-instance memory sharing.
Limitations
There are five preconditions to be able to pickle and unpickle the GC
heap:
1. The set of concrete types in a module must be closed.
2. The roots of the GC graph must be enumerable.
3. The object-graph edges from each live object must be enumerable.
4. To prevent cycles, we have to know when an object has been visited:
objects must have identity.
5. We must be able to create each type in a module.
I think there are three limitations to this pre-initialization idea in
practice.
One is externref; these values come from the host and are by
definition not introspectable by WebAssembly. Let’s keep the
closed-world assumption and consider the case where the set of external
reference types is closed also. In that case if a module allows for
external references, we can perhaps make its pickling routines call out
to the host to (2) provide any external roots (3) identify edges on
externref values (4) compare externref values for identity and (5)
indicate some imported functions which can be called to re-create
exernal objects.
Another limitation is funcref. In practice in the current state of
WebAssembly and GC, you will only have a funcref which is created by
ref.func, and which (3) therefore has no edges and (5) can be
re-created by ref.func. However neither WebAssembly nor the JS API
has no way of knowing which function index corresponds to a given
funcref. Including function references in the graph would therefore
require some sort of host-specific API. Relatedly, function references
are not comparable for equality (func is not a subtype of eq), which
is a little annoying but not so bad considering that function references
can’t participate in a cycle. Perhaps a solution though would be to
assume (!) that the host representation of a funcref is constant: the
JavaScript (e.g.) representations of (ref.func 0) and (ref.func 0)
are the same value (in terms of ===). Then you could compare a given
function reference against a set of known values to determine its index.
Note, when function references are expanded to include closures, we will
have more problems in this area.
Finally, there is the question of roots. Given a module, we can
generate a function to read the values of all reference-typed globals
and of all entries in all tables. What we can’t get at are any
references from the stack, so our object graph may be incomplete.
Perhaps this is not a problem though, because when we unpickle the graph
we won’t be able to re-create the stack anyway.
OK, that’s my idea. Have at it, hackers!
VPN trust requires free software
VPNs have become popular and are often touted as a tool to improve privacy.
While this is sometimes true, it is important to tread carefully when
choosing an VPN. A good place to start is looking at which VPN providers
meet the
requirements
for running a trustworthy VPN service. A trustworthy VPNs must be free
software, that is non-negotiable. First, inspection is required in order
trust software. Having the source is the only way to see all the things the
software is doing. F-Droid reviews the apps that we ship on this website,
which lets us spot potential issues and anti-features. And we are happy to
hear that reputable VPN providers make the effort to get their apps on
f-droid.org to build trust with their users. From there, Reproducible
Builds provides a strong link
between the source code and the actual app binaries that run on the device.
The best VPNs are the ones that use free software both for the client app,
and for running the services. Indeed all OpenVPN, Shadowsocks, and
WireGuard VPNs are based on free software since those standards are defined
by free software projects. F-Droid looks into this as part of the reviews,
and marks apps with relevant Anti-Features, like the Non-Free Network
Services mark if the
server side is not free software. And there are a number of free software
projects that make it a lot easier to setup and run a VPN or proxy
services. Here are some that are on f-droid.org:
- Bitmask is a
generic client for the LEAP VPN setup which powers
Calyx VPN, Riseup
VPN, and more. - eduVPN is a VPN client for
Let’s Connect VPN setup which powers
eduVPN. - OpenVPN for Android is
a generic OpenVPN client for any VPN provider that offers it. - Outline is an
offering designed to let anyone run their own VPN based on Shadowsocks. - WireGuard is a
generic WireGuard client for any provider
that offers it.
So far, none of the VPN providers have taken the plunge into fully
supporting reproducible builds. There is some progress: some of the releases
of WireGuard,
Tailscale, and
Mysterium VPN
have been reproduced on our verification server. But these apps are not
setup for the full reproducible publishing setup, which confirms that the
f-droid.org version matches the upstream developer’s version exactly, then
publishes with the upstream signature. The F-Droid community is helping
more and more apps achieve reproducible builds, which VPN app will be the
first?
There are also a number of apps that are dedicated to a given provider.
Although there are generic clients available, there are good reasons for a
free software provider to ship a custom app. First, it can make
configuration dead simple. Calyx VPN and Riseup VPN have no accounts at
all, so just install the app, and turn on the VPN. Second, it allows the
provider to include multiple methods of connecting and automatically switch
between them, depending on what works best. We decide which apps to include
based on what is best for the users. A VPN client that offers no additional
functionality and just serves as a rebrand of an existing client does not
serve users well. In order for an app from a specific provider to be
included, it must provide real value to our users. Here is a list of some
related examples:
We also get lots of direct messages asking us to include various proprietary
VPN apps, or promote various VPN services for a fee. That is of course a
non-starter. The first step is free software.