Better HN
topnewbestaskshowjobs
Log inSign up

LocalPCGuy

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

Submissions

comment 4y ago · link · parent

I would point out that there are places where having boilerplates is a significant time savings. I'm not disagreeing with you, just pointing out the practical application sometimes outweighs the cons.

comment 4y ago · link · parent

One example could be scaffolding out a CRUD app and DB fairly quickly.

Even excluding scaffolding, VS can eliminate a lot of the boilerplate that takes time if you need to type it out yourself.

Not saying you can't setup VSC to do those kinds of things also, but VS is a tools included solution out of the box. (I say this as someone who hasn't touched VS in a few years now, but used it daily for a few years before that, and who generally enjoys using good/fast text editors.)

comment 4y ago · link · parent

Yes, individuals just as mistaken as those who claim fraud is rampant claim there is not fraud. People make those kinds of mistaken statements all the time. How about "most reasonable people who understand the process and have spent a little bit of time examining how it works"? I thought that was closer to the standard in discussions on HN, not "some rando on Twitter spouting off", but I guess not.

It is not speculation that there are people who look for election fraud (and then prosecute it when found). And folks do get caught/prosecuted for just about every election cycle, so "all the time". And the links demonstrate that. I may have expounded on that a bit but the language is not speculative except maybe the portion about whether or not there is enough to make a difference. That is my opinion, but heavily based on the reading on this topic I have done, checking claims from a wide variety of sources, parties, etc. I make no claims to expertise but I do believe the information I have shared is accurate to the best of my ability and folks can do with that what they will (hopefully spend their own time actually making sure they are not misled).

comment 4y ago · link · parent

Not sure on that specific claim, but every one of those type of "fraud claims" I've looked into turn out to be false and full of errors in how they used the information they had to try to prove their claims. An example from Arizona - not sure if the same one as Crowder, not going to watch YT videos on this topic - if it's important enough, write it up and publish it with references and proper proof that can be replicated.

https://www.azmirror.com/2021/09/10/voter-canvass-features-b...

comment 4y ago · link · parent

In addition to the other response, elections where there are razor thin margins like this garner a TON of attention, making the likelyhood of getting away with fraud much less likely.

comment 4y ago · link · parent

And doing that on any kind of scale will undoubtedly end with the perpetrator in jail for voter fraud. It's easy to speculate about how, it's a lot harder to do it in a way that gets away with it without leaving a trail that eventually catches up with them.

comment 4y ago · link · parent

All told those cases total less than 200 votes. No one (edit: to be clear - no reasonable folk) claims fraud doesn't happen. Just not on the scale that has been claimed at times, and not enough to tip an election with millions of votes. Could a coordinated attack swing a local race, maybe. But as seen by the links you provided, there are people watching for these kinds of fraud, and people get caught all the time, even when it's just a single extra vote, much less enough to actually make a difference.

comment 4y ago · link · parent

Those are totally valid use cases. In no way was I saying everything had to offer 2FA. Just pointing out that it is not just for those that don't know how to craft strong passwords or those that practice poor security hygiene, that it is a useful option to have when security is important.

comment 4y ago · link · parent

That really isn't an argument against my point, that it's very hard to verify what is happening once you click submit with your password.

comment 4y ago · link · parent

No, passwords on their own are never "enough" for you to be secure as you only control your side of the equation. You don't know if the place you are storing it is doing so in plain text, storing a decryption key right next to it, etc. Even if you are careful (I know what you said above), the network you are on could be compromised despite your best efforts/knowledge. Or any number of other things that could make it trivial for someone to gain access to your account in the event they gain access to simply the password.

I don't claim 2FA is perfect, it has its own host of issues as is being discussed. But it isn't just for "the masses that don't understand how to make strong passwords or how to be secure". Certs are good, but they need to be made simpler than they are now for the very people you claim 2FA is for or they won't be adopted (one of the reasons they aren't more ubiquitous, IMO). And some certs implementations have issues with account recovery as well if you lose access to them.

It's a really hard problem that you do a bit of disservice to when you dismiss it as "just a problem of the plebes".

comment 4y ago · link · parent

I use a Google sheet, and look at my finances twice a month. Each time, I duplicate the sheet from a month back (so 2 new sheets each month). Each sheet has the bills to go look at and handle. Either to ensure they were paid (autobill) or to set up a payment.

It's in need of an update to stop duplicating sheets and just either add columns, that way I could easier do things like compare over time or create charts, etc. But I often have extra notes or other things in each sheet as needed, so I'd need a way to still incorporate those. And it's been working well; mostly ensuring I don't forget any of the individual bills.

The harder thing for me is when I get a paper bill, ensuring it gets scheduled to be looked at and paid if I don't do it right away.

comment 4y ago · link · parent

I personally would argue that shipping (and being available) > than purely looking like it's 100% platform specific. But it's your app, and congrats on the success so far.

comment 4y ago · link · parent

The part about "just don't worry about it" is not really great advice, IMO. I think the rest is good, particularly the part about using tax software and/or doing a Schedule C. Just do what it says - it's pretty simple for small businesses - the amount in taxes paid will be fairly minimal. If you use tax software, use the business version and answer the questions and it'll figure it all out for you basically (might even find some deductions if you had expenses, like domain names, hosting, etc.).

While the IRS likely won't audit you for a few hundred dollars (US), there are laws about what you have to do. You don't need to become a tax expert, but knowing the very basics so you don't run afoul of any laws and end up owing some $$ or penalties is probably worth taking a bit of time to do at the end of the year.

comment 4y ago · link · parent

