HNHacker News
TopNewBestAskShowJobs

davvolun

271 karma · joined May 9, 2013

submissionscomments
davvolun··on Private client-side-only PWAs are hard, but now Apple made them impossible
Just want to note that you specifically mentioned Microsoft working with open source hackers in this comment saying that the ship has long since sailed on Chrome/Google contributing to the open web.

I don't know, never say never I guess. I'm certainly not going to defend Google's track record on openness and privacy -- there have been, under even the most generous of interpretations, huge missteps, and I don't think they deserve the benefit of the doubt -- but they do contribute. Edge backed by Chromium?

davvolun··on The coronavirus pandemic in five powerful charts
I would be VERY interested to see these charts updated, as this data is a week old.
davvolun··on Private client-side-only PWAs are hard, but now Apple made them impossible
Not strictly disagreeing with you, but ChromeOS seems to be extremely healthy. Not familiar enough with Firefox OS to know why the disparity though.
davvolun··on List of Twitter mute words for your timeline
This joke never adds anything to the conversation, I wish people would stop making it.
davvolun··on Asimov’s Empire, Asimov’s Wall
Did you READ the article?

> The damage he caused was inseparable from his power. In general, Asimov chose targets who were unlikely to protest directly, such as fans and secretaries, and spared women whom he saw as professionally useful. There were exceptions—he chased the editor Cele Goldsmith around her desk—but he preferred to focus on women who were more vulnerable, which inevitably raises the issue of mentorship.

> Yet many of these encounters were clearly nonconsensual. When the author Frederik Pohl questioned his tendency to touch women “in a fairly fondling way,” Asimov replied, “It’s like the old saying. You get slapped a lot, but you get laid a lot, too.”

He's deliberately finding vulnerable women -- who may be forced to laugh off or allow his unwanted advances in order to keep their jobs (keep in mind the time period also -- women even having some of these jobs was something special in itself), and he's doing it to, ultimately, get sex.

That may not quite be the definition of rape, but it certainly isn't "a[n] unwelcome pinch on the butt."

Sounds to me like Asimov wasn't that far off from Weinstein -- keep in mind for every accusation of rape Weinstein is facing, there were dozens if not hundreds of women who claim lesser degrees of inappropriate actions. It's more likely that the women who would today, in the #metoo era, have reported legal sexual assault or rape, were silenced back then -- I can't imagine we will ever know though; maybe he stopped at just "pinches on the butt," but I doubt it.

davvolun··on Tesseract.js: Pure JavaScript OCR for 100 Languages
Do you have it somewhere on github? I could see hosting this on my own server for personal use, maybe trying to contribute back as well.
davvolun··on 267M Facebook users IDs and phone numbers exposed online
> Diachenko believes the trove of data is most likely the result of an illegal scraping operation or Facebook API abuse by criminals in Vietnam, according to the evidence.

The only ones capable of preventing either the scraping operation or the API abuse would be Facebook. Scraping is an arms race, but I certainly don't trust Facebook to care about protecting my data, except where it would infringe on their ability to sell it. If it's "API abuse," that's definitely on Facebook to prevent.

davvolun··on France's AMF watchdog fines Bloomberg €5M over Vinci hoax
But I don't think you would disagree the following is worthwhile:

"There is a hurricane, and we're hearing initial, unconfirmed reports that it's to the south. We want to stress these are unconfirmed at this time, etc etc"

Which is something that would traditionally be broadcast in an emergency.

Obviously, we're really talking about an extreme hypothetical, but as long as it's clear the information may not be complete or accurate at the time of reading, I see no problem (as long as it is eventually accurate).

davvolun··on France's AMF watchdog fines Bloomberg €5M over Vinci hoax
> Would you make the same argument that software on the 737 Max should be shipped and then fixed later?

No, I wouldn't, but that goes to why not ALL software should be agile, not that it's best to have some journalism be "agile."

