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

Doesn't really matter if this is a mistake or corruption.

When you pretend you have the legitimacy to run something as big as JP Morgan then you should not be allowed to screw up that much.

You earn that much money, you should demonstrate equal level of competency.

They should get jail time either way.

comment 3y ago · link · parent

Off Topic: I wish we wouldn't complain about the use of expressions like "shit the bed" here on HN.

comment 3y ago · link · parent

Because most people won't:

- it's expensive

- it takes their phone away

If changing the battery is a one hour cheap deal, a lot more people may do it.

And I am very happy about those EU initiatives: this way I know what sites are tracking me and how much. This tells me which sites values annoying me with their banner so they can sell my data.

Have you noticed there is no banner on Hacker news despite the fact that:

- they serve in Europe

- they use cookies

That's because it's not about cookies, and the banner is only for privacy abusers.

comment 3y ago · link · parent

You totally can, but it won't match users modern expectations.

comment 3y ago · link · parent

That's... not unexpected. That's been the known technical compromise of UUID for years, and why ULID and UUID 7 are born.

And usually it is still worth it.

comment 3y ago · link · parent

That would be true if prosecution have shown evidences of criminal activities on the side of protecting their privacy.

But they didn't.

That's the red flag.

comment 3y ago · link · parent

Not according to the French law.

A crime is not something you evaluate morally. It has a very narrow definition that is codified by each society it is been judged in.

comment 3y ago · link · parent

Yes, but the problem here is not that, it's the arguments used to build the case.

They have not been any evidence of criminal activities by those people. So far, all what they have against them is "they are protective about their privacy".

That's a terrible reason to arrest and maintain people in jail.

comment 3y ago · link · parent

True, but they are very serious and diligent in their actions.

They have been nothing but rational and respectful in everything they have done so far.

You can see it in the writing of the article, it's methodical, logical, and rely strongly on facts through quoting documents.

This have been consistent for years, something I give them a lot of credits for.

Besides, no matter the political orientation of the govt, I think it's safe to say no group at the top was not worth of opposition during the last decades. So it's nice to have movements like La Quadrature that keep them in check.

comment 3y ago · link · parent

I use linux, signal and ublock, I listen to political debates, and I'm seldom a freedom fighter.

They are basically saying "if you close the door of the toilets when you poop, you are suspicious".

comment 3y ago · link · parent

Open sublime text side by side, and it will be obvious.

comment 3y ago · link · parent

It's probably a generational thing.

The 20 last years, the web, the animations and the badly coded apps lead people to be used to slow software.

However, when you have used software for decades on much less powerful hardware, the sluggishness of all of it is kinda jarring.

comment 3y ago · link · parent

That's... what I'm saying?

comment 3y ago · link · parent

It's not, but that's the dirty secret of researchers, the most passionate ones always have some conviction inside. They just don't voice it.

comment 3y ago · link · parent

Yes, as long as the science is good, having fun in the process is not horrible.

comment 3y ago · link · parent

It's one thing to strategize your opponent demise by creating better products, it's another to use patents, monopolies and market manipulations.

comment 3y ago · link · parent

Video games, like cinema, footballs, the olympic games or music, are a huge market, and have strong influence on culture.

In fact, given they now employ people from all the other entertainment industries, and make recurring payments, product placements, and build communities, I'd say they are pretty huge.

comment 3y ago · link · parent

Oracle enters the chat.

comment 3y ago · link · parent

And don't forget their new IDE in the cloud move with VSCode.

I guarantee once they got enough devs locked in their cloud to write softwares, the spanking will start.

And once again, the victims will act all surprised.

comment 3y ago · link · parent

Yes, but the quote use the word "truth", not "hypotheses".

The real kicker is that they are already assuming they are right, which is definitely over the top :)

Well at least it keeps them motivated, and it keeps readers engaged.

comment 3y ago · link · parent

This is what motivates them, give them exposure and likely financing. It's good for moral, and for marketing.

If they eventually draw extraordinary conclusions from this, there will be hundreds of scientists to double check it, just out of curiosity, precisely because they had this stance.

All in all, it will be a win-win.

comment 3y ago · link · parent

GPRD doesn't target just cookies, but tracking in general, which must be known and consented.

So basically what OP says is that most sites are just not following the European laws.

comment 3y ago · link · parent

While I appreciate VSCode, I think Discord, Slack and Obsidian are not selling the platform at all. They feel sluggish and have poor ergonomics. Now the second one may or may not be attributed to Electron depending of if you buy the cultural thinggy, but the first one clearly is. Mumble is super reactive in comparison to them, and most note softwares dance around Obsidian.

Having a latency on local clicks and transitions is not my idea of fun.

VSCode is an outlier here. And it's getting slower and slower with age, while sublime text is getting faster.

comment 3y ago · link · parent

That's actually a much better sale pitch than the article.

comment 3y ago · link · parent

The author should rather be honest and say "I like TCL just because", instead of coming up with contrived examples to state alternatives are bad.

E.G, in the Counter snippet, why make some complicated code when Python is designed to make it simple?

    import sys, collections

    for p in sys.argv[1:]:
        try:
            with open(p) as f:
                for k, v in collections.Counter(f).items():
                    if v > 1:
                        print(v, "\t", k, end="")
        except Exception as e:
            print("dup error: ", e)
I don't buy the argument of simplicity here. Also, if you are going to just do "get", you don't need requests, the stdlib is fine.

And I don't get the speed argument either, given his script uses most_common(), that basically sorts the entire dict, which none of the other codes do. Yes Python is likely slower, but let's not push it.

Also the Go code is more complicated, but you can cross compile it and ship it as is. And it's fast.

I get it, TCL is cute, but making up arguments is not selling it.

1766.

Compiling Typed Python(bernsteinbear.com ↗)

2 points · by BiteCode_dev · 3y ago · 2 comments

comment 3y ago · link · parent

So, like context managers in Python, except you only have `__exit__` and not `__enter__`.

What's missing from the article is the semantics when there is an error. In Python, `__exit__` is always called (with the exception as param), but depending of if you return True or False, you reraise or not the exception.

Anyway, it's a useful addition.

While you can craft an API with this behavior in JS by accepting two callbacks, it's nice to have a standardized way to do it. Plus making it an official feature will encourage the pattern, which nurture the culture for better API.

comment 3y ago · link · parent

Indeed, but strangely 2 wheels is the sweet spot for fun as well.

Such a hard choice.

comment 3y ago · link · parent

First, that's a lot of if, second, that's not nearly all the if, and finally, there are a lot of if about things that are not you.
1
585960
184