HNHacker News
TopNewBestAskShowJobs

petemill

551 karma · joined September 29, 2013

submissionscomments
petemill··on Is Inequality Inevitable?
Classic. Poor people just aren't working hard enough!
petemill··on Electron 7.0
Without it, you could do just a web app?
petemill··on Electron 7.0
Except it isn't all platforms - it doesn't include iOS and Android. But the web, especially an installable web app (PWA) is exactly all platforms. As well as solving the issue of a shared chromium engine, or engine of your choice.
petemill··on Dark mode in a website with CSS
Some teams will start with 'visual' design at the beginning of the process and, in that case, will do the ~48 mockups before any code is written (it's more because there aren't just 2 different screen sizes). It's a more satisfying (and perhaps cheaper) process to develop in stages:

- content hierarchy (what's important on one platform will rarely change between other platforms, despite the developer guessing otherwise)

- interactivity (the platform can most of the time cater to the differences in input if you lean on the platform capabilities)

- style

- Iterate and Perfect on the 48 versions

petemill··on Browsers are pretty good at loading pages
But you can support both with client side navigation
petemill··on Dear Agile, I’m Tired of Pretending (2018)
It is a balance: We don't know how long something we've never done before is going to take, and at the same time, we often need some time boundaries so we don't go off tangent building some wildly ambitious re-write of the world.

Perhsps the qustion we ask in projects shouldn't be "how long will this take?" but: "How long do you want to spend on this problem?".

petemill··on Luakit – fast, extensible, and customizable web browser
Muon, but it’s abandoned now
petemill··on Evergreen: a React UI Framework built by Segment
Nice library, organization and write-ups. They don’t seem to talk about responsive though. Since size, typography and spacing are all passed as exact values, how do they imagine providing different values for different devices or windows? Conditionals in JS?
petemill··on Found hooked up to my router
Whilst it's certainly a scam to do with advertising [0], I doesn't look like there's any evidence that the scam has anything to do with 'stealing' anything from network / network traffic:

> Facebook has several mechanisms in place to protect your account. We make every attempt to work within the these constraints. In order to keep your account from being locked we use a small device called a Raspberry Pi. This device allows us to connect to Facebook advertising APIs from your home network and avoids the hassle of your account being locked due to unfamiliar activity. Learn more about the Raspberry Pi below.

[0] https://www.reddit.com/r/Scams/comments/2vd1g8/scam_rentyour...

petemill··on Tailwind: A Utility-First CSS Framework
I do see the 'utility'(!) of this kind of approach to css, but have a main issue on responsiveness. Yes, the solution commonly touted is to define global breakpoints: 'small' 'large', etc. But for me defining those globally is too narrow. Sometimes different groups of components need to respond differently, with context. More worryingly, soon we'll move to 'element' queries, which should suit better than screen-based media queries. We'll be able to say 'when this component is squeezed down to < 500px wide, then wrap the second element underneath the first. That approach is more compatible with modern component architecture. But I don't see a context-specific or even component-specific solution immediately with this framework.
petemill··on Show HN: I made a privacy-first minimalist Google Analytics
Screen sizes is ambiguous here - are you measuring viewport width (`window.innerWidth` - helpful) or the display the window happens to be on (not too helpful)? Also something to make that data useful would be show the range of sizes, instead of the top specific size. E.g. 1280 may be _the most popular_ but there may be more users using larger width windows, just more variation in those sizes (1320, 1440, etc), so a top level range could be a nice differentiator here.

But, how useful are these stats going to be without being able to see user journeys through a path of pages / actions? Yes, it's good to know which pages are getting how many views. But, in order to improve the UX, we often need to know how many users are able to go from Page A to Page C and whether they went through Page B first. Or e.g. if 90% of sessions that start on Page A (so we know what their purpose was), end on Page B but the main (perhaps beneficial) action for the user was on Page C. You can't just look at the pageviews for each, because you don't know where the session started.

I fear that this would reduce people to "inferring" (guessing) too much about the data that they see, and making decisions they feel are backed with data when there's not enough data to conclude. Then again, I'm sure that happens when the data is there too :-)

