skysight-inc/HackerNews huggingface dataset:
Just wondering but:

> I work for a US company that routinely has to deal with cyber attacks by Iranian professionals, probably government sponsored.

The full article is about services blocking IPs from Iran (and how it's effecting him as a dev). I don't see what cyber attacks have to do with anything? Or do you think these IP bans are a defense against cyber attacks?

All countries do cyber attacks, most countries in the EU have been infiltrated by the NSA and friends. How is that related to companies geo fencing entire countries?

> If the government in power over you is in conflict with others, and/or in conflict with it's own people, it's going to impact you. If you want your life to be better, look for ways to improve your government.

Not to get all political but I think it's pretty clear that the US is the only western country not liking Iran, and they use their influence to have the whole world obey US sanctions. You expecting OP to raise against their government? I say odds of succeeding are slimmer than storming Area 51.
Younger workers also seem to want/care more about recognition and praise and are willing to work those extra hours without monetary compensation.
There have been a growing trend of personal sanctions targeting power actors and their affiliates. Most of them in form of Magnitsky laws, championed by Bill Browder. They hurt enough that Putin had to bring up punishing Browder at Helsinki summit with Trump.
The main reason for US policy changes vis-à-vis Iran in the past couple years has been spite toward the previous US administration.

There are some nasty folks in the Islamic Revolutionary Guard, but Iran is a large, diverse, and complicated place, and there are many other internally powerful people with different agendas (just like most large diverse countries).

In general openness and cultural/economic exchange help progressive forces within the country, and sanctions help xenophobic hard-liners.
A Fair Comparison Study of XLNet and Bert with Large Models
They probably did checked but it was most likely complicated / subject to various limitations and with all those complications they decided to not provide services, like most US companies, that was pre 2018.

When a county is under embargo it's more complicated that just checking a website from the comfort of your chair, I remember many Iranians complaining about that but the chance that you're infringing some rules could lead to very very serious / expensive sanctions ( with DoJ / DoT ) it's just not worth it.

http://techland.time.com/2012/08/29/world-of-warcraft-blocke...
> there's something sort of absurd about being punished for a behavior that didn't actually hurt anyone.

So there should only be penalties for DUI if you get into an accident?

It's impossible to predict in advance which specific incidences of risky behavior will cause harm. That's why the behavior itself is penalized. If there is actual harm, the penalties ramp up.

> if you actually hurt someone, you should pay the approximate cost plus a little extra

How does someone "pay the approximate cost" for risky driving that kills or seriously injures someone? If you use the various "value of life" calculations floating around, there are at least some people for whom it's not a lot of money on a probability adjusted basis (e.g. $2m * 0.1% chance of them causing a fatal accident). But accident victims, their family and friends, and society as a whole would prefer that an accident never happened at all than have someone write a check after the fact. This means no one can be allowed to buy a "risky driving pass" by virtue of their wealth.

> people speeding in a well-maintained vehicle (and obeying the other traffic laws) are not a huge threat

The numbers appear to disagree with you. [1] Speeding is a factor in a quarter of all traffic fatalities.

> I'm much more worried about the people weaving between traffic, obstructing the fast lane, reading instagram, etc.

I agree but I've also noticed that weaving between lanes goes hand-in-hand with speeding. It's hard to keep going faster than other traffic without constantly switching lanes to find space.

1. https://www.nhtsa.gov/risky-driving/speeding
I find both extremely implausible, both individually and (especially) in combination.
If you notice in his CV, he doesn't have long term experience on single projects (Also doesn't have that much experience). I often see these types of posts, and I remember making similar kinds of comments around the 10 year mark, none of which are really invalid points, just there is more to it. I'm coming up 40 years of programming, and I'm way less clear on the essence of design and skills (which I have a lot of opionions about), but it is quite nuanced and often boils down to knowing the difference between "not enough" "just enough" "too much".
Great article. I don't agree with the choices made by the translator (I think any attempt to "satisfy the marketplace" will always corrupt a translation), but I admire the enormous effort spent researching for his translation.

