HNHacker News
TopNewBestAskShowJobs

trymas

3,715 karma · joined December 30, 2014

submissionscomments
trymas··on Flask Mega-Tutorial (2017)
Not OP, but I think OP meant about: https://fastapi.tiangolo.com/

FastAPI is async web-framework for Python comparable [0] to Flask.

Read it as Flask is "old" and "slow" (i.e. synchronous and needs multiprocess deployment), whereas FastAPI is really fast, single threaded and async.

[0] IMHO comparable only at "hello world" level as FastAPI is much more and uses a lot of goodies of newer Python versions (typing, asyncio, etc.)

trymas··on Russia’s Oldest University to Expel Students Detained at Anti-War Protests
I do not get that idea to punish anti-war protesters by drafting them into military by force and send them to the war.

The last person you want to send to fight in a war is an anti-war protester. Though knowing russian war commander mentality (i.e. kill disobedient soldiers) - it could be a literal death sentence [0][1].

[0] https://www.reddit.com/r/ukraine/comments/t9de02/hero_ukrain...

[1] https://www.reddit.com/r/ukraine/comments/tacjiy/this_ru_off...

trymas··on Research: ‘Ukraine war costs Russian military €20B per day’
Agree - though I think belarus is already de facto part of russia.
trymas··on Research: ‘Ukraine war costs Russian military €20B per day’
> Russia can sustain itself if it wants because it is so large, so it appears they are attempting to build some sort of enclave at any cost.

Likely, though not like they are not dependant from outside world, i.e. they can become soviet union 2.0 with iron curtain 2.0.

Their commercial aviation is dependant on boeing and airbus - no parts for foreseeable future. Big portion of shipping containers will stop coming, banks are restricted and foreign money is pulling out (moscow exchange is closed for the 4th day), etc.

Good writeup here: https://twitter.com/dmitryopines/status/1499157917399977987?...

They maybe take Ukraine, but russian economy is on borderline collapse I think.

trymas··on Maersk, MSC halt container shipping to and from Russia
then russia will treat guns as humanitarian aid [0]

[0] sarcasm of course, but during 2014 Crimean, Donetsk and Luhansk annexation in Ukraine, russia sent echelons of "humanitarian aid", most likely that part of that were munitions.

trymas··on Tell HN: If You Are in Russia
nice try russian troll.
trymas··on Namecheap: Russia Service Termination
Unfortunately this is a double edged sword.

Many times the West was very hesitant on acting against russia's shenanigans (most notably Georgia and Crimea), because "it will hurt the common person and not those who are making decisions".

Now russia is in de facto conventional war with Ukraine and in information/business war with __all__ of the West. putin is out of ideas and freaking blasting cities with bombs like it's London 1940. The West is still not enganging russia in conventional war, due to nukes, but if it's war why one side needs to cry, run, starve and die, when other nation can sit by their propaganda tv and eat the kool-aid.

In this new information age it's the only possible resistance against the regime - Iron Curtain 2.0. The West cannot win informational war inside russia. Those who know english and know how to use internet are mostly young Moscovites, everyone else is sucked into propaganda, there's not enough critical mass. Propaganda is at the same level that Germans did not know or believe that there are concentration camps next door.

Either topple the regime, leave [0] or be living under Iron Curtain 2.0 stand in lines for bread with your money that are worthless.

I believe the West tried for the longest time not to play into this "russophobia" card. The sanctions definitely work together with russian propaganda ("look wht those evil gay nazi imperialist west are doing for simple russian people"). And for the longest time big players like DE, UK, FR did not understand putin, compared to how post-soviet countries like the Baltics and Poland warned. DE for the longest time that you can work with putin like any other liberal democratic leader. Now all this is in the trash and everyone is united against putin.

I am repeating myself - but I guess it's the only way to work against putin. Conventional war with other superpowers will most likely mean nukes, i.e. end of the human world.

[0] I bet many young people from Moscow or Peter will attempt to do this.

trymas··on Namecheap: Russia Service Termination
Ah. Classic.

Living in <western ccountry> for <more than a decade> [0], telling how putin's russia is a heaven, and west is rotten gay propaganda hellscape.

Asking why they are not moving back to russia usually leaves them speechless.

russian propaganda/troll machine is next level, I could give them that. goebbels would be proud.

[0] If there's a significant russian speaking diaspora it's not unusual that such people do not understand local language almost at all, even after living for decades.

trymas··on Ukraine calls on hacker underground to defend against Russia
your comparison is just wrong.

Ukraine is an independent sovereign nation _de facto_ and _de jure_, recognized by probably every single country in the world including the aggressor russia to.

Why you thing I have "a dog in this race"? It's just old-school war, russia does not know how to use it's soft diplomatic power. It's threats all the time, and when Ukraine does not give up on idea to westernise for at least 8 years - russia treat is a threat - thus they invade.

If I'd compare - I'd compare it to Winter War. When WW2 started - they saw that Finland is too close to St.Peterbug for russias comfort - thus they started the war. Same here - Ukraine wants to free themselves from post-soviet economy and modernise to western model, it's a threat to putin - because then the "western" economical and political borders will be too close for his comfort.

