HNHacker News
TopNewBestAskShowJobs

Jap2-0

387 karma · joined February 5, 2020

submissionscomments
Jap2-0··on The OBS Project is threatening Fedora Linux with legal action
Those two as well as

> Flathub maintainers are sometimes just bad at maintaining their packages, and, well...

Jap2-0··on School is Not Enough: Learning is a consequence of doing (2021)
This sounds like a dismissal based on a personal anecdote, rather than knowledge of what can be (and increasingly is!) done in a school. Many working in education have encouraged more interactive and project-based learning, such as PLTW[1] in STEM, and others[2] in other areas. Of course, it turns out that designing that while also teaching 6-8 classes a day to a couple hundred students is rather challenging.

I wouldn't disagree that school isn't a place for being productive, if productivity is defined as "making something people want." By that definition all learning is unproductive.

[1] https://www.pltw.org/

[2] For maths, reference the works of Jo Boaler, Peter Liljedahl, etc.; most standards I have seen in social studies in recent years have inquiry as a key component, and I know several teachers who make use of projects there; there is often agency in choosing projects in art, particularly in upper grades; and so on.

Jap2-0··on I bought an encyclopedia
Sure, the subject matter is in the textbook, but that's not necessarily the only thing being taught—research skills (source evaluation, comparison, synthesis, etc.) also need to (or should) be taught at some point. And teaching material in multiple ways (and having student participation) is beneficial for learning and retention.

Now some parts of the case mentioned above obviously aren't great, but there are absolutely good justifications for this from an educational perspective.

Jap2-0··on Bringing Exchange Support to Thunderbird
In response to both comments: I turned on "Allow antivirus clients to quarantine individual incoming messages" and then added an exception for the folder where Thunderbird is keeping my mail, and it's now noticeably snappier—not instant, but opening my archives folder (~35,000 messages) was previously anywhere from a couple seconds to a couple dozen of seconds, and is now probably a little under a second.
Jap2-0··on Bringing Exchange Support to Thunderbird
The folder it's installed in, or the folder it keeps my mail in? Or both?

(Also: what is the realistic security impact of this? As long as I don't do anything stupid, is it negligible?)

Jap2-0··on Suspects can refuse to provide phone passcodes to police, court rules
On Android, hold the power button* until the power down menu comes up, then press "lockdown".

* This may vary by phone, but I'm not sure.

Jap2-0··on Firefox Keeps Getting Faster
No, actually it's as fast as Chrome is now,[0] and substantially faster than Chrome was two years ago.[1]

-

[0] https://arewefastyet.com/win10/benchmarks/overview

[1] https://treeherder.mozilla.org/perfherder/graphs?series=auto...

Jap2-0··on Firefox Keeps Getting Faster
I have not seen this problem on my 4a.
Jap2-0··on Why you can't divide by zero
> thinking that anyone with extra learning are punishing everyone else in class

I never said this and do not think this.

I was attempting to provide more nuance to the situation and evidently failed.

Jap2-0··on Why you can't divide by zero
As someone studying education... you're right, but you're also kind of a prick.

Actually, let me rephrase. It's a bad situation all-round. I assume you didn't tell your friend's kid to go in and argue with her teacher. (If you did, then you are a prick. Otherwise, I rescind the above.) At that age, kids want to tell people when they learn fun or exciting things (well, that's not really restricted to that age), but they don't always think through the effects of saying them. Now, I definitely do know a number of elementary teachers who aren't great at math, but even if the teacher is good at math, imagine their perspective. Off the top of my head, I can only think of a small number of options: 1. agree, move on, and have a bunch of kids who are either confused or are going around telling everyone they know "1 + 1 = 10" without understanding why; 2. scrap whatever lesson they were supposed to do and go into a long, unplanned explanation of how different number bases work and interact with place value; 3. tell the girl she's wrong. Quite frankly, none of these are good options.

I can't really fault you for teaching her fun math, but for an elementary teacher that's a really rough spot to be put in.

And yes, letting everyone be argumentative all the time is how classroom management goes out the window.

Jap2-0··on How to Copy Uncopyable Texts on Windows
In Firefox, shift+right click to bypass anything blocking right click (or providing a non-browser context menu)
Jap2-0··on Guide to Adopting AV1 Encoding
I suppose that's also part of it, I was meaning more that the cost is more worth it for a video being served a million times vs. a few hundred times.
Jap2-0··on Guide to Adopting AV1 Encoding
My (not super informed) understanding is that it may also depend on how popular the video is - the increase in encoding time is less worth it if there are few people seeing quality or bandwidth benefits (depending on how they tune it).
Jap2-0··on Welcome to Wikifunctions
This isn't the same formula, but the concept is a bit reminiscent of https://steamdb.info/blog/steamdb-rating/
Jap2-0··on Firefox address bar
I use a nice little Firefox extension (might also be available for Chrome) called TabList - it's about 20 lines of code and works great.
Jap2-0··on California needs real math education, not gimmicks
> Also, they get summers and holidays off.

Please don't perpetuate this. Any half decent teacher is going to spend summer looking at curriculum, block/lesson planning, in meetings, organizing their classroom, doing continuing education and training, etc. Sure, it's not as much work and it's more flexible during the summer, but it's by no means time off. Also, they work a lot more than 40 hrs/week during the school year. Also, they have a lot less flexibility about when they get time off. Also (in secondary/postsecondary), they have exams immediately prior to Christmas. (And yes, I bet you get Christmas off too.) And so on.

Jap2-0··on Mercedes beats Tesla to autonomous driving in California
Yeah, this covers the case when turning left doesn't cross any oncoming lanes of traffic - so it's basically the same as turning right on red at a normal light.

