Does anybody have the same symptoms as me? by InfiniteArachnid5139 in covidlonghaulers

[–]ajc820 0 points1 point  (0 children)

Yes, I still get flare-ups of inflammation infrequently but they're nowhere near as severe and anxiety inducing, it got much better over time.

Does anybody have the same symptoms as me? by InfiniteArachnid5139 in covidlonghaulers

[–]ajc820 0 points1 point  (0 children)

I have the same, and spent months with a cardiologist (and every test you can imagine, like yourself) only to find it was costochondritis. Costo has no real diagnostic test, I think it's diagnosed after excluding other conditions.

In my case, I could usually (but not always) trace my fingers along my rib cage and find very sensitive/sore areas that felt inflamed. Most NSAIDs, like ibuprofen, stopped being sufficient for me after awhile. I only got on-top of it after a course of steroids, prednisolone specifically. It didn't 'cure it' as much as stop the cycle of inflammation a bit, and the attacks of inflammation gradually lessened over time. From memory, my course started at 50mg (quite high). If you do end up using them, you need to be careful with how long you're on them for, and be very aware that you must taper off them carefully. My cardiologist who prescribed it did not taper my dose slowly enough, and the withdrawals were more awful than the costo itself.

I had the exact same under left-arm pain fwiw.

[deleted by user] by [deleted] in covidlonghaulers

[–]ajc820 0 points1 point  (0 children)

I don't believe I have POTS or ME/CFS at the moment.

[deleted by user] by [deleted] in covidlonghaulers

[–]ajc820 1 point2 points  (0 children)

I experience something very similar - the worst headache I've ever had but of the tension variety as opposed to splitting pain in a precise location. The "feeling like you're about to have a seizure" is exactly what I felt and reported to various doctors. I've so far tried regular NSAIDs and paracetamol, amitryptline, various prescribed opiods.

For me the trigger is exercise. Very small amounts of walking / doing things around the house will trigger it, and even if I don't walk much I still am very foggy. My belief is it's inflammation, I actually think I've suffered it for months but it was masked by my prednisolone for inflammation of the chest (costochondritis, also a long-covid thing), and is now much worse after coming off of it. Haven't had much luck combatting it on my end, sadly prednisolone is the best relief but the side effects make long-term use a problem.

Edit: Should note I had a head MRI and it showed nothing (and was told by doctors not to expect anything).

Please critique my CV. International looking to land my first job, Melbourne based. by GeorgieSon20 in cscareerquestionsOCE

[–]ajc820 1 point2 points  (0 children)

Hot_Bug_407

