HNHacker News
TopNewBestAskShowJobs

tm-guimaraes

336 karma · joined September 26, 2021

submissionscomments
tm-guimaraes··on Saying Goodbye to GitHub
> That's the spirit here

not really.

All this Free Software movement started by something really similar to "right to repair", a firmware bug in a printer that was proprietary software. Free Software is about being in control of software you use. The spirit was never "contribute back to GNU", the spirit was always "if you take GNU software, you can't make it non-free". Those GNU devs at the time just wanted a good and actually free/libre OS, that would remain free no matter who distributed it.

You are using expectations of modern day devs in the world of a lot of social development thanks to Github.

You might claim that GP was using the technicalities of the licences, but you can actually check the whole FSF philosophy an you note that they align perfectly with "giving forward" not "giving back".

Free Software is about user's freedom. Not dev rights, or politeness, etc. Now obviously, some devs picked up copyleft licenses with the purpose of improving their own software from downstream changes (Linus states that is the reason he picked GPL), but that's a nice side effect, not the purpose. Which ofc, with popular social sharing platforms like github, those things gets confused.

tm-guimaraes··on Type system of Fortnite's Verse language
In general it's a mess. Very big language, so C++ issues. Different communities liking different subsets. Plenty of people "having to" use it, causing annoyance/hate.

It's not great for teaching due to not only being big, but tooling for first time usage is also not great, and it doesn't hit the nice things about FP for first time programers:

* functional syntax very similar to the way you defined functions in high school math class, or intros in college.

``` f : Z -> Z f(x) = x + 1 ``` is

``` f :: Int -> Int f x = x + 1 ```

in haskell (you can also omit domains/types/sets/signature in both). Familiarity is very important, which is why most programers do not like functional, and most people that haven't learned to program yet can start with it arguably more easily

just not having statements, and everything being immutable is really nice (x=x+1 is cancer).

Scala then has a whole lot of "class" stuff on top.

tm-guimaraes··on Type system of Fortnite's Verse language
> What we need is an FP language that doesn't pretend that outside world doesn't exist. A pragmatical one.

yes, anything focusing on devs being actually productive has to be pragmatic. So, yeah, real world exists, IO needs to be "easy/simple", just like compiling should be fast, good error messages, etc. Lots of constraints, Go is nice because it is "good enough" at everything. So it's productive general programming language.

> This is why Erlang/Elixir or even C# or hell even Javascript/Typescript are better FPs for the vast majority of programmers (and beginner programmers, too) than Haskell.

Disagree here. Fully agree those and pretty much all popular languages are better than haskell for the very mast majority of devs including beginner on actually delivering something aka work. I disagree that haskell is worse for somebody that never actually programmed to learn programming (which is fundamentally different than creating an working application or modifying one), specially at a CS college/university course, than any of the languages you listed.

"basic" Haskell is extremely simple. And it's syntax mirrors what you would typically use when are doing something with functions during your high school. Recursion is not harder than loops, the hard part is going from lots of familiarity with one to the other. I've seen people learning imperative first and functional first at different places, and I can tell you that the confusion first timers face getting to understand a loop is not smaller than recursion(again "x = x +1" hits hard against everything you see in school until programming, re-assigning is evil for teaching).

With recursion, haskell's enums/unions equivalent, and haskell's interface equivalent, you can get really far! So you won't hit haskell issues while teaching because: * problems/assignments can be self contained, you don't need to reach for libraries to make simple compiler for example, so you don't have the ivory tower of type category, all conversations about monads, someone else code using unfamiliar lingo/code * due to good interpreter, IO can be teached last, and can always be and should be only a layer over the rest of the code, and once familiar with the rest, writing some outer functions using do notation to pass to your core isn't troublesome to understand.

F# and Ocaml are not as nice for that purpose, as polymorphism/generics is better teached with haskell, and the language is more consistent without objects.

Racket and some lisps are nice, but i would say that Type checking is important for teaching, due to the whole concept of change data from one thing to another, gets easier to explain, the compiler gives some help as well.

