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

Probably most people upvoting didn't know about the NYT article (does everyone here read all the NYT articles?) and thought it was interesting.

comment 7y ago · link · parent

Related: A Declaration of the Independence of Cyberspace

https://www.eff.org/cyberspace-independence

Written by John Perry Barlow (of Grateful Dead fame and more)

comment 7y ago · link · parent

As many for-profit companies, Medium was great when it was the underdog and their goal was "Sharing ideas and experiences moves humanity forward" and their implementation was to make a distraction free reading with no fuzz.

At one point, it changed (hint: they need to show their investors they can turn a profit) and it's now "Get smarter about what matters to you" with distractions everywhere + the added benefit of being tracked of every scroll/click.

comment 7y ago · link · parent

And what decides if a article is "legit and important"? If some other legit and important article links to it, of course!

And so we continue, until only the bottom-feeding "high quality" is left at the top of the search result, which is generally boring but "correct" content.

comment 7y ago · link · parent

I understand where you coming from, but I don't think this "modern web-user" is unfamiliar with what email is, so the sarcastic tone is a bit over the top and usually not appreciated on HN.

Instead you could have spent time explaining a better way of browsing the content, or what to consider when reading. Instead of assuming this person doesn't know what a email address is.

comment 7y ago · link · parent

Sorry, I misunderstood and thought you were trying to correct me! Thanks anyway :)

I would agree, but I think the difference nowadays (had to look up I got "nowadays" right, seems I did!) is that people usually want a quality filter in front of them (like upvotes, likes, retweets or some other metric) rather than just having to judge by themselves.

In good ol' email threads, you always had to judge by yourself. In social media today, many assume quality because of metrics.

comment 7y ago · link · parent

I did not know that it's "day" not "days". Not a native English speaker and have always been saying it "days". Thank you for correcting me!

comment 7y ago · link · parent

Like the rest of us, get browsing! https://minnie.tuhs.org/pipermail/tuhs/

Might as well add a disclaimer: back in the days, in order to find the gold nuggets on the web, you had to shift through shit. A lot of shit. But then once in a while, you find those little nuggets that made the whole shit-shifting worthwhile. Useful exercise in patience for beginner webbers maybe.

comment 7y ago · link · parent

When I talk about shitty unit tests, I mean regardless of language (bad unit tests seems as prevalent in JavaScript, as TypeScript, as Ruby, as Python, Rust, Go and the list goes on)

comment 7y ago · link · parent

Yeah, budget categories would definitively be needed. While a 1 million euro budget would be fun to see, I think a 1000 euro budget group would be way more fun. It would basically be "Scrapheap Challenge" but more sport focused.

comment 7y ago · link · parent

I've seen exactly the same problems with large TypeScript codebases as the JavaScript codebases have. Refactoring becomes a hassle not because there is types or not, but because there are endless of useless unit tests testing implementation details, because the architecture is highly coupled in the wrong places and because little care was made when the architecture was dynamically created (because "agile" or what ever) without considerations.

Having good and smarter tests helps more for ease of refactoring than having everything mapped to types. But I might just have seen bad examples of TypeScript codebases.

comment 7y ago · link · parent

> The nature of the language is that without iron code discipline Javascript code inevitably turns into a mud-ball.

Could you outline what you think makes JS more likely to turn into mud-balls compared to other languages?

In my experience, no matter what language you use, or with what pardigm, unless you model and design your software architecture with discipline, you gonna end up with a mud-ball.

Has less to do with the language and more about the process you use to model your domain.

comment 7y ago · link · parent

> Pacific protests are allowed every day

Unfortunately, in Spain they are not, thanks to the infamous "Gag Law". You first need permission to protest anywhere and you're not allowed to protest near Spanish institutions at all. Fines range between €30,000 and €600,000 if guilty, which is way above what anyone who actually protests could pay.

comment 7y ago · link · parent

I think you're right in the first part. Image hosts have been relying on ad-revenue to survive, but it destroys the user experience of a image host, so then the revenue quickly disappears and the host goes down. This is the life-cycle of a traditional image host.

I could see two different models solving the problem. One is a donation model where the image host is collectively paid for by contributors who'd like the host to remain free and independent.

The second model is to have funding per image. When a image is first uploaded, it gets 1 week of free hosting, and if people want the image to be available for longer, people can donate for that specific image to stay online for X days, depending on funds donated.

Basically crowdfunded media hosting.

comment 7y ago · link · parent

Anywhere where you can directly link to a image without the hoster doing any funky redirects.

Usually, the image hosts starts being like ^ while then slowly transitioning to more and more user-hostile patterns.

Only way I found to avoid this is to setup my own Hetzner box (unlimited traffic) running nginx to serve images. Use `scp` to upload them.

comment 7y ago · link · parent

> not a tech demo where vastly different constructions would compete for speed

I have to say, I'm not that interested in F1 but if there was a F1-like competition where there is no regulation and it's all about technological innovation, I would watch that.

comment 7y ago · link · parent

I wasn't thinking about the ecosystem or tooling, but more the fundamentals of the structure of a program. Thinking more about the domain, how to solve the problem in a simple maner and similar. Not arguing about syntax or other smaller distractions.

I agree in everything else you wrote.

comment 7y ago · link · parent

