HNHacker News
TopNewBestAskShowJobs

ridethebike

315 karma · joined January 25, 2021

submissionscomments
ridethebike··on EU bans Belarusian airlines from European skies
The closest this scenario can materialize in real life is being printed in one of Tom Clancy's books.

Nobody is going to bomb stuff over this.

And as much as I like labeling EU toothless [1] - banning Belarusian airlines is proportional and "hawkish" response.

[1] - https://news.ycombinator.com/reply?id=27263934&goto=item%3Fi...

ridethebike··on EU bans Belarusian airlines from European skies
As a war act? What does it mean in terms of practical steps?
ridethebike··on Baltic airlines reroute flights to avoid Belarus airspace
Yes, but, remember mh-17 - the plane with 200 dutch citizens that russians blasted out of the sky in 2014? I'm sure strong response from the EU is coming in any minute now.
ridethebike··on Woke at Work: Why tech firms are trying to run away from politics and failing
>> If an employee was a member of a fascist party it'd quite literally be illegal to fire them on that basis.

I think the moment company starts taking heat on internet/talk shows/etc. for "employing fascists" that employee will get booted out for poor performance/HR complaints/staff cuts/etc. Or somehow he will resign himself ("no-no, we didn't force him out" company spokesman said in a statement).

ridethebike··on The IRS Is Coming for Crypto Investors Who Haven’t Paid Their Taxes
It's only couple of $ so I'll let it slide this time
ridethebike··on The IRS Is Coming for Crypto Investors Who Haven’t Paid Their Taxes
I bought bitcoins for two or three hundred bucks. Then price went a bit down, I got spooked and sold it at a loss.

So who's laughing now, IRS? Come a get me.

P.s. needless to say - sarcasm

ridethebike··on JWT should not be your default for sessions
Privileges for doing anything serious (e.g. perform payments or change security preferences) are not stored in JWT, all checks done on server side. In case of emergency (e.g. we suspect user session has been taken over) we lock user account and purge session from the backend. Without session on backend - JWT won't do much.

It's a fintech consumer website (sorry, can't disclose the name).

ridethebike··on JWT should not be your default for sessions
Of course, trusting JWT without verifying it first would be madness
ridethebike··on JWT should not be your default for sessions
That's more or less what we ended up with. We could choose one the following two extremes:

a) Store sessionId as a cookie on the browser, pull all details on backend from cache server - requires network call every time when any tiny user detail is needed, not a showstopped and it worked for us for quite a while but we wanted something more convenient.

b) Fully stateless backend, keep entire session in JWT - our user's session is on the huge, plus user's session has private data (we declined this option rather quickly)

Instead we ended up with JWT which contains sessionId + bunch of most commonly accessed user properties (various identifiers, roles, login time, etc).

Now it seems like that somehow I missed this "JWT means stateless" thingy, well, let's see what people say.

ridethebike··on JWT should not be your default for sessions
Does JWT always imply statelessness?

We use JWT to send bunch of public claims around, one of which is session_id which refers to session in backend cache. Are we doing it wrong?

ridethebike··on Why do older individuals have greater control of their feelings?
I was going to say "Over time one just doesn't care anymore" but you did it way better. Thank you for that.
ridethebike··on US passes emergency waiver over fuel pipeline cyber-attack
Mind if I asked where did you get this info?
ridethebike··on U.S.'s Biggest Gasoline Pipeline Halted After Cyberattack
>> drop a bomb on their electric plant

Not gonna happen. Because: a) that would almost surely mean all-out war (in case of Russia/China - with country that has nukes), started by US b) dropping a bomb on electric plant of country that has at least some air defense (and I think it's safe to assume Russia/China/Iran have plenty of that) is not simple

ridethebike··on U.S.'s Biggest Gasoline Pipeline Halted After Cyberattack
Do I want security cameras/metal detectors/metal doors and other <s>police state</s> security measures everywhere? No. Do I want to have all that in electrical plants/pipelines/nuclear reactors and other objects of critical infrastructure - yes. If that means employees there would need to spend more time for annoying security checks(additional password prompts, 2FA, metal detectors, etc) - sure, I did all of that when working for one of British banks, mildly annoying but feasible. If that means more taxes - I'm ready to pay.

One can't just tell russians/chinese/iranians "we have open and free society do please don't hack into our electric grid" and expect it to work.

ridethebike··on LiveLeak shuts down after 15 years online
My relative tells everyone that "this whole covid panic" is blown out of proportion - he got covid and it was "meh, no worse than flu" for him
ridethebike··on Efficiency Is the Enemy
Next level: seeing that process is clearly inefficient but still following and defending it with iron-clad "because this is our process" justification.
ridethebike··on Ask HN: Who doesn’t want to go back to the office?
Pre-pandemic policy for more efficient utilization of office space.

Reasoning: it's never the case that 100% of staff is in the office - there's always be someone on sick leave or vacation or working from home. So let's rent office for say ~90% (I don't know what exact number was) of employees and let them use places on first in-first served basis.

