Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
afastow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
afastow
7y ago
> but would have sounded absolutely bizarre and ungrammatical to most native speakers (regardless of literacy/education) before the movement for gender-identity inclusiveness became mainstream, because people didn't really conc
32.
▲
by
afastow
7y ago
Using "data" as if it were plural sounds odd to most English speakers. Some people insist that because it is technically the plural of datum (in Latin anyway) it has to take plural verbs. But what is technically correct is meaning
33.
▲
by
afastow
8y ago
No, he was required to get pre-approval even if he was repeating previously released information verbatim. They probably wouldn't have caught him if he was actually repeating it verbatim, but he still would have been breaking the requi
34.
▲
by
afastow
8y ago
He repeated it incorrectly(thus the follow up tweet). And it wouldn't matter anyway because he was required to get pre-approval again, even if repeating something verbatim, if more than two days had passed. From page 12: > According
35.
▲
by
afastow
8y ago
The SEC saw that argument coming and shot it down completely in their filing: > According to Tesla’s Policy, any edits to a pre-approved Written Communication or even releasing a verbatim pre-approved Written Communication more than two
36.
▲
by
afastow
9y ago
Something I've been wondering while watching the evolution of TypeScript is how many of these features exist in other programming languages and how many are completely new? Specifically I'm thinking of literal types, mapped types,
37.
▲
by
afastow
9y ago
No? I'm being serious when I say this idea is absurd to me. If you have a serious level of concern about your employees doing something illegal then why are they your employee in the first place? If you are going to use "We need t
38.
▲
by
afastow
9y ago
Maybe I missed some context but since when are we talking about committing crimes and the SEC or FBI getting involved? If it's that serious I assume they'd just get a warrant and get the logs directly from Slack. To me that scenar
39.
▲
by
afastow
9y ago
> What is the material difference between having employees save DM logs in an auditable, authenticated way and being able to view employee DMs? > When you are reviewing an auditable log of information related to an employee, you don&#
40.
▲
by
afastow
9y ago
"I don't need that law telling me the right thing for me" probably wouldn't go over that well in court but if you want to try it then go for it. The nice thing about laws is that they aren't asking for your permissi
41.
▲
by
afastow
9y ago
It's not a bad argument. You are describing a feature not a bug. You are free to vote for policies and candidates that will make things the way you want them to be. I'm sure you have. Luckily a majority of us over time have voted
42.
▲
by
afastow
9y ago
Kathy Griffin isn't a convicted felon. The arrogance of Shkreli is absolutely astounding considering he is still waiting to be sentenced. Everyone (including himself) is assuming he'll get a relatively light sentence because that&
43.
▲
by
afastow
9y ago
I think they meant to say that Kotlin has non-nullable types. The Kotlin page does a good job of explaining it if you aren't familiar. It's the single most important feature that makes Kotlin worth using over Java in my opinion:
44.
▲
by
afastow
10y ago
Maybe I'm missing something but how is that different from Scala or Java? That will fail at compile time in Kotlin if the method is written in Kotlin and has a non-nullable parameter. Even if it's Java I think it will fail at comp
45.
▲
by
afastow
10y ago
Lateinit is good for what it is designed for which is allowing for fields that are always going to be initialized before use but after construction, normally by a library. I wouldn't describe it as a crutch in that case. It'd be
46.
▲
by
afastow
10y ago
Agreed. If you need to find out if a lateinit field has actually been initialized, and you aren't writing a library that is responsible for initializing it, that means your field is really nullable so just mark it as such. If you are w
47.
▲
by
afastow
10y ago
This is hyperbole, Kotlin has fine adoption considering it only went 1.0 a year ago. Exactly how many times could you have tried and been denied the ability to use it within a year? Spring is adding dedicated Kotlin support in 5.0 which is
48.
▲
by
afastow
10y ago
Fair enough, I might be wrong and there might more of a desire for Kotlin Native than I thought there would be.
49.
▲
by
afastow
10y ago
The post specifically mentions using Kotlin Javascript to develop React applications. Are there any simple examples out there showing this? I'm not seeing any after a quick google search and look through the docs. Developing a modern f
50.
▲
by
afastow
10y ago
I completely agree. Kotlin is close to the ideal language for me because it is just Java done right. If they want to go native and can do it without impairing any of the JVM usability, I guess go for it. But I don't see the point behin
51.
▲
by
afastow
10y ago
Increased productivity isn't making society better to live in for people who don't have jobs.
52.
▲
by
afastow
10y ago
Just because it worked out in the past doesn't mean it will continue to work out in the future. There is no fundamental reason that pattern is guaranteed to continue and some evidence exists already that this time really is different.
53.
▲
by
afastow
10y ago
The solution is not making it harder for US citizens to move around(which is basically impossible anyway), it's making it much easier for H-1B workers to move around so everyone is on the same playing field. The ability to move quickly
54.
▲
by
afastow
10y ago
> EB sponsorship renders the workers de facto indentured servants; though they have the right to move to another employer, they do not dare do so, as it would mean starting the lengthy green card process all over again. Increasing H-1B p
55.
▲
by
afastow
10y ago
They are more complex for sure but not fundamentally different. I'm amazed the AI managed to win but now that it's happened it's bound to proliferate quickly because there's so much money on the line.
56.
▲
by
afastow
10y ago
Sounds like the end of online poker is very near. This version required a supercomputer and took a long time to decide its actions but those type of things tend to be quickly improved given enough motivation. Even if poker sites could someh
57.
▲
by
afastow
10y ago
> I mean I'm sure many Java programmers regard bizarre transactionality bugs ( http://thecodelesscode.com/case/211 is a good example ) as an unfortunate fact of life rather than something to be fixed by better
58.
▲
by
afastow
10y ago
> And if you are going to make all that effort, why would you not pick a language that offers some genuine killer features in return, like Scala or Ceylon? Ceylon because it's a ghost town language that no one uses and that only pro
59.
▲
by
afastow
10y ago
https://business.smarttech.com/en I've only used these in an academic setting and I don't know how much they cost but I think it's exactly what you're asking for.
60.
▲
by
afastow
10y ago
Fix: You need to learn to speak to people face-to-face so you could understand there are sometimes advantages over IRC.
More ›