Better HN
topnewbestaskshowjobs
Log inSign up

LocalPCGuy

1,031 karma · joined Jul 24, 2011 (15y ago) · 619 submissions

Submissions

comment 6y ago · link · parent

I've read quite a bit of it. It really depends on the claim. Speed is generally faster with longer lines, although it does seem like there is an upper limit. But comprehension and subjective judgement (yes, that last is hard to quantify) seem to be best between 40-60 characters (actually less than the commonly recommended 65 as seen in the original post here). Also, it's generally not line-length, but characters per line, that matters, and keeping the visual angle from changing as the user reads.

So it depends on what exactly is being measured, which is why I said the overall UX and not something more specific.

This is a bit older, well prior to the days of 4K displays, but lots of interesting stuff nonetheless: http://images3.wikia.nocookie.net/__cb20060729105544/psychol...

comment 6y ago · link · parent

Not the original commenter, but you would just write the container as full bleed and constrain the elements with-in it. That way any elements not so constrained are by default full-bleed. I'm of mixed minds which I like better, generally I prefer less elements and less nesting when possible, but there are almost always going to be wrapping elements in any mildly complex site.

comment 6y ago · link · parent

Two reasons. One, the designer of the site has a specific UX and UI in mind, and that is their decision. If you don't like it, you can hack it with local CSS or just use a different site.

Two, (I know you don't care, but for others reading) there are studies that show that for the vast majority of people, width constraints make it easier to read. So there is good reason to enforce those constraints in the design from a usability perspective, not just a design perspective.

Sorry you don't care about the research. When I'm building a site I absolutely DO care about the research, and what will make it work the best for the largest number of people.

comment 6y ago · link · parent

> So all documentation website should now have that max line widht to better retent the content?

Absolutely.

comment 6y ago · link · parent

AngularJS is obviously shrinking. It's the 1.x version, and no one should be starting new projects with it. I don't think anyone is referring to AngularJS. When people say Angular, they'd be referring to v2.0+.

comment 6y ago · link · parent

This is a popular opinion particularly if all someone pays attention to is Twitter and Reddit but I'd argue it is a wrong opinion.

Angular is alive and well, and being used/adopted every day for projects no one hears about. It isn't the "sexy" choice, but it is the one a lot of companies make.

And if you're gonna point to opinion polls, and all kinds of respect to those who put them out, but they have a hard time capturing Angular usage due to selection bias.

comment 6y ago · link · parent

https://en.wikipedia.org/wiki/Democrat_Party_(epithet)

> Democrat Party is an epithet for the Democratic Party of the United States, used in a disparaging fashion by the party's opponents. While the term has been used in a non-hostile way, it has grown in its negative use since the 1940s

comment 6y ago · link · parent

As @wongarsu said, I think running the DB separately makes a lot of sense. Also, that (in theory) protects any ENV variables on the main host server from exposure if your DB is compromised. And the DB is likely better protected and up-to-date if you use a DB-as-a-service. But I wouldn't go extreme either. There are a lot of hidden costs associated with utilizing additional machines, whether they be via lamda functions, VPSs, etc.

One other good thing about keeping things separate is updates in theory should be easier, as besides OS stuff, you only have a handful of applications on each machine. But again, for small apps, it's generally not worth the extra complexity. 3 platforms is likely as far as I go (client-side server, API, DB) in the majority of cases with small apps, and most of the time I'd probably just go with 2 assuming Node can serve both the client and API.

comment 6y ago · link · parent

If the pepper is stored as an environment variable, adding it in addition to the salt can be a minor increase in the password security. The thing is it often isn't that hard to get if someone has access to your server.

If it's just the db that is exposed though, it could be a small added layer of protection.

And yes, I would not ever do it instead of a salt.

comment 6y ago · link · parent

The Firefox search also searches open tabs a lot. Which could be even quicker than using the mouse. There is a limit on Chromium browsers - tabs smaller than the favicon aren't really that useful.

comment 6y ago · link · parent

For people with a lot of tabs, I recommend trying a Vertical Tabs add-on. I am currently using Vertical Tabs Reloaded, but there are a couple different ones. Usually people have plenty of horizontal space and you have a scrollable sidebar with all your tabs in it.

comment 6y ago · link · parent

Kumanu | Software Engineer | Ann Arbor, MI or Remote | Full-time

Kumanu is an innovative technology company synthesizing breakthrough behavioral and data science with elegant design to deliver performance through purpose to individuals, teams, organizations, and communities. We prize ideas, creative problem solving, a vibrant sense of humor, and above all, a passion for the role purpose plays in our lives. We offer excellent pay and benefits and a positive, dynamic, collaborative and purpose-driven work environment.

Kumanu is currently seeking an enthusiastic software engineer to join our team full-time. The position will be remote to start, but eventually could be located in our Ann Arbor headquarters or continue to be remote. The person we are looking for should be skilled in Node (particularly API development) and Database development (PostgreSQL). Bonus points for other areas in our stack such as Angular (Typescript), Flutter (Dart), Python/ML.

https://www.kumanu.com/careers/

comment 6y ago · link · parent

I don't disagree with the general sentiment, but I don't believe the reasoning is actually true. Generally companies pool their employees into a risk pool. Smaller ones will find a broker that does it, larger ones probably do it with their company population. But in general, the risk gets spread out enough that a couple individuals do not cause insurance to spike.

I could be wrong also, not an expert by any means, but that is basically what our HR rep told me when I inquired (not because of age but because my wife is high-risk/high-cost, depending how you look at it). I was told that was not part of the equation because of how it was setup. It could if it was a small enough business that tried to negotiate something themselves, maybe?

comment 6y ago · link · parent

I would guess it does matter about the language, but likely because as the language changes the font itself may actually change. And different fonts would have different relative font sizes. But like you, I haven't investigated it enough to make a definitive statement about it.

comment 6y ago · link · parent

It's also good to remember that new devs make up something like 50% of the developer population each year (I forget the exact number, maybe it's every 2 years). So while this may be basic information to someone who's been doing this for at least a few years (and I'd argue it isn't, particularly since the site isn't aimed at Front End Devs, per se, but others who have to do front end development), it is valuable information for the target audience.

