skysight-inc/HackerNews huggingface dataset:
> You cannot read such a book, you run through it to see the problem worked out

I read dozens of Christie novels in middle school. Somehow I kept getting hooked by the obvious question: "Who did it?" and gobbled up the book until I had the answer.

With my last Christie book I decided to skip the 150 pages of "fluff" and go straight to the last chapter. The immediate gratification allowed me to get busy with other things, but felt so much less interesting than the delayed gratification.

It was a point of no return though and I never went back to another Christie book or another mystery novel.
I've already heard this as "engineer in Russia quits to do non-intellectually stimulating job, finds a bunch of engineering 'comrades' already there"

your version is a ton more verbose though
Says the person who obviously has already drawn his / her line in the sand.
Tl;dr version of the answer:

There are 3 ways a job can be done: fast, cheap, good. You can pick only 2.
LLVM is a great project. I'm writing a programming language based on it.

It is so much easier because: (1) it's easier than writing machine code translation and (2) it's also easier than translating your code to C which would be purely textual.

Nevertheless, it's difficult to learn for people coming from high-level languages, even for me, who knows C to some degree.

The documentation around IR is scarce.

Then, I've stumbled upon a trick where I can just write C code and compile to LLVM IR with Clang. With this trick, I can answer many questions on my own (e.g. how to implement if-else, how to call printf, how to make a dynamic-sized array.)
Shenzhen is my main base of operation, been the best deal for buck for lifestyle and "having life."

I am nominally employed as a contractor, but am just an inch away from be being a de-jure full time employee. China was more or less welcoming to high flyer demographics living in the country on business visas, but the times seem to be changing. For this reason, I am planning on obtaining a residence permit next year.

For decades, China was all about it being no questions asked about anybody with a legit business staying in the country on long term business visas. They were effectively residence permits. In 2016, they first started looking more into the legitimacy of the business, and in 2017 they put it bluntly that 10 year M visa holders have to get work visas if they are to live in the country for any length of time regardless of the origin of their income.

Shenzhen became a very pleasant city to live in the last 10 years, in fact it is said to be the most liveable city in Asia by many rankings. I can say confidently that the city scores more on livability than any US megapolis.

For me, it depends on the future state of things if I am to continue living there. I admit, there is a risk that China may start kicking out foreigners from the country just for the sake of it.

I am 27. I lived 2.5 years in Singapore, 6 years in Canada. and the rest in badlands of ex-USSR countries. I worked in electronics, and manufacturing since my first job when I was an exchange student in Singapore. Even back in 2008, I was thinking about moving to China as one can't do a thing in electronics industry without doing things in Shenzhen.

I think many here are baffled why in the world so many high flying professionals from Western countries come to China in their sane mind. I tell that: yes, the choice for going to China is a bitter pill to swallow; you are choosing in between comfy everyday life, liberties and freedom on one hand, and being able to live life to its fullest, exhilaratingly dynamic business environment, and a chance of becoming somebody before you hit your retirement age.
Something endothermic? Are you really asserting that no such reaction exists? They clearly do, the question is whether the cross sections are high enough. The list of reactions you find in typical explainers are just the ones involved in energy production.

And I'm no expert, so I'm not going to be able hand you the evidence here. But like I said I swear I've read this analysis somewhere, and something about your tone tells me maybe you are misunderstanding the point.
Not sure why that header is included there, though. I can't find any uses of the regex library. There are multiple custom matchers implemented. So maybe it's that the GNU regex library uses the grep sources. In any case, there don't seem to be any uses of regexec() or regcomp(), for example. Which would have surprised me anyway since that API is rather limiting (you cannot search incrementally).

Let's get that beer sometime, anyway.
I am living where i get effective tax rate zero.

When you are a tech worker, you can afford to work remotely (ofcourse if your skills are in demand, company has no problem with from where you work)
Note, find a SO before moving to a tiny mountain town.
I see that happen a lot too.

