Hacker Newsnew | past | comments | ask | show | jobs | submit | more BiteCode_dev's commentslogin

Some work allow you to walk while solving problems.


Giving people the ability to create more useless unsupported DSL in a world where people think YAML dialects in the CI was a good idea will damage Python in the long run.

And I say that while I wished I could use macro several times in Python because the syntax was lacking.


I'm likened to agree. As much fun as syntactic macros in python would be, and despite all the doors it would open, it would really kick up the potential complexity. Heck, folks were complaining about pattern matching and the walrus operator.

I mean maybe the council will go with it, but I'm bearish.

I do really like the idea of jit macros and zero-overhead decorators though.


I feel the same way. I'd love to use macros to implement dataclasses. But it does open the door for unreadable code.

I'm torn on the issue: I don't want to be restricted from improving dataclasses in what would be fairly obvious ways, but I'm sure the feature would be abused. But maybe this falls under the "we're all consenting adults" guideline.


Zero overhead exceptions are on the way so it would be natural for decorators to be next, even if it's likely way harder to implement given that decorators can basically do anything side effecty.


I don't think you're likely to see zero overhead decorators any more than "zero overhead software" in general.

Take dataclasses: it adds a bunch of synthesized methods to a class, and needs to use "exec" to create them. How could that be zero overhead?

To help with this, I've proposed moving knowledge of dataclasses into the Python compiler, but even I don't think it's a great idea. For example, it would leave attrs in a disadvantaged position, and I don't want to do that.

Another option would be to move dataclasses before the code generator. Syntactic macros are one way to do that. Then there really would be zero overhead when loading the cached .pyc files. That's their appeal to me. Of course there are lots of other things that could be done with syntactic macros, which is both good and bad.


Being in the flow is not being on automatic.

It's the absolute opposite, you are totally conscious about what you are doing, and clear headed about the decisions you make.

It does feel effortless, but not in the sense that you are not doing the thing consciously, rather in the sense that the thing seems so obvious and easy as you perform in perfect fluidity.


And then on it because you most likely part of a project that will never have any requirement that needs anything else.


To quote taleb (https://twitter.com/nntaleb/status/1533067876671885312):

"...while I've seen gluts not followed by squeezes, I've never seen a squeeze not followed by a glut."


Probably was even true for whale oil when people moved to kerosene out of price and availability. It was because nobody was buying, but still a glut.


Interesting info but would it be ok to make the title less click baity by avoiding the needless full caps?


I take it you're not very familiar with the Daily Mail.


Great news!

Wish you well. Do you have a donation link?

Since everyone is sharing their xmas list, here is mind:

- containers builtin and improved

- torrent download built in

- forget site built in

- tab group buit in

- private tab instead of private window, like in portable ff

- restore form built in

- profile switcher built in


A monoculture is fragile and will be prone to abuses.


Don't be turned off by people wanting everything to be perfect, to their taste, and right now.

Those people are very vocal on HN or on the Foss community, but they do not speak for most users anymore than I do.

What you are attempting is very interesting and a lot of work.

Even if it's not tor browser level of private, I'll be glad to give it a try. We desperatly need more diversity in the browser space.


Don't ask a browser vendor to fix websites in 2022. We know that it's rarely a problem with the browser, and mostly devs that decided (or been told) to do a chrome only website.

We did it once with IE, don't fall in that trap again.


It's even worse than that. You could build a site "just for chrome", only test on Chrome and still it should just work with Firefox. The sites blocking Firefox are doing so explicitly, because the site would work otherwise.


Haha, I don't necessarily disagree with you on this..

My only view on this is it would be nice to have a general chrome compatibility switch. I've not accounted for the feasibility of this from a technical or commercial perspective, so I can't advocate for it beyond a nice to have feature.


There used to be “Open this page in IE” browser extensions. It shouldn’t be too difficult to have a similar “Open this page in Chrome/Edge”.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: