HNHacker News
TopNewBestAskShowJobs

styfle

1,940 karma · joined September 20, 2016

https://styfle.dev

[ my public key: https://keybase.io/styfle; my proof: https://keybase.io/styfle/sigs/k5Jx2P3fJ9JOZsHyU2TLChLetDsvmL2mHK7wJMj-nKk ]

submissionscomments
styfle··on Go 1.11 got me to stop ignoring Go
As someone who hasn't used Go, it sounds like GOPATH is very similar to an Eclipse IDE Workspace.
styfle··on How to delete Facebook and not lose your friends and photos
I started getting friend suggestions from facebook very regularly about 6 months ago. They show up as notifications and there are typically more suggestions then actual direct communication notifications. I used to see things like: you were tagged in photo, friend commented on your post, etc. Now all I see is: you might know John Johnson. I don't even see a setting to disable these suggestions. So it's not surprising to me how people end up with 1500 friends.
styfle··on How companies use fake sites, backdated articles to censor Google results (2017)
Yes, this appears to be the date google shows next to the search results.

Every time I write a blog post, I submit manually via webmaster tools "Fetch as Google" so that it gets indexed immediately. That way, the date google shows matches the date I published the article.

styfle··on Introducing Cloudflare’s IPFS Gateway
You can use any gateway with your custom domain name? Potentially you could but I don't know of any that let you do this.

My impression of the public gateways was that the end user would need to know the content hash of your website which makes for a poor user experience.

This announcement claims the end user just uses the website as they normally would by visiting example.com but behind the scenes there is no central web server because the content is pulled from IPFS.

DNS was the missing piece :)

https://developers.cloudflare.com/distributed-web/ipfs-gatew...

styfle··on JavaScript Equality Minesweeper
This is especially useful if you are using TypeScript (or Flow I assume) because the type checker can give you an error at compile time. After performing the runtime check, TypeScript will know that null/undefined is not possible.

See this example https://goo.gl/AyoC3T

styfle··on Introducing Cloudflare’s IPFS Gateway
Here is one really important part that I almost missed when reading this announcement:

> Using Cloudflare's gateway, you can also build a website that’s hosted entirely on IPFS, but still available to your users at a custom domain name.

This is huge step forward for the distributed web!

styfle··on Brave files adtech complaint against Google
In June, I too had an auto-update from Beyond Compare failing due to Malwarebytes and it made me think their servers were compromised. Nope, false positive.

It looks like this happens often enough, there is a whole page dedicated to false positives.

https://www.scootersoftware.com/support.php?zz=kb_virus

styfle··on Introducing Azure DevOps
Won't the new name confuse potential customers because they think of the Azure cloud for deployment?

https://news.ycombinator.com/item?id=17953823

styfle··on Introducing Azure DevOps
How many times has this thing been re-branded?

1. Team Foundation Server (TFS)

2. Visual Studio Team Services (VSTS)

3. Azure DevOps

Imagine if GitHub renamed itself every few years?

Or is the idea that this is going to be marketed towards Azure users and GitHub will be promoted to the new VSTS once it gets a few more features for project management and PRs?

https://twitter.com/styfle/status/1032702016064286720

styfle··on Decentralisation: the next big step for the world wide web
Can you explain what you can use beaker browser for, even without adoption?
styfle··on Checked C: Making C Safer by Extension
There is some precedent for a new language that gradually improves safety of an existing language; TypeScript did this to JavaScript and is arguably successful.

I don’t know if Checked C will have the same success story but if devs can easily add this to their existing projects and it catches bugs, that seems like a win to me.

styfle··on Show HN: Passwordless Authentication Wallet (PAW)
I tried the demo. And got an error "Timestamp outside of window threshold."

I tried to click Signup and enter an email. That seemed to stick around but I see the error message each time I try to log in with PAW.

styfle··on TypeScript at Google
I agree, the TypeScript team loves React and one of the reasons I started using React was because JSX/TSX is one of the few ways to type check views.

I have been maintaining some boilerplate to demonstrate TypeScript + React SSR that should point the reader in the right direction https://github.com/styfle/react-server-example-tsx

styfle··on California Moves to Require 100% Clean Electricity by 2045
As someone who has lived in both So Cal and the Midwest, I can confirm this.

In So Cal, I didn't have A/C for 10+ years and rarely used the heater (a desktop computer can double as a heater haha).

