skysight-inc/HackerNews huggingface dataset:
> I want my applications to feel like they belong to the platform and not identical on every platform

Then use the wxWidgets library. It has bindings for many languages, so it probably has bindings for yours.

But more recent applications like SublimeText try a unified look in all platforms, and as long as it is fast enough and crash free, I am OK with that.
You’re missing my point of course we sometimes need comments. It’s a question of design tradeoffs. CalculateModifier could be part of a great design or a terrible one, but the need for comments based on the near meaningless name is an obvious issue that would need to be balanced by something else. Consider these projects:

Several years ago I was updating this ancient Object Pascal program. OS X had just showed up and they finally decided to do a full rewrite, but they wanted to do this is stages. Anyway, this thing was still using Apple Talk networking not TCP/IP and I was rewriting the network stack so we could replace each system individually. Surprisingly, the code was very easy to read, but was also filled with a long legacy of past issues. Comments on 68000 processor issues could safely be ignored for example. So yes lots of comments, but most of them had become useless.

More recently, I was redeveloping a .NET website that had been built by someone in love with XML. Unfortunately, the mismatch between the way the code operated and the way the system operated meant that you needed to carefully read each comment. It had slightly fewer, but far more nessisary comments which was one sign among many that it was a horrible design.

Which is why I am talking about nessisary comments. Many comments can safely sit in source control or automated tests. Their context quickly becoming outdated. However, when a systems design nessitates a great many important comments that’s a bad sign.
> In idealized algorithmic analysis, but not necessarily real life.

Big O notation is used for idealized algorithmic analysis. If you want to talk about real life, you can count cycles, seconds, watts etc.

> "Amortized O(1)," which I assume you concede is a commonly-used, meaningful and legitimate term, means "technically" an idealized O(>1) but O(1) in practice.

Yes, but I wouldn't take O(1) on its own to imply amortized complexity. Not that pretending that an array copy is O(1) in practice is particularly useful here since if you measure a copy operation in practice, you'll find that the time it takes scales roughly linearly with the size of the array. Not to mention that the space complexity is O(n) no matter how you put it.

> Such as an array small enough that it can be copied with 10 or fewer vector load/stores.

Are other cases conversely "uncommon"? My point here is that this is entirely your opinion and doesn't pertain to whether an array copy is O(1) or O(n) complex.

> Yes, that's my point. It's impossible to implement the example in less than idealized O(n) time, so O(n) and O(1) operations are equivalent complexity-wise WRT the entire method.

Not in terms of space.
I don't understand how this can be generalized to non-deterministic systems. First off, the definition of non-deterministic is unclear to me. His definition of deterministic seems wrong, as he's using a set of requests. Sets are unordered, so this would imply that the order in which requests execute is irrelevant - which is true for commutative operations, but Calvin doesn't seem to be limited to those.

Assuming that "deterministic" should be defined on lists of inputs, then I don't understand how the approach can be applied to nondeterministic databases. The crux seems of the approach seems to be in consistent distributed reads (which you can get by globally ordering transactions and MVCC). But for fault-tolerance, these must also be repeatable, and I don't see how to make them repeatable if the state of replicas in a shard is allowed to diverge.
I've seen patents that hinged on a single line of Javascript code because it was used in a context that has never been patented before and no prior art. Not only was it submitted, but it was accepted and is a patent now.
I'm not saying it should be fully paid, although I'd welcome some sort of a UBI-like payment to stay at home parent (singular, mother _or_ father) in the first 2 years of their child's life. I'm saying that's what the needs of the child really are. To have to sacrifice that to "reenter the workforce" should really be socially unacceptable.
Yes, we rolled out some improvements to how we authorize secure files (and other resources such as variable groups, agent pools, service connections) that you use in a YAML file. First, we introduced a toggle on each of these resources to mark them as "authorized in all pipelines". For new resources that you create, this will be on by default. Second, when you queue a build in the new YAML editor under Pipelines hub, then you get the option to correct the resource authorization issue. More work needs to be done here so that we can give you the right experience while maintaining the security of protected resources, and all of that is planned over the next month or two. Thanks.
The downside of long paid leave, apparently, is that women are more likely to become full-time parents rather than re-enter the workforce. Is it fair to say that this makes long paid leave a bad thing? It seems wrong for me to consider a woman's life choices bad one way or another (whether they choose to re-enter the workforce or not). An organization is cutting benefits to try socially engineer a certain demographic outcome. I'm not sure if that action is something to be commended.
I'm not sure that the drive should necessary be away from cars. With the advent of driverless cars, there is a new option: shared cars. They provide the time-savings of point-to-point transit for the already time-strapped lower class, can (optionally) enable ride sharing for cost and congestion reduction, use the existing infrastructure, and with sufficient percentage of self-driven cars should provide throughput similar to busses ... all while eliminating the need for parking in city centers. They are the best of everything.
Your post is run through with faulty assumptions. You're assuming public transit would remain in its current under funded and under performing state in a world where we ban cars and can, thus, stop paying to maintain car infrastructure. In a world where everyone relies on public transit, there's that much more incentive to ensure it remains high functioning.
This is a central point under debate, I suppose, but literally walking away with no notice is petty and petty people have a place in the world despite their pettiness - rarely because of it.

