Better HN
topnewbestaskshowjobs
Log inSign up

qbasic_forever

10,505 karma · joined Feb 3, 2021 (5y ago) · 2,505 submissions

Submissions

comment 4y ago · link · parent

wsgi, or more realistically AWS Lambda or other modern FaaS platforms that runs even simpler python scripts than cgi.

You're missing the point (and the hundreds of comments in the three years this pep has been open and debated)--the cgi library never would have been included in python if it were proposed today. It doesn't meet the bar for including in the core just like modules to handle json-rpc, grpc, etc. aren't included today. If you want cgi support pull in a high quality third party library to do it.

comment 4y ago · link · parent

https://peps.python.org/pep-0594/#chunk

comment 4y ago · link · parent

Github still has atom feeds for repos, for example: https://github.com/rothgar/awesome-tuis/commits/master.atom Unfortunately they don't really make links to these feeds very visible in the UI anymore. But toss that in your feed reader of choice and you'll get an update when the awesome list content changes.

comment 4y ago · link · parent

Perfectly emulating pixel graphics with a TUI isn't really the point. The point is to simplify an interface to the most essential text. Look at lynx or elinks for an example of a more realistic and usable TUI web browser. It doesn't try to play youtube videos, it just extracts the text and content from a site to display it.

But to your question, yes there are 'text' console bitmap graphics protocols. Check out sixel for one example: https://saitoha.github.io/libsixel/ Some terminal emulators support other bitmap graphics too.

comment 4y ago · link · parent

Please purchase Deno the company before dismantling their only source of income through deno deploy--deno the tool is too nice to lose!

comment 4y ago · link · parent

I'm really trying to understand how you can agree that 56% of people can't find $1k, and yet over 50% of people have $100k in assets.

I don't think we're looking at the same ~50% of people here...

comment 4y ago · link · parent

That's a pedantic argument, the deno standard library doesn't depend on any other library except itself and deno's core. You can know if you depend on it that you don't have dozens or hundreds of other dependencies, unlike pulling in a random npm package.

comment 4y ago · link · parent

I'm referring to the left-pad package on npm that infamously ignited a huge controversy years ago and started some of the cracks in the entire ecosystem that are growing larger and larger today. For more context: https://qz.com/646467/how-one-programmer-broke-the-internet-...

comment 4y ago · link · parent

Sure if you define 'household' as home owners, of course their assets are well above $100k because of the hyper inflated housing market in the country.

