skysight-inc/HackerNews huggingface dataset:
It's not flamebait to discuss the very real, very troubling human rights issues that exist in China. It's certainly not just an "opinion." I'm seriously concerned by your calling out the parent comments like this, and even more concerned that you're doubling down in other comments. I don't think it's the best look to shut down criticism of a government like China's (no one is talking about the Chinese people here) that routinely, demonstrably commits human rights abuses. They are documented and real. The Chinese government commits murder, torture, theft...

I'm not sure what to say if HN's position is that it's too controversial (or is it that "all denunciations are the same"? They are not) to call out such actions. These discussions are clearly related to the topic at hand.

Maybe those of us criticizing the Chinese government aren't saying anything new, but that doesn't lessen the need to speak out. It's neither "rhetoric" nor "grandiosity" to point out that it's morally wrong for a government to act the way China's does.

I would expect the PRC to put a lid on this sort of criticism, not Hacker News. It's bordering on complicity.

> For example, in this case, people aren't actually interested in the plight of the Uighurs.

What an awful sentiment. Please don't profess to know my own moral compass. I am deeply concerned and sickened; we all should be. These people are being forcibly relocated and tortured by their own government.
Oh boy, I just wrote a 100 line client and another 100 line server that is able to do real time voice communication, comparable to the likes of telegram.
(In python)

Albeit it uses portaudio (python-soundevice) for the audio IO which is not written in python, and opus which isn't written in Python either. But all the glue and udp communication is pure python.

And P.S. - pulseaudio uses more CPU than my thingy.

Talking about production, I suspect the guys at OnBeep are making use of python a lot, just looking at their GitHub repo

https://github.com/OnBeep

(The python opus bindings are created by them)

I'm just tired of people underestimating the speed of python. Its often a matter of not using it correctly...
Aw, that's a shame. Cuba is a really cool place, and a lot of what makes it special is the lack of internet.

It's disconnected in a way that you really can't experience anywhere else in the world. Want to change your flight? Too bad. Can't do that. Want to research the next town? Pull out a book or ask somebody.

Going there is like travelling was back in the 90s. You take a bus to the next town, then walk around with your bag asking at various houses if they have any rooms available. The lady at one may direct you a block down to her friend, and it all works itself out.

Better still, go to a restaurant at night, drink a beer and watch the amazing local band playing. And talk to people because nobody is engrossed in their phone. They can't be, because there is no internet. Other places, I can't remember the last time I was able to strike up a conversation with travelers through the barrier of their phone. In Cuba, I was talking to random people every single night. Because that's all there was to do.

It really drives home how much connectivity can wreck things. And it'd be a shame if we lost the last place in the world that still works like that.
Extra hot composition of vine and coubs №59 at FunnY Cube channel(2018)
"Due to the centralization that is caused by public DNS services, large content delivery networks (CDNs), such as Akamai, are no longer able to rely on the source IP of DNS queries to pinpoint their customers. Therefore, they are also no longer able to provide geobased redirection appropriate for that IP."

I always thought that the go-to way to solve geobased redirection was to make all your PoPs listen to the same IP(s) (I think some BGP is involved here), and let Dijkstra's algorithm let all clients find the shortest path to the nearest PoP? Isn't this exactly what Google and CloudFlare are doing with their own DNS IPs?
Fair enough! In this case Show HN would have been the best way of posting this on HN. At the very least, the fact that the OP is the author should have been disclosed as soon as possible.
Trade Cryptocurrency Like a Hedge Fund with Cryptics AI +70% Accuracy
As a complete economist noob this is my understanding: When discussing huge investements, the cost of goods and services does not really matter, but what matters is that what is the expected profit margin from the investment and at what risk.

From this point of view dollars do equal the estimated size, not how much commodities or services you can buy with it.

