Better HN
topnewbestaskshowjobs
Log inSign up

CSSer

2,366 karma · joined Mar 15, 2019 (7y ago) · 973 submissions

Sometimes fascinated by pieces of cheese
Submissions

comment 6y ago · link · parent

I'm not totally anti-jquery, but it helps to stay lightweight. If convenience is what you're after, you can always just bind querySelector and querySelectorAll to the document and assign each to a variable like this: https://dev.to/mrahmadawais/use-instead-of-document-querysel...

comment 6y ago · link · parent

Before I say anything, it’s probably worth noting that I write it for a living. Is it bad that while I was reading this I felt like you might be talking about JS? Or are we talking much more broken?

comment 6y ago · link · parent

Where did the restaurants and the school get their food from? I know that means a great disruption, but I’m still not convinced that means a shortage.

comment 6y ago · link · parent

Not sure how thorough they’re trying to be here, but some of their language is out of date since the bill was revised and passed.

There _is_ some oversight of the treasury secretary because of Senator Schumer and co. For more information, see Schumer’s comments on the day the bill passed the Senate at congress.gov. I’ll edit and update if I can find the link.

Granted, it’s not the best, but it’s something.

comment 6y ago · link · parent

According to [Senator Rubio’s comments](https://www.congress.gov/congressional-record/2020/03/22/sen...), maybe.

Here’s a quote:

> For the first time ever, we have also included most (c)(3)s--(c)(3)s and not-for-profit (c)(3)s--independent contractors--people who work on 1099s--and gig economy workers who consider themselves a business, even though they have one employee and maybe no real estate that they operate from, but, nonetheless, they consider themselves that.

comment 6y ago · link · parent

It’s a nice proof of concept though. I think that further applying the second part of the article (masking) to lighter parts of the image at a different intensity could provide a more accurate simulation.

Edit: I really have no idea what I’m talking about. I’m just guessing it can definitely be improved upon. I probably should’ve stopped at it’s a nice proof of concept (like most free content) :)

comment 6y ago · link · parent

For context, this was ~2008. I got my first personal laptop in middle school the only way I could manage: buy a two and a half year old hand me down Toshiba from my uncle for $200. It was too slow to be updated to a new Windows OS and I couldn’t afford the license anyway. My neighbor, a govt. systems programmer, told me about Linux. I looked it up and found Ubuntu. I installed it and encountered all of the problems the parent comment described. I learned a _lot_ for a 13 year old thanks to a great deal of very patient people on IRC. I spent most of my time alternating between debugging audio drivers so I could listen to music and trying to get wine to work so I could play games. When things were really running well, I’d mess with fancy window managers. This resulted in a lot of broken 3D drivers. Although I’ll admit I was interested in the naughty stuff, I either wasn’t motivated enough or wasn’t dumb enough to try it. Without a doubt, I screwed things up weekly. But 99% of my problems came from sudo apt-get upgrade rather than some other source. On some level, it blows me away to hear stories of people intentionally borking things like this. Perhaps I did stuff like this, quietly fixed it, and then forgot about it. Alternatively,when people taught me dangerous commands, I guess they just did a good job of explaining why and how they were dangerous.

Regardless, even if most will eventually do the worst, isn’t it worth it? Perhaps not in the case of the server, but arguably even then one could (perhaps facetiously) just say that the sysadmin learned as much as the student. For me, one thing is certain. It made a huge impact on my future.

comment 6y ago · link · parent

Latin translation: “It is sweet and fitting to die for the homeland”

comment 6y ago · link · parent

Forgive me, but is this a joke? You have an 8K monitor? If yes, would you mind if I asked why and how you use this? What makes it worth it?

I’m in the market for a new monitor. I’m coming from the first “nice” monitor I’ve ever had: a ~$300 27 inch LG HDR 4K. I thought it would be perfect, but to be honest it leaves a lot to be desired. It’s not even bright enough to beat the light coming through my office windows. What am I really paying for at these higher price tiers? Is it possible to meet somewhere in the middle? I do graphic, but not video, work.

