skysight-inc/HackerNews huggingface dataset:
(based on my very small amount of knowledge) -- the LIDAR in the recent SpotMini video looks high res/high quality -- would a cheap one mean mis-stepping on stairs? I imagine problems of quality abound for less than several thousand
Yes thankfully is a lawyer with some experience with this sort of thing. I’m just a college student trying to get through the semester.

Edit: typo. “My mother is...”
> At least in the United States, it's a trope that insurance salespeople and civil litigation lawyers are scumbags. I think it's completely bullshit, we need these industries.

We can both need industries while calling out that salespeople in that industry can be unscrupulous.

Try asking an auto agent to justify why you need $100K/$300K
and collision coverage on a $5K car and listen to the endless emotional stories about people being ruined and kids killed because their auto coverage was depleted after an accident.

Him: "Think about how hard it would hurt to have to pay $30K out of pocket!!!"
Me: "Honestly that would suck, but the chances of it happening are pretty small, it wouldn't ruin me, and its not worth what you are trying to charge."
Him: "Well what about $300K! Don't you want to be fully protected?"
Me: "What about $1M?! I can name numbers too!"

OK, maybe not that last line, but, using fear to sell someone more coverage than they objectively need is a scumbag move.
C has had strong support for inline assembly for a long time, and in fact for a short period we called out to C in order to use inline assembly on stable (the function call overhead was worthwhile compared to how much faster the assembly implementation of the function was).
Personally, I'd be happy with a regime where copyright lasts, say, 20 years, but trademarks last as long as you are actively using them and defending them. This would mean that "Star Wars" would fall out of copyright, and anyone could sell Star Wars DVD/Blurays at whatever cost they like, could use the material in various creative ways at will, but nobody could actually make "Star Wars 24: The Cheap Sucking Cash Grab That's Totally The Next Star Wars, So Fork It Over Moviegoing Slobs". You'd have to call it something else that makes it very clear that it's not actually "Star Wars".

What Disney wants is to grab everything it can. Not that surprising. What it needs is to be able to protect its reputation and for its name brand to mean something. That does not require multi-century copyright terms... it requires trademarks.

Making me less happy, I'd be comfortable with a regime where copyrights expire after 10/20 years or something, but companies can indefinitely renew them on an exponentially-growing basis every decade or something, making companies have to decide whether they are actively using a property or whether it's more economical to just let it go. The major problem with the copyright term being so long isn't that it covers Steamboat Willie... the major problem is that it covers everything. An absurd amount of culture is not just tied up in copyrights, but copyrights that literally nobody knows where they reside, because who wants to track the rights to some kids book from 80 years ago carefully or something?
This is my favorite feature of Go in Lambda. You cross compile a Linux binary, throw it in S3, and Lambda runs it on demand.

It feels so good to skip over all the Docker tools, config and services to build a Go app.

I wrote up more details here:

https://github.com/nzoschke/gofaas/blob/master/docs/dev-pack...
When one writes code which is close to the processor, for instance, one has a reason to write in C, one can represent an unallocated memory structure with a null pointer, or one can use a boolean value.

A null value means something in that context. I don't see how it means nothing.

If I have a tail-recursive function, I probably do not need null. But if I have a loop which may run 0 or more times, and need to catch the absence of runs, I need to model a None result.

In that instance, the null has semantic meaning. I can use an algebraic type of course, but for the task I am doing, that may not be practical.

Saying that null logically doesn't exist is not true if my context is the Linux kernel. The unqualified statement of such seems to be overly categorical, to me.

I do like your analogy with NoSQL, I think it's an excellent point. Nullability in a JSON document for instance is better modelled with absence - however, with a language which is compile-time type-checked, those absent values may need to be present in materialised classes as nullable values (options if you like) - unless you're dictionaries all the way down like Python.
Yes, but also the most foundational part. There’s already high level libraries written on top.
> reductio ad absurdium