I would _love_ to see how someone renting an apartment and working minimum wage with less than $1k in their checking account can get a $10k loan. What are they going to do, go to the check cashing place around the corner and walk out with 10 grand? (that's saracasm btw)

comment 4y ago · link · parent

It's exactly what I'm thinking of but development on it has stopped and it isn't clear if there's a future for it (see the update here: https://github.com/onivim/oni2/issues/3811).

I'd love to see a company like Panic put some dollars and development power behind a native UI for neovim. Neovim is built explicitly to support these kind of custom frontend UIs. It's basically a backend for a fully-featured text editor and IDE but with a minimal console only frontend UI.

comment 4y ago · link · parent

Deno has a standard library that wants to be 'batteries included' so you don't have nonsense like a third party package for left padding a string (deno supports string padStart natively for this for example).

comment 4y ago · link · parent

Over half of America can't cover a surprise $1000 expense: https://www.cnbc.com/2022/01/19/56percent-of-americans-cant-...

You are not looking at the reality of the situation if you think the average American has a "gigantic amount saved up". The average American is working paycheck to paycheck and is lucky to have a couple hundred bucks for a rainy day or unexpected car repair.

comment 4y ago · link · parent

The preference of the developer doesn't feed into your decision to contact them? What if the repo readme says "this is provided as-is, I don't offer support"?

comment 4y ago · link · parent

Do you not see the irony that as a user of their free software you completely missed the point of their post that is basically saying, the people using my software are asking so much and giving so little that I'm burning out?

comment 4y ago · link · parent

It would be nice to make the "open source, but closed to contributions/collaborators" model like SQLite and others (lightstream, etc) follow more of a first class citizen on github.

comment 4y ago · link · parent

IMHO they should pivot it into a beautiful native or electron UI for neovim. Rebuilding all the LSP, task, etc. stuff in a bespoke editor is clearly a ton of work and maybe not paying off in the long run. Get all that stuff for free from neovim. Make a plugin that starts users off in a more familiar mode-less editing experience so the switch isn't noticeable.

comment 4y ago · link · parent

Had a heart skip for a moment from the headline, it reads exactly like the kind of corporate "Here's how [thing we're taking away] is actually a good thing for you" line we hear so often. Pleasantly surprised this is actually just a deep dive into how they keep their costs low and free tier still tenable.

comment 4y ago · link · parent

This looks great! A port to microcontroller platforms like Arduino would be really slick IMHO.

comment 4y ago · link · parent

This would be cool to have a version that creates bash scripts. Most scripts are simple logical things like:

- run this tool, send its output to that tool

- if that fails then stop and show an error

- etc.

comment 4y ago · link · parent

But now there's a dependency on some blockchain, and almost certainly some kind of centralized money conversion service... the content creator can't turn their fun crypto coins directly into food in their stomach or shelter over their heads.

comment 4y ago · link · parent

I... don't?

I'm hosting cat photos for friends to view. There are no invariants. There are no rules. It's purely content I'm posting for other people to consume. It's no different than if I printed photos and mailed them to all the people.

comment 4y ago · link · parent

Carrier pigeons too, there's already a RFC for it: https://datatracker.ietf.org/doc/html/rfc2549

TCP/IP over smoke signals would make a great RFC in a couple weeks. ;)

comment 4y ago · link · parent

It's all fun and games until a judge orders you to remove the content, like a revenge porn photo for example. You'll have plenty of time to think about how best to explain immutability, blockchains, etc. as you're sitting in jail in contempt of court.

The web3 dream of nothing is ever deleted is going to have to hit the brick wall of reality that we as a society agree to follow laws that explicitly allow deleting and removing content. You need a judicial solution to change that, not just a technology one.

comment 4y ago · link · parent

If I have an IP address I can host anything and anyone anywhere on the internet can access it right now. There's no company controlled centralized database I have to get permission from to host an apache server with cat photos for example. Isn't this problem already solved?

comment 4y ago · link · parent

Oh geeze, this submission is on the blockchain so you can't delete it. What are you gonna do, ya know? Welcome to web 3. ¯\_(ツ)_/¯

comment 4y ago · link · parent

The cost to post (just an upload) is going to be a lot smaller in the long run than the cost for people to view popular content (tons and tons of bandwidth, some db access, etc.). So it's kind of a weird model to charge for posting or contributing. Really you'd want to charge for time spent viewing... and then you've basically invented AOL again.

comment 4y ago · link · parent

It's using monaco as the underlying editor, just like VS Code that it's based on. Code Server basically takes the VS Code codebase as is and just adds a very light server layer to do auth and static content serving. All of the frontend javascript code, etc. is the same as the desktop version of VS Code.

comment 4y ago · link · parent

Containerd and nerdctl have the neat trick of (experimental) support for distributing images over IPFS: https://github.com/containerd/nerdctl/blob/master/docs/ipfs....

comment 4y ago · link · parent

If you're developing software that depends on a python standard library it is on you to subscribe to the relevant mailing lists so you can be notified of security issues, deprecations, changes, etc. There is not bureaucracy here to be aware of what's happening, or even comment on the changes.

comment 4y ago · link · parent

That has no bearing at all on the PEP process and is a gross mischaracterization of it. It's clearly documented and open. If you subscribe to any python development mailing list or even the PEP github repo you would have seen this issue. You would have seen links to the discussion which was open for _three years_ and had over 100 comments on it. This was not a decision that was hidden in any way from the python userbase.
1
515253
84