have a really good way of talking through how you handle async code and the difference between async and procedural code. Plus, how you can make async code read like procedural (async/await). I always give bonus points if you can describe clearly the difference between using ansync/await and then based promise code (not just saying "syntactic sugar", but actually explaining how the code looks different but yet how they are effectively the same).

How people answer questions around promises in general often gives me a good idea of where they are at in their JavaScript journey.

comment 4y ago · link · parent

.bind doesn't really have a lot to do with frameworks specifically, except maybe just that the docs may have been the first time folks were introduced to those features of the JS language.

That said, I did use it a TON in the jQuery days (event handlers).

comment 4y ago · link · parent

As someone that uses them from time to time, I have then had to then explain to colleagues what they are doing (and yes I consider this when I use it, whether that is worth the tradeoff).

Personally, I like to extract larger arrow functions and I am a fan of traditional function declarations in some situations over `const x = () => {}` style function assignment (I feel the latter unnecessarily clutters up code above the logic of the specific component, service or module since it must be declared prior to being used.) Those preferences do lead to needing an understanding of bind, call and apply. Or maybe understanding bind, call and apply lead to me feeling comfortable using those patterns?

Edit to add a bit of history: I started doing this when writing a fair amount of jQuery with a lot of event handlers. And while anonymous or arrow functions worked, the code was soo much cleaner when you put the handler functions below the regular logic. If someone wants to see what a handler function does, it's easy to go down and look, but otherwise, a good name is all that is important. These days, I follow similar patterns, extracting code that doesn't need to be inline into a function that can be referenced as needed, but doesn't need to be inline in the code all of the time.

comment 4y ago · link · parent

While it isn't micro-payments as many think about them, we did run this experiment with cell phones. First it was SMS messages, commonly used to cost $0.10 per message. Still the case for a small group of people, and some may seek out pay as you go plans to optimize their bill, but for most, they prefer to just pay a little more monthly it seems and not worry about being billed for each one. (I know it's not a perfect correlation, but it is probably the largest scale study of pay as you go vs. other options that we have.)

I've been waiting (both with anticipation and dread) for a day when micro-payments are ubiquitous, as I think it's the only way to compete with the subscription and ad business models. I just don't know if people will really accept it given previous examples of it have played out. But I still hope someone gets it right, and I can pay 5c to read a newspaper article without needing to subscribe, and things like that.

comment 4y ago · link · parent

I believe the spec you link is a future proposal at the moment. And I trust a consortium of folks from a variety of browser vendors along with folks from other interests over a single product, when it comes to trying to figure out a better way to make things more accessible. And maybe Flutter can just use AOM in the future when it's available in browsers.

As of Feb, 2022:

> While still in draft form within the Web Incubator Community Group, the Accessibility Object Model (AOM) intends to incubate APIs that make it easier to express accessibility semantics and potentially allow read access to the computed accessibility tree.

comment 4y ago · link · parent

Sounds good, although a bit sad I can't try it out, even if it felt more iOS-like. But you gotta prioritize your app and what's best for it. Good luck!

comment 4y ago · link · parent

> The company’s official guidance to past developer users is to “follow Apple’s Human Interface Guidelines and consider using modern UIKit components or SwiftUI instead.” That said, it also plugged Flutter as the way to “get a Material look and feel across all platforms.”

Doesn't seem like the article you linked accurately represents your statement.

comment 4y ago · link · parent

Oh, I do mostly agree with you that it isn't magical thinking. I do think there were some choices made that might make it a bit more difficult to switch, but the Flutter team has been willing to make big shifts in the past.

Personally, I'm not willing to be on Flutter Web right now, and as you can see, I still actively dissuade it's use as I don't think it's good for the web as it is. But that doesn't mean that in a few years I'll think differently.

comment 4y ago · link · parent

Just to be clear, I used the word everywhere. I believe they are quite a bit more explicit in framing it for all platforms, including web specifically. It's possible we'll see it get there, but I think there is a lot of things to do (and undo) to do that.

comment 4y ago · link · parent

CanvasKit still renders to canvas (maybe that's what you meant by "canvas-like", but it is still directly drawing to an HTML canvas), it just enables Flutter to utilize a more advanced feature set than the DOM canvas API. It also comes with a 2MB or so download (which is why by default it's off on mobile last I checked).

comment 4y ago · link · parent

Yah, this is a pretty solid list of things that, if they all hit and work as we hope they do, it could enable building things with tech like Flutter and having it work well. I think that's why I generally say FlutterWeb isn't production ready and not that it'll never be. I don't care for the path they took originally, it feels like a bandaid and has a lot of issues. They may get there eventually, and I'll be happy to adjust my position when/if they do.

comment 4y ago · link · parent

No, it is 100% being framed as "You can build your app once and deploy it everywhere" with everywhere including web. It's sorta maddening, IMO. There are certain types of apps I could see using Flutter for (basically, ones that would lean heavily on canvas anyways, games, drawing, etc.)

comment 4y ago · link · parent

I know this was sarcasm, but sadly, it is one of the better ways to handle this.

comment 4y ago · link · parent

For the vast majority of (mobile) apps, the benefit of being able to be built from a single code base outweighs being slightly behind vendor capabilities. Particularly things like there where it doesn't come up in some apps and relatively few people actually notice/care about it in those it does.

comment 4y ago · link · parent

Doesn't appear to based on the website, which is just sad considering it's almost zero effort to create an Android build as well. I'd consider using this app also.

comment 4y ago · link · parent

This right here should tell you why you shouldn't use Flutter for Web. The Web is pretty great for accessibility out of the box until us devs mess it up, we shouldn't use a technology that needs to completely build it from scratch to get it to work.
1
789
21