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 5y ago · link · parent

Exactly, when the article used their example of bug found in production, I knew what would happen before the reveal, because it's what always happen.

Damn it, you got a language with namespaces, why do you think that is ?

comment 5y ago · link · parent

Yes, that's what I had in mind, and I suspect it's already going on to some extend with votes and follow ups, which is easier than content generation, until the later becomes so good you can let it roll free.

comment 5y ago · link · parent

>Something weird happened over the past decade.

PR happened. The big players have figured out that if they want to keep misbehaving to make money, they needed people to not fight them. To do so, one amazing tool is to make sure the entire way to speak about the topic is controlled by them.

Internet gave us the ability to share more, and we though it would allow us to defend our self better, to make people more aware. But we didn't predict that an entire industry would specialize into creating submarine communication that pretend to be an organic one of such quality that the average human can't tell the difference.

With old school com and ads, you at least knew somebody was trying to sell you crap. Now, you are nicely having a chat in what you think is a community of peers, while being exposed to commercial and political influence that have been crafted to reach you here without raising your BS radar.

And with AI, it's going to get worse.

comment 5y ago · link · parent

I'm suspecting that PR firms have understood for some times now how influential those social networks were to reach people that traditional in-your-face propaganda works ineffectively on. If you want to touch the heart of geeks, artists, activits and passionate people, you need to do it in a format that they will accept, and because they are very active on the world, those are important targets.

For things like HN or imgur, I assume there is a way to pay them to get the com you want in a way that appears to be organic. That's the best way to make money for those kind of sites after all. Want to make a billionaire a hero? Suddenly, comments everywhere say how much the guy is great, links to articles of his achievements raise to the top and critics are down voted, or/ and counter answered elaborately by what has all the signs of a long time user account. Want to sell a new movie or a political program? How about some "fan-made" memes or technical article that everybody seems to love?

Even better for those firms, why pay if you can avoid it? In reddit, work patiently to have a lot of accounts that are mods in topics you care about, and you basically own the system for free. Even better, now others will pay you to do com targeting those communities.

In that sense, I think facebook and twitter are at least more honest about how they influence society because they are explicit about their paid communication offers.

comment 5y ago · link · parent

Users are on average incompetent, not dumb.

It's a dauntins realisation that sinks in once you have to do support for a web site or app catering to the general population instead of a niche.

They don't read, don't know the diff between an app and a web site, don't know right click or drag and drop, think google or chrome is the internet and overall their startegy to solve any problem is as follow:

- look for something obvious that seems like the answer but is not scary

- click

- wait for it

- repeat 3 times until ok or give up and call someone or get angry or both

Working on a streaming video site really opened my eyes on this one. Most tickets we received were insults, some were incomprehensible garbage, a few were actionable request from someone not understanding anything about their computer.

This is nothing like your github ticket. Your parent number are being generous IMO.

comment 5y ago · link · parent

Given the average user don't know what a url is and a pedophile can use the darknet, I'd say criminals are not all dumb.

comment 5y ago · link · parent

Using sqla as a base is such a sane decision. It leverage a rock solid layers with async support and a battle tested ecosystem while offering a versatile query builder when you need to opt out of the ORM paradigme.

I have a huge respect for your work.

comment 5y ago · link · parent

Django, doit, tailwind, vuejs with vite, postgres, redis, poetry, git and ubuntu.

I've tried many alternatives but every time things are just slower to dev.

This stack has a great balance between integration and flexibility. The only things that matches the django ecosystem is the rail/symfony ones, but ruby and php outside the web are limited. Js has diversity but integration is seriously lacking. Anything else is too low level which is not a good cost/benefit ratio for me.

Vite, vue and tailwind makes front dev fun again, postgres and redis can deal with everything without tuning up to millions of users and ubuntu and git are just easier to find tutorials for.

The impact is huge as I can actually focus on my value proposition for my client. They can ask me to add a cms, a weird service auth or some messed up ftp pdf generation workflow and I can leverage existing libs 80% of the way, with just enough custom to charge premium.

I end up twice faster, 3 times cheapers than my competition and yet my hour billing is very good and my stress at sea level.

comment 5y ago · link · parent

Just like the 1984 party so the article is spot on.

comment 5y ago · link · parent

Your comment shows that it works, exactly like the article says it does.

comment 5y ago · link · parent

He denies he ever said it, there is a difference.

We are talking about somebody who's company has been guilty of corrupting, lying, insulting, patent trolling, vendor locking, user spying, monopoly abusing, etc.

Yet after years of PR, he is now regarded as a hero.

So it's not unreasonable to think maybe he said it and later decided to rewrite history.

comment 5y ago · link · parent

