HNHacker News
TopNewBestAskShowJobs

yiyus

2,172 karma · joined August 18, 2010

submissionscomments
yiyus··on “They introduce kernel bugs on purpose”
Why is the university where you put the line? You could as well say every commit coming from Minnesota is radioactive or, why not, from the US.

It is unfair to judge a whole university for the behavior of a professor or a department. Although I'm far from having all the details, it looks to me like the university is taking the right measures to solve the problem, which they acknowledge. I would understand your position if they tried to hide this or negated it, but as far as I understood that's not the case at all. Did I miss something?

yiyus··on Floor, Ceiling, Bracket
My personal favorites are x*y and x⍟y for pow and log, and the *x and ⍟x monadic versions for exp and ln. I always found weird that exponentiation and logarithms were not defined by operators in conventional math notation.
yiyus··on Just Be Rich
More fossil fuels can be done with enough time, so fossil fuels are infinite too as long as time doesn't cease to exist, right? Sorry, but I don't understand where you want to get. If we take that point of view, then everything is infinite, and it is impossible to have a discussion about economy in that context.
yiyus··on Just Be Rich
> Wealth was just created without anyone loosing it.

If you use the wood for the spoon, it means someone else cannot use that wood for making a ship or heating their house. You cannot go and make a million spoons to get rich without either having money to invest or breaking a few laws. And this happens because the amount of wood (or resources, in general) is not only finite but relatively scarce.

yiyus··on Just Be Rich
> There isn't a finite amount of "wealth" in the world.

Yes, there is. It is not limited, we can do more of it, but of course it is finite. It is also important that, the more wealth you have, the easier it becomes to make more of it. So, indeed, the rich obtaining more of it does mean there's less for you and me.

yiyus··on The Kitten Programming Language
I am quite sure that if I went to a thread discussing Go or Rust (for example), and I said something along the lines of: "I don't like this, it would be more readable if you did like Forth", I would get downvoted too. And rightly so.

We can have discussions about the convenience or readability of different syntaxes, but if the arguments are going to be of the level of "I don't like it", then a downvote is a valid response.

yiyus··on The history of UTF-8 as told by Rob Pike (2003)
Plan 9 always had great archival utilities. I do not know what they used at those early days, but I guess that at the point rsc recovered it, it was stored in the venti server: https://p9f.org/sys/doc/venti/venti.html
yiyus··on Adjustable, low-impact keeb
Tennis players spend way more time moving around than hitting the ball. And yet, they use the best racket they can find.
yiyus··on Intriguing new result from the LHCb experiment at CERN
In my opinion, it's like when an expedition to an 8K is at a few meters of the top of the mountain and it makes the news. They are not there yet, but it can be interesting to follow the last steps, even although it is perfectly possible that they do not make it at the end.

And from a more academic point of view, although this is not a new discovery, it can be an interesting line of research. If they have used all the available data and they could only get sigma 3, I think it makes sense to publish what you got in order to justify spending your time trying to either make that a five or discard the hypothesis.

yiyus··on Chariots of steel: Barcelona's hidden army of scrap recyclers
I doubt these numbers are correct. Catalonia has a population of 7.5 million people and the article claims there are between 50000 and 100000 metal scrappers. That means around 1% (of course, since these are ilegal immigrants, they are not included in the official census, but there are also a lot of ilegal immigrants doing other things besides metal scrapping).

100 people does not generate enough steel scrap to keep a person busy for a long time. And let's not forget that a lot of metal parts are directly disposed by the citizens in the recycling centers ("puntos limpios"). The article did not mention that, giving the impression that the only way to get rid of a microwave, for example, is to leave it on the street hoping one of these scrappers find it.

yiyus··on Go+: Go designed for data science
I don't follow. You have been coding for 40 years and you do not understand a[i] *= b[j] at all but you understood the expression I made up?
yiyus··on Go+: Go designed for data science
> how is "X[y==1,0]" more readable in this case than something like "filterElements(arrayToFilter, arrayOfBools)"?

Just the same way that a[i] *= b[j] is more readable than a.IndexElement(firstIndex).MultiplyByFloat(b.IndexElement(secondIndex))

yiyus··on Plan 9 from Bell Labs in Cyberspace
Who are both of us?

The important point is that "everything is a file" is just a short way to say "everything is a file system". Your interface is not a file descriptor to which you read and write, but a whole tree where there are different files on which you can perform the operations defined in the 9P protocol (create/read/write/...). For example, in the windowing system, you open a file to create a new window, and the new window will have associated a directory with files that represent the screen, mouse and keyboard (and the process running in that window will work with those files exactly as it does with native devices).

You can have a look at the man pages (sections 3 and 4) to see how these filesystems work.

