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

I note that all those ecstatic quotes are from executives.

Because the way I remember it, technical people hated it with a passion, from its design to its implementation.

In fact, the most popular JS projects have always been to avoid writing ES5, its DOM API, or depending of one of its implementation:

- scriptaculous: we hate even the basic types, so we monkey patch our own code into it.

- jquery: don't use any of the language paradigms and use ones from Lisp and Haskell. Avoid "this". Don't touch the DOM. In fact, don't code, just make a few calls and pass parameters. And we rewrite the whole damn browser API to avoid incompatibilities.

- GWT: write JS from Java.

- underscore and co: let's rewrite typeof, the equality sign and array manipulation methods. And provide an stdib for god sake.

- coffeescript: we like Python and ruby but must do JS.

- React: HTML in JS now please. And magic DOM. Oh, and prototyping is horrible, lets use classes. And we strongly advice immutability, but do what you please...

- webpack and babel: ES6 and 7 are not here yet, but ES5 is so bad we will setup an entire ecosystem dedicated to make believe they are. Also pretend import works like in other languages.

- typescript: ok, we were wrong, ES7 is not enough. Not nearly enough. Please make intellisense works.

Now, in 2020, JS is finally not so horrible to work with. You can use map(), () => and "..." and fake namespaces. Which is amazing to access the crazy cool plateforms that the modern browsers and the web are.

So I guess, in a way, this quote from the AOL guy was true.

comment 6y ago · link · parent

English is usually shorter than other latin-based languages. It's longer than ideogram based ones but you don't have to learn 100000 symbols to express yourself in it.

It also has a very simple grammar compared to most languages. Take this sentence:

"I would like not to go to school today"

The french equivalent would be:

"Je voudrais ne pas aller à l'école aujourd'hui."

"would like" is a simple combination of two words, but in french you need to know the precise conjugation of it.

"not" is actually expressed as 2 words with "ne pas", which can be positioned in several ways.

Infinitive, like with "to go", is simple in english: just add "to". In french, each verb is different, like "aller".

Then you got "the" in any circumstances in english, but the "l'", could also be "le, la, or les" depending of the word after it. A;so remember that each word is either feminine or masculine in french, even a stone or the sun.

Then "à" and "école" got an accent. French has many of them, you need to know the right one, where to place it, how to pronunciation it and type it on the keyboard.

Finally, "today" vs "aujourd'hui". I know which one is easier to type in a bug report.

Not to say English doesn't have weird traps, but it's very, very relaxing compared to the rest. And much more efficient.

Also describing a view of the country side with it feels a bit limiting. But I'm not Shakespear :)

comment 6y ago · link · parent

> It would be nice for English to no longer be practically required for people to become computer literate.

French here. We are terrible at english in my country.

Still, the fact most information in computing is shared in english is a god send. Sure, you have to learn it, but then:

- no need to search for it in so many languages

- no need to produce translations of tutorials/docs/comments in so many languages

- the community to share and communicated with is huge and diverse

- english is way more efficient than french, spanish, german or chinese to talk about technical stuff

comment 6y ago · link · parent

I hate medium myself, but before going that route it is important to recognize the success of it and ponder why.

- why so many tech users use medium to write tech articles and not ghost, wix, tumblr or a wordpress provider?

- why so many people post links to article from medium?

Unless we answers those questions and provide an alternative can we destroy it, otherwise people will just keep doing that.

comment 6y ago · link · parent

A joke is not meant to be accurate. This one is funnier if you only change one word of the original quote, even if the resulting one is wrong.

comment 6y ago · link · parent

If.

comment 6y ago · link · parent

Indeed, this is an opinion based on observations I made, not a scientific claim.

And as you noted, I designed it specifically so that my comment would not be inundated with answers from the accounts of PR firms paid to say MS is great.

You can now state that those could be real accounts, and that MS is really a great company and that it's just being defended by people that like it for real and I have no proof of what I advance.

And I have no way to contradict you.

comment 6y ago · link · parent

A acquaintance of mine recently told me he was going to start his own rock climbing clothes brand.

Naively, I though he was trying to make well designed clothes for rock climbers. As a geek, I though he was trying to solve a problem.

