skysight-inc/HackerNews huggingface dataset:
> We have to advise you to never enter your 1Password Master Password into anything that isn’t 1Password

Correct me if I'm wrong, but couldn't you re-use the plumbing that you have for the Chrome extension? The blog post was here: https://blog.agilebits.com/2017/07/19/introducing-native-mes...

That way, software could integrate with 1Password by triggering 1Password to prompt the user for the master password, choose a password entry and send that data back to the application that triggered 1Password. That way, the master password is never sent to anything that isn't 1Password. This was the workflow of sudolikeaboss. The implementation of that, however, was hacky since it used a reverse engineered websocket connection behind the scenes. It would seem that the native messaging stuff is a little cleaner and would allow third-party apps to trigger 1Password in a way that, at most, a single password would ever be exposed.

I guess the ask would be to make that native messaging protocol that the Chrome extension uses a documented and stable thing. And since the 1Password application is used by both subscribers and licensees, that can become the preferred way for 3rd parties to integrate with 1Password in a way that users know only exposes individual passwords at the single point in time when they're used rather than the entire vault, for exactly the security reasons you mentioned.

BTW...as much as I've felt frustrated by some of the decisions AgileBits has made, in the few interactions I've had with people at your company, everyone has always been the above-and-beyond type, as you've exhibited here, so thank you for the effort to engage in this discussion, likely long after others have stopped reading this thread.
Nope. Read it carefully. It could save your career.
Yes, but doesn't the checkbox you mentioned, does exactly that, force the users to ignore their rights for the sake of using your site?

It doesn’t force them to do anything, nor does it ask them to waive any of their rights (which is often illegal and/or unenforceable). Instead, it asks them to certify that they are not subject to laws more restrictive than those in the US. If they are, they are not allowed to register. As the site owner, you have a legal right to rely on your users not lying to you. Your slavery example is an entirely different scenario - you are asking people to waive rights they have (to not be a slave in this case). That’s not what this checkbox says.

The main point of the checkbox is to signify your intention to not offer services to people subject to the GDPR or other restrictive laws. We have been advised (by actual attorneys) that this should meet the standard built into the GDPR that we do not “envisage” the offering of goods or services to those subject to it.
This comment breaks the HN guidelines by insinuating astroturfing or shilling without evidence. Please don't do that.

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

Opposing views aren't evidence of astroturfing. The overwhelming majority of the time, it's simply users with different opinions than yours. The internet tendency to imagine brigaders under the bed is worse than the thing it's imagining. I've posted a ton about this if anyone wants more: https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme....

Real abuse exists; if you think you're seeing some, you should tell us at hn@ycombinator.com. We ban astroturf accounts when we find them, but it's much rarer than the epidemic claim that it simply must be happening because no one could possibly post X in good faith. (Hint: yes they could and yes they do.)

We detached this subthread from https://news.ycombinator.com/item?id=17136276 and marked it off-topic.
On Windows, DMC++ being developed on Windows tends to just work better on Windows. My experience in general with Linux tools ported to Windows is the adaptation to the Windows file system conventions is incomplete.
Strictly speaking it's not true that nothing is emulsifying them; just not enough to withstand the acidic mix they're in.
Content-based restrictions must pass strict scrutiny (my layman understanding is essentially: there must be a very good reason to restrict, and the law doesn't restrict any more than it absolutely has to), and it rarely passes the bar. Other kinds of restrictions can be illegal too, but the level of scrutiny is lower.
The study clearly claims that eating eggs is inversely correlated with CVD/IHD. How does that not bear on their healthiness?
I really like your current life state as you've mentioned it. I've saved to wonder if that's (perhaps in part) my life goal.

I'm in my late 20s, maybe a reasonable time to think where I want to land up or the journey I want to take :). (Edit:Wow I reread your post, you're about the same age as I am)

