HNHacker News
TopNewBestAskShowJobs

JaumeGreen

617 karma · joined April 14, 2016

submissionscomments
JaumeGreen··on Advent of Code 2023 is nigh
The only problem with these kinds of languages is finding the place where the experts publish their solutions, if they do. I'd love to see what an expert can do and what I can learn from them.
JaumeGreen··on Advent of Code 2023 is nigh
Last year I did my run in J (Jsoftware.com) and it was very interesting.

This year my initial desire is to do it in raku, which seems suited to the first task at least (although I haven't managed to get to it).

I did another year in common lisp.

All in all I really can recommend doing them in non-typical languages, it expands your mind.

JaumeGreen··on Olive oil soars, and thieves go after century-old trees in the Mediterranean
People who can't afford it have been using sunflower oil for lots of things, mostly for frying. Normal salads, on the other hand, is olive oil or nothing. Not counting things like Caesar's salad, "ensaladilla", ... and other that have special sauces.

The taste isn't the same, just as it's not the same the taste of a good olive oil from a normal one.

Pig fat has been on decline for a long time, but it's still used for some things. Butter is not that cheap, margarine isn't either, and it's not as good (in either taste or "health" reasons).

Olive oil is a staple in our kitchens, and things should change a lot before we stop using it. It's like telling Asian people to change and not use soya when it becomes expensive.

JaumeGreen··on A GPT-4 capability forecasting challenge
ChatGPT is (was) not good at ascii art.

Some months ago I tried to make it draw me an ascii rose and some text. I even tried providing it the ascii art for the rose and the text.

Finally I did it by hand.

BTW, in your example it's not using only # and _, it's using other ascii symbols. Depending on the criteria it could be considered wrong.

JaumeGreen··on We always end up with waterfall
> nobody advocates for balance and nuance.

Some people do, but they don't get the views or the support.

People are gregarious, they want to be part of a team, middle ground is not a team, unless you create a new name for it. People tend to give support to whoever hates what they hate, not to those who love what they love. So the middle team shouldn't be sold as "the good parts of A and B" but as "we hate A and B".

For example, in tabs vs spaces there's the "tab for indentation, spaces for alignment" bunch, that (we) usually try to sell it like "we use tabs, so you can set the viewing space as you need, and we use spaces so it's neatly aligned" and people don't listen to us.

What if we called it "tabspacing" and defended it like "spaces for indentation are wrong because there are people with visual impairments that need extra space to see things right, and just tabs are wrong, code looks ugly, also if you use space and tabs interchangeably it's wrong, the people with problems will see the code differently than the people without, there will be errors."? Then people might listen to us if they hate one of these things.

So yeah, that's why there are so many ways to do projects: waterfall, agile, scrum, kanban, scrumban, XP, ... .

JaumeGreen··on Xiaomi CyberDog 2
I haven't slept 8 hours more than 3 or 4 times since I have dogs. I need more than the 6 or 7 I get of sleep because of them, my mental and physical health suffers for this.

We can't go on vacation, or even have a night out somewhere else, without planning and paying for them to be hosted somewhere.

I love my dogs, but I'm looking forward with both dread and hope for the days they will no longer be around.

A dog that could be turned off would be much better in this regard.

JaumeGreen··on ChromiumOS Developer Guide, Programming languages and style
Tabs for indentation, spaces for alignment. This is my take.

I only can use it on personal projects, as most places I worked in use spaces.

JaumeGreen··on My Day Away from Reddit
A bit hyperbolic in their narration. I think the ones here talking about how addictive it was and how you keep reaching for it bring more to the table.

I deleted my account and removed it from Firefox's quick link. I also uninstalled Instagram and Facebook to not replace it with mindless scrolling.

And here I am, visiting other pages a bit too much.

I guess it'll take some time to disconnect completely from it and replace it with something useful.

JaumeGreen··on Ask HN: Anyone at Reddit can confirm a traffic dip?
I deleted my reddit account, 12+ years are no more. It was hard, but that way I will not go back to it. Comparing it with twitter, which I never left because I was never there to start will be hard.

*yeah, I have a twitter account. It's the only point of contact with some companies. I may use it a couple of times a year max.

JaumeGreen··on Reddit Strike Has Started
The decisions that reddit has taken were not affecting me for now. The new ui was horrible for my use case (text subreddits and focusing on the debate) so I was a old.reddit user.

But the way the direction is going, and some experiences in some subs have made me take a decision, and my 12+ year account is no more.

It won't matter, and probably reddit will survive, be it as strong as it is now or in a diminished state. But I'm tired of this kind of directives in these kinds of companies.

I hope that leaving that, and not having Instagram or Facebook on the phone, might give me a little push on being more productive. Wish me luck.

JaumeGreen··on Growing from engineer to manager
It may depend on the company.

On some it might be an architect level engineer who also manages the team. In others it'll be nothing more than a middle manager that only will see code on their spare time. And it can be everything in between.

So depending on the kind of move it will not have anything to do with engineering and everything to do with managing. And that's HARD. Changing your whole set of skills for another overnight it's not pleasant.

JaumeGreen··on The Staff Engineer's Path – Book Review
I'm a manager now and it was a lateral move from development, no salary increase. So yeah, sometimes managers earn around the same as the top people they manage.

Heck, I wouldn't mind earning less than some of the most brilliant ones. In fact I think I do earn less than someone that reports to me.

JaumeGreen··on JPMorgan Chase and Co tracks employees to dystopian extents
> I don’t know where these so called employees work, but at least in the corporate offices uh nobody pays any mind to any breaks you take unless you have some really anal manage.

I have first hand knowledge of a business that did not control the employees in the office, but wanted to rule that any time not spent in front of the computer while remote was not to be considered working time.

Don't know how it ended in the end, AFAIK the latest review wasn't so strongly worded.

So some business may bother with that, but not necessarily on all fronts.

JaumeGreen··on Saying Goodbye to GitHub
> They oblige the author of a derived work to publish the changes to all users under the same terms. The original authors tend to be users. So, a license which would grant this directly to the original authors would end up providing the same end result since the original authors would be both allowed to and reasonably expected to distribute the derived work to their users as well.

I might be in the wrong, but this is not how I understand GPL [0]. Care to correct me if I'm wrong.

What I get from the license is that you have to share the code with the users of your program, not anyone else.

AFAIK you could do an Emacs fork and ask money for it. Not only that but the source code only needs to be available to the recipients of the software, not anyone else.

A company could have an upgraded version of a GPL tool and not share it with anyone outside the company. Theoretically employees might share the code outside, but I doubt they'd dared.

[0] https://www.gnu.org/software/emacs/manual/html_node/emacs/Co...

JaumeGreen··on Ask HN: Please Review My Metalanguage
Ok, that is more understandable. If there were some more examples in the page then this emergent behaviour could be seen faster.

Nothing to add then

JaumeGreen··on Ask HN: Please Review My Metalanguage
EDIT: I misunderstood how it works, read the reply to see why I was in the wrong.

I haven't read it all (and probably won't, these kinds of works are not my forte), but there's something that doesn't look that nice.

