skysight-inc/HackerNews huggingface dataset:
> Unfortunately, our website is currently unavailable in most European countries. We are engaged on the issue and committed to looking at options that support our full range of digital offerings to the EU market. We continue to identify technical compliance solutions that will provide all readers with our award-winning journalism
No economist has ever claimed that global trade is Pareto-optimal inside nations. It's well known fact that some industries suffer and some thrive. It's just that the total sum is positive.

The trade shocks should not be handled with tariffs or restricting trade. It's domestic policy issue.
Yes, the light in the shown pictures is natural, however the article fails to mention that all of them have a fair amount of post-processing (apart from cropping). A reader inexperienced in the matter is led to believe that if only the composition is right the images will come out of the camera as striking as shown, which isn't true. Good processing is one of the keys to creating pictures with impact. Especially when shooting digital the images out of the box tend to be flat and naturalistic as opposed to stylized or artistic.
I think I'd rather have speed cameras than a multitude of state troopers/cops. But that is dependent on the type of camera. A few places in the US have gotten out of control with the number of law enforcement setting up speed traps on commuter routes. At least I know where a speed camera is if I live in the area.
China may have up to 1 million muslims in concentration camps, what has the US done in the last 50 years that is even comparable? I'm reading so many people defending China, I have to think it's because they haven't done any research, and assume China's not that bad.
Not available in EU. Mirrors:

* https://archive.fo/bqEVs

* https://web.archive.org/web/20180808164502/http://www.chicag...
People really need to understand that a chunk of that 80% market share are people who bought their phone at places like Walmart for around $35 who are pay-as-you-go. They are not using the phone for anything but text and calling. This can be seen in the number of phones sold with older OS versions.
This is an interesting position, regardless of the fact that the two sets (who the US torture vs who the Chinese torture) are clearly not identical.

Why might a government torturing its own citizens be morally equivalent to a government torturing the citizens of other countries?
That's my thinking as well. There are probably a ton of industry applications in design, engineering and architecture. Folks who are used to wearing goggles and hardhats aren't worried about looking funny. And if you can prove real ROI for businesses, you can charge $5-10K for a sturdy headset and businesses will pay it. Trying to go mass market out of the gate seems like overreach.
Windows is pirated by everyone in China so a tarrif is useless. iPhones and apple computers are manufactured in China so YES they can put a tarriff on every freaking part of a mobile device/computer except for the GPUs and CPUs.
Ask HN: What are good resources on web development?
I am learning Python and wants to build career in web development.
That's a neat idea, but what prevents people from squatting official-looking usernames? And what happens if the mod team changes?
If anyone finds it useful, some time ago I made a Docker image of `mkdocs` [1] (with a few extensions, check the dockerfile for details).

[1]: https://hub.docker.com/r/elamperti/docker-mkdocs/
Apple argued it is a trade secret; the judge disagreed with them on that one.

So this poem here:

Your karma check for today:
There once was was a user that whined
his existing OS was so blind,
he'd do better to pirate
an OS that ran great
but found his hardware declined.
Please don't steal Mac OS!
Really, that's way uncool.
(C) Apple Computer, Inc.

Is not a trade secret.
Watch a zoning adjustment board meeting and ask why we decide to enrich a bunch of aging hippies turned landlords who refuse to expand the opportunities available.
Throw out your old decks. The point of SRS, which most people miss, is that once learned and solidified in long-term memory, you _stop_.
GLB: GitHub's open source load balancer
Seiko UC-2000 (1984) – the dawn of wearable computers
"Recently, idiotic stories attacking Chicagoese were in the news. These were based on a blasphemous survey from YouGov that found our Chicago accent to be the least attractive in America.

Garbage. Lies. All lies."

I went to a school where at least half the people in my dorm had a Chicago accent and I found it extremely grating.

