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

2 years behind in terms of timeline, but what factor in terms of productivity and quality of life?

Not to mention openai's lead compounds, so 2 years now and 4 years in 2025 may be 10 times the original prod/qol gain.

comment 3y ago · link · parent

Worked well for me. I use the excellent stremio extensively and it shows.

In fact, I pay for netflix, and I use stremio to watch netflix shows because netflix UI sucks so much.

Tells you something about pirating and convenience, hey?

comment 3y ago · link · parent

Got a few invites, DM me on twitter, substack or masto if you want them (listing on https://bitecode.dev)

1354.

What's up Python? iOS support, ruff gets black, flask 3.0(bitecode.dev ↗)

3 points · by BiteCode_dev · 3y ago · discuss

comment 3y ago · link · parent

Also they don't have to die.

comment 3y ago · link · parent

One is online only (the one I use the most), the other one is a completely different bank with very different objectives and clients plus physical offices everywhere.

Each account can send money to the other via wiring, but that's it.

Saved my ass several times already when I lost my credit cards or other unpleasant situations.

comment 3y ago · link · parent

That's why I have 2 bank accounts.

It happened to me once in Africa, and I said "never again".

I now have a backup plan for everything that is critical for my life.

I have several modes of transportation, several clients, 2 computers, 2 sources of internet, several ways of contacting my family, etc.

System always fail.

comment 3y ago · link · parent

If the AI is accessible to the rest of the world, it's not a problem: the model can query its knowledge and answer in any language since it already is very good at translating things.

The problem is rather than, given the economic war between the US and China, the chip ban, the taiwan issues and the GFC, we may not have access to this.

comment 3y ago · link · parent

+1

And I mind that paying forces me to give my credit card to a companies that have proven to work against me.

I mind that google will take over my entire phone if I connect to any service with a google account because I paid for it and not just login to that single service.

I mind that it will collect all that data if I don't have an adblocker anyway, just not show me ad, and then give it to gov entities (see PRISM).

What I don't mind is paying. I pay for spotify, for neflix, for dynalist, for kagi, for chatgpt, for codepilot, for github...

But I do mind that many people like you on HN accuses us of being dishonest.

comment 3y ago · link · parent

Now imagine nuitka and gcc bundled as a standalone cross plateform binary so you can basically compile a cross plaform python exe from any script.

comment 3y ago · link · parent

If google could just take our money and give us videos in exchange yes.

But unfortunately, they still suck all your data and sell it to third parties.

It's even worse if you pay, because if you sign in into your youtube account on the offical app, your entire phone is now linked to your a account even if you didn't link it before, with all the data in it. If you are not careful, your entire agenda and calendar immediatly exfiltrate.

Plus google gets your credit card, which means it will now link orders and data from other services using the same card number with its partners and get even more data.

After paying of course, you still can get your accounts locked out for obscure reasons with no appeal, and despite being a customer, have zero service support.

Google is not a respectful company.

And given what we know about the PRISM program, centralizing all this data in there is not good for democracy either.

comment 3y ago · link · parent

I would say, yes, in this case if you count your html for the button + the ajax request you would need to do to notify the server HTMX is shorter.

But, let's talk about the confirm. For a simple one, you would use hx-confirm and be done.

However, for a more complex confirm, you would make a delete request that would answer HTML.

The HTML would be showing the confirmation with the data calculated from the server (124 rides this year).

The response doesn't have to be a button, the server can answer a modal or a new subpage, which would contain a hx-delete with a "userconfirm=1" in qs and a cancel button to go back.

You don't have to limit yourself to replace the current element with the response, and the response is not limited to basic workflow.

Also HTMX is mostly about using hypermedia to communicate and favor the server to manage the state, but there is nothing saying you can't use JS.

You can even be naughty and have new HTML responses inject new JS in the page.

comment 3y ago · link · parent

Something like this:

    <button
        hx-delete="/car/{{car['id']}}"
        hx-swap="delete"
        hx-target="closest .carcontainer"
    >Delete this car</button>

When you come to HTMX, it's normal to wonder about those kind of things, especially if you have being learning web dev post JSON era.

If this is your case, I'm writing a series of 5 tutorials on HTMX with this in mind:

https://www.bitecode.dev/p/a-little-taste-of-htmx-part-1

comment 3y ago · link · parent

I would love that. Makes more money for us since we can now build competitive service more easily.

comment 3y ago · link · parent

Our bodies believe that sugar is amazing. It's dense energy that is very fast to absorb and use. So they are built around seeking for it and indulge in it.

It worked because things that used to contain sugar were rare and not loaded with it.

Our smart species then went for concentrating the stuff we love so much, and make it easy to get.

And today, it's a problem for us.

It's the same thing with netflix, dating apps, porn, etc.

There is nothing wrong with a little sugar to make your life sweater.

But sugar alone is not going to sustain you. And too much will be very bad for you.

We have have been very good are removing the effort at getting a lot of it. But we are not good are taking just what we should now that we have it. And even worse at getting the rest as well.

Also it turns out the effort of getting it was not awesome, but came with some benefits we have now to artificially put back in our life. And we are not doing so with enthusiasm.

comment 3y ago · link · parent

That's a "Behold a man" kinda problem, isn't it?

comment 3y ago · link · parent

It's certainly more efficient for the end goal of getting to a date, in a the way food delivery is an efficient way of addressing your hunger.

I approve both.

But I would not recommend eating food delivery every day.

comment 3y ago · link · parent

That's what I meant about human being biased to that attitude.

We technically have a choice, but practically, our biology and social context make one path very attractive.

comment 3y ago · link · parent

It's one of the rare instance where biology, sociology, philosophy and religion kinda agree.

You can share your own opinion as usual, but it's going to be a hard sale.

It's not about forcing the idea on you, rather it's reporting what a lot of humanity have found to be true on the long run.

comment 3y ago · link · parent

You are confusing one instance with a general behavior.

Chatting is fine.

Getting most of your meaningful social interactions out of chatting is, however, a good way to feel depressed.

Very few people are actually wired to never be touched, to never smell humans, to not be part of group dynamic.

Even introverts, which pay a great price for IRL social interactions, also pay a price for not having them enough.

comment 3y ago · link · parent

Not, it's not about the nature of pleasure.

Netflix in itself is not a problem.

Filling your life with it is.

Which is easy to do because it's intense dopamine effects for little effort.

comment 3y ago · link · parent

Obvious doesn't exist. Everything is learned.

Obvious just means "given our context, we don't expect to require much complex thinking to get to that conclusion".

It's just another convention.

Given our context of most of us having eyes and color receptors calibrated in a similar fashion, I expect most people will see the sky blue. Of course if you dig deeper, it opens the discussions to nuances.

It's the same here.

Nothing wrong with that.

comment 3y ago · link · parent

I think the better take is not to focus on the apps, but on the phenomenon of using apps for that.

You don't get out. You don't socialize. You don't take risks. You don't exchange much.

But it's easy, and it provides an alternative paths for timid people, and increase your range and reach.

comment 3y ago · link · parent

That's a very poignant analogy. Especially since we all looked down on bugs for being so stupid to die burnt on a lamp.

comment 3y ago · link · parent

The sky is obviously blue, but there are a lot of shades of blue in it. And clouds. And it changes at night and during sunset. Etc.

comment 3y ago · link · parent

Meeting with very specific expectations, I might add.

My gay friends using grinder don't expect it to be full-filling, they expect it to be pleasurable.

Pleasure is nice, but it doesn't sustain happiness.

And intense pleasures that are easy to have regularly mess up with your dopamine system.

It's fine if you only have one part of your life like this. The rest balance it out. And we all need fun.

E.G: one of my friends is deeply involved in teaching kids, another one is a very dedicated doctor, and so forth.

In that case it's healthy.

comment 3y ago · link · parent

I wish it were true, but no.

Unless you are Jesus or Buddha, there are things that will very likely make you unhappy.

e.g: eating a lot of crappy food and spending a lot of time watching tv shows are one of them. It diminishes your health, put your dopamine system in shamble and bring no meaning in your life. It's very rare people are happy in those conditions.

Again there is nothing wrong about enjoying those activities and indulging in them. The point is it's unlikely you can fill your life with it and end up satisfied.

comment 3y ago · link · parent

True. Hence the "usually".

I put very little effort in my sleep and have a very good one.

Some things are just good and cheap. It's nice.

Unfortunately, that never characterized heterosexual courting, eating healthy food while working full time or finding meaning in your life. Most people struggle with those.

Also note reporting satisfaction with something can just validate the pleasure it brings to you. I'm personally satisfied with Netflix.

But you can't fill your life with such things and expect happiness.

comment 3y ago · link · parent

It's not just the dating apps.

Things that require low effort are usually low quality.

There is nothing wrong with deciding some part of your life will be filled with low quality things. We can't make efforts on every single parts of our life.

But if you do this for entertainment, and dating, and food, and the rest, your life is filled with bland yogurt.

Netflix is no substitution for a hobby. Ready-made meals are no substitution from cooking vegetables. Chats are no substitution for IRL human interactions.

It's crazy we even have to say it, it should be obvious.

I guess it shows how much humans are biased toward quick rewards. It's very hard to say no in a world of abundance of those.

comment 3y ago · link · parent

The fact I can't tell if this is a parody or a serious project says a lot about the state of the internet today.
1
454647
184