Better HN
topnewbestaskshowjobs
Log inSign up

BiteCode_dev

24,628 karma · joined Oct 21, 2019 (7y ago) · 5,512 submissions

I write to save you time and effort when dealing with Python:

https://www.bitecode.dev/

Email: contact at bitecode.dev

Submissions

comment 3y ago · link · parent

I usually can grab a few things from tone alone for a lot of languages.

But I got a new greek buddy recently, and when she talks on the phone, my ears cannot lock on anything.

Edit: completely unrelated, but I saw your username on lobster on a dead man switch thread (I use Shamir’s Secret for treasure hunts to I thought the DMS idea was cool). Do you happen to have invites? I started to write again, and wanted to post something but I don't have any account.

comment 3y ago · link · parent

True.

Ideally it should be fixed at the installer level.

I will write about this at the end of the week.

comment 3y ago · link · parent

If youtube doesn't count has great software, I don't know what does.

comment 3y ago · link · parent

I don't need to imagine anything. I can see him in action.

comment 3y ago · link · parent

The temporality of evolution is what's important here.

The washing machine has reached a tipping point, we hit diminishing returns from now on.

The AI is in the nokia phase. It's at the primitive stage of development.

comment 3y ago · link · parent

This procedure was valid 5 years ago, and all the alternatives have changed a lot in the same time period.

So if I had to chose one way for the next decade, I would bet on this.

But I will not pretend we can be sure about anything on this matter.

In fact, my hope is that we can improve the process tremendously by creating an unified way of bootstrapping Python for all OS. If this ever happens, the procedure would become mostly obsolete.

At the end of the week I will write about this, and the various experiments the community have done so far in that regard.

comment 3y ago · link · parent

You are not telling them to use pyenv, you are telling them to use a totally different tool that happen to have a similar name and provide a similar interface.

You have already lost.

comment 3y ago · link · parent

The nokia 3310 was amazing.

But compared to what we have today, it's very basic.

Same for chatgpt.

comment 3y ago · link · parent

Yes, people said that about the internet.

Turns out it's also for gaming, porn, consuming, procrastinating, relaxing and tons of other thing.

You won't decide what those things are about, your users will.

We are lucky apple never designed HTTP, it would have ended up like gemini and they would have call it revolutionary.

Someone please remake the classic https://www.youtube.com/watch?v=YRgNOyCnbqg but for VR.

ChatGPT should be able to do that in a year or two I suppose.

comment 3y ago · link · parent

This author has not visited https://civitai.com.

If you open an account, you will see the site is flooded with generated pictures from guys obsessing about the smallest details for hundred of hours.

Some users have trained models specialized in rendering vagina, boobs, or oiled body effects.

The dedications of this people and the cheer amount of work they produce for free is just going to compound into extraordinary results, like it always did in porn.

And they are having fun doing it. The models? They are called things like "better vulva" and "breast in class". The porn community is having a party right now, and after the hangover, we will be left with what they drunkenly chose as the winner.

Like they did with the VHS or flash streaming.

And it's going to generate trillions of dollars.

I can't help but note that the author is a woman, which is not the target audience of 99% of the porn, and seem to have no idea what man are capable of creating and enjoying when it's about jacking off.

Jokes on her, because the AI is probably going to be much better at emulating porn that women like than today's content, since it will be able to respond to the users.

Edit: damn, "porn" in the title and already flagged. This american puritanism is so hypocrite.

comment 3y ago · link · parent

I don't have to imagine anything since I'm already delegating part of the job I used to send to my own secretary to AI, such as:

- reading boring documents and giving me the gist of it

- classifying my emails

- checking for typos and problems in my writing

- writing the boiler plate of documents

- translating doc

- doing basic search on a topic, such as legal obligations that haven't change in the last 2 years

It's cheaper than my secretary, faster, and has roughly the same error rate for those tasks. I have to double check her work anyway.

With plugins, people are already making stuff like booking a plane, another thing my secretary does.

It will expend.

comment 3y ago · link · parent

The washing machine is one of the biggest game changer in the world, allowing people to suddenly have, like a noble used to have, the equivalent of a servant to do a tremendously costly chore. Without the slavery part.

