HNHacker News
TopNewBestAskShowJobs

marmada

645 karma · joined December 16, 2018

submissionscomments
marmada··on Andrew Ng: The suspension of H1B is bad for the US and bad for innovation
Have you considered being better at your job?
marmada··on Design Doc: Use JavaScript instead of TypeScript for internal Deno Code
Have you used TS? Calling it a DSL seems incorrect.
marmada··on Trump to sign executive order on social media Thursday
You are conflating is/ought.

Constitutional amendments are hard to pass. That doesn't mean they ought to be.

I/the poster is claiming small states should be allowed to be "bullied" by larger states since smaller states have less people, and thus, are less important.

marmada··on Justice Department, states likely to bring antitrust lawsuits against Google
Alright it's disclosed. I'm not opposed to disclosing (I'm assuming you know b/c it's been mentioned previously in my profile). But also, I had this viewpoint well before I decided to work at Google this summer for an internship.
marmada··on Justice Department, states likely to bring antitrust lawsuits against Google
A take: monopoly in tech is good. Because Google/Amazon/FB have so much money they can do things that push tech forward as a whole. Think about the revolutionary improvements Google has made towards data centers, AWS, and all the research/open source contributions these companies have done.

Unlike other monopolies (telecom, defense contracting) etc. where the monopoly is used to stagnate innovation (see Comcast being terrible), here the monopoly leads to more innovation. Smaller companies can't embark on Google-sized projects.

Sidenote: I'm pretty sure this lawsuit is just a political attack. It seems reasonable that other monopolies in healthcare/defense/etc. are much much worse, yet they aren't "liberal"/"blue" companies, so there are no lawsuits.

Disclosure: I'm interning at Google. I don't think this matters at all, but someone called me out on this in the comments.

marmada··on Facebook iOS SDK Remotely Crashing Spotify, TikTok, Pinterest, Winno and More
I feel like I'm in the minority here -- but I don't understand the problem.

Software developers want to know whether their existing marketing methods are effective. The FB SDK helps with this. You always have the choice to not install the app (if you don't want to).

This also helps developers make sure their marketing is effective and reaching the right people, which seems like a win-win to me.

marmada··on Language Design: Use 'ident: Type' not 'Type ident'
A benefit of ident: Type is that it allows you to express complex anonymous types.

Example from Typescript:

const foo: 'A' | 'B' | 'C' = 'A'

Which states that foo must belong to the given union type. How would this look in a Type ident language?

const 'A' | 'B' | 'C' foo

That doesn't seem right. There's no clear barrier between the type and the identifier name.

Here's another contrived example:

const foo: () => Promise<void> = async (x) => console.log(x)

Here foo is of type "() => Promise<void>". How would this look in a Type ident language?

const () => Promise<void> foo = async (x) => console.log(x)

To me, this is unclear because it is hard to tell where the type ends and the actual function begins.

Last example.

const foo: { [string]: number} = {"hello": 3}

I believe says that foo is an object with string keys and number values.

What does this look like in a Type ident language?

const { [string]: number} foo = {"hello": 3}

I think all of the Type ident examples are more confusing because it's to tell where the type ends and the name begins (this is most clear in the first example). This probably makes syntax highlighting worse/parsing more complicated/is tougher on the user. With ident: Type, it is very clear that the type starts after the ":" and ends before the "=" sign.

marmada··on The northern-hemisphere winter of 2019-20 was the warmest ever on land
I think there's a social element of office work that can't really be replaced with WFH.
marmada··on Private client-side-only PWAs are hard, but now Apple made them impossible
It didn't gain traction because iOS killed it. Also "some people" includes everyone who doesn't want to make an iOS app.
marmada··on Private client-side-only PWAs are hard, but now Apple made them impossible
Having done native Android/iOS and web dev, web dev is much easier than Android and at least on par/if not easier than iOS.

There's a bunch of very complex web/electron apps that disprove the idea that the web is only for static documentation and web-inspired ideas are coming to mobile (React --> Jetpack Compose/Swift UI).

More importantly, hiring can't be put aside, and it's much easier to adapt your web app to work for mobile (since websites should be screen size agnostic anyway) than it is to build a fully native app from scratch.

marmada··on Private client-side-only PWAs are hard, but now Apple made them impossible
"just making native apps"
marmada··on Google resists demands from states in digital-ad probe
What I don't understand is, if the Republican party is anti-competitive, why haven't they fought against many of the other monopolies that exist. The targeting of Google is... suspicious.
marmada··on The web as a GUI toolkit
I feel like this is unrelated to the post, which was not talking about electron apps and was instead talking about the text-based origins of the web, and why that's good.
marmada··on Building a neural network from scratch in Haskell
If someone told me they wrote a neural net in Haskell, my first reaction would be "wow that's Cool!", after all I don't think I can do that. I wouldn't care if the code was gibberish.
marmada··on Justice Department meeting state AG offices Tuesday to discuss Google: sources
This blatant bias against the "coastal elite" (let's be real, there's definitely a political bias to this entire thing) scares me.

Then again, I'm working at Google this summer, so maybe I'm biased ...

marmada··on Why is quicksort better than other sorting algorithms in practice? (2013)
Maybe it's interesting to know what qsort does under the hood? Maybe you don't know what qsort's time and memory constraints are unless you know the underlying algorithim.

Obviously the sorting algorithim you use matters, so this post has some theoretical value.

marmada··on Vim9: An experimental fork of Vim to explore making Vim script faster and better
This one is actually very interesting, it's not just a Vim tutorial.
marmada··on Samoa arrests vaccination critic amid deadly measles crisis
I find it interesting how people on HN are decidedly non-Utilitarian. I don't know, but for some reason I expected software engineers to be utilitarian. Not exactly sure why
marmada··on Samoa arrests vaccination critic amid deadly measles crisis
I find it interesting how people on HN are decidedly non-Utilitarian. I don't know, but for some reason I expected software engineers to be utilitarian.
marmada··on The Firefox UI Is Now Built with Web Components
Is js actually slow? I thought with all the money invested in it, JS was one of the fastest dynamic languages out there.
marmada··on Show HN: Faster UTF-8 validator
It takes effort to not use electron. It doesn't take effort to have your library update its dependencies to use a faster utf-8 validator
marmada··on Build Your Own React
It looks cool, but it is inappropriate because it wastes time since the transitions take time.
marmada··on GitHub Archive Program
Out of curiosity, what would you want to opt out?
marmada··on Don’t Call Me a Pessimist on Climate Change. I Am a Realist
Why is that scary? If the rules are applied impartially, I don't see an issue.

The need to save the planet is more important than a person's desire to have kids.

marmada··on My Python Development Environment, 2020 Edition
The thing is, if I need to switch node versions. I can use nvm. The thing is, I don't need to manage different environments in node because the dependencies are contained in "node_modules" and not "attached" to a Python interpreter instance.
marmada··on My Python Development Environment, 2020 Edition
Does anyone else think this reflects badly on Python? The fact that the author has to use a bunch of different tools to manage Python versions/projects is intimidating.

I don't say this out of negativity for the sake of negativity. Earlier today, I was trying to resurrect an old Python project that was using pipenv.

"pipenv install" gave me an error about accepting 1 argument, but 3 were provided.

Then I switched to Poetry. Poetry kept on detecting my Python2 installation, but not my Python3 installation. It seemed like I had to use pyenv, which I didn't want to use, since that's another tool to use and setup on different machines.

I gave up and started rewriting the project (web scraper) in Node.js with Puppeteer.

marmada··on Thousands of Facebook internal documents and emails published online
Why does this matter? Pornhub is addictive, probably on a much deeper level than Facebook. No one criticizes Pornhub. Reddit is addictive, no one criticizes Reddit. Videogames are addictive. No one says we should ban videogames or take legal action against them. Even if people do criticize these things, they don't criticize them the same way they criticize Facebook.

I think FB has added more to the world (wealth, high tech jobs, open source technology, places for people to organize, ways for people to connect) than it has taken away in the form of FB addiction and manipulative ads.

The masses have always had their bread and circuses. I don't see why a new digital variation is any worse than existing forms of mindless entertainment.

marmada··on Mark Text: Simple and Elegant Markdown Editor Focused on Speed and Usability
Can we focus on the actual product. I feel like this discussion comes up every time and it's not interesting.

And yes, Electron isn't simple. No one cares. The product itself is simple to use (presumably). When they said simple, they were not referring to implementation details.

marmada··on GitHub tries to quell employee anger over its ICE contract
The difference is not serving black or queer people isn't a moral judgement -- it's just discrimination (there isn't anything inherently wrong with being Black the same way there isn't anything wrong with being queer or Asian or Indian, those things aren't a choice unlike being a Nazi). At best, not serving minorities is a shitty moral judgement.

Not serving ICE is a more legitimate moral judgement because ICE has the option to change their behavior and ICE is genuinely bad.

Slippery slope is one of those silly things I see from free speech advocates. I tend not to see the bad impacts in real life because if the government isgoing to restrict free speech, they will do it regardless of what anti-hate speech laws currently exist.

marmada··on When to Switch to Python 3.8
These types of comments are confusing. The developer of Mercurial has stated that it took/is taking them several years to port to Python 3.

I'm inclined to believe them compared to some random stranger who asserts that it should be easy for Mercurial to be ported to Python 3.

Unless you were saying that most other/non-Mercurial programs are easy to port to Python 3, which could be true.

← PreviousPage 3 of 6Next →