24,628 karma · joined Oct 21, 2019 (7y ago) · 5,512 submissions
https://www.bitecode.dev/
Email: contact at bitecode.dev
comment 5y ago · link · parent
But after a while, I believe an economy were you pay to get this content would appear, stabilize, and be saner. Of course the decade where the filter would operate would be painful.
Anyway, I'm pretty sure banning slavery had a high economic impact on the USA. I'm also sure a lot of people complained about that, and said it would be impossible.
comment 5y ago · link · parent
- you have a real activity in social networks, so that the community know you for you actual benefits, and will follow up on your work.
- you go to IRL meetup to create relationships with people and tell them about your products.
- you register your app to listings that let people search for things.
- you create open source software so that people will learn about what you do.
- you participate in the ecosystem you want to flourish, like being involved in not-for-profit groups related to your activity.
- world of mouth.
- partnership with complementary services.
- free samples, sales, etc.
Of courses those are only a few ideas. I'm sure people will get creatives; give a problem for humans to solve, and they come up with plenty of stuff.
The idea is that you can't just blast society with screams for you product. But you can have positives actions into the world that will make you known.
comment 5y ago · link · parent
At this stage, we should just ban advertising in general.
The purpose of advertising was to be able to give informations to the customers so they could chose, but it's not what's happening anymore. Now, it's a tool mostly used by those having money and/or power to have more of it, or keep it.
Removing advertising will have a lots of benefits:
- small shops will have a better fighting chance. Their local presence will give them visibility.
- "free products" that are actually paid with advertising will be filtered out based on their actual value for the users since they will have to explicitly pay for them
- no more information pollution on TV, internet, billboards, etc. No more product placement, star endorsement, branded athletes...
- billions of dollars redirected from ads to actually make useful things. Probably closer to home as well.
- fake reviews, paid articles, click bots, etc, would be prosecuted, making money for the state, and less fake news for us. The signal vs noise would get better significantly.
- weak people, like kids or the elderly, will not be campaigned to be molded into consumers. And social norms not affected as much by corporations.
- and the incentive to spy on consumers, hold as much data as we can, crafting future data leak disasters, will naturally become weaker. No need to fight for it.
The downsides exist, but cannot even touch a world with a ton of less waste and bs, and money for the business that make a living with it.
comment 5y ago · link · parent
The situation were a website is made accessible from the start is such a tiny rare occasion it cannot be used to explain why xhtml failed.
comment 5y ago · link · parent
Most websites are currently blobs of div. Why ? Because the idea of a web page being mainly a document completely missed the part were artists fiddling with messy code would produce things that customers would like better.
It's the same reason we currently see giant images on home pages and 10mo static assets to load. Because in the end, the best technical decision doesn't win. The one that gives the result the customers end up preferring wins.
If you have 3 hours to get a design done, you have the choice between making it look great, or having a clean semantic and maintainable markup, you will have to drop one. And the market will select according to the result.
comment 5y ago · link · parent
Pyenv is not a "common tool". It's used by a very small minority of devs since:
- it's used only by dev, and half of the python coders are not devs
- it works only on unix. Most people install python on windows (https://discuss.python.org/t/python-download-stats-for-may-2..., and that doesn't take in consideration anaconda or the appstore). Unless you count the obscure fork used by even less people.
- And yet on mac, if they don't use the official installer, they use mostly brew, not pyenv. On Linux, the officials repos or things like deadnsnake or epel. And of course docker. Pyenv is a tiny fractions of that, because any alternative solution is better known and easier.
- hard to use because it compiles things, fails easily in non obvious ways and assume you manage the path correctly, so it's really, really, popular only with people that want to deal with that. In fact the setups instructions are huge: https://github.com/pyenv/pyenv#how-it-works
- that's just what we see in the field. I go to a lot of different shops every years because I'm a freelancers, and I encountered pyenv twice in 10 years.
> That it happens to compile under the hood is an implementation detail that users may not even be aware off.
Of course not. The setup docs themself tell you to "Install Python build dependencies before attempting to install a new Python version.".
So not only you have to be aware of it, but you must be capable of setting up a compilation environment, and if you fail to do so, it will not work.
pyenv is not standard python. It's not "a common tool". It's a tool for a niche of specialists with domain specific knowledge.
comment 5y ago · link · parent
If you do that, you are assumed to have removed the safety belt and know what you are doing.
I know we are on HN, but you have to remember half the python coders are not even dev. They are geographers, mathematicians, biologists, students, teachers, data analysts. And of course they are on mac or windows.
Even I, and I started to code in python 2.4, never have to compile python. I do it for fun from time to time, but I don't use that professionnally.
If you use a platform where sqlite is not there, you are an exeception in a niche of minority.
I drive my car assuming there will be breaks on it. It can be missing, but it's not a great assumption.
comment 5y ago · link · parent
This result is a Promise, that you can pass sync callbacks to, and keep the whole code away from async/await.
You can also decide that async/await is nice, and just use that instead.
I'm a Python dev, but that part is better in JS.
comment 5y ago · link · parent
> I'm fairly familiar with CSS3 and all the new whizz bang CSS things that I could very well use to make this fancy looking, but I decided to go the simplest route. [...] Also it's basically mobile responsive out of the box.
But then I notice some column layout : https://www.andrewjvpowell.com/#about
How is that responsive? Well, "inpect" reveals flexbox, which is very much modern css.
Still minimalist though.
comment 5y ago · link · parent
Killing the american natives, the tutsi, the jews or the cambodgian intellectuals intellectuals were among the worst things humanity have ever done, and the religion of the perpetrators had nothing to do with it.
Terrible humans will use any rationalization to do terrible things.
Most muslim women in my country don't wear a hijab. However, men beating their wifes are from all kind of religious and non religious backgounds.
I now believe that religion is a reflect of the state of your society, not the other way around. People are racist, homophobic, intolerant, entitled, misogynist, and then, they sometimes use religion to justify that.
comment 5y ago · link · parent
result = asyncio.run_until_complete(func)
Also, having explicit async/await are a wait to tell you: here are the point in your code that have something doing unreliable side effects down there.You can then use this information to:
- move that code and group it, so you get the rest of the code sansIO style
- put that in a try/except, because this code WILL fail at some point
- think about the perfs of this part of your code, which is what you are doing async io the first place
I do wish that python coro would schedule themself automatically, like JS does, and return a future that you can await explicitly. But that ship as sailed.
comment 5y ago · link · parent
Warranty is something they were proud of.
Now, it's just came an absurdly inefficient, frustrating, and wasteful experience.
I have an XPS 2-in-1. Nice machine, except for the so-so battery life and the unsupported webcam on linux, it was a good working laptop.
I paid for the biggest config at the time, and included a $300 premium guarantee with on site servicing.
One year later, the keyboard starts acting up, then the touch pad.
I contacted their support, and while the people on the phone were polite and competent (!), their ludicrous booking system to get a person on site to change my keyboard was a nightmare.
Took me a month of frustrating cat and mouse game to finally get someone at my door.
They changed my keyboard (and for some reason my speakers and battery O_o), routine stuff. "No need to do a backup for that", they said.
Took them 3 hours. They were operating blind, no manual, no spec, no pictures taken before removing parts.
Of course, once done, the machine would not boot anymore. Also the touch pad stopped working completely (tested in the UEFI).
They let me with an unusable machine and left. This was my main working machine. Thankfully, I haven't listen to them and did my homework, I had 2 full data backup and a fallback laptop, albeit way less appropriate for my freelancing missions.
One month and dozens of phone calls+emails later, they come back. Change the whole thing again. Machine is still FUBAR.
They leave again.
2 weeks later, support contacted me to offer me an exchange with a brand new laptop (remember, I didn't need a backup). They should take an appointment in 48 hours.
I'm still waiting as of today, no appointment email, a broken laptop, doing work on a machine were I have to kill the browser regularly because it swaps, doing web dev.
All the staff were nice, but their process, boy, their process sucks.
The worst thing is, it's probably made to avoid some kind of abuse of the system or to save money, but they spent to much time with me they wasted tons of cash, and end up replacing my machine anyway.
Everybody loose with a service like that.
If people are still wondering why the framework laptop is appealing, there it is. I know what my next machine will be now.
comment 5y ago · link · parent
It's like that everywhere.
Yesterday a friend of mind was revealing to me that crypto currency exchanges were pressuring them to create bots so that their coin trading volume would go up or they would be delisted.
There are bots to write comments on trip advisor and to star on amazon. Bots to follow on twitter. Bot to click on referal links and bot to farm in games.
I'm pretty sure if we all suddenly went offline, half the internet would seem to keep going as usual.