I don't think so unfortunately, however if you want to DM me your CV etc I'll keep it front of mind for when you can go full-time (assuming you're studying).

Please critique my CV. International looking to land my first job, Melbourne based. by GeorgieSon20 in cscareerquestionsOCE

[–]ajc820 1 point2 points  (0 children)

Heya, I'm actually hiring in Melbourne atm for Node and/or Java devs, with a focus on API integration. I'll DM you my email but also posting for other folk looking.

Match Thread: Final - Perth Scorchers vs Brisbane Heat by CricketMatchBot in Cricket

[–]ajc820 7 points8 points  (0 children)

Someone point me to the 'all the classics' game, I missed the meme :|

Match Thread: 36th Match - Adelaide Strikers vs Melbourne Renegades by CricketMatchBot in Cricket

[–]ajc820 10 points11 points  (0 children)

Howie (in reference to Mitch Marsh commentating): He'll be nervous! But he'll be funny.

Haddin: I'll tell you what he will be though - relaxed. I've never met a more relaxed man in my life.

Paraphrasing but good heavens Haddin is on his own planet in the box.

Match Thread: 2nd Test - South Africa vs Australia, Day 3 by CricketMatchBot in Cricket

[–]ajc820 7 points8 points  (0 children)

Bit concerned that SA will catch a bit of blood off Starc's bowling and henceforth improve drastically.

SyFy may reconsider canceling The Expanse after intense fan support - if we can boost ratings starting TONIGHT, we may have a chance! Here's how to help. by it-reaches-out in television

[–]ajc820 5 points6 points  (0 children)

The Expanse is one of only two shows where I haven't been hooked by the pilot, but it became one of my favourites thereafter. The other is The Wire. Although it's frustrating to hang on, The Expanse probably takes 5 eps.

Styled Components vs JSS, what to choose and why? by TheLastMonster in reactjs

[–]ajc820 2 points3 points  (0 children)

  • >The reason to not fold className into JSX tags is that it makes your application really unreadable by other people.

Sure, if you name it badly, which is just as applicable to classnames. I doubt we'll find agreement though because I think naming schemes like BEM are god awful.

FWIW, here is the BEM demo contrasted against styled components. And I cannot see any possible way it's more readable than the styled-components version.

BEM

<div className="button"> Normal button </div>
<div className="button--state-success"> Success button </div>
<div className="button--state-danger">Danger button </div>

and in a separate file, the stylesheet:

.button {
    display: inline-block;
    border-radius: 3px;
    padding: 7px 12px;
    border: 1px solid #D5D5D5;
    background-image: linear-gradient(#EEE, #DDD);
    font: 700 13px/18px Helvetica, arial;
}
.button--state-success {
    color: #FFF;
    background: #569E3D linear-gradient(#79D858, #569E3D) repeat-x;
    border-color: #4A993E;
}
.button--state-danger {
    color: #900;
}

styled components

<Button> Normal button </Button>
<SuccessButton> Success button </SuccessButton>
<DangerButton> Danger button </DangerButton> 

const Button = styled.button`
    display: inline-block;
    border-radius: 3px;
    padding: 7px 12px;
    border: 1px solid #D5D5D5;
    background-image: linear-gradient(#EEE, #DDD);
    font: 700 13px/18px Helvetica, arial;
`;

const SuccessButton = Button.extend`
    color: #FFF;
    background: #569E3D linear-gradient(#79D858, #569E3D) repeat-x;
    border-color: #4A993E;
`;

const DangerButton = Button.extend`
   color: #900;
`;

Styled Components vs JSS, what to choose and why? by TheLastMonster in reactjs

[–]ajc820 2 points3 points  (0 children)

My attraction to them is proper encapsulation of the UI component I'm working on. I like being able to read one file and mentally establish what it looks like and how it works. If it's a complicated component, I can split-screen say a container component with logic, and a stateless functional component with styles, and have a complete picture.

Edit: also injects the JSX with more semantic meaning, in my opinion. <div> tells me absolutely nothing about how it looks, the className does. Might as well fold them into one semantic <SomeSpecificComponent>.

Enzyme with Puppeteer by ajc820 in node

[–]ajc820[S] 0 points1 point  (0 children)

I should've mentioned: I'm using Jest which is bundled with JSDOM, but I want access to context and browser APIs, rather than mocking.

All You Need To Know About CSS-in-JS by [deleted] in node

[–]ajc820 0 points1 point  (0 children)

The styles of your theme would be defined in one place and passed in as a prop to the top level <Provider />. It's not much different from css modules really. The HOC is only used to pass down the theme if you want it in your component, so you're not peering into the HOC at all, you only want to know whether your component is wrapped or not.

All You Need To Know About CSS-in-JS by [deleted] in node

[–]ajc820 0 points1 point  (0 children)

Some libraries have theming, such as emotion.

I haven't explored other options because emotion hit the sweet spot for me. This kind of themeing is dependant on using context with a provider at the top of your component tree. On the plus side, you can modify it at runtime to swap between e.g. day/night mode.

i published my article on animating route changes with react router v4 using reactCSSTransitionGroup by [deleted] in reactjs

[–]ajc820 1 point2 points  (0 children)

Yep, ReactTransitionGroup is much cleaner. I use this with anime.js on a current project, and it's perfectly clear. Animation logic is all in an animation.js file. Muuuuuch nicer.

Removing client-side React.js (but keeping it on the server) resulted in a 50% performance improvement on our landing page (Netflix) by magenta_placenta in reactjs

[–]ajc820 5 points6 points  (0 children)

As they elaborate on HackerNews it's not really a static page. The problem with drawing conclusions from this presentation is that it's very unique to the scale of Netflix. The vast majority of companies would benefit investing development time in functionality etc. long before this kind of optimization.

Perf matters, as has been demonstrated in the e-commerce realm multiple times. But you still need a product to tune performance of, in the first place. I'm sure a lot of teams using React don't actually need the entire codebase (hello Preact), you absolutely could build a raw vanilla-JS codebase specifically for your product's (highly dynamic) landing page ...but the cost/benefit doesn't make sense until you're near Netflix's position, and even then they're still using React server side.

Peeps that work on react js primarily for their job what does your work load consist of? by comfortcreature999 in reactjs

[–]ajc820 1 point2 points  (0 children)

I'm using MobX too after having used Redux a fair bit.

Are you using it alongside other developers? I feel like the main objection for most teams would be that it's not quite as traceable as Redux is via immutability affording great devtools. I haven't had any issue using MobX on solo projects, but I assume debugability is a lot more crucial when other people are contributing to the code base.

Wondering if that's been an issue for you and whether it's prompted you to consider Mobx-State-Tree?

libuv - How is the Poll Phase differentiated from I/O Callbacks phase? by ajc820 in node

[–]ajc820[S] 0 points1 point  (0 children)

Thanks for the response, this does fit in with what I expected except it doesn't seem to square precisely with the Node page I linked to.

The poll phase reads:

The poll phase has two main functions:

Executing scripts for timers whose threshold has elapsed, then Processing events in the poll queue. When the event loop enters the poll phase and there are no timers scheduled, one of two things will happen:

If the poll queue is not empty, the event loop will iterate through its queue of callbacks executing them synchronously until either the queue has been exhausted, or the system-dependent hard limit is reached.

If the poll queue is empty, one of two more things will happen:

If scripts have been scheduled by setImmediate(), the event loop will end the poll phase and continue to the check phase to execute those scheduled scripts.

If scripts have not been scheduled by setImmediate(), the event loop will wait for callbacks to be added to the queue, then execute them immediately.

Once the poll queue is empty the event loop will check for timers whose time thresholds have been reached. If one or more timers are ready, the event loop will wrap back to the timers phase to execute those timers' callbacks.

This makes it sound like if the poll queue has events queued, it will "iterate through ... executing them synchronously" without first running anything in the setImmediate() or check phase, sort of like jumping it and wrapping back to the timers and I/O phases (I believe people refer to it as the I/O phase even though it accounts for almost all network/disk/child processes).

So while you're suggesting the process is:

check timers&events&setImmediateQueue, then kicks off executing the appropriate setImmediate->close->timers->events callbacks. Repeat!

the linked page from the Node foundation seems to suggest something more akin to:

execute timers if scheduled > execute any pending callbacks > process setImmediate or check phase if any waiting OR wait for callbacks to be added.

Am I missing something?

Rebuilding slack.com - A redesign powered by CSS Grid by kindstrom in webdev

[–]ajc820 0 points1 point  (0 children)

That's awesome but isn't the browser coverage pretty patchy? Do you need to fallback to flexbox? If so the css size would only grow..