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 5y ago · link · parent

> it may require significant effort to get this working

You're right, the author probably didn't provide externs and/or exports, so the tests fails. It's not really that much of an effort, especially if you're supposed to be testing the tool itself. Considering that the author is already testing libraries that have externs/exports written for them already, just shows the lack of care of the tests.

comment 5y ago · link · parent

True and I agree with you, fast deploys are one of the most massively underlooked productivity-sinks. Minification tends to be the slowest step in a frontend pipeline (at least in my experience) but it's closer to a two minute step with Google Closure Compiler on a small-size codebase (+20K LoC) than 30 minutes, and the size difference is more important (for us) than the difference between seconds when deploying.

comment 5y ago · link · parent

That's the first time I hear that. I always understood minification and minimization as synonyms. What would minimizing code mean for you?

comment 5y ago · link · parent

> clear winner overall. It’s always the fastest

If you're mostly worried about how quickly you can minify when you do minify, then you're worrying about the wrong thing. You want as small results as possible that can be executed the fastest, how long time it takes doesn't really matter as you only minify on delivery to end-users, not every time you make a change locally.

So instead it seems Google Closure is the best, in the cases the author got it to work. Otherwise it's UglifyJS/Terser, depending on your needs.

comment 5y ago · link · parent

Seems almost Google Closure (advanced) fails in half of the tests but otherwise wins the tests if it's successful. Seems to early to claim any "winner" here before someone manages to fix the tests.

A comment reads "google-closure-compiler is no longer maintained" but that's completely misleading. Maybe that's why the author didn't bother to fix their config for Google Closure?

7626.

Spains opt-out model for organ donation upon death(healthcare-in-europe.com ↗)

2 points · by capableweb · 5y ago · discuss

comment 5y ago · link · parent

No, import/export statements are part of ES6 modules. If you're targeting modern browsers (https://caniuse.com/?search=es6%20modules) you can just use it straight up, no need for complicating things with webpack, browserify and/or et al.

comment 5y ago · link · parent

> If you want your cake and to eat it too

Indeed, so let's assume because CodeMirror doesn't have a license like that, the authors don't "want their cake and eat it too", as the license is simply open source. Don't know where you get the whole "guilt tripping" stuff from, having a message that says "if you enjoy this, please donate" is guilt tripping...

comment 5y ago · link · parent

Not sure where the "implied shame" comes from, I certainly never put any shame if someone chooses not to donate to something where it's not required. I just saw the statement about the author wanting donations and thought I ask because I was curious. Both yes and no would have been fine in my book since as you say, no one owes CodeMirror nor the people behind it, anything.

comment 5y ago · link · parent

Since it seems you're using CodeMirror commercially and it's a core part of your offering, can I ask if you are currently supporting the development financially?

comment 5y ago · link · parent

Don't think that's the assumption. But it's a start. And since no one is throwing money to end world hunger, no one can even start. Hence Jezz Befos does indeed wake up every day and decide not to do anything about ending world hunger.

comment 5y ago · link · parent

One could say Homebrew is successful despite Apple not trying to even mention their name, even less help them be successful. Many groups also look at successful groups and think "How can we make them more successful?" but don't think that's in Apples DNA.

comment 5y ago · link · parent

Don't have a ton of experience with either macports or homebrew but pretty much any package manager deals with running multiple different versions at the same time, or projects using different versions of the same dependency, without getting in your way. Biggest/most famous example I guess would be javascript/npm/npm inc registry.

comment 5y ago · link · parent

> Google is all about building AI, ML, Algorithm, K8S

No, no big companies are "all about" anything, there is so many different areas of work, that rejecting a person because the company is "all about" X, doesn't really apply. If they wanted to work with him, they would have made it work. But they didn't, so they didn't.

comment 5y ago · link · parent

> I don't think they want to take on the responsibility for maintaining all those packages

That's not how a package manager works. The people responsible for APT/AUR do not maintain all the packages within the repositories themselves. This even applies to the App Store. Apple does not maintain the apps there themselves, it's up to the people publishing the apps. So there really isn't any reasons except they can't make money on it, hence it doesn't exist as an officially sanctioned way of pulling down programs.

comment 5y ago · link · parent

More details: https://www.mcafee.com/blogs/other-blogs/mcafee-labs/model-h...

And video demo: https://www.youtube.com/watch?v=4uGV_fRj0UA

7637.

Ether is more halal than Bitcoin(medium.com ↗)

3 points · by capableweb · 5y ago · discuss

7638.

Virgil Griffith(en.wikipedia.org ↗)

1 points · by capableweb · 5y ago · discuss

comment 5y ago · link · parent