I was going to mention space flight regarding software mistakes (https://itsfoss.com/a-floating-point-error-that-caused-a-dam...), but figured it was more of a digression than it was on-topic.

davvolun··on France's AMF watchdog fines Bloomberg €5M over Vinci hoax
It immediately irks me that I'm defending agile here, but part of the point of agile is that the developer doesn't really know what the end user needs, so it's, in theory, better to get a minimum viable product out that meets the user's need, then refine on subsequent releases, rather than spend years working on releasing something perfect that it turns out doesn't fill the user's need.

From a similar perspective for journalism, I think there's an argument that can be made that it's better to get most of the information out right away, even if some of it is inaccurate, and then correct the inaccuracies later, rather than wait until every piece is confirmed and edited perfectly to release the information. Argument to extremes, think of a hurricane or volcano explosion.

davvolun··on Snopes Under Legal Attack from Salon.com
^https?:\/\/(www)?\.theonion\.com.*$ -> http://snopes.com/the-onion

As a start, need to get more complex from there (probably exclude theonion's About page, for example, but that covers 90% with almost 0 effort -- and standard analogy from there, if Snopes uses 90% of its effort to cover the first 90%, there's no way they can cover the last 10%; if they use 1% effort to cover 90%, there's still a lot of ability to cover the remaining 5% or 9% (because, let's be realistic, 100% is absolutely impossible).

davvolun··on Snopes Under Legal Attack from Salon.com
If we're conducting an arms race against someone who wants to deliberately obscure the source of disinformation, we're going to lose that by attrition, flat out, following the same basic argument I made originally.

Snopes, and anyone else actively trying to combat disinformation, absolutely have to use their resources wisely, the enemy has a lot more money and time.

davvolun··on Snopes Under Legal Attack from Salon.com
Have you been on Twitter in the last three years? Have you heard of 4Chan?

That statement is disturbingly incorrect.

davvolun··on Snopes Under Legal Attack from Salon.com
You can fool some of the people all of the time and all of the people some of the time ... but in general, while people may be fooled by The Onion a few times, they tend to learn and do better in the future. - Abraham Lincoln - Michael Scott
davvolun··on The 80/24 Rule
> if the code is trying to do a single thing

What is a single thing? Login? Initialize db? One line of code, 3 lines of code, ...

If you have 100 lines of code and 6 nestings, even if none of that is or, as far as you can tell, should ever be re-used, you should break that into smaller, digestible chunks of DoSubThingA, etc.

It's kind of an aside, but you mentioned e.g. `DoThingD` got changed or "some other dev WILL come along" -- if some other dev comes along and doesn't bother to check where and in what context `DoThingD` is being used, and changes it in a way that breaks `DoThingC` or `DoThingE`, they aren't doing their job. Particularly, if `DoThingD` wasn't written to be re-used, and they just use re-write it and use, particularly in a way that breaks its original invariance... I would be having strong words with that developer.

davvolun··on The 80/24 Rule
> Which isn't a problem we should be avoiding

I believe we're actually arguing the same thing.

Anonymous functions aren't the end of the world, but self-documenting code is better.

In the JS/JQuery world, breaking away from anonymous functions would represent such a fundamental shift in practice, I'm not going to do it on my own, but in Angular, I stay away from anonymous functions.

davvolun··on The 80/24 Rule
I wasn't being sarcastic, I've seen exactly what you're talking about a lot in VB. Re-read it just now, and even I thought what I wrote kind of came off sarcastic.
davvolun··on Google Chrome experiment crashes browser tabs, impacts companies worldwide
Absolutely, and if your business is repeating the same mistakes in Chrome as we saw 10-20 years ago from IE....
davvolun··on Ohio bill would allow students to be scientifically wrong due to religion
This is generally true, but also completely irrelevant to the ""debate"" on evolution. Scientific humility is an important quality, but it's misleading to young kids; and fundamentally works against understanding the "cross domain scientific revolutions." Until you're prepared with the ground work to understand why Newtonian physics isn't quite right (at really small or really big sizes), a rigorous introduction to relativity is just confusing.

Just like we don't have elementary kids read Kant despite the eventual value (when they're prepared for the intellectual rigor), evolution questions should not be given to 14-17 year old kids as qualified "according to the theory of evolution." Maybe 18 -- it's a tough question that depends on individual kids' capabilities.

davvolun··on Which answer in this list is the correct answer to this question? (2017)
I could be wrong, but the question is ill-stated; should be something like 'which of the following statements are true', I think, or maybe 'what is the only true statement in the following list.' It's been awhile since logic classes though, maybe those are essentially the same as the original question, I can't quite figure out what I think is wrong with the original question, it just doesn't seem quite right to me.

Also, 4 is ill-stated -- "One of the above is true" -- does that mean exactly one of the above is true, or at least one of the above is true. Although in that case I don't think it matters because 1/2 are mutually exclusive and 2/3 are mutually exclusive, and the combination of those two means that 1/3 are mutually exclusive., so only exactly one of 1-3 can possibly be true anyway.

