24,628 karma · joined Oct 21, 2019 (7y ago) · 5,512 submissions
https://www.bitecode.dev/
Email: contact at bitecode.dev
comment 4y ago · link · parent
Meaning you would have to make sure all companies from all the countries in the world won't try to make money by using a cheaper and easier to access source of methane once there is a huge market for it.
Unlikely.
comment 4y ago · link · parent
Programming is a niche. Rust is a, albeit amazing and gaining traction at a fast pace, niche in this niche.
99% of mathematicians, physicists and biologists I have worked with have not even tried programming yet. And if they do, they will start with the stuff their friends are already using: python, fortran, etc.
Hell, 99% of the dev have not heard of rust yet. I go from companies to companies, every time I talk about rust, I have to explain what it is.
It's not even living in a bubble if you think that, it's living in an bubble from another dimension.
Having generalization from anecdotal evidence in nature.com is kinda ironic if you think about it.
comment 4y ago · link · parent
So the second browser is the solution. But then the site will do all the bad things that I wanted it not to do in the first place. Like serving terrible French results instead of good English ones, or assuming Firefox doesn't work based on UA while their site work fine with it. And of course track me to death, sell my data, and so on.
The only solution that works is to chose services you pay money for: they have your card, so they know you are not a bot. For years now, I have been suspicious of anything free. But it doesn't solve the tracking problem.
comment 4y ago · link · parent
First, of course, you have cloudflare and recaptcha, which are free and very efficient, as the author say.
But even if you don't want to use them (some of my services don't), most bots are very dumb:
- require JS, and you lose half of the web ones
- silly tricks like hidden input fields in forms that worked in 2000 still work in 2022. Use a bunch of them, and you can yet again halve the bot traffic.
- many URL should have impossible to guess paths. E.G: just changing the /admin/ url to a uuid in django or the /wp-admin/ in wordpress, you save so many requests.
- bots are usually not tailored to your site, meaning if you require JS, you can actually embed anti-bot measure in the client code and they will work. E.G: exponential backoff + some heavy calculations if too many fast consecutive ajax requests.
- fail2ban + a few iptables rules (mitigate syn flood, etc) will help
- varnish + redis gets you very far to shave excess dummy traffic
It's not great, but it's not an apocalypse.
Unless you are under targeted attack.
Then it sucks and you die.
comment 4y ago · link · parent
Yet, I'm a very good web citizen.
Because of this, I often have to solve the same captcha many times before it thinks I'm human.
comment 4y ago · link · parent
- you may work mostly in the terminal and want to fire a quick tool: dev is a lot of that so it's great for this use case
- it's cross platform
- it works with no X so it works with ssh
- it doesn't eat a lot of resources
- it's fast to launch
- you usually already have a cli entry point, so this is a natural next step. The quick script becomes really nice
- it's very constrained, so devs have to focus on the most important things which makes the UI usually better than usual
- it's a common denominator so you can generate web ui and native ui form that
- TUI have naturally good keyboard workflow for free
- it's just really cool
comment 4y ago · link · parent
Also note that those projects have the (not anymore) secret goal to also produce a web app from the same code base automatically.
I imagine native will follow, or wasm, or something. Nevertheless, having the terminal as the smallest denominator for UI makes a lot of sense for small utilities. You won't build the next Figma with it but a lot of scripts could benefit from that.
comment 4y ago · link · parent
And if you like django and never tried django ninja, it's like DRF and FastAPI had a baby: https://django-ninja.rest-framework.com/. You define your endpoints using pydantic type hints, and it generates the API, validators and docs all in one go.
comment 4y ago · link · parent
People keep repeating "vote with your wallet", and almost nobody does. It's already hard to make peace with that, but we learned to.
However if most of the IT community place billboards saying "don't go into the bear cage" for years, and you still do, what can we do?
comment 4y ago · link · parent
They'll just what microsoft did, and say "look, we are good people now". The world will forgive and forget, and use their product hapilly. But because the underlying cause hasn't change, only the context, as soon as the context will change again, we will be back to square one.
comment 4y ago · link · parent
https://taxfoundation.org/does-lottery-revenue-rise-or-fall-...
comment 4y ago · link · parent
If the product is good, it will not matter.
Better, we will make jokes about it and say stuff in the scrum meeting like: "today I will work on magically fucking myself. Someones has to do it."
Plus you get plausible deniability :)
comment 4y ago · link · parent
That doesn't mean they are not useful.
Think about supermarket scales: each vegetable or fruit is in a single category. The category is flawed, but nobody wants to have to type a precise list of tags to filter what they need. You want to go to vegetable and chose tomatoes, not to have a inner debate about the tomatoes taxonomy. Isn't a fruit? Wait, is fruit a biology thing or a commercial concept? I don't care, give me my damn tomatoes!
It's the same for my notes. Some stuff are in weird directories. But I know how I sort them out, so I can find them quickly. I don't want to have to be precise or accurate, only find what I need.
Category don't replace tags, buts tags are mainly useful for advanced searches and filtering. Anyway, the best systems out there consider a category as a tag, just the main tag.