HNHacker News
TopNewBestAskShowJobs

jaquers

224 karma · joined April 12, 2015

[ my public key: https://keybase.io/jonjaques; my proof: https://keybase.io/jonjaques/sigs/R2Ax-tg65D3Tav2z5B0tOe4lJC3fQqHDBdvq7MH2FvE ]
submissionscomments
jaquers··on Build Your Own React
It's the defacto router because it has gone through many iterations, has lots of users, is easy to bring into a React app, and doesn't fight w/ React, it works with it. Plus there are a variety of approaches to declaring routes. [0]

I'm not sure I see how obvious it is that a <Redirect/> is wrong. But that's fine, I take your point that it's not particularly intuitive.

I'm of the opinion that routing, in general, is a function of application state - and I like to manage my application state with Redux - so I will often also mix in connected-react-router [1]. This lets you do navigation w/ an imperative API [2].

[0] https://github.com/ReactTraining/react-router/tree/master/pa...

[1] https://github.com/supasate/connected-react-router

[2] https://github.com/supasate/connected-react-router/blob/mast...

jaquers··on Mu: A Human Scale Computer
http://akkartik.name/about provides more info about the submission.

About half way down, "... I've been exploring some promising mechanisms in my current project, an idealized assembly language and OS for teaching programming called Mu"

jaquers··on Hermes – A small JavaScript engine optimized for running React Native on Android
Poor coding practices, bad state management, and lack of encapsulation between UI components and business logic / data retrieval.

It's really easy to build a React Native app, but not easy to build a really good one.

jaquers··on Angular v8.0
Btw, totally agree about classes. I still like the 'look' of them for stateful components.
jaquers··on Angular v8.0
https://reactjs.org/docs/hooks-intro.html

edit: Lol apparently two React devs ears were burning at the same time.

jaquers··on Show HN: Never ask someone more than once to do something - iPrompted
At least we put a smile on one person's face, jk :)

We want users to view the tool as a virtual assistant, and not as the enemy. Over time we hope to add features like daily summaries, more conversational / nlp understanding and, eventually, the ability to understand what the tasks are about so we can offer positive feedback/encouragement.

jaquers··on Generative.fm – Endlessly unique ambient music
Was able to get it to play in iOS, but Safari crashed after 1m or so. Not sure if that's cause I let the device lock or what.
jaquers··on Generative.fm – Endlessly unique ambient music
https://github.com/generative-music/pieces-alex-bainter/blob...

Difficulty? hard to say, looks like knowledge of the various libs used is pretty critical, but pieces look to be between 100-200 lines.

jaquers··on Facebook labels declaration of independence as 'hate speech'
I didn't say it was. I said that we're not there yet, and implied that there will be mistakes along the way.

Can you tell me what crime was committed here? As noted in the Vindicator's own article:

> While unhappy with Facebook’s action, the editor reminds readers that Facebook is a business corporation, not the government, and as such it is allowed to restrict use of its services as long as those restrictions do not violate any laws. Plus, The Vindicator is using Facebook for free, so the newspaper has little grounds for complaint other than the silliness of it.

> The problem The Vindicator faces is that it has become dependent, perhaps too dependent, on Facebook to communicate with local residents and to promote the newspaper. Some Vindicator stories posted on thevindicator.com attract thousands of page views, but usually only after links to them are shared on Facebook. Plus, many bits of information are shared by the newspaper through Facebook alone.

And review this announcement that they are building a tool to appeal decisions: https://newsroom.fb.com/news/2018/04/comprehensive-community...

What more do you want? Feel free to mention specifics instead of just downvoting me because I disagree with you.

jaquers··on Facebook labels declaration of independence as 'hate speech'
Does it matter? There was a problem, they apologized and corrected it.

FB has been under intense scrutiny for providing a platform for hate speech, so why should we be surprised that they use automated means to decrease the lead time between posting and removal?

That phrase is hate speech, it just happens to be contained within one of the founding documents of the US. While it is a worthwhile goal for the algorithm to understand the context of it - I don't think we're quite there yet, and I would rather have a few false positives than the avalanche of shit that would exist without it.

As to whether a human removed it, I suspect that from the perspective of the person doing it, it's better to err on the side of caution than lose your job; especially a non-US citizen.

jaquers··on Ask HN: HN supported initiative to transition ageing developers to legal?
I'm not sure I want laws to reflect the rigid thinking on display in OP's comment...
jaquers··on The 1.1.1.1 resolver now supports DNS over Twitter
Perdy sure the twitter bot is a 'joke'.

Info on 1.1.1.1: https://blog.cloudflare.com/announcing-1111/

jaquers··on Greenlet – Move an async function into its own thread in the browser
I write JavaScript/Node everyday. In my experience one does not write code like this when working with a team or a project that will be handed off; the author(s) are trying to minimize file size with expressions that are as small as possible. This seems okay to me for a library where your API is simply a function wrapper.
jaquers··on How Stripe Designs Websites
I mostly agree with your point that two designs being the same, the bigger more established brand might garner more attention / praise than the other. However, I think design is also easier to get right when you have a good product.

Skimmed the blog because it seemed to be mostly fluff and presumably the author does not work at Stripe, but I do consider this a good design for the following reasons (some aesthetic, some practical, not exhaustive):

- Dead simple call to action & it speaks to two core audiences. Either you're a developer and you know how this works (create an account), or you're an executive and you know you want to talk to somebody (contact sales).

- The diagonal lines are cool because they stand out on the web (filled with vertical and horizontal lines) and they create movement within the design to draw your eyes over to the little illustrations.

- The illustration/hero image itself is nice because there's not so much detail that you get bogged down in the solution yourself, but the variety of big brands and different sorts of user experiences allow you to visualize your brand with a slick checkout experience right next to those "big players".

- Well-executed typographic contrast. Think colors, sizing, weights, and variation between title-casing and uppercase. This is important because it creates a visual hierarchy, so if you don't want to read the whole page, at least visually you "know" what is important.

- Color palate is well suited to the industry. Too lazy to find facts, but in general blues are known to be calm/soothing and green communicates or gives the perception of trust/success. Whether that is your success as a potential customer, or Stripe's success, idk; Just a vague designerish feeling.

- Finally, I think it would good given the points above - but the interactive elements really give it the kind of polish that would make me call it "great". IMO, these types of flourishes are signalling quality. Take them away and the site is just fine, but as the author mentions - to most people they give a sense of delight. Not over the top; just subtle, playful little elements.

Regarding the link you mentioned; I don't think it's a bad design, but not on the caliber of Stripe's. For me the typography is quite dull, and having read all of the text on the page; it's not really clear to me what valuable service they are providing. My impression is that it's a white-brandable video hosting site, with maybe some version control? I'm not exactly sure because I only gleaned that info from the 2 of the 5 bullet points, which are identical to the other 3 generic features.

Anyways, I'm just some guy who flunked out of design college - so take all this crap with a grain of salt.

jaquers··on Sony Aibo
Silly to you. I wouldn't want one of these either, but that doesn't mean I can't empathize with somebody enough to understand how they could find enjoyment or feel affection towards one. Did you ever have or know a friend with teddy bear? Even as a child you know it is not real, but that doesn't mean you can't be attached or even pretend that it loved you back.
jaquers··on Paw – macOS HTTP client for testing and describing APIs
Totes. Another issue I've found (at least with the browser extension flavor), is that even though it is a separate window, Cmd+Tab switching between apps is totally broken by Postman. The Postman window will completely take over your Chrome instance.

Also, I'm glad I found you! Long-time user of Paw, but going to make the switch to Insomnia. Question, can I just type a JS object into request body and you stringify the JSON for me? Is that something you would accept as a PR if not?

jaquers··on Draggable JS – a lightweight, responsive, modern drag-and-drop library
> Do not forget that webpages at their core are about information design.

I believe your are confusing web pages with graphic design. A graphic designer's job is based in information architecture. Webpages were originally designed for simple document sharing, however since '96 - we still have some simple documents, but we also have non-trivial games, and extremely complex applications that run businesses.

This open source project happens to be for the mid to latter, so it seems appropriate then that they actually demo some of the features of the library. Also, one could make the argument that a beautiful design can inspire another developer to make something beautiful. API's are often pretty dull. I find this design to be delightful.

BTW, you can always use shortcuts provided by your browser/OS. Tap in the header on mobile, press "Home" on Windoze, and Cmd+Up on Mac.

jaquers··on With lax oversight, the FAA has enabled secrecy in the skies
I'm not dismissing the fact that other people had problems, but all due to adblockers. So if you want to read the article, but aren't willing to do anything about working around the fact that the page has problems with certain ones, how does that add to the discussion about the article?

Specifically the comment that you replied "And?" to, I think makes valid points. You have the right to block ads, but the BG also has the right to block people who block ads.

Finally, how can they be reasonably expected to test a custom page against many different adblockers, all of which alter the structure of the DOM; In addition to being actively hostile to their goal, which is to be compensated for their work.

jaquers··on With lax oversight, the FAA has enabled secrecy in the skies
> I'm not willing to turn off ad blockers, debug this site, or use a different browser to read the story.

Then don't. What are you complaining about?

jaquers··on iPhone X
Funny, I could never trigger it when I wanted to. The method is simple though; start your swipe from below the edge of the screen. For you, maybe don't swipe from the bottom of the screen, that's what the scroll acceleration is for. ;D
jaquers··on Radar reveals two moons orbiting asteroid Florence
Thank you very much! Awesome explanation.
jaquers··on Radar reveals two moons orbiting asteroid Florence
I don't either :) but sort of a silly question I guess. I presumed it was the sun due to the angle of illumination as well as common sense that the sun is probably the brightest object in the solar system along multiple bands of light; I was really just amazed at the relatively large amount of detail in the image.
jaquers··on Radar reveals two moons orbiting asteroid Florence
Is the 'light' reflecting off the asteroid emitted from the sun? I had never seen or even knew radar could distinguish value like what is shown here.

I suppose terrestrial radar looks at much smaller objects and what it sees is emitted from the tower and bounced back in a straight line so that sort of makes sense.

More info on the observatory: https://en.wikipedia.org/wiki/Goldstone_Solar_System_Radar

jaquers··on 24/192 Music Downloads Are Very Silly Indeed (2012)
Can't tell if this is sarcasm or not, but I think that's sort of the point. You want a high enough pixel density so you can't perceive pixels at normal viewing distance, and I can definitely see pixels on my 42in 1080p screen from across the room.
jaquers··on 24/192 Music Downloads Are Very Silly Indeed (2012)
At my greatest aspiration, I'm no more than a casual music listener - however I am very conscious of pitch. On more than one occasion, I've noticed that a song I'm familiar with seems off pitch, as in lower or higher key than I think of it in my head - and I seem to notice that particularly around shitty speakers or bluetooth or some combination of the two. Glad to know I'm not crazy :)