Let me simplify it then, with no logical fallacy: If harming those who commit crimes is a good thing, why not do it more? Why not make it worse? And who gets to decide how much is enough?
No, many municipalities have it as law.
I’m suggesting it’s turtles all the way down. The AI class you take in college is based on results from DARPA funded grants on say threat assessment or battlefield awareness or even automated defense technologies. It’s exactly the same except where you are on the R&D product timeline.
> If you are using Docker and Kubernetes for an ordinary website, then please stop. There are simpler ways to run a website. We’ve been building websites for 25 years now, and we didn’t need Docker.

Sure, if that's the only kind of workload you ever plan on running. No one is really doing this though so this is just useless outrage. This is like Fox News for developers.
Found the phone. Looks like I need some -- what's the word? -- adaptive CSS?
An introduction to the container ecosystem
I am not sure if 'Full Guide' in title of the article made me smiling or maybe it was recall of my experiences related to configuration of AWS Lambda and AWS API Gateway in CloudFormation. There is a lot of things which has not been mentioned in this article and it is what I am looking forward to - even trivial things which looks easy at the first glance, i.e.:

* How to configure caching and caching rules - please note there are few ways (query strings, headers, parameters, cache enabled only on single method etc.) to specify how to cache responses.

* Attach your REST API on custom domain as a regional endpoint (instead of edge-optimized, since regional endpoints are more configurable)- create ACM certificate (per each region, and one for CloudFront), create own CloudFront distribution (think: multi region deployment), add DNS record in Route53 and configure WAF (some magic DDoS protection).

I took me a lot of time with CloudFormation to get through where I am today and yet I think I would be grateful if someone will share his knowledge gained on more sophisticated use-cases than just 'Hello World'.
It's right. This is all integer arithmetic, so you wouldn't want to just drop the lower 64bits.
That's a feature of anonymity, not the blockchain.
And if you are an unemployed engineer, you should seek out these companies in anticipation that their employees heed your comment.
Maria Reiche’s 115th Birthday: Guardian of the Nazca Lines
Yeah that can become a real problems and even if it runs you still end up with a lot of security issues. But this is true for any old server and unmaintained code
Do you know what exactly the bottleneck is on Synapse? Is it syncing everything to users, or the actual room processing? I wonder how much of an impact JSON (de)serialization has, assuming you don't cache serialized requests.
Every software team is their own operational team as well. A highsev is a high severity ticket/incident, leading to someone being paged in for immediate assistance.
Well semantics for a number that's too big to fit into the result can be debated, so there's no one right answer and all are nonsense in some way or another.

You talk about rounding but if the number's too big then then you're only ever going to round to the max number you could use, so we might as well call that saturation.

Discarding the upper bits means you are implementing modular arithmetic.

Both saturation and modular arithmetic are well defined, and can both be reasonable choices. I think most languages implement modular arithmetic, so that's what most programmers expect, and it seems a reasonable choice to me compared to saturation.
It doesn’t make sense to throw away either. Remember the 64 bit numbers can be small too. So throwing away the lower will result in 2*2=0.
The Wired article doesn't make clear the reason for using humans rather than a mechanical generator of randomness, hence several commenters here are, understandably, questioning this. Why not use a chaotic physical system instead? Because that would involve assumptions about the behavior of the chaotic system. A way to eliminate these assumptions is to add "free will".

Original paper:

https://www.nature.com/articles/s41586-018-0085-3
Do you feel the same about speed limits, or minimum following distance? Because cars could enforce those now.
'Sultans hate him!'
I don’t really think this qualifies as brutalism. A key element of brutalist design is the lack of the excess.

Web 1.0 was full of excess. We’re talking 3D rotating words on fire when bold would suffice. Lots of drapery, lots of window dressing.

A brutalist site would be more like the sites that have a structure, but the seams are not made seamless, and excesses are avoided... Like craigslist.
In this vein, I can recommend this review of 7 Samurai:

