Better HN
topnewbestaskshowjobs
Log inSign up

bsznjyewgd

151 karma · joined Jul 26, 2013 (13y ago) · 61 submissions

Submissions

comment 6y ago · link · parent

No, that guy didn't "do nothing". He killed it in task explorer instead of just pressing no.

comment 6y ago · link · parent

The title is misleading.

The Edge popup asks you if you want to import data from other browsers and set the default browser (like what happens when any browser is installed). If you just press cancel a bunch of times nothing gets imported or defaults changed and only some icons get added. That dude just killed it in the task manager so it used the popup's default settings.

Complain about getting the chromified Edge popup as part of a regular update, not about it copying data.

comment 7y ago · link · parent

It was in Chinese but the girl thought it was in Japanese.

comment 7y ago · link · parent

As a long time, on and off Debian user, I've actually never had debian-installer install firmware properly. For the longest time, using the minimal install image, putting the firmware debs (or loose files) in the correct directory just plain didn't work. I think at some point, it started working and I could use wifi instead of ethernet to install, but even now the installer still doesn't install AMD firmware, so some kernel modesetting funny business doesn't work and I just get a black screen on first boot (but the system is otherwise functional). The same applies to the firmware-included non-free image.

I mean, I can (and do) manually apt-get the right firmware packages at some point, either popping a shell during install or after first boot, but it is definitely a maze of some kind, especially if you don't know what package contains the firmware you need.

comment 7y ago · link · parent

Not only that, but the NHL BANS full face protection unless you're recovering from an injury. (Ex-all star Dany Heatley spent most of his career wearing a comically big half-visor after suffering a serious eye injury, I wonder if he would've opted for a full visor if given the choice.)

Some players already dislike the currently mandated half-visors (visors can distort vision, or fog up, etc.) and do weird shenanigans like having small or tipped-up visors.

There's also a fighting culture in North American professional hockey which would be destroyed by mandatory full face protection.

comment 7y ago · link · parent

What happened to the previous Mu that was a funny looking procedural language and why did you decide to switch directions?

comment 7y ago · link · parent

I feel really out of the loop here. I went through a pretty standard curriculum in the 2000s and have never owned or used a graphing calculator (aside from the few times the teacher demonstrated our school's TI-83s in class in high school). What are they used for?

[And while I used a bog standard scientific calculator regularly in science/stats classes, I'm pretty sure my calculus classes disallowed calculators and only stuck to magic numbers that were easy to manually calculate with. It might even be plausible to go through a whole math curriculum without a calculator apart from whatever stats/applied classes you're required to take.]

comment 7y ago · link · parent

Fibonacci is usually introduced as "the next term is the sum of the two previous terms" (sometimes with the story about rabbits or whatever). There's two obvious ways to implement this:

  1. Direct recursion
  2. Keep track of the two previous terms
If you start with (1), you run it and it takes exponential time, and so you should instead remember the two previous terms, leading you to (2). When you go with (2), you either use 2 mutable variables and a loop in the imperative version, or you have 2 accumulators and tail recursion in the functional version... which is the same thing, since a tail recursive function is just a named loop.

There's nothing about laziness or self-referencing an incomplete structure here, which is just a Haskell thing. Taking the tail of an incomplete structure, in particular, is indirect and hard to understand.

If you want to demonstrate laziness, you can still do it directly by doing something like:

  fibs a b = a : fibs b (a + b)
  fib n = fibs 0 1 !! n

comment 7y ago · link · parent

> A Chinese character is more or less equivalent to a word in English/French.

Most Chinese characters are monosyllabic, and most Chinese words are polysyllabic consisting of multiple characters. A Chinese character is a morpheme, and it also happens that many common words are also single character morphemes.

> Someone who speaks only Cantonese can read and understand text written by Mandarin speakers without any issue.

Because we've all been taught to read and write in Mandarin from the very beginning of our education. Again, Hong Kong is a diglossic society.

> They use largely the same grammar and vocabulary. Because Cantonese is ancient Chinese, over the years they have lost track of what semantic characters to use for some of the Cantonese words.

They share a lot of grammar and vocabulary (...but not all of it) because they share a language ancestor. Cantonese is not ancient Chinese, but it's a descendant that conserved a lot more consonants than Mandarin (and a lot of sound merger is actually happening right now in Hong Kong over the last 100 years, but it's commonly derided as "lazy sound").

