Better HN
topnewbestaskshowjobs
Log inSign up

capableweb

37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions

Curabitur pretium dui sit amet quam pharetra, at condimentum turpis auctor. Maecenas vitae varius sem. Sed vel ante massa. Nulla a leo est. Morbi quis pulvinar nulla, et imperdiet nibh. Curabitur varius felis tempor nisl vulputate, id accumsan libero placerat. Sed mi odio, auctor ac lacus vel, sollicitudin mattis dolor.
Submissions

comment 6y ago · link · parent

Just wanted to mention that changing the tab name to "Steve says..." and back to your normal attention, just because the tab is in the background, feels like a terrible way of getting my attention. It's mostly annoying but then when I go to the tab, there is no Steve saying anything! Would expect something happened. But then putting the tab in the background shows the switching of tab name again. Not very nice UX.

comment 6y ago · link · parent

I'm not near being a scientist, but the wikipedia page for Resveratrol (https://en.wikipedia.org/wiki/Resveratrol) lists no health effects, what effects are you taking that for?

comment 6y ago · link · parent

Yeah, but everything will happen so fast the market won't have time to react as you think. The value of stocks et al are based on what people think will happen in the future, not what's happening right now.

comment 6y ago · link · parent

I wonder how likely this guess is. Not only specific to one country, not just a state in that country, but an area of a state. Wonder how the chance of successful guess looks like, compared to the total users here on HN.

comment 6y ago · link · parent

I wouldn't blindly trust it _just because_ a doctor said it, but I would definitely put more trust in a doctor giving medical advice than someone who is not a doctor or similar. Isn't the whole thing with medical advice and doctors that doctors are being trusted and believed in, meaning they have credibility.

comment 6y ago · link · parent

> reasonable amount of time

Depends very much on your own bandwidth. For someone with 400Mbps, 20GB+ doesn't take that long time to download in the end, especially popular torrents.

But then again, not many have that kind of bandwidth available.

comment 6y ago · link · parent

> For me, it's obvious that a virus that starts on the other side of the world and could kill millions of Americans is an urgent national security problem and the defense department should be involved.

Well, as I understand it, Defense Production Act would mean for-profit companies who are earning lots of money on the current event would earn less money. If any of these people who earn money on the current event is sitting in the current administration, it makes sense that they don't see any huge issues with not using the Defense Production Act. I guess that's what you get when a country solely focuses on capitalism since it's inception.

The following quote, while not exactly for this situation, comes to mind:

> It Is Difficult to Get a Man to Understand Something When His Salary Depends Upon His Not Understanding It

comment 6y ago · link · parent

Tried it out before (and your comment actually triggered me to try it out again just to see) but I'm struggling to find anything it does that vim + fireplace doesn't do while vim is way faster and takes less screen-estate so I can have my browser + editor side-by-side.

comment 6y ago · link · parent

> no-one should be surprised to see no contributions from Apple to the Linux kernel anyway

Why not? I know Apple is generally looked as a closed down company, but I'm still surprised that a company with their caliber, capital, resources and engineers can't find the time to help out the community that is helping them.

comment 6y ago · link · parent

> How are your production bundle sizes?

Application I'm working on is not that complex, 20 something different pages with multiple sub-sections themselves, bundle ends up being 1.5MB or something like that, 300kb gzipped. Main weight comes from using multimethods which pulls in a lot of cljs.core, so not using that would make it a lot smaller.

Also gonna start splitting the bundle per page but haven't yet.

> Are you using shadowcljs? If not, what tooling are you using?

No, using figwheel-main, project was started before shadowcljs starting to look as good as it looks today. Starting a project today I would probably look into shadow-cljs first. But we're not using any npm dependencies, but shadow-cljs seems to have better introspection properties than figwheel-main (like seeing partitions of bundle size easier, we're currently doing it by looking at the sourcemaps...)

> Also, what editor?

Using vim + fireplace which been working really well for me.

> Calva wasn’t up to snuff. I wonder if that’s changed

Haven't used Calva myself but tons of people in the community swear by it, so I'm thinking it's been improving since the last time you tried it.

I'm not sure when was the last time you tried Calva but Calva been in at least two Clojurists Together (https://www.clojuriststogether.org/) funding cycles, so if you tried it before mid-2019, give it a try again (and report back :) )

comment 6y ago · link · parent

Interesting, haven't heard this before. Got any links where this is being discussed?

comment 6y ago · link · parent

Good news, it's already been proposed! <link rel="import" href="/myfile.html">

Some links: https://w3c.github.io/webcomponents/spec/imports/ https://www.html5rocks.com/en/tutorials/webcomponents/import...

Not sure about the current support in browsers, but the specification is currently a draft

comment 6y ago · link · parent

