HNHacker News
TopNewBestAskShowJobs

franklyt

88 karma · joined January 13, 2021

submissionscomments
franklyt··on If you care about privacy, it’s time to try a new web browser
My complaint about FF is the inclusion of pocket, a closed-source default with a political bias doesn’t seem appropriate for an open source privacy-focused browser.
franklyt··on If you care about privacy, it’s time to try a new web browser
Ghostery? Owned by Cliqz? Seems a bit questionable.
franklyt··on Compare AWS and Azure Services to Google Cloud
Stadia is a huge project, backed by google. I think it has “canary in the coal mine” features. It does want to be an enterprise service, eventually.
franklyt··on Minecraft vs. Roblox (2020)
An advertisement?
franklyt··on Chrome OS became the second-most popular OS
This is probably thanks to schools.
franklyt··on Performance Impact of Ad Blockers (2020)
Connect your phone to your PC, open some dev tools and let us know.
franklyt··on Performance Impact of Ad Blockers (2020)
I worked on improving the performance of an extension that had to parse the DOM and any mutations. Performance was horrible in Firefox, not nearly as bad in Chromium browsers but improvements could be found. What worked: parsing the DOM with a tree-walker (instantly rejecting nodes that didn’t need to be checked, like style tags) and throttling checks with a mutation observer, i.e. mutations would be collected and parsed together after a timeout interval. Wasn’t too difficult, I think that some of these things can be overlooked because front-end engineers typically don’t concern themselves with performance.
franklyt··on CodeMirror 6
I don’t know if he is talented, but he is certainly a skilled developer.
franklyt··on CodeMirror 6
VS Code can trivially become an IDE.
franklyt··on Python’s tug of war between beginner-friendly and advanced features
If you’re instructing people, having more options becomes a positive, not a negative.

Incidentally, Ruby has a similar problem for self-learners.

franklyt··on Python’s tug of war between beginner-friendly and advanced features
The argument Python fans will give is the ecosystem: it has many mature libraries.

Shell scripting, e.g. dev ops? Ruby for me, Perl for complex regular expressions.

Web development? This depends.

High performance environment? Golang, C.

Basically, the care where Python is called for is the scenario where it offers a library you absolutely need, not anywhere it’s definitely the best language for the job, because it rarely is.

franklyt··on Python’s tug of war between beginner-friendly and advanced features
I think that people do indeed have a harder time perceiving the physical structure of the code, especially if they’re not spatially oriented as thinkers, e.g. myself, I’m a Linguistics person first and foremost, not very good at spatial reasoning.

You should really consider using linters as a teaching aid. They help a lot, and would indeed catch the problem you noted about js.

franklyt··on Python’s tug of war between beginner-friendly and advanced features
My “problems” with semantic white space are more along the lines of “oh, well, this is clearly unintuitive or is creating small errors”. It’s also one of the most persistent thing that learners will forget, even the good ones, when writing their own code. Defining a class method, and then indenting back to the original scope has some degree of cognitive overhead that simply enclosing things in typical c-like lexicon, i.e. with the interpreter noting brackets and not white space, doesn’t have.

As for teaching JavaScript’s pain points... that’s not really how I operate. I’d rather they know the general rules and come across edge-cases when they’re in a position to solve them, rather than overload them with information. Automatic semi-colon insertion is powerful enough to get you through several large-scale projects, so there’s essentially no point to discuss it prematurely as anything but a curiosity, “this could be a gotcha, so keep your code clean”.

Finally, comparing the error linters in VSC for Python versus javascript, especially if you //@ts-check... I think JavaScript actually does a better job.

franklyt··on Python’s tug of war between beginner-friendly and advanced features
Alright, I see.

Another good candidate is golang.

I’m going to think on that one a bit more.

franklyt··on Python’s tug of war between beginner-friendly and advanced features
Is that a crack about complexity? C doesn’t have very many features.
franklyt··on Python’s tug of war between beginner-friendly and advanced features
I’m not sure that statement is accurate, I could see an argument being made for C being a really good learning language.
franklyt··on Python’s tug of war between beginner-friendly and advanced features
I’m a bit taken aback by this message. My students have never copied and pasted a single line of code aside from their own...

I also don’t give homework. If you want to learn on your own, you can, but homework is a massive crutch that I don’t think benefits most people.

franklyt··on Python’s tug of war between beginner-friendly and advanced features
I teach Python to learners.

It has substantial pain points, the most significant in my opinion being the semantic white space that never really ever stops being a problem.

JavaScript runs in the browser, has relatively trivial syntax, no semantic white space, C-like, a superior and more useful GUI, etc.

I see no reason to teach Python per se unless people request it.

franklyt··on Sputnik V vaccine peer reviewed with efficacy of 91.6%
Can’t say I’m too much into internet arguments.

It was a turn of phrase. The good money is a good bet, i.e. I think a tenable and wise position would be to believe what I do, but understand if you do not and recognize my own propensity to be wrong.

As for the name, I felt immediately that it was significant because I knew Russia wouldn’t stake so much national pride on it if it was a dud. Indeed, the evidence coming in seems to suggest that it isn’t, so I feel doubly confident in that assessment.

That’s all.

franklyt··on Sputnik V vaccine peer reviewed with efficacy of 91.6%
Alrighty. You’re entitled to a contrary opinion. Not much to add beyond that.

All we can do is see how this shakes out.

franklyt··on Sputnik V vaccine peer reviewed with efficacy of 91.6%
The good money is on it being an exemplary vaccine.

The Sputnik name and the glowing data we’ve heard about it.

Besides, it’s not like you can trust big pharma only if has a Western brand slapped on it. Some of the worst drugs, possibly all of them (that I’m aware of), came from us.

franklyt··on Russian Sputnik vaccine 91.6% effective
Very impressive for a traditional vaccine.
franklyt··on Software Development Outsourcing: Our Story
Your website looks like a run of the mill static website. A competent engineer should be able to scale that to the moon on a raspberry pi.
franklyt··on Software Development Outsourcing: Our Story
Really weird article, reads like a “this is why outsourcing should be illegal” post as the guy goes through a bunch of countries like toilet paper.
franklyt··on Never use MongoDB (2013)
SQL is a solution to a problem in the vein of prematurely optimizing for many use cases where mongodb is called for.
franklyt··on Keyboard that shocks you if you type with incorrect technique [video]
Your calculations are pretty fast and loose and involve heavy-weight assumptions.

I don’t look at the keyboard to type with two fingers (and my thumb, technically).

I can probably sustain 120 effortlessly. 130-140 if I’m comfortable.

I’ve been doing it for nearly two decades and haven’t had a problem.

franklyt··on Keyboard that shocks you if you type with incorrect technique [video]
You’re going to have to take my word for it, not much incentive for me to go through all of that to sate your doubts.
franklyt··on Keyboard that shocks you if you type with incorrect technique [video]
On the flip side of this, I type at 130-140WPM and never learned to type “properly”. I use my index fingers.
franklyt··on Ask HN: How is GME not a pump-and-dump?
I don’t see how that term is applicable to a grassroots phenomenon when it purports to describe an explicit corporate strategy.
franklyt··on Ask HN: What helped you the most when learning to code?
Coding. Not being smarmy.
← PreviousPage 2 of 3Next →