Thanks for sharing this :)
You've got that with DMC today.
I'm unfamiliar with Kotlin in detail. Can you explain "Functions are first-class (you can pass functions to functions)"? Are they more powerful than Java's lambdas?
The May 3 edition of "The Economist" had a special section on this topic which excellent.
Snap Inc. presents Yellow – An investment and mentorship program in LA
If I was a government official and decided to host a public event at a private property which I paid for, where the private property said no women allowed (say it was a private club which allowed to do such), could I use that rules to prevent women from attending the event? Or would the rules of the private property either block me from utilizing them at all or be overridden in regards to my event?
> I wouldn't throw the New York Times and the Washington Post in the same bucket as the Huffington Post and Slate without some good evidence backing it up.

I totally agree. But like I said, the bucket I'm using is "sites that are frequently featured on HN".

I also disagree with your taxonomy. HuffPo and Slate are much more reputable (rightly or wrongly) than Breitbart and Daily Beast. For example, how often do Breitbart or Daily Beast articles make the front page here compared to HuffPo or Slate or even Salon? BuzzFeed News probably hits the front page more often than these.

In any case, my point doesn't depend on HuffPo or Slate, so I'll happily concede the point.
Except for the part where a bunch of the definitions are wrong, misleading, or woefully incomplete.
The government is not enforcing a rule upon a private entity. It is enforcing a rule upon itself, specifically on the office of the president, and as embodied in the person currently occupying that office.

Twitter, as a private entity, has the option to wipe out a user's block list, or to save it now and restore it later, and in the wake of this ruling, would be publicly justified in doing so for the @realdonaldtrump user. They would only be helping that particular user to obey the rules of their office. But they can also ignore it completely, and leave it to Trump to clear his own block list. The court might request Twitter's assistance in checking on whether its ruling is being honored, and they might choose to cooperate, or not, in the absence of any legal compulsion to do so.

This isn't a Twitter thing. It's a government thing.

The same thing has happened to government officials or agencies who blocked local gadflies and protesters from their Facebook pages.
If you aren't bothering with an interpretation in terms of value, and are just using the military device as a physical object you can visualize, why not just use "stack of 10 billion dollar bills" as a unit? Then you can think of the subway upgrade as two of those.
> However, one mum pointed out that her teenagers were just as bad, often choosing their phone over family time.

Fight fire with fire, that's what I say. My kid is crying? I cry right back!
> Let the people he blocks make a new account to follow him or open an incognito window.

That's not how this works.

Trump a big boy playing a big boy game now. He can't just block anybody he wants on twitter and expect them to create a new account. What if that twitter handle he blocks is a well known journalist or something? You expect that person to create a new account just to call him out or retweet his stuff?

Seriously, spend 5 minutes and think about what you are arguing. You are saying that citizens might need to go into incognito mode to view the presidents posts because the president of the united states blocked their twitter account! Say that out loud and tell me how that isn't scary as hell. Governments should not do that sort of thing. That reads almost like a dystopian future sci-fi novel or something.

Yes there are spammers, bots and others and absolutely it is a hard problem to somehow filter out the non-human garbage that gets posted while also fulfilling your ethical and legal obligations to allow all citizens to participate in a democratic government. Who knows if that is even a solvable problem.
https://www.dfwsociety.org/2017/12/02/call-for-papers-great-...
"As a result, gaming has come to privilege haves over have-nots, work and passive consumption over leisure, and the economic over the social."

I can't parse this. And my eyes glazed over once I kept trying to get past it and keep reading.
A number of valid points, but I'm not convinced by most of your critique of Kotlin.

Colon between names and types (as in "i: Int") "makes work in Kotlin harder"? Seriously? By as much as having to end lines with semicolons in Java? : ) I understand it's a matter of habit, but how could that possibly make anybody's work hard is beyond me

"I can’t imagine a valid use case for shadowing a method argument."

Arguably this would be better off causing a build-time error, like in Java. But is this such a problem in practice? Do you really keep bumping into it accidentally? Just don't use name shadowing...

"In my opinion, Kotlin’s type system with all these scala-like !, ?, and !! is too complex."