Someone with more experience can comment hopefully on this.
What effect does switching from Baidu to YC have on Qi's social credit system rating?
I think they mean they found, in the bone marrow, an abundance of the missing T-cells (missing from the brain?)
TikZ is a microcosm of LaTeX itself: powerful, expressive, able to automate repetitive tasks, beautiful output -- but sometimes, it takes forever to do something that would take a few mouse clicks in a GUI tool.
Try mining Today is the day
I am genuinely curious about the tech start-ups that give you "street-cred" in SF. At most of the places I hang out at they dislike techies and blame on them the rising rent prices, monoculture, in general the cultural demise of the city.

Actually at most parties or bars I have to "hide" that I work in tech, or come to terms with "that guy who works in tech... but hey he's ok, unlike the rest of the lot".

So, I 'm honestly wondering where you guys get high fives for being part of a unicorn around here! (referring mostly to the parent posters)
I use the Syncopoli app which can do this on a scheduled basis. It uses Dropbear internally and is also on F-Droid. You do need a SSH server but you can limit the wireless networks it syncs on, so it needn't be public.
I use Bing as my primary search engine while in China. It isn't blocked, has excellent search results, and is a general drop in replacement for Google/DDG. Baidu is a bit harder to navigate as a foreigner. I don't even try with Baidu Maps.
I think the primary contributor stopped work on it, no one else took over, and most users don't perceive its benefits outweigh its switching costs.
School Choice Is the Enemy of Justice
So there is SSHD on ios... :-P
Show HN: Web app template like a real mobile app (PWA score 98/100)
Docker uses a single Linux kernel for all containers. Docker containers are much lighter weight than VMs, since each VM must run a full kernel instance.
Google DeepMind AI Does Parkour (2017) [video]
I'm familiar enough with Docker to know of it as a combination of lxc, cgroups, and probably other things so that I can have 1 machine, 1 kernel, and yet multiple userspaces. These userspaces are not (as i understand it) Securely Isolated from eachother, but enough so that if there existed some monstrosity of a complex piece of software, which required lots of dependencies and customization, it might make sense to put it in a chroot, or a docker for the CoW benefits.