https://www.youtube.com/watch?v=jZSRxp-dJ-Q
This seems to be a mis-hyped vulnerability in certain mail clients that use PGP (badly).
I completely agree. In particular the problem of having NULL as a bottom type is that many languages (like C) don't have a way to express that a certain type is not nullable in the type system. The nullable aspect is effectively dynamically typed, so you either add NULL checks every time you dereference a pointer or you have to make sure by yourself that a given pointer can never be NULL at a given position in code. For this reason in general when I receive pointers from third party libraries in C I generally always have an `assert(ptr != NULL)` just in case.

In C++ references fill that role but it's not very difficult to get a reference to a NULL or stray pointer by mistake, unless you make sure to forbid raw pointers altogether. NULL effectively ruins your type system by making all your reference types de-facto optional.

TFA points that out but concludes by saying that "Either approach will work", that's a bit curt I think. It's like saying that if the seatbelt doesn't stop you the windshield will, "either approach will work".
You can, it just emits a loud tone.
That's how floats work, not ints. Unsigned integers more or less always wrap on overflow, which is what you want, generally speaking. Essentially, the operation is carried out modulo the size of the type.

For signed integers, overflow is undefined in C/C++, but generally results in wrapping as well.
> "I don't know why so many people here are suggesting "The Wire", unless they don't understand what the concept of a child is."

Your parent isn't making the "for kids" a requirement, which explains many of the suggestions here, including "The Wire".

> *"I would love a popular movie (maybe even one for kids)"

Kids is also relative: you need to take the kids themselves into account to know what may be appropriate for them.
"Science" is not discussed here, but academic research publishing. And to state that "Academic research papers are based on math" is, lacking a more polite term, false.
ACK frequencies should be configurable, solving both bottlenecks and making UDP less relevant at the same time:

https://www.ietf.org/id/draft-add-ackfreq-to-tcp-00.txt
UK newsagents to sell ‘porn passes’ to visit X-rated websites
Ok given all these does it make sense to use AWS Lambda and AWS API Gateway? Does not sound like it will save you time.
Since the exploit depends on sending manipulated emails, I think that 3. and 4. are pretty easy, since it'll look like the email is from a trusted sender (and encrypted)
History has always been a major concern for me with IRC and XMPP. IRC has no support (though I think there's an upcoming standard that does), and my (admittedly several years old) experiences with XMPP weren't good in that regard either.
I think it's correct as stated. Usually machine integer arithmetic is performed modulo 2^bits.
Les enregistreurs de conversations téléphoniques
> They were not permitted even to speak to women.

There's the secret.

I'm kidding, non-male members of HN!

On a more serious note: "even though it was “understood that the custom of eating flesh corrupts the body.”

As a vegetarian, I find this intriguing. Why, if it was understood thus, did meat eating become so prevalent?
As CO2 levels have risen, the planet’s green vegetation has increased 14 percent
Well, again, the encryption system will. Or at least it can. (Apparently you can encrypt without signing? WTF use is that? But let's assume signatures are used.) The MIME structure of email is the problem here. It isn't OpenPGP's problem to solve, which we know because there is literally no way for them to solve it. No conceivable (sensible[1]) update to OpenPGP could fix the problem, so it can't be their responsibility.

[1]: I mean, yeah, they could ship something that hacks the Thunderbird process and gets the rest of the email, but that's just crazy talk. Nothing that has a sensible API that fits with what Thunderbird is doing now can solve the problem.
Not So Pretty: What You Need to Know About E-Fail and the PGP Flaw
It seems more to be with the mail clients themselves given that to avoid the exploit your best best is not to render HTML emails. That is outside of the scope of goals for the encryption libraries altogether.
I hate humanities publishing.

https://www.academia.edu/24376948/Estimation_of_life_expecta...

Tl;dr: Life expectancy at 25: ~50 in 1300-1350ish, lower during the plague.
H-1B Petitions, Approvals Rising Despite Trump Admin Policy Tweaks
Remember, because it is SDI there's no way for VZ gear to know that it is actually unplugged.
If you just keep the higher 64 bits, what kind of sense does it make ? We're talking about integer here, not float.

At least, keeping the lower 64 bits is the usual overflow behavior and if the result of the multiplication fits in 64 bits it just works fine.
Nothing has changed.

I have worked in Amazon for many years now in India. Jeff himself doesn't seem interested in taking work culture seriously. I have never seen any interviews of him after NYC article where he accepted that something was going wrong and needs to be fixed. Instead he turned the whole debate into work-life harmony rhetoric.

In India, the situation is far worse than US. There is less transparency and more opportunities by senior leadership to rule with an iron fist without any accountability. Concerns are suppressed instantly. One might have been an excellent employee for couple of years but for some reason if you are not on top of your game for even a quarter, you will start hearing complains from everyone and the situation can go upto PIP (Performance Improvement). The culture completely lacks the emotion of "Let me help you". It is heavily influenced by politics and survival of the fittest which might be fine for a small period but takes a toll on you in long term. Probably this explains why attrition is so high in Amazon.
It's really hard to see how a wepaonised version could be of practical use in an active situation. Granted, it has that nice Hollywood sci-fi look about it, I feel it wouldn't be any more accurate than throwing a grenade into a room.

I would imagine one group opposed to such a device would be the police themselves. They are as likely to get shot as anyone else.

I think a more practical application would be camera mounted infantry for SWAT teams. And, based on some of the incidents we've seen recently, assessing situations is where many interactions go south.
I am curious why you think that these companies shouldn't be able to use your data because you paid for the software.

Just because you paid for a software license doesn't mean you can do whatever you want with said software.

I understand why people don't like this but I don't understand what principles people use to decide that it is immoral or should be illegal.
Intro to Flask and TDD – Updated to Python 3.6.5 and Flask 1.0.2
I think the article is using ‘over’ to be ‘preferring A instead of B’ while you are using over to mean ‘A applied to the set of B’. I agree it is ambiguous.
Facebook suspends 200 more apps in Cambridge Analytica investigation
5 min? that's a long time to run a car for in an enclosed space
The article states the following about TCP Reno:

"It over-corrects on loss and leaves available path capacity idle

– 10Gbps rates over 100ms RTT demands a packet loss rate of less than 0.000003%

– An average 1% loss rate over a 100ms RTT can’t operate faster than 3Mbps"

Can someone explain the math there to me? I looked at the slides and I'm not seeing it. Am I missing something really obvious?
You should listen to the commencement speech he made in 2005 at Stanford https://youtu.be/D1R-jKKp3NA
Fair enough, that's also why I included:
"but if there are enough 1:1 conversations to contribute significantly to the overloadedness of matrix.org"

Matrix.org is still running, so no complaints there. You'll figure things out soon enough.
Can you buy one of these with an SDK?
This is a [better worded] version of what I came to post. America will need to completely overhaul its system of fovernment before this begins to change.
> But title makes it sound like "switching to Rust was the breakthrough". Or am i paranoid about it..

Since titles keep changing on HN (for good reasons), I can’t be sure you saw the same title that I did, but if you did I disagree.

The current title is “How Rust 1.26 more than tripled the speed of my code”.

Because that title specifies a specific version number, I expected the blog post to be about exactly the kind of thing it was; some new feature or improvement in that version of Rust which would make their software run faster compared to the previous version of Rust they were using.
100% agree. A number of engagements I've been on of late have had to do with changes in government regulation, making sense of that in the local context for a client, then implementing some kind of change (people/process/technology) to ensure compliance (so they can in turn assure government regulators).

This touches on one other thing that large consulting firms have, and that is global reach coupled with great internal networking and knowledge management. Bank A needs to comply with new government regulation which is similar to that passed 6 months ago in country B where we did a similar engagement. No point re-inventing the wheel a dozen times when that country B team is a few clicks away and can guide you through what they did (and more importantly what they learnt along the way).
On some of our Ruby workflows We use Sidekiq Pro which has scheduled and batched jobs. The batched jobs is neat because it has a callback feature that you can use for starting additional steps / workflows. We monitor/alert on progress with statsd, datadog, and the sidekiq ui.
As a German I am very very aware of the distinction, and our school system puts emphasis on this too. Just following the rules is no excuse.
Podcast: Sue Graham Johnston – Batkid, Oracle, 128 Technology
while also depleting the battery's lifespan.

sounds like a perfect opportunity to get careless car owners to destroy their own property for a company's revenue.

especially hilarious if the car owner doesn't use an expensive UPS between the grid and the car. I'm sure the next lightning storm isn't too far off - and some of the plugged in cars won't survive it.

I'm not against EV though. There'll however be a lot of growing pains as they take over the cities. (though thats still far off)
Aloe vera planta medicinala
Holy shit, you weren't kidding. This thing reminds me of a creature from a fantasy book I read a long time ago - the Wyrsa: http://valdemar.wikia.com/wiki/Wyrsa
The poor hate the poor too. The poor people are the ones who comprise most of the voter base for the politicians who push these laws and policies.
Ask HN: If you're a startup, do you use a CRM, why or why not?
Hi HN,

I'm working on a side project and am wondering if I should make the time commitment to use a CRM or just a spreadsheet. I would love to get feedback from the community.
> it takes literally 10 minutes to Dockerize a Ruby / Python / Node / "just about any language" app once you understand how Docker works.

Is there a good reference for "dockerizing" a typical hobbyist/MVP node.js+express+babel+webpack application that would make sense to someone who understands docker and what it is used for but hasn't waded into dockerfiles and the more technical parts? Just to get a simple Ubuntu webserver set up with all the ports exposed correctly and the apps running.
I can't speak to how the extent compares as I don't use Python nearly as much as R, but it is an issue. In some ways it may be worse, as there are a much wider variety of packages available for R from many different authors, so it isn't unheard of for packages to not be available for newer versions of R. That said, many of those tend to be niche, and I haven't really had old files need any kind of major revision.
I agree with you for the most part, but one thing I'd throw out is that Ansible is making this conversation more interesting thanks to Ansible Container.

Just from an ops perspective, if I can use Ansible to provision infrastructure, configure bare metal, configure VMs and build containers (Docker/LXC/LXD)...all of a sudden life gets easier - especially for keeping the containers themselves up to date.
Is Copyright Piracy Morally Wrong or Merely Illegal?
There are different degrees of impulse.

A spouse who kills after finds their partner in bed with someone else is what is traditionally called a 'crime of passion'. Maybe they would have committed that crime even if a policeman was looking over their shoulder.

A person who pockets a cell phone left unattended in a bar may be an equally spur-of-the-moment decision - but we wouldn't consider it a crime of passion. If a policeman was looking over their shoulder, they'd have resisted the impulse.

If people aren't being deterred from the second type of crime, we've got to ask whether the chance of being caught is too low, whether the punishment is too small, or whether the person isn't being rational about the expectation of punishment. Which probably varies from one crime to another.
Remember that embedded programming is often deployed on a particular machine using particular tools. So even with all the uncertainty, a little testing (looking at generated code) and you can get it to work. And it should stay working, since the code isn't going anywhere (different machine/tools).

There's still the downside of course - looking at the code to 'prove' it is troublesome. And often the code generated for bitfields is ugly. You can likely generate better code by hand.

So the single remaining advantage is, the C looks pretty clear. There's the register; there are its bits by name; assuming that's all been checked to work right, the coding (and code reading) can proceed without any more concern over bits.
Jeez, has it been 30 years already?!?

I remember some folks in Berkeley (Bostic?) posting a patch to fix the bug in the worm! The worm was discovered because it kept infecting the same machines again and again; the patch fixed this bug. Ah, good times.
Clearly. This is probably the reason half of us are speaking Korean and the other half is speaking Vietnamese.
Calculating Pi with Real Pies – Numberphile
But that still prevents the entire targeted ad industry. If you can't hold any identifying information on a user that didn't opt-in to tracking, you can't show targeted ads to that user.