Answer from Cloudflare team seems to be "No" - https://community.cloudflare.com/t/could-cloudflare-support-...

comment 5y ago · link · parent

This cable is not just to be used by Google right? Or am I misunderstanding something? Fundamentally, infrastructure should be publicly owned and then rented by companies to use it, in this case it seems like Google physically owns the cables and infrastructure which would be a massive waste.

comment 5y ago · link · parent

> If one actually does their market research and figures out who their users are and what they want, one should be able to iterate just as quickly in i.e. golang or another compiled language with a healthy ecosystem.

That's the key thing. You don't know until you put people in front of what you're building, to understand if you're actually solving the problem. Or even if the problem you're aiming for is the right problem. Hence you want a non-verbose and simple program that is easy to adopt to changes you want to make. Verbose languages that enforces you to be very strict, doesn't allow itself to change as much as a non-strict one. You're right that it's more error-prone, as you don't have the same guarantees. But in the beginning of launching something new to the world, you are gonna need to focus more on what needs to change, rather than how correct something is.

comment 5y ago · link · parent

Don't think that's quite right either. Pointer coarse would just refer to the device used for pointing. Using a tablet with a mouse would be "pointer: fine" but it's still a tablet.

As always, the issue isn't black and white. There is no solution that always works, because it depends on what you're targeting. If you want to scale elements to be easier clickable for people who might devices where it's harder to click/tap accurately, then "pointer: coarse" makes sense. If you're thinking about scaling elements on the website, some other solution fits better. Which one? Again depends on what you're aiming for.

comment 5y ago · link · parent

> I cannot imagine building beyond >1000 LoC in interpreted, dynamically typed languages

Many have imagined and built valuable stuff in interpreted, dynamically typed languages before you, by being more focused on overall structure and making sure it's strict and resilient. One really doesn't have to search far for successful applications that are certainly way beyond 1000 LoC and still iterate pretty quickly for their size.

> significantly easier to dockerize a generated binary from golang or rust

Not sure the verboseness of either golang or rust would be worth it if you compare it with python. If you're just launching, your focus should not be on performance or how easy it is to dockerize but to figure out who your user really is. Scaling and deployment issues will happen much further down the road, and iteration speed is more important in the beginning as you have many changes. Your architecture needs to reflect this too, and dynamically typed languages (arguably) makes it easier to change things, as long as you know what you're doing.

But together with that, you are eventually gonna have to start leveraging more languages, as you have programmers working on different levels of the overall architecture. Some fit for some tasks, and when it comes to quickly launching and iterating on SaaS businesses, dynamically typed languages are a pretty good fit.

In the end, I don't really think dynamic/static typing is the most important consideration, that's such a small part of what you have to think about overall.

comment 5y ago · link · parent

I'm also in a European country and using my national bank for trading. In the end, my bank is using JP Morgan for NYSE trades, so in the end would be up to JP Morgan to block trades. But everything seems to have worked fine here all week.

comment 5y ago · link · parent

Sounds like Robinhood was setup to fail from the beginning, if so. If you make it as easy as possible to do trades but then start getting "rate-limited" essentially, it was never gonna scale in the first place.

Gonna be interesting to see what gets to replace Robinhood for easy and reliable trades in the future.

7646.

EFF Blue Ribbon Campaign(eff.org ↗)

7 points · by capableweb · 5y ago · discuss

comment 5y ago · link · parent

- NYC Mesh - US - https://www.nycmesh.net/

- Freifunk - Germany - https://freifunk.net/

- Guifi - Spain - https://guifi.net/en

Guifi is probably the largest of those, with 36.924 online nodes, most in Spain but some in other parts of the world. If my memory serves me correctly, there is peering working/in progress between Freifunk and Guifi as well.

comment 5y ago · link · parent

You might not want to publicly state you don't know how to deal with moderation (centralized or decentralized) when you're running a public forum, there are tons of solutions out there in the public. Also, why would WSB decide to join you when you're stating you don't really know what you're doing?

comment 5y ago · link · parent

Parler didn't go down because it's impossible to host platforms without getting taken down. Parler got taken down because they went with hosting providers who have proven time and time again they are not independent platform providers who just follow the law, they are platform providers with opinions that will act on their opinions if they feel like it in the morning.

If Parler wanted, they could have gone a different route and survived without any issues.

comment 5y ago · link · parent

No? The insult is to the person you say "was your mother frequently drunk while pregnant with you", not everyone else who might fit that particular profile.

If what you're saying would be true, then calling someone an idiot would be an insult to all the idiots out there. They are clearly not the target of the insult, the person you say it to is the insulted.

1
254255256
307