HNHacker News
TopNewBestAskShowJobs

neurotrace

634 karma · joined July 18, 2016

submissionscomments
neurotrace··on Show HN: I built the antithesis of Zoom. Add GIFs, stickers, BGs. Talk like IRL
I think this is a fantastic idea and will be trying it out with some friends later!

The only issue for me is the pricing. The free tier is great for getting your feet wet but the $99 is too expensive for me to consider since I would only be hanging out with a few friends. For me, the ideal would be something in the $15-$30 range and would increase the call limit to 3-4 hours. I don't need unlimited meetings or more than 10 people. Best of luck!

neurotrace··on Obsidian Note Taking App Thoughts
Personally, I moved from Obsidian to Foam: https://foambubble.github.io/foam/ VS Code is a much better editor, in my opinion, and I enjoy having the entire VS Code ecosystem of plugins available to me
neurotrace··on Paris to ‘get rid of 70k parking spaces’
I am 100% for reducing the amount of cars on the road but this logic doesn't really work when you've driven in from out of town and there aren't sufficient parking garages.
neurotrace··on TypeScript 4.1
I like monocle-ts for lenses in TS https://github.com/gcanti/monocle-ts
neurotrace··on TypeScript 4.1
You can use guard functions to validate external data. This same problem comes up in other statically typed languages. You can't guarantee that external data will be in the shape that you expect so you must validate it. If you're just taking your `unknown` API response and immediately casting it to your desired type then that's your fault, not TS
neurotrace··on Exotic Programming Ideas: Module Systems
I'm trying to wrap my head around this

> Even better, you can define relations between the types and do type substitutions, e.g.: to construct this module, you need to give me 2 other modules, each with a specific set of functions, and for which type t1 of the first module, matches type t2 of the second module, while the actual type of t1/t2 does not matter.

Isn't this essentially the same as generic type arguments in other languages? Like in this pseudo TypeScript:

    class CustomModule<T1 extends Module1Interface, T2 extends Module2Interface> {
      constructor(t1: T1, t2: T2) { ... }
    }
neurotrace··on Just Write the Parser
Different strokes for different folks, I suppose. I found it to be confusing and painful
neurotrace··on Just Write the Parser
I don't want to be that guy but I originally thought the CSS was broken. Harsh black on harsh white, everything squeezed in to the left third of my screen, and an unused scrollbar on the bottom.

That being said, I love the information. I don't care for the workflow that comes with the most popular parser generators and I inevitably want more control over my parser as I start adding error handling, etc. It's easier to just write it by hand in the first place

neurotrace··on A Picture of Java in 2020
> VS Code will load quickly but every single goto def will take ages.

I wouldn't blame that on VS Code but on the relevant extension. Go to Definition is instantaneous for me when I'm working in TypeScript

neurotrace··on A Picture of Java in 2020
> What does your typical work day look like?

A typical work day has me working in at least two different projects. Visual Studio/Rider is so heavy that I don't want to keep two instances of it running all the time and it's so slow that switching between projects in a single instance carries a heavy context switching cost. I also have a set of markdown files that I use as a second brain which I like to open periodically to check notes or jot down ideas.

> Do you work on multiple things that don't require coding?

I also write documentation, answer emails, review PRs, occasionally modify art assets, maintain team documents, etc. I don't always want Visual Studio/Rider hogging all of my memory or chewing up the CPU.

> Why does launch-time matter at all?

I hope what I already wrote made it clear but TL;DR I jump between projects, don't want multiple instances consuming all my resources, and (bonus) I frequently need to restart Visual Studio because it can get in to a weird state when working in C#/F# hybrid projects.

neurotrace··on A Picture of Java in 2020
I have a pretty beefy VS Code configuration and it still launches 4x-5x faster than Visual Studio
neurotrace··on A Picture of Java in 2020
I get real-time debugging, refactoring, and granular test running/debugging in VS Code. I also work almost exclusively in TypeScript, F#, and Rust. My anecdata says that this argument isn't very accurate.
neurotrace··on Blech Programming Language
Why is it so difficult to find example code? The very first thing that every programming language website should show is an example. Show me what sets your language apart from the others and let me see if I like the syntax.
neurotrace··on ReMarkable 2.0 – A digital notebook that feels like paper
I have a similar device and while it's good for quick scribbling, it's really frustrating that you can't erase. The only option is to clear the whole screen. Still nice for quick whiteboarding though
neurotrace··on Using 'this' incorrectly in C#
I wholeheartedly disagree. Two spaces and the One True Brace style is my preferred way of working. Blocks are easy to identify based on indentation. This is exactly why auto-formatters are the best solution. Then there's no need to have this conversation. Some of the style choices we have at work are not ones I would have chosen but I'm quite comfortable with them now thanks to auto-formatting
neurotrace··on A Keyboard with Blank Keycaps Made Me an Expert Typist
I don't understand how touch-typing forces an awkward posture. I had a self-taught typing style for something like 10 years before switching to touch-typing about 4 years ago. I'm just as capable of slouching, leaning, raising, and lowering my posture like I did before. I started getting pain in my shoulders and neck but that was from pushing my hands together on a tiny keyboard. As soon as I switched to a split keyboard, all of that went away.
neurotrace··on Two Features of JavaScript that you might not know
I avoid using one on smaller sites so I can support content creators
neurotrace··on Two Features of JavaScript that you might not know
JSX is just an extension of JavaScript. I wrote React-like code because that's very common right now but this would also be true for more traditional JS.

    const todoItems = []
    addTodoItem.addEventListener(event => {
      todoItems.push(event.target.value)
      renderTodoItems()
    })
neurotrace··on Two Features of JavaScript that you might not know
Closures are handy for a number of things. Many event listeners are closures

    const [username, setUsername] = useState('')
    const onChange = event => setUsername(event.target.value)
    const onSave = () => dispatch(saveUsername(username))
    return (
      <div>
        <input value={username} onChange={onChange} />
        <button onClick={onSave}>Save</button>
      </div>
    )
       
This code contains two closures
neurotrace··on Two Features of JavaScript that you might not know
Why in the world would you put a near full-page sized ad at the top of the article? I seriously thought that the site had been hijacked at first
neurotrace··on Gravity: An embeddable programming language without any external dependencies
TypeScript requires you to verify if the value is null-ish or not (assuming you're using the new default "strict mode"). I don't believe Gravity does
neurotrace··on Twitter Will Allow Employees to Work at Home Forever
That was a number of years ago. There's been a lot more investment in tools and practices for a WFH situation since then
neurotrace··on Show HN: Help Me Decide Please
So far there is no evidence of transmission via food delivery.
neurotrace··on The world after coronavirus
At the time of this comment Italy has 181,228 confirmed cases and 24,114 deaths which comes out to about 13%.

Even ignoring the mortality rate, this thing is causing lasting and perhaps permanent damage to the body.

https://www.hopkinsmedicine.org/health/conditions-and-diseas...

neurotrace··on The world after coronavirus
> in Western countries people are seriously considering 12 month style lockdowns to protect potentially as low as 1% of the population who are well past the good years of their life.

Other than being completely calloused, this argument also isn't true. We don't know the exact mortality rates because we haven't seen proper data for it yet. Depending on when you get your numbers, Italy has had up to 34% of their infected die.

Furthermore, this isn't just a Boomer and Silent Generation killer. Asthmatics, immuno-comprimised, and otherwise healthy people without access to decent health care for socioeconomic reasons are at risk.

I'm not arguing for or against such a long quarantine time. I'm only stating that we aren't just trying to save the last holdouts from the 40s.

neurotrace··on JavaScript variables: var and let and const
If you really, really need a global then you should assign it to `window/global/globalThis` instead of relying on the weird behavior of `var`
neurotrace··on Moznet IRC is dead; long live Mozilla Matrix
For the people considering leaving such comments, there are terminal clients available https://matrix.org/clients/
neurotrace··on Mint: A programming language for writing single page applications
I actually love this. I don't foresee it replacing JS|TS for major app development but this looks like the perfect fit for a certain subset of SPAs. The syntax does a wonderful job of describing exactly what is needed for that subset of applications
neurotrace··on F# Pipeline Operator in JavaScript with Babel
That's not really a good argument against calling it niche. A lot of numerical computing done from Python is actually run through Fortran and some of your OS is almost certainly written in raw assembly language. That doesn't mean that they aren't niche.
neurotrace··on Neumorphism in User Interfaces
Why the push back? I'm not a designer but these look just as interactable as anything from Material Design
← PreviousPage 3 of 7Next →