comment 6y ago · link · parent

This is fantastic!

It would be nice to have a select input with countries that would update the population input based on the country selected. e.g. "United States of America - 327,000,000". It also may be nice to have a text input along with the range such that you can choose to either manually key in a value or use the range.

comment 6y ago · link · parent

At the risk of sounding somewhat naive, I think people do have the capacity to grow over time. Perhaps part of the reason why Microsoft has seemingly turned over a new leaf in recent years is that upper management has learned from their past mistakes? I do see your point though, and I think it's stuck in the back of a lot of our minds.

comment 6y ago · link · parent

Got it. That makes more sense. Thanks!

comment 6y ago · link · parent

As someone who thinks both parent comments have a point, I don’t really think they’re putting words in OP’s mouth at all. I think the interpretation that OP really seemed to suggest that we should bring it all home is a valid one. And I get it. I agree with you. There’s probably some things we should make here that we don’t. It’s becoming very clear that wholly interdependent Globalism isn’t a cure all, utopian destination for the future. But at the same time, I think the above post has at least some credence to it. There’s a reason people chose this. Perhaps it’s just the tone that makes it so off putting?

Edit: it’s been pointed out to me that the above comment was thoroughly edited after posting, which puts this into better context. Sorry about the confusion

comment 6y ago · link · parent

Was there some ninja edit that occurred here? I’m looking at both your comments fresh, with OPs only 5 minutes old, and I don’t see the word ‘nationalist’ anywhere.

comment 6y ago · link · parent

A lot of people swear by stuff like iTerm2, but I'm almost a little ashamed to admit that even though I have iTerm configured to my taste, I often still reach for macOS' native terminal. It's not gloriously beautiful or anything (basic Zsh with powerline for the shell), but it just seems to work great without the frills.

Little shortcuts that think of stuff like this without any configuration (iTerms is impressively extensive) are just a cherry on top. It kind of bums me out that's not linux native. Do you know of any other useful shortcuts specific to macOS? I've been using ctrl+L for the longest time. Thank you for sharing!

comment 6y ago · link · parent

I’m surprised more people on here aren’t using something like https://alpaca.markets. It’s primarily for algo trading, but there’s nothing stopping you from using it generally, as it is an API, after all.

comment 6y ago · link · parent

Yup, pretty much. I’ve not worked extensively with Forestry, but I have with Netlify CMS, which is an alternative with a very similar premise. My experience was that it’s very difficult to build a robust CMS on top of markdown. If basic content editing is what you need, great! If, however, you need to accommodate a variety of conditions, things get dicey fast. The issue is that it’s exceedingly difficult to program or direct a CMS how to reason about even the most rudimentary primitive values or types in something as simple as markdown. After all, things are either there or they’re not. This can quickly causes your view layer to swell into an unmanageable mess.

Overall, I’d use it for personal projects if I were feeling fancy (I rarely do) or client projects with very simple requirements.

comment 6y ago · link · parent

Not sure what you mean by necessity. I promise I’m not trying to be pedantic, but it’s not required. Plus, there are other, newer JS frameworks out there that use html templates and the like. The struggle is just maintaining valid HTML.

comment 6y ago · link · parent

My mind also went to the PR cost. Why try to go after their customers for their own mistake? The customer didn’t choose the pricing structure, they did. Put it on the P&L, move on and do better.

comment 6y ago · link · parent

Even since they made autopilot standard, I still find this whole payment structure hard to swallow. I would understand the idea of end of life support or even a monthly subscription because I wholly embrace the idea of more maintainable code and features in cars. It’s not realistic to expect all of that for free in an as of yet imperfect technology. At a bare minimum, the infrastructure needs to be managed and maintained. This is a bit idealistic, but it may hopefully even lead to better industry standardization in the future.