The author is inventing HTML6 on their own. This is not something official. The "Express tags" example links to nowhere and first time ever I hear about it (I'm a web developer). Also, "dialog" element is clearly part of the HTML5 (5.2 exactly) spec and not HTML6.

"Introducing cachable libraries in HTML6 will be a step towards improving the productivity of both web designers and users." WHAT?! No. Nothing here makes sense. Libraries you're using have been cached in the browser since... Before I started doing web development.

So I'd say ignore this article. Seems to be some sort of viewgrab.

Edit: Author is asking "HTML6 release date?" which shows that this author might not even be a web developer, as they show signs that they have no idea on how the process works or what the HTML specifications really are.

Edit2: How does trash like this get updated in the first place? Any web developer would look at this article and recognize it as non-sense. Are people blindly upvoting titles without even opening the page and skimming the content?

comment 6y ago · link · parent

Seems to be a wishlist because there is no links to anything external and it's the first time I hear about "Express tags", searching shows nothing and the example they are using doesn't make any sense.

comment 6y ago · link · parent

I'm also avoiding typescript as much as I can, but not because typescript itself, but because of how typescript projects tends to be outlined. Lots of the projects are way over-engineered for where they are on the timeline and typescript makes people reach for classes too early. Seeing the same with vanilla JS projects now too when `class` been introduced.

Instead I'm stricly using ClojureScript as the tooling is really solid in everything Clojure, backwards compatibility is a huge selling point in everything Clojure and projects using Clojure/Script tends to be just of the right size and think more about the data structures themselves instead of what many refer to "proper engineering" (SOLID patterns and other nonsense)

comment 6y ago · link · parent

Oh, sorry, I misunderstood. Thanks for clarifying!

comment 6y ago · link · parent

> I don't have a better solution though

Don't host in such a way that you're paying for traffic... Hetzner, OVH and Packet all have dedicated servers where you don't pay for the traffic, inbound or outbound.

Edit: judging by other comments here, it might seem like US zone of Fly.io is in fact hosted in Packet so they are probably themselves not paying for the traffic. Maybe they are using Hetzner for the EU zone (or OVH for that matter).

comment 6y ago · link · parent

Maybe in the mandatory spending of the budget, social security is a big part of it, but looking at the discretionary spending which is 50% defense, it sure is a big part of the budget in the US.

And sure, US spends a lot on social security, but how effective is it really? "Safety net" is a lot larger than just social security. For everyone to be able to go to the hospital for free is one thing that contributes to a safety net that the US does not have.

comment 6y ago · link · parent

Camera + OpenCV maybe? Seems simple enough

comment 6y ago · link · parent

Bleach? I would hope not. This is spraying your anus, which you should avoid using soaps (or holy shit, bleach?) and only use water or specific soaps. Same with your penis, which I hope you're not washing with regular soap (or bleach)

comment 6y ago · link · parent

If you read beyond two words from the title, you'll see the full title is "Introducing a simpler, more organized Slack" which includes "organized", so probably not related to performance or stability in any way.

Subtitle is "We’re releasing a series of improvements that make working in Slack easier for everyone" which also implies this is all UX work.

Your whole comment feels off-topic in regards to this, and could have been made to any Slack submission to HN. Maybe there should be a different channel for general complaints?

comment 6y ago · link · parent

I see. Since you made a top-level comment, it seems you're commenting about the article itself. If you're replying to comments, I suggest you use the reply functionality and it all becomes a little bit clearer for everyone.

I, for one, also like the comments here as they expand and dive into more topics that again, "some of us" have not read/heard about before so grateful for that.

comment 6y ago · link · parent

> most of us

Who are "most of us"? People on HN? People who do programming?

I've a professional programmer, but horrible at math. Don't have any formal education and even less education about discrete math. So for me this was educational and I thank the author for putting it down in writing and sharing the knowledge.

I'm sure I'm not alone on HN or in the software industry with this.

I'm also sure I'm sitting on bunch of knowledge you have no idea about, but when others share that, I don't shoot them down for it, I'm happy we're all helping each other understand things.

comment 6y ago · link · parent

> There is no defensible reason to presume good faith on the part of a medical equipment manufacturer, even though a few do have it.

I agree and I also think it's incredibly shitty of a medical company to threaten to sue in these trying times. Really exposes what they are all about. I was just trying to see the coin from the other side, trying to understand.

comment 6y ago · link · parent

> Why does an open source project has to be mutually exclusive to being a professional product?

It doesn't, there are plenty of open source professional products. This doesn't seem to be one of them though, as I would expect a company with for-profit motives behind it if that's the case. This seems to be a project that is merely supported by a company to support the development, which is also fine.

comment 6y ago · link · parent

I'm sure the cost of these valves are not in the production but in the research of coming up with the design to produce and other things before production. So they price in order to recoup already spent money and get some profit on it too. For sure it doesn't cost them 11k to make.

comment 6y ago · link · parent

> However, when the pair asked the manufacturer of the valves for blueprints they could use to print replicas, the company declined and threatened to sue for patent infringement, according to Business Insider Italia. Fracassi and Ramaioli moved ahead anyway by measuring the valves and 3D printing three different versions of them.

Which links to https://it.businessinsider.com/coronavirus-manca-la-valvola-..., in Italian, and I don't understand Italian.

comment 6y ago · link · parent

Seems the form's action goes to their backend and you also include your email in that url, so seems to be a "form submission > email" service.

Would look like this:

<form action="https://airform.io/your@email.com" method="post">

  <input type="text" name="name" placeholder="Enter your name">

  <textarea name="message" placeholder="Enter your message"></textarea>

  <button>Send</button>
</form>

comment 6y ago · link · parent

If you're interested in some more details: https://devblogs.nvidia.com/vulkan-raytracing/

Do note that the following is part of the article and it's from 2018, not sure about it's accuracy anymore: "As denoted by the ‘NVX’ prefix, this API is not yet final and could undergo some minor changes before the final release."

comment 6y ago · link · parent

Clojure: (assoc old :key new-value)

just a fn in the end

1
289290291
307