skysight-inc/HackerNews huggingface dataset:
> If A has field 1 types as an int, and B has field 1 typed as a string, an A message with field 1 set will not parse as a B message.

In the C++ reference implementation, which I wrote, this is not true. The field 1 with the wrong wire type would be treated as an unknown field, not an error.

It's possible that implementations in other languages have different behavior, but that would be a bug. The C++ implementation is considered the reference implementation that all others should follow.

However, shereadsthenews' assertion is not quite right either. Specifically, a string field and a sub-message field both use the same wire type; essentially, the message is encoded into a byte string. So if message A has field 1 type string, containing some bytes that aren't a protobuf, and message B has field 1 type sub-message, then you'll get a parse error.

But it is indeed quite common that one message type parses successfully as another unrelated type.
I absolutely agree. In some countries, those kind of trademarks don't fly, precisely because of common word usage (e.g. here in Germany). OTOH, in the USA, if a term becomes "genericized" it enters public domain[1], something that couldn't happen here, so that also has its perks...

Gawd, how I would love to see Apple lose their trademark...

[1]: https://en.wikipedia.org/wiki/Generic_trademark
I’ve been lurking for months but don’t have an account yet. Do you (or someone else) happen to have an invite to spare? Would be very appreciated. Email in my bio.
Which breaking changes do you mean? Got an issue link?
Lua was the consequence of trade embargoes in Brazil. It was created with substantial institutional support.
This reasoning confuses me. Your abdication of power cedes it to whoever's next in line. Maybe you are unsure of your ability to appropriately wield power, but that is only a good reason if you think you'd be worse than the next person in line. My attitude is that power-seekers are likely to be bad power-wielders, so you'd have to be a pretty bad power-wielder to make things better by abdication.

Maybe this is a matter of principles for you?
You told someone you like cheese sandwiches. You don't get to decide if they remember you telling them that or not.
I hope you don’t take this the wrong way, but if you are bored in a one on one conversational setting, and you have followed the advice of the top comments in this thread, then it likely boils down to one of you not wanting to talk to the other - not usually that someone is boring. What’s boring is that no one is genuinely attempting to get to know the other better by listening to what they are saying and following up with questions whose answers might, or might lead to, something that does interest them.

Either that, or the person being bored may have such narrow interests or lack of belief in the value others hold that they are unable or unwilling to find common ground. So I’d say - share your interests in an off-hand way during small talk, and attempt to steer the conversation in such a way that your partner(s) get a chance to do the same - and then pounce on common ground when you find it. And if you take responsibility for finding it, you always will - unless you’re not just “coming off” as an asshole.
Level playing fields is a gross simplification. Companies in the US have various advantages of the simple fact that they’re in a developed nation. Compare us to China 15 years ago. They wouldn’t get to where they are or stay on their current trajectory had their focus being in being “fair” to the West.

To be clear, American interests were grounded in asymmetric hegemony over Chinese market, not for some evil world domination goals but to fuel American profits. It didn’t turn out that way so now people cry about fairness.
Can you expand on the lack of market validation? What else would validating include, apart from interviewing users (qualitative research)? What kind of useful quantitative research could one do? The obvious answer I can come up with is building a landing page with a sign-up field to gauge interest, but what other useful quantitative research can one do to validate the market?
This is neat, but unfortunately ADS-B will not be required for all aircraft in 2020. It will only be required for aircraft within a 30 NM circle of certain major airports and inside (and above) class B or class C airspace.

Realistically, most will probably install ADS-B out transponders. But there will be areas where pilots fly (Alaska, Pacific Southwest desert areas) where it won't be uncommon for airplanes to be missing ADS-B out.
This low-stakes exchange won't affect much, it's about putting Mr. Incomp in his place. Remember it's a PM we're talking about, not "the Boss."
Back in 2000, I worked with a guy that built an entire message queue product using the SMTP protocol with an implementation that was in turn built on top of lex and yacc.
I think it is a category error to equate entree price and pretension.

