HNHacker News
TopNewBestAskShowJobs

xab9

427 karma · joined October 27, 2017

submissionscomments
xab9··on React is the new jQuery
The microwave oven is the new swiss army knife.
xab9··on Japan Fights Crowds of Crows (2008)
Can't we just make pigeons and crows kill each other somehow?
xab9··on Japan Fights Crowds of Crows (2008)
Google may be interested in the problem.
xab9··on NPM proxy users receiving ERR 418 I'm a teapot
Didn't try it, but I will, thanks.
xab9··on Leaked Emails Show Google Expected Military Drone AI Work to Grow Exponentially
Others doing it doesn't make it morally any better, though others thought like you do... like all the axis powers doing their fair share of deportations and gulags.
xab9··on Leaked Emails Show Google Expected Military Drone AI Work to Grow Exponentially
Now this world starting to feel more and more like a Gibson novel - while we had been promised it's going to be an Asimov one. I feel cheated somehow.
xab9··on Deno, a secure TypeScript runtime using V8 and Go
Can someone compare it with ts-node?

If I get it right, ts-node is just a transpiler, but deno runs "proper" ts?

xab9··on NPM proxy users receiving ERR 418 I'm a teapot
`npm i` breaks. Then we delete the lock file (and usually node_modules), run npm i again and it works. Probably it works for you and we are just unlucky or we were too lazy to use some cli magic, dunno. Yarn people here (at the company) usually say that yarn worked for them better, can't clarify about that.

One time out of fun and curiosity we flushed the cache and deleted the lockfile and the node modules dir, did npm i on a mac and a windows and they were undiffably different. Okay, this was months ago and probably there is a good explanation for it, but it was not reassuring.

xab9··on NPM proxy users receiving ERR 418 I'm a teapot
My thoughts exactly.

We are one step away from very bad shit hitting the fan in a very painful way... so let's pretend everything's fine and try not to think about these things.

xab9··on NPM proxy users receiving ERR 418 I'm a teapot
Since they introduced package locks `npm i` breaks way too often for us (we have win-mac-linux machines), it's a royal pain in the back.
xab9··on NPM proxy users receiving ERR 418 I'm a teapot
Okay, I appreciate npm and everything, but nowdays new versions come out on a weekly basis yet something still breaks, either locally or in the CI for us. This made me fear two things the most lately: `npm i` and `npm i -g npm`.
xab9··on Shadow DOM enabled in Firefox nightly
Thanks, didn't know about part and theme - and again, I'm not sure if I like it. For example angular puts [innerHTML] into a shadow container - let's assume we are talking about arbitrary localized text from a cms, heavily sanitized, with basic html elements allowed only. With both deep and apply going the way of the dodo, I'm not sure when will we have part and theme support, but heck, this again, just like css variables, need an effort on the 3rd party's side (to add part descriptors and chain prefixers - gosh, those prefixers sure smell bemish), which may or may not happen.

All I need is a fail safe way of modifying style inside shadow containers without the 3rd party adding support for it (right now we are modifying an angular material based site, because, you know, before the release the most important thing is that how these elements animate or how their drop shadow look), fail safe meaning that it should not be possible to accidentally overwrite stuff inside shadows (like generic link styling).

But probably it's a conflict of interest... everyone wants perfectly contained elements (because css is scary) but wants to retain maximum customizability without modifying the upstream package, plus we don't want shadow contained css to be duplicated. Not sure if there's a good solution for that.

xab9··on Shadow DOM enabled in Firefox nightly
With /deep/ deprecated and css @apply nowhere in sight I'm not sure I like styling stuff inside shadow boxes...
xab9··on 30 years later, QBasic is still the best
What I really loved is that how easy it was to write directly to the video buffer (320x200 256), it was ultra fast and I could even make simple games and shiny stuff :) Not sure if it's possible to do that outside dosbox anymore.
xab9··on 30 years later, QBasic is still the best
Oh boy, this brings back memories. First c64 basic, then a bit of a qbasic, but then I started fiddling with turbo pascal and I still miss the sheer speed and debug capabilities fo the IDE (compared to modern frontend development).

I just hit F9 and even my biggest programs compiled less than a sec on a 386 :)

xab9··on Apps for which macOS applies compatibillity fixes
"I guess Apple’s using the compatibility system to patch other things/change behaviour for specific system apps."

