skysight-inc/HackerNews huggingface dataset:
I just never explored it past the point of trying out the ideas on my laptop. I knew it could be done (and should've mentioned that in my prior post), but had no immediate need to. Their scheduling solutions were effective, though suboptimal (at my sister's job). Additionally, as I spoke with her more I found out there were a lot of factors I didn't know about (and some I couldn't be told about for various reasons). I love my sister, and it was a good learning experience, but I can only work pro bono for so long. She had no support from her leadership to explore this approach further so that was that.
I’m a huge admirer or well crafted cli apps, they can massively boost the effectiveness of a team.

An oldie but goodie here: https://eng.localytics.com/exploring-cli-best-practices/
>Our default policy is to keep generic RPC server logs for O(weeks).

Out of curiosity, when was this policy adopted? After these security holes were discovered?
An e-commerce pitfall: never-ending returns
Best Joke Video Digest 149 – Trend Jokes Digest Videos  FunnyCube VINES, COUBS
^ this right here is critical. Dev accounts tend to be more open to specific features .....
> I would skip man pages are they just aren’t used that often anymore.

I understand that man pages might represent a minority, but I cannot express enough how wonderful it is to get the full manual of a program without interfacing with the web. Not to mention how powerful that is, since most apps have short names that are difficult to search for, but how accessible that makes the application.
This is all great advice.

The one thing this does miss is distribution, which is a HUGE part of offering a great CLI app. Specifically, I'd say:

1. Make your OFFICIAL distribution channel the primary package manager on each platform (ex: on Mac, homebrew. Ubuntu, apt/snap). Beyond that, support as many as you have capacity to.

2. Also offer an official docker image which fully encapsulates the CLI tool and all of its dependencies. This can be a great way to get a CLI tool loaded into a bespoke CI environment.
How is this news or anything?
I should probably keep my mouth shut, but as a Google employee I can assure you I am concerned about both and I am not alone. My views are my own, etc
Accidentally found out myself (I am just back from a short vacation in Tokyo): one of the guides explained that almost all garbage cans were removed as a consequence of the Sarin attack in the Tokyo Subway in 1995 - see https://en.wikipedia.org/wiki/Tokyo_subway_sarin_attack.
Yeah, I see lots of early hires of the tech giants bemoaning the monsters they've created. They are very concerned about the negative societal impacts of their former employers, but not quite concerned enough to give back the millions of dollars they earned peddling these products.
https://www.nytimes.com/2018/08/16/technology/google-employe...
I'm not sure if React Native (I haven't done much with React on web pages) is on topic here but I would say without any hesitation authentication.

React Native is so good and so similar to front end web work (including integrating native libraries, it was downright joyful once I figured it out) that the experience of setting up the most basic email/password authentication scheme really stood out. This is true to some extent throughout the native landscape (that it's a little more complicated than web pages), but still.

I think some might argue that this belongs in an external library, and maybe so, but I think there needs to be an easy to use standard library or framework component that keeps in mind what the developer experience is on the web.

React Native is still my first choice for a small-medium native app project, a good authentication story would put it on another level. Also note the last time this came up for me was a year ago so maybe there has been improvement.
I am currently using Spark (macOS) it works pretty well, except for lacking filters (if subject {x} then move to {y}). Does Postbox support filtering?

Also in my opinion, the overview video is cringeworthy to watch. The customer "testimonials" didn't help me understand benefits and felt over produced and ungenuine.
> there's also low-latency or real-time implementations of RC/GC to consider as well

These exist but tend to have poor throughput, frequently set a maximum amount of memory you're allowed to use, and typically don't perform well when compared to commonly used garbage collectors.
>> That isn't to say other languages don't have something to offer

> People are also writing low-level, efficient software in Ada/SPARK, Rust, Oberon (Astrobe Oberon), Pascal/BASIC (MikroElektronika), Haskell-based DSL's (eg Ivory Language), and ATS.

I fully think other languages can be used to quite good effect. I was specifically thinking of Rust and Ada/SPARK, and for the latter one coming to my mind so quickly you can only blame yourself. ;)

> So, I'm not sure C is the right tool today given anything it can do can be done in safer languages plus assembly or sometimes even invoking/extracting-to C.

Yeah, I'm not so much advocating for C as a good choice, as much as excusing it as a somewhat adequate choice given the specific circumstances. A rigorous set of usage guidelines, which I think are likely easier to implement and stick too given the type of project, mean that C is only slightly more dangerous, but also slightly easier to work in given the needs, than some other options. Even this small advantage is quickly being eroded by advances in other languages though, so I doubt it will persist (even if only in my mind) much longer.
The same character is used in Chinese where it also refers to bluish-green, tending closer to green than blue:

https://en.wiktionary.org/wiki/%E9%9D%92

