Better HN
topnewbestaskshowjobs
Log inSign up

theblackcat1002

37 karma · joined Jan 25, 2019 (7y ago) · 56 submissions

Submissions

comment 6y ago · link · parent

“About US$2 million was earmarked for the protest movement in Hong Kong, but has now been frozen as part of a general overhaul and restructuring by a new agency boss.”

so the funding doesn't really give out?

comment 6y ago · link · parent

As someone who has work with all three NLP toolkit: huggingface, openmt-py and fairseq. I always have trouble juggling through the heavy abstraction of openmt-py.

For example in openmt-py you need to write fields, reader and raw datasets before you even load into their complex dataset class. Each item is heavily abstracted through several layers of classes. I understand this improve code reuse, but introduce a huge steep curve for newcomer.

Huggingface approach on the other hand is slightly more "messy" [2] but easier to understand and add your own tweak.

[1] https://github.com/OpenNMT/OpenNMT-py/blob/master/onmt/bin/p...

[2] https://github.com/huggingface/transformers/tree/master/src/...

comment 6y ago · link · parent

Frechet Inception Distance using language model is a solution (commonly used in text GAN). I think the core idea is that you should never rely on one metrics for evaluation but rather a mix of them ( even statistic ones: unique word count, word distribution similarity etc )

comment 6y ago · link · parent

"There was a problem talking to Instagram. Please try again in a moment." blocked by Instagram?

comment 6y ago · link · parent

This will be quite useful if ported to database

comment 6y ago · link · parent

Arxiv pdf link : https://arxiv.org/pdf/2006.03575.pdf

comment 6y ago · link · parent

It seems to be a rewrite of ngxtop

https://github.com/lebinh/ngxtop

comment 6y ago · link · parent

On the other side, AMD APU code name was found in latest macOS release which should hint the other side of the story.

https://www.tomshardware.com/news/apple-may-start-selling-ma...

comment 6y ago · link · parent

This is actually what I did, but with web application and services. I tried app development in the one of my first few projects but finally gave up for web apps because it allows faster trial and error ( mainly I can push changes in UI and UX faster to a wider audience ). My take away is that stay away from "hot" topics ( news, game app ) unless you have a solid background because you need a really polish product to compete.

comment 7y ago · link · parent

The first thing I saw the name immediately relates to the Malay word Lagu. But no you don't see a word like this in real world, but you can certainly add them together.

comment 7y ago · link · parent

You usually ended up in more recaptcha challenge (from form submission and cloudflare )than usual.

comment 7y ago · link · parent

Hope they update the non touchbar Macbook Pro as well. Which has been sitting dust from all the upgrades(new keyboard, 8th gen CPU).

comment 7y ago · link · parent

I think this works for university student when 99.99% uptime isn't your highest priority. My university has static IP and near 700 up/down speed to each dormitory. So by investing in an old workstation I can easily work on various ideas and built MVP for it. I finally ended up running a crawler service for months before I migrated to a vps.

comment 7y ago · link · parent

You have to look at this issue from a Hong Kong resident point of view (I am not a Hong Kong resident). Since the handover to the China government, the average living cost is higher than ever before [1], real estate price skyrocket due to huge amount of investment from China[2]. Some Hong Kongers may blame these issues to "mainlanders" for "disrupting" their live.

Also in 2013 "mainlanders" rush to Hong Kong to buy milk powder due to the poisonous milk power scandal in China, causing a shortage of milk power in Hong Kong [3]. I certainly wouldn't be happy if suddenly I can't buy milk power for my child because my neighbour had bought all of them.

[1] https://www.scmp.com/news/hong-kong/article/1143157/hong-kon...

[2] https://www.scmp.com/business/article/3002396/hong-kong-home...

[3] https://www.worldjournal.com/6148953/article-%E9%A6%99%E6%B8...

comment 7y ago · link · parent

I tried feeding a random CNN news I found [1], with the first few paragraph as follows:

"London (CNN)The interminable US process for picking a President has its faults but as a democratic exercise it outshines the closed-door system being used in Britain to choose a new prime minister.

Theresa May resigned as Conservative leader last week after an ill-starred premiership and triggered a party leadership race that will select the next resident of 10 Downing Street by late July."

as I added more paragraphs it started to shift from "quite sure this was written by a machine." to "quite sure this was written by a human.".

Does this mean the model has learned to take advantage of short text being generated by machine while longer are human written text. A similar effect can be replicate from this article as well[2]

[1] https://edition.cnn.com/2019/06/09/politics/uk-prime-ministe...

[2] https://nypost.com/2019/06/08/mexican-troop-deployment-may-h...

comment 7y ago · link · parent

Probably due to using newspaper instead of dragnet as content scrapper. Newspaper tend to get pretty deformed content from my experience.

comment 7y ago · link · parent

You can check out Sonic[1] and Tantivy[2] both are lightweight search engine

[1] https://github.com/valeriansaliou/sonic

[2] https://github.com/tantivy-search/tantivy

comment 7y ago · link · parent

This looks a bit like Neon, which to me the UX is a bit of gimmick. Since Opera is sold to a Chinese company, I may consider this if Opera's going to open source it's code. Btw, I believe nothing is free, you are just paying it in a non monetary form.
12