Some businesses decide that they want a new thing and find some developers to work on it. Neither seem to care about existing systems, or integrations. It will be one more legacy soon, if it ever gets anywhere.
Socialism is a wide category that includes things that are wildly different from Eastern European communism.

It’s like sarcastically saying “the wonders of capitalism” when talking about a 19th century workhouse filled with laboring children.
I've once learnt Spanish and found it the easiest language I've ever seen, easier than English, it took just 2 weeks to learn. Then I've started learning Esperanto (as the idea of engineered languages (or whatever) amazes me, I feel like we should engineer everything) with DuoLingo (I don't happen to know any better Esperanto course) and it felt easy yet it was just a tiny bit easier than Spanish so I was wondering why do we need a new easy language when there already is one spoken by so many people (and it also is very similar to it) but continued learning. Then I've found out Esperanto has grammatical cases and stopped, cases make me panic. I still feel like I would like to learn Esperanto to fluency once as I adore its spirit of technocracy, borderlessness and defiance of nationalism.
It doesn't need a Shinkansen when the country is twice as big as the Bay Area.

But it has high speed rail.

And regardless, replacing existing infrastructure with something like the Swissmetro is a terrible idea.
1. large metropolitan population (1M+)
2. city, urban environment (i.e. skyscrapers, concrete jungle)
3. safe
4. good hospitals
5. airport must be international with frequent flights to major cities like london, nyc, sfo, etc
6. has a great high tech environment with lots of high tech companies
7. speaks at least 1 of the languages that i speak
8. good education environment (elementary - university)
9. not that cold
10. great food (yet to find somewhere where this isn't true)
11. must have excellent broadband (100M broadband)
12. there exists an official apple store and shopping is relatively convenient where i don't have to wait weeks or months to get new stuff i.e. i remember having to wait several weeks or months before when growing up in the suburbs, had to wait a long time for sony ps2's
12. good transportation system (subway, rail, etc)

some others that didn't make the list:

* must know people, i actually didn't know anyone when i moved to atlanta, boston, tokyo, or shanghai, i ended up making a lot of friends in each place, so i don't find this to be a requirement.
* family close by, i think this is more important as i get older, i used to want to get as far away from my parents as possible, now, even though i don't live remotely close to my father, i yearn for the days where i could see him regularly.
* great weather, meaning warm usually and good air quality. since i'm in the city, the air quality's not that great, so i've come to deal with it, it's important, but i've never prioritized based on this.

i live in shanghai, it fits all of the requirements above, great city, safe, lots of good high tech companies, just that my family is in the states, and the air quality could be better.
I love this series of photos. Kodachrome doesn't have the grain of some other films, and many photos could be mistaken for staged modern reproductions.

https://www.dailymail.co.uk/news/article-2352173/World-War-I...
I'm also shocked at the spirit on people's face. The ~lack of most modern things was replaced by other ways to enjoy places and times.
Don't the high level players of every game think their game is one of the best ever made?

Presumably they wouldn't devote that much energy to something if they didn't regard it as such.

They also probably aren't high level players in enough other games to give a credible comparison among all the possible contenders, simply due to the time required to become high level in multiple games.
https://www.futurity.org/nasal-spray-brain-cancer-1859772/

My wording was a bit off. The nerves in your nasal passageways apparently bypass the bbb altogether.
ECMAScript – A Taste from ES2019 (ES10)
What was the cost to the business when it wasn't timely?
Yes, I think I'd agree with that. Good judgement can potentially help to avoid the unbounded time sinks. I've met a few people who's opinions I'd generally trust in that regard, but it seems to be a hard problem, and so far I'm unconvinced by any claimed heuristic solution (in particular, the approach of picking "active" libraries on the basis of lots of commits on Github seems more likely to get you churn, rather than support when you most need it).

I also think there are some break-points where adding libraries can change the nature of a project significantly. Think of old-school Javascript, loaded directly with a few script tags. In general "new style" JS (with many small libraries, a bundler, and probably some other tooling) brings some noticeable advantages (at least for larger applications), but you definitely lose something relative to the "no tooling, just hit reload" edit-test cycle.
Use https://github.com/digitalocean/netbox to record your network information. Then you can create topology maps with dot/graphviz. https://netbox.readthedocs.io/en/latest/additional-features/...

Someone has a tutorial on using graphviz directly: https://mikegriffin.ie/blog/20110308-a-graphviz-tutorial
We live on the edge of the grid in a very remote New Mexico near the Gila National Forest. With 3 kids, 6yrs and younger that we home school. I've worked remote since 2010 and absolutely love it. Working remote plus home schooling the kids means we can travel and pretty much go anywhere we want any time. We do a lot of RV travel plus spend lots of time outdoors in the Gila, hiking, hunting and exploring...

As for the deciding where to live, it was pretty easy for us. We were already coming to New Mexico for the outdoors multiple times per year, and land in our favorite area is cheap. We were able to locate 43 acres with a log home and relocated here 5 years ago... was the best decision for our family.

Our first couple of years here the internet was a bit spotty as I had to use a Verizon hotspot and typically had 2 bars of LTE on the best days. Surprisingly, there is fiber run all over the place here even tho its super rural. Eventually the local phone company installed a DSL box on one of the fiber runs near our property and that allowed us to get DSL. It's only 5/1 but fits our needs and my VPN connection works fine with it along with my VOIP desk phone.
Are you seriously asking whether one ought to refrain from doing something unethical, even if it's technically legal?

This is Ethics 101...
A Death in Silicon Valley 'With Chinese Characteristics'
Facial recognition bristol research change world know
Verity stob 30th anniversary – The Register
Yeah, well, for you maybe this is a flamewar, for me it's my life.
Remember that wood used to be something that would not decompose to the point we got coal.

But then some bacteria mutated to use it as fuel, and thrived.

It will happen for our things as well. Now if it happens too late, we are screwed. But if it happens too early as well, since rotting plastic would be a huge issue.
I’m using the numbers I was given as I’m not in a place to judge if they are realistic. Certainly if you make false promises no amount of sales techniques will save you in the long run.
Interesting that you put it like that, no income tax, rather than optimal services for the tax paid. Do you consider that as a richer person you should directly contribute financially to the improvement of the society that you live in at all; or is it that you see property tax as a fairer way to do that? (Or something else?)
I work on GRPC. Twirp is serious competitor to GRPC due to being easier to use (as you noticed) and gets most of the benefits just by using Protobuf. It's a problem for us because it's hard to explain the value added.

For me, the reason to use GRPC is because there is a very good story about the boring details of networking. The stuff that would make other programmers eyes glaze over but are nonetheless important, has basically been solved by GRPC. What happens when the connection gets dropped but you haven't sent the RPC yet? Does it try to find another server to send it to? Does it time out? What happens if the DNS entries change after you connect? Does it even use all the addresses that DNS returned? If the connection has been idle for for 30 minutes, does it keep it around or shut it down? How does it even know if the connection is good after being idle so long? Home routers have a bad habit of breaking connections due to their NAT.

For most of these problems, TCP and UDP only gives you the tools to solve them, but don't do so out of the box. Coming back to Twirp, I don't recall seeing these things addressed in their code, (except what Go's net and http library already provide). If you don't care about those networking details (and it's completely legitimate if you don't, some people don't need to), then I think Twirp's API is much more pleasant to use, and still gets you 80% of the benefit of GRPC.
I imagine the downvotes are for your generic use of "socialism" instead of a more descriptive "Eastern Bloc Communism" or similar. Socialism can be implemented in many ways, just as capitalism can.

But, your point still stands. The flavor of socialism encountered in the Eastern Bloc from post-WWII to the 90s was by all accounts completely dysfunctional.
How dare you use my e-mail address? (and calling it nonsense ...) ;-)
> Quite the contrary, he has a unique talent for naming things and people for example that will get people to talk about for months or years. Think about his liberal use of expressions like fake news for instance.

But he didn't introduce that term into wide discussion, his critics did to label the phenomenon closely resembling the m.o. of Russian state propaganda that was deployed in favor of Trump (which it is increasingly obvious resembled that because it largely was a Russian state propaganda effort.)

The practice of adopting and widely using such a term that has been deployed by critics to neutralize the criticism is not unique to Trump, it's a fairly standard, well-established reaction in politics.

While it's true the front business that is used to justify his wealth has been more about brand marketing than real estate, that doesn't mean he's a marketing genius. His real secret of success has been willingness to corruptly funnel money while cultivating a playboy image with a superficially plausible business front.
> it took just 2 weeks to learn

How are you measuring having "learnt" a language? Because IMHO that's an incredible feet that almost requires you not to sleep! Or do you just mean learning the grammar?
Reminds me of a quote I heard once - "Marriage is all about compromise. My wife wanted a cat. I didn't want a cat. So we compromised and got a cat."
Everything running in kernel-space is fully trusted (talking about code compiled and linked against the kernel, not JITted code running in a VM). Symbol map may or may not be built and/or exported during build (both defaulting to true on Debian/Ubuntu setups).
> high population yet low population density

As somebody who hates driving I immediately wondered how that could be a good thing!

> everything is too spread out

Ah! Yes, I can imagine.
The Ladder of Proof: How VCs See Your Startup
Java is a swear word where I come from, and is a pretty harsh enviornment for newcomers.

Both of the above have absolutely nothing to do with the code comments.
> We understand a lot of about the DNA ‘file format’ and how it works. That’s been a major priority of research.

We may understand a lot, but nowhere near enough to be able to confidently edit DNA, and know that it won't causes a ton of unforeseen issues down the line.

We don't know what we don't know ~ that is, as much as we like to believe that we understand a lot about DNA and how it works, odd things pop up all the time that prove us wrong. I dare say that there are far deeper mysteries about DNA that we have no current understanding of.

> Nature does not ‘know how’ to make it work 99.99% of the time. Nature very frequently aborts pregnancy’s when any number of things go wrong. Getting all the way to birth is a huge checksum that validates the majority of critical DNA.

This is merely an example of nature getting it right ~ abort if there are serious issues.

> Which gets it the larger point. Evolution focuses more on species propagation than individuals.

It is about both ~ the individual matters most ~ species propagation doesn't even register in importance to a majority of individuals. Having children does. They're subtly different ideas.
Twilio to acquire SendGrid
I believe he made the edit that he did because it is easier to do a knockdown than a functional edit, and he wanted to minimize the risk of anything going wrong.
See also: The dubious accuracy of fingerprint analysis, errors and contamination in DNA analysis, and the fortune telling that is criminal profiling (https://www.newyorker.com/magazine/2007/11/12/dangerous-mind...).
Here’s a famous quote about organizing personnel:

“I divide my officers into four classes as follows: The clever, the industrious, the lazy, and the stupid. Each officer always possesses two of these qualities.

Those who are clever and industrious I appoint to the General Staff.

Use can under certain circumstances be made of those who are stupid and lazy.

The man who is clever and lazy qualifies for the highest leadership posts. He has the requisite nerves and the mental clarity for difficult decisions.

But whoever is stupid and industrious must be got rid of, for he is too dangerous.”

I would say the 4th class of people are the ones likely to churn out a horrifying codebase. Such people are also unlikely to be able to recognize and learn from their mistakes.
Which mid-sized Turkish ISP do you work at? Netspeed or TÜRK.net?
Pretty much the same reason I chose Shenzhen in 2016, after living in-and-out of the country for many years on extended business trips.

Anything except for Internet is there. You may have a gigabit line to your desktop, but even internal Chinese Internet will be screeching slow unless you visit a site with an own CDN in every city.

I also worked in Shanghai on a 6 month assignment once. Line 2 rush hour commute was an everyday near death experience (commuting in between Lujiazui and high tech park where chip cos were.)
1Mbps uplink would cause a severe hindrance for any remote work involving a team and heavy collaboration tools or videoconferencing.
How does a person from the west move to China? Chengdu interests me.
Esperanto is to English what duckduckgo is to google and bitcoin to money.

Only losers who prefer to get stuck on "pure" ideas instead of embracing reality would be interested
China builds useless buildings/cities because it raises the GDP and because it's often the only viable way to raise funds for local governments. The Chinese people invest in useless buildings because it is often the only viable way to invest your savings.

Some of the useless buildings built for buildings sake will potentially be filled as people move from rural areas, but a lot won't.

https://www.youtube.com/watch?v=f5SE47Xjx2Q
What visa have you used for 4 years?
It sounds like it, but it is not. It gets confusing fast when one talks about these things in even slightly accurate ways.

In DTC to call a function of the VM code (ie a another piece of DTC) you typically have a "call" virtual instruction, followed by the virtual address to call. you also have a virtual "return" function that pops the virtual instruction pointer from the virtual call stack.

Subroutine threaded is really just a very primitive form of AoT compilation.
Don't buy a 5G smartphone, at least for a while
On a macro level it is absolutely possible for immigration to both depress wages and overburden the welfare system.
i don't know how big its effects would have been for the US economy.

it seemed like there were pro/con TPP factions in the Democratic voter base. i recall Sanders being against TPP because he thought it was too favorable to certain US companies (e.g. pharma, entertainment) and their shareholders without doing much for workers or for other US industries.
They should sell more knockoffs of popular products ;)

Has there been any research into the truthfulness of the Chinese released growth numbers in the past? What’s to prevent them from inflating or artificially deflating them to serve some other purpose?
If there are issues, then it is very important to abort the experiment, and go back to studying DNA. Altering something so crucial to life, and its life-long health, is fraught with many-faceted issues.

It's dangerous to tinker without a truly full knowledge of what one is doing.
AI Diary #5
Packet injection and monitor mode now possible on RPIs' built-in WiFi
At work we're in the position where three of our main competitors are struggling bad after all trying to rewrite their software. Good for us, we've captured a number of their clients due to this.

We've instead focused replacing parts of the program over time. If we touch some old code that works but needs to be extended for a new feature, we usually rewrite it and bring it up to date as part of implementing that feature. Other times it might be too sensitive and we just modify a small piece of the old code and let it chug along like it has done for over 15 years.

Instead of spending time rewriting the whole shebang we can deliver features, alternatively not having a second team reimplementing everything avoids a huge financial burden.
Could be. I don't know which one came first.
The American equivalent is useless military hardware, including sometimes hardware the Pentagon says it doesn't even need.

Both approaches are wasteful but which is more so is debatable. Our military Keynesianism throws off R&D dividends that apply to civilian use cases, but people could live in those cities.
> So what makes this rewrite successfull?

That it was successfully completed and the tech provides a better basis for future features? Sometimes timeframe and team size are almost irrelevant to the success of a rewrite project.
I live in Denver now but did a bit of analysis off of census and economic data:

1. Move somewhere where college graduates choose to move (this is a proxy for restaurants, arts, high paying jobs)

2. Move somewhere where desired incoming levels have net population increases (immigration)

3. Move somewhere within the major metropolitan statistical areas with continuous growth (city populations are funny, MSA is more informative for my case)

4. Scrape user profile locations off multiple websites to determine "Online participation" as a proxy for more modern citizens

5. Scrape job sites by the keywords in my field, full time, non-contract
Very well written and timely.
It doesn't. Replacing the kernel doesn't but deprecating the entire OS and switching to GNU/Linux + Wine (which means MS would start contributing to Wine) does. If this happens we can get heavily improved Wine + vendors like Adobe releasing Linux-native versions of their apps.
Classic Arcade Video Game Bootlegs, Lawsuits and Litigation
That would be interesting. In what form would you express the result?