Although searching for this now, it does appear to also be allowed from a two-way,[0] which sounds vaguely familiar but isn't really the same as turning right on red.

[0] https://www.michigan.gov/msp/services/traffic-safety/traffic...

Jap2-0··on The weird world of Windows file paths
I can't find a way to create one - so if Windows allows that, it's begrudgingly at best.

You can put `..` earlier in the file name, though.

Jap2-0··on Who owns history? How historical footage is hidden and monetised [video]
I agree that the original source is probably better and that permission and attribution would be the best thing for Aeon to do (particularly as a sizeable publication), however he did intentionally publish it as CC0.

I suppose things like this are why people hesitate to publish under CC0: it sounds great from an ideological perspective, it's much more difficult when you realize how little control it leaves you with.

Jap2-0··on WASM compression benchmarks and the cost of missing compression APIs
A (hopefully) intriguing tangent: at the linked https://bench.nickb.dev/, a 10x increase in iterations on the allocation benchmark results in a change from 28ms to 280ms in Firefox but 44ms to 2800ms in Edge.
Jap2-0··on The Right Not to Be Fun at Work
An article that focuses more on the... problematic aspects of the work situation: https://abovethelaw.com/2022/11/court-declares-legal-right-t...
Jap2-0··on Bringing MathML back to Chromium
LaTeX to MathML converters already exist: https://fred-wang.github.io/TeXZilla/
Jap2-0··on SantaCoder: A new 1.1B code model for generation and infilling
If I prompt it, it actually comes up with a decent function:

  def is_prime(element):
    """Returns whether a number is prime."""
    if element < 2:
      return False
    if element == 2:
      return True
    if element % 2 == 0:
      return False
    for i in range(3, int(math.sqrt(element)) + 1, 2):
      if element % i == 0:
        return False
    return True
Of course, if you ask it to keep generating past that there's the usual slow descent into madness.
Jap2-0··on SantaCoder: A new 1.1B code model for generation and infilling
Mine never defines is_prime():

  def all_prime_elements(sequence):
    """Returns every prime element of the sequence."""
    return [x for x in sequence if is_prime(x)]


  def all_prime_factors(sequence):
    """Returns every prime factor of the sequence."""
    return [x for x in sequence if is_prime(x) and x!= 1]


  def all_prime_factors_with_limit(sequence, limit):
    """Returns every prime factor of the sequence up to the given limit."""
    return [x for x in sequence if is_prime(x) and x!= 1]


  def all_prime_factors_with_limit_and_step(sequence, limit, step):
    """Returns every prime factor of the sequence up to the given limit."""
    return [x for x in sequence if is_prime(x) and x!= 1]


  def all_prime_factors_with_limit_and_step_and_start(sequence, limit, step, start):
    """Returns every prime factor of the sequence up to the given limit."""
    return [x for x in sequence if is_prime(x) and x!= 1]


  def all_prime_factors_with_limit_and_step_and_start_and_end(sequence, limit, step, start, end):
    """Returns every prime factor of the sequence up to the given limit."""
    return [x for x in sequence if is_prime(x) and x!= 1]


  def all_prime_factors_with_limit_and_step_and_start_and_end_and_step(sequence, limit, step, start, end, step):
    """Returns every prime factor of the sequence up to the given limit."""
    return [x for x in sequence if is_prime(x) and x!= 1]
(and so on)
Jap2-0··on Maryland law limits homeowner association control over eco-friendly yards
This is very much a tangent, but that article seems to state that per mile, a sidewalk costs about twice as much as a road. Does anyone know why that is?
Jap2-0··on Firefox Translations: Translate websites in your browser without using the cloud
> I can't force it to translate the pages

I see both an icon on the right end of the address bar I can click to manually translate pages, and the ability to click on the addon from the extensions list in the toolbar to open a popup to translate arbitrary text.

Jap2-0··on Brave browser to start blocking annoying cookie consent banners
Dev edition is the same as beta, except occasionally (not often, as far as I can tell) some features in development are enabled slightly earlier. In other words: it's beta but with different branding.
Jap2-0··on Stadia Is a Major Driver of Vulkan Adoption
And I think Factorio uses OpenGL (which is cross-platform but deprecated on MacOS) and doesn't distribute via the app store, and is only distributed as x86-64[0], bypassing most of all three of GP's points.

[0] It was recently announced for Switch, but from what I've heard there aren't plans to release it for ARM on other platforms in the immediate future.

Jap2-0··on Analysis of Chromium issue 1196683, 1195777 (2021)
Sibling comments address this pretty well, but the ideas I mentioned still seem like good ideas for a few reasons:

- The article mentions the sample exploit is based on the test case

- The point of obfuscation isn't to prevent exploitation, it's to delay it

- A sibling mentions the delay between patch and release as an issue; because of the only ~1 day delay here it seems like this was intentionally merged right before release, so buying even a day (or two or three, to account for time to update) would be enough to mitigate most of the impact

There's a big difference between reading a snippet of JS and understanding the inner workings of a JIT, especially under time pressure.

Jap2-0··on Analysis of Chromium issue 1196683, 1195777 (2021)
As a casual observer of Firefox development (well, maybe not casual, I skim through the pushlogs occasionally), I find it interesting to compare this to some Firefox security bug guidelines.[0][1]

Although it looks like in these cases the issues were reverse-engineered in <1 day (making release timing less of a solution), two items in those that stand out to me as potentially helpful are "land tests in-tree later" and "bundle with other changes in the same area."

[0] https://firefox-source-docs.mozilla.org/bug-mgmt/processes/s...

[1] https://firefox-source-docs.mozilla.org/bug-mgmt/processes/f...

← PreviousPage 2 of 5Next →