skysight-inc/HackerNews huggingface dataset:
> I suspect you may know this, but there exist many locations and circumstances wherein various rights are suspended.

It sounds like this recent ruling may have rendered that page out of date.

From your link:

> According to the government, however, these basic constitutional principles do not apply fully at our borders. For example, at border crossings (also called "ports of entry"), federal authorities do not need a warrant or even suspicion of wrongdoing to justify conducting what courts have called a "routine search," such as searching luggage or a vehicle.

From the OP:

> In a major victory for privacy rights, a federal court in Boston today ruled that the government’s suspicionless searches of international travelers’ smartphones and laptops at airports and other U.S. ports of entry violate the Fourth Amendment. The ruling came in a lawsuit, Alasaad v. McAleenan, filed by the American Civil Liberties Union, Electronic Frontier Foundation, and ACLU of Massachusetts, on behalf of 11 travelers whose smartphones and laptops were searched without individualized suspicion at U.S. ports of entry.
If you're on US soil you're subject to US law, including all provisions of the Constitution. And the Constitution makes a distinction between 'citizens' and 'people' (i.e., everybody, including noncitizens)
usually I need to append "reddit" to the end of my search string in order to find something that is not blogspam or autogenerated-seo-optimized content
You could maybe make a case like this for someone like DN, which is a nonprofit. But do you really want ABC News Brought To You By Disney to be able to use your picture of some newsworthy event in their primetime TV show for free? They're not giving away those ad spots for free in service of the public interest.
I agree with everything this article suggests, but to be fair to hospitals, they can't really tell you what some procedures will cost for obvious reasons. A delivery may ordinarily cost $x, but if a caesarean is required it may be $x + $y.. etc. A car mechanic will give you an estimate for what it will cost you to fix something, and then call you if it turns out to be more expensive. In a delivery (or a surgery) they can't really ask you if you are OK with an additional cost that may be required, they have to just do it.

However, a hospital could provide a list of prices that are commonly billed. What a list of prices would do is give you a sense if one hospital costs a lot more than another in general. If you knew you might change which hospital you go to and.. you know markets etc.
Do deaths from stupidity ever stop?
Ha - I have the same problem. Then for fun I log into some nntp sites and browse around. I often visit a webpage with lynx and save it locally, then read the file later using emacs or something else. BTW I discovered by accident that Lynx is a lovely filter for Medium.com pages. It does away with all the javascript and provides you with a terminal full of the content. When it's long form content, I find lynx delivers the promise of Medium.com better than the "modern browser" experience does.
You know the one thing that has helped me out the most, an error reporting service AND then addressing _every_ error.

That is to say, my service should emit zero 500 errors.

Then my reporting is easy to interpret and consistently meaningful. I don't have to worry about bullshit noise "oh that's just X it does that sometimes."

Sleeping at night is a lot easier when you have less keeping you awake.
4 of the 6 explicit criteria given are not inherently sexual in nature, and only 2 of those 4 are in any way related to violence (but even harassing is not necessarily violent, so it may be 1). Like I said, the only case law that exists relates to pornographic material as it is the most unpopular. That wording was ripped from other anti-obscenity laws that have had a hard time in court but have not yet been entirely struck down.
> Does this apply to the "special Constitution zone" that intrudes 100 miles inland from the US border?

This is specifically about border searches, so, insofar as such a zone exists (the description is hyperbolic and more useful for motivating activism that any kind of analytical application), yes.

> Doesn't matter if it's constitutional or not if you're in a no-constitution zone.

There is no such thing. There is an executive-asserted 100 mile zone (statute only says a reasonable distance, and AFAIK courts have not ruled on actual boundaries) from the border in which federal officials can conduct warrantless searches of vehicles to identify people without legal permission to be in the country.
Perhaps it's easier for some. What was the need?
> It's less obvious to me how your proposal lines up with things that are less so.

Usually you have a sync wrapper around async work, maybe poll based.