There are plenty of preparations and sources that make it at best breaking even on a $40 fish course (restaurants, especially higher end ones, often don't make anything much on entrees). So you may not feel it is good value for money, but others may well disagree - without being pretentious.

After all, fish isn't in any sense fungible. Even with the same fish, "Joe brought this in fresh today" and "I got it from Sysco" can be very different experiences.

There is after all long distance between places that employ careful sourcing and skilled labor intensive techniques, to those with 5 figure wine lists that rely on wall st. and biglaw types to survive. You can't discern them on $/plate alone.

Now $400 entrees ... you probably have something there.
You won't go on with business as usual if you are being monitored.

I remember something about a town that frequently reported a list of their most polluting local businesses. And the businesses started to become more environmentally friendly just to not appear on this list! There were no fines or other disadvantages, they just appeared on the list.

I'll add a link later if I can find something about it (wish me luck, it seems ogooglebar as Swedes might call it).
Doubt you can write that in less than 7 lines of non-gibberish. Shell scripts aren't known to be particularly easy to write, read, use and to be portable.

This tool probably works anywhere node runs and the author didn't have to think about that, during the evening they took to write it.
I've contemplated this exchange a few times over the years, but I never feel like I really understand the point that Jesus is making.
It’s often not a trade or is a trade for something rubbish.
Thanks for your work. OP maybe didn't read the first two paragraphs of YMNNJ, which clearly states:

> jQuery and its cousins are great, and by all means use them if it makes it easier to develop your application.

> If you're developing a library on the other hand, please take a moment to consider if you actually need jQuery as a dependency.
Mailings lists (and e-mail as such) are seriously cumbersome to use as a way to send contributions and even more so when you want to track bugs. Every email archive software also looks like it was made in the 80s and is disgusting, slow and unreasonably difficult to use and also lacks any kind of organizational features that issue trackers have. It is absolutely not "fine", it's borderline tolerable at best.
Carmack: Using a unified queue for Real-Time applications (1998)
The slowest function on that tables gives me 900k ops/second. This will not make any difference in a mostly static page.
I have the seed of an idea that they might be using a lay taxonomy here. Or is it the germ of a thought?
s/github/microsoft/

Microsoft seems rather friendly to governments (e.g. NSAKEY).
RSS.

Mercilessly tightly curated email, mastodon, diaspora, and reddit.

But really: books. Mostly books.
> I don't see the need for interactivity because the only format I ever want is mp4.

Then this tool isn't for you. If you're gonna skip the whole point of the tool, you can't claim your code suggestions are equivalent.
Judge Alsup Slams Patent Troll
Is it stalking if you're willingly giving information in the form of search queries?
I insisted on the richer, warmer sound of in-car vinyl.
Only 7 of 45 technologies critical to global clean energy transitions on track
This is my line of thinking as well. I eat a lot of takeout. I don't eat many vegetables. I take a cheap but high quality daily multivitamin (the Kirkland one which is < $1/month).

I do take or have taken a few other supplements for other things but they are more expensive. For me the multivitamin is a no brainer though.

For Vitamin D specifically, I'm considering augmenting it in the less sunny months as the Kirkland multi is only 50% DV of D3. In the summer, I walk outside a lot.

Vitamins and supplements are definitely an area worth doing research specific to your needs. You might think there'd be a standard spec for multivitamin nutrients but no. Fish oil is one example where there are many cheap options but they aren't very good e.g., low EPA and DHA, or not molecularly distilled.
No. Dog is "programmed" to do it. But it objectively doesn't make sense. (It might have made sense 1000 years ago, when dogs were not domesticated.)

So it's not unreasonable to expect that some behavior of humans is completely irrational, yet they do it.
I mean, they think that because they can. It's a great feature.
Undervaluing marketing.
MetaPost is so underrated. Glad, this project shows the strength of the language.
> Built and launched, failed to get traction, folded.

What should be the next step after failing to get traction?
Modules can still use GOPATH. If you have GOPATH defined when working with modules, they will be installed into the GOPATH in the pkg/mod/ directory.
New Chocolate YouTube Series launched with education, trends and tasting tips
There has always been a nonlinear ramp up for the latest and greatest - typically targeted to enterprise applications that are more time sensitive than cost sensitive.

If you are cringing at the idea of a 3k+ cpu (or 9k+ gpu), it quite literally wasn't built for you.
Nothing makes it impossible but comparing it to things like thrift the complexity becomes apparent:

thrift --gen <language> <Thrift filename>

This handles the following languages: C (depends on GLib), Cocoa, C++, C#, D, delphi, Erlang, Go, Haskell, Java, Javascript, OCaml, Perl, PHP, Python, Ruby, Smalltalk. From this one command I can instantly integrate this into almost every build system I know of.

On the other hand gRPC has the same features but it's a slightly different workflow. For each language you go to the language's code generation page, find the command line option for generating your language's code, read up on some decisions that were made for you, etc. All of that is fine, the part that annoys me a bit is each language needs a language module for the compiler (if it's not one of the core few languages). For example in the documentation for generating Go [1] they have you download and install protoc-gen-go from http://github.com/golang/protobuf assuming that you already have golang installed.