davvolun··on Google Chrome experiment crashes browser tabs, impacts companies worldwide
Exactly, and when the workaround is "just use one of the other 3 or 4 major browsers that are probably already installed on your work computer" (and if you're using an enterprise setup as mentioned in the article, you've probably got 2 or 3 things that are still locked into IE, probably IE6 for some stupid reason).

If your business is so locked into using Chrome, and specifically Chrome, and you aren't paying money to Google to ensure it keeps working as you need it, then you have only yourself to blame.

(And yes, being unable to disable the experiments thing, and not giving any warning before-hand, is a mistake on Google and the Chrome teams part, and hurts Chrome's enterprise-ready image, but that doesn't refute the point above).

If an essential piece of your business relies on something you have no control over, then you only have yourself to blame when that reliability fails and you can't fix it. Cost of doing business, at worst.

davvolun··on The 80/24 Rule
Agree fully, and as mentioned in the article

> I tend to stay within it, but I occasionally decide to make my code a little wider.

No coding rules should be religiously held. If you're trying to re-write an 81 column line to fit the rule, even though it's concise and more readable at 81 columns, you're doing it wrong.

davvolun··on The 80/24 Rule
Pretty sure VBprogrammer knows what they're talking about here....
davvolun··on The 80/24 Rule
The lambda approach avoids "I can't think of what I should call this, I'll call it `foo` for now" problem...

Which isn't a problem we should be avoiding. Naming things in a way that other coders will understand is an important skill, and can be difficult.

davvolun··on The 80/24 Rule
Reducing cognitive load by breaking things into digestible pieces can be hard, and at times it's hard to say if option A is better than option B, but it is not preference.

If `extractId` is an eight-step process that's only used once, but I step over it and check locals to find that the variable was correct before the call, and wrong after, then I just found my problem. That would be faster than stepping over each step to find the problem -- basically the debugging version of divide and conquer (for finding the solution, optimal would be binary search, but for readability and maintainability, that should not be the goal).

Another example is if I have a boolean condition that incorporates extremely complex logic but is only used once, if I assign it to a variable called `nameWasPreviouslySet`, that is easier to read and understand, and if I'm debugging and expect `nameWasPreviouslySet == true` at this point, and it's not, then I've figured out the bug is in setting `nameWasPreviouslySet`. So DRY shouldn't be the only reason to refactor -- refactor for readability also.

davvolun··on Snopes Under Legal Attack from Salon.com
Sure, but, like porn and art, we can tell the difference between Info Wars and The Onion. A simple landing page on The Onion or Babylon Bee is all Snopes needs to do, whereas it's clear Info Wars has an agenda of spreading disinformation and it's useful combatting specific articles of theirs.

Last I knew, Snopes isn't and cannot be run as a simple application of objective rules. You can follow guidelines, but debunking the type of Info Wars, or Trumpian, disinformation requires more mental effort than that. If it didn't, if it was the simple application of objective rules, there would be little value in the site.

davvolun··on Snopes Under Legal Attack from Salon.com
> when those who cloak themselves in hard-left rhetoric are in the crosshairs of ridicule, they tend to retaliate hard, with whatever means they have to hand.

That's complete nonsense, and not a partisan or "hard-left-only" reaction. The right also tries to de-platform the left, if you're trying to make "fake news" a partisan issue, you're contributing to the problem.

davvolun··on Snopes Under Legal Attack from Salon.com
And there's no reason why someone going to Snopes for an article at theonion.com or babylonbee.com can't be redirected or otherwise sent to an article covering the satire of the site. Nobody needs a separate Snopes article for every article produced by every satire site out there.

Given the amount of disinformation put out there by so many sources versus the relatively limited resources of Snopes, wasting time on stuff no one needs or wants is a mistake.

I'm wondering if a better model would be heavily moderated, crowdsourced fact-checking, like wikipedia.

davvolun··on Congressman's phone password is 111111
???

I think Apple and the FBI disagree

https://en.wikipedia.org/wiki/FBI%E2%80%93Apple_encryption_d...

davvolun··on No one working at Newsweek can tell me why it still exists
Part of the problem there is spin. There's obviously value in independent, subject-specific news sources, but you also have Alex Jones and InfoWars.

It's not a new problem, Rush Limbaugh effectively used radio for the same thing, it's just a serious problem. The so-called radicalization of YouTube is another example.

← PreviousPage 2 of 11Next →