trymas··on Ukraine calls on hacker underground to defend against Russia
You are incorrect on so many levels - I have no idea where to begin.

Ukraine is a sovereign state independent from russia. russia dreams about soviet union comeback. Some countries are out of reach now, e.g. Baltic states which became EU and NATO members.

After russians being assholes to their neighbours for decades (if not centuries) - some neighbours decided that it's time to leave abusive relationship.

To russia Ukraine is integral only for couple of things - land buffer from the west influence, land bridge to the black sea (Crimea).

Ukrainians see how russia abuses them (e.g. frequent embargoes or price jumps for gas, and other tightly coupled economical relations they are not allowed to escape) and attempts to leave this. That's a deep blow to russia and their maniac dictator cannot allow this. F

For ages - instead of russia attempting to build proper strong and attractive economy are using force on their small neighbours. I think every single neighbor of russia (or russian empire or soviet union) was either at war or occupied in previous 100 or 200 years. Neighbouring nations (the people, not the politicians or greedy oligarchs) are attempting to flee russian influence zone, due to constant economic pressure and imminent danger. russia now attempts to paint this as "NATO expansion" or "US imperialism", but they are just old-school bully.

trymas··on Demystifying Putin: US vs. Russia geopolitics – the real story
> Since that time, NATO has been steadily expanded and pushing closer and closer to Russia's borders, notwithstanding the said assurances, which the West is quick to point out were not in any way binding.

Is it NATO "expanding" or post-soviet countries begging on their knees to be accepted into it for protection?

If Baltic states, Poland would not have been accepted into NATO - I think there would be soviet union 2.0, either by straight annexation like with Ukraine or parts of Georgia and Moldova or with economic/political control, like with Belarus and Ukraine before Maidan.

Many post-soviet countries after freeing themselves from soviet shackles went running straight to bang onto EU and NATO doors. Some have been lucky to be accepted, some were not.

Since forever Germany, US and alike do not "get" russia. Time and time again the west works with russia with optimism and attempt to establish relations like it would be any other liberal democracy.

US being assholes does not forgive russia to be an asshole, with old-school bombing of civilian properties. russia has a choice to be a proper global economical player, but chooses not to - time and time again.

trymas··on Chernobyl power plant captured by Russian forces
AFAIK like in Latvia - these people (mostly russians) had (and still have) 3 choices: go back to russia, apply for citizenship or be left as "non-citizen".

If after ~30 years after break-up of USSR you have not gone back to russia (because quality of life in Estonia or Latvia is probably better), or have not learned the language or do not want to pledge loyalty to the country - then such person is a problem to itself. My social anecdotal bubble tells me that most of such people are very pro-soviet-union, but somehow idea of moving back to "mother russia" scares them.

Also in most post-soviet states russian communities can live all their lives without learning local language, i.e. there are native-russian kindergartens, schools, even university programs, russian entertainment and they can expect and be able to communicate almost everywhere in russian. So where's the bad treatment?

Putin's propaganda machine will make shit up on the spot - treatment of russian speaking communities is one of them. Maybe you also believe that there's fascist junta in Ukraine or Estonia? russian troll industry are masters of fake news - that will flood everything with multiple bullshit statements.

trymas··on Russia Prepared to Withstand Sanctions. Why Wasn't Europe Prepared?
Stationed Russian troops in Crimea (_de jure_ Ukraine) - does not mean they had the right to take over it (now _de facto_ a russian territory), hence russia invaded Ukraine 8 years ago.
trymas··on Audiblegate
.. and twitter shafts their users, by not allowing to read the thread for people who do not have a twitter account.

> See what’s happening

> Join Twitter to get the full story with all the live commentary.

trymas··on KDE: A Nice Tiling Environment and a Surprisingly Awesome DE
I concur to whole this thread. Have no need for tiling VM especially on macOS. With trackpad gestures I can manage all windows quickly and conveniently (and to be fair I did not know about keyboard shortcuts).

Though I use spectacle.app for those rare occasions when I want to snap a window to the left or right.

trymas··on Surfshark reveals ties to NordVPN
surfshark, nordvpn, allegedly at some point protonvpn - where the same thing (or at least incorporated by the same parent company or people).

oxylabs.io is also under that umberella and I would not be surprised if many more scraping/proxying/vpn products are just a disguise of wide and thriving market competition, where they actually belong to small number of big corporations.

trymas··on Microsoft to Acquire Activision Blizzard
I guess it's just business at the end of the day, but IMHO this model in the end could not be the best for consumer after all.

For example tv streaming, where if your favorite movies/tv series maybe spread over dozen services and you need to pay subscription to all of them. Or it could happen that copyrights get bought by different providers and thus migrate from service to service. I will not be surprised if piracy will have a comeback for movies or tv-series.

So with gaming it will either be the same (too many providers to choose from), or reverse - if you'd like to play AAA title, you will be locked in with Microsoft.

trymas··on A Tumblr developer on the App Store approval process
> This is what people who download the app will do, so they’re trying out real scenarios that will happen. They don’t want to have there be a segment on the nightly news saying, “App Store Full of Porn!” Which is what will happen in these scenarios.

