HNHacker News
TopNewBestAskShowJobs

nv-vn

1,960 karma · joined August 14, 2015

Github: https://github.com/nv-vn
submissionscomments
nv-vn··on YouTube to Remove Thousands of Videos Pushing Extreme Views
No it's totally not a violation of anyone's rights, but that doesn't stop me from being able to oppose the idea. Like how I support drugs being legalized but I don't think everyone should start doing drugs.
nv-vn··on Make School Hard Again
Maybe the GP went to an all girls school?
nv-vn··on Show HN: Person Identification by Keyboard Typing
Similar but I saw two friends show up very early on (and then keep showing up). Maybe people self-select friends based on typing style?
nv-vn··on What We’ve Built Is a Computational Language
Played with it during Advent of Code. It really disappointed me. The first 10 minutes of discovering the language were great--in theory it had so much potential between how errors automatically propagate up, the extensive library, and metaprogramming abilities of the language. The syntax is unconventional and to a certain degree off-putting (coming from a person who doesn't mind Erlang, Prolog, Lisp, Forth, Haskell, ...) but usable. The novelty starts to fade when you realize how poorly suited it is for general purpose programming. Despite having features for everything, it's hard to make them all connect. I spent hours trying to figure out how to use the DFS functionality in remarkably simple ways, for example. Maybe it was the documentation that failed me, but that doesn't really help sell the language either if that's the case. I think if Wolfram actually cared to "come down to earth" and think about users it could be a great language--the potential is definitely there--but right now it really looks like he jumped the gun with marketing and left out a lot of the important groundwork.
nv-vn··on What happened after my 13-year-old son joined the alt-right
Reminds me of the time me and my friend were sent to the principal's office for talking about Nerf guns. Because obviously 2 second graders were plotting to shoot up the school. Or the time a girl said I threw something at her when I said she couldn't have it.

Note that I don't think this was something about girls lying, I think everyone lied equally at that age or maybe even boys lied more. But the way school administrators deal with these issues is insane and certainly seems to damage kids far more than whatever they fear will happen if kids are allowed to have a little freedom. I can say with high certainty that the number of times I was sent to the principal's office as a kid for things I didn't do was the primary cause of my constant trouble making behavior for most of elementary and middle school

nv-vn··on What happened after my 13-year-old son joined the alt-right
"I don't really understand why you're writing as if people who want to eliminate babies are as bad as people who want to eliminate abortions" -- A pro-lifer, probably
nv-vn··on Remote Code Execution on Most Dell Computers
Yep. Only Android phones worth buying are Google/OnePlus because they don't pull that crap.
nv-vn··on A Brief and Brisk Overview of Compiler Architecture
The funny thing about compilers is that one architecture has been established as the dominant architecture (the one described here) for probably the past 50 years. Almost without exception, every compiler is structured just about exactly the same. If you're interested in an alternative architecture, it's worth reading up about Nanopass compilers. While largely the same basic ideas, Nanopass tries to distill each discrete action into its own pass -- think of it like composing a bunch of programs using shell pipes. So rather than just Frontend=>Middle End=>Backend you end up with something like Lex=>Parse=>Remove Lambdas=>Remove Loops=>Remove Conditionals=>SSA=>Allocate Registers=>Eliminate Dead Code=>.....
nv-vn··on TurboTax Uses Dark Patterns to Trick You into Paying to File Your Taxes
Curious as to what extra rights you believe they have?
nv-vn··on US Workers Are Highly Taxed If You Count Premiums
Social Security spending is >2x the military budget, making up one third(!!!) of the US federal spending every year [1]. It's also a system that is inherently growing in terms of payouts and shrinking in terms of pay-ins [2]. This might not be a big deal if it was just a normal tax, but the idea behind Social Security is that your Social Security tax contributions pay off the current payouts. So if the system continued to exist as it is now, the amount paid into the system would have to grow significantly to ever pay out this generation's Social Security and the pattern would likely worsen over time.

[1] https://www.nationalpriorities.org/budget-basics/federal-bud... [2] https://www.populationpyramid.net/united-states-of-america/1...

nv-vn··on Had They Bet on Nuclear, Germany and CA Would Already Have 100% Clean Power
People are going to be living next to Fukushima in the next few years. IIRC the vast majority of the waste was cleaned up in the first year or so and the rest has been contained to a small area.
nv-vn··on Sidewalk Labs project means Toronto to have 'constitution-free zone,' CCLA warns
I get that there's privacy concerns over a neighborhood owned by Google (and a government agency) but like... where did the notion that it's "constitution free" come from? If it's partially run by the government then how can that even be the case in the sense of "this is private property, so laws restricting government don't apply?" And further, privacy concerns are totally absent from the Canadian constitution as far as I can tell. This just seems like one of those issues where people lose track of telling the truth in order to push their narrative, like when Net Neutrality groups basically stated that "Google will cost $1/search if we lose Net Neutrality!"
nv-vn··on Functional Programming in OCaml
Yes, writing Haskell definitely takes a mental context switch. You kind of have to abandon the traditional style of programming in order to transition into it. Pretty similar to what writing Prolog feels like for example. In contrast, it seems like there's a more direct line between languages like OCaml/Lisps versus C/Java.
nv-vn··on Functional Programming in OCaml
OCaml is more of a multi-paradigm language than Haskell. It's not purely functional, so you can easily fallback into imperative code if you need (you can use mutable variables, I/O, mutable arrays, hashmaps, for loops, while loops, etc.). It's also object-oriented (though this feature is not widely used) and has a very powerful module system that few other languages can compare to.

What I like about it from a learning perspective is that it makes a transition into functional programming much simpler than it would be with Haskell, where you have to completely change the way you program from the very beginning.

nv-vn··on Intern at a YC Company
Allegedly they've increased it to 12.5k this year
nv-vn··on Electron is flash for the desktop (2016)
Fair, though it is praised as being efficient for an Electron app
nv-vn··on Electron is flash for the desktop (2016)
Which options in particular? I'm guessing Gtk or Tk might be pretty annoying to work with.
nv-vn··on Electron is flash for the desktop (2016)
I'm sure Revery does, don't know about the others.
nv-vn··on Electron is flash for the desktop (2016)
Qt is really trivial to style. That's like showing a blank HTML page without any CSS and discounting HTML because of that default appearance.
nv-vn··on Electron is flash for the desktop (2016)
Discord uses minimum 140mb of RAM when idle on my machine. VS Code is currently idling at 330mb for me (2 files open), and it's a fork of Atom that allegedly performs better.
nv-vn··on Electron is flash for the desktop (2016)
There's a ton of really popular, well-supported options

* GTK

* Qt

* WPF for Windows

* JavaFX

* Tk

* LibUI

I'm rooting for https://github.com/revery-ui/revery/ right now too, but it's still early in development

nv-vn··on Electron is flash for the desktop (2016)
Qt is also cross-platform, easy to use, and has a giant library to work with. You can use it with virtually any language you want. Plus it runs on mobile.
nv-vn··on Electron is flash for the desktop (2016)
On Windows I see very similar results. Discord, doing nothing, idles at 165mb of memory usage and Signal (with even fewer features than Discord) manages to use 233mb while doing fuck all. Telegram, which has just as many features, idles at 78.5 (still a lot!!) and opens in literally 5ms instead of loading up for 30+ seconds.

>what people don't seem to get is the experience of using Electron is miles ahead of anything else in convenience.

That just blatantly isn't true. QML has the same "write markup run JS" idea and WPF is just XML bound to whatever .NET language you want. They might take a few minutes to learn if you already know web programming, but once you start writing code it doesn't take any longer than writing the equivalent HTML/JS/CSS. Like the OP said, React Native accomplishes the same but runs 1000x better. Getting people to step away from Electron for 5 seconds, especially when they have the resources to do so (i.e. Slack being able to raise $400 million this year, Discord raising $150 million, etc.) It's insane that none of these companies have spent the tiny amount of time working on some open-source framework that's better than Electron.

nv-vn··on 'Drop of Blood' Emoji, Symbol of the Period, Is Praised by Activists
And 100% of the world's population has an ass, but we're still stuck with the peach emoji.
nv-vn··on About V, the language Volt is written in
Having your own language can increase productivity. The compiler took 2 weeks according to OP. Also the fast compile times definitely help. This is also a project only OP is working on so number of contributors doesn't matter, and even then it's stupidly simple to learn any C-like language if you know one already. If this works for OP then it's definitely not a waste of time really.
nv-vn··on Revery – Native, high-performance, cross-platform desktop apps
Fun fact in terms of the binary: by default OCaml uses static linking for pretty much everything except your libc, so unless something in the stack is doing something weird wrt linking that binary should contain all the dependencies.
nv-vn··on Microsoft Bing not only shows child pornography, it suggests it
Who was the guy who found this and why the fuck was he searching "porn kids" and "omegle kids showing"? Like I get that it's an issue and all but this dude was looking up really sketchy shit that you wouldn't just stumble upon by accident.
nv-vn··on Tox – An encrypted P2P chat protocol that does not rely on central servers
Wow totally forgot about Aether. I still have it installed on an old laptop somewhere. I remember I really enjoyed posting on there but then I'd have trouble connecting to the network and stopped using it. Will have to check it out again
nv-vn··on Google shifted $23B to tax haven Bermuda in 2017
I hear this all the time but I don't understand what hoarding means in this context. Surely you're not implying that the majority of any billionaire's wealth is just cash under their mattress? I'm fairly sure that most of any given billionaire's wealth is invested, often in equities or bonds. In that sense, they are letting others borrow their money and funding economic development. Same goes for money sitting in a bank that gets loaned out.
nv-vn··on Ask HN: How old were the most talented software engineers you've met?
WOW. What blew me away was not his programming skills, but his ability to explain. There are many levels to understanding, and you can tell that Revel intuitively understands not just how to build things, but also how the code is working on top of that. From the very beginning he speaks so confidently and concisely that you can immediately tell he's a genius. Big contrast to many other "child prodigies" that I've seen.
← PreviousPage 5 of 25Next →