But what I'm not following (and again, I don't get the point of Docker, I don't use it, so in trying to learn I'm assuming you must know more...) is how it assists provisioning the VM as you say. Sure, it could _change_ the provisioning of the _host_ (i'm calling the inside of the docker container the host in this context). But it's not like the binaries being executed in the container is the mac operating system. It's a VM that within THAT is the mac operating system.

If I have mac running on a VM on a linux host, I still need to log in to that mac guest to configure networking, execute apps, install software.... So how did adding docker to the picture make it easier?

Hence my confusion.
Gasoline powered vehicles are also replaced and Big Oil can invest in electric vehicle companies and renewables as they diminish the output to account for the lower demand.

Also, diesel engines can be converted to DME which is cleaner and offers a path for CO2 recycling. DME/electric plug-in hybrids is a solution mainly for trucks and shipping because they can automatically switch to electric near populated areas and use the ICE for extensive range.
Highways create alot of dead space that can not be used for other things than really low value stuff. So it's a fair comparision, considering we are talking about walking in a city center vs. people polluting the same size of land
Multi GPU in PyTorch is usually just a few lines of code. Can’t be any easier. Wrap model in DataParallel and enjoy life. Last time I touched TF, things were pretty gnarly for this frequent use case. Don’t know how it is now.
Factors that wreck the brain
Was reading this comment chain and did a double take on “Can you give an example of how AI might help...” coming out of the blue.

Yep this is hacker news.
>... then changing companies frequently is good, but only up to some point. Past that point (I would say, 30-something) ...

I know multiple people that have changed employers every couple years throughout their thirties. Each time it was a better deal. There's absolutely no reason to settle in at a particular company just because you're old. To hell with long-term trust building, either a company empowers its senior talent to get shit done regardless of their tenure there, or to the company's own detriment it doesn't.
Judge Judy!
Interesting comments here but imo India already has a pretty fantastic healthcare system. People who argue against spend some time understanding the US healthcare system and the disaster it is.

India already has health insurance by private companies but its probably not used extensively. Something like this is basically a government run insurance scheme - it will most likely be a no-frills service, offer standardized plans with fixed reimbursements and provide some tax benefits for enrollment. There is very little that can go wrong here and probably pretty good upside. This is the kind of things that make for very good politics and there is no harm in the govt. capitalising on it.

That being said most of India has access to govt. run hospitals which offer near free services. The article paints a grim picture of these facilities and that might be largely true but I frequent govt. hospitals all the time even if I can afford private. They are quick, almost free and doctors are pretty good.
Not in the case of PyTorch. Massively easier to deal with _and_ faster for just about everything.
China may become richer but it will have to deal with the effects of a very fast aging population as well which will impede its economy as well.
Yes, that's what I said. (although in a comment below this one. ;))

A container is much lighter weight than a VM, yes. (and so is a chroot)

But the MacOS userspace isn't running on the linux kernel, it's running on darwin. So, macos-in-docker would be an entire qemu installation in docker, with a macos image inside that.

EDIT:
Ahhh, because it doesn't make sense to run a full operating system in a container, only a single program, I'm guessing that what OP really wants is some way to dockerize a specific (or several) macos apps. To do so, you'd need a way to wrap the linux kernel do it can provide a darwin like api, as well as the same for any required libraries.

OP: You may find this project interesting: https://www.darlinghq.org/project-status/

They made a MacOS to Linux translation (not virtualization) layer of sufficient quality that you an run a decent amount of (text only) native binaries.
SQLite Release 3.25.0 adds support for window functions
A 3% increase in speed is a miniscule improvement. Emacs has a small dedicated group of maintainers, increasing the maintenance burden will stop other developements (such as the recent addition of async which is a much bigger performance issue). If emacs is losing users I would guess it is because to make it an IDE takes more configuration, and has more issues than competing products.
honestly i thought HN is better than this.
thanks for your feedback!
If you find this interesting, there are a lot of resources for the Turkic languages in the Apertium platform: http://wiki.apertium.org/wiki/Turkic_languages

These include monolingual lexicons and bilingual dictionaries that can be compiled to finite state transducers, as well as disambiguators/parsers (in vislcg3 Constraint Grammar format) and annotated corpora. For some pairs in the language group, there are also full machine translation systems and spellcheckers (for LibreOffice, Firefox and Microsoft Office).

Much of the data is already available in Debian/Ubuntu/Fedora/OpenSUSE, if you don't need the newest git:

$ sudo apt install apertium-tur
$ apertium -l |grep tur
tur-disam
tur-gener
tur-lexc
tur-morph
tur-tagger
tur-twol
$ echo 'aynı maruldaydık' | apertium tur-disam
"<aynı>"
"aynı" det dem SELECT:144
;	"aynı" adj SELECT:144
;	"aynı" adj subst nom SELECT:144
;	"aynı" adj SELECT:144
;	"i" cop p3 sg
;	"aynı" adj SELECT:144
;	"i" cop aor p3 sg
;	"aynı" adj subst nom SELECT:144
;	"i" cop p3 sg
;	"aynı" adj subst nom SELECT:144
;	"i" cop aor p3 sg
"<maruldaydık>"
"marul" n loc
"i" cop ifi p1 pl
"<.>"
"." sent

Or use the stuff from beta.apertium.org for a quick test; click "analyse" to go from form to analysis:
http://beta.apertium.org/index.html?choice=tur&qA=ayn%C4%B1%...

Click "generate" to go from analysis to form:
http://beta.apertium.org/index.html?choice=tur&qG=%5Eayn%C4%...

There's no "predicate logic" yet, but the Constraint Grammars already used for disambiguation in Apertium are very well suited for syntax and dependency parsing (there are some quite advanced ones for the Saami languages that could be used as a basis)
You can essentialy use the batteries of electric vehicles as energy storage. Most passenger vehicles don't need to run at noon when everybody is at work and surplus solar is available. They don't need to run at night when people sleep, electricity demand is low and wind whirls. Buses can also be scheduled for loading during these periods as they can run 200 km on a charge and transport capacity is adjusted according to demand - only a fraction of the fleet operates during low demand periods mentioned above, the rest can sit and charge. Long haul transport can run on plug in hybrids using HCCI internal combustion engines and/or gas turbines powered by diesel/gasoline or ideally DME/LPG. This can be all tuned using economics. Coal needs miners for extraction and is dirty to burn. Gen III+ and IV nuclear and geothermal are much cleaner and safer alternatives for base load.
I would be more than happy to, in exchange for a Ryzen chip and board. :) [seriously!]
An anecdotal experience I had was that working at a large corporate was an incredibly pleasant experience. This is obviously due to where I worked being the type of company that was very generous to its employees, in all ways except remuneration which is why I eventually had to go elsewhere.