To your point, I would lean towards bluetooth as I've never associated the phenomena with Pandora. My friends and I mostly use Spotify.

jaquers··on Show HN: Make Medium Readable Again
Ctrl/Cmd+Shift+B. Or just make a bookmark instead of complaining about something that is 100% optional.
jaquers··on Windows93 SP2
My purpose was not to start an argument and I certainly respect your right to an opinion, I just strongly disagree.

I don't think an artist has a duty to anyone but themselves, especially on the internet. Should medical devices be designed so that they don't harm people? Definitely. But the factor there is that you're actively selling/distributing it to the public - or at the very least, you are making certain guarantees about the function of the device.

This website/artwork makes no such guarantees and as such I don't see how you can reasonably expect that it should tailored to any specific audience. Again, in the time that you and I have spent commenting on this - you could have either PM'd a mod to add a NSFW tag to the title, or modified the site itself to suit your needs - that's what's awesome about the internet.

jaquers··on Tesla Autopilot Review: It classified ~30% of other cars, and 1% of bicyclists
Hasn't this feature been out for like more than a year? Just saw an Elon tweet from last year talking about 250M miles logged on Autopilot... I feel like we would have heard about pedestrians/bikers being mowed down. I recall that the one death I have heard about, the car was not at fault.
jaquers··on Windows93 SP2
> I think there is still some duty to a website creator to consider what else people might want to use it for.

I could not disagree more with this opinion. The creator presumably hosts this website on her own dime & invested the time and effort to create this piece of art - and you are connecting to their server, free of charge. I don't see how you could reasonably claim that they have a "duty" to do anything.

You're right that an image of a nude woman would be make this unacceptable in a school setting - however, it is your duty to vet the content that you show in class, not the other way around.

Finally, I don't see what educational purpose this would serve - as it's not like this is actually an OS, perhaps as an example of html5/js programming or nostalgia. In fact the whole thing is a JS app, so there is nothing stopping you from running it locally, where you can edit to your heart's content. Ironically the first JS file I clicked on (desktop.js) contains the shortcut definitions for the desktop.

jaquers··on U.S. Census director resigns amid turmoil over funding of 2020 count
Your parent was off by an order of magnitude: $2B / $19,000B == 0.01%

Agree with both points, 0.1% is not nothing - that's what NASA scrapes by on. FWIW, the article mentions a ramp up in spending going up to the census year - so I take it that this is not an annual cost.

← PreviousPage 3 of 4Next →