Lurker News
This 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 comments
regnull1 reply#
I'm working on https://ubikom.cc, end-to-end encrypted email service based on the concept of self-sovereign identity. Basically, you keep the encryption key, and all your messages are encrypted, on the wire or at rest. The core platform is open-source, the code is available here: https://github.com/regnull/ubikom

Billions 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

gowthamgts121 reply#
SMIME won't solve this?
regnull#
Well if you google for SMIME adoption numbers, you mostly find articles about why exactly SMIME is dead. I would guess it hasn't solved the issue. Our approach is to make it impossible to send a message that is not secure (signed and encrypted). We also have a decentralized registry of encryption keys.
eezurr2 replies#
I've been working on a city builder/simulation video game for the last few months. If that's something you're curious & passionate about, send me an email (see profile).

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.

skulk1 reply#
Since you're inspired by DF, are you going to do a similar macro/micro split simulation that DF does? I thought this was one of the most interesting aspects of the game and implementation: how do you give the illusion to the player that other civilizations are evolving in a way that's not unlike the evolution of the player's fort without actually doing the CPU-crushing fine-grained simulation outside of the player's map?
eezurr#
Indeed!

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.

mboekhoff1 reply#
This sounds very, very cool. Sadly I'm not much of a gamedev, otherwise I would take part, but I really would love this come to fruition!
eezurr#
Thanks! Once I've got a base game equivalent to SimCity 2000 in functionality + real time traffic, I'll release the game for free.

When the game can begin competing with Cities: Skylines on a simulation level, I'll start charging for it.

jeofken2 replies#
This may be the edge of what is off topic, but I’ve looked for a long time.

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.

akkartik1 reply#
What language are you developing in? Is the project code up somewhere?

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.

jeofken#
I’m writing it in OCaml, and for prototyping I like to make mini languages in a single file - just a definition of type and expression and a typeof function.

Thanks for the offer! Sending you an email :-)

jeofken#
Can’t edit so adding: I write OCaml but am open minded.

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...

jitl2 replies#
I want the web to be more end-user programmable. Web apps big and small should offer plugin extension mechanisms! Ideally plug-ins are frictionless to author, and powerful enough to build fun UIs. Today, only really big premier apps like Figma and Google Docs have this kind of feature.

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.

jitl#
Wow, there's been a bunch of public work in this space since I started! I was aware of the Agoric Realms work that preceded SES, but haven't kept up with their progress. I looked over some of the current SES/Realms code, and didn't (quickly) find anything that can limit CPU or memory consumption of the untrusted code in the browser. I decided to base my efforts on QuickJS/WebAssembly because there's much less inherent risk and a greater guaranteed deal of control compared to any solution that shares a GC heap with the untrusted code.

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/

juancampa#
Very cool. I'm following a similar goal but interacting with services via their existing APIs[0]. Just making that way way easier. QuickJS is such an awesome creation.

It's your goal for applications to adopt your library as a generic extension mechanism? I really like this idea.
[0] membrane.io

Load more comments