The swapped function seems strange, mostly because you treat 1 as a special case which reverses the content.

I would either have a reverse function or use negative numbers to reverse those chunks, like this:

    uint(16,0xc01f) matches big endian 0xc01f (bit sequence 1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1).
    swapped(8, uint(16,0xc01f)) (bit sequence 0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0).
    swapped(-16, uint(16,0xc01f)) (bit sequence 1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1).
    swapped(-8, uint(16,0xc01f)) (bit sequence 1,1,1,1,1,0,0,0, 0,0,0,0,0,0,1,1).
    swapped(-4, uint(16,0xc01f)) (bit sequence 0,0,0,0, 1,1,0,0, 1,1,1,1, 1,0,0,0).
There might be better solutions, I just dislike exceptions in rules, if it can be helped.
JaumeGreen··on I Tried JetBrains' “New UI” and I Liked It
If I had more energy and time I would try to set my computer so that I could perform most of anything with keyboard only.

My wrists are the reason.

More than 10 years ago they started to hurt, so I became a left handed mouse user at work. A couple of years ago I started using a vertical mouse. If I could leave them in a mostly static position I would.

There's the added fact that I'm much faster with keyboard only and I can perform the actions without effort once I have them ingrained. Mouse is slower and even when you know where to go it needs more of your brain.

