HNHacker News
TopNewBestAskShowJobs

zaro

455 karma · joined September 4, 2014

submissionscomments
zaro··on How will the world vaccinate seven billion?
I am also not sure how long it lasts but I fail to see why it will matter whether you got the immunity from a vaccine or the normal way.

And let's say everybody get vaccine in 2 weeks period of time, if the immunity doesn't last at least few years what's the point of this mass vaccination then.

zaro··on TikTok found to have tracked Android users’ Mac addresses until late last year
Is this the same BS scare like "Tiktok is collecting you clipboard data on iOS" and then later it turns out a lot of high profile apps are actually doing it?

And even more important, there are plenty of analytics, crash report, tracking and I don't know what else third party services with their SDKs, usually doing the collection of data. I am juts not sure why are they never mentioned.

zaro··on How will the world vaccinate seven billion?
Why would we need that? I think a lot of people will get immunity the natural way, even now a lot of people are having covid w/o any symptoms at all, and they will have immunity.
zaro··on "Rust does not have a stable ABI"
With everything slowly( or sometimes rapidly) moving into containers (docker, systemd portable services, flatpak, snaps) I think the concept of system library will probably become irrelevant at some point not that far into the future.
zaro··on That coworker who never stops refactoring
Yep, that's me. Features are simply something that happens as a byproduct of a refactor.
zaro··on Huawei says it’s running out of chips for smartphones because of US sanctions
> It's "utterly foolish protectionism" when the West tries to protect their own, but "all's fair" when Western firms are left with no recourse while their IP is stolen and copied all over China because the CCP wouldn't ever rule in favor of a western company.

You make it sound like the western companies had no choice in the matter. I don't think anybody has ever forced a western company to move its production in China. Actually these western companies are making a lot of money by moving to China. And I think apart from industrial espionage , the rules were clear upfront.

zaro··on Poetry – Python dependency management and packaging
It kind of works for my team, but only because nobody touches it anymore.

What's so bad about it? Well it's bad at being package manager for starter. Here is a quick question. How do you install packages with pipenv with the versions specified in the lock file?

zaro··on Poetry – Python dependency management and packaging
Are there any advantages with pupenv at all? Pipenv definitely takes the crown in my list of Package managers that are plain stupid.
zaro··on Microsoft is reportedly in talks to buy TikTok's US operations
> In the case of China, Bytedance can absolutely refuse to sell Tik Tok, it'll just get banned from operating in the United States.

How is that not extortion ?

zaro··on Facebook sues EU antitrust regulator for excessive data requests
> cognitive dissonance has become a buzzword and its incorrect usage is exemplified here. those people aren't struggling with a value conflict, they just have different values than you do

But maybe, just maybe, their values are incompatible with the values that build up a society. And here is where the cognitive dissonance starts.

> the path to togetherness, thoughtfull discussion, and mind-changing lies with honest recognition and good-faith debate, not name-calling.

That only works when all sides want this. I think it's pretty onbivous that any large corporation, doesn't want this kind of discussion. It mean admitting them doing a lot of cr*p in the name of profit.

zaro··on Brython – A Python 3 implementation for client-side web programming
>If a function is so long it requires multiple statements, is it really so bad to give it a name and a separate line of code from its use? Personally I'd find that clearer, even if the language didn't enforce it.

Sometimes this is the case. But let's take for example filtering an array. Do you really want to give names for the callback that will filter? Also I find it more readable if the logic doing the filtering is right there where the filter call is, and not somewhere above.

zaro··on Brython – A Python 3 implementation for client-side web programming
Yet, in the same survey it is on par with Typescript.

Also for me always the question is loved by who. Of course junior/beginner level people will prefer simplistic language like Python, because that's the main target audience for Python as a language.

zaro··on Brython – A Python 3 implementation for client-side web programming
> bigger number, but that's because there is no (useful) standard library in JS.

I was thinking more about higher level libraries like frameworks.

> Datetime for example, there are loads of libs for that in JS, some of which are complete. Ahm, and if you need to work with Timezones(not much fancy IMO) you still need an external library.

zaro··on Brython – A Python 3 implementation for client-side web programming
> As an experienced JS/TS and Python developer, I can confidently say that the Node.js / npm / yarn ecosystem sucks compared to what you get with Python and PyPi.

I can say the same. As an experienced Python and TS/JS developer, I confidently state that Python ecosystem sucks compared to what you get with typescript and npm. And if we take only type systems TS is on another level compared to Python.

zaro··on Brython – A Python 3 implementation for client-side web programming
> Lambdas are supported, what do you mean?

Lambdas are not functions. You can't have statements in them, only expressions. So no, they don't cut it as anonymous functions.

