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

So, create my start up in australia? Got it!

comment 5y ago · link · parent

We know.

But geek profiles and marketing profiles have often huge differences in life styles, ethics, rhythm, objectives, etc.

It was visible at university, it's still is in social life and work life.

Diversity enrich your life up to a point, after which cost/ratio plummet. I rarely see those profiles going along and having fun sharing time together. It's not impossible, but it's not common, so you won't get a lot of co-founders that will match, or that did, but will last.

It's not that geek are completely oblivious to their shortcoming.

comment 5y ago · link · parent

Sometimes slow is a feature. For once it's a quality filter. Chats are 1% signal, 99% noise.

Zulip is a better than most chat for that, because you commit to a topic, which adds order and caring.

But it's still fast, so it's tempting to writz anything you thinl about.

When I'm on my phone I stop commenting on HN midway quite often because the effort is not worth it. On a computer, it's too easy to type.

comment 5y ago · link · parent

There are monks that would say that with some practice, you would realize it's not. And they call that direct experience too.

Something you can't measure objectively cannot be so easily hand waved.

comment 5y ago · link · parent

I recall Google, Microsoft, Apple and Amazon to have lied a ton.

comment 5y ago · link · parent

Carefull though, pex doesn't work on windows

comment 5y ago · link · parent

pip install --target to download your deps then use shiv

comment 5y ago · link · parent

Only tangential, but it's a very little know fact that python can import and even run code from a zip archive. There is actually a module for that in the stdlib: zipapp.

This means that you can zip your entire project, including deps, into a pyz file, and ship that to your serveur as one big archive and run it like you would a .py file. It makes deployments very easy.

It also means you don't have to worry about using dependancies in quick scripts: use as many as you want and bundle them!

A tool exists to create the bundle easily and make it extract itself on first run for better perfs:

https://shiv.readthedocs.io

Is that instead of the zipapp module.

comment 5y ago · link · parent

Not the implication is that wordpress is mostly a no code platform, so it would be interesting to have numbers for languages when people need to produce custom code.

comment 5y ago · link · parent

Agreed, in fact modern SPA stacks are incredibly inefficient.

And the corporate world move slowly.

And dev cost money. Most websites don't need more, they were fine 10 years ago and still are.

Although I'm not sure we have the whole story. I'm assuming we get high stats because of wordpress, which is not a good indicator of language popularity, but rather of platform popularity.

comment 5y ago · link · parent

I don't say otherwise, but there is a difference between using a platform and using a language directly.

comment 5y ago · link · parent

Yes, I don't say it's wrong, I'm just curious.

comment 5y ago · link · parent

Framework != CMS

Most wordpress freelancers don't code, they configure or install plugins. Somebody using rail, django or laravel is going to code.

comment 5y ago · link · parent

Because using a cms doesn't mean people chose a dev stack but rather a platform. The conclusion is not the same. E.g: most wordpress freelancers do not code.

comment 5y ago · link · parent

I wonder if this is because the report includes wordpress web sites.

comment 5y ago · link · parent

I still don't know what GNOME target audience is. I have yet to find a gnome shell user that doesn't use tons of plugins.

It's like the GNOME dev never actually puts mockups in the hand of real users before starting to code.

comment 5y ago · link · parent

The best way is to hire a front end designer that has done the learning for you.

comment 5y ago · link · parent

Yes but we are talking about putting them in code symbols in the first place.

comment 5y ago · link · parent

In that case I'll make an exception, but this is actually very rare. I can see a clear correlation between terrible english and terrible code.

comment 5y ago · link · parent

Easy doesn't mean productive. My guess is that you take 2 to 3 times longer to time such sentence.

comment 5y ago · link · parent

I know a lot of devs that don't even type with 5 fingers, you are apparently well trained with your keyboard and you take a X3 hit.

comment 5y ago · link · parent

That's a recipe for combinatorial explosion: each language has special chars or even are just made if glyphs, are you going to learn them all? Do you want to impose the burden for all devs in the world?

And now your typing is not at all fluid, even if you didn't have to stop and thing about every single special characters (which most people do), you will have to enter a combination to get them every time completion can't help.

In fact, even with an AZERTY keyboard, typing French, my native language, is slower than english.

Instead of having one simple common ground, you also now have an infinite number of variations to care about.

Not to mention having to understand a lib in spanish, an another one in russian and a last one in Hindi or arab.

comment 5y ago · link · parent

The kind of code you talk about are usually internal only. People don't write libs, framework or main stream language in those situation.

In that case, then it's ok to bite the bullet, to avoid the worst case scenario. But you are already in a bad place to start with. Because if you put in prod some code by somebody who can't write english properly, then it means your team doesn't have access to most information resources in the world.

So your problem here is damage control, hardly a situation to generalize from.

comment 5y ago · link · parent

> It wouldn't be bad at all if programming languages were localizable.

It wouldn't be bad indeed, it would be terrible.

I wouldn't be against some IDE add-ons allowing you to see the keywords in your language if you wish, but the underlying names should stay in english. And the function names as well. Otherwise:

- you duplicate the documentation effort, which is already a burden;

- you make googling things extra hard

- people will use their language features, which means non ascii chars. Good luck typing "La leçon du père noël à l'école de la forêt" with something else than my french keyboard.

- IT is nothing but thousands of conventions glued together. And names are a hell of a shortcut to describe conventions. Break that and you destroy trust, reliability and productivity.

- you split the community. FOSS works so well because we can collaborate so well: we have one rosetta stone that lets us do so. Is has a basic alphabet, few rules, and is quite easy to learn.

I'm a french Python dev, and Python 3 does allow you to write variables names with french accents. I would never do that, and really hope nobody ever does.

comment 5y ago · link · parent

How does it manage to stay up to date? It's crucial for youtubedl which breaks regularly because youtube changed something and you now need the latest version.

comment 5y ago · link · parent

They will sell you thief protection, alarm if chidren or pets move to certain places, rbnb tooling and so on.

And now that we all have micrphones and gps in our pockets, we will also accept 3d live mapping of our lives.

Because "we have nothing to hide"

comment 5y ago · link · parent

Not to mention messages are almost impossible to google.

In fact, I used to play all my games in english for the same reason: items, places, starts... When you want to know more, the only good wikis and tutorials are in english.

I used to write a blog in french, it became super popular. Yet, it's a shadow of what you can achieve woth an english audience.

comment 5y ago · link · parent

Thank you.

> The key difference is that we don’t actually invoke the code with concrete values, but rather treat it like a set of constraints that should always be satisfied

How does that work with a dynamic language such as Python?

comment 5y ago · link · parent

> We've currently got proof of concept implementations for Lisp and Python

So what would be the benefit over something like http://hypothesis.readthedocs.io ?

From the look of it (the mention of "free" on the website), you have some monetization in mind. What form would that take?

comment 5y ago · link · parent

Bio tech is fascinating those days. The anti-aging community, the athletes and the nutrition crowd are so enthusiastic it created a wave of funding and activity. Of course, quantity doesn't mean quality, but you can find some real gems. And now with covid, it's exploding in popularity.
1
126127128
184