I could, with time, construct a story about how a greedy person harnesses that greed as a motivator to do great works for a society. Same with selfishness. They aren't pretty, but they can sustain someone as they complete a large, complicated project. Pettiness, I can't do that. Maybe it is possible, but I've only ever seen pettiness as an ugly (and worse, unproductive!) trait. It isn't something that can sustain long-term action.

Some bosses are worse than petty, so we're trawling the bottom of the trench of behavior here, but correct response for an employee is to show a little pride in their character and tell someone that they aren't coming back and wait a little bit. Going through life without being petty once is a tough but worthwhile goal, and if an employee wants to disrespect their boss being petty does not work. There are instances where no notice is appropriate, but they are pretty extreme.
In the Japanese model, you observe where people are going, and make that more efficient.

In the Californian model, you decide in committee where people ought to go (which is everywhere represented by committee members) and design something too big and expensive to succeed.
Aside from the benefits to daily commuters there is demonstrated demanded for travel among the west coast that can be satisfied by this. How many people fly between SF and LA every day? There are large number of short flights between all of the west coast cities. A train would be cheaper. Current security practices would make the train faster for short travel as well. Increasing human bandwidth between our cities will be very valuable for the economy.
Very cool, though what I saw was someone else, probably over a decade ago, who must have had the same idea independently. Though I don't know that he released it as you did.
I'm all for high speed rail, but the only thing that's going to "Ease California’s Housing Crisis" is the legalization of housing. Everything else is an expensive bandaid.

