I love some of the community responses to the initial Benchy madness, such as the 3D Boaty, which is a bench.
HN user
Chernobog
Not to argue for or against Ozempic, but there is a difference between what motivated individuals can achieve on their own, and what one can expect of the general population.
I think your description of linting can be true, but not necessarily for every eslint configuration. I feel that I've landed on configs that feel useful to myself and the rest of the devs in the team. Even with a rule set that contains many rules that can look nit picky at first glance, no one complains since they are auto fixable, and fixing is a part of a commit hook.
There are a handful of rules that are nice to have in a TypeScript project to make sure devs don't do things that break type safety. Plus some that avoids mistakes from slipping through (even though the code is reviewed).
One thing I've found super useful is to have @typescript-eslint/ban-ts-comment enabled, but configured so that you can still use @ts-expect-error and the others as long as you provide a comment when doing so. This is so nice when doing code reviews, either someone has provided a very good reason for the exception, or it is clear that the same result could have been achieved with a better approach. Same goes for disabling eslint rules inline in a file, also allowed if commented. I feel that this is a very good compromise between being strict with linting, but also not letting linting get in the way.
I don't interpret neither OP nor the first comment this way. What is brought up is the hypocrisy of talking down on any cannabis user while being drunk at work yourself, and positive drug tests that are not related to actual intoxication at work (since cannabis can be detected for a while after coming down).
Or the 3D Bitmojis. My 2D one looks awesome, but the equivalent 3D version looks like a sex offender...
I highly appreciate the effort that goes into this!
The only pity is that I need VMware Fusion and it seems to be broken in the patched Ventura with no fix in sight. Stuck on Catalina for now on my 2012 rMBP.
I would just add some console.log message explaining the issue you have with hotlinking the script. This will not disrupt users, but anyone who fires up their devtools will see that the site is getting shamed. And if their devs care just a little bit, I think they will find it embarrassing enough to host the script themselves.
Correct me if I simply have missed it, but is there an official NPM package available? I have seen https://www.npmjs.com/package/sorttable and perhaps some of the sites would drop the script tag if "npm install --save-dev sorttable.js" is in the instructions and they have a build step for their JS anyway. Just thinking out loud.
While there are certainly problematic aspects of dark web markets, society do get some benefits. No physical contact between sellers and buyers, which reduces violence. Reviews of sellers and products makes it significantly easier to purchase safer drugs (for some drugs, adulterants and/or unpredictable potency are a bigger risk than the drug itself). This translates to fewer visits to the ER or morgue.
Edit: My personal opinion is that we should rid ourselves of the demand for dark web markets by regulating drugs. The regulations should focus on harm reduction, both for the users and society as a whole.
I have ADHD and my flavor makes me look well adjusted on the outside while struggling hard. My mother completely dismissed the possibility of ADHD based on things like me getting a Master's degree. People see the decent grades, but don't see that you put in three times the effort.
Everything got much easier after getting the diagnosis and medication as a 33 year old.
I think card companies and the related businesses have too much power. I am a board member of a BDSM club operated by a volunteer organization (we are legally a non-profit). We want to implement card payment on our website for membership and event tickets, but when applying for the service that would be the best option in our country, their payment processor rejects the application citing that they don't allow things like strip clubs, sexually oriented massage parlors, escort agencies or "any sexually-related clubs or services". I get that a BDSM club would easily get caught by this wording, but it's a social arena where our members can hook up and play, and we don't sell any sexual services.
Adding insult to injury, the company behind the service loudly markets that they support Pride every year. The payment processor has pictures on their Facebook of employees attending the Pride parade... We're not a commercial entity, our activities are legal and we also march under the same (rainbow) flag.
Oh, and there is no reasonable appeals process. We initially applied for a different product a while back and got rejected since they had run our web page through Google Translate and determined that we were involved with "public group sex". Asking the service to get is in touch with the payment processor to clear up the misunderstanding was not possible, they just said there was no way to appeal and our best bet would be to contact them ourselves through their website.
/rant.
I interpreted the post you replied to be directed towards the part about extortion, and not contrary to what you are writing. I agree with both.
The keyword here is "MTP device". Some phones mount as mass storage device and works out of the box, but MTP requires extra software/drivers.
I communicate with a lot of people on Facebook, but I hated that I ended up scrolling my feed. So I unfollowed everything and now I have an empty feed and nothing to scroll.
I realize many have reasons to get rid of Facebook entirely, but for me this was a reasonable compromise.
Even though I’m not going to use Windows 2000 again, this was an interesting read.
On a related note: I have an old scanner that I use about once every year. Drivers max out on XP support, so I installed Windows Fundamentals for Legacy PCs in a VM, which is a stripped down Windows XP. Perhaps someone in the W2k crowd would be happy with WinFLP as an alternative.
Came here to say this myself. Do awesome stuff, and you will attract awesome people.
You don't have to be the world's best in the thing you pursue either, to get noticed. For many hobbies and interests, there is a scene. And there are so many ways to contribute to that scene, such as helping arrange events or arranging your own. This will put you on the radar among a lot of people, and shine positive light on you.
AppleCare is such a non-issue here in Norway. We have five years of "reklamasjon" (think of it as kind of a mandatory warranty). I wonder how electronics would have been built if this was a global thing.
I'm not going to dismiss your experience, or your knowledge about the environment you describe, but we are most definitively not doing small scale development. Our company has a large software stack comprised of several backends and frontends, maintained by 8+ teams.
I maintain one frontend in this stack, and the review app produced will only contain my version of the front-end, and the API calls will go to the backends in the development environment.
Review apps for backend services will also point to the development environment if this particular backend needs to communicate with other services.
When a feature touches a frontend and a backend simultaneously, we can solve that in various ways. Sometimes the backend can be finished first, but if that's not feasible we can supply URL overrides for endpoints to the review app of the frontend, so it communicates with the review app of the backend (and uses the rest of the development environment for the other calls).
This works for us and might not be feasible for all projects/stacks/companies for various reasons. YMMV I guess :)
Another common critique is that the pull requests encourage reviewers to only look at the code. They never even pull down the changes they are reviewing!
Our CI automatically deploys a "review app" when someone creates a pull request. This simplifies code review, QA and demoing!
While not a tiling WM, check if Divvy could suit your needs. You can set up hotkeys to resize windows to parts of the screen. The screen is divided into a grid.
For e2e testing I have seen various patterns, and the article mentions data-test-id for instance. In my own tests, I have opted for something similar, that has given a bit more flexibility.
Singular elements: data-test-save-button, data-test-name-input
Elements that are a part of a list: data-test-user={user.id}, data-test-listing={listing.id}
This allows us to name our elements with data test attributes, but also provide values to them where applicable.
I have also created a testSelector function that takes id and value, and spits out either [data-test-${id}="${value}"] or [data-test-${id}].
We have also experimented with letting shared components popuplate their own data-test-* attribute automatically based on other props. Like in our modal component, which sets data-test-modal={title}. data-test-delete-user-modal vs. data-test-modal="Delete user". But in the latter case, the dev does not need to provide the data-test-* attribute manually, since the component takes care of it.
Thank you for elaborating! I remember I was really curious when they introduced them, since there had been a lot of focus in the community on stateless functional components before, and the benefits of their purity. Now suddenly they were renamed to function components instead, and as you say, are no longer guaranteed to simply be a function of their props.
I guess what we disagree on is whether that is an issue or not. What problems do you feel the current hooks API is causing, that could be solved with a different API?
That's a very general statement. I wouldn't accuse you of implying that it would also apply to e.g. Date.now(), but I firmly disagree that it applies to hooks.
I get that hooks are declared in the form of functions, and that pure functions are the desired pattern in many cases. But I like to think of hooks as hooks, not functions (emphasized by the naming convention of prefixing with "use"). We are in the context of React, after all, and I think it is comparable to critique of JSX because of "separation of concerns". Yes, valid critique in many cases, but not necessarily applicable to React.
Having been a React developer for over 5 years now, I think hooks solve a lot of problems that before would typically have been solved with Redux, Redux Saga and other libraries. Or with home made solutions, leading to various degrees of mess. From what I've seen, hooks have enabled React devs to write code that is even easier to understand, while also keeping things simpler and external libraries fewer.
I'm not sure they should. One thing is the environmental aspect, we want to avoid unnecessary waste and resource usage since that is one of the things destroying our planet. But another thing is, what happens when the market shifts heavily in a direction that is bad for the consumer?
Sure, you have a lot of good car choices today, but at some point it might be hard to find a car that has your other desirable specs in addition to being repair and modification friendly.
If everyone who bought a car was a well informed with at least a minimum of knowledge of cars, in addition to being able to calculate how repair costs will affect them over the time they own it, then sure. Let the market sort itself out. Since many aren't, let's keep regulations in place to ensure desirable properties.
Heck, imagine what safety features cars would lack if they weren't government mandated requirements...
In Norway, what we have today is something called TAB Xtra: https://www.coca-cola.no/content/dam/one/no/no/products/tabx...
I was convicted for drugs and firearms in Norway. The only time it has ever come up during my many years as a programmer, was when a consulting company I worked for had the police IT service as a candidate for my next project.
Since it was for the police, a background check would be required. I politely told my department head that I would not pass that, and a short summary of my case. At that time I had worked for about 2 years and got a kind "we would never have guessed" and "you will get another project then".
As a side note: In our country, an employer needs a legitimate reason to do a background check, and they won't see crimes that are not relevant, or for some crimes - too long ago.
You can even get SSD based USB sticks like the Sandisk Extreme Pro 3.1: https://www.amazon.com/dp/B01N7QDO7M
I bought one to run Windows on my Retina MacBook Pro. I only need Windows for gaming when visiting friends, and it works flawlessly for that purpose.
Given that an ARM version of Windows 10 exists, why do you say "almost definitively"?
I hope Windows 10 ARM will be able to to run on these. I think that might be the push W10 ARM needs to get recognized and have more native applications. It would be somewhat ironic too!
Wow, I'm have just started trying out the management track in my company, and your post is very motivating. As in, I thought I would lose out on the programming part, but if I end up with the same experience as you, I will make up for it by doing hobby projects again.
Afaik with that command you will not pollute the rest of the system, since there is no global flag. It will end up in node modules/.bin and can be executed with npm scripts.