I still dream of going back there. Due to the size of the company and it being around for so long. I found my job was incredibly well defined and my deliverable's where always right in front of me and measured regularly. This made it very easy to deliver more than was expected of me. Due to this really tight feedback loop between you and the company your career moves forward at an encouraging pace.

It can take some extra effort from your end to move horizontally within the company but where I worked it was a massive stepping stone and I found I could really leverage off of the mechanisms put in place by the company to reduce employee turnover.

My point is you really feel pampered and cared for. I reckon this has a lot to do with the company, as well as my immediate managers being total rock stars at their jobs.

Anyway, now I am in a startup in the truest sense of the word. First employee through the door. Second developer and third person on site. This is not comfortable, and I do not feel pampered. In fact I am considerably more stressed but hell's teeth, nothing makes you up your emotional maturity/expertise/business game as much as this. Much like the post eludes to I suppose.
A Simple Guide to the Versions of the Inception Network
I think YC China would mainly help local tech talents to launch startups with a focus on China's markets first. If you look at how many tech startups are located in Beijing (some of them are tier-one companies: Tusimple, uisee, bytedance, mobvoi, megvii, just to name a few), you would know that they have made the right choice.
You are right, and it is ironic that the historic building style in those regions probably was in the Spanish tradition of the early settlers.
Interesting to see YC embrace someone who went on leave at MSFT due to injuries of a bike accident... or so the news claimed. Yet popped up at Baidu/etc.

Next up YC will hire the Amazon Exec that puffed himself up and was fired before he joined Uber?
100% code coverage is a mirage. Even Kent Beck, who originally popularized TDD, long ago advised against it. What you want is 100% branch coverage of your logic. But spending time writing test for simple getters and setters, for example, is purely wasted time.
"Myth of Common Sense"

http://freakonomics.com/2011/09/29/the-myth-of-common-sense-...
Dupe from 22h ago

https://news.ycombinator.com/item?id=17753614
For what aspects?
Performance?

Compatability?
Awesome site, love the brutalist design!

Edit: post to https://roastmy.site to get some design feedback if you like!
I think compared to pollution, political situation and education is more concerned.
I think this is a very American perspective; I'm American as well. It is very easy for us to forget our own human rights abuses, like bombing children in the Middle East, torture in Abu Ghraib, etc. etc. and focus on other countries as the "bad guys". America's leadership has made mistakes, China's leadership has made mistakes, but to use those mistakes to promote isolationism divides us as a global people. China runs their country differently. If YC can promote new startups in China, perhaps one day those startups will be the driving cause of unifying the world. Most citizens only loosely affiliate with their country. Many Chinese, like Americans, want to make their home and the world a better place. To remix from Richard Dawkins, A child is not an American child, not a Chinese child, but a child of American parents or a child of Chinese parents.
The best way for applied science is do not publish & find a way to exploit your results commercially instead. That's why we sign NDAs while doing consultancy gigs indeed. There is no actual gain in putting your effort out on arXiv.org or conferences, only to be scooped by the numerous groups fighting for grants and the many more outsiders looking for impossible recognition or a fast buck from unscrupolous knowledge transfer. Just keep your results private, exploit them on your own and send them all whistling.
That is a scam in the making...
Ask HN: What ressources would you recommend to start coding?
I am 50 years old and I want to start coding. What ressources would you recommend so I can learn how to code and which platform/language would you think I should learn?
I don't think so; we do get about a year of parental leave though, when someone wants a kid they just have one and their employer doesn't really have a say in the timeline.
And now he did the worst thing of all: insulted our favourite corporation and caused a tiny loss of revenue. Unforgivable.
I really want this. I'm a hardcore linux guy(23+ years), but I have to run a windows vm for some instruments I have that wont run under wine. I hate windows. It sucks so much. Even just using it not that often with my instruments reminds me why I stopped using it.
If you own the copyright to the text couldn't you make it known that if someone were to OCR it, clean up the formatting, and publish it that the result could be freely distributed?
That is a seperate crime which he may also be guilty of.
That technique is called "Anycast", it's mentioned at the very end of the linked article.

