HNHacker News
TopNewBestAskShowJobs

bontaq

604 karma · joined January 20, 2015

submissionscomments
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
That's a neat idea too, I love hearing all these new ways to use a simple bit of data.
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
Yeah they're nice and fun to build. I imagine if you wanted to, you'd run this behind a VPN at #corporation, which will be a huge pain to get approval for, but not that bad.
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
Thanks! So far the limits are about 500Kb, which is more than enough for what this service is intended for.

The setting of multiple keys I'd have to think about, as it's already so easy to acquire multiple keys -- ie I don't think I'd be saving or making anything much faster by special handling for it. Pulling multiple keys is likewise, you're free to do it in an async all.

bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
I don't yet, but let me get back to you in a couple days. I think it'd be interesting to all.
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
I just built it without a backfill, new data should have a full read-only hash -- I'll try to backfill the data tomorrow
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
Hell yeah, I'm planning to keep it up for a good while and lemme know if something isn't working or you'd like a new feature. bontaq @ the google mail .com
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
I see some of you are realizing that I haven't enforced any data url to be a UUID, good on you. I hope it opens up new neat things like https://textdb.dev/data/hello-hackernews or more creative ideas.
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
It is done, lmk if it works alright. The read only hashes should be visible beneath the data editing view on a new one.
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
There currently isn't, but it is intended for small amounts of data. Today or tomorrow I'll probably put a cap at 500Kb or so, which is still a heckload of data.
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
That's a cool idea, I'd definitely like to add the ability to create a little store with more safety, and that totally works with the goal of simplicity. I'll give it a shot.
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
Should be fixed now 8)
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
Yep that was it, ty, it should be fixed now
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
nginx is in front, but it's just doing a proxy and setting some headers, so effectively cowboy's serving everything.

So far it's doing a great job too, CPU is at 2%, 1Gb free ram of the 4Gb available, and a pretty constant 1Mbps outward, on the 20$/m digital ocean droplet. I may have jinxed it by saying this though.

bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
Thank you, fixed
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
Thanks 8), rate limiting is just the most basic of nginx configs to like, 10 requests / second / ip
bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
Sure, I just made it public over here: https://github.com/bontaq/textdb

Yeah I'm not sure why it's doing that, v annoying though

bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
Made because I couldn't find a simple, no-sign-up service to sync a list of names for a command line tool. And resubmitted because yesterday I goofed and the curl commands listed didn't point to the right location, which really took the fun out of it.

Favorite part of the project: trying out Phoenix's built in pub sub + live view (the live view subscribes to a data/:id topic, which the api write endpoint publishes to) to get that nice instant update on write if you have the data open in the browser without polling.

It's also fun to see how fast it syncs multiple browser windows watching the same data when you edit it in one window. That's not useful, but I give it 1 "neat".

bontaq··on Show HN: Textdb.dev – simple data sharing for fun projects
I put this together because I couldn't find a dead simple data sharing service for a side project. I didn't want to deal with auth, or tables, or anything complicated -- just a small amount of data that I could monitor by leaving open a window.

If you have suggestions, I'd love to hear them.

bontaq··on Software will eat software in a remote-first world
> So, an ask: any historical examples where government policy other than deregulation has increased the efficiency with which a resource is used?

I would say there are examples around. For example, the numerous dams and levees we enjoy. Getting wrecked by a flood is not very efficient. Non-navigable rivers are not efficient.

bontaq··on Twitter Will Allow Employees to Work at Home Forever
I'd also imagine remote employees are cheaper anyways because they don't require office space.
bontaq··on What I Wish I Knew When Learning Haskell
It took me way too long to come across Trace, if it was more widely known I don't think we'd see so many "impossible to debug" related issues. It's great.
bontaq··on Palm Phone for Minimalists
Is this actually new? With that said, bring back the Palm Pre
bontaq··on Trump Declares National Emergency
https://markets.businessinsider.com/news/stocks/robinhood-fi... man.
bontaq··on Trump Declares National Emergency
You literally implied robinhood was somehow swinging the dow jones down 7% at open due to an "infinite money" cheat.

Maybe just accept new information and correct your weird conspiracy theory.

bontaq··on Trump Declares National Emergency
You realize that's due to shorts, puts, and more bad news right? It's not mysterious at all.
bontaq··on People kept working, became healthier while on basic income: report
We could let the government build factories, mines, and services. Then profits could be directed towards the program. The government services could also have a mandate for automation and job-destruction, in order to maximize the effectiveness of the people's capital.
bontaq··on Essential shutting down after failing to launch ‘GEM’ smartphone
I wish they'd do a new palm pre, it still is to me the best cellphone made.
bontaq··on Developing GHC for a Living
I think you missed the point. Haskell, keeping up with research, allows for further research. That research allows you to explain your ideas better and explore. It could save you refactoring time if you could explain it right the first time.

This kind of snub is weird.

bontaq··on A Pythonista's Review of Haskell
For things like this I recommend going to wikipedia and looking up "Functor" -- there's some weird dislike of category theory terms but we're all fine with terms like "singleton" or "Factory"

You'll see the definition and be like, "shit that's just a map." We sell each other a bit short.

Likewise for applicative, monoid, monad -- they're mathematically pretty clear and if you squint while assuming a list is a category, you can probably read most of the definitions and get it.

functor -> equivalent of map for lists

monoid -> equivalent of having an identity ([]) and a join (a.concat) for lists

applicative -> equivalent of turning one element into a list

monad -> equivalent of unwrappering list items, applying a function to each, and rewrapping it

This is just for lists, but the terms are more powerful than that and have many variations. The nice thing is because it's universal. You don't have to wonder, "have I done this pattern right," because you test the laws for them. It might also help, for some of the laws, to remember identity and associativity as like from multiplication -- ie 1 * 9 = 9, 3 * 2 = 2 * 3

bontaq··on Developing GHC for a Living
Absolutely, after stack happened and ghc started a faster release cycle it felt like the system was breathing again. 10M more users would be detrimental at this point, because the language is actually moving.
← PreviousPage 3 of 5Next →