Teaching 1st timers (assuming college) with Haskell Drawbacks IMO are only: * reaching for out of the class stuff, online discussions and public haskell libraries are hell due to academic mismatch. with too much * while type checking and compiler messages are a nice help teaching, they can also have the opposite effect with cryptic messages if for some reason there was some heavy polymorphic/generic code.

For a more general teaching, I'll add the drawback of not being able to do what the general crowd thinks of a "app" or "web app" etc, easily. JS just working on a browser is great, swift playgrounds are great, ruby has rails, etc.

tm-guimaraes··on The 'Insanely Broad' Restrict Act Could Ban Much More Than Just TikTok
The point is Free Software, not distributed systems. It can still be a centrilized service, and be Free Software at the same time.
tm-guimaraes··on The 'Insanely Broad' Restrict Act Could Ban Much More Than Just TikTok
the issues are trust. not whether you can get users to produce content for it.

edit: someone else mentioned distributed systems, again the point is not these became decentralized or federated or anything like it, the point is them being Free, as in you can see how things are done, it gets harder to perverse the trust. And lets say a bad platform from a foreign entity is shown to compromise your national security, there are multiple options besides just showing the issues, presenting solutions/patches to the problem that troubles your nation, and last case scenario, migration path to the citizens using that service to a in.country managed one. The last one was being tried, having Microsoft/Oracle managing TikTok in the states, would a situation like that become easier with time, had all these platforms been Free Software?

tm-guimaraes··on Type system of Fortnite's Verse language
One thing I noticed when I was in college was that the basics of FP is not hard, in fact it seems way easier (from my data annecdote).

In my university CS course, we start with FP (using Haskell), and in a course with one of the biggest number of dropouts un the first year, FP wasn’t really a reason for it, in fact, from the ten 1st year classes FP was in the top half in success.

BUT what I actually took from that experience was that the students having more trouble with FP (excluding dropouts that failed everything) were actually people that had programing experience before college. For the rest of the world pure functions are easy and “x = x + 1” is confusing as hell.

To note that even though we used haskell, monads were just a light touch at the end mostly to use IO. Haskell has an intrepeter, so you could have a language that mimics how you wrote functions before. It also helped that we learned recursion paralel with induction on a math class, so we where recursing over a Natural Int type on FP while difining naturals through induction on a math intro class (and proofs over inductive definitions are usually do e with recursion).

FP suffers from * unfamiliarity from the general programing community * bad tooling due to smaller community * people very vocal about a language like haskell which has research and teaching before production in its goals * no decent bridge from the academia ivory to industry.

Some languages like elm most issues but suffer from smaller community and weird dictator. Erlang was industry first but had a very small community (thus tooling), until elixir came aling decades later. And its focus get “solved” at a different layer/abstraction level by k8s. Ocaml has shit tooling F# is Microsoft ocaml, but suffers from most things you want to use with it are tailored for C#. Lisp derivatives seem to live in a world of their own. Closure seems popular, and i guess emacs will never be irrelevant. And in lisps you have to learn all the vocabulary as each project is almost its own language.

So we need an FP language doing what GoLang did to C++. Few features, very good tooling and libraries (as in golang has a formatter, builder, dependency manager, etc all on its “compiler”, and strong std lib), easy to read. Basically focusing on Developer productivity from hour 1. An “ML for the masses”, just like go was intended for devs straight out of college to be productive on day one.

tm-guimaraes··on The 'Insanely Broad' Restrict Act Could Ban Much More Than Just TikTok
At the end of day, isn’t Free Software the solution?

Every issue with power and control of all these big organizations steem from the fact that their software does not respect the 4 freedoms. The west very much likes “free” trade, but how can you have free trade between so many different regulations and so many power disparities?

At least with Free Software, even if you don’t want to trust the entity you are dealing with, at least you can inspect, learn and adapt its software, so that people don’t have a big service disruption.

Stallman was right.