>> Webpack does a great job of handling assets by simply importing/require them in the code. Python import system, can't support that kind of importing.

>What does this even mean?

It means that in JS you can do "require('./image.png')" and webpack will automatically handle the image for you. Python doesn't have any way to import anything that is not .py file.

zaro··on Brython – A Python 3 implementation for client-side web programming
Same here.
zaro··on Brython – A Python 3 implementation for client-side web programming
Did take a look at least one example? It's python code embedded in script tag. I don't see any byte code.
zaro··on Brython – A Python 3 implementation for client-side web programming
There are people who think images and JS are far too much for the Web (you can often read comments like that on HN) and want pure text only Web. Should we learn from them too?

I don't mean to put shit on any body's work. I am just noting several obvious flaws to the idea. Now it might sound like putting shit, I don't know, but I am not native speaker so sometimes I guess I am using the wrong tone/working.

The real question for me is why it's such a big deal? In the end its simply an opinion.

zaro··on Brython – A Python 3 implementation for client-side web programming
Indeed, pip feels like a joke after using npm.

Not that npm doesn't have flaws, but it gets much more things right.

zaro··on Brython – A Python 3 implementation for client-side web programming
> - it can be the same language as the backend

This is already the case for Javascript :) Also you get much bigger collection of ready to use opensource libraries, and better performance.

zaro··on Brython – A Python 3 implementation for client-side web programming
So now we can write web apps in one of most inappropriate languages for frontend development.

White space significant, good luck minifying it.

No anonymous functions, yes you need to have name for that callback, even though it's simply disabling a button.

Webpack does a great job of handling assets by simply importing/require them in the code. Python import system, can't support that kind of importing.

And of course there is the performance. Python is generally slower than JS, and then on top of that you are running Python interpreter in the JS VM.

zaro··on “TikTok is a data collection service that is thinly-veiled as a social network.”
But is it so really?

Last year there were articles about how Facebook sdk collects data from each app that integrates it, even before you login with Facebook. To me it still looks like a much wider data collection than what a single app can do.

zaro··on Reddit started banning accounts that voted for content “against their policies”
The thought police strikes again.

It's not anymore about simply censoring unwanted content, punishing the users for engaging with will be way more effective in the long run.

zaro··on Node.js Overload
> And you know what ? You shouldn't share too much code between backend and frontend.

Yeah right :) I'll tell you what I like about it.

I defined my database models in Typescript[1], work with them in the backend, send them to the frontend, and deserialize them back to the same Typescipt model classes in the browser and continue working with them ( w/o the actual database part) as data structures.

Are you trying to convince me this is bad ? Because I definitely don't believe you :)

[1] https://typeorm.io/

zaro··on Node.js Overload
> Due to its single-threaded nature, Node.js was never a good choice for compute-heavy workloads, though, and now that capable nonblocking frameworks also exist on other platforms — some with elegant, modern APIs — performance is no longer a reason to choose Node.js.

But do these other frameworks give you the simplicity of sharing code and using the same language in for fe and be ?

For me the performance of Node BE applications is just a nice bonus, for having consistent development environment with huge library of radily available packages.

zaro··on Bootchart – Boot Process Performance Visualization
this is obsolete as systemd has it built-in . check https://www.freedesktop.org/software/systemd/man/systemd-ana...
zaro··on Software will eat software in a remote-first world
There is no way that software will soon reduce the need to engineers.

One way to look at it is AWS for example. It removed the need for hardware and sysadmin skills. But the cost of this is that now instead of sysadmins you need devops and probably in bigger numbers.

The way I see it software crates problems at a higher rate than it solves them, hence the need to constantly change and evolve technologies,so that at least of the technical debt created can be written off.

zaro··on Ask HN: Is there any open source tool for creating simple CRUD Apps?
Well, not a belief more like a practicaly oriented mindset :)

In any modern web application you most probably will end up using Javascript for the frontend part, and you have plenty of choice for the backend, which actually includes some really good options both in Javascript and Typescript.

So choosing Python makes you swtich languages between FE and BE.

Then if we are talking about the BE, Javascript is usually more performant, there is bigger choice of libraries and frameworks, and the tooling is simply better ( and improving).

And then there is the async story. Yes Python has a way to write async code, but is more like a patch on top of fully synchronous language rather than full solution, not to mention the very crippled syntax of Python that doesn't let you write anonymous functions.

zaro··on Ask HN: Is there any open source tool for creating simple CRUD Apps?
I would say that in the world of Web applications Python is the nonsense :)
zaro··on Deno 1.0
Some compatibility with Npm modules would have been better choice for adoption.
← PreviousPage 2 of 10Next →