You would do what Reagent does and use JS interop yourself and call React directly. Plenty of people in Clojure-land implement things themselves if the thing to implement seems simple enough. Probably more true for Clojure developers than let's say JS/Ruby developers.

comment 7y ago · link · parent

You could do more! Use Array.map and Function.apply via interop and you seem to have it all in JS

comment 7y ago · link · parent

> Clojurescript has not adapted to promises/async with its own (improved) version

In general, that's not how the development of Clojure has happened in general. Clojure is a leader when it comes to realization of new ideas in software engineering, sitting at the frontlines. Probably due to it's lisp nature mixed with it's pragmatic leader.

> core.async which predates ES6 and so does not take advantage of the new async/yield features of ES6

In general, in a Clojure(script) codebase, you don't have the same problems as in a JavaScript codebase. There is no need to change the implementation of a abstract thing like core.async (CSP in this case) just because there is a new way of doing it.

> Clojurescript does not seem to be interested in adapting to the current JS standard

This is true, and I think Clojure is trying to make a point of remaining like that. The JS Standard is evolving after what people want the most, not what it's designer think is the best. I guess this is the essence of the differences between Clojure and JS, one is leading one person, the other what people demand to have.

comment 7y ago · link · parent

I can understand where you coming from, Clojure developers take a lot of time to think and discuss what seems to be irrelevant (to the business) details of software engineering.

I can ensure that it's not like that at all. Clojure is a very productive language (see: focus on repl, clojure.spec and similar efforts) and also pragmatic.

If you and others have the feeling that it seems like a unproductive language, I invite you to take a closer look. Once I sat down and actually tried hard to learn it, it didn't take very long to get productive in it, compared to other languages I've learnt.

comment 7y ago · link · parent

In re-frame you would dispatch a event to tell your application you need some data to be fetched. Once the data has been fetched (or received an error), it dispatches another event. So basically with re-frame applications, it's all events.

Also, I think the whole "callbacks vs async/await (promises)" is only relevant in JS, where callback-hell is easier to end up with. Mostly because clojure as a language (lisps really [I think?]) prefers very small, composable functions. So by just following that, you avoid callback-hell.

I'm also working on a clojurescript codebase in my daily work. Using clojure.spec to specify behaviour and simulate data for my reagent components. Transducers I have not have the need to use yet.

Regarding React Hooks, when using reagent together with re-frame, you basically end up with all components being state-less, and having the react hooks would just couple functionality to one component, so it's not really needed.

comment 7y ago · link · parent

> HTTP isn't a notification source, it's a communication medium.

> WebSockets isn't a notification source, it's a communication medium.

> Email isn't a notification source, it's a communication medium.

Seems like sometimes communication mediums are being used as notification sources. And that's fine.

comment 7y ago · link · parent

I try to understand both sides without siding too much with either.

"there's no substance to an argument where Catalans are ignored or overruled from the central parliament because of any sort of authoritarian rule" leads me to believe that you're not thinking the same way as me regarding understanding both sides.

Image if the EU Council could, at any time, invoke a article to take control over what the member states themselves should decide over. This is what Catalans feel right now is happening.

Any autonomy that Catalans currently enjoy, is devolved power from Madrid. Just having the possibility for Madrid to at any time suspend the autonomy of (what they see as) their own state, makes them uneasy, and we're seeing the result of that uneasiness coming to the surface more and more recently.

comment 7y ago · link · parent

Problem is that what "doing illegal things" mean changes over time, and in different places. What someone assumes to be legal everywhere, could be illegal in most places, and vice-versa

comment 7y ago · link · parent

No, don't do that. You don't want any data about the transfer, period. Even if no one can see it now, you should assume (given you want to hide what you're doing) that any trace you leave, wherever, will eventually become public or seen by the one you're trying to hide from.

The only way to make yourself untracable is to leave no trace

comment 7y ago · link · parent

> Catalonia can enact his own laws, and it does so.

Sorry for just pointing out one thing, but it was what you started with so I feel the need to correct it.

Yes, Catalonia can enact their own laws. But even if they do, Spain reserve the right to override them, with what they feel like. Catalans I've spoken to, have expressed this to be a pain point, especially when the relations to Madrid are poor.

Madrid can always regain control over Catalonia according to it's laws, and them having this ability, makes peoples drive to independence stronger.

comment 7y ago · link · parent

Yes, I agree. I'm not saying it's wrong/right for a referendum, just giving a possible reason we can't trust the numbers of the referendum that happened (or didn't really happen, if you're the spanish government).

There are a few cases where the independence referendum was legal and recognized by whoever they were trying to get independence from. Algergia, Guinea, Samoa, whole bunch of ex Soviet Union countries. There are future referendums planned that are recognized as well.

So it's not impossible. It just won't work with the current Spanish Government (a referendum. Indepedence, maybe)

comment 7y ago · link · parent

I feel you should be able to make that decision yourself and you have no obligation to make anyone else but you, to sign off on what you feel is important.

If I now feel that a another person is the most important person, that's it. Now it's so, for me.

comment 7y ago · link · parent

Because it's often enough to ensure you're anonomous when transfering to/from $GOVERNMENT_CURRENCY (in person meetings in the woods for example) for the transactions to be untracable.
1
303304305306307