Lets ban web browsers.

trymas··on Nim 1.6.2
Agreed. First world problem, though I've tried couple of times to get into nimlang, but this feature is such an anti-pattern (anti-feature) that it drove me crazy. I could not easily and reliably grep/search anything. Not to mention that reading code requires extra mental overhead (especially being new to the language), that `getAttr`, `get_attr`, etc., are actually the same thing.

Why this was implemented into the language itself, instead of left as a suggestion or a standard is beyond me.

quick edit: also, everything is imported globally (if that's the right term? like in python `from package import *`). So when you see function call, you need to look it up all the time where it comes from.

edit2: apparently I am not alone :)

trymas··on Launching Version 13.0 of Wolfram Language and Mathematica
Someone will correct me if I am wrong, but Wolfram products are proprietary (read - you need to buy the license or subscribe to it), just like MATLAB.
trymas··on Are 14 people really looking at that product? (2020)
> About reviews: Booking.com didn't allow me to leave a review,

We had a feeling about this. So we explicitly did not allow them to cancel, unless they refunded us. I had a hunch if they'd cancel, we also going to lose ability to leave a review. On top of that it would allow host of the apartment to re-rent the place for our days and essentially be paid twice.

trymas··on Are 14 people really looking at that product? (2020)
> Then they give you a "20% refund" that you can use on your next purchase there.

Consider yourself lucky. For me it was 20eur take it or leave it, on 500eur loss.

<rant> I consider cancellation/refund policies that end before your arrival technically - a scam. The situation was like that - the apartment was booked with cancellation available 3 (or smth) days before arrival [0]. Upon arrival - the place was cigarette reeking, bedbug infested, with 30 year old completely worn out mattresses disgusting place. Owner says - "sorry - no refunds" [1], booking says - "we talked to the owner, cancellation policy has ended, the reviews are above average" [2][3]. Upon other calls they gave me 20eur. Bank could not issue a refund, because everything was up to policy.

Though I still use booking.com. I learned to ignore those dark patterns, because it's obvious that 1 spot is left for an apartment, there are no more to it :) . I had only 1 horrible experience with them, but had much worse with AirBNB. Booking.com is great to search all types of accommodation and it's often possible to find a way to book directly and for cheaper, so using it sort of as a search engine. </rant>

[0] from my experience it's usually like that, cancellations/refunds until your arrival usually add exorbitant amounts to the price

[1] though owner suggested ordering cleaning services, but that place needed crime scene level cleaning and complete refurbishment

[2] lesson learned: always sort reviews by newest and translate from foreign languages, because newest 3 reviews were horrifying. But I have not read them, because have not translated them, or have not seen them. Because default sorting shows by "relevant", i.e. foreign language reviews are on the bottom and the other sort order is a mystery to me.

[3] it seams that people do not know how to vote in reviews. If you returned from vacation and infested your own home with bed bugs, and had multitude of other problems - do not give 7 or 8 as a review score - give it a 1. Booking.com used those reviews against me - "if it's above 8 - we cannot do anything about it".

trymas··on Apple stopped sales in Turkey after the lira crashed 15% in a day
Previous discussion: https://news.ycombinator.com/item?id=29339576
trymas··on Django, HTMX and Alpine.js: Modern websites, JavaScript optional
OP probably talking about Phoenix's "LiveView" (https://www.phoenixframework.org/ check the video about it).

Phoenix LiveView is a framework where it keeps websocket open with the client and renders DOM changes server side and passes it to the client [0]. Thus with fully server side development without any JS you can have almost full SPA experience.

[0] Have no experience with it, and only read about it some time ago, so don't judge me on the details, but the gist of the "LiveView" idea should be like that.

trymas··on Glass – Photo sharing app and community
But that's the only way to use instagram, and I don't think it's great workflow.
trymas··on Glass – Photo sharing app and community
> Photography Community

Only for iPhone owners?

trymas··on Anonymous Hacks Epik
> Epik was founded in 2009 by Rob Monster

The founder's name is like from The Onion article.

trymas··on Steve Wozniak announces private space company to clean up space debris in orbit
I always had this question, though maybe there's a simple answer why nobody is doing this.

Why it's not mandatory to have some smallish engine attached, which at the end of satellite's life would lower the orbit enough until atmosphere picks it up and it will slow down significantly on it's own and burn up?

Is it because most satellites will not fully burn and actually hit the ground, i.e. it's liability?

Is it because of too great of a risk of crossing and colliding with a satellite in another orbit, i.e. liability again?

Is it because "attaching smallish engine" which will fire at satellite's end life is actually really hard thing to do?

Something else?

trymas··on Ask HN: Why does Zoom Desktop examine all processes and arguments?
Because there are no "good" suggestions? (or they are harder to find, lack documentation, etc.)
trymas··on Reducing CO2 emissions by targeting the world's hyper-polluting power plants
Could be, though burning coal for heating in this century looks a bit bizarre. But I guess you could not beat how economical it is.
← PreviousPage 10 of 25Next →