In the midwest, the A/C or heater is on pretty much 24/7 because even when the temperatures look favorable, there is humidity.

styfle··on Methodologies for measuring open source project health
I haven’t seen any tools that measure this. I have seen one or two tools measure the time an issue stays open which is not a good metric since some GitHub issues are bugs, others are proposals that take more time to discuss.
styfle··on Liftoff: a new baseline compiler for WebAssembly in V8
I'm very excited to see how wasm is getting 1st class treatment from most browser vendors.

Does anyone know of projects that ship wasm files (preferably via npm)?

I would like to try out the streaming API but I don't want to compile C++ right now

    const module = await WebAssembly.compileStreaming(fetch('foo.wasm'));
styfle··on Serverless Docker Beta
Yes, termtosvg is a really good solution to this problem!

Here's an example with a pause/play button:

https://rawgit.com/nbedos/termtosvg/develop/examples/awesome...

styfle··on MkDocs 1.0
Some projects are hard to divide up donations.

Does it split evenly to anyone who wrote code? What about people who only review and merge PRs?

What about if someone was unavailable for a month or two—do they still get a cut for current donations?

I help maintain marked.js.org and we currently don’t accept donations because of these questions.

styfle··on Announcing Dart 2 Stable and the Dart Web Platform
How does your experience with Dart compare to TypeScript in VS Code? I haven’t tried Dart yet but my TS experience sounds similar to what you described.
styfle··on On Connection Speeds and Appropriate Technology
This is a bit of a meta comment (not commenting on the content of the article but the tech that the website is built on):

http://txti.es seems to have similar goals to https://itty.bitty.site but the former appears to use a database that may or may not delete content. The latter does not store content so it could potentially live longer.

See this related HN discussion: https://news.ycombinator.com/item?id=17459204

styfle··on Krita in the Windows Store: an update
Microsoft Windows vs Microsoft everything else?
styfle··on Designing the Perfect Date and Time Picker
How can Safari go this long without implementing this part of the HTML5 standard? Is there even a ticket to implement?
styfle··on Postmortem for Malicious Packages Published on July 12th, 2018
I think all of those cases are possible today, you just need the right tools.

For example:

1. contains a syntax error: this is solved with TypeScript or flow which can run against a .js file

2. calls to eval(): this is solved by linting the .js file

3. only 2 hours old: this is solved by looking at npm publish date for the package version...take a look at the "time" key here: https://registry.npmjs.com/eslint-scope

styfle··on Postmortem for Malicious Packages Published on July 12th, 2018
There is a ‘npm audit’ command but that checks for known versions of a package that have a vulnerability so it’s not a static analyzer as far as I know.
styfle··on DigitalOcean’s quarterly report on developer trends in the cloud
I think the difference is that you don’t know if the server is running Apache or nginx or IIS because it’s abstracted away.

The only interface is the input into the function and the output it returns.

styfle··on Simple, correct, fast: in that order
> The simplest code is an empty file

Reminds me of this: https://github.com/kelseyhightower/nocode

styfle··on DigitalOcean’s quarterly report on developer trends in the cloud
Also it fits in nicely with the other naming conventions such as the following:

- Software as a Service (SaaS) - a product such as GitHub or Slack

- Infrastructure as a Service (IaaS) - VM or LB as you find in Azure or AWS or Digital Ocean

- Platform as a Service (PaaS) - sometimes called Container as a Service as you find in Heroku or Zeit Now

- Function as as Service (FaaS) - a single function as you find in Lambda

styfle··on Show HN: Material Dashboard – Free Admin for Bootstrap 4, React, Angular, Vue.js
It could be just the perceived time in my head.

I remember seeing studies about progress bar lines can make the user perceive that progress is happening faster.

Either way, it’s a deterrent for me.

styfle··on Show HN: Material Dashboard – Free Admin for Bootstrap 4, React, Angular, Vue.js
Yes! I find that button clicks feel slow because (it appears that) the action does not start until the ripple animation completes.
styfle··on Electron 3.0.0-beta.1 – Chrome 66 and Node 10
I like Electron, but there are alternatives.

I’ve been keeping a list of Desktop JS frameworks[0] that might interest web devs wanting to make desktop apps.

[0]: https://github.com/styfle/awesome-desktop-js

← PreviousPage 6 of 15Next →