> Once the mapping is done, you will be able to write down Cantonese and have it understood all over China. Since the work hasn't been done, you can only write down Cantonese with the help of some phonetic characters, which denote only pronunciation but not meaning. It's not gibberish, but neither is it proper written Cantonese.

See [https://books.google.ca/books?id=pFnP_FXf-lAC&pg=PA51] for a description of common strategies for writing Cantonese. Phonetic borrowing is one strategy, and the most common one, yes, but that's no different than characters in standard Chinese, the vast majority of which are a radical with a semantic category (but not a complete meaning) + a phonetic component.

A Mandarin-only speaker can decide for themselves how intelligible that colloquial Cantonese exchange on page 52 is, what with the difference in vocabulary and grammar.

comment 7y ago · link · parent

Mandarin and Cantonese share the same writing system in the sense that English and French share the same writing system: mostly the same characters, innumerous cognates, and I can read the back of my cereal box.

Spoken Cantonese is a different language from spoken Mandarin, with different grammar and vocabulary, and when you write them down you get correspondingly different written languages. That written Cantonese hasn't undergone a formal standardization the way Mandarin did in the early 20th century doesn't make written Cantonese gibberish, just not fully standardized. And written Cantonese isn't only used for memeing on forums or text-speak, it's also widely used for casual writing in newspaper columns or in advertisement, or to authentically transcribe spoken Cantonese (rather than paraphrasing in Mandarin). See also:

https://en.wikipedia.org/wiki/Written_Cantonese

https://languagelog.ldc.upenn.edu/nll/index.php?s=written+ca...

[Edit: That kids were (and perhaps are) taught to read and write in Mandarin at school using Cantonese sound values, rather than writing in Cantonese, also doesn't say all that much about Cantonese as a written language. Rather, it demonstrates that Hong Kong is a diglossic (well, polyglossic) society.]

comment 7y ago · link · parent

It was leaked first from when she had a closed session with some business leaders.

comment 7y ago · link · parent

We are talking about the same Hong Kong in which sellers of questionable books were disappeared to the mainland, apparently without the knowledge of the HK government.

comment 7y ago · link · parent

You don't think teaching Chinese in Mandarin (5% first language) rather than Cantonese (90% first language) or trying to introduce national education into the curriculum is assimilation? Responding to criticism that it's brainwashing propaganda, here's what the chairman of a pro-Beijing education lobbying group had to say:

"A brain needs washing if there is a problem, just as clothes need washing if they're dirty and a kidney needs washing if it's sick," said Jiang Yudui, chairman of the Beijing-friendly China Civic Education Promotion Association of Hong Kong, according to news reports. Jiang's comments in July came at the same time that tens of thousands, including many parents pushing their children in strollers, took to the streets to protest against the plan.

comment 7y ago · link · parent

https://wiki.gnucash.org/wiki/Locale_Settings#Changing_the_L...

See the part about adding an environment file on Windows. On Linux, I set my LANG to en_US.UTF-8 but all the LC_* variables (apart from LC_ALL) to en_CA.UTF-8 and that gets me the right UI/formats mix in GnuCash (and also Chromium, which tries to speak British to me otherwise), and hopefully that works on Windows too.

comment 7y ago · link · parent

I have purchased products/services off of ads, but only because I was directly searching to buy those things and they came up as sponsored results. I'm not sure if that counts.

I have never bought off of ads otherwise and find that most of the time they are not relevant to my interests. I also started using an adblocker because of other reasons (mal-ads/autoplay) even though I previously did not do so because I felt text/banner ads were quite acceptable in order to help keep the lights on.

comment 7y ago · link · parent

It's not even an LTS release.

comment 7y ago · link · parent

What is category in this sense?

comment 7y ago · link · parent

The author is refering to a different Tourlakis text than the one used in the 1000 level logic course for compsci students.

comment 8y ago · link · parent

Yes. There is an operator notation for the derivative where you can both avoid the not-quite-division and specify the variable you're dealing with. https://en.wikipedia.org/wiki/Notation_for_differentiation#E...

comment 8y ago · link · parent

I think it just means kindergarten to year 13. At least, Ontario (Canada) used to have a 13th year, but they phased that out 2 decades ago into just K-12 as well.

comment 8y ago · link · parent

Because the interpreter for mathematical proofs is far more forgiving than the interpreter for code.

comment 9y ago · link · parent

My dad went to Best Buy to replace his 10+ year old laptop last year. He actually said he wanted Intel instead of AMD because he heard AMD processors were very slow. I had to tell him the Intel N-whatever and Celerons were also very slow so that he'd stick with one of the i-whatevers.

comment 9y ago · link · parent

Similarly, check out Racket's Scribble mode (https://docs.racket-lang.org/scribble/).

"Scribble is a collection of tools for creating prose documents—papers, books, library documentation, etc.—in HTML or PDF (via Latex) form. More generally, Scribble helps you write programs that are rich in textual content, whether the content is prose to be typeset or any other form of text to be generated programmatically."

You type in text and mark up using @-tags that are defined in, and can also contain, the full Racket language. It's like LaTeX with a modern language (but without the tons of available packages).

comment 9y ago · link · parent

This is unlikely something you'll use in practice, but I just read about it so it came to mind.

A Braun tree is a binary tree that represents a flexible array (indexable everywhere and extendable at both ends). The gist of it is that you take your array index and read it as a binary string that tells you how to go down the tree. If your index is 1, then you're at the right place and you stop. Then you go left/right depending on whether the remainder is 0/1. That is the 1-based interpretation, and it works because 1 is in the first digit while 2 and 3 need the next digit as well.

If you want to use 0-based indices, it doesn't work out as cleanly, because 0 and 1 share the same digit, while 1 and 2 use different digits. So now you have to branch on whether your index is odd or even, and then either (i-1)/2, or (i/2)-1.

It's not a big deal either way, but it turns a simple to visualize data structure into one where you have to think about the indices.

comment 9y ago · link · parent

But why try the "PortableApps" package of a program that isn't listed on that program's homepage instead of using that program's own executable installer listed on its homepage?

Is it not possible that this "PortableApps" package broke the program?

comment 9y ago · link · parent

It's not elitist to dismiss polynomial factoring, though, just dismissive. I really can't think of any reason to care about the deeper points of polynomial factorization (anything other than repeated trial division), so maybe it's just ignorance on my part.

Stats? Now there's math you can use and is useful in understanding our world! And yet schools prefer to teach calculus in high school over however much stats you can teach without calculus. No one uses the integration bag of tricks in daily life, but everyone gets lied to with numbers.

comment 9y ago · link · parent

The first sentence is perfectly comprehensible (factorization is decomposing an object into factors which, when multipled together, gives back the original). As for the most of the rest of the article... there's really no reason for the average Sara to care about polynomial factorization at all (unless it's just algebraic manipulation for doing homework).

To promote a scientifically literate society, improve the secondary school curriculum to teach statistics: How does conditional probability work? What do sensitivity and specificity mean? When a poll comes out, what does the margin of error mean? What are some common probability fallacies and how to recognize and avoid them? Etc.

In addition to Khan Academy, also check out the OpenStax textbooks (https://openstax.org/subjects) over the likes of Wikipedia (which is more often a mix of technicalese or a bunch of trivia depending on the subject of the article).

comment 9y ago · link · parent

On Linux, it renders fonts the same way Chromium or Chrome do. If you're getting "crappy font rendering from Windows", you probably need to change your fonts.conf to change font hinting from full to slight (or none, if you like it more like Macs).

Edit: And also note that, for whatever reason, GNOME does its own thing where you also have to edit the GSettings in addition to the fonts.conf settings depending on what app you're running.

123