jupyter does allow to produce presentations, and I used it with great success at conferences where a mix of slideshow and interactive programming suits the format perfectly.

But honestly it's only a tiny small part of what it's for.

jupyter is mostly about explorating ideas, code and data. It gives you a comfortable env to quickly try something out. Sharing it with other is just the cherry on the cake, not the main goal. I mostly never share my notebooks, but I will fire one as soon as I want to try a new library, or need to extract data from a file.

comment 5y ago · link · parent

Somebody with codepilot to check it out?

comment 5y ago · link · parent

An online service causes other problems. Baston can run locally.

comment 5y ago · link · parent

Such a wonderful tool, but hardly accessible to beginners.

First, you have to install it, which if you don't use anaconda is going to be full of the usual gotchas.

Then you need to launch it, which because "-m" is broken on jupyter for windows, means people will have an extra hard time.

And then, once everything works, new commers still have to understand they need to create a notebook before entering any python code, find it back in their weird FS browser implementation and get how to execute and create cells.

Not a problems for any dev, but in class, it can quickly become a burden. Thanks to pyiodine, you can now use jupyter directly in the browser with no install at all:

https://notebook.basthon.fr/

Even using sqlite works :)

This is going to open so many doors for education.

I still think there is a room for a python scratchpad tool that would:

- be provided with a standard installer (exe, deb, .app) as well as with pip

- start with a fully operational shell (no need to create a file) but you can save it later

- show big buttons for common notebook operations near each cell such as "run", "add", "run and add", "delete", "duplicate" and "move"

- gui to deal install packages (and deal with venv when you decide to)

- use the currently activated virtualenv automatically

comment 5y ago · link · parent

Oh, it has a FUSE compat layer too, that's pretty damn cool.

comment 5y ago · link · parent

Love the idea but you'll have to be careful about not putting too big files on it I suppose ?

comment 5y ago · link · parent

SQLA automatically creates prepared statements and cache them: https://docs.sqlalchemy.org/en/14/dialects/postgresql.html#p...

I get that Facata is a smaller dependency chain. I'm also curioujs about the performance side, what areas is Facata more performant in, and how was it measure?

comment 5y ago · link · parent

What's the benefit over using SQL alchemy connection pool and passing it raw sql ?

comment 5y ago · link · parent

"That will never work" is probably what has been said the most about Musk projects.

comment 5y ago · link · parent

My all time favorite: "you'll understand when you will be X"

At the beginning, I really took it at face value, and patiently waited until I was X. Older. In a relationship. Having my own business.

I was very naive, I though people shared experience and knew something about life. Every time I ended up being disappointed when reaching the point X actually prove the other side was full of crap.

I didn't understand that it was only a way to stop the conversation. It had nothing to do with logic, it's a matter of saving face, getting out of a boring interaction, or about power.

A lot of human interactions are like that: if you think people means what they say, you are misunderstanding the communication. I used to take so many things literally, I though people chose their words for their dictionary sense. Turns out only a small part of communication is actually about the literal sense of words, like technical documentation or giving direction to reach the bakery, which I'm good at.

It's also a fact that is obvious to most humans, although they are mostly oblivious to their own fluency, since it's as transparent as walking to them. People on the autistic spectrum, however, need to figure it out.

But don't worry, you'll understand it all when you will be Z.

comment 5y ago · link · parent

We have the issue with 0bin.net burn after reading, so we give a grace period to the link after creation. It works decently, but I'm thinking of just displaying a page with a decrypt button on those, so that you need a post request to actually read the content and trigger the delete.

comment 5y ago · link · parent

When I was young I didn't cally myself a dev so that people would view me as more.

Now that I have enought, I do call myself a dev so that it filters annoying interractions.

comment 5y ago · link · parent

Not life changing, but the last blog post that made me think and had a lasting impressions on me was "the animal is tired" from the awesome robin hobb:

https://news.ycombinator.com/item?id=27100299

comment 5y ago · link · parent

It matters for protocols and data formats.

comment 5y ago · link · parent

Well sir, you would be my ideal colleague.

comment 5y ago · link · parent

Appart from not having a linux client.

comment 5y ago · link · parent

Even if it worked, it would be trading too much.

We already accepted destroying conviviality, limiting freedom of movement and taking a vaccine that has been fast tracked. At this point, I think I've done my part in concessions, especially in regards to following the directives of people and groups that have shown not to be trusted multiple times in the past and have been spreading so many contradictory messages in the last 2 years.

So no, officially accepting global tracking, in addition to the secret and scandalous one, is a no-go.

comment 5y ago · link · parent

Idle

comment 5y ago · link · parent

The US went to war against the entire UN vote and suffered no consequence whatsoever, who is going to hold them responsible for breaking the rules of engagement ?
1
131132133
184