1,095 karma · joined Mar 31, 2015 (11y ago) · 229 submissions
31.
Google Internal Comics(goomics.net ↗)
549 points · by interlocutor · 5y ago · 212 comments
comment 5y ago · link · parent
Imagine for a moment that your current employer is paying you significantly less than the market value for your role based on your skills and experience, and attempts to request a review of your compensation have been rejected. You may then consider looking for work elsewhere. It’s likely that the question of your current salary will come up at some point during the interview process with a potential employer.
What would you do in this situation? On the one hand, if you’re honest about how much you currently earn, the potential new employer may be reluctant to offer a significantly higher wage… even if it is the “market value”. On the other hand, if you exaggerate your current salary to reflect a figure that’s on-par with what you should be earning, you risk getting caught in a lie when that employer screens you using The Work Number. Clearly, neither situation is ideal.
comment 5y ago · link · parent
Scientific information about how magnesium works is hard to come by. Here's what I have been able to gather from various sources: The cells in your body need calcium to go into "on state". To go into "off state" magnesium has to go in and displace calcium.
When your body is low on magnesium your muscles can't go into "off state" and your muscles become stiff. To relax you need an Epsom salt bath (it contains magnesium) or just take magnesium supplements.
When your brain cells can't go to "off state" you can't sleep. You need magnesium to help your brain cells go into off state. However the "blood brain barrier" (look it up) prevents magnesium from easily entering the brain. Magnesium l-threonate (that's a compound of magnesium, not a brand name) can pass through this barrier and help you sleep.
I have had sleep issues for many years. I saw many doctors including sleep specialists but all they wanted to do is put me on prescription meds. But these meds are addictive and you have to take it for the rest of your life. I didn't want that. These are "quick fixes". As a software developer I was interested in finding the underlying problem and fix that, as opposed to the quick fixes that the medical community was offering me.
A breakthrough came when I saw a naturopathic doctor for my stiff muscles and she advised me to take Epsom salt baths. That seemed to help. I investigated more and found out that the ingredient in Epsom salt that helped me is magnesium. Then I found out that you can actually get magnesium pills and tried that. That worked remarkably well. But the big surprise was that I slept better the night I tried the magnesium pill. Since then I have been researching how it is that magnesium helped me sleep.
Stress depletes magnesium in your body. If you are a software developer you are stressing your brain all day when you do your job and you are depleting magnesium. Low magnesium levels causes muscle issues as well as sleep issues. Magnesium supplements solve the problem.
It is very unfortunate that medical doctors don't seem to be very knowledgeable about this topic. When I see doctors I mention that I am taking magnesium for muscle and sleep issues and they seem surprised, but no doctor has yet told me that I am wrong.
Note that magnesium is a natural mineral, not a drug, essential for your body, and found in many foods. Excess amounts of magnesium can cause a laxative effect, but this is very temporary.
comment 5y ago · link · parent
No it wouldn't, not for an enterprise application that is supposed to last a decade or more. Instead you want to use standards such as Web Components that will last essentially forever.
comment 5y ago · link · parent
I would argue that you don't need a heavy framework to make maintainable JavaScript application. For large enterprise applications that must last a decade or more you want to use standards (such as Web Components) implemented by the web browser itself instead of third-party libs such as React.
comment 6y ago · link · parent
40.
Dys-Functional Programming in JavaScript(medium.com ↗)
1 points · by interlocutor · 6y ago · discuss
comment 6y ago · link · parent
https://www.marketwatch.com/story/welcome-back-cubicles-long...
comment 6y ago · link · parent
The stock market psychology works on "buy on rumor, sell on news" principle. This is the reason there was a significant rally yesterday, and stocks are in negative territory today.
What the Fed should have done is give signals that they are about to cut interest rates, then give stronger signals, then even stronger signals, then cut interest rate by 0.25% then repeat for the next 0.25%. Markets would have rallied multiple times for each good news signal.
comment 6y ago · link · parent
In fact Facebook has used this technique very recently too:
A security researcher noticed the tech giant was prompting some users to type in their email passwords when they opened an account to verify their identity. And after they were caught... Social networking giant Facebook said on Wednesday evening it may have “unintentionally uploaded” the email contacts of up to 1.5 million users on its site, without their permission or knowledge, when they signed up for new accounts since May 2016.
Read more about this: https://www.nbcnews.com/tech/tech-news/facebook-says-it-unin...
comment 6y ago · link · parent
In fact, it is easier to list UI frameworks that are not MVC-based: WPF, which is based on MVVM and React+ReactRouter+Redux, which is based on Flux.
MVVM was invented in order to support 2-way data binding. Inspired by WPF, many early JavaScript frameworks supported 2-way data binding. These days 2-way data binding is widely acknowledged as a poor design as it makes it hard to keep track of how data is flowing through your application. For more on that see [1].
React was originally introduced as the "V in MVC" [2]. Since then it drifted away from MVC in an ad-hoc manner. In part this is because of ReactRouter, which made router a view component (!), and in part this is because of Flux/Redux. The facebook engineer who came up with Flux famously declared that MVC doesn't scale (!!). This assertion was widely challenged, and later she acknowledged that it is bidirectional data flow that doesn't scale [3]. She had assumed that MVC automatically implies 2-way data binding. Redux, an implementation of the Flux architecture then became popular, and became closely associated to React, so much so that many developers believe using React implies using Redux. This is unfortunate because Redux requires tons of boilerplate ("so much throat clearing", as one developer put it), which MVC does not require.
[1] https://changelog.com/131/ (starting around 0:43)
[2] https://github.com/facebook/react/tree/015833e5942ce55cf31ae...
comment 6y ago · link · parent
No they don't.
> I think the point is that Facebook found it doesn't actually work well, at least for their use cases. They found a recurring set of bugs caused by two-way data flow, and built a framework to alleviate it.
But MVC doesn't mean two-way data flow.
comment 6y ago · link · parent
This is so incorrect. MVC doesn't imply two-way data binding. The whole Flux architecture was based on a misunderstanding of MVC, and is therefore questionable.
Most UI frameworks, including iOS, ASP.NET Core, JSP and JSF (Java based frameworks), Ruby on Rails, and Django (Python) are all based on MVC.
Why is it that MVC works for all these other frameworks, but doesn't for React? The answer is that MVC does in fact work for React. React itself originally used the tagline "React is the V in MVC". Flux/Redux introduce needless complexity and unnecessary boilerplate. There are MVC libs that make React much easier to use.
comment 6y ago · link · parent
[1] https://techbeacon.com/security/why-equifax-breach-should-ne...
comment 6y ago · link · parent
Couldn't disagree more. Kubernetes is extremely easy. I work mostly in frontend, and despise devops. Or used to. Until Kubernetes came along I had no way of easily creating a load-balanced scalable service.
First learn Docker. This is independent of Kubernetes. Docker is awesome in and of itself. In Azure you can deploy web sites as docker images and there are tremendous advantages to that over traditional deployment. Once you have learned Docker you are ready to learn Kubernetes.
If your app consists of multiple microservices then you have more than one docker container. This is where Kubernetes is helpful. Kubernetes has built-in DNS, so your microservices can contact each other using DNS names.
Learn how to deploy containers as Kubernetes ReplicaSets. Then learn how to add a Kubernetes Service on top of it, then learn how to add Ingress. None of this is hard.
Kubernetes is a pleasure to use, because of commands such as "kubectl exec" to log into the container, "kubectl log" to see the log without logging into the container, "kubectl cp" to copy files in and out, "kubectl port-forward" to make a service appear to be running on your devbox and so on.
comment 6y ago · link · parent
comment 6y ago · link · parent
https://www.theguardian.com/guardian-professional/2015/jun/2...
https://blogs.scientificamerican.com/guest-blog/engineering-...
https://www.wired.com/2014/08/silicon-valley-sexism/
https://blog.hackerrank.com/which-countries-have-the-most-sk...
Developers in India are 3-times more likely to be female than developers in the United States. https://insights.stackoverflow.com/survey/2015
comment 6y ago · link · parent
[1] https://www.nationalgeographic.com/environment/2019/07/how-t...
[2] https://blogs.microsoft.com/blog/2020/01/16/microsoft-will-b...