yiyus··on Plan 9 from Bell Labs in Cyberspace
I wonder what Uriel would think.
yiyus··on Plan 9 from Bell Labs in Cyberspace
It's basically your second option. In Plan 9, everything is a file server that presents a file system interface that speaks the 9P protocol.
yiyus··on Spain: Parliament passes law legalizing assisted suicide
The law that has been passed requires that the person who is going to die gives consent twice, with a 15 days difference, and that a medical comission approves the decision. It has nothing to do with someone else deciding for you.
yiyus··on Tim Berners-Lee: We need social networks where bad things happen less
I do not think the barrier to entry was so high. Some years ago (before facebook or even earlier), it was common to see all kind of people chatting in cybercafes, and also not so long ago in countries or places with poor connections. They either used some installed client or, most often, a web interface. And people could manage quite well, even non tech savvy people.

But, except for that, I totally agree with your comment. It did never have the power that social networks have today, and as soon as more interesting tools were available, most people moved on.

yiyus··on Show HN: Create your own cellular automata
In the simplest models, a cell can be identified by only an integer, indicating either the phase in phase transformation problems or grain id for grain growth or recrystallization. But, in the more complex models, a cell can include all kind of properties (chemical composition, crystallographic orientation, dislocation density...).

The number of neighbors we use also varies. Sometimes, even inside the same CA model, we use a different number of neighbors to calculate the evolution of different properties. Some problems are more related with the boundary between cells, and there we have to use first order, but other properties depend on the bulk and we use second order neighbors too (of course, weighted accordingly). Electron microscopy results are commonly obtained in hexagonal grids, so hexagonal grids are often used in 2D simulations.

If you are interested in the topic, you can see for example http://www.dierk-raabe.com/reprints/cellular-automata/

yiyus··on Show HN: Create your own cellular automata
What do you mean by what kind? I work at a university and we use all kind of models. From very simple models to teach students or make some quick estimation to very large codebases in projects in collaboration with steel companies.

Using CA models is quite common in the field of metallurgy. A periodic grid is well suited to describe the polycrystalline microstructures we work with, and grain nucleation and growth laws fit well with the CA concept of rules.

yiyus··on Show HN: Create your own cellular automata
Cellular automata models are widely used in different science and engineering disciplines. For example, I use them for the simulation of heat treatments of steel.

I guess that the fascination of the CS community comes from: 1) Conway; 2) They raise different interesting programming questions and exercises (writing GOL is a nice exercise to learn a new language, a parallel CA is a nice way to learn about parallelization, huge models pose interesting memory management questions,...); and 3) They are cool (isn't the video about GOL in APL by John Scholes one of the coolest programming videos you've ever seen?)

yiyus··on Spain to launch modest trial of four-day working week
I think the reason the Pirate party never got momentum in Spain is because they cannot compite in pirateness with the traditional parties.
yiyus··on Spain to launch modest trial of four-day working week
We are talking about Spain, where most people work in service jobs for very small companies that are already struggling to stay alive. If a bar needs, let's say, four bartenders now, they are not going to contract a fifth one with the increment of costs that implies (with no increase, at all, in their income). They probably cannot even afford it. What they will do is to keep the same four bartenders and pay a part of their salary in black money, increasing the submerged economy, and in the long term being detrimental for the economy and, therefore, employment.

We need more high quality jobs, not paying more for the low quality jobs we already have.

yiyus··on Spain to launch modest trial of four-day working week
> By not being tired on the fifth, not taking wrong orders and not dropping glasses

This is not an actual problem that needs a solution.

yiyus··on Dennis Ritchie’s first C compiler (c. 1972)
Chuck Moore is an interesting example of someone who has bootstrapped several languages without touching a C compiler. He has written systems directly in machine code, and has gone as far as designing his own chips to directly run Forth and ColorForth.
yiyus··on Dennis Ritchie’s first C compiler (c. 1972)
> ask a non programmer

Why should a non programmer understand programming terms? Words have different meanings in different contexts. That's how words work. There is no need to make these terms understandable to anyone. The layman does not need to understand the meaning of long or word in C source code.

Ask a non-golf player what is an eagle or ask a physicist, a mathematician and a politic the meaning of power.

Word and long may have been poor word choices, but asking a non-programmer is not a good way to test it.

yiyus··on `three = 1` in the Linux sourcecode (2014)
I would do this:

    #define I     1
    #define II    2
    #define III   3
    ...
    #define XIII 13
There is no zero in roman numerals, but you can use NULL for extra fun! (yes, I am a bad person)
yiyus··on Joan Fons hired to work on Godot's rendering
I guess not, because the article says this guy started working in godot 3 years ago while studying at university and this other guy in google scholar has been publishing since the decade of the 2000s. Joan Fons is not an uncommon name.
yiyus··on Edit: A text-editor mixing vi and Acme
The killer feature of acme (and, previously, sam) are structural regular expressions. As far as I see (and I admit I did not take a deep look), this is more a simple vi-like editor that runs inside an acme-like window manager.
yiyus··on The Machine Stops: Science and Its Limits
These terms just mean different things. Very often, it's relatively easy to find a phenomenological model capable of performing quite good predictions. But, in order to find a physical model that can be broadly applied, we need to understand what is going on at a fundamental level.

At least in my field (mechanical and materials engineering), understanding means explaining in basis to well established fundamental laws, a prediction is not enough.

yiyus··on What ever happened to scandium bike frames? (2016)
No, I do not agree.
← PreviousPage 3 of 24Next →