Better HN
topnewbestaskshowjobs
Log inSign up

styfle

1,940 karma · joined Sep 20, 2016 (10y ago) · 531 submissions

https://styfle.dev

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

Submissions

181.

Newtoo – brand new web browser engine in C++(github.com ↗)

3 points · by styfle · 8y ago · discuss

comment 8y ago · link · parent

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...

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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!

comment 8y ago · link · parent

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

comment 8y ago · link · parent

Won't the new name confuse potential customers because they think of the Azure cloud for deployment?

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

comment 8y ago · link · parent

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

comment 8y ago · link · parent

Can you explain what you can use beaker browser for, even without adoption?

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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'));

comment 8y ago · link · parent

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...

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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

comment 8y ago · link · parent

Microsoft Windows vs Microsoft everything else?

comment 8y ago · link · parent

How can Safari go this long without implementing this part of the HTML5 standard? Is there even a ticket to implement?

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

> The simplest code is an empty file

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

comment 8y ago · link · parent

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

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

Yes! I find that button clicks feel slow because (it appears that) the action does not start until the ripple animation completes.

comment 8y ago · link · parent

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

comment 8y ago · link · parent

I have a couple projects that are getting a decent amount of stars recently and I'm looking at the stats for the last two weeks:

- One has 3750 unique visitors, and 680 stars in 2 weeks

- Another has 80 unique visitors, 20 stars in 2 weeks

1
678
18