You've listed "all these" already :) All three of them, among which "!" isn't even something you'll ever use yourself. How is it more complex than explicit null checks?

It's also trivial to implement Optional in Kotlin if you think you need it. Thats pretty much all you need: https://github.com/gojuno/koptional/blob/master/koptional/sr...

"Why Kotlin infers from Java T to T! and not to T??"

Probably because not doing that would require putting "!!" or "?" pretty much everywhere you call Java code, even code that you know for certainty won't ever return null - such as Observable.create or every single RxJava operator, for instance.

Observable
.fromCallable(something)!!
.map(String::trim)!!
.distinctUntilChanged()!!
.switchMap({ searchPhrase -> handleSearch(searchPhrase, view))}!!
.scan(
initialState ?: DEFAULT_BLANK_STATE,
{
full, partial -> full + partial
})!!
.doOnNext { logDebug(here) { "Returning new, updated full state:\n$it" } }!!

Etc. That's what it would have to look like if they made it your way.

"In Java, we write the class name with .class suffix:

Gson gson = new GsonBuilder().registerTypeAdapter(LocalDate.class, new LocalDateAdapter()).create();

[...] in Kotlin, you are forced to write:

val gson = GsonBuilder().registerTypeAdapter(LocalDate::class.java, LocalDateAdapter()).create()

Which is ugly."

Seriously? :) It's pretty much identical code, with slightly less noise in Kotlin. All the difference is type inference (which you praise at the beginning), and no need for two "new" keywords in Kotlin, at the cost of having to add one ".java" after "::class". The difference is rather subtle, so I honestly fail to see why the former version passes for normal while Kotlin's is suddenly "ugly"...
Marsalis is a brilliant musician, but I hope we can all agree that statement is patently absurd.
Other posters have not given the actual reason for this.

It is from HBO's Last Week Tonight. The joke is that Trump made fun of Jon Stewart for changing his last name in a tweet [1], which is silly because his family did the same.

>I promise you that I'm much smarter than Jonathan Leibowitz - I mean Jon Stewart @TheDailyShow. Who, by the way, is totally overrated.

[1] https://twitter.com/realDonaldTrump/status/32707672042545152...
The difference is that those people aren't backed by the government.
Don't forget exercise, which is great for your sleep hygiene.
Generalized:

Self-proclaimed [X] standard response to any critics of [X] is "you just hate everything [X]".

I think it's a standard self-defense mechanism for any meme in the Dawkins sense. https://en.wikipedia.org/wiki/Meme
Sounds to me more like Trump can set up so that your phone calls are dropped every time you mention Trump in your conversation.
Are you on macOS? I'd love a chance to change your mind about this.
Would you pay for Charles if they converted to a recurring subscription model?
"if that was the crux of the issue, the ruling would be "stop making policy statements on twitter." The vast majority of US citizens don't use twitter and a sizable portion don't even have access to a twitter-capable device."

But everyone knows that simply isn't going to happen. So the more sensible ruling is to say that Trump can't block anyone.
We must remember our own narrative: the individual is sovereign; and keep ourselves from collectivism, including a "social currency".
He's 87, so that would be 27 years ago.
I've been using Kotlin with Android for over a year. There have been few problems with SDK interoperability. Since I started using Kotlin Google blessed it. The one annoying gotcha was JSON parsing. If the fields on your models are not declared as nullable, they can still be set to null in the JSON which causes a NPE.
And also: Hou Yunchun, is quoted as saying the system needs to be improved so "discredited people become bankrupt."

That's pretty clear exactly what they are going for. Not a lot of ambiguity there, but it's unclear if it's a strategy that will have a positive outcome, my guess is probably not. Certainly not ethical in my opinion.
> I use char(36), as it's easier to query manually when needed, but I' looking into binary(16) for those billion row tables.

I would use whatever data type your RBDMS's UUID generator returns or the programming language your application is written in. If your RDBMS supports a UUID or GUID data type, however, I would 100% use that because you'll invariably have functions which help you deal with it.