gRPC seems much more focused on the idea that I want to define an API for my code, I want that specification to live inside the project that I am writing, and that you can figure out how to generate stubs on a language by language basis.

What I want is something I can write a set of system specification files, type one command and get modules built for all languages. From there I can import those modules using my native language's favorite package manager (npm, composer, Hunter for CMake, etc). Ideally the Protocol Specification, the Library Generation, and the Library Usage are three components that are separate.

[1] - https://developers.google.com/protocol-buffers/docs/referenc...
This is consistent with my observation that 80% of startups fail due to a bloated MVP [1]

[1] https://bloatedmvp.com
Chocolate Unwrapped – New Chocolate YouTube Series Promo
How do you do knowledge transfer when you're documenting what you've learned? I have found even simple changes often don't reproduce on the same site. It feels like a easy trap for an expert practitioner to fall into -- the belief they can predict the outcome of a test based on a different test they ran.

Sometimes, yes, but often it's not for the reasons people think. This seems very much in Danny Kahneman land -- we can't trust what our brain is telling us, that this experience will have similar results in this other context.

I recently worked at a place that ran > 20 websites, huge traffic numbers, with around 100 simultaneous tests. We would poll each employee about their guess for the test winner. The results were about on par with everyone randomly guessing.
> My point is, culture has nothing to do with the choice of stop light color in China

That's exactly my point as well. The article mentioned that the association between red and "bad" stuff (stop, error, etc.) is cross-cultural. Someone replied vehemently denying that, but the fact is that red={stop, error, bad, ...} is a long-standing international convention that does supersede regional cultural effects.
It is literally not more dangerous than three packs of ciggies. Are you kidding me? That is prima facie ludicrous and you have to present pretty strong evidence of that.

My childhood had append-only bulletin boards and I put a lot of stuff in there that I am never going to delete. Guess what? I'm fine. And have been for twenty years.

On the other hand, getting off cigarettes changed my fucking life. Jesus Christ. "Worse than 3 packs of cigarettes."
Here's an easy low bar that most startups can't clear in my experience: https://medium.com/@lironshapira/how-to-sanity-check-your-st...
LaTeX and ConTeXt are two packages that provide sets of macros for the base TeX typesetting system. LaTeX provides macros for things like sectioning, tables of contents, figures, and so on, and the configurable styling of everything separately from the content; ConTeXt's macros are more focused on precise page layout than semantic document structure.

TeX Live is a TeX distribution, meaning it contains TeX, LaTeX, ConTeXt, and a variety of other macro packages (including packages building on top of LaTeX, for example), fonts, and so on.
Businesses becoming environmentally friendly sounds like a positive.
Meh, you can never truly block it out. There will always be a way so long as you can actually see a video on your screen.
> The author's suggestion of using synchronous communication with backpressure and sync failures is my last ditch approach