"Chicagoese is our lyrical native tongue. But we’re losing it, bit-by-bit in the great American leveling that is destroying distinctive speech across our nation.
....
“Some people still speak that way, but it is no longer as widespread or as distinct as it was 70 years ago. Radio, TV, and the great mobility of modern Americans are gradually leveling all the various, colorful, local varieties of English in favor of a dull, neutral, standard American.”
"

I may be imagining things, but when I was growing up people in my area(don't want to give it away but it's a rural area where a local university would have lots of Chicago students) spoke more dull and neutral than they do now... now there's more of a southern/redneck tinge taken from country music.
Admin costs is an answer I've heard previously to having a non-zero lower end (i.e. an element of the fine that's not supposed to be punishment/deterrent).
> Manufacturing goods is the root of an economy.

Not any longer.

Once upon a time, agriculture was the root of an economy, but these things change. Manufacturing became the root. But it's not any more - now technology is.
Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something.
Patreon buys Memberful but keeps it indie as patronage consolidates
- Yes. But if it gets to onerous. There are ways to get out of credit card debt - see above. There is no way to get out of student loan debt.

- most colleges don’t take transfer credits for junior/senior level classes

- even if you go part time, most schools charge fixed fees per quarter + per credit hour. That would make it more expensive.
Rsync over sftp or chroot sftp
Here's solution I came up with bail. Force the government to pay 10% APR on bail amount. Now the bail bonds companies become risk management companies who look at the data to determine the risk of flight for the person charged with the crime. These companies get the interest payment from the government, the government saves money by not paying to jail someone and the person charged doesn't pay anything out of pocket.
> - don't pass the loop around. Use asyncio.get_event_loop(). This way your code will be independent of the loop creation process.

Eh. I've been passing the loop around as an optional kw argument in most of my code...

The idea was for the code not to depend on a global somewhere (I hate globals) and to "be sure" the loop used among all the code was the same, unless explicitly passed. Of course I never used that "feature". I thought I read this somewhere when I was looking up at Twisted and they were saying to pass it explicitly, but I'm not so sure now...
Trust me, a modern technological economy exists because human labor is augmented by physical machines. You take away the machines you'd have a service economy similar to services provided during a time when modern machinery was nonexistent (the stone age).
It seems to expand on mouseover so there's a number of things that could probably interfere with that.
Yeah but a perfect exposed picture with a bad composition is still a bad picture.

I think most cameras today create great picture quality in auto mode. Lime a guitar with autotune.

But a perfectly tuned guitar can still be played bad.

So I think there are 2 simple rules that will give you a nice simple song: rule of thirds and space to look.
I think you get people who are "all-in" on AWS and there are probably fewer people "all-in" on Google.

I agree that developer experience in Lambda is crap, I am a Ruby person though and my language of choice is not on their supported list. You can do it, but the runtime I found[1] looks like a toy and hasn't been updated since 2015.

Google Cloud Functions on the other hand has this[2] (yay! ruby support) but I can't get excited about it, because we are "all-in" on AWS and it's politically impossible to suggest more diversity in this environment. I am however very excited about KNative, as I've been following the Riff project for a minute and it was looking really good (and the same people that built Riff, eg Pivotal, are in the drivers seat of building Knative now, as I understand it.)

Scale to zero! Bring your own runtime... lots of nice features. But number one is, I can run it on my existing Kubernetes environment, and use it to make my deployments leaner and my base cluster scale can be smaller. Hand-in-hand with that, I can carry it with me to another cloud provider if need be.

It works anywhere Kubernetes works, which is everywhere, and I think it will be a while before our non-ephemeral (non-serverless) workloads are going to start going away. And I'm not even stuck with Knative or Riff if I don't like it! There's also kubeless, which includes some degree of Ruby support too.