Remember, however, that many (most?) RDBMSs store records in pages (or blocks) of a fixed size typically between 4KB or 8 KB, and they won't allow a record to span a page (usually when a record is too long for one page, non-key data will be moved to non-paged storage which is slower). In other words, if you reduce your record size by 20 bytes you might not actually see as big a change as you'd expect. You'd be storing less data per record, but you're maybe not changing the records per page. You're not increasing the efficiency of your data store at all because of how the data is physically stored. It also means that the answer might be different for each table since each table has a different row size.

Bottom line, however, is that I would favor storing UUIDs the way your particular RDBMS vendor tells you they should be stored. If your application has particular problems with storing UUIDs that way I would look at alternatives, but generally the RDBMS vendors have thought about this a little bit at least.
Any idea of how hard would be a C64 emulator? it's the computer of my childhood and I've always contemplated writing an emulator for it.
And apparently the judge disagrees with you. You could say the sky is green and the grass is blue. Doesn't really matter. The white house has declared @realdonaldtrump as the official account and thus it is.
Just because you read it in a HN comment doesn't mean it works in the real world.

It has to deal with lots of third party interfaces, websockets, webhooks, etc. Erlang is notoriously bad for modern web stuff, with elixir making the ecosystem more brittle and lower quality. If you're building a system that needs to do a lot of back-and-forth, go is a much more usable tool.

Have you ever tried to debug a giant erlang clusterfuck, calling out to a dozen different service gateways, varying tuple msging nonsense all over the place, jankedy ass comment annotations that aren't even accurate half the time, and all the while trying to fix things with hot swaps?

It all sounds very good when Joe writes those weird little lewis carroll love letters about how magical erlang is, but I've worked on a system like that and I'll never touch erlang again except for small single-shot services. It's completely cancerous as a language ideology.

Not that go is all that much a panacea, but it's definitely the perfect fit for this sort of thing.

Hope this doesn't come across as too harsh, but what you're describing is a rabbit hellhole I've already crawled through.

Also, with projects this size, abstracting db details isn't wise. This kind of scale necessitates more precision in what schemas you choose and what configuration your dbms has. Crap like ecto will ultimately cost you in efficiency. Elixir can get away with it because beam works hard to do supervision thoroughly, but there are multiple performance penalties that beam imposes on itself by choosing abstraction instead of specialization, and again, this problem would demand a specialiZed approach to be efficient as it scales up.
>based on the amount of coverage and writing on it, there must be some truth behind it

See also: U.F.O.'s, Kennedy Assassination, Illuminati, etc...
The Cabot family [1], one of the big Boston Brahmin families made their bones shipping slaves and opium. If the name is familiar, Henry Cabot Lodge Jr. was one of their most prominent sons.

[1] https://www.britannica.com/topic/Cabot-family
[2] https://en.wikipedia.org/wiki/Henry_Cabot_Lodge_Jr.
This, this is why I love HN, logical people making good points
> You're right, it may not have been proven but based on the amount of coverage and writing on it, there must be some truth behind it.

Seems like a bad way to determine the truth. But either way, even if the crack epidemic was simply a result of the material conditions in the communities it effected, the government is culpable, though perhaps in a somewhat more limited way
My 5 cents:

It seems to me that the author did not spent enough time to learn Kotlin. The way he mixes Java types (Integer.parseInt) inside pure Kotlin code and then complains about lack of Null-Safety? It is enough to use an extension function String.toInt() to stick to Null-Safety and compiler will do the rest.

His main() function? Another weird argument because Kotlin's documentation has some examples on how to write it. Author lacks understanding of how Kotlin is converted to Bytecode.

Complaining about such insignificant things like class literals or variable name shadowing (there is a compiler warning for that!) makes me want to shout: Hey, Kotlin is the most amazing language ever if those issues ended up as #1 and #4 on authors "bad bad Kotlin" list...