As an example, I believe that Amazon's "place in cart" is completely async with queues in the background. But, of course, you may want to synchronously wait on the client side for that event to propagate around.

You get all of the benefits in your backend services - retry logic is encapsulated, failures won't cascade, scaling is trivial, etc. The client is tied to service state, but so be it.

You'll want to ensure idempotency, certainly. Actually, yeah, that belongs in the article too. Idempotent services are so much easier to reason about.

So, assuming an idempotent API, the client would "send", then poll "check", and call "send" again upon a timeout. Or, more likely, a simple backend service handles that for you, providing a sync API.

Going from Sync to Async usually means splitting up your states explicitly.

For example:
Given two communication types:
Sync (<->)
Async (->)

We might have a sync diagram like this:

A <-> B

A calls B, and B 'calls back' into A (via a response).

The async diagram would look like one of these two diagrams:

A -> B -> A

or:

A -> B -> C

Whatever code in A happens after what the sync call would have been gets split out into its own handler.

If your system is extremely simple this may not be worth it. But you could say that about anything in the article, really.
I'm sorry I didn't get a chance to reply to this. I meant to, but got swept away by the waves of everything that gets posted here.

Our intention is to give every sincere question a sincere answer, so I'm sorry to have left the wrong impression in this case. It's just not always possible given resource constraints. I'm sure we can revisit this in the future.
Don't forget having to add "-pinterest" to literally any image search.
I’m not sure to whom the reasonable suspicion has to be announced? It makes it hard for me, a lay person, to understand the practical ramifications of this decision.

Would the suspicion have to be announced to me, when I’m asked to unlock my phone, or would it have to be presented to a court, when they are asked to prosecute me based on the contents of my phone? If they find illegal content on my phone, wouldn’t the prosecutor just tell the court “she matched a profile for the sort of person that carries illegal documents”?

The latter is only meaningful if the case goes to court, which feels like a stretch. There are many forms of punishment that can be meted out without having to go to court. Vexatious detention, confiscation of property, etc.

The former seems silly — surely I can’t impede law enforcement because they haven’t justified their authority to me?
https://en.wikipedia.org/wiki/Denise_J._Casper Obama Judge.

But you should realize you are basically saying Judges are not impartial arbiters, but rather biased based on who appointed them.
I would assume < 0.5 on average since English strings are pretty common and the top bit is usually 0. Zero padding is fairly common in files too, while 1 padding is relatively rare.
Spent the last couple days trying to gather information for an LDAP/AD/Samba project for a multi-tenant MSP setup. Literally the top 3 or 4 results of every query were from Jumpcloud and just pure, low-effort blog posts that you can just tell were SEO driven to get them on the top of every keyword to sell you a product that isn't even really the same thing.

I just discovered the "reddit"/"hackernews" trick while doing this for actual content I want to read.

As far as I'm concerned I will never recommend Jumpcloud or any other service I find doing this.
If the kids made serious contributions, that is one thing. However, that really doesn’t seem to be the case here.

Nepotism is majorly harmful. If their kids go into academia, they already have a huge leg up from having academic parents. Let alone if they already have a strong publishing record which they did not merit. You really harm those who don’t come from that background, which of course, is how class divide can become a chasm.
All weight loss is due to caloric deficit in the end.

Not true. It's possible to lose different types of weight (i.e., muscle or bone) due to the body's inability to repair such tissue in the absence of proper diet sources. For example, if you drink 2000 calories/day as your only food source, you will lose bone mass and muscle mass over time, and the fat stored by your body (if any) will weigh less than the bone or muscle mass lost.

There's no magic from eating fat/protein/carbs.

Fat, carbs, and protein all have different roles in the body. Luckily, our diets generally get enough of all 3 that it's not that much of an issue...but lots of research shows that having the optimal balance of FPC for your current body condition and activity results can drastically affect performance, sleep, behavior, etc.
You can, but that’ll cost you one extra branch, for nothing ;)
I don't necessarily agree with your premise, but I don't think it matters.