petemill··on Patrick Stewart Returns as Jean-Luc Picard for a New Star Trek Series
Different times. He stated that he’s only now excited about returning to the role, and hadn’t previously been the last 20 years, because he sees how bleak many people’s outlook is about the world right now. He himself has uncharacteristically begun watching the TNG episodes for a dose of hope. So I think we will find the federation in a state of dis-unification (earth exiting the union? immigration problems?) and perhaps even Picard struggling to find and build hope.
petemill··on Patrick Stewart Returns as Jean-Luc Picard for a New Star Trek Series
Discovery is set before all of that, so for now it is prime
petemill··on Collection of Useful CSS Snippets
You can fix that with css transitions
petemill··on Yale researchers conducted an experiment to turn conservatives into liberals
Except that it’s all relative. What you’re describing would merely be a shift, and only on some issues at that. Even within the most progressive / conservative groups, there are divisions. You would never get a place with universal acceptance of every issue. There would certainly still be conservatives and liberals, but at different places in the scale for each issue, compared to somewhere like the USA. See other countries for examples. It’s not so black and white between ‘left’ and ‘right’.
petemill··on Migrating Slack's Desktop App to BrowserView
and that's exactly what the new version is perhaps going to solve as per the article with regard to inactive groups being unloaded to a minimal version which deals with only notifications.
petemill··on Migrating Slack's Desktop App to BrowserView
Even if it was done in Xamarin, you'd still need some kind of web client / browser to fetch and render the actual slack workspaces
petemill··on Introducing Surface Book 2
I use a single TB3 port to connect two 4K displays, 100W power and all USB devices all through a single cable
petemill··on Homebrew, but with Docker images
The other advantage is that the processes are not only isolated, they only have access to the current working directory at runtime, and cannot access any other path unless you explicitly specify.
petemill··on Netflix Infinite Runner
It's a game, why is it your expectation it should be instantaneous?
petemill··on HDMI 2.1 Announced: 10Kp120, Dynamic HDR, New Color Spaces, New 48G Cable
I agree, I have noticed some poor 4k quality, even on netflix, especially in dark scenes.

I am constantly consulting realorfake4k.com especially since the marketing for streaming (and even purchasing) is so confusing on Amazon Video.

petemill··on HDMI 2.1 Announced: 10Kp120, Dynamic HDR, New Color Spaces, New 48G Cable
Your 60" TV is not big enough for 4k at 7' away. You need > 75" of screen[0]

[0] http://www.rtings.com/tv/reviews/by-size/size-to-distance-re...

petemill··on Atom-in-orbit: Putting Atom in the browser
Google docs works offline, and so do / can cloud-based IDEs. Another option is that your browser can still load local web apps, and you could run your IDE service locally.
petemill··on Atom-in-orbit: Putting Atom in the browser
cloud9ide already did this
petemill··on Ask HN: Best examples of self-contained React/Redux component
If it's self contained then wouldn't / shouldn't it be a react component without redux? Redux is designed to manage state passing to properties in many components organized in your app, but you're asking about a single component.
petemill··on Thomas Edison’s Ambitious “To-Do” List from 1888
http://theoatmeal.com/comics/tesla
petemill··on DynamoDB cannot store empty strings
Your answer is entirely correct. This should be the top comment.
petemill··on Safari Technology Preview supports 100% of the ES2015/16/17 features
FYI chrome on macOS supports handoff too
petemill··on I made an iPhone game with PhoneGap and won't do it again
Why isn't it nasty that you can't pinch to zoom in all apps? What makes web sites which declare they have been laid out for a small screen just like an app different?
petemill··on Blueprint – A React UI toolkit for the web
It seems you may have to include the css for the whole library on every page[0]. I would have much preferred it if the css for each component is included on your page as you require the component.

Though I admit it is confusing since the "Let's Get Started" section of the homepage[1] does not mention including the global css.

[0] http://blueprintjs.com/docs/ [1] http://blueprintjs.com/

← PreviousPage 2 of 3Next →