I think AI has the same potential: filling administrative work, walking the complexity of an information overloaded world, keeping up to date with laws you can't ignore but have no way to know about, planning logistics that our modern life impose on us...

Suddenly, like the CEO of today, every one will be able to have a secretary.

Yes, that can make a huge different.

Don't think about AI as the thing we have today. GPT the nokia 3310 of AI. Amazing, but very basic.

Think that one day, somebody will come out with the iphone of AI.

comment 3y ago · link · parent

This is what he says.

Nevertheless, I can see how much effort it costs him every time I see him performs those tasks. Because I can see him pause to think of the sequence of the things he needs to do to achieve the result for some very basic stuff.

If you have to constantly think about how to use your pen instead of what you are writing about, it's a problem.

But it's an invisible problem if you are attached to your tools, you will never notice it. It's not possible, your tools are so great, they save you time, they make you more efficient, they are most comfortable.

At this stage it's part of his identity.

I can't say for you, as I don't know your particular situation.

But that's definitely the case for him and for several vim + tiling users that I know.

They spent years investing in this.

They will never say anything but good things about it.

But they wills start working on a project, and spend 30 minute fixing something before they can even start on the task. Then every single step requires planning for the basic moves.

If you look at how they work, the tools are taking a toll, inch by inch.

comment 3y ago · link · parent

Context switching burns people out and geeks don't notice how much they force themselves into too much of it.

E.G: I have a friend that went full nerd on his coding setup. Dvorak keyboard, Full Arch Linux with tiling windows manager. Everything in the terminal, all dev through vim. If it's not a religion, it's at least a lifestyle.

He is very happy with it: the keyboard is so ergonomic, he barely has to move the hand of it. Every task can be controlled out of a few key strokes

Except he didn't notice how much of a burden he put on himself.

Even for very simple tasks I see him struggling because of all the context switching.

If you have to copy/paste something from your web browser to your editor, it may require you to select with a mouse, and ctrl+c, then alt-tab a bit, click on the IDE tab and ctrl+v. Not instant, but this procedure is the same for everything, so it doesn't take much brain to do it.

For him, it's a whole guacamole, because there is a special shortcut to get to the browser, another one to get to the text, then copy/paste, then go to vim with another shortcut, select the proper buffer, paste with a yet another shortcut and make sure he uses the proper mode. Since Dvorak is a different layout than his phone keyboard or his client keyboards, the shortcuts don't perfectly rely on muscle memory.

Every simple task in his setup like that: it requires a lot of effort.

And his whole life outside of the computer is like that too, because he has very high moral standards, so he lives a constrained life in society that is optimized for a totally different life style. However he never cuts himself a slack.

Multiply that by a hundred times a day, a hundred days a year.

He burnt out.

And he has no idea why: all the reasons he gave me were external factor, blaming other people a lot.

But it was not.

He killed himself with a thousand paper cuts, chasing an ideal he theorized in his head but could not only never reached, but could not even assess the real cost on his life.

comment 3y ago · link · parent

Just bought Horizon, a game I would have never tried without the Deck, and it's been a blast.

With the click on a button, I dive deep inside a the wonderful post apocalyptic hunter-gatherer world they created, in 2 seconds, thanks to the deck flawless sleep mode.

Seamless sleep is something you could never dream on a Linux system, and here not only it works, but it gives this nice instant experience of a console, for PC gaming.

It's so sweet.

comment 3y ago · link · parent

Don't see why you are being downvoted, missing one common supported hardware has always been a big problem in the linux community, always chasing crazy combinations of drivers.

Of course if you control the hardware and software stacks, it's leads to a better experience and community can build on it.

comment 3y ago · link · parent

It certainly makes me feel like a teenager lol.

comment 3y ago · link · parent

> It's clear that we have too much grunt work

Yes, architecture, medicine and metallurgy have been improved for millenniums. Next to that, IT is a baby that can barely walk. Of course we have too much grunt work.

But also because every time we remove grunt work, the customer expectation increase, the market adapts, and now you have to use new tools that are productive enough to do what the users want with the resource they are willing to pay.

So you don't have to hand write assembly but you do have to have an app that works on 16 screens ratios. You have amazing databases ready to handle your data, but you should update the UI live.

> We continue to narrow the path to get experience as an engineer.