The problem with Anycast is it works pretty good for UDP (such as DNS) but doing Anycast with your actual TCP connection (particularly long lived ones) can be problematic because of shifting routes, multipath, etc.. meaning that sometimes your traffic will change data-center mid-flow or possibly even with alternating packets in the case of multipath somewhere etc. So suddenly your HTTP connection data is arriving at the wrong data center and the connection breaks.

What most providers currently do (as far as I understand anyway, I'm sure there is a lot of hyper optimization) is based around using Anycast to receive the DNS lookup, and use information from that DNS lookup to send back a relevant POP locations IP.

That's not always based purely on which DC received the DNS request though, that's the most naive implementation, but most of the big CDNs optimise the returned server based on the source IP of the lookup among many other factors.

Hence why it matters for public DNS, since they are the source of the DNS request.

This article however also discussed that Anycast doesn't always route traffic where you would "expect", for various reasons that extend from commercial agreements and cost all the way to bad configuration and "no idea" you may not get routed to the nearest DC.

There is also a DNS extension, called "EDNS0" (also discussed in the article) that sends the /24 of the IPv4 IP along with the query, to allow the DNS resolver to customize their response particularly for these centralized DNS services (e.g. Google DNS supports this but only if you apply to receive them as an authoritative DNS server) - however APNIC/CloudFlare explicitly chose not to use this I believe supposedly for privacy reasons with 1.1.1.1.
Some of my Taiwanese friends would choose to base their companies at either silicon valley or mainland China, while a lot of my bay area Chinese friends (and friends who received US grad school education) would choose to base their companies in mainland China. Taiwan doesn't really have the ideal startup environment.
Firestore has strong consistency transactions.
I found two-stroke motor scooters worse. If only because of the fact that those can drive on some cycleways here.
Please tell me more about this drinking game ;)
>That being said most of India has access to govt. run hospitals which offer near free services.

Nothing could be farther from the truth. I would recommend the following study, published in The Lancet

>In India, despite improvements in access to health care, inequalities are related to socioeconomic status, geography, and gender, and are compounded by high out-of-pocket expenditures, with more than three-quarters of the increasing financial burden of health care being met by households. Health-care expenditures exacerbate poverty, with about 39 million additional people falling into poverty every year as a result of such expenditures.

See: https://www.thelancet.com/journals/lancet/article/PIIS0140-6...
Twitter Suspends Alex Jones for Seven Days Over Tweet
Oh, and ftr - I'm "bursting out packets" at 10ms intervals. I have tried 5 and the problem still wasn't speed, it was the cracking noise caused by such small samples
You're able to create files in Dockerfile, that could be used for configuration + the stuff about networking. AFAIK macOS has a textmode as well that should work similarly to other Unixes, but I'm not sure about that, but if so, you should be able to execute commands just like with a Linux VM. Yes, there'd need to be a bridge between the macOS VM and the Linux docker container.
I had various success with this repository, unfortunately the various XMLs for libvirt and the "sh" boot scripts all reference different paths and capitalizations of files (e.g. even for the firmware committed to the repository etc).

However I did get it to work successfully with High Sierra at one point.
My winning combination for China: Google Fi (unrestricted access to real Internet), Google Translate, Didi. Most places have pictures for food so I just play the pointing game, but it would be difficult if you were a picky eater.