Also back pressure isn’t difficult to implement. Simply read the estimated size of the queue every N minutes and pass sending until it goes down to a more manageable level. Obvious downside is that it’s client side.
Let's go with your idea.

The desires of a chicken are to eat and make more chickens.

The desires of a human are more complex. For this example we don't need to list out what they are.

So let's say you are offered the opportunity to go to space as in your scenario. And your desires are met. But at the age of 40 you are painlessly killed and eaten. And you are assured of having lots of children.

What do you think? Would some people agree to this?

And to make the example more complete, the alternative is not a comfortable life on Earth, but rather war where lots of people are killed young and the rest have very difficult paintful lives of constant fear.
> I don't think it's up to the user to decide how data about them gets used.

To a certain extent, I'd agree. Specifically in the case of things like analytics data.

The real problem is people not knowing this data is being collected in the first place where you can't make any kind of informed choice on opting in.
I don't read the comment like that. The original comment invalidates the premise "Go will be maintained in the future, because it is backed by Google". Given how fragile Google's support for non-core projects is, I wouldn't bet on very long term support by Google.

That being said, Go is mainstream enough that, if Google EOLs it, the community will pick up the torch. Simias says its harder for Go than, say, Rust. It probably is.
TeX live is a distribution and it comes with many things (TeX, LaTeX, ConTeXt, fonts, ...). Both LaTeX and ConTeXt are built on top of bare TeX and add lots of features. I have used ConTeXt a quite a bit, and it seems to be more designed to typeset whole books, whereas LaTeX is very good at scientific papers.
> This article will guide you through the minimum setup you’ll need to get up and running

Why complicate with things like third-party terminal emulators? Nobody at the level of getting started needs something like that.
I wonder why the terminal app section is there at all, since the preinstalled Terminal is totally fine. Since this article seems aimed at brand new developers, I'd expect the author would want to eliminate any unnecessary steps.
> In addition, color code for traffic light is fixed by international convention and it’s not like China can choose whatever it wants

China can choose whatever they want, but don't.

Many countries have not signed the Vienna Convention on Road Signs and Signals. For example China, Japan and the United States have not signed the convention.

Japan is a good example: "It is a near universal constant when driving: red means stop, and green means go. So fundamental is this dynamic that it is codified in international law under the Vienna Convention on Road Signs and Signals, which has been ratified by 74 countries. Why, then, does Japan — not a signatory to the Convention —seem to buck the trend with its blue/green traffic signals?"
https://www.atlasobscura.com/articles/japan-green-traffic-li...
So even 3rd world countries?
To be fair, the cheapest phone you can buy right now from Apple is an iPhone 7 which comes in at a hefty $450. For a large majority of the world's population, this is pretty much completely unaffordable.

People in developing countries have maybe $100 - $200 maximum they can afford to spend on a device, and that's often through a very long time spent saving. Such a purchase is more akin to buying a car for these people. You could see then how having the price be doubled in order to be able to get access to a new Apple device would scream "luxury" in many ways.

That Apple dismisses these criticisms so lightly shows to me, a lack of perspective, that is frankly quite concerning. The world is a lot bigger than just Cupertino or the Bay Area, and it seems like Google has managed to understand this point. I wonder when Apple will too. Perhaps a new CEO is needed? Someone like Sundar who has actually lived through the experience of growing up in a developing country, and truly understands the pain points and thus opportunities that come with it.
Ask any French kid about "Les Animaux Malades de la Peste"[1] (in English [2]). You need power to survive / for a better life, freedom is not enough. When times are good, be happy and forgetful. But when times turn bad (plague, war, financial crisis, family problems), it might be too late to struggle for power.

[1] https://rpo.library.utoronto.ca/poems/les-animaux-malades-de...