Here is another article on translation posted a few days ago to HN that I think contrasts this one nicely:

Stephen Snyder, "The Murakami Effect" @ LitHub (https://lithub.com/the-murakami-effect/)

HN Discussion (https://news.ycombinator.com/item?id=20389112)
Anyone wanna tell us what's happened to RethinkDB since then, and what's happened to SageMath since then?
Some of my favorites are not listed. Notably, Jedi Knight: Jedi Academy had some of the best gameplay of all time. I played through a couple of months ago and the lightsaber combat is still amazing by modern standards.

https://github.com/grayj/Jedi-Academy
I am able to reproduce this bug with Safari on a Macbook. I clicked on an item in "newest", then quickly pressed Cmd-Left to return to the previous "page". The front page reappears, but I'm unable to scroll with arrow keys or trackpad. An additional press of Esc returns the expected functionality.

It seems to be a fast and responsive site when it works, though.
Yes, moon landing hoax was not a thing. Soviet govt never tried to deny it, just to downplay. And no, "everyone" didn't know that. Space and tech nerds would know that for sure, but outside that it would be spotty: many would have heard of it, some didn't. Certainly not something they'd bring up 12th of April on TV.
https://mbasic.facebook.com/
> In 2010, Google settled a lawsuit filed by a one-time Silicon Valley superstar, Brian Reid, then 52, who was hired by Google in 2002 to serve as director of operations and director of engineering. Reid was transferred two years later to head up what was supposed to be new program to retain engineers. He was given no budget or staff and the program was quickly disbanded. Reid left Google in 2004 with a two-month severance package.

I wonder if this was the basis for the similar storyline in the Silicon Valley show.
> Why don't more companies "engage and attack shorts"?

Because it's incredibly pointless, an utter waste of time, a distraction from things which actually matter, and can veer all-to-quickly into illegal actions as Musk has already found out? (His "taking Tesla private" tweet seemed to have been driven, in part, by a desire to punish shorts. It was later found, of course, to be illegal stock manipulation, and it wiped billions of dollars off Tesla's market cap.)

> Aren't people taking short positions on companies effectively lowering the stock price of the company compared to someone just not buying their stock, and therefore doing potential damage to that company's valuation and future?

In much the same way that people choosing not to buy Tesla shares do, yes. The effect is real, but even in extreme cases, trivial.

It is quite clear that Musk has done vastly more damage to Tesla by worrying about short sellers than the short sellers themselves could have possibly done (eg, with his "taking Tesla private" tweet, but there are many other examples).

> I'm not surprised there is an incentive for them to do so

There is no incentive to do so. It is actively harmful.
I thought I'd prefaced my comment sufficiently. It's not perfect, far from it. Hong Kong has unique quality of life problems, as you point out. But that doesn't discredit the urbanization model on its own. Don't throw the baby out with the bathwater.
Bring a team to implement 2.0 at one of the world’s largest banks... then OSS it... then spin off as a B2E support company.
I don't think that's necessarily true. To be a market for lemons, in the original sense, it's required that goods are objectively better or worse to all buyers, and it's required that sellers know the value of their goods to buyers.

Put more concretely, because different people have different dating preferences, one person's lemon can be another person's peach.

In addition, a market for lemons usually requires a seller to be able to determine the value of goods while the buyer can't. On dating sites, both the user and the site itself are trying to "sell" that person to prospective matches. Neither of those parties has all that much better of a way to determine a person's match-ability, so there's not all that much asymmetry. I suppose the site does know a little more based on history, but I don't think that's necessarily enough.

I do think dating sites are pretty garbage, but I don't think it's due to the phenomenon described by "a market for lemons", but rather due to multiple other factors.
Researchers Develop ‘Trojan Horse’ Drug That Tricks, Then Kills Cancer Cells
You've never heard of rumor-mongering short sellers?

Very much a real phenomenon, hard to catch them and it's very lucrative.
This is what makes it worse.

If you scroll down on the page, and click on the link, it takes you to a new page. Works great.

If you use browser back button, it takes you to the previous page, but scroll position is lost.
wow a whopping 18 seconds and 72,954,314 views!
Love that FreeBSD is doing things right - and has been for 20 years.

https://wiki.postgresql.org/wiki/Fsync_Errors
Context that's often forgotten here is that the BBC typically didn't even have the contractual right to rebroadcast these programmes (the actors' union would have stipulated a maximum number of broadcasts, for example two within 7 days).

And video releases weren't yet a thing even if the rights could have been secured, so the apparent value of these archives was minimal.

https://en.wikipedia.org/wiki/Wiping#Rights
Do regular people (outside the tech bubble) even use QR codes anymore?

Using them involves installing a reader app, and even when embedded in phone camera apps, the functionality is hidden or implicit.

QR codes look cool and feel like the future, but they seem like something that never really materialized in becoming widespread to the general populace.

Not arguing against this product per se, but QR codes in general...
IDK why corporate media loves to hate Japan. The two big criticisms are whales and war crimes apologies, yet other countries kill more whales (not just per capita but in absolute numbers) and it's not like America has ever apoligized for the Native American genocide(1), or even interning Japanese. 1-https://www.latimes.com/opinion/op-ed/la-oe-madley-californi...
> webpages on good connection are so fast

Not everyone has this, espicially when your someone like myself who writes informational websites for people who won't be connected to any internet for hours at a time.

Super fast response times don't cut it when your response time is non existent at the moment.
I love that this is supported on iOS. I was curious to know about more supported shortcuts, and found this list:

https://9to5mac.com/2017/06/12/top-10-qr-codes-supported-by-...
something doesn't add up. If you have any close friends or relatives, discuss with them. They are very likely to point out that you are sorely lacking that one piece of social skill. Once you improve that there will be no lack of meeting and choosing right woman for you.
Ps: From 40+ yr old married guy.
>In general openness and cultural/economic exchange help progressive forces within the country, and sanctions help xenophobic hard-liners.

I've read in various places that the opposite is actually true -- sanctions from the liberal US strengthens the liberals in Iran by highlighting how the regime's aggressive policy is resulting in economic pain for Iranians.

This didn't really work with China either. Granted, there are plenty of examples where sanctions have failed/backfired but I'd like to reject any "general" statement on the best way to liberalize a country through foreign policy.
Going To The Wars on Internet Archive: https://archive.org/details/goingtothewars027493mbp
Yet their internet services flourish and engage users in ways nowhere else is seen.

But comparing to those services in the western countries, these services(dev tools and online resources etc) are just too immature and unstable and not well-documented,( I'm saying some opensource project from alibaba and so on ,and highly biased)
But also US/USSR competition for tech and military dominance.
And play the game the US government wants them to play?

US is creating the situation were enough conservative Iranian (their are enough) are going to support their government just because sanctions and muslim ban exists.
Acting like CGI is dead was the reason I (feel like I) wasted three years with PHP. It's not, and if the thought of "programming" webpages in C/C++ sounds appealing to you, you should definitely check it out.

The obvious advantages: Total (binary) control of data streams and structures and execution as well as (nigh-)zero runtime overhead.

The obvious disadvantages: Static and rigid, not well suited for rapidly changing requirements (unless they are coded in), longer development times and increased complexity.
Actually it's about carbon trapped in the permafrost, not in the peat. Idk how burning peat contributes to permafrost melt.
No, the remote machine has access to file structures via NFS, which is complicated enough.

NFS doesn't have protocol-level special cases for forwarding operations for the local sockets, handling setsockopt(), various socket ioctls -- which, mind you, are often machine specific, where the data sent in ioctl is ABI dependent. I'm not even sure how you'd do that sort of thing, since NFS is a stateless protocol.

And then you would need to repeat the exercise for these special cases for all of the other special types of node, like /dev. What does it even mean to mmap the video memory of a video card on a remote machine?

And then you'd need to fix the assumptions of all the software that assumes local semantics ("the connection doesn't drop, and poll() is always accurate").

On top of that, you'd need to run on a treadmill to add support for new ioctls.

Do you really want to implement the server side of a protocol that can handle all of the complexity of all you can do on all file systems, with all ioctls, across all node types? How many implementations providing resources via this protocol do you think would exist?
> Any techniques I'm missing?

Not sure what would make it faster, but thought I'd report that with Safari 10.1.2 the site is currently broken for me. The MathJax equations never load, and I get text mixed with spinning circles.

Javascript Console contains: [Error] SyntaxError: Cannot declare a let variable twice: 'e'. (anonymous function) (compiled_postbody-544dfbba31d691e567064ba96e9eec29f4257fe5909a4ddb5218cd36d823e215.js:1).
It'd be pretty sad state of affairs if I had to hire a sanctions lawyer (they are a fair amount more expensive than regular ones) so I can sell, say, icon packs on the internet, but fortunately, that is not the case.

The reason Google's GCP block is outrageous is that they are on a mission to become one of the backbones of the internet, and as such, they are on a mission breaking the internet in US sanctioned countries. You defend this based on the largely misguided notion that US sanction law is so aggressive and unpredictable, that anyone one running a website would be better off with an auto-block of those countries, or risk his freedom.

In reality, the lack of such an auto-block from currently much larger providers (by multiples), and a lack of enforcement actions that could have been prevented by such a block, would tell us that this is FUD.
>the stock camera app

Unfortunately this isn't helpful because each manufacturer has their "stock" camera app.
I am carefully enunciating the words that will undo the locks on the key to the universe.
That is a common trope. But what if it is only half true? Tech has been moving in the direction of oversimplifying technology and telling people white lies (such as that they can be private and secure on the internet). They created tablets and phones, removed any "quirky" options that might cause their owners to think a little harder , and often dumbed down devices. I think smartphone is a misnomer, it's not smart, and it doesnt really think for you, it just removes most of the optionality for creativity leaving a device that does one thing well: consume mindnumbing amounts of trivial information. All people are weird, just ask them to explain their dream or paint a picture if you want to be disturbed by their weirdness. But when all that creativity is funneled through single-purpose devices, it evaporates. We need to add back complexity and optionality to devices and interfaces.
Ask HN: Which is the best spiritual book you have read?
Looking for recommendations as I have some free time. Documentaries welcome too.
iOS camera reads QR codes by default. Just point your phone with the default camera app ON. No special mode required. I have a qr code printed on my living room (made to look like andy warhold art, with multiple colored panels etc) so that guests can use the wifi. Pretty convenient.
> Outlook does support @font-face declarations (but doesn’t load distant fonts). Because Outlook can’t display that font, it falls back to its expected mso-generic-font-family value. And because it’s not defined, it falls back to its auto value, matching the roman font family, thus falling back to Times New Roman.

It also seems that mso-font-alt can be used in a similar way:

https://litmus.com/community/discussions/36-outlook-and-fall...

And there are many more mso-prefixed options available, though documentation is scarce: https://litmus.com/community/learning/8-outlook-overview

Generally it seems like this isn't very well known. Hopefully this gets a signal boost and best-practices articles get updated with the advice.
And we've traded it for a sea of advertising and astroturfing.
It requires special attention to do it right. It should be more about what works best for your product.

https://reddit.premii.com - Uses client side navigation. Try it on mobile and then desktop. Its not perfect, but works really good for what I want. Its hosted as a static site. I make request to reddit directly to get the content.
> No one needs to wear any clothes at all, or at most a paper bag would do.

Clothes aren't optional because of public indecency laws and also because most places don't have perfect weather year-round. A paper bag won't do because it'll rip in a couple of minutes, or not offer enough protection against the elements. Same deal with a plastic bag or anything else that's not real clothing. Being shirtless or barefoot restricts your entry to many establishments, but if you don't care about those places then yeah shirts and shoes are optional.

All the same, no one needs to wear expensive clothes. If they cover you up, keep you warm, and keep you employable, they're good enough. For a programmer that may mean free swag t-shirt and jeans, and for a rich banker, a $2k suit. But wearing suits every day would be a pointless indulgence for the programmer and wearing $20k suits every day would also be a waste of money for the banker. (I have no idea how much "high-powered finance" suits cost, numbers are estimates)
These arguments are all interesting but I think most relevant is that the best nutrition science we have to date shows that a proper plant based diet is optimal for health & longevity. The plants and animals we eat now are radically different than the ones we were exposed to through most of our evolution so paleo proponents are chasing a lost world.
Any DApp developer/startup care to comment on this? Blockchain/distributed ledger is often touted to be resilient against attacks, censorship resistant etc. etc. blah blah blah, so how well will they function against the will of the United States?

@muneeb? @perlin-network?
And and if you scrap it and build some custom webserver or nginx plugin or Apache module it can be even faster or maybe something like IncludeOS which makes your application logic part of a minimal kernel ... If that's your aim. In most cases development time however is more valuable than pure execution time. (Even Facebook survived quite long in PHP, till it was wothwhile for them to move to their own thing)

Anyways comparison by GP was between a custom CGI program and PHP and not other things.
Quantum interference enables constant-time quantum information processing
SageMath moved to Postgres:
https://blog.cocalc.com/2017/02/09/rethinkdb-vs-postgres.htm...
> I work for a US company that routinely has to deal with cyber attacks by Iranian professionals, probably government sponsored.

It's hard to posit a moral high-ground here, when basically every state is actively seeking to undermine the others' cyber security, including the US. Stuxnet is one of the most formidable state-sponsored cyber security exploits, and that was targeted at Iran, it seems easy justification to increase their offensive capability.

I have to admit some naivete here, I don't know the frequency and scale of cyber attacks emanating from Iran, but I'd guess that hostile foreign policy from the US would only intensify that threat towards the US.
Thanks for the bug report. I’ll try to reproduce.

Edit: I'm unable to reproduce this with Safari 12.1.1. Did some searching and this is a known bug in Safari 10 which was resolved in 2017: https://github.com/webpack-contrib/uglifyjs-webpack-plugin/i... / https://bugs.webkit.org/show_bug.cgi?id=171041 -- I will try to workaround.
> I like the way the world looks from a bicycle.

https://www.youtube.com/watch?v=rqLtOjENz-Q&start=123
Dude. You gotta let it go. These are pretty unsurprising allegations for a company like Tesla. And short sellers are not the boogieman, they're just an indication that the value of Tesla is highly uncertain.
I doubt that US foreign policy has anything to do with the desire to “liberalize” a country. Unless you’re using that term in a different sense...
People experience the dismal anti-literate Twitter (concept and style and non-member popup 'experience') and think it's... normal?

And the Twitter embed system is hilarious at times. There is nothing as face-palmy as a controversial tweet that gets embedded in a news article describing it and then the owner deletes it, leaving a news article with a tweet-not-available hole.

Facebook, where you are 10 narrow screens and 1500 back-end js-directed cloud bloat loads loads away from something you saw yesterday? The Modern Web where even scroll keys do not really work anymore?

Or for that matter Youtube, whose text comments are designed to explode into illiterate mush with no hint or hope of proper spaces or paragraph breaks if copied to clipboard? Predatory.

Here we are in the 21st century where people take SCREENSHOTS of things rather than copy information. This is regression, devolution.

Back in the dark ages of 2000 it was considered bad manners to design a system that appeared to scroll endlessly until the web browser simply gummed up and crashed. Search engines wouldn't bother to render any of that. Now it's the preferred way to do it.

And now Google is replacing their results page text stream paragraphs with tile-crap that is rects within rects with acres of white space, and less context.

If only the whole Internet was built like Hacker News.