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

Yes, it's a very modern take on a recent problem.

I used VLC, Firefox (Phoenix), LibreOffice (OOo), MSOffice, paint, photofiltre, and notepad++ when I was a teen. They still work today.

The trending app ecosystem, the social network du jour and the JS framework fever seem to have given the impression to the new generation that there is not other way to do this.

comment 3y ago · link · parent

On menial task, it's way more than 50%. For quick scripting, dirty parsing, PoC and plumping, this is about 300% for me.

However, for anything that requires me to think, it's 5% at best.

Don't take up the 50% figure as anything serious, I think it's just a way to state "if it is a such a meaningful boost in productivity".

Which it is, for a lot of tasks, because the vast majority of programming jobs are boring stuff outside of the HN bubble.

It's amazing how much of the world economy runs on csv uploaded to ftp servers.

comment 3y ago · link · parent

Funnily, if it would have been Twitter, it would have been all the rage for a week.

Because it's Apple, everybody will have forgotten and forgiven tomorrow.

comment 3y ago · link · parent

Yet, he has the courage of expressing those opinions without sarcasm, on his own public account, and later own admit to change his mind, while being a very exposed figure.

And you use a throwaway.

comment 3y ago · link · parent

Edited for clarity.

comment 3y ago · link · parent

You have to start reading about Gates before he spent millions to wash his reputation and adopted a disguise of philanthropist to buy a stairway to heaven. Anything before he left Microsoft, with the corruption scandals, the insults, the patent trolling, and so on.

It's getting harder and harder to find though. I should have saved offline compiled files.

comment 3y ago · link · parent

I find quite amazing that expressing such mild opinion as Paul Graham does can yield reactions so strong and labels so intense as "out of touch reactionary x".

I have at least half of my friends that express weirder, more dangerous opinions that are in total opposite to mine. Is that what internet is all about now? Taking every people we disagree with and dress them as Hitler so we can shit on them? It used to be were I went to actually meet people with different point of views and new things.

On hacker news, I expect people that disagree with Graham to prove him wrong with an argument.

Name calling feels more like being with my mom on facebook.

comment 3y ago · link · parent

Quite the opposite, I think it shows that what you call a red flag, they analyzed seriously before making a judgment. And now that they have more data, they change their mind about their conclusion.

It's the sane thing to do.

comment 3y ago · link · parent

There are a lot of things that happened where I could see both sides of the debate. As usual, a lot of outrage on Tweeter was more about the reflex of it than something really meaningful, the Tweeter files were underwhelming and I didn't find anything in the new Twitter that I thought was completely bonkers.

But this ban on link is, indeed, in my book, a bad move. And it will also make me reevaluate the past Tweeter drama in the light of this decision.

I always was of the opinion that eventually things would settle down and Twitter would go on its merry way.

But I'm not so sure anymore. I don't think I'll leave right now, but I'm not giving the benefit of the doubt to any of this anymore.

comment 3y ago · link · parent

And the bible, and some masses.

In fact, there is a particularly popular political ideology that lead to an attack on the white house recently in the USA if I recall.

comment 3y ago · link · parent

Damn this thread is so civil. I can't say that would have been my first guess on how it would turn out while posting the parent comment. I believes it shows that people can talk about extreme things in an intelligent matter, and that we can be better for it.

Obliterating the places where those extreme debates happen would not give us this opportunity.

comment 3y ago · link · parent

I would think that something happening all over the world would hint that globalization may be a factor.

comment 3y ago · link · parent

If you ever visited China 20 years ago and now, you may have noticed the change in openness, though.

The first time I went, I was confined to limited areas, and had to be followed by a state appointed guide for my entire trip. I couldn't kiss my girlfriend in the street, it was considered bad behavior.

Now, I can just go alone, and where I please, and demonstrations of affection are not as frown upon. Women also seem have more freedom than before.

China was always a dictatorship, but I would say it looks more free that it used to be, at least from my very limited external point of view.

Now, China is still corrupted, with massive informational control. And it also became terribly polluted, and under systematic automatic surveillance, so I'm not sure it balances out, but it's not like there is an objective scale to those things.

comment 3y ago · link · parent

I would even say that it gives a very unique opportunity to study extreme groups, the sociology of extremism, and specific extremist topics, in real time.

We used to have to refer to historical material for that.

Now we can see it unfold in a sandbox.

If you are an historian, an economist, a psychologist or a sociologist, 4chan is something that deserves a look.

comment 3y ago · link · parent

4chan being public, it's very easy to survey, even automatically.

Either the mass killing didn't really originate from it, or it did, and the authorities never acted on the very easy to find messages to prevent it.

So either we just rewrite history, linking the horror to something easy to blame, in which case the medias are not doing their job, or the authorities pretend something that is both easy to access and out of their control, in which case they are not doing their job. In all cases, somebody is either incompetent or dishonest.

But as a concerned citizen, I think having a honey pot such as 4chan should be considered a national security asset.