[2] https://rpo.library.utoronto.ca/poems/animals-sick-plague
How to Make Fortran Worse
No, it was when the nerds started doing it.

Credit reporting agencies were always all about knowing something about somebody else en mass as a commodity that can be analysed, acted upon, sold and used to make predictions about groups or individuals. But these are companies best represented by people who wear proper suits and play proper golf. Nobody batted an eye.
That's what the lesson here is about, I believe. That a reasonable decision in the short-term can be unfortunate in the long-term.

Taking lumps for a few months when the userbase was miniscule compared to what it is today sounds more reasonable now.
I absolutely agree. It was an explanation why some might not even like data being collected.
If you're a person and I've never met you, it would be creepy if you knew what kind of cheese sandwiches I particularly like.

So, yes, it is personal data.
> There are at least two possible arguments behind this question.

What was the question?
Making 1:1s worth your time
And, for not much more effort (computing the variance of your samples), you can use UCB1-tuned [0] which gets rid of the 'c' parameter and tends to be even better.

I personnaly think that it should replace UCB1 as a baseline when trying bandit algorithms.

[0]: https://homes.di.unimi.it/~cesabian/Pubblicazioni/ml-02.pdf
The Dumb Idea Paradox
> Everyone's upset that Go is Google's language, but no one would have adopted it if it weren't.

I guess because it does not merit that adoption. The only reason it gets attention at all is either 1) "oh it's made by the same people who made UNIX and C and UTF-8", or 2) "oh it's made by Google".
I work at Google and my team has real workloads running on Kubernetes.

There's plenty of internal teams that use GCP. Increasingly this might be the direction things are heading.
And those clips clearly show the channel’s logo. So yes, you know what channel it’s from. Either way, this is a discussion of Facebook.
>you need to put that data somewhere else and pass a pointer to it in the actual SQS message

I was under the impression that's the industry standard - you drop the payload in some redis-like storage and pass keys in messages.
I just uploaded a batch script I use almost daily to grab music videos, live videos, sessions, etc. if anyone finds it useful: https://github.com/soulofmischief/Batch-Utilities/blob/maste...

It automatically places videos in the configured folder based on type. Just type in an artist name, and select the type of video. Saves me a ton of time.

It's easy to extend and I plan to generalize it and translate it to bash sometime soon. I just do all of my media consumption in Windows currently.
Multi-armed bandits are also well known in game AI. They got popular with the introduction of Monte Carlo Tree Search, where MAB are used there to select which subtrees to search for largest expected payoff, e.g.:

https://www.aaai.org/ocs/index.php/AIIDE/AIIDE13/paper/view/...
https://courses.cs.washington.edu/courses/cse599i/18wi/resou...
etc.

For what it's worth the MAB algo in the original post looks like Epsilon Greedy. It's probably better to look into Upper Confidence Bound variants like UCB1 that dynamically adjust how much to explore vs exploit, e.g.:

https://towardsdatascience.com/comparing-multi-armed-bandit-...
This is bang-on. Fish that's worth a shit tends to be on the expensive side, and profit margins on entrees are not nearly as good as most people who aren't in industry think they are.
I just wanted to add one more scenario.

You make the next minecraft and are making millions after a few months. You now have money to fight back with your own legal team.
Most OLAP has that exponential falloff in data use with time. I once extracted all the date strings from recent queries on a data warehouse and found the same distribution.

Zynga once built a kind of time-series database with very similar metric namespace issues: about 24M metrics/minute reducing to about 1M unique names with heavy skew. They did almost everything wrong in implementing it; I was considering blogging about it once but let it go.

It turned out that the basic aggregation (they were in a hierarchy, so they needed to rollup to each level with counts and uniques) could be done in a few seconds with a string sort. But nothing could solve the problem of middle management.
That's not the case at all. Women certainly quit their jobs due to poor maternity support and childcare services, as well as the managerial glass ceiling, but I don't know how anyone can believe that Japanese labor law would allow for the standard practice of firing women when they get married.