Sometimes I do think software is doomed - like when a teammate of mine had to manually edit the bundled and minified javascript files right before release, because the bundler-crawler frankenstein code would've taken another eight hours to finish.

xab9··on Getting 1Password 7 ready for the Mac App Store
Because it's crossplatform. I can open the kdbx file on ios, mac, win and linux. Probably elsewhere too, but these are the ones I use.
xab9··on Solving dynamic programming interview problems
Hoped someone would get the monty python reference :D
xab9··on Decisions can be tough when you have chronic pain
My current lap record is tension headaches for 25 days out of a full month. I just crawl home from the office :)
xab9··on Decisions can be tough when you have chronic pain
My crohn days are over (at least for the diagnosis), but I'm with you on this one. I follow a strict schedule with eating and then just sit around (this usually means breakfast at 7am and then waiting an hour and a half, similar thing for lunch), but whenever an empoyer comes up with "team breakfast" or "early standups" I'm in a difficult situation.
xab9··on Decisions can be tough when you have chronic pain
Yep. At my current place HR allowed me to go and see the doctor if I tell them well in advance and overwork the missing hours.

Funny thing is that I'm very diligent and if they asked me how I feel about _helping them out on the project_ I would've gladly tried to stay longer whenever the pain allowed me to do so, but this way it felt like a slap in the face.

xab9··on Decisions can be tough when you have chronic pain
Not op. Sometimes the environment makes it nearly impossible to do a job hunt with an active job, also one time I was "convinced" that I'm not feeling good in the team so "probably" I should quit, like, right now (they did let me close the laptop though).

I managed to find an okayish job in week, but I consider that an extreme luck. Fear of poverty is a mindset, for some it's stronger, for others it's less troublesome, to me it's strongly connected to childhood memories and not trusting my abilities.

xab9··on New drug offers hope to those with severe migraines
I've read some of your comments about your symptoms and experiences with headaches: I don't envy you.

I had a couple of minor surgeries and some were in full anastesia, some with spinal injection only. Once the nurse said that I may experience headaches and I thought, heck, I know a thing or two about headaches, but noone ever told me how fucking painful it is going to be.

It lasted for two days and the only good thing was that I did not vomit and had no tunnel vision, but the pain reached an astonishing level.

xab9··on Solving dynamic programming interview problems
Yep. We need superman, but we are a bicycle repair shop.

Only superman will do, that is the only thing we know for sure.

xab9··on New drug offers hope to those with severe migraines
No no, not in advance, but when I could claw my eyes out because of the pain - the problem was that slowly, year after year it worked less and less.
xab9··on New drug offers hope to those with severe migraines
Saridon but all the same I guess. Not my wording though, but the doctor's.
xab9··on New drug offers hope to those with severe migraines
I would give you half a leg to just reduce the pain. Heck, it can lurk around on level 3 out of 10, I'll just walk that off.
xab9··on New drug offers hope to those with severe migraines
God, that shit sure tastes bitter :D But I'm trying the same nowdays, hope it's going to help.
xab9··on New drug offers hope to those with severe migraines
I have "The Big Clusterfuck" twice a year and "just" tension headaches nearly every day. They start around 3pm and they intensify 'til they kill me, even on weekends - but I'm totally 100% sure that there are people at workplace who think this is just an excuse to get me home earlier (though this happens only once or twice in a month, because I'm so ashamed of it).

I also have to sit and "do nothing" for an hour after my breakfast, because I get such a bad stomach aches if I don't that I can hardly walk (yes, yes, I have seen many doctors about it, I have tons of good advice et cetera) - so I usually start work at 9pm and whenever we have an early meeting or gotta see the doctor early in the morning I feel like shit and scared. This I guess too can be categorized as a chronic attendance problem :)

xab9··on New drug offers hope to those with severe migraines
I don't want to sound like an asshole, but one from the world of chronic headaches, here is what I took away from the doctors in the last five years:

1. the brain is complicated and we don't know much about it 2. anything can trigger migraines 3. sometimes a trigger is not a trigger, but an ailment 4. some things may or may not cure migraines 5. life is full of hardships and hardships are not good for headaches

I have such a wonderful list of diagnosis that if it wouldn't be about the pain, I'd laugh my ass off about it.

← PreviousPage 3 of 8Next →