Who's "we" here? The people putting the politicians you're talking about into office are not likely the people who would benefit most by sending their children to charter schools. So what is that person supposed to do?
> The primary purpose of source code is to be understandable and manipulable by other engineers.

I've never worked in a fantastical position like this. The only purpose of the source code that I've been a part of was to provide a real solution to a real problem, in a limited amount of time, with too few resources. Technical debt always increased slowly until features are removed or break, forcing some dedicated work.

Can I ask what industry you're involved in where code quality is held higher than profit/deadlines/solutions? I would happily make the jump.
It's fine and not noticeable.
Wait... I thought the CLR was supposed to do this? Or was it the JVM?

What's old is new again!
you hit the nail in the head. Innovation cannot be contracted, it needs to be nurtured from the inside. I think a better model for that would be a professional, long term version of Code for America.
Dave from Chartio here, wanting to share our new book describing the 4 stages of setting up your ideal data stack here - https://dataschool.com/data-governance/.

It covers BI a bit, but mostly the stack that BI sits on top of. It's an open book so we're always looking for suggestions and experiences such as those shared here.
Rick Steves.
Unpopular opinion: why is profiling bad in context of airplane security?

If 100% of airplane terrorist attacks are carried out by people of X country (Xians), and 0% of airplane terrorist attacks are carried out by people from Y country (Yians), it seems like a pointless charade of political correctness to check Xians and Yians with equal frequency.

I say profile the heck out of Xians. Stop and frisk 100% of Xians and 0% of Yians.
What about the A/B testing? What do you use for A/B strategy. How many predictions are being served by the model per second?
I cant think of a single amendment that isn't qualified in some way. But kudos if you or someone takes an issue like this to the supreme court.
>No greater mistake can be made than to imagine that what has been written latest is always the more correct; that what is written later on is an improvement on what was written previously

I feel this way about math books a lot actually, especially calculus. When we really formalized the foundations of calculus using limits and epsilon delta arguments in proofs (instead of alternatives like Non-standard analysis see: https://en.wikipedia.org/wiki/Non-standard_analysis) I feel like a great deal of the intuition that actually built calculus was lost. I call it "differential reasoning", and I wish there was a class in just such a thing, formalized with operator theory and non-standard analysis techniques. It's still used a lot in physics but no one talks about the concept of a "ratio of differentials" in modern calculus.
And that is why I donate to ACLU every month.
Guide to JavaScript Array Sort Method
I've heard of this happening in the US as well.
Avoid Institutionalized Incident Nonsense
Also 8b/10b and 64/66b encoding in ethernet:

https://en.wikipedia.org/wiki/8b/10b_encoding

https://en.wikipedia.org/wiki/64b/66b_encoding
Any inputs on Argo workflows vs Kubeflow vs MLFlow? Which is better suited?
Hong Kong Protests Take over Universities, Business District
For servers which get set up once and are expected to be left alone from then on, that's not the case.

With anything dynamic though - laptops, VMs - the various solutions can be pretty hit and miss. NetworkManager was terrible for many years, but seems relatively ok these days.
Forget about overhead because this is a cheap product to produce, about as cheap as growing tomatoes. The illegal market doesn't really respond with lower cost, but higher profit. Good weed at a steep steep discount (ie gray market) is going to be $150. That's not because of overhead, but market price. Overhead is very low.

You can grow six plants yourself in CA legally outside all year round in socal. A single good harvest of six autoflowering plants will yield you 6-24oz in 3-4 months for probably $100 on your end if you didn't have any supplies, maybe another $50 for good seeds. So you yourself can grow pot for ~$6-25$ an ounce.

Imagine what the wholesale price can fall down to if you take advantage of economies of scale. But it doesn't, because in the legal market taxation and licensing add huge costs to what otherwise should be the business of selling tomatoes, and the illegal market rides the profit off of the established market rate that customers are used to paying.
The ERs should already be doing this: if they have too much toothache cases for one trauma surgeon, they clearly won’t add a second trauma surgeon to the shift, they will add a general practitioner. If the trauma surgeon is not busy putting car crash victims together, he can handle the toothache just fine: he is already getting paid anyway, so it doesn’t make sense to keep him idle.
We can't even get software developers to use sane metrics. Good luck getting Masters of Fine Arts people to use them property to describe software. Especially when we've provided such a stellar example.
I use HN Search, which is linked from the bottom of most HN pages. That's definitely a text indexing tool that helps! The search company Algolia provides it for free—a major service to this community, because not only does it help users find things, we rely on it heavily for all kinds of moderation tasks.

It's particularly helpful to include "comments > N" or "points > N" if looking for old threads.
I've heard it called the "Ninth Circus".
Ask HN: The State of On-Premises Clouds
What are companies doing for on premisis cloud solutions today? Seems like OpenStack interest has waned since 2016 or so. What are good resources to learn about current best practices in this area?
You can't escape judgement.
How can I learn more about how nanoprocesses and the wasmtime sandbox work under the hood? Searching the repo on github for common keywords doesn't turn up much.
Are nanoprocesses like Windows picoprocesses somehow, or are multiple "processes" running in the same address space? If so, you can probably exfiltrate data between nanoprocesses with spectre. Additionally, if you get RCE in the wasm JIT (this happens all the time in javascript JITs), there's nothing to stop you from ropping to gadgets to open your own sockets without going through any in-process checks.
As would I :-)
Googler here, my opinions are my own, standard disclaimer.