Of course, it's likely this has nothing to do with 4chan, and everything to do with people needing an easy answer to a complicated problem, or scapegoat.

comment 3y ago · link · parent

For some people, 4chan is one of the best places on the internet.

At a personal level, if I want to hear a point of view I never heard, or that is a blind spot for me about a specific topic, it's one place where I can find it.

If I need to find extreme arguments against my own point of view, or total opposite passionate takes on something I'm sure about, it's one place where I can find it.

It I need to be surprised, if I'm looking for deviant creativity, if I want to learn something weird and new or be taken out of my comfort zone, it's one place where I can find it.

In that sense, 4chan is, paradoxically, one of the most genuine, purest human forum experience you can get. And yes it's terrible because of this. It's insulting, full of bullshit, hosting plenty of people with dangerous ideas.

But that's also its value.

I don't want to live in a world where people can only write things I could think about, or things that would not hurt me.

comment 3y ago · link · parent

So it's not water that makes it fast, it's laser.

comment 3y ago · link · parent

Optional parenthesis and optional separators always force me to pause and parse the code instead of scanning it, because I need to establish the context of every single operation.

I'm sure Carp is interesting, but I would be so unproductive in it.

comment 3y ago · link · parent

No need to go back that far, the irak war after 9/11 was a resource hog by itself. 600 trillions if I recall ?

comment 3y ago · link · parent

In the same vein:

- Don't hide your mistakes

- Show that you are vulnerable

- Be yourself

Are all things that work best when you are (contextually) high-status.

Yet we are still culturally promoting them as the things we should all strive for in any situation.

However, it's way easier to be open about my professional mistakes now that I'm recognized by my peers and that I don't do too many of them.

It's simple to expose my vulnerabilities now that I've built a social network that will not hurt me with it because they like and respect me.

And it's certainly great to be able to be myself, now that people around me will say I'm eccentric, and not reject me.

It's like the behavior of men in romantic comedy. If you were to be ugly and awkward, doing what they do would get you arrested. You don't get to play "50 shades" or "twilight" if you are the hunchback of Notredame. It's also why energy, humour and culture are such great assets, allowing you to somewhat help with social status.

One day maybe we will stop selling to our children that life is about this one thing that works in all cases, and admit each life advice is highly contextual.

comment 3y ago · link · parent

"Skin in the game" from Taleb argues that yes, it's because the pilot is in plane that the plane is safer. Because the pilot will pay the same price as the passengers for a mistake, it will increase the likelihood of success.

comment 3y ago · link · parent

I hope this is true, but since their entire stack is proprietary, we have no way to know if there is not a backdoor to get the key from you.

Since Apple was part of the PRISM program, I'm going to assume there is at least one for the 3 letters agency, which mean it's available for Apple, who designed it, as well.

But it does mean that they can mass scan easily the data, and have to target people personnally, which is already a huge improvement, and cover most people threat model.

comment 3y ago · link · parent

True, but I don't look at India as a success.

I really don't want Europe to look like India in any way, administratively, politically and logistically speaking. Not to mention the countless tensions you can feel accross the country when you travel there. It seems like a ticking social bomb when I go there, and we don't have the class system to shut up lower classes and women that keeps the uniquality stable.

comment 3y ago · link · parent

Indeed, if you think Alabama and California are different, wait until you compare Italia and Norway.

Not to mention the economic power difference is huge.

comment 3y ago · link · parent

For the same reason, the ROI on vertical scaling is very good, and buying a bigger server is a lot of the time a very cheap and good way of solving a problem.

comment 3y ago · link · parent

I only know how to specify the questions because I know they are sources of problems since I can install an entire setup project from scratch on the top of my head.

Most can't though, and they won't ask specific questions.

But with time, GPT will likely be able to ask questions to get the context, and that will change everything.

comment 3y ago · link · parent

The nixos people are truly the Jehovah Witness of software.

comment 3y ago · link · parent

Because nobody wants to do the long, ingrate, tedious work of cleaning 30 years of legacy ecosystem.

comment 3y ago · link · parent

This has a failure mode in each single line, even if we ignore it will not work on any OS that is not debian-like, which is most of them.

First line, you don't chose which Python you install, only the 3, so you don't know if the libs you need will be available, which syntax you can use and which stdlib is at your disposable.

Then, you use venv which may not be available because the first line you used doesn't install all python packages and in some debian/ubuntu versions they don't include venv, setuptools or pip in the python3 package.

Then you pip install packages, which may fail if this has a c extensions which is not a wheel (E.G: you do machine learning), because you didn't get the python headers in the previous commands.

Then you install command lines with apt-get, meaning your tool version may not be upgraded to match the python you used. For pylint and mypy, this means it at beast false positives, at worst crashes

Of course, none of that explains how to setup your IDE to use said virtual, setup things like databases, init the git repo or put good default in config files.

Don't get me wrong, it's a good start, and not worse than most tutorials I read online written by human.

I don't doubt that it will get better over time though, and I can't wait. Bootstrapping is a plague to teach people.

1
777879
184