There is also a character for a much deeper blue:

https://en.wiktionary.org/wiki/%E8%97%8D
Nitpicks:

Replace “pipe content” with “redirect content”
There are still interesting, funny moments. Once, I had done something that angered him. He gave me the third degree, yelling at me. I started chuckling. He stopped, and angrily asked why I was laughing. I replied he hadn't yelled at me for 20 years, and it felt oddly good and familiar to have him yelling at me. It was good to have my old man back.

Of course, that took all the steam out of his anger, and he soon slipped back into the mist.
followup question :

Is this an app "test user" account you are logged into? Has the user in question authorized the app you are developing?
nice catch, ty
Alright. I'll take you seriously as soon as you agree it implies a need for pet bird licenses, passing exams to own a bird with ID required, and pet bird operating zones for the same reason.
That is completely untrue. Googlers seem to be just as upset over the China project as they were over the Pentagon thing.

* https://www.nytimes.com/2018/08/16/technology/google-employe...
* https://www.foxnews.com/tech/google-employees-quit-over-cont...

I don't know who told you that, but you shouldn't trust them.
I think its less of tailoring for AWS and more that AWS is worlds ahead of Google and Microsoft in their commercial offerings, and especially their government offerings. For instance Google Cloud does not have a High certification from FedRAMP which would rule it out being used for any workload that involved weapons systems which generally are FISMA High. I think what was dome was less writing it for AWS and more just writing it to have the requirements you would want out of any public cloud offering. The problem is most companies have been providing a "good enough for government work" solution and now they can't fulfill the RFP. ( Amazon is in this boat too, there are tons of services that haven't been cleared yet, and GovCloud is expensive and only exists in one region, in that respect Microsoft has been ahead, but they have their own problems)
yeah I agree 100%. Distribution of CLIs is a headache for the maintainer, but it's really important to get right if you want users to have a seamless experience.
The syntax seems to be inspired by awk more than c.
Is a $40 one-time fee sustainable? Newton Mail had a $50 annual subscription fee, and it recently had to shut down. Does anyone know if Postbox monetizes your email data (like Edison mail)? I'm seeing the following in their privacy policy:

"As part of this use of information, we may provide aggregate or anonymous information to our partners about how our customers, collectively, use our Services. We share this type of data so that our partners also understand how often people use the Services, so that they, too, may provide you with an optimal online experience. Again, Company never discloses aggregate or anonymous information to a partner in a manner that would identify you personally."
> 1. Great help is essential

I like how this is their #1. In my opinion the best way to do this is with tldr.

https://github.com/tldr-pages/tldr

I'd highly recommend folks create a tldr page for their CLI app. Add 4-8 examples to cover 80%+ of the most common use cases. -h flags, readmes & man pages can cover the other 20%.
Yes, it spawns a kernel thread if all the threads are currently blocked. I ran into this issue running Go on a FUSE mounted file system. If the network hung, Go would spawn thousands of threads and OOM. Go can't _not_ spawn them, as that would risk deadlock.
> so you never really have expensive context switches

It can be possible only if there are no more "physical" threads than cores. And anyway a switching between async routines on the same "physical" thread requires a switching of routines contexts (go to the memory and update cashes).
It’s extremely common to require dog licenses. My rural New England town does.
Right. It's basic. Let me assure you that the future will make it a laughing matter.

Edit: brevity
My partner works in web design for China and she is consistently frustrated by the foreign colleagues suggesting very plain designs, while the customer requires dozens of bells and whistles on the main page, like various indicators, scrolling pictures, sidebars with dozens of links and news, and so on.

So the misunderstanding is mutual.
For long life, LEDs need to be off some of the time, better to run at 20mA 50% of the time than 10mA 100% of the time. That always on warning light on your cheap electronics runs at low power and has a relatively high failure rate. You need to tune or shield the drive to avoid troublesome EMI.
IIRC https://cyclone.thelanguage.org/ did this (among other things -- I think it's also where Rust lifetimes began their, err, life) and ended up having rather poor performance for pointer-manipulation heavy code.

I don't know if things would be better now with more optimizing compilers, but I remember being somewhat surprised by this at the time, since you'd expect most of the overhead from passing fat pointers around to get optimized away.
A Brain Scientist Who Studies Alzheimer's Explains How She Stays Mentally Fit
I disagree on the 2nd point. Flags prevent globbing by the shell and make the help text less clear.

Consider a usage line like this:

prog <user> [password]

This tells you which argument is mandatory and which argument is optional in a second, without searching for the help text of --user and --password.

Also, an example like this:

git add <pathspec>...

Tells you that git add accepts multiple paths and you can invoke it with:

git add src/*

What's more important in my opinion is making sure your argument parser can handle values that start with a dash and respects a double dash to stop the option parser.

Consider an interface like this:

prog [--rm] [--name <name>] [args...]

And you invoke it like this:

prog --name --rm -- --name foo

This should result in:

{
"name": "--rm",
"args: ["--name", "foo"]
}

Getting things like this wrong can result in security issues.
The Death of Google
One of my friends recently got his Permanent Residency from Canada for a job he has just gotten there.

What is the difference between a PR and citizenship? Is there any difference in what the country owes the individual or vice versa in either?
Key quote is further down in the article, although I don't know if the referenced study accounted for health care costs:

"Mr. Yan conducted a study looking at the median housing values of various North American cities, as well as median incomes. He found that while Vancouver is the third most expensive city to live in, it is ranked 50th in income, with a median household income of $72,622. Toronto’s ranked 32, with a median household income of $78,373.

San Jose and San Francisco, where all the big tech firms are located, are the first and second most expensive cities in North America, respectively, but they’re also No. 1 and No. 2 in median household income. If median income were higher in Canada’s largest cities, then those 30-somethings would make these urban hot spots more of a long-term destination, he says."

EDIT: Andy Yan's data for the initial comparisons are based on Stats Canada numbers, which means his initial set[1] of studies and analysis seem to have focused on Canada-only.

[1] https://vancouversun.com/news/local-news/radical-disconnect-...
Because the person with dementia does not have a stable level of cognition. It changes continuously. The article mentions this. At higher levels of cognition they will know whatever the simulation is false and it will upset them.

Spend some time with dementia patients and you'll quickly realize the issue.

Any VR would have to be able to determine current cognitive ability to not cause as much frustration and harm as relief.
But what did the memory footprint look like compared to C?
Thanks for posting, Tomte. This is a project that's been discussed on HN on the past.

-- Jeff

https://news.ycombinator.com/item?id=7616831

https://news.ycombinator.com/item?id=12469790
> "Big companies go after niches all the time. Many microbrews are owned by massive multi-national breweries."

AB Inbev, et al isn't targeting a niche by buying microbrews, they're building a portfolio that gives them access to growing and profitable craft brew market that's 1/4th of the total US beer market.

Retail dollar sales of craft increased 8%, up to $26.0 billion,
and now account for more than 23% of the $111.4 billion U.S. beer market.

https://www.brewersassociation.org/statistics/national-beer-...
Widely reported 45% emissions reduction necessary by 2030 actually closer to 60%
I almost want to rewrite the help section to encourage examples even more. They're incredibly valuable.

I hadn't considered this before you mentioned it, but oclif CLIs could integrate to tldr pretty well. It already supports arrays of strings for examples.
I'm a pilot. We have a saying: that the FARs (Federal Aviation Regulations) are written in blood. It's very literal. The rulebook for manned flight is comprised mostly of regulations enacted because someone died in a preventable way and we are a deliberately safety-conscious culture.

Aviation has 115 years under its belt, and many of those are full of fatalities. One of the issues I see with drones as an emerging industry is that people seem unwilling to learn from our history. I've only been flying for a few years and myself and most of my friends have near-miss stories with other full size, fairly slow moving aircaft. How can we expect to see a drone head-on where there's no relative motion?

Having the privileged of flying in the national airspace system means shouldering the responsibility of keeping yourself, your passengers, and the people around you safe. Knowing the airplane, weather, and terrain can keep you and your passengers safe. To keep everyone else safe, you need to work with the system so that we can manage increasingly congested areas around the country.

TLDR: If drone companies and operators want to be treated like grownups, they'll need to grow up.
I would not recommend this.

Couple of issues:

1. You might want to visit your family in home country. How do you enter back.

2. CBP can put a border check point anywhere 100 miles from a border. Which covers most of California (land and sea border) including SF. If you get caught in one, your would be arrested and deported.

3. If you overstay for more than 6 months you are banned from US for 3 years. If you overstay for more than 1 year, you are banned from entering US for 10 years.

4. Government knows that you are overstaying. They can also easily find out about your bank accounts, health insurance, doctor visits, kids going to school. They could apprehend you if they want to. It could start by sending you a NTA (Notice to Appear). Once you get an NTA, you can't even leave the country on your own terms without triggering a re-entry bar.

5. Most good employers won't give you a job without a work authorization.

Sadly, what you had suggested has been the life story of all the undocumented workers in US. And it is really tough. I know H1-B has it bad, but it is nothing compared to what the undocumented workers have been going through. When you live in the shadows and under fear of law enforcement for a big part of your life, it can mess up with your mental health. I wish there is a good outcome for them.

Unfortunately the low skilled undocumented workers don't have much options in life. But I am not sure why someone who is educated and skilled, would subject themselves to such a life. Just go somewhere else!
I can't argue. But as a northerner, it was slightly funny how freaked out everyone was about that -29. Diesel fuel was coagulating, tires felt funny. The good part of it was that there wasn't very much wind.

But there is was an extreme that was not so funny. That was the heat wave in 1995. Nearly a thousand people died during that time. High temperature of 106, high temperature overnight (which I feel is a crime against nature), insane humidity. The city learned, in that there are now cooling centers for crisis like temperatures.

Humorously, the second-highest actual temperature I experienced was 112 during one year of harvest back in Montana. Fortunately, the humidity was low (sometimes as low as 4%) and, as it should be, it cools off at night, as the universe intended. The higher temperature was in Phoenix, when it hit 117 at sunset. Riduculous.

Yes, it can be depressing with the shorter days, and the harsher winters encouraging biological hibernation.

My take is, as a country boy, if you are need to live in a city, Chicago is excellent.
You can't vote in Canada unless you've citizenship. You've to be physically present in Canada 3 years of every five to retain PR, not so with citizenship.
I don't think the thread proposal will change anything here. Like the existing memory instructions, the atomic instructions proposed for threads (https://github.com/WebAssembly/threads/blob/master/proposals...) don't take a linear memory parameter. That means they operate on the same default linear memory.
Lin Clark did a talk last year where she discussed how React could _theoretically_ make use of WebAssembly, and how much benefit there was likely to be:

https://www.youtube.com/watch?v=3GHJ4cbxsVQ
This is something I don't quite understand. The day my dad died is not a day I like to remember, and I don't feel like celebrating it, yet my family always insists on coming toghether that day. I don't really mind, so I go along with it, but it's odd to me that so many people feel that urge.
>We made Google+ with privacy in mind and therefore keep this API’s log data for only two weeks. That means we cannot confirm which users were impacted by this bug.

They only kept two weeks of logs, yet this bug was accessible over a three year window. So out of 156 weeks they can only rule out 2 weeks where data was not accessed. I think that's pretty pathetic for a company that stores your precise location, search history, photos, email, text messages, calendar, social network, date of birth, etc.

This is a very big story. Hence why Google executives sat on it for six months.
The parent comment does mentions several key areas of public benefit where they'd like to see business step in.
I may try to expand on this in the article, but it's in there if you read between the lines. There is a difference between something that takes in multiple args of the same type and multiple TYPES of args. I'm arguing against multiple args of different types, not the same.

By definition any CLI that accepts variable args is fine here as it's all the same type.

The -- is a great point as well. It solves a lot of problems users have but a lot of time people don't even know about it. It solves issues with `heroku run` for example.

EDIT: updated to clarify my point
Totally! Its like im reading comments from some alternative reality HN. Drone deliveries could transform the world in a more significant way than even smartphones. Can you imagine the number of lives that could be saved by just reducing vehicle accidents?
Please don't post unsubstantive comments to HN, and especially not nationalistic swipes, which lead to just the kind of threads we're trying to avoid.

https://news.ycombinator.com/newsguidelines.html
True, but 10% slower OS is not a 10% slower program. Most time spent is not likely in the kernel.
What is with all these email clients supporting folders but not labels for Gmail. I get that labels are not a supported abstraction in IMAP, but they are supported through the Gmail API.
Eliminate manual typing of PropTypes.
Frieze Los Angeles
Maybe this is either an uncommon use case or I'm missing an easy way to do it, but when you have a component tree like A->B->C (-> denoting child relation) and A contains most of the state and B contains many (say > 1k) children, and you keep updating state in A which only affects one or a few of C, the diffing process as I understand will check all of C whether they need to be rerendered. So if you update the state super frequently, let's say on mouse movement, you are doing at least O(C) checks just to update one or so C components.

So maybe you can pass forward refs from A to all the C's and then bypass B in the cases you want to directly trigger rerender on the individual affected C components. Is that the way to handle this scenario?

It's pretty late so the above maybe doesn't make sense, but to try to summarize, having a solution for updating deeply nested children without diffing all of the related components to see if they need rerender.
John Preskill's interview here is a good place to start for the high level https://blog.ycombinator.com/john-preskill-on-quantum-comput....

Scott Aaronson's lecture notes are also great https://www.scottaaronson.com/blog/?p=3943.
Qualcomm is milking us all too hard.
Going on about downvotes is against the site guidelines, so please don't. Just give a corrective upvote and move on.

https://news.ycombinator.com/newsguidelines.html

https://hn.algolia.com/?query=corrective%20upvote&sort=byDat...
They only kept 2 weeks worth of logs. So the correct statement is: in 2 of 156 weeks since the bug was accessible no known breach occurred.
I agree that man pages are wonderful. This point in the article really irked me.
Could you provide more info

Oath2 shouldn't aloow this. Also you say you're logged in as a Dev acct. Dev accts are sandboxed to the dev app ID.

Could you use Loom to show a video of this big?