(NB: I haven't actually tried "rumbda" and it looks like I'm exaggerating about how long it's been since an update, I don't want to talk shit, but when I found "traveling ruby" in there and issues such as "ruby 2.3/2.4 not supported" I basically stepped away, as I have no existing entanglements with Lambda and no desire to get into any new ones. It might be fine, maybe just needs some love. I'd rather work on an open platform...)

[1]: https://github.com/kleaver/rumbda

[2]: https://cloud.google.com/ruby/
Yes, if you're shooting RAW, you're past the point where the above advice is applicable. But there's a lot of people who don't (beginners, casual photographers who want something that looks better than Facebook selfies).
Things don't "disappear," they economically polarize to normal and inferior states.

I was just coming here to say this, just in less precise terms. I have a history of frequenting cafes as a regular, only to become disillusioned over time. A cafe has become either something which can be established for very little money and a modicum of knowledge or something which takes a certain level of fit and finish to appeal to a well heeled subgroup.

Arguably, a quality middle is the effect of a temporary distortion or disequllibrium, where for whatever reason, quality has not been optimized out of an attractive price point. A good middle quality bistro doesn't compete on marginal price, it seeks to differentiate itself on features.

So entrepreneurs should be on the lookout for the "quality middle" as a temporary market opportunity? Maybe this applies to some large fraction of all startups? It could be stated thus, "A shift in technology creates a new market opportunity for a 'quality middle' which hadn't existed before."
We clearly have different definitions of "fresh food" if you are including pre-processed bag mixes and boxed vegetables sprayed with preservatives.
How funny that SO has finally realized the site is a paradise for trolls like g00glen00b, who are so relentlessly rude and assholish that he made me abandon SO permanently.
So basically, it sounds like the main advantage of the Magic Leap compared to HoloLens or existing VR headsets is likely the perceived resolution.
Because torturing anyone is immoral? Do you seriously need justification? Does this moral position of "we can torture foreigners, it's fine" seem fucked up to anyone else, or is it just me?
Remind me which roads are actually owned and operated by the NHTSA?
That's funny. I developed a crude version of that algorithm by separating my flash cards into easy, medium, and hard stacks. I spent most time on the hard stack and would downgrade the difficulty of cards after I increasingly mastered them.

Nothing groundbreaking. I'm sure other people have done the same things out of sheer efficiency - no need to keep going over the easy cards.
I run Lubuntu on a USB stick plugged into my 2008 spec thinkpad. I haven't paid for a new laptop in 10 years and I would love to get another half decade out of it as long as webpages dont continue to bloat
Whilst the Hololens is currently more expensive than this version of MagicLeap, I'll be interested to see what MS produce next year when the next version is scheduled to come out.

One thing that I think MagicLeap have got wrong for a business market is not working over glasses (it seems like you need to fit prescription lenses to the device)

That means you can't easily share the device with others, which I would think would be a common use case in business (i.e. most places won't buy one device per user, but a number of devices for a department)
Everyone knows that they happened; no one knows their scale, no one remembers them for that reason.

(In contrast, consider the infamous Moratorium to End the War in Vietnam, which was smaller.)
I think the answer to this right now is either:
- DynamoDB
- Aurora
In my case I am going to go with Aurora as I am deploying Django applications with Lambda
FTR i also believe there should non-regulated prices. If the price on that day goes up to $1/kwhr (or whatever) so be it. The market prices incentivises the right solutions to problems

eg: batteries and home generators for cloudy days for those who _must_ have power, but those who see the price is $1/hr will turn off their TV or dishwasher etc.

or maybe consumers will start to buy contracts from plants like "I will use 1K of continuous power if you provide it at 16c an hr"
You could have looked at the file size first. What if it had been 500sloc? Would you still have made the same comment? What is the point at which you'd absolutely insist on splitting it up if you were doing a code review? Surely 1.3ksloc is smaller than that. The commentary on splitting this up strikes me as so much bikeshedding.
On (1), I mean that $16B worth of goods is 12% of US->China exports, whereas it is only 3% of China->US exports, meaning that if this continues to escalate in this manner it will disproportionately affect US->China exporters.