No. He just bought Chinese low quality t-shirts, and sticked logos on that and spent all his energy developing the brand itself: communication, aesthetic, mentality, target, etc.

I couldn't see the value of doing such thing, since we have enough of this crap. But it worked: friends around me started to wear the damn thing.

It makes me so uneasy, but it's a good lesson on how humans work.

comment 6y ago · link · parent

I'm not saying brands are not an indicator. Indeed, if I'm going to buy a USB-C cable, I'm going to use it as a filter.

I'm saying brand loyalty has lost its power now.

Sony is a good example. You say it's a reputable brand, yet sometimes they just lose it do something absolutely terrible. The first one that comes to mind is infecting willingly their customers with a rootkit in 2005 (https://en.wikipedia.org/wiki/Sony_BMG_copy_protection_rootk...), but it's just because I don't follow up on those things as much. I'm sure there are ones in the last 5 years, although with PR firms doing their job as well as they do now, a quick google search will seldom return anything.

Companies don't have a customer first mentality anymore.

Loyalty doesn't mean anything for them, and so you being loyal to them makes no sense.

And it does mean a more complicated world, because you constantly have to reassess where to buy from.

comment 6y ago · link · parent

Sure, but most people do. And it's a social convention that we do. If you know the social convention and you still choose to break it, you are willingly being aggressive.

Now breaking social convention and being aggressive has its use. But it's only fair to be called out.

comment 6y ago · link · parent

Unfortunate, brand loyalty doesn't mean anything anymore:

- a lot of companies don't manufacture the product themself

- they don't even manufacture two products from the same subcontractor

- sometime, the same product, between two batches, is not produce by the same sub-contractor

- big players just don't care. Cisco is not going to lose business because you chose to not buy, and most people won't follow you to allow the boycott to have enough wait

- PR firms are so powerful now they can make any brand great again. See Microsoft. I guaranty there will be people that will want to answer this comment stating how they really are a good firm now. And cite great things they do. Yet I bet in 10 years, we will learn about some other horrible things they did. Again. It's been like that for decades. PR works extremely well now, people genuinely live the feeling they've been lead to by those amazing consent manufacturer.

- a brand is dead ? Don't worry, it will be renamed into another one. Or subcontract for another one. You will buy its product again, you will just don't know you do.

comment 6y ago · link · parent

If I insult your mom, I don't insult you, yet you feel insulted.

Same with things you spent a lot of time building.

Now if OP would have said "use case X in Go is absolutely garbage because of Z", it would have been better received. But he didn't.

Because, you see, insulting, insulting anything really, is removing space for debating, sharing ideas and advancing arguments. It's the same reason this site asks for not posting things like "+1", "first" or memes.

And it's why, being carried away by the definitive and aggressive generalization of "Go is garbage", OP closed the door for a proper discussion. The opposite of the goal of Hacker News.

Some medium are a fine place for this, mind you. I enjoy being trolled on IRC, for once, being a child of the eighties. Imgur makes for fun memes. 4chan is great to make fun of pretty much everything. And twitter is big enough that you can find an audience to bash any kind of programing language for therapeutic reason. I did that with JS for some years. Very relaxing.

But HN is definitely not the place for this.

comment 6y ago · link · parent

Not a fan of go myself, but stating "Go is absolute garbage" is the wrong tone to use on HN.

Criticize as much as you want, but stay civil.

comment 6y ago · link · parent

I'd like your thoughts on this comment: https://news.ycombinator.com/item?id=22394730

comment 6y ago · link · parent

There are many ways to pay for things.

comment 6y ago · link · parent

A.K.A: "They have paid, but not us" or "The other ones pay better"

comment 6y ago · link · parent

On the other hand, making killing a target easier to do gives you the incentive to do just this instead of trying to find an alternative solution.

Case in point: currently the country with the best army in the world is also the one going the most at war.

comment 6y ago · link · parent

I'm pretty sure that if a dog could read this, it would say "well... yeah, you didn't know that, guys ?".

comment 6y ago · link · parent

Wow, ublock origin blocks 42 trackers on this one page, and if it does, you can't read the article.

comment 6y ago · link · parent

