HNHacker News
TopNewBestAskShowJobs

nv-vn

1,960 karma · joined August 14, 2015

Github: https://github.com/nv-vn
submissionscomments
nv-vn··on The Commerce Department is considering national security restrictions on AI
Great vid! Thanks for sharing
nv-vn··on The Commerce Department is considering national security restrictions on AI
I don't believe that, if that's what you're implying. I think the people who should "own" the conversation so-to-speak are people who have spent the most time doing AI research. A lot of the cultural understanding of what AI is reflects the type of sci-fi hacking that's depicted on TV.
nv-vn··on Drawing is the best videogame
Lovely article! Reminds me a lot about how I came to programming and what drew me into it. A good read to explain that idea to any friends who might be interested
nv-vn··on The Commerce Department is considering national security restrictions on AI
This is what we get for all the stupid fear-mongering done by people with no understanding of "AI". Pop scientists like Neil deGrasse Tyson and Elon Musk weighing in on a field with 0 overlap with their expertise is treated by the media as some kind of prophecy sent from the heavens. Don't get me wrong, there's scary shit happening with AI that we can legitimately talk about, but we are so far from a world with sentient computers that the problem being posed by media figures is no more appropriate to discuss today than it was with the advent of neural networks.
nv-vn··on Programmer as wizard, programmer as engineer (2018)
I'm a big fan of literally sketching. One of my favorite things to do when approaching a hard programming problem is to enumerate a list of things I already know and then try to literally piece those together into an algorithm. I typically do this on paper, making diagrams of how things will fit together and examples.

But my "notation" here is always miles away from what code would look like, and I think "sketching" in pseudo-code or real code would fail to provide this same springboard. One of the biggest things with writing code is that data structures (especially in the form of objects) quickly lock you down to a certain design and it becomes progressively harder to think of the problem in any other way than your initial view of it. Plus, the hard parts typically require huge amounts of infrastructure to be in place before you can run them for the first time, which works much worse than an abstract brain model in my experience.

>It would be interesting if we had languages that would be great for prototyping but designed to be unusable in production.

The reality here is that people would find a way to make it usable in production and this vision of a good first draft would quickly fall apart :/

nv-vn··on A month of Flutter: a look back
>CV worthy programming languages.

What do you mean by this? Like languages that are worth putting on your CV because recruiters or did I misunderstand?

nv-vn··on Why I left React for Vue
What if another library uses v-if? Or there's no library loaded at all? What if I just wrote a new library that uses c-if? I imagine most IDEs approach this by looking at the string and trying to guess whether it's HTML code or not.
nv-vn··on Even more fun with building and benchmarking Firefox with GCC and Clang
This is such an apples-to-oranges comparison that I can't really see how you'd come to that conclusion unless you were already biased against Rust/LLVM/Firefox coming into it. Mozilla is against all browsers, i.e. every single piece of software that can be used to connect to the world-wide web--the most important and influential piece of technology in the last half century, being based on the same codebase. The fact that a browser is compiled by a single compiler is absolutely meaningless, because it still provides another option over other compilers. This doesn't have any bearing on the browser monoculture, and it has no bearing on C++/gcc's feasibility because there are still a thousand other compilers and projects not affected by this. The fact that Rust only works in one compiler is also pretty meaningless because that's not the problem Firefox set out to fix.

And say Mozilla did care about what compiler they were using because it locks them into one of them. They would go ahead and develop a new alternative Rust compiler with an alternative backend. Oh no! They're all using Glibc still! And GTK+! And the X.org monoculture!!!

The current goal behind Firefox is to provide an alternate browser that isn't based on Webkit, not to make sure that every piece of software is equally competitive.

nv-vn··on Why I left React for Vue
At the end of the day, it's much more of a hack. The IDE having to guess at what the string does is ridiculous to me, and it's just a ton of extra work for the person who wrote the IDE for no real reason. And now if you want to embed a string inside you need to switch quotes. Plus formatting gets super weird if you have a multiline condition. It's also super confusing for new users. There are so many issues I see with that design that I can't begin to understand why someone would argue in favor of it.
nv-vn··on Blender 2.8
Congrats to everyone who worked on this -- this is a great step forward for the Blender community as a whole!

Andrew Price did a great set of videos on some of the changes in this release [1] for anyone who's interested in trying it out.

[1] https://www.youtube.com/watch?v=lPVpg4_POww.