I will concede (2) was not well expressed. I just find it much much easier to imagine – due to differences in labor forces, natural resources, environmental regulations, etc. – a suddenly growing Chinese motorcycle industry than, say, a resurgent US steel industry.
Sounds to me that you were an asshole
what is it with the mindset that the really important thing is pointing fingers in a morally correct fashion? is there any problem that’s ever solved?
How come everything is a GDPR violation to you?

https://imgur.com/a/PGKovg2
Distributed Stream Processing with WSO2 Stream Processor
it may be consumer grade but the price point is too high for a consumer product, I'd have thought (apart from a small set of pretty well off consumers)
> Linking is one of the easiest and most broadly supported features of C environments on every platform.

And build systems are one of the most varied features of C environments.

I've seen large projects (e.g. OpenSSL) take weeks of effort to integrate into build systems. Suffice to say, no one wants to try and merge patches in afterwords.

Nevermind the number of source trees I've seen with copies of some old version of OpenSSL source, ugh.
Hcxdumptool – Small Tool to Capture Packets from Wlan Devices
I drove there once - someone honked at me, so I stopped to see what was wrong.

Turns out he wanted me to drive, not stop.
5 WordPress Security Measures to Consider Before You Hit the Publish Button
Now that Brazil has banned asbestos, Russia is filling the market gap.
I Don’t Believe in Aliens Anymore
I work at smallstep and figured I'd add a bit more context. `step` implements a bunch of "zero trust" primitives: authenticated encryption (X.509, TLS), single sign-on (OAuth OIDC), multi-factor authentication (OATH OTP), and encryption / signing (JWE, JWT, NaCl). We built the tool for our customers to debug and operate our certificate authority, OAuth IdP, and to authenticate to our identity-aware / policy-enforcing proxy from the command line. Some of these infra bits will be open sourced too, over time.

In the meantime we figured the core tool might be useful to other people for debugging, scripting, and automation. You can use it in a bash script to authenticate to Google using OAuth, or to securely connect to your own services that use OAuth OIDC for single sign-on. You can use it to implement MFA for SSH. You can use it to encrypt secrets for services (simple secret management). It's also got all of the core functionality you need to build a simple certificate authority. It's still pretty low level at the moment, but it's a whole lot easier to use for this sort of stuff than OpenSSL. Hope people find it useful!
Oh interesting, were these stocks originally purchased with tax payer money then?
Data-Parallel Rank-Select Bit-String construction
Japan's Part-Time Workforce Is at Risk of Working to Death
MPAA: To Save Free Speech, We Must Broadly Censor Free Speech
> I've been gobsmacked by the resistance put up to fight protected bike lanes

Two factors. One, traffic lanes are generally reduced; street side parking is left untouched. This leads to congestion and noise.

Two, some bikers in New York are assholes to pedestrians. Most are not, but the sting of a biker riding the wrong way, running a red light and narrowly missing you while cussing you for the gaul of walking on a designated crossing stays for a while.
It's more than superficial, I struggle to see how using Dart would be at all different from how you would architect an app in Java. It's an OO language with an almost identical set of type system features besides the fact that it has inference. It's not as if it borrows much from the ML lineage; I don't see any examples of pattern matching and currying in the Dart docs. It's all class based polymorphism.
That's an interesting POV and I do actually see business popping up whose core competency is managing 3d models. Particularly for retail products like furniture. No one has a really smooth process and costs are high, but there is definitely activity going on and progress is being made.
Lite CNN
> China may have up to 1 million muslims in concentration camps, what has the US done in the last 50 years that is even comparable?

I didn't say that the US did anything comparable to that, I said that the argument that the big-picture difference between the two was that China was institutionalizing systemic racism while the US was addressing it was, whatever the past or hoped-for future of the US might be, currently inaccurate on the US side.

> I'm reading so many people defending China, I have to think it's because they haven't done any research, and assume China's not that bad.