I'm not going to comment on this specific case but I do have almost a decade of previous non-Google experience working in clinical documentation technology.

As others have said, entering into a BAA with a covered entity, as HIPAA defines it, shouldn't be seen as a controversial action.

There are numerous problems in healthcare that are too complex for individual health systems to tackle. For example:

* Population Health: are there emergent changes in the regional population? What do you do about it?
* Continuity of Care: The number of individual providers involved in a particular person's care continues to grow. How can you effectively inform the entire team--across health systems--what's most important for an individual now? How do you make sure nobody drops the ball?

To give you an idea of the scale, I have two examples. The first is MD Anderson Cancer Center in Houston. They used to have 200+ engineers working on their sophisticated home-grown EMR. It was a huge undertaking. But even with MDACC revenue, that development was unsustainable, and they moved to a 3rd party EMR vendor.

Second is the Mayo Health System. Another huge provider with facilities not just in flagship Rochester MN, but in several other sites. Again, there were realities that even at this scale internal development isn't sustainable across the board and they wound up with a $100M+ adoption of a 3rd party vendor.

And this is mostly straight-forward CRUD-level workflows. The technology is straightforward but the workflow expertise is not.

Now, try and solve some bigger problems. You're going to need help to do this at scale, and trying to solve it necessarily means giving access--not control of!--to medical records to drive R&D. It's happening right now, and Google is not the only player doing this at scale. They're not even the largest one.

Lastly HIPAA controls have real teeth, in comparison to the general consumer space (at least in the US).
Just to be clear, I'm not necessarily arguing that it's optimal to create your own tools. I will, however, object to claims that creating tools is all about saving money. Having the right tool and having control over your tools is a big deal.
> the government’s suspicionless searches of international travelers’ smartphones and laptops at airports and other U.S. ports of entry violate the Fourth Amendment

So, does this not apply to people flying domestically?
> That's been the common law since King Tut.

Common law started long after King Tut, and in any case the Constitution isn't overridden by common law where they conflict. While this particular issue has been controversial, there idea that you have no rights at the border is unsupportable either in the text of the Constitution or the case law, and you should feel cheated that you had two professors that did such an inexcusably bad job of explaining the law, if your description of their lessons is correct.
> TBH, this future frigthens me even more than nuclear war or climate change. For both these old horrors, we at least know the theoretical solutions; but if we simply run out of new things to discover that make a difference for us as a species, what then?