nv-vn··on How Juul became worth $38B
We absolutely do not know the dangers of vaping... what dangers exactly are there? Apart from increasing your heart rate it doesn't seem to be responsible for much harm at all.
nv-vn··on Discord raises $150M, surpassing $2B valuation
Yep. All 3 of them
nv-vn··on Why Use F#?
Most likely not. You could get away writing a lot of utility type functions between the two, but the libraries, async scene, module system, object system, etc. vary enough that it would be practically impossible to share any non-trivial piece of code. Which isn't to say that porting anything would be hard, most of the core code would stay there and you'd only really adjust the edges of your code so to speak--if you separate out access to libraries or try to port the APIs from one language to another (which would be easy in OCaml with it's module system) it would certainly be possible to share 90% or more of your core code.

But for example, you'd have to avoid using async/await in F# and instead opt for some library that has surface-level compatibility with OCaml's Async or LWT and working with .NET libs would require you writing wrappers for the OCaml standard library.

nv-vn··on Simulating identification by zip code, sex, and birthdate
What is the typical use case of these numbers?
nv-vn··on Flutter: the good, the bad and the ugly
I would say it's a lot cleaner IMO. I much prefer function calls/constructors to HTML syntax, since it's so much more concise and readable if you indent properly.
nv-vn··on Flutter: the good, the bad and the ugly
Spot on. We experimented with a bunch of platforms for our app and ultimately settled on Flutter for this exact reason. Design is orders of magnitude simpler than in almost anything else. Working on a small team without a full-time designer this was a godsend.
nv-vn··on Flutter: the good, the bad and the ugly
Even then it's miles away from Haskell. Kotlin is very close to Swift on the FP spectrum.
nv-vn··on Flutter: the good, the bad and the ugly
Abandoning something takes more work than using it, since it adds the cost of a rewrite. If Airbnb adopted framework X that wouldn't make me confident in framework X -- they haven't even used it yet! If they used it for a long time that would increase my confidence in X (in the absence of evidence to the contrary). But if everyone else started abandoning X I'd take Airbnb's experience with a grain of salt. I get that Discord is able to do well with it, but that doesn't mean everyone is able to do well with it depending on their needs. And who knows, maybe Discord is having just enough trouble that it hurts but too little to switch.
nv-vn··on AMD’s Rome is indeed a monster
It was widely reported on afterwards. Look at the bottom of the article, they mention Nvidia's cover-up.
nv-vn··on AMD’s Rome is indeed a monster
But they were right in that case... I know it's a biased source but I've seen a lot of accurate info there in the past
nv-vn··on Fear, trust and JavaScript: When types and functional programming fail
OCaml as a language is so close to a sweet spot between performance and ergonomics in my experience. I'm not sure if the Bucklescript compiler is generally running on Node or natively, but that could also be a big variable at play here.
nv-vn··on Amazon scraps secret AI recruiting tool that showed bias against women
Where was it disproven? The article says that the research was controversial, not that it's false.
nv-vn··on I'm Just a Middle-Aged House Dad Addicted to Pot
A lot of stoners are convinced it reverses the damage or something because "THC cures cancer"
nv-vn··on The First Rule of Microsoft Excel: Don’t Tell Anyone You’re Good at It
Agreed. He really is an inspiration. In jail he's spending his time reading and learning, which you can follow along with on his blog. He's a very intelligent guy and I think he's almost like an anti-hero who's bad at portraying himself. I think if he played his cards right he'd paid a fine and spent no time in jail, but he had way too much fun stirring up a scene.
nv-vn··on Upgrading GitHub from Rails 3.2 to 5.2
If you miss something, the language shouldn't let it compile. Obviously the more backwards compatibility a language desires, the less likely this is to happen.
nv-vn··on Facebook Network Breach Impacts Up to 50M Users
Of course they're on the same page. They can afford the best lawyers and as much infrastructure as they need to fulfill the requirements, while every new competitor gets sued from all angles. I'd be very surprised if any of that regulation actually serves the user in any positive way.
nv-vn··on Tech advances should make 4-day workweek a reality for the 21st century
My "argument" is simply that people should be free to do what they want
nv-vn··on Apple, Huawei Both Claim First 7-nm Smartphone Chips
AMD is launching 7nm soon on the TSMC process but I recall them saying that they intend to use GF as well within 6 months of launch. So it seems like GF 7nm may also beat Intel's 10nm to market.
nv-vn··on Tech advances should make 4-day workweek a reality for the 21st century
Mandatory limits on working hours would suck for anyone who enjoys their job though.
nv-vn··on Female, minority students took AP computer science in record numbers
At least where I live (and in most of the US from what I understand), it's almost exclusively based on property taxes. Quite obviously, areas with more rich people get more tax revenue and therefore better schools, even if the rich people don't go to those schools. This actually works to the benefit of districts that are mixed, because there's a lot more revenue. The fact that the rich kids aren't attending works as a bonus because their revenue is still there, only spread out across fewer (poorer) students.

* Actually, I don't think this is relevant to what I'm saying in any case. The fact that parents want their kids to have the best education possible shouldn't be surprising even if it hurts someone else. I'm not trying to argue for the side effects (as I said above, rich areas get more funding so most poor students get less), I'm just trying to say that there's nothing wrong with a parent wanting to send their kids to private school.

← PreviousPage 6 of 25Next →