comment 6y ago · link · parent

Most are from very respected people to help others benefit from their knowledge and to avoid the pitfalls they ran into a various levels of scale. Do you need BEM for a brochure-ware site, no, styling by IDs and tags would probably work just fine. But a web app with 1000s of lines of code, while I don't specifically endorse BEM, some sort of pattern and methodology will save you a world of pain in the long run.

comment 6y ago · link · parent

I prefer a combination of reset/normalize, but because of that I agree with your statement re: learning from what you are using. Then you can make informed choices about how you are using those things.

comment 6y ago · link · parent

Front end development is a craft, just like other crafts. People need to treat it seriously if they expect to be taken seriously and be paid accordingly. (BTW, if you still haven't met a FE dev who's ever read a book on CSS, you have now. I own quite a few AND have read them.)

I also think a lot of the value from a front end developer comes from their ability to merge the technical requirements with a designer's vision, and produce a product that is at the same time usable, accessible and (bare minimum) meets the technical requirements.

Not going to touch the CSS Grid except for two quick comments:

- they absolutely should have been keeping up with CSS Grid, where it was at, and when it was usable and when it isn't

- it is still an open question, because although the overall numbers should 90+% available in browsers, you have to check your own stats. For example, the stuff I work on is often used in Enterprise environments, so IE11 is a requirement (yes, we know our numbers, it is, it could literally cost us 6 figure sales if we don't have support for it). We are using CSS Grid, but we have to be very careful what we use it for and to test those uses in IE to make sure the old Grid spec in IE supports the things we do it with. Otherwise it's back to Flex or other layout techniques. It's not a silver bullet, but I also recognize that is becoming a more unique example these days.

Those are the kinds of things a good FE dev should know though, IMO, and be able to articulate.

Plus, FE devs also need to know HTML and semantics, accessibility, and of course, Javascript. When you can put that all together along with the skills earlier re: usability and accessibility, then you can justify the higher salary brackets.

comment 6y ago · link · parent

I use the Developer Edition - it is ahead of beta but more stable than Nightly.

comment 6y ago · link · parent

It was a joke mostly - but specifically, I find it funny that a portion was read, and instead of just moving on, felt the need to poke at the article without at least finishing it. That is the "error" - who knows, maybe your criticisms were addressed later on? We'll never know :P

(like I said, it was mostly in jest, so don't take it too seriously, please)

comment 6y ago · link · parent

Two things for your last comment - in reverse order:

- Usenet is likely the "best" option because it's super niche due to it's age. Only a certain subset of people even know it exists, much less use it, and the effort to track down anything except the most popular stuff is just too expensive.

- I think file sharing in general started to die off because streaming services actually provided a good alternative for a while. Right now, they are basically online cable companies though, and I feel like a new re-surgance of file sharing is likely coming as a backlash. As the prices go up, the fragmentation explodes and items come and go as contracts, consolidation and new launches affect availability, people will be frustrated and look for alternatives, legal or not.

comment 6y ago · link · parent

I found an error in the first sentence of your post that dissuaded me from giving the rest of it much credence. Saying you didn't read it, but decided to comment anyways.

comment 6y ago · link · parent

A significant number of companies, particularly those in Silicon Valley, adjust remote pay based on cost of living in various areas.

comment 6y ago · link · parent

Been using Firefox daily as my development browser for the last 6 months. Started as an experiment, but stayed because I liked it.

The only thing I noticed is that sometimes Chrome's errors in the console are slightly better. I prefer Firefox's HTML/CSS panels, and the CSS Grid/Flex support is generally better. As anything, this comment is a point-of-time comment, they are both iterating rapidly, and when one adds something people like, the other usually pushes it in also.

comment 6y ago · link · parent

For some reason I read that as "Two thumbs ago, would drill again" and was sad for you and your drill press accident(s).

comment 6y ago · link · parent

Depends on your customers. Can't just look at the stat counter usage sites and determine based on that. You have to look at who uses your site, and then decide what the financial impact of not supporting IE is going to be.

Where I work, we sell into large companies, where IE may be a default browser without the ability to install an alternative. Therefore, we support IE11 (only version of IE still officially supported). Financially, it would be irresponsible not to, as it could kill 6 or 7 figure contracts if the CEO tries to use our software and it doesn't load or just shows them a "upgrade your browser" page.

But even then, we do make allowances for IE. It is slower. In fact, some of the speed issues come from adding polyfills for things we deemed necessary for efficient development. It may not have exactly the same layout (for instance, we use an accordion to reduce the number of elements on a screen for IE on one page, but a list of carousels in browsers that are capable of handling the extra complexity).

We actually attempted to use CSS Grid, and it mostly worked. We've since stripped most of that out except some of the base page structures - just too many edge cases. And flex actually works fairly well as long as you stay away from some of the well-defined known issues.

Anyways, to the main point - has to be a site by site decision based on your site's visitor base, their browsers, and whether it makes the financial sense to spend the time supporting IE compared to the return you may get.

comment 6y ago · link · parent

Yup, I disable "tab = most recent" both in IDEs and Firefox right off the bat. I don't understand it at all.

comment 6y ago · link · parent

I haven't used bookmarks since the De.licio.us days. Most of the time if I do close a tab and need the information again, I know what to search to find it again. The searching in bookmarks is not as good as Google search. And I've been down the route of trying to meticulously organize bookmarks, and I find that in the midst of opening a bunch of tabs while "researching" something, that doesn't happen and so things are just a mess. Or when looking for them the original categorization doesn't match so I don't find it when looking at folders (same reason I prefer labels like in GMail over email folders).

comment 6y ago · link · parent

My wife gets a lot of email, most of it marketing stuff. Most email links will not work with PiHole enabled due to the massive amount of tracking they go through. I always know when she's checking her email if I'm on my phone, cause all of a sudden I start seeing ads for a few minutes.

comment 6y ago · link · parent

Not sure how it holds up, but Secrets of the Javascript Ninja was the book I read when I felt like that, and it significantly helped me understand a few concepts I had struggled with. By John Resig (created jQuery). But it's a few years old now, so likely won't cover much if any ES6+ stuff. But I'd bet the concept stuff is still very valid.

Also the You Don't Know JS series. And Elliot's Programming Javascript Applications.

I don't know you, so I don't know if this applies or not, but be careful not to fall into the "expert beginner" trap (i.e. Dunning Kruger). Your first sentence starts to feel that way, but the fact you're asking for more resources and aware there are things you don't know are good signs. Always keep learning, the rabbit hole goes ever deeper.

1
111213
21