tm-guimaraes··on Book publishers won't stop until libraries are dead
No. Core idea of capitalism is that everything has value, you have a right to own and trade value, and we should quantify that value to enable efficient transactions of valuables. It's about freedom of ownership (and ownership rights) including transferring that ownership, capital is a measure of what you own. Capitalism doesn't have a core value of "getting more capital", capitalism has a core value of "being able to freely use my capital".

The distinction from what GP is saying is that somethings should not be "owned" or "fully owned", ie, not have all the kind of rights that you would expect when you say "I own this". In the particular scenario of publishing, is questioning if "owning distributing rights" make sense (in the way of, I have the rights, you don't. I can do what I want as it is mine, you can do what I allow because it's mine not yours). In which he claims that "easiness of learning" is more important than profit, which in this scenario means that your freedom of doing what you want with your ownership, ie: selling rights to very limited used of your valuable (book, etc) is less important than sharing/acquiring knowledge, ie: i should be able to lend you or maybe even give you a copy of a book.

The dilemma is incentives to publish/share knowledge: Capitalism works in hand with incentives due to everything having "value", so you can own things like "intellectual property" and have rights over it, so can sell it, or sell its use, giving you an incentive to "produce knowledge", the drawback is that anyone else has to use "value/capital" to access it. (same applies if you decide it's the governament that subsidies, still, something is giving back that "value/capital". Also, because of your rights to own, you can also share it without need to be rewarded, as it is your inherent right.

But, the thing about all this is "measure". Not everything is easily measurable, but to facilitate using ownership rights and their transaction/use, you have to measure. That the big problem of capitalism, plenty of things can't really have a price tag, and value of anything is not only subjective, but also hard to know for sure without full info, so "easy" measures are used.

This notion of "hard to measure value" is also a reason for not everything to have full ownership rights, using the current example, it's hard to measure to value of lending a book, including it's secondary effects (author getting more famous, a person getting more knowledge and its implications), so treating all these very hard to measure things the same way as more easily measurable things can and does have nasty effects.

This is basically the issue of our current ways to measure value is mostly "what are you able to trade it for", ie: tossing into a free market, which can and suffers the "tragedy of the commons" and other issues like trading with someone with lacks the necessary knowledge to give a decent assessment of value.

tm-guimaraes··on De-cloud and de-k8s – bringing our apps back home
Go is not less wasteful than java, both are garbage collected and their memory pressure depend highly on the given workload, and the runtime of the program. But java allow more GC tuning and even different GCs for different use cases (ie: shenadoah and ZGC favor very low latency workloads, while the default G1GC favors throughout (not that simple, but you get the point))

Regardless, Java/Go tier of performance is good enough for this kind of thing.

tm-guimaraes··on Time to get the Posix elephant off our necks?
Because plain text is narrow waist* that is easily debuggable.

* https://www.oilshell.org/blog/2022/02/diagrams.html

tm-guimaraes··on Re-License Vaultwarden to AGPLv3
It's about know what code runs in devices they are _using_. The user doesn't own your server but he is using it through the client.

AGPL is meant to apply the 4 freedoms to anything that is _used_.

tm-guimaraes··on Wi Flag (2002)
Yes, Monster Hunter 3 Ultimate had the permanent table. While 4 was for game session.
tm-guimaraes··on The product I worked on for the last 4 years is now open-source
> It does not restrict distribution, instead of restricts the ability to limit/restrict distribution. Quite a significant difference.

semantics. Saying i cannot distribute something without providing the same freedoms given to me is still restricting what/how I distribute.

> Also, fundamentally, one (AGPL) is putting the freedoms of the code and its users over those of the authors whereas the other (ELv2) puts the freedoms and interests of its authoring business over the freedom of the code and it's users.

Yes. I fully agree. It's not like I haven't said something similar right but it's just discussing semantics at this point. So I'll stop.

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

I despise licenses like Elastic's and wished SaaS would just use AGPL.

tm-guimaraes··on The product I worked on for the last 4 years is now open-source
> FOSS doesn't impose any restrictions on usage.

It does impose restrictions on distribution (which is one kind of usage) which was my point.

I'm fully aware of the four freedoms, I'm fully aware that elastic is not compliant. I'm fully aware that elastic is not open source by OSD, nor Free as per FSF. I was just stating that both impose restrictions, they are just of a different kind. I'm not advocating for elastic (i do not like non-free licenses), please do not misunderstand.

>> Elastic license doesn't impose restrictions. > It does. It explicitly forbids usage.

Please read that statement in its context. I was just doing the same thing you did. Swapping restrictions for guarantees. There is no such thing as a guarantee without restring something.

tm-guimaraes··on Slack is the opposite of organizational memory (2018)
Sometimes the tool shapes behaviours. Things that are easier to do, will be done more often.

The folks at Doist (makers of todoist app) created Twist.com because of their discontent with slack, it's very interesting to read their blog posts regarding the tool (and others regarding async work), as they state the default settings of an app shapes a lot of the common behaviour. So, for example, their tool does not send a post on the press of the ENTER key (it creates a new line). Sure slack can also do that, but it's not the default and it has impact.

Anyway, it's interesting to read on their UX decisions they seem very thoughtful on UX (even if you might not agree with the toughts), and async/remote work stuff.

edit: went to look for the post, it is older than I recall, and with the old look:

https://blog.doist.com/designing-twist-the-challenge-of-maki...

tm-guimaraes··on The rise and fall of Lisp at the Jet Propulsion Lab (2002)
No. Valve is privately owned, with GabeN having a big share (AFAIK, since it's private, we wouldn't easily know who/what owns each % of Valve)

You might hear about Valve in these kind of discussion not because of its ownership model but because of its "flat hierarchy", the philosophy of "no boss". But obviously, humans always organise in hierarchies, companies like Valve simply have no formal ones, you just have to navigate well social/politically to understand who you need to please.

Also, a single person can't usually deliver a big project in a reasonable timescale, so how do you get a team?

There's always a lot of more politics (arguing around, convincing others) involved in flat-hierarchies or co-ops, but they are much less likely to get a power hungry vulture dictating things.

tm-guimaraes··on The product I worked on for the last 4 years is now open-source
Sorry but you are just changing angles and discussing semantics.

Let me do the same for the quasi "open source" licenses:

Elastic license doesn't impose restrictions. It provides guarantees (that modified versions will not take business from you).

The only way you guarantee something, is by restricting something else. AGPL restricts distribution.

tm-guimaraes··on The product I worked on for the last 4 years is now open-source
It's a different restriction. AGPL lets you do anything as long as it is just as Free (as in freedom), while these kind of license only let you do things that don't compete with whatever is the current copyright owner business is doing. And business tend to change over time, and it might be simple to be clear to a court if you are competing or not.

"Do whatever you want as long as you keep it Free Software" vs "do whatever you want as long as we believe you are not taking customers for us"

As usual, RMS was right, and I recommend reading the Free Software vs Open Source essay, unfortunately both names make it easy to misinterpret their respective fundamental idea (Free can and is usually interpreted as "gratis", and open as available/published/shared)

tm-guimaraes··on The product I worked on for the last 4 years is now open-source
Use AGPL then. If any other business wants to "undermine" yours, they would then have to let you "undermine" theirs as well.
tm-guimaraes··on Tell HN: We Need Robots.txt but for AI
Similarities already exist in any kind of media. I've seen books stating that i couldn't lend it. Copyright is cancer, it hides knowledge, it hides everything, but these closed dataset/implementation form of AI strips copywrite, but hides itself anyway, it is no better. In fact it is worse than copywrite, because at least copywrite law was available to everyone, AI tools are just for the ones with $$$ and technical know how to train an AI on the necessary data (that also needs to be gathered and prepared). We where already hostages of the decision of big tech into our daily lives, with the advent of AI, we will be much more so.

Stallman was right, Free Software for a Free society.

tm-guimaraes··on Tell HN: We Need Robots.txt but for AI
The problem is copyright. Current AI landscapes are basically "copyright for me but not for you". I would be fine if we just abolish copyright. I wish for a world with AttributionRight instead of copyright.
tm-guimaraes··on Barnes and Noble's surprising turnaround
Couldn't they simply try to be profitable without scaling (and its issues) to the masses? Or it's VC pressure? (Honest question, I don't know much about peloton in general)
tm-guimaraes··on What it's like to live in Monaco
Because grocery prices across EU/Europe vary by a huge margin, and going out for a drink /coffee even more. Nowadays things are getting similar due to poor countries getting better, and old powers stagnating in comparison. Logistics and what is produced nearby used a big factor (also local brands, different countries used to mean different brands), again due to trade agreements (trade between EU countries) and infrastructure improvements. So you won't find a lot a price and availability difference in what you used to find pre-euro, but there's still some difference, just not as choking.

Also, USA salaries tend on the bigger side, and USA food is also cheaper do to loads of subsidies and bad regulation(so, sugary, worse quality checks, but cheaper), corporation centralisation (EU is made of different countries which used to mean different food corps as well), so the grocery experience is not as relevant.

tm-guimaraes··on What it's like to live in Monaco
Why? What are you going to do with the artwork, cars, furniture and boats? It’s just a themepark for the rich. It provides lots of benefits for the city and the surrounding areas working class. And monico itself treats his citizens right. It’s very different from the gentrification that happens on “non money burning themepark cities”, ie: every other city.

Now if you are complaining about tax evasion, that’s something about your country policy. What Monaco does as tax policy only matters if you have shitty treaties. France has fixed some loopholes there, tou country should do the same, instead of war.

tm-guimaraes··on Whales dying from consuming plastics
Yes, that is true, some developed nations cities have disgusting pavements.

Still, that doesn’t compare to every report I heard from people I know personally that went to visit, or had to work, or has families/grow in our former colonies. The waste management is orders of magnitude worse.

Yes , people complain about Rome and SF streets, but those are nothing compared to the reports i’ve heard. It’s another circle of hell entirely.

And remember that most of the world population is from developing nations (well I guess it depends on how you classify china and india, but those are only starting to care about environment now, for the last decade their focus was rapid industrialization, which is the biggest crime to the environment)

Regarding “developed” vs “developing” categorization, I guess most people think about it differently, everyone has their bias and there’s lots of politics involved in the terms. But i would do the divide on whether sustainability/environment is one of the most constant political topics in the country, and most major political parties have to engage with it (to different levels). This means food and shelter are secure (even if prices are hard on people)

tm-guimaraes··on .NET 6 is now in Ubuntu 22.04
VS does not run there. But you have Jetbrains’ Rider there.
tm-guimaraes··on BMW heated seats subscription costs $18 per month in South Korea
You can still use the versions you paid for…
tm-guimaraes··on BMW heated seats subscription costs $18 per month in South Korea
> Next would be what? 10 bucks for my washing machine that I own, $10 for my fridge, $10 for my air conditioning, stove, vacuum cleaner...

This was already happening with planned obsolescence. The EU fought that by implementing a new law that requires big home electronics to have a 10year warrant. I guess the next step for vendors is bundling “service” features for subs

tm-guimaraes··on BMW heated seats subscription costs $18 per month in South Korea
That makes no sense. Before you payed for a version of the IDE and a year of updates. Now you pay for a year of use and you get the most updated version of your last subscription day for ever.

Basically the difference to buying every year is that you don’t keep old versions. You still get to keep/own the version of your last paying day. And you get discounts…

Unless there are really bad feature changes, there is really no reason to prefer the old model

tm-guimaraes··on Venice to introduce entry tickets and fees
Residents over tourists. It’s that simple.

Tourism at this scale is a modern day privilege, you can some some nice vacations without going to europe’s most crowded island. My best vacation were far from the most expensive one. And my most expensive was one of the worst.

In my town , lots of things are cheaper for the working class of the town. Is this also unfair for the poor tourist, on his break?

← PreviousPage 4 of 5Next →