A better transit investment would not be high speed rail, but expanding city-wide rail/metro combined with zoning that allows denser housing to be built around stations.
Does it? Most European countries offer 1 year paid maternity leave (quite often it's almost 14 months because PTO is still applies) then you can take another 1 year of unpaid leave. The employer cannot fire you.
The market won't always be this tight...and frankly, people don't realize how expensive it is for companies to essentially subsidize child care through paid leave and stipends.
Is this a program to give Series A rounds to selected companies that graduate from YC?
From what we see, software patents have caused more harm than good, but would be great if there were enough concrete public examples listed somewhere that prove otherwise.
Road grid does little when there's several cm of snow on top of the ice. It's a very slippery combination.

During winter the sidewalks rarely get the snow removed. So unless there's dedicated bike lanes, which there are still rather few of, you'd have to bike in the middle of the road. Which, due to the topography, would mostly mean holding up the traffic big time.

Here are some news articles from last winter which contains some illustrative pictures:
https://www.aftenposten.no/norge/i/m60VB0/Mer-sno-i-vente-pa...
https://www.aftenposten.no/osloby/i/ka3kLj/Oslo-vinteren-har...

Of course it's not always that bad, but it's usually not a whole lot better either for most of the winter.
You posted a similar fiction more than once so I'll post the same correction in both places.

The House passed a budget bill that included wall funding.

https://www.npr.org/2018/12/20/678602214/senate-approves-tem...

It never reached the President's desk because the Senate failed to pass a compatible budget bill when Democrats refused to include any funding for a wall.

> Senate Democratic leader, Chuck Schumer, of New York, pledged to continue the discussions, but said it was clear there are not enough votes to pass a spending measure that includes funding for a wall along the nation’s southern border.

https://www.usatoday.com/story/news/politics/2018/12/21/gove...
I "left that out" because it reminded me of how people say "Yes, my husband was a violent psychopath, but underneath he was a gentle, sensitive man." or something. Being 'charming' is how sociopaths get away with it, not a balancing, redeeming feature. So don't tell me I have to mention the "redeeming feature", thanks.

(Besides, I thought it was strange she said "as if I could understand it", not "in a way I could understand"...it sounded to me like she didn't understand.)
Sure, if CNN is „iberal“, and QAnon is „conservative“.
Had heard about them, but indirectly. Thanks for putting a name on them!

https://en.wikipedia.org/wiki/Conflict-free_replicated_data_...
>In a country with millions of voters, a single vote isn't likely to be what decides who gets elected.

Forget worrying about single votes: even having most of the votes isn't necessarily enough to influence things! (Referring to the 2000 and 2016 presidential elections, and to the concept of gerrymandering.)
It's possible that the GP is comparing against their experience in American cities. If that is the case, then yes, most European cities are "car free". I would qualify Amsterdam, for example, as "car free" even though it technically isn't, it's just not a city I would ever think of driving in because every other way of moving around, including walking is so much nicer and you see few cars compared to any place in the US. Many times when going to towns in the US I notice than myself and my wife are the only people walking on the sidewalks for considerable amounts of time.
Is being able to smile for a camera a "soft skill?"
Hmm. Local, factual anecdote, actionable information -- downvoted. What sort of HNer would do such a thing?
This is possible in React apps bootstrapped with "create-react-app". create-react-app version 2.0 added a lot of new features. One of the new features is added the svgr webpack loader to wrap SVGs in React components as a named export. This lets you either grab the filename from the default export or grab a wrapped SVG component depending on your needs.

In other words you can do this in react now without any extra "stuff". Syntax:

import { ReactComponent as Logo } from './logo.svg';
There's a fantastic film about this very plight. It's called Super Troopers 2. ;P

https://www.youtube.com/watch?v=eEed-o8fVpM (possibly nsfw)
Yes, it is...because the company is subsidizing your child and gaining nothing from it at all. You could work somewhere for a year, take a year off, then quit. The company just lost tons of money and output. That's not sustainable for the company.
I gave this some thought and I can't really see this as a reasonable statement.
Offering cash in lieu seems like a pretty decent compromise. Like, if you're going to stay home for good at the end of it anyway, you can just quit (or go onto unpaid leave) at the six month mark and you benefit from having been paid up until that point. And if you want to go back, you have the extra assistance with infant childcare costs.
>Rebol was mostly built by one person (Carl Sassenrath)

Yes, I had read up about him after learning that he was involved with creating both Amiga OS and then Rebol. Amazing skills. IIRC, I read in some interview of him, that he said he read everything he could lay his hands on, about operating systems, before working on the Amiga OS. Maybe did the same for languages, before working on Rebol.

>but has to package the entire interpreter (I think maybe 5 MB) to make an .exe if you have the paid version.

Interesting. I had not tried the paid version of Rebol, only the free one, and that too, only for a bit, as a hobby. But did like it a lot even then.

>Red can already make executables

Yes, I had tried that, and the executables are really small too, just like the Red interpreter/compiler (in one file!) and the Rebol interpreter.

>I check up on Red once a month and think 1.0 will be amazing.

Likely so. I only hope they do not get off the tracks with their coin-funding stuff, I felt somewhat bad about that, would have preferred if they had gotten funding by more traditional means, but that is just my thoughts.

>maybe 5 MB

Just did a DIR and checked on my PC, the sizes of Rebol Core and Rebol View (bytes):

303,104 rebol-core-278-3-1.exe
864,256 rebol-view-278-3-1.exe
> Except that you don't have a copy of a file format in your code.

Except you do in many cases - there are many serialization systems out there where you describe your structures as types, and they generate the serializers for you. Just look at protobuf as one example. Is a protobuf declaration an API? If not, how is it different from any other API that declares a bunch of structs?
>Two years seems absolutely absurd on many levels.

Especially "at least" 2 years. As in, 2 years was the minimum and maybe 5 would be better?
There used to be a time when there was an unwritten contract between employer and employee - growth options, learning, leave packages, etc - in return for long term tenure at the company. That has basically gone the way of the dodo in most companies.
> We also need to add features for backup & restore, bulk data import and export, and data deletes

Interesting to see that we at VictoriaMetrics also pay attention to these features. Backup and restore already works - see below. Bulk data import and export plus data deletes for arbitrary metrics selectors will be available soon.

It would be great if InfluxDB 2.0 would have instant snapshots as VictoriaMetrics already has - https://medium.com/@valyala/how-victoriametrics-makes-instan... .

Also glad to see that the future InfluxDB versions will support Prometheus exposition format and PromQL :)
I was in Shanghai for work for about 3 weeks a few years back. For the first week, I tried to use mass transit, because everyone said it was the best way around (and in shanghai, their mass transit is absolutely world-class, the best of the best). It was absolute hell - a perfect description; I was in constant pain.

After the first week I broke down and just took cabs everywhere. Perfectly practical, but only when somebody else (in this case, my employer) is paying for it.
If parental leave is equal between genders, this argument may stand.

But beware any unequal treatment of men and women with generous leave. It creates big incentives not to hire women of a certain age and family status. It's a lot harder to oppose discrimination when the discrimination is obviously rational and arguably not even wrong.
YouTube to curb conspiracy theory video recommendations
How can a company subsidise a worker? That's just pay.

(Also here in Europe it's standard that the pay for parental leave is covered from the social budget making financial strain on companies marginal.)
I have the opposite problem. I'm only interested in new videos for the most part, and my recommendations are filled with videos from months ago. It would be much better if they would give us a flag or some date range options. Obviously this increases UI complexity, but maybe it doesn't need to be that prominent?
The PBS kids website has a lot on it as well, all ad-free.

Also PBS kids apps, ad-free as well.
A lot of the discussion around transit-oriented development in norcal is around putting higher density around existing train stations, but BART and Caltrain are already at capacity during rush hour.

I feel like San Francisco and Mountain View would get far bigger bang for their buck if SFMTA and the Planning Commission could coordinate to build bus-centric high-density transit developments around the existing freeway off-ramps. Just add another pedestrian/bike/transit-friendly bus loop connected to the freeway (like the Salesforce Transit Center, although maybe not on stilts). Facebook, Google, Apple, etc already pay for operating the buses, and would add more if the buses achieve high enough utilization.
>Less attempts of something that has zero chance of succeeding

All attempts have a >zero chance of succeeding. Honestly...struggling to see how this concept is even remotely contentious or how someone could credibly argue against it.

If the number of brute force attempts drops substantially then the chances of success drop too. This is true for a high security setup and a low security setup. In both cases there is going to be a proportionate drop.
That or even just keeping a 'small' recently read cache if the source knows the results are part of a recon operation. The implementation details probably do depend on questions like: is there only one authoritative source for that data?
Average total tenure at companies is around 2.8 years for people between 25-34 (https://www.google.com/url?sa=t&source=web&rct=j&url=https:/...).

If you have 1 year off for parental leave, and probably months before and after to hand off work and take it back up, that would be almost half the job tenure on parental leave efforts.

That's rough for the company and the employee.
I've tried _really hard_ to find a way to contact someone at Google who works on Fuchsia about joining. I've got low-level Rust experience, and I think the concepts behind the OS are fascinating. It's kind of funny just how little public "face" the project has. There's some code, and... that's it. I found very little information about the people or project sides of things. It's interesting to me how much press it gets given the minuscule amount of information published by Google.
Even that formulation still fails. You don't know everyones preference. You can't actually do it.

I know what the text of it says. I just think the subtext says something much different. Or the whole thing is just plain wrong, but in an accidentally useful way.
It is not absurd. We have (I think partially-)paid 2-year parental-leave here in Romania and people and companies manage just fine. Of course, not all of the involved people choose to stay for the whole two years at home, but I have lots of former colleagues and acquaintances that did just that and they were more than ok, even more than that, the companies hiring them managed to stay in business, even if they weren't owned by successful business people like Bill Gates. 6-month only parental-leave is a joke, no parental-leave is barbarous.
The author mentions that he would design a system with a continuously monitored pulse oximeter that could trigger the EPS descent mode automatically. Do wrist-mounted versions (fingertip ones would probably be too bulky/uncomfortable for continuous use by someone at the controls) of such continuous oximeters exist at the moment? The Apple Watch apparently has a sensor capable of measuring blood oxygen content, but disabled that functionality for unstated reasons (FDA regs?) [1], and I'm unaware of any extant wrist-worn device with that functionality enabled.

[1] https://9to5mac.com/2015/04/24/apple-watch-blood-oxygen/

Some more information about the physiology of hypoxia can be found here: https://web.archive.org/web/20150318011408/dr-amy.com/rich/o...
I don't think first to file is relevant to prior art ( direct from attorneys for things I've tried to patent this year with medical devices)
The issue is Facebook denying refund requests after children were suckered in to make large in-game payments using their parents' stored credit cards.

It's not just that this whole scenario is slimy. It's that Facebook was fully aware of it, had a nice in-house term for it ("friendly fraud"), and not only chose not to approve refunds but also chose not to implement the most basic measures to prevent it.

[edit: as a commenter pointed out, the term “friendly fraud” predated Facebook]

This is symptomatic of a corporate culture that is toxic to to the core.

The money quotes are in the 2 paragraphs below:

"In 2011, Tara Stewart, a risk analyst for Facebook, studied the issue and suggested that the company begin requiring users to enter the first six digits of a credit card used for payments on certain games. Stewart ran a survey of Facebook users and found that many parents were not aware that Facebook stored their payment information after entering it one time. They also found that the kids weren’t aware of what they were doing. “It doesn’t necessarily look like ‘real’ money to a minor,” Stewart wrote.

She ran a test to see if the entering the cards first six-digits would reduce these unwanted charges and the results were encouraging. She also said it would “make sense to start refunding for blatant FF-minor.” The abbreviation “FF” stood for “Friendly Fraud,” the term Facebook used to refer to these fraudulent purchases which were made without malicious intent. Despite this obvious solution, Facebook decided that it would harm revenue and elected to continue fighting refund requests for the foreseeable future, the documents show."
Exactly. Or even more likely, "we have a pretty good idea of what we want the native apps experience to be, but it's not ready/good enough yet".