platform
Joined 14 years ago
Joined 14 years ago
I checked Re-natal as tool to manage build/debug workflow with clojurescript+react-native
https://github.com/drapanjanas/re-natal
But re-natal supports up to React native 0.59, which is quite far back, in the RN-release-years time units.
Now React-native is 0.62.
I also know that they donate (or at least donated before now) hosting service to lobste.rs
I found them just by searching through like anybody else would.
I had never seen their ads.
are you affiliated with any of their competitors?
https://prgmr.com/xen/ inexpensive. no overage charges. can pay by bitcoin. (and a FreeBSD friendly).
I wonder if you would also benefit from installing something like yunohost [2] on top of Debian. This will get you your personal cloud. And the use YounoHost's 'Custom web app' container [4]
This way, you get an automatically configured web server (nginx), with certificates (via Let's encrypt) that get auto updated.
You also get a pre-configured user/sftp access to your app's folders.
And those folders will be backed up when you hit the backup button...
Nginx will invoke your python app when the predefined URL is hit.
All you have to do is to point your domain registrar to the prmgr VPS host running yunohost.
[2] https://yunohost.org/#/whatsyunohost [3] https://yunohost.org/#/apps [4] https://github.com/YunoHost-Apps/my_webapp_ynh
">..We proceed by summarizing IQ psychometrics and IQ as a quantitative genetic trait..."
Currently system is in Java+JS front end. I feel that JSON serialization that I currently use, is not the right thing..
But at the same time, I care about 'size in kb' of the js front end. Therefore have been learning the options.
Every single time I have to upgrade react-native, I have no problems with the code base,
but with these horrible 'put a js config file here', put 'node_modules' there, set environment variable this way -- kind of tools.
This is approximately equivalent in frustration, trying to build a Linux-kernel with a new network-interface driver in early 90s.
..may be even worth than that.
I went with YunoHost.
I initially tried sovereign, but once I figured out I had to pay for tarsnap backup service, and that it did not have ansible for nginx setup (I needed that experience for work stuff), I went with Yunohost.
Sofar I am happy with YunoHost and subscribed to send periodic donation to the project.
Overall, though, if you are working with ansible at work, or want to advance in devops field, learning ansible and contributing to Sovereign project would be a good path to take.
I do not think LMDB could load from in-memory only object (as it has to have file to memory-map to), however.
But same design reasons, I wanted something that
a) I can move across host architectures
b) something that can act as key-val cache, as soon as the processes using it are restarted (so no cache hydrating delay)
c) something that I can diff/archive/restore/modify in place
We tested sqllite for the above purpose at the time, and writing speed and ( b ) - lmdb was significantly faster.
So we lost the flexibility of SQLite, but I felt it was a reasonable tradeoff, given our needs.
I also know that one of the Intel's python toolkits for image recognition/ai, uses LMDB (optionally) store images that processing routines do not have incur the cost of directory lookups when touching millions of small images. (forgot the name of the toolkit though)…
Overall, this a very valid practice/pattern in data processing pipelines, kudos to you for mentioning it.
Oracle over the years, acquired some of our competitors.
Then every time customers would need to renew database licenses with Oracle, Oracle's sales reps would try to sell them the competing enterprise systems that they had acquired.
https://github.com/nginxinc/ansible-role-nginx
it is complete free, open source, not difficult to use, does not require any additional tools on the target host.
On the control (source) host you just need ansible and target hosts need python3.
And from there you can use this role to push nginx install on 10 or 100 target hosts (with same single command). The hosts do not have to run the same OS (they can run a mix Debian-based, or -redhat based Linuxes, and a FreeBSD.. I think (although did not try that) ).
This role automatically setups and download the appropriate versions of nginx binaries, and allows pretty flexible config of nginx itself, from load balancers to reverse proxies, to plain-jane web servers...
Any passwords that may need to be transmitted to target hosts (eg for cert files), are normally encrypted in crypto-secure ansible vault. So they get transferred with SSH over to the host, without being ever bein stored plain on the source/controller host.
With regards to
> Most automation scripts are used to sell additional products like Ansible so this script avoids that.
I think most open source software, nginx including, can be though of as 'promoting' something or somebody. Just like any other endeavor that meant to be publicly consumed.
interesting, thank you for sharing.
Could I transpose your thought into:
--
Solutions (or large scale programs), should not be written in a general purpose language.
Instead, there should be core domain language (solution DSL) developed (using a general purpose language) and then the solution should be developed using the solution DSL.
?
My environment is
- Hyper-V on windows laptop
- FreeBSD 12.1 as guest (zfs)
- FreeBSD packages I use for devel (installed simply with its standard 'pkg add') are: InteliJC, vscode, openjdk11, postgres12-server, node12, tmux
- Desktop env is: xrdp (to allow remote desktop into the VM), wmaker (window manager and wmakerconf to config it), qterminal or lilyterm
So I just use Remote Desktop from windows host, into FreeBSD VM using XRDP and just run like that.
I connect using 24 or 32 bit depth (via RDP protocol) and tend to run Darkish/pastel colors themes in Visual Code and IntelliJ.
---
I know this is not an ideal setup, but lack of support for mobile dev (android at least) prevents me from using FreeBSD directly on hardware...
When Running on native hardware, without VM, I tend to use Pop! Linux because of how beautiful it looks, on HiDPI or regular screens, and it is relatively easy for me to use, as somehow that window manager setup does not get in my way
I also usually install emacs 27 or 28, but those require a binary package download from
https://freebsd.pkgs.org/12/freebsd-ports-latest-i386/ghub-e...
Use Emacs rarely these days, because of its lackluster support for JavaScript+Flow tooling.
I would much rather use Emacs for everything.. but right now I just use it to write status reports (org mode)…
Here is my layman interpretation (disclaimer: I am not by any means knowledgeable in biology, and just wikepidyed most of the terms used):
1) our immune system has T cells that are responsible for recognizing if an antigen is 'foreign' molecule/substance or something that's generated by our own body (self).
These types of T-cells are called 'Regulatory T-Cells' [1]
2) Cancers, as an example, trick these types of cells to think that the cancerous cells are 'self'
3) For these type of regulatory T-Cells (T-regs) to get activated, they need 2 signals:
-a- signal that says -- here is a pathogen
-b- signal that says -- this pathogen is foreign (if not, immune system will not get activated).
Toll-like receptors help with -b-.
They work, in a way (this is my analogy, sorry if it is lame), like RegEx (regular expression), that have evolutionary encoded patterns that indicate the origin of a given antigen. And that's the core of Ruslan Medzhitov's research
4) So if we get the regex match of the antigen structure (which is being sliced 'prepped up' for the check, by slicing its proteins into peptides) -- the signal 2 is generated, and immune system will activate.
If the match did not happen -- no activation.
5) Another interesting thing, (or may be I misunderstood) Is that those TReg cells, each do not have 'all the patterns'. Instead, our body generates, randomly, many of those cells, and each one just have one of those 'RegEx'. So another key, is that our body has to, in parallel, so to speak, apply multiple of them to the foreign body. And so some of those TReg cells would never get activated (as they did not have the pattern to induce the -b- signal). But others, hopefully, would get the match and the -b- signal will happen, and immune system will get activated.
[1] https://en.wikipedia.org/wiki/Regulatory_T_cell