Generally speaking, when someone writes about a programming language in a bit hateful way it is better to learn the language first.
Russian NLP: Is there really one NLP language model to rule them all?
So is Twitter going to comply and prevent Trump, as well as other public officials, from blocking people?
Go look at replies to any tweet from President Obama. I think you'd be hard pressed to say that there are not many equally as rude responses.
Probably something to do with Trump being "Literally Hitler" or something because it sounds German
When I started, it was just to get mylastname.com email for myself and my family. But, now I pretty much use Google Docs exclusively and the cloud sync for all my files and photos.
Conservatives have a misunderstanding of liberal views of "non-traditional" families and upbringings, which I think has been lost in the culture wars. As a result, articles like these do a good job of tearing down strawmen.

The liberal argument was never "There is no benefit to having more than one parent." or "It's no big deal if you're raised by a drug addict" Instead, it's that responsible parents have the right to shape their own household, and that as a society we shouldn't judge them for that particular decision, and instead offer support.
Not even. We are at least 5-10 years away from operational fully autonomous cars being used in production in the bay area. There's really no timeline at all for when we might have an operational autonomous car that can handle driving conditions more severe than light rain.
When you network, where exactly are you networking at? I'm going to guess you live in the bay or a big city?
That was the conspiracy with crack cocaine, most of these fentanyl victims appear to be Caucasian. There are record over dose numbers in the wealthy suburbs near where I live, Montgomery County
I'm not sure why people think this is new. Far from it.

Even back in the 1960's there was a scene in a James Bond film where some gangster was complaining that competition from Latin America was driving the prices down on his trade in Chinese drugs.
Platforms don't require AV software: people do. A security-minded user could live in Windows and never catch a virus. On the other hand, I've seen careless individuals become infected with the worst malware by downloading the wrong thing to their Mac.
Humans in the Loop (2017)
@realDonaldTrump is his official account, as per whitehouse.gov [1]

[1] http://web.archive.org/web/20180523194453/https://www.whiteh...
Or the power of technology will enable them to repeat the message until public believes it. If you repeat something enough people start believing it. Fun exercise, check out persuasive techniques below and count

This has been true of media since the beginning. It's certainly at play in social media today. It has been glaringly true of print and television media for decades.

https://en.wikipedia.org/wiki/Manufacturing_Consent
I, for one, have never taken a Lyft from San Francisco to Tahoe.

"On the roads" doesn't mean "Every single road in every single market around the globe"
I forgot about passwords -- I pay for for a password manager.
steep learning curve does seem laughable.

If you know Java, you can be start writing kotlin after a couple of hours with the kotlin koans.

My main pain point with kotlin is that I generally have a good idea of how my code will look like as bytecode (like this feature will need an intermediate object, so let's use this instead in this very big loop). In kotlin, it is a bit more of an uncharted territory, even with the fantastic 'see bytecode' tool.
The part of me that likes giving big companies the benefit of the doubt wonders if amazon is intentionally trying to show how corrupt the process is by having such a big public competition for their hq2 site.

Even if they hadn't massively publicized it, the word would have gotten around to candidate cities and the same sort of bidding war would have occurred. So what benefit did amazon really accrue by creating a media frenzy around their hq2 bid process?
Posted 29 minutes prior https://news.ycombinator.com/item?id=17137266
Elderberry syrup and Echinacea, Exercise and good sleep.
VS doesn't have any of the functionality under Generate Code:

- create delegating methods

- create equality methods

- create formatting members (ie override ToString() and just click on the properties - mostly for debugging)

https://www.jetbrains.com/resharper/features/code_refactorin...

This list doesn't include things like converting some patterns back and forth to Linq expressions, converting foreach to for, better extract method that takes advantage of local methods and lets you choose which variables you want to capture, and various other code hints.

It also doesn't include safely adding and removing parameters, intelligently knowing when a class is used via DI when you are looking for unknown classes.

The unit test runner is also much better than the built in VS Test runner.