While I get why it's needed by it's still very annoying carrying all my stuff back and forth every morning and evening.

ridethebike··on Ask HN: Who doesn’t want to go back to the office?
>> HR nagging people because they left books on their desk

You just reminded me one more reason for me not to return office - we have policy that when leaving for the day employees must remove all extra items [] from the desk and put that into personal cabinet.

extra items - everything apart from phone, display and keyboard + mouse.

ridethebike··on Ask HN: Who doesn’t want to go back to the office?
Amen brother
ridethebike··on Ask HN: Who doesn’t want to go back to the office?
I want to go back to the office for one maybe two days per week
ridethebike··on Why UML “Really” Died
It does not have to be fully correct UML diagram.

But knowing the difference and being able to draw more or less accurate high-level sequence/flow/component diagram is vital skill for skilled developer.

>> Programming language are better just because Programming language is usually poor choice for explaining design of system

ridethebike··on Why UML “Really” Died
UML is totally useless abstraction and all until you somehow need to explain your architecture to 30+ developers/architects on the call.
ridethebike··on Why UML “Really” Died
UML as "Language to depict diagrams + set of tools on top of it + unified process and all the waterfall-ish bureaucracy around it" - yeah, sure, it's dead in the sense barely anyone uses it in such form.

UML as "Language to depict diagrams" - not so sure, I use component, state and sequence diagrams all the time (in both interview and main job settings).

ridethebike··on CEOs are hugely expensive – why not automate them?
When I was in university(mid 2000s) we had this subject called "AI fundamentals" - series of lectures + testing in the end(~2hours per week for 6 months), taught by respected faculty member (or so we thought), it was going to be awesome. What it actually turned out to be - lecture were dude talking non-stop things like (almost a quote by the way) "AI is not like regular app, it should be capable of taking task in form of 'go somewhere don't know where and bring me something I don't know what' and it would actually solve it. Having that would be true AI and that's what this all is about" and how great would be to have such AI and how close humanity is to it and yadda yadda yadda AI/tech dreamy stuff that you'd see in general media. Once in a while he would mention one or two concepts from AI theory and that would be it. And like that 6 months went by, we learned nothing, passed his "test" (which was pretty much questionnaire about all that blue-sky thinking) to get some default "pass" marks into diploma and that was it.

Lots of smart-y talk, ~zero useful content.

This is what this article is.

HN community provided way more substance in a single (of several) threads on "is ceo pay fair" topic.

ridethebike··on CEOs are hugely expensive – why not automate them?
Same as with this one: >> If a single role is as expensive as thousands of workers, it is surely the prime candidate for robot-induced redundancy.

There's no logic, it's just catchy sound bite that when said makes some people feel smart and forward looking.

ridethebike··on India’s second wave
I think if China didn't manage coronavirus successfully we'd have seen numbers of deaths due to "some winter cold" so large that even communist party wouldn't be able to hide
ridethebike··on First steps with Rust
You do know that they open sourced ton of stuff, right? Including .net core for example (under MIT license).
ridethebike··on Buy it for life: Durable, Quality, Practical
There's russian saying for this: greedy man pays twice.
ridethebike··on Amazon’s ‘Lord of the Rings’ series will cost at least $465M for first season
Milking existing familiar to everyone universes is just more profitable. MCU, as primitive as it is(my apologies to fans), has been best money maker of last decade for a reason.
ridethebike··on Pangolin UI, a Desktop Shell, Written in Flutter, for Linux and Zircona
Flash and Silverlight were unavailable to comment
← PreviousPage 2 of 3Next →