Hacker News new | past | comments | ask | show | jobs | submit | more bsznjyewgd's comments login

I'm reminded of one of Neil Fraser's blog entries "CS by Mail" https://neil.fraser.name/news/2015/04/13/, in which he received mail from someone inquiring how he could learn programming in prison and Neil recommended CS Unplugged. I wonder if that worked out.


I'm not sure if you're missing the point.

Yes, secondary schools used to teach in Chinese and English (more of the former if you chose a Chinese school, more of the latter if you chose an English one), but the Chinese used to be Cantonese.

Now they're teaching even primary schools in Mandarin. The lingua franca is Cantonese, and Mandarin is a foreign language. Obviously, this is problematic. When I was going through the school system, Mandarin instruction (as a separate class, not as a language of instruction) didn't even start until fourth grade. Can you imagine starting your first day of grade one and your teacher starts speaking gibberish to you? That's ridiculous.


No I wasn't missing a point;I was missing an entire data set! I didn't know they moved that down to primary school! I knew they switched from English to Mandarin but I didn't realize they pushed it down to grade one.

I am obviously wrong on that point. Thanks for the info.


Actually, I think I implied more than what I meant to say. While they are now pushing the use of Mandarin as a language of instruction (and pushing it further down the age group), I'm not so sure they are starting at grade one (I'm now part of the diaspora myself, but this is in the Cantonese news once in a while). That was just me wondering to myself the absurdity of being taught in a language that I would've barely heard of at that point in life.


http://news.mingpao.com/pns/dailynews/web_tc/article/2016021...

Of the 80 schools sampled, 36 teach Chinese in Cantonese in all classes, 22 teach in Putonghua in all classes, 9 teach in Putonghua in all classes of some grades, and the rest have a mix of both.


"shouldn't Vala be a research branch of C#?"

Vala is a nicer shinier layer for programming with GObject in C. I don't really understand what it has to do with C#? Do you mean just the syntactic influence?

Keep in mind, lots of vocal people hated Mono, not just because of some vague looming threat of possible patent action, but because they disliked the memory heavy and slow startup nature of the runtime (see: Tomboy).


1. Start with C#

2. Create research fork

3. Change it just enough until it can do what you're trying to get out of Vala right now (including whatever sweeping changes you want from the runtime by targeting GObject, so that it exhibits the static properties Vala wants here)

Result:

GNU/Gnome/Vala benefits from it, and the C#/.Net folks can benefit from it, if ever that research makes its way upstream. Which in turn brings another round of benefits to Vala's users and maintainers. My overall point is that symbiosis is nice. There's strength in numbers.


I'm not familiar with your exact distro/installation situation, but at least on Debian/Ubuntu, TeX and friends are split into multiple packages, where many binaries (including latex/lualatex/xelatex) are in one package (texlive-binaries), but the supporting files/packages for non-basic uses are in another package (texlive-luatex and texlive-xetex).


As I understand it (and I just started using Pandoc today), pdf output requires TeX (or maybe it's LaTeX) from MiKTeX which I installed. By default, MiKTeX downloads dependencies as they are needed. For me, it dies when it tries to get xelatex.def because it's not on the server.

MiKTeX comes with an admin tool that has an option to synchronize repositories which supposedly fixes lots of problems, but apparently not this one.

For anybody that reads this and decides to get Pandoc and MiKTeX, I suggest getting the version of MiKTeX that bundles all of the dependencies. In the days of terabyte disks, I'm not sure it makes sense to pull down dependencies a few kilobytes at a time, especially if packages periodically go missing from the servers.

This is a side-by-side comparison of the HTML version and the generated PDF version:

http://imgur.com/a/Zkamk


Civ IV had a very nice mod called Rhye's and Fall of Civilization that "simulated history" up to a point until the starting time period of your chosen civilization, and it had "historical forces" (random and scripted events) that destabilized old civs and sometimes caused new ones to appear. It also had "historical victories", in addition to the usual victory conditions, that were thematic in relation to the chosen player civ (imagine things like (made up, because I no longer remember) "control all of the Mediterranean by X" or "never lose a city to the Mongols while building 6 academies).


This is already kind of the case. Debian stable tracks the Firefox ESR releases, updating when a new one comes out. If you want the Firefox frequent releases, you get them with backports from the Debian Mozilla team (out of the main archive).

(For the more adventurous desktop users, they can also use Debian unstable for the frequent releases. Unstable isn't unstable in terms of your machine falling over. Rather, there is a lot of package churn, and you need to use something like "sudo aptitude upgrade --visual-preview" when upgrading to ensure that you don't try to upgrade something in the middle of a big package transition before everything is finished and ready in the package repo.)


I'm dense. Why is it less effective to choose the midpoint fraction and more effective to choose with the Stern-Brocot tree? Is it just the growth/storage or are there other issues too?


Growth is one, the average term will be smaller. The real reason to pick this is that the tree is a b-tree so you can pick terms above and bellow, so you can end up with simpler terms, not just more complex ones.


Not sure why this got down voted. It's easy to see that points can be selected between two others that are parents in some cases. With mid-points, it usually mixes a fractional part like taking a midpoint 1/2 and then moving the upper bound so the next card is 2 and then moving something between 0.5 and 2. This ends up being a messier fraction.

Adding logic to pick 1 instead of 1.25 seems easy but there are a lot of edge cases and ends up creating something that is at least as complex as this simple binary tree that generates all positive rational numbers.


In a broad (and rather optimistic) sense, advertising informs you of available opportunities, not just things that you can buy. I guess you can try to separate it into "selling products and services" versus "brand promotion and awareness" versus "public service announcements", but the line can be fuzzy and gray.

I don't have anything against ads on webpages in general, but I really hate anything with sound/animation or focus-stealing like pop-up/interstitual/hiding/whatever. I don't block ads because I'm lazy, and because I think it's an acceptable payment model for content, but I just leave the page if the ads annoy me enough.

FWIW, the only ads I've actually purchased services/products from are when I'm actually searching for them and they come up as sponsored results or sidebar ads.


On the 5th year report (that you linked to), they mentioned that they had funding for another year and a final report. It's unfortunate that there was never a 6th year final report to wrap up the project.


I found it: https://he.palgrave.com/resources/sample-chapters/9780333992...

It's the sample chapter from the product page on Springer: http://www.springer.com/us/book/9781403907721

Maxiphobic heaps are probably the most intuitive implementation of the priority queue data structure, and they're meldable to boot. I only wish weight-balanced trees are as simple (to prove the invariant) as the height-balanced AVL trees.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: