HNHacker News
TopNewBestAskShowJobs

Secretmapper

298 karma · joined November 8, 2015

arianv.com
submissionscomments
Secretmapper··on Mazette
I'm not sure how kosher this is as it's my own project, but this reminds me of a project I did for college back then:

https://arianv.com/post/cs-180-pathfinding/

It's a python/jupyter project though that's just rendered into html. It's over-engineered and over-explained :D

Secretmapper··on Why we switched from Webpack to Vite
For me personally, it's mainly CJS imports which I can't drop.

Of course the correct way would be to force the dependencies to support es.

But vite has now become default for me as well for new projects.

Secretmapper··on How to Read Books When You Have ADHD
IIRC it was a blog article, and the author was got a book deal out of it.
Secretmapper··on Mac OS Catalina: more trouble than it’s worth
I would have to think you did not read the entire article if you think that is the heart of the post.

That's the smallest thing in it.

Secretmapper··on GitLab – A $1B business where all employees work remotely
Damn I guess this is true about a lot of other very specific questions but are not too niche stuff as well (i.e. programming questions). An example is I was searching if a game had local multiplayer, and what would you know the result was exactly what you described - a paragraph long description of the game and the advantages of multiplayer and the answer hidden in it.
Secretmapper··on CanvasKit – Skia and WebAssembly
I had a really hard time understanding it as well, and as someone who is supposed to at least have some understanding in this space (HTML5 gamedev) it made me feel a bit dumb.

However, from what I understand, there seems to be two things needed to be noted here:

Skia - a standardised library that can 'render' to different backends - i.e. it can render to OpenGL or SVG or PDFs.

CanvasKit (the actual one linked) - basically use Skia on the web (with webgl).

A huge boon here would be performance. For example, in WebGL, if you want to draw text, the current method is actually to render it in the canvas first, and reupload the texture to the GPU. From what I understand Skia seems to handle the rendering 'natively' so this step is not necessary. So basically it would just make it easier to draw 'primitives' since they are provided by the Skia API without having to do workarounds or writing really low level webgl fragments/shaders.

This is just from what I gathered, but yeah it is confusing. If anyone knowledgeable reads this, let me know if I got anything wrong!

Secretmapper··on How I got my username on nearly every site
FWIW, I'm kinda disappointed at how a lot of people here seems to be on your case and downvoting you, when I think the post was quite informative to show how easy it is to acquire usernames from sites, and that maybe companies should rethink the policies.

If it was in isolation, say 'it takes 48 hours to take a username from SoundCloud' then I couldn't care less, but showing it happen on multiple sites and how they address it does make one think.

Secretmapper··on Why Lisp Failed (2010)
I would say cross platform apps, and an 'alternative to C/C++' was Java's killer app. Popularity as a backend language comes as a side effect of its general popularity (a la Node w/ Javascript, though there's something to be said about Node's 'different' approach)
Secretmapper··on Linus Torvalds Says Twitter, Facebook, and Instagram Are 'A Disease'
This is one of the most obvious things that really were lost in the advent of the big social media sites. Those weird little forums that have their own communities, with the sites having their own little eccentricities.

With how everything is just in one platform, it becomes impersonal as well. I heard about mastodon which feels like it sort of is taking this 'little communities' concept again, but I really wish forums would have a comeback.

Secretmapper··on Mathigon – an interactive, personalized mathematics textbook
Can you expound on your third point? I'm having a hard time parsing it.
Secretmapper··on KV Storage, the Web's First Built-In Module
It is a bit funny though. Our problem used to be "OMG there are so many browsers with their own little gotchas, and they don't follow the spec"

Now the problem is "Oh no we're converging to a single implementation, we need to diversify it!"

I don't know which is better but it is kind of funny to note.

Secretmapper··on Firefox Send: Free encrypted file transfer service
This is perfect! I'm currently taking a networking class where we generate trace reports, and I've just realised how tricky it is to send files without logging in (I'm just averse into doing that in a machine that's not mine). I can email my trace files, but I need to login, I can store in dropbox/drive, but again I'll have to login.

I wish they added a QR code option as well. It would be perfect for quickly copying the link by snapping it with my phone so I can download later.

Secretmapper··on What is the revenue generation model for DuckDuckGo?
You can use the g! prefix and it will go to Google. I found DDG plenty good enough for my use case, and in the rare case I can't find it there I just use g! and bam.
Secretmapper··on Show HN: Applying for jobs? Manage all your interviews in one place
I completely agree with you. I couldn't believe the description, that I had to go to the FAQ to confirm what actually happens is what was described - a link companies can use to review. How is this better than email?

I mean I wish success and everything but I just can't see anyone bothering using it.

Secretmapper··on Calculus Made Easy (1910)
Too true! I took Calculus in College, but I read this 2 months ago and loved it! Even better is it thought me something new - that is infinitesimal calculus.

How I wish there were books like this written for more topics!

Secretmapper··on Show HN: Personal avatar generator built in ReasonML
Didn't know you could use ReasonML w/ GatsyJS. The app is really cute kudos!
Secretmapper··on Tencent's AI plays StarCraft II, and wins over 90 percent of the time
Looks like the AI is just playing against Starcraft II's AI, which makes this slightly less impressive, as I first thought it was against human players.

The SC2 AI on higher difficulties does cheat though (extra resources) so it does make it slightly impressive, but still a far cry from human opponents as SC2's AI is pretty easy to beat (it would be around Gold in ladder I think)

Secretmapper··on Stories – Medium clone built with Rails
There's an excellent package named Absinthe. It's pretty great, though I can't compare it to Rails' since I haven't used it.
Secretmapper··on Show HN: Umbrella JS, a 2.5kb jQuery alternative
Spot on! I'm a ReactJS developer by trade, but when doing side projects, I still use jQuery from time to time, especially if the client is not that state-heavy. I know I can make do with fetch, querySelector/All and the like, but I'd rather take the convenience.

Related: https://robots.thoughtbot.com/how-we-replaced-react-with-pho...

Secretmapper··on Microsoft: Join Developer Design
Plus, I also imagine it's a self selecting process as only those with vitriol are the ones bothering to comment, while most people simply view it for what it is.
Secretmapper··on JavaScript is Good, Actually
I'm still a bit confused how this is a problem. Can you elaborate?

Is there any serialisation standard that specifically addresses this? I know YAML and TOML doesn't at least (correct me if I"m wrong)

Secretmapper··on Peter Thiel Gave Money to Attorney General Going After Google
Source on wasn't in their interests? I've only read that they couldn't continue it due to a: aggressive regulations by incumbers preventing entry of new ISPs (such as Fiber), b: most companies (like Comcast) miraculously offered fiber once Google Fiber was in the game, and c: they're focusing on wireless/balloon solutions.

These are just what I read but I would love to hear if this was just PR and there was a sinister reason like you imply.

Secretmapper··on Simple React Patterns
The data is set as component state

  .then(
        planet => this.setState({ loading: false, planet }),
        error => this.setState({ loading: false, error })
       );
Secretmapper··on Simple React Patterns
It fetches data from an endpoint then sets component state based on the response
Secretmapper··on Open Sourcing a Deep Learning Solution for Detecting NSFW Images
Not OP, but looks like it's built on Jekyll. If you're not familiar, it's a Static Site Generator. It generates static html files from your content (generally markdown files).

There are other SSGs, I use Hugo myself (http://gohugo.io, sample of my blog: http://arianv.com/). I like Hugo cause it's probably the fastest SSG (every time you create a post/change content, you're remaking your entire site from scratch. If you have lots of posts - this adds up!) but Jekyll is the most popular and has great tooling.

Hope that helps!

Secretmapper··on Elevated error rates on applications and deployments
This exactly. It essentially takes care of all the setup for me, plus the CD and provider add-ons are incredibly easy to install and setup.

I basically outsourced my cloud platform developers.

Secretmapper··on The Metaprogrammer
> When did the messenger become more important than the message?

Never? The arguments presented are really just hyperbole that applies to all industries.

Yes I can code with an old machine, yes I can code with a small monitor, but give me a beefed up OSX and two monitors and I'll be insanely more productive. Why shortchange something that will pay for itself almost immediately?

Secretmapper··on The Philippines is in the midst of a brutal war on drugs
If you even read my comment, I'm not even comparing Duterte to Trump, I'm comparing your logic to Trump's supporters' logic of holier than-thou, media is biased non-sense.

Yes the media can be biased, but in this case, he was quoted word for word (and he's basing his platform on that, so you can't just say the media is misrepresenting him)

Anyway regardless, I don't want to get to an extended discussion with you, as you seem deeply entrenched with your views.

Secretmapper··on The Philippines is in the midst of a brutal war on drugs
Sorry, but Duterte has literally gone on record to state that even normal citizens should kill drug addicts:

"If you know of any addicts, go ahead and kill them yourself as getting their parents to do it would be too painful."

You literally sound like Trump supporters who bash the 'media' because they take his 'words out of context', when he does in fact, say those things clear as day.

Secretmapper··on The Philippines is in the midst of a brutal war on drugs
The Philippines love authoritarian figures. The son of Ferdinand Marcos (dictator who instated martial law, under which the country was plunged into a climate of repression and plunder), Bong Bong Marcos almost won the vice presidency with a 0.64 percent difference.
← PreviousPage 2 of 3Next →