https://x.com/didiercatz/status/2037593968800592359
#!/usr/bin/env nodehttps://x.com/didiercatz/status/2037593968800592359
#!/usr/bin/env node| import { DirectoryNode, FileSystemTree } from "@webcontainer/api"; | |
| export const getGithubFilesTree = async ({ | |
| owner, | |
| repo, | |
| path, | |
| branch = "master", | |
| }: { | |
| owner: string; | |
| repo: string; |
This repository holds all opportunities for funding academic projects that we're aware of, and our previous applications for some of them.
Feel free to reach out to us to add your suggestions as well.
Fund research and education in science, technology, engineering, mathematics and economics Generally accepting proposals all year round.
Programs:
The world is incredibly complex. And it is facing some unprecedented threats. There are many legacy subsystems that didn’t account for problems of this magnitude, nor the advanced digital age of the Internet. This is both a challenge, and an opportunity.
At the core of all progress lies our need for experimentation and innovation, and those are embodied within academia.
Academia has suffered as well, and is being characterized as “broken”, “dying” and “unfair”. Our very seed of progress’ rotten.
People can’t find and access research materials. Scholars aren’t getting paid for their work and their schedules oversubscribed, so holes appear where the quality of work pays the price - it remains unverified and some people abuse that. Trust is broken. There’s a feeling of injustice and wrongdoing. People are incentivized by decision-makers to adjust the results for shock factor, instead of truth. It seems that scholars spend most of the time struggling and fighting agai
| to achieve something you need to inventivize people | |
| they have a goal in mind and they have a motivation why they do that something | |
| goal is some kind of metric that they are optimizing for | |
| motivation is some kind of a reward that they can get |
| { | |
| "block1": { | |
| "name": "Prvi blok", | |
| "desc": "Ovo je prvi blok i on je najbolji." | |
| }, | |
| "block2": { | |
| "name": "Drugi blok", | |
| "desc": "Ovaj blok je malo manje bitan" | |
| }, | |
| "block3": { |
This is a complete walkthrough on setting up hosting for a web app and a deployment pipeline. Some things can be imporoved, but this can be used as well.
Our app is monolithic JS app: React frontend, Express backend, managed by yarn. PM2 process manager. Database is out of scope currently, but some notes will be added later. We use nginx as reverse proxy. We will set up SSL via "Let's Encrypt" for free.
All this is hosted on DigitalOcean (that can also be changed). In DigitalOcean's terms, we will setup two droplets (i.e. two machines) that will be used for staging and production. We also added a space (object storage) that is used to store large files (this is out of scope and doesn't change any portion of this setup).
We will use Github and Github Actions to hook into events that happen within our code repository.
The flow is as follows: once this setup is complete, our repo will have activated actions. On each push to the dev branch - newest version of that branch will be pulled and transfered into a
| #include <stdio.h> | |
| #include <vector> | |
| struct pt | |
| { | |
| double x; | |
| double y; | |
| pt(double a=0,double b=0) : x(a), y(b) {} | |
| void mul(double s) { | |
| x *= s; |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #include <assert.h> | |
| #include <string.h> | |
| #define streq(a, b) (!strcmp((a), (b))) | |
| #ifndef __USE_GNU | |
| #define __USE_GNU | |
| #endif |