Having said this I'm perfectly ok with people preferring mouse, I'm just starting the reasons for my preferences. Not that they matter, I'm not using JetBrains.

JaumeGreen··on Ask HN: Is programming culture immature?
One aspect in which one can see that we are still in an immature field is seeing how "the new thing" is always valued more than the stablished one, and how language books are more recommended than works that intend to be foundational (like TAOCP or SWEBOK, disclaimer, I've read neither of them).
JaumeGreen··on Coworkers are less ambitious; bosses adjust to the new order
Where I live 50 is already overtime. Not wanting to sacrifice your mental, social, and physical health for an indeterminate amount of money is not being a diva.
JaumeGreen··on What happened to the first cryogenically frozen humans?
HPMOR [0], sorry. Harry Potter and the methods of rationality. A Harry Potter fanfic that is quite interesting.

[0] http://www.hpmor.com/

JaumeGreen··on What happened to the first cryogenically frozen humans?
When I was younger I wanted to live forever, nowadays I'm more at peace with the idea of death.

There are a couple of things that make death bearable. Any longevity treatment should placate the first and we should aim to compensate the second with plenty of change in our lives.

First is physical ailments. Even a healthy person will accumulate aches, and those will slowly erode they will to live. Several of my grandparents (and some that were not mine) have expressed that they were waiting to be taken, and I'd wager that would be a part.

Second is the mental fatigue. Not only your mental state is akin to your physical one, so you might be mentally exhausted, but also you begin to get bored with most media. It's hard to find a story that hasn't been told before, music that you find original and good, few dishes that you still dare to discover, ... .

Apart from the personal point of view there's also the general one. There two more problem arise.

Sustainability, as the planet can support what it can. The society and the way resources are managed will have to change a lot if people live longer. But don't worry because...

Power. You'd go from families holding power to individuals. No longer the young master will spend all the money and none will be left, because their parents will have control over that. Situation could become even more oppressive with them withholding the longevity treatments, giving some to their employees and none to the general public.

So while I agree with your sentiment, which is also beautifully expressed in HPNOR, I'd say that there's a lot of transformations to be made before it's good.

JaumeGreen··on J one-page interpreter fragment (1992)
I find J quite interesting, in fact I'm trying (and succeeding up until day 15) to solve Advent of Code in it. This with having no real experience in this language apart from trying to learn it some years ago.

There are plenty of lessons to be learned from languages that are not "the norm". Having more ways to think about the problems helps.

JaumeGreen··on Remote startups will win the war for top talent
> Have you considered that those of your view and those espousing that remote is more difficult might have different personalities, levels of need of social interaction, or lifestyles?

Yes and no.

There's the people personalities that affect the end result, but sometimes the company is the one setting hurdles that make everything hard.

"There's no free interaction, like at the coffee machine." but don't offer spaces (or time) for people to relax online and/or connect.

"You don't have the immediate help of others that are around you." others that can distract you sometimes, and meanwhile you want to even deduct the bathroom break's time from remote workers.

"I need some socialization." do your time, then find another outlet of socialization.

Some companies are not embracing remote working. Some might have valid reasons (most of the staff is local and we want the ones that could remote to have heavy interaction) or non-valid ones (I'm the boss and I want to see everyone at the office). Of course, for these companies, remote will be hard. They are making it so.

JaumeGreen··on The night I met Einstein (1955)
This story has had a great influence on how I taught dancing (swing-Lindy Hop).

Always start from an easy place, build from there, no surprises, no big jumps, and you arrive at the destination.

A bit of the opposite of the "How to draw an Owl" meme [0].

So it seems that I was looking at a different part of the picture than most of the people here. You were admiring Einstein focus, while I was examining his method.

[0] https://knowyourmeme.com/memes/how-to-draw-an-owl

JaumeGreen··on 4th Gen KDE Slimbook – Linux Ultrabook with an AMD Ryzen 7 5700U
On the US layout it says "Agotado", which means they have run out of them.

BTW, almost no one in US may like those layouts, but for each of the speakers of those languages they are quite important.

JaumeGreen··on Racket Is an Acceptable Python (2019)
> If the syntax requires special tooling to make it usable, isn't that a sign that the syntax is hard?

Not in this case. Lisp syntax is easy, people lack familiarity.

The only "hard" part is checking that the number of parens are right. But it's not that other programming languages don't have equivalent "hard" problems, like closing the right kind and amount of brackets on C, of whitespace problems in python.

JaumeGreen··on The first day of HN frontpage
Jokes not being welcomed is one of the reasons I love this site.

When jokes are fully accepted they tend to be lower effort than a comment that is thoughtful, and in reddit they tend to get more upvotes than the thoughtful one. This incentives people to write low effort jokes in order to get more fake points. The tendency thus created alienates rational discussion and doesn't bring much information.

There are already places in where you can be witty instead of wise, but this is not one of them.

JaumeGreen··on Dominant languages can spread even without coercion
All languages can spread without coercion. I knew people learning Catalan without even living anywhere nearby, and even not knowing Spanish, French or Italian. Maybe it was an elective in their university and they were bored, maybe they heard a song and loved it, ... plenty of different reasons.

But dominant languages have plenty of advantages.

First of all just by being spoken by lots of people make then a "de facto" common language, and sometimes people change to the dominant language in a conversation just because one person spoke in that, EVEN when all the people can talk and understand the same non-dominant language. I've seen it happen, and this may be a leftover from times when it was persecuted to speak the non-dominant one.

Second there's lot of non-aggresive coercion. You may have less job opportunities if you don't use the dominant language, your works less promotion, not considered serious, ... . I'm sure that (except for the novelty) a punk-rock Navajo band singing in Navajo would have less media exposure that the same band using English.

And third, there's lots of remanent coercion. People being agressive because you are using the "wrong" language, not being able to use the language in a trial (in the same country that contains the dominant and dominated languages), ... .

If you add all three it's clear that without some organized help the dominated languages have a hard time. And when a language is lost some of the knowledge is lost, because a language is not only a means of communication, it's also a way to see the world. The expression the language holds gives us a unique view on different ways of thinking.

JaumeGreen··on Getting Started with Lockpicking
In some I'm sure he does, but there are some videos of him receiving a sealed package and opening the package (and the lock inside) in a single take.

Like this one: https://www.youtube.com/watch?v=NSuaUok-wTY

JaumeGreen··on Job Applicant Resumes Are Effectively Impossible to De-Gender
Not necesarily, because it could have given more value for the wrong reasons.

Imagine a misoginistic, but horny, boss, that only hires good working ugly men and hot dumb women, specifically looking for these traits in order to have a "playing" field. If the AI got in here it would be constrained to the same parameters, af if it was looking for good workers of any gender it would prefer men.

An the thing is that although this boss is part of history (we hope) the influence they had on the workforce at large was enormous, and it'll be a long time before this is reversed.

And this without taking into account all the coworkers that could hinder your job because you are not part of their cadre (gender, football club, fortnite clan, whatever).

We really should exepriment with equality, or even the opossite extreme, before considering one gender "superior" than another for a given role. And even then there would be exceptions.

← PreviousPage 3 of 7Next →