With that in mind, the whole lump-sum pay structure just feels grubby. What if I buy the car, pay for the features, decide I don’t like it and sell it in a short period of time? Granted, it’s likely a poor financial decision on my part, but I’m left with no way to recoup that part of my investment. Rather than being a depreciating asset, it’s not an asset at all. Worse still, tweaks to refund policies are likely to be unsatisfactory. I already said I’m willing to pay something, but the choices I’m provided are to either demand an refund, the process of which feels like wasting everyone’s time involved, or make an arbitrary donation of capital to Tesla, Inc. Meanwhile, the terms continue to change for new buyers and aren’t evenly applied to old or used buyers. Just do the math for me, let me sign up and be done with it. Software is soft, water is wet, etc. If they don’t get this in check, the old guard could eat their lunch like people keep predicting.

comment 6y ago · link · parent

Somewhat serious question: do you think it matters if it looks absolutely silly?

comment 6y ago · link · parent

I remember reading this paper and I think watching a corresponding PoC video when this came out. Does anyone remember why or happen to know why this never made it to market? Error rate, maybe?

comment 6y ago · link · parent

Hi, web app dev here. It’s possible to do. Whether it piques your interest or is worth your personal effort to do is of course up to you, but it is doable. Some may scoff, but I’d even say it’s possible to do it elegantly.

comment 6y ago · link · parent

To answer your question: in terms of optimization, yes. Npm has pretty much closed the gap. However, depending on your package management strategy, I’d go with Yarn until/unless npm offers a better solution for monorepo package management. Npm currently forces you to more or less manually manage symlinks, which can be painful. Yarn workspaces on the other hand, although it does require some ritual, seems to just work.

comment 6y ago · link · parent

Ethical decisions have consequences that include blame.

Engineers are well-paid, highly sought after individuals. As long as they manage their finances responsibly, walking away from a job should not be as dire as you make it sound.

comment 6y ago · link · parent

Sounds a bit like AppleScript.

comment 7y ago · link · parent

> The lowest exposure level used in the studies was equal to the maximum local tissue exposure currently allowed for cell phone use. This power level rarely occurs with typical usage patterns. The highest exposure level in the studies was four times higher than the maximum power level permitted for local tissues.

comment 7y ago · link · parent

> The horse of Aynrandianism was long ago beaten to death

Apparently not. As for the mediocre discussion, fine.

> You really had to swoop to cherry-pick that detail, which could hardly be less prominent.

Fair enough. I suppose I'm used to being rewarded for reading the entire article.

> The topic here, obviously, was the author's business. Off-topic comments that are whimsical and unpredictable are fine on HN; but going off topic in order to grouch about something, or turn to some generic issue, lowers the curiosity level and is not fine.

Fair enough. Message received. However, I feel compelled to comment that it seems like a potentially worrisome policy. If all controversial topics are avoided unless they are the primary subject of the submission, it seems like it potentially exposes the community to an insidious legitimization of unsavory beliefs. I suppose that's your concern and not mine. I'll stick to the main topic of the article in the future, and minimize the kinds of objections we've discussed to the subtext of my comments, if they're included at all.

comment 7y ago · link · parent

I think there’s a lot of substance there. Objectivism is a morally bankrupt excuse for a philosophical system, and Atlas Shrugged is a farcical, unrealistic and flimsy narrative awash with paper-thin characters and comical villains that exist only to serve as an excuse for Rand’s selfish world view. His selection suggests to me that he is either emotionally very immature and/or that his primary driver is unabashed hedonism. I find that pretty disturbing. Don’t take my word for it. Walk into any philosophy department at any university and start defending Objectivism. They will tear you down and dismiss you, and for good reason: it’s regressive, egotistical trash.

EDIT: My only regret is that I didn’t say the above in my original comment. I neglected to consider that not all people may be familiar with the subject.

comment 7y ago · link · parent

I was interested until I got to the point where he cited Atlas Shrugged among the reading material that has influenced his personal philosophy. Just... Really?
1
2930313233