Ask HN: Who wants to collaborate?
390 pointsThis thread is similar to the monthly "Who is hiring?" and "Freelancer? Seeking freelancer?" threads.
But this one is for people who don't want to work for money and are not looking for people who want to work for money. But for people who want to work together on cool projects.
For free to make the world better or to start a startup.
If you do, please post your project or your skills!
Comments (490) 189 threads
Earlier commentsBillions of users use GMail (or similar services). These companies are making money by selling ads, and their "free" email service is just another way to improve ad targeting. Furthermore, your account can be disabled at any time and for any reason. Sure, you can switch to Protonmail, Tutanota, etc. because they are "good" companies. But why do you have to trust to any of them? Keep your encryption key, and have communication providers move around encrypted bytes on your behalf. Store your identity on a blockchain (maybe), so that no one can take it away.
That's the idea. If you'd like to work on something like this, get in touch. lgx (at) ubikom.cc
The game is built from the ground up with SFML and C++. The graphics are sprite/tile based. The game is top down, 2D, and will display the interior of buildings so you can watch your citizens live their lives. You'll be able to change z-levels for multi level buildings.
The focus of the game will be more on the simulation (Dwarf Fortress is a huge inspiration) than on building pretty cities (e.g. Cities: Skylines), although I do care about the art direction.
I have a long runway to take off from, about 2-3 years, so I have the time (and patience, and desire) to care about quality and efficiency.
What Im working on now:
Here's a brag & demo of the pathfinding I am currently wrapping up:
https://i.imgur.com/vtKXKLK.mp4
Note a few things:
* All possible paths are found in O( m + n log n ) time, even though there's a binomial coefficient number of possible paths in this grid. The tree is stored in memory for constant time access. Im using parallel flat hash maps to significantly lower the memory footprint.
* The units choose the shortest path that match their preference (i.e. the color of the unit), thus choose a path that contains the most tiles of their color.
* Pink units dont have a preference and will use any of the paths available.
* I'm not an artist!
* Currently wrapping up multi-lane road pathing (which is quite tricky!).
* In the game, preferences will be history, tourism, beauty, food, neighborhoods the unit can relate to (religion/nationality), etc.
The largest problem I will be tackling is simulating (to the best extent possible) an economy. One thing I liked (and made a lot of sense, at least to me) in SimCity 2000 is that the first demand you had to fulfill was industry. So the player will choose an industry to build their city around (though they'll be able to diversify any time. The price for that is possibly losing their edge in said industry).
One of the goals in the game is cashflow. Each service/industry/utility (SIU) that is outsourced is lost tax revenue for the city. For example, a new map will contain national power lines running through it. You'll have to tap into those for power initially. This means your citizens will pay a higher price for electricity, which limits tax revenue in two ways:
1.) You're not taxing the profits of the power plant
2.) You're citizens have less money to spend, thus the businesses in your city have smaller profits to tax.
Now iterate that math for every SIU required (which depends on city size).
To counter this, the player starts by owning all the land, so the city's initial revenue is from property sales. As the city grows, land value goes up. (Fun point, once the land is sold, its permanent until you can afford a great lawyer on your board to win an eminent domain case).
Over time the city will grow and more SIU's will be localized, increasing the cash flow of the city (more tax income). But, to attract/retain talent (thus have larger corporations), the city needs to spend this cash on services to make the city a desirable place to live. I think some fun side goals would be, for example, attracting the best chefs, artists, musicians, that are available, and have them e.g. open a restaurant in your city.
So, the macro scale is competing against other cities (both for talent and services/industries). I could say the winning condition is to be at the apex in every industry in the game, though that will likely be impossible, and I dont plan on having any real win condition.
I haven't sat down and mapped out how to simulate the competition (other cities), but I dont see a need to simulate each city at the micro level. I believe DF takes a similar approach. If anything, an infrequent mass calculation could determine who moves where and why, and to compare business competition. Im using SQL for storing game data to take advantage of what it does best, so this should be relatively easy.
When the game can begin competing with Cities: Skylines on a simulation level, I'll start charging for it.
I’ve worked on a compiler for a HM type checked language for a while. Since September last year I’ve been stuck trying to implement tagged unions (such as Maybe). I’ve got all other features.
I’m looking for a tutor who would write a type checker with me in a screen sharing session. I’m located in Dalarna, Sweden atm, but can do any timezone that fits. I want to pay for this as I am really really curious to find out how it works! It’d probably be no more than around 100 LOC for just the type inferrer.
No payment necessary, but I'd be happy to do a videocall with you. I've implemented tagged unions once, albeit with a very different syntax: https://akkartik.github.io/mu1/html/033exclusive_container.c... (this is a Literate format that eventually tangles into C. The `scenario` blocks show what code in the language would look like. Though none of these is a good example. They all sidestep the type checker to some extent since they're creating raw objects in memory.)
Anyways, I'd be happy to chat with you :) I suspect it'll be a short call. There's a likely a single sentence somewhere that will get you unstuck.
Thanks for the offer! Sending you an email :-)
HM = Hindley-Milner
My email is in my profile please feel free to get in touch regarding type checkers!
Here is a type checker, lacking inferring, for tagged unions. What I need to figure out is how integrate this with the unification algo http://www.martinjosefsson.com/ocaml/compiler/interpreter/ty...
One problem is that it’s very difficult for an app to run arbitrary, untrusted user code in a way that’s secure and efficient, especially in the browser. Apps need to worry about XSS and unintended remote code execution, much less try adding those things as a feature.
I started working on a Typescript/WebAssembly library around the QuickJS JavaScript runtime to address this need. QuickJS runs modern ES2020 and provides an API for the host process to set CPU and memory budgets for the execution environment, which is completely sandboxed. My work so far exposes a basic interface to create VMs, expose APIs from the host to the guest, and evaluate code.
Repo: https://github.com/justjake/quickjs-emscripten
NPM: https://www.npmjs.com/package/quickjs-emscripten
Areas of work:
- Make the library importable as ES modules on the web without a Webpack build step.
- Design higher-level but still security-conscious APIs for building plugin systems on top of the existing library.
- Expose more QuickJS C APIs to library users.
- Performance or ergonomic improvements.
If you share any of these goals or would like to help out, please drop me a line on GitHub (eg by opening an issue), or via any of the links on my HN profile.
Similarly the older Caja project: https://en.wikipedia.org/wiki/Caja_project
FWIF, Figma's plugin system started out with Agoric's Realms shim and then switched to QuickJS after a security incident: https://www.figma.com/blog/an-update-on-plugin-security/
It's your goal for applications to adopt your library as a generic extension mechanism? I really like this idea.
[0] membrane.io
All comments shown.
Couldn't load more comments. Check your connection and try again.