This is very, very unlikely. Take a look at all open questions in physics, and you'll see that our understanding of the universe has severe gaps. Usually, whenever such a gap is filled, there's a technological boom. For instance, Einstein got us some: not only relativity (allowing for things like GPS), but also the photoelectric effect, allowing for (eventually) solar panels. Greater understanding of semiconductors (in no small part due to the above) brought us transistors, cheap lasers, which were refined (and still are) by quantum physics. We are dabbling into quantum computers now.

Mind you, both lasers and radio waves were considered curiosities with no practical applications.

Fusion research is still ongoing. Progress is slow, but steady. Once we have mastered, we'll have access to cheap and plentiful power, which will open up applications previously not even considered before. If it is possible to shrink the technology to less then building sized, then you'll also see vehicles (ships or spacecraft).

Bio technology is still in its infancy. I cannot predict what the results will be, it's far too early.

Some of the rapid progress from the last century might have been an anomaly. But we are not even close to running out of things to learn.
I never doubted Red Hat, but I do doubt IBM. Glad to see that RedHat's principles are still alive.
I feel like there might be a difference - do drives fail more if they're not continuously running? When I was working in a lab it was generally close to 70% failure rates for drives that were sitting in a box for more than a couple years.
As it's not obvious from the title: the article is by Randall Munroe of XKCD fame.
Good question. I was going to say "yes" but the Heller decision has made that less clear.
There are at least two silly things in this code,

One is the hex conversion. Compare:

>>> bin(int(binascii.hexlify(b"\x05"), 16))[2:]
'101'

versus just:

>>> bin(b"\x05"[0])[2:]
'101'

Secondly, the code should just count the 1 bits; there is no need for a count of zeros.
Video/image/audio data is likely processed locally on device and the important bits and bytes are sent back to "HQ"
So we're doomed, then.
No Shenanigans
I've worked in government, late startup and corporate roles. There isn't anything fundamentally broken about government. The difference is operate vs. build.

Government is usually optimized around operational activity, and it usually does so very well from the perspective of how the organization is designed. Things get weird because priorities are driven by external mandate. DMV issues licenses, taxes are collected, social services are delivered. The downside of scaled operations is that changes are difficult and expensive. The exception is when there is growth -- the government is good at borrowing money and good at building stuff.

Large corporations aren't that much different. If anything, the average medium/large corporation has fewer controls and is less competent at a given task that a .gov organization would be, but delivers each marginal task at a lower cost and less red tape. (aka compliance requirements)

Startups are different. They are built to build and tend to do the minimum viable activity and are usually a big mess operationally.
I think this helps the attacker piggy back on the connection of a user who has the MFA device and is able to get deeper into the network than the bastion can w/o MFA?
> Imagine embedding a WebAssembly runtime like wasmtime, and telling people they can write their extensions in any language they want.

Is that desirable? Won't it lead to a bloated mess with every extension dragging in a different language runtime with it?
My experience was very different:

WARNING: NSFW!

https://ibb.co/88Lx5yC
We use a simple `Postgres -> CSV -> Pandas` pipeline.
(3 litres for anyone who was wondering)
In my view, the "native" format that they produced the content in is the format they should be delivering by default (if supported by the viewer's setup). Of course I recognize that people will disagree, after all, UHD Blu-rays also generally cost more than 1080p Blu-rays. But of course, UHD Blu-rays aren't backwards compatible with standard Blu-ray equipment, so it doesn't feel like an artificial limitation simply for the purpose of price discrimination. This also seems to be a no-brainer for Amazon Prime, Apple TV+, and Disney+, which (as far as I can tell) don't have any concept of charging based on video/audio quality.
The OP mentions that they are currently working in R.
Exercising Concurrency in Go: Common Pitfalls
WeChat Pay is ubiquitous in China, and has largely replaced all cash use.
I'm surprised nobody in the US is worried about Facebook surveilling their financial transactions.