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
- Use Linux
- Encrypt files
- Use signals
- Use Android without a google account or a play store
- Use google products as little as possible
- No whatsapp, no Insta, no FB
- Use pcloud encrypted solution for online storage
But even with all that, I'm pretty sure the impact is limited, real privacy would require a lot more. Not to mention banking, power companies and so on are going to sell your data no matter what.
Besides, most people would not even do 10% of this. Not even switch to FF.
And if they are transparent and knows you, they give a lot of data on you anyway.
It's a battle we are loosing.
comment 4y ago · link · parent
Well, we've been doing this implicitly with English for a long time, so I guess Karma is a bitch.
On the other hand, I wrote a French technical blog for years, and it was way harder to reach a lot of people, so if I had to do it again, it would be in English.
They don't have this problem, since 1B people are Chinese.
comment 4y ago · link · parent
Because the most watched youtube videos are music videos, and people listen to the same music regularly.
Also because some videos have been popular enough that people wanted to show that to their friends, and regular users don't know how to use the history, so they want to find it in their home page again.
I assume the algo just doesn't know the difference between videos that are rewatchable and ones that are not, and does that on some statistical metrics that don't make sense in a lot of contexts.
When you think something is stupid, the answer is usually there is something we don't know about it.
comment 4y ago · link · parent
They then calculated the cost of sorting, and realized that it would save them more money than upsetting the users that like the function would cost.
Then, A/B testing confirmed it for a few months.
Then, tada, good bye features.
comment 4y ago · link · parent
You free part of the industry from needing professionals for some simple tasks, which is enough to empower users with a lot of possibilities, and focus pros on where they are really needed.
"Hey phone, next time mum send me a text about voting, you can send back a 'ok boomer'?" or "hey phone, can you setup a webpage that list my tiktok videos up to last year?"
Most people are not going to hire a pro for that, but we could end up with a AI general enough to be able to do that for users. It's ok if the result is not extensible, maintainable or modular.
comment 4y ago · link · parent
But now, given how magical this thing is, it opens many doors to what's possible with no code.
I never really believe in anything no code before apart from Excel and RAD.
But basic tasks are going to get accessible to a lot of people sooner than I expected
comment 4y ago · link · parent
__builtins__.zip chose to consume iterators in the order they are passed as a parameter, and therefor end up with an assymetric consumption.
That's why itertools.tee exists, so that we can chose case by case.
comment 4y ago · link · parent
Of course, don't use your own hand crafted version in Python, since one is provided with the language and it is better than the one you will likely come up with.
Still, it's interesting because it's simple. So starting from the intro of this article, if you want to go further, try to do the following to match up __builtins__.zip:
- make it lazy (yield would work)
- make it work with any iterable (iter() + StopIteration would work)
- put some type int and a docstring (so that help() gives you informations)
- accept any number of iterables (variadic parameters would work)
- make a second version that accepts a fill value (like itertools.zip_longest)
This will sharpen your python skills, and also will make you appreciate even better how much you get for free with the stdlib (not to mention __builtins__.zip is in C, so it's fast).
comment 4y ago · link · parent
Because docker container are called container for this reason. That comes from the boat container analogy.
comment 4y ago · link · parent
They also don't realize most sites use Google Analytics, meaning your activity on a site completely unrelated to google is still recorded.
They don't realize that Meta own not just Facebook, but also Instagram, WhatsApp or Oculus.
They also don't realize all sites that use "share with facebook" send date to facebook, meaning your activity on a site completely unrelated to FB is still recorded.
We know that on HN, but ask somebody in the street, they barely know what a URL is, how would they understand a monopoly?
comment 4y ago · link · parent
Given how bad those scams are for society, it's the discouraging is very important, and a strong message should be sent.
comment 4y ago · link · parent
Throwing ideas on a paper in no particular order and in a few words will exercise the least possible the part of you that expresses idea, and keep the one that generate ideas in focus. Then after you have exhausted the muse, you can start ordering them, chaining them, then putting full sentences, sections, or code blocks, functions and classes.
So the other should be, generate as many ideas as possible, then express them, structure them, put them in shape. Then generate ideas again. Then structure again. But not at the same time.
Because expressing things needs a structure, while creativity thrive without it.
comment 4y ago · link · parent
If you try iPython + a PYTHONSTARTUP script, it will be very hard to use anything else.
And ipdb is a very good example of using a debugger that fully benefit from that.
So it is entirely possible to have an exceptionnally good experience in a Python REPL, despite the significant whitespaces, but it does depend of the implementation.
comment 4y ago · link · parent
But so far I never needed to.
> And are there implementations in other languages?
That's the probably the biggest limition for myst: for now it's very new and is only implemented in Python.
I supposed it's a good opportunity to learn rust by creating a parser :)
comment 4y ago · link · parent
I'll take the opportunity to do a shameless plug for the amazing "Markedly Structured Text", or MyST, a markdown flavor that is both easy to write like markdown, and expressive like rst.
Basically, if you know markdown, you can write decent MyST already. In fact, any markdown is valid MyST and .md is a valid file extension for MyST.
Once you want more, the syntax offers richer construct, but still easy enough to use.
Check it out: https://myst-parser.readthedocs.io/en/latest/syntax/syntax.h...
I wanted to love asciidoc because the format rocks, but it never took off and the tooling is still lacking. MyST piggy back on markdown ecosystem, this is less of a problem.
Also, the devs behind it also have a very good track record at creating a good FOSS ecosystem.
comment 4y ago · link · parent
Good news though, the jupyter devs created myst (https://myst-parser.readthedocs.io/en/latest/syntax/syntax.h...), a superset of markdown that has almost all the features of rst, and can embed rst when it falls short.
And there is a plugin to use it with sphinx. It can even reside in a project that started with rst files, both format can coexist.
With this and sphinx-autoreload, writing doc is so much better.
comment 4y ago · link · parent
They did whatever they wanted, just because they wanted to, and nobody could do a thing. They could fake evidences doing so, get caught, kill thousands, spend trillions, and destroy a country with no bad consequences whatsoever.
No blue helmet peace keepers was sent at any point to block the US soldiers path.
comment 4y ago · link · parent
>>> import tkinter as tk
>>> tk.Tcl().eval('puts {hello, world}')
hello, world
''
So you could technically use TCL to query your DB if you cared.But honestly, DB queries in real life is spread on threads, but then multiple processes, then a connection pool like pg bouncer, so you will unlikely see the difference most of the time. Not to mention the DB choice, the schema, the query quality, the DB configuration, the hardware and how complicated your request are all going to be more likely to affect the speed of request.
Still, interesting. Exploiting all those CPU in Python would cost a lot of RAM given how many processes you would have to spawn.
I would love to see the comparison using asyncio on uvloop to check the CPU are really the bottleneck though.
comment 4y ago · link · parent
It's also different than multiprocesses as it will likely take less RAM.
Python is explorer multiple interpreters for these reasons. Python 3.8 SharedMemory works well, it's far from transparent.
comment 4y ago · link · parent
It will be much bigger, because:
- it can be automated. CGI still required a lot of human work.
- AI generated content requires way less skill. You had to train a lot to become good at CGI. We already see people getting Stable-Diffusion-proficient in a few hours.
- in the 90, CGI was introduced gently, through selected medias. AI content has access to the full internet right out of the box.
- producing CGI required a lot of hardware, but with SaaS, AI will be available to anybody.
- CGI was first exposed to professionals, who produced for the public. AI is already been used by hobbyists, and soon the public, directly.
- CGI was mostly about visual techs, but AI generated content can be applied to text, sound, molecules, basically any structured data.
In summary, the very nature and context in which AI generated content is taking form means the impact will be larger, stronger, and way more intense.
People are hardly capable at dealing with CGI intelligently, even after 20 years. They trust photos and videos a lot, and react strongly to them. Even when they know they are fake, like in a movie, some emotions will forge they judgement like if it were real.
AI generated content? Forget about it. People are not ready. The emotional impact it's going to have will make you feel like the cancel culture was a whisper in the wind.
I was underwhelmed by the last decade of AI dev, but 2022 is for AI what 2000 was for the dotcom revolution.
Question is, what the equivalent of domain name for AI, something cheap you can buy to sale later?