Like in most industries, we are starting to move from "everyone needs to be an experts" to "90% of the daily tasks really just need good technicians". That's fine. That's how it is supposed to be.

At some point only experts could duplicate your house keys. Now you have convenience key stores everywhere.

We are on the right track.

Next stop, the equivalent of residential building codes, but for public facing apps.

Because IT is so new and can be done in your garage, we thought it was special. It was not.

comment 3y ago · link · parent

You don't need to kill a chasing bear to survive, you just need to run faster than your friend.

comment 3y ago · link · parent

That would be nice for us, but it's unlikely.

Knowing the subtlelties of memory management in the 80' didn't help the Ruby coders to create RoR and run Basecamp, or the Python coders to create Django and run the Washington Post.

People jumped at ORM, CSS frameworks and JS wrappers, and won the day because they traded memory and CPU for what the user wanted.

The new generation will do the same. They will figure out how to be super productive with AI, way more than what we are. And our superpower will be useful in specialized cases, but mostly, their impacts will be small compared to the order of magnitude of speed they'll gain by using the new paradigm.

People said interpreted languages were a waste, that you had to learn SQL, that Electron was an abomination.

But the people building stuff always win, not what we think is the right way.

That's why PHP won at some point. JS won at some point.

And something super practical (but that will make us say uhh...) made by AI will win at some point.

That's also why all the open letters and ethics committees will have no impact: the short term advantage given to AI users will be such that they will take everything over by storm.

It's already happening in porn: we just gave millions of teenage boys a shiny new toy, and they are spending days and nights on it. New incredible models come out every day. Some hyper specialized. Last week, I saw a publication of a new model specially trained on only vagina called "bettervulva" and one for boobs called "breastinclass". Somebody spent hundreds of hours on those, collecting the data, annotating it, and training.

I guarantee each niche of the world is doing exactly the same. Not to mention each new model is coded with somebody who has the previous models to help with the new one, code included.

This is snowball from now on.

comment 3y ago · link · parent

That's pretty much the take of the article this one references.

The whole reason I posted this one is to justify the "just use -m pip and -m venv" stance I wrote in the article 4 days ago.

Because you will always have a very vocal minority of people that will fill the threads with counter arguments actually increasing complexity and risks of failure.

comment 3y ago · link · parent

Believe it or not, it improved tremendously in the last 10 years:

- easy_install, distutils and eggs were deprecated

- ensurepip and venv were introduced

- the whole wheel ecosystem flourished

- a new dependency resolver was introduced to python

But:

- a lot of noise has accumulated. Hence the procedure in the previous article, to avoid the traps from all that noise and go back to what usually works.

- we have a long way to go, but it's not something easily fixed (hence the conclusion of the current article explaining why it's going to take a long time to get better).

comment 3y ago · link · parent

Use the procedure described in the previous article.

It will help with exactly that.

comment 3y ago · link · parent

No, use the procedure described in the previous article.

It will be less hard than using docker.

comment 3y ago · link · parent

We used the "burn all" strategy I/O during the 2 to 3 transitions.

People were not impressed.

Hence the previous article (https://bitecode.substack.com/p/relieving-your-python-packag...) advocating to go back to the basics yourself.

See the reddit thread to witness exactly this in action:

https://www.reddit.com/r/Python/comments/124hktv/comment/je5...

comment 3y ago · link · parent

I have an article planned solely on imports.

It saddens me to say, but imports are indeed a complicated topic on Python. The PYTHONPATH is not something people know about, and once they do, it's not intuitive.

The weird handling of namespaces or relative paths doesn't help.

comment 3y ago · link · parent

Author here.

I'm late to the party but AMA :)

comment 3y ago · link · parent

In Python, Continuum is making bank with exactly that.

comment 3y ago · link · parent

It's also a cultural thing.

As a Frenchman, many Americans find my totally France compliant speech a bit rude.

On the other hand, I find their way of calling everyone a "friend" and every single nice things "amazing" extremely annoying.

But if people are adults, having a little friction is not a big deal. We don't need to appreciate all behaviors to live together.

This is something that is well understood in jobs with harsh conditions, but in our very comfy IT jobs, people seem to sweat the small stuff way more.

1
686970
184