Maybe somewhere, but the post you are responding to said not one word about China (other than a quote for context from the post it was responding to), either in defense or otherwise.
Applied! You guys are doing great work. Interesting to see such a diverse board of directors as well
Learning Meaning in Natural Language Processing
Ok, I’m in agreement there.
You can run and debug AWS Lambda locally. We've done it with several of our API's: https://github.com/awslabs/aws-sam-cli
Directly from the press release:

> I would like to structure this so that all shareholders have a choice. Either they can stay investors in a private Tesla or they can be bought out at $420 per share[...] My hope is for all shareholders to remain
I checked the demos and I was like "neat!" ... then I was like "ok how many megatons of frameworks I don't care about is this buried in?"

The fact that it wasn't. That's what's gonna make me actually check this out.

Well done!
Send Elevator Pitches to VCs and Angel Investors
Console logging is the easiest but least effective method of debugging. Some people refuse to call it debugging because they believe a debugger or diagnostic tools are involved with the act of “debugging” (vs troubleshooting?)

Distributed systems mean you have to fall back to the most basic form of debugging.

You had better be getting something really good for that bargain. You’ve nearly permanently compromised your ability to reason about obscure bugs in the system in order to have it, so be sure it was worth it.
Thanks for clarifying, you are absolutely right, and now I feel bad for mixing this up.
If you hover over the "Variation with temperature at constant pressure" chart you get a "sources" link, which references

National Institute of Standards and Technology, NIST Reference Fluid Thermodynamic and Transport Properties Database (REFPROP)

https://www.nist.gov/srd/refprop

I.e. these are standard reference curves at a fixed temperature.

If you click the link on "Hydrogen" you get a page for molecular hydrogen, H2, so not an isotopic mix. Whether that's the right input for this calculation is beyond my technical knowledge, but Wolfram is displaying its parameters quite straightforwardly.

To my reading it looks like a quite well-explained calculation, though I can see why you might think otherwise if you hadn't spotted the somewhat-hidden "sources" link.
That's simple.

But what about someone making $150k a year with no assets vs. someone living in a $1.5m property with no job who made $15k last year on $150k of shares?

What about someone with $1.5m in shares who made a $15k loss on them last year? Do they get paid instead of fined?
If a library was written in typescript, theb the users of the library wouldn’t be forced to use Typescript also, right? Does it really matter if the library is written in typescript or not?
> Whilst the Hololens is currently more expensive than this version of MagicLeap, I'll be interested to see what MS produce next year when the next version is scheduled to come out.

Microsoft can also sell the Hololens at cost to get people building on their cloud platform for that sweet, sweet, reoccurring revenue.

In comparison, MagicLeap has a lot of investors they need to make happy.
Keep in mind that questioning whether the two are "morally equivalent" is not the same as saying "one is right and the other is wrong".

It intuitively feels, to me, "more bad" for a country to torture its own citizens than for a country to torture citizens of its enemies (although both are still bad). Thus, I'd want to hear a justification that "actually, no, both are the same degree of bad."
Policy about what exactly?

This kind of tech would be specific to the military, it would be limited to military use, never civilian.
It looks like this library does use es6 features and requires babel to build from source.
You are not singled out, treat this as user preferences or feature requests. People here are direct, but this is an environment feature of HN. Most folks here greatly appreciate your work (I do). That said, let me throw a few more stones:

1. The fact that you use OS tools to track users is almost irrelevant. I can still collect and lose data with FOSS tools. A tool is a tool (and tracking is tracking).

2. Sorry, I am not buying the "we need to know how you move on site to improve it". You write a great FOSS office productivity tool set. You should not care how much time users spend on your site, etc. In fact, your web site can be pretty basic for downloading new software. If you really need to figure out how people move within your site this should be easy to recover from IPs and web server logs.

Just my 2c and please keep doing your great work!
Sounds like you might have a config issue. I have Lambda's that take 20ms and API Gateway returns the entire response in ~40-50ms.