Can somebody explain to me how is this more of a privacy concern than the rest of the url, often containing the title sluf, date, id, tags and/or filter parameter of the page ?

comment 6y ago · link · parent

Currently reading snowden book, "Permanent record". At one point he says that private companies do a huge amount of work for the NSA & Co, and have ridiculous level of access to vast arrays of personal data, which they proceed to give to their employees or subcontractors for processing.

I expect FAANGS to do the same.

comment 6y ago · link · parent

I know right. It looks so nice. I want to pet it.

But it's a trap.

comment 6y ago · link · parent

A scripting language is not a goal in itself (although in the case of a DSL, it often is unfortunately because of the coolness factor), solving a problem is.

Here the problems it tries to solve are:

1 - to have a nicer API to do automation

2 - for non tech saavy users to be able to create tests

My take on this is that DSL are a wrong answer to this.

1 can be solved with a better lib, with a better API, or a dedicated env.

2 is probably not solvable: automatic testing it hard, you need to be tech saavy to do it.

But let's say you still want to solve 2, a better approach would be to solve 1, then solve 2 by creating a GUI that let users record their actions and generate code from 1.

Such API and GUI exist, as you said, but they could be improved by tenfold.

It's boring work though, and working on a DSL is much more cool.

comment 6y ago · link · parent

All those kind of projects share the same flaw: it uses a DSL instead of an existing language, so tooling/documentation/testing/support/modules are going to be very weak, and 100% depending of the creator for the first years, in a domain that is already a niche.

It could be a library with good API instead. Or even a special env setup for an existing language with injected built-in and automatic imports.

Now you could argue that the goal is to have this "simple DSL that looks like english" so that normal people can use it.

This argument has existed since DSL exist, and the result is always the same:

- the simplicity of the language will, in the end, limits its usefulness. Not every domain is like SQL/HTML/CSS, where descriptive is enough. Complex domains need branches, loop, namespaces, etc. Eventually you will be forced to add features in a twisted way to something that was not designed for it and replace its simplicity with ugliness, or restrain yourself and be limited forever. See Ansible DSL for a good, or rather, horrible, example of that.

- end users that can't use a normal programming language won't suddenly become tech saavy because your DSL is simple, but their use case will never stop at simple. So they will start building complex systems as soon as they use it for real, with a limited DSL and their limited ability. The system will become a monstrosity, and you'll have no tooling to help.

- successful dsl are usually not simple. Css is not. Sql is not. Html is an exception because it has no logic. This has logic.

- it looks so cool. It's like candy for tech lovers. Even to me: I find it so sexy. And so people will adopt it, ignoring the arguments above. Ignoring the decades of such attempts that ended up in pain behind so many corporate firewalls. There will be many tweets at adoption to talk about how nice it is, but no blog post 2 years later to admit it was a bad idea. And then it will happen again with $new_shiny_dsl_based_tool.

comment 6y ago · link · parent

Of course, they are a UI too. It's not antagoniste to the OP.

comment 6y ago · link · parent

And yet IRL it doesn't happen.

Halifax never paid the price for badly handling their data after all.

comment 6y ago · link · parent

Not to mention the proxy settings nobody knows how to setup for their particular IDE/cmdlinetool/browser and that blocks the one thing you need to access.

comment 6y ago · link · parent

Yes, bad choice of word, I should have said "don't mind".

comment 6y ago · link · parent

It's one of the reason I favor framework over libs or micro-framework, espacially from beginner.

E.G: I tell beginners to use django, not flask.

Because people usually don't have the skill or knowledge to take proper design decisions. They need something to guide them, otherwise the project architecture will be terribly wrong.

Last year I worked on a flask site were the devs stored the password hashed as unsalted md5. And another one with an API that returned sometimes JSON, sometime plain text. And this year one that, to be deployed, required you to run a build process on the prod server, and defined the upload folder and static media folder as the same.

My take on this is: if you want to go the minimalist route, you need to be very good already.

comment 6y ago · link · parent

I should have said "I don't mind".

My English still needs work.

I actually care. Especially about people and how they feel at work. In kinda why I do this job: it's so easy to make their day better.

1
176177178
184