HN user

soyyo

323 karma
Posts0
Comments37
View on HN
No posts found.

Yeah that's true, a product can be successful with truly bad code, but it also makes developers lives miserable each time they need to add a new feature, solve a bug, or simply understand how that entangled mess works.

Management and sales may not appreciate good software design and good code, the next developer that has to work on system will.

I find it interesting that, unless I’m mistaken, this was a completely engineering effort.

That is, they were not trying to follow the notion of a universal computing device that had already been defined by Turing and Church at the time. They were just trying to build something like a huge programmable calculator, but they ended up building a universal computation device anyway.

Singers drift because they use relative pitch, because most musicians dont have perfect pitch.

With relative pitch music sounds the same even if you deviate from the original equal temperament pitch of the key you started singing even changing the key.

For the same reason if there is a fixed instrument playing at the same time, like a piano accompaniment, it's sound would be used as a reference and the singers would not drift

You can with instruments without fixed pitches, like human voice and string instruments, in fact choirs and string quartets do play this way, adjusting each note.

But for instruments with fixed pitches, like guitar or pianos,12 equal temperament is the best compromise to be able to play in all keys.

Of the 21 reports included as an example i have looked at number two, Buffer Overflow Vulnerability in WebSocket Handling #2298307

The style is obviously gpt generated and I think the curl team knows that, still they proceed to answer and keep making questions about the report to its author to get more info.

It really bothers me is that these idiots are consuming the time and patience of nice and reasonable people, I really hope the can find a solution and don't eventually snap by having to deal with this bullshit.

I am currently in my work office in Madrid, main building has electricity so I guess they have some backup generators, the kitchen however is out of service.

According to local newspapers metro network, airport and traffic lights are all down

I am also a native Spanish speaker and I haven't ever heard this. I have always called and heard from every other Spanish speaker the letter Y as i griega (greek i)

Not saying that this is wrong, in fact one can check the Spanish wikipedia to confirm that "ye" is a valid naming for Y but definitely not used where I live nor for the letter or a fork in the road.

Mistral OCR 1 year ago

I understand that is more juicy to get information from graphs, figures and so on, as every domain uses those, but i really hope to eventually see these models to be able to workout music notation, i have tried the best known apps and all of them fail to capture important details such as guitar performace symbols for bends or legato

Maybe someone can correct me, but I don't think this is absolute pitch. It is pseudo-perfect pitch, based on pitch memory, and it was already known that it can be trained.

As an amateur musician myself, I understand the desire to have perfect pitch, but it seems that the problem of perfect pitch is seldom mentioned.

Usually, people talk about the common annoyances, such as transposed music, non-standard tuning, choruses that drift in pitch, etc... but the actual hard one is that it fades away with age. First, it starts "shifting," and people will start to believe that a note is actually a semitone higher or lower than it actually is, and then eventually, it is completely lost.

There is research that indicates that this is very common, and people with perfect pitch are more likely to lose it than to keep it. This is a huge blow—imagine a whole life relying on this one skill to support all your music-related activities, and suddenly, it's completely gone.

I think this video gives a nice summary of all this from the point of view of a musician:

https://www.youtube.com/watch?v=QRaACa1Mrd4

Sorry if this is a silly question, i am a web developer so I dont usually dwelve into systems or low level programming except out of curiosity.

My understanting is that everyone is suggesting to move to memory safe languages when possible, however Zig does not seem to have any.

Since zig is a new language my guess is that the main use would be brand new projects, but sholdn't this be done in a memory safe language?

It seems that the selling point of Zig is: more modern than C but simpler than Rust, so I understand the appeal, but isn't this undermined by the lack of memory safety?

Well the aztecs did the same before the europeans:

"Before the arrival of Spanish conquistadors, the Aztecs eradicated many Mayan works and sought to depict themselves as the true rulers through a fake history and newly written texts"

https://en.m.wikipedia.org/wiki/Maya_codices

I dont mean this to be taken as a justification or something, but there is this tendency of picking historical eventsand judge them by todays standards, and is particularly egregious when it is only applied to just one side portraying others as innocent victims when they were actually doing the same thing.

I believe that under GDPR cookies that are used only for technical purposes and not related to personal information are exempt from any consent and don't need to be informed with the infamous cookie banner.

Is not about cookies, is about their content and purpose.

And adopt the metric system? hell no, I'd rather let Microsoft invade every inch of my house!

By the way, Royale with cheese is not actually a thing across all Europe, in Spain it's called "cuarto de libra" which is the actual translation for "Quarter-Pounder", this made the Spanish translation of that Pulp Fiction dialogue somehow nonsense and made most Spaniards realize where the name "cuarto de libra" came from, before that people usually assumed it was some commercial name without any particular meaning.

>What is Putin's play?

Why it has to be Putin's play? A lot of people seem to take for granted that Putin knows what he is doing and has a long play with an eventual win.

History is full of leaders making terrible mistakes that eventually put the last nail in their coffins, I don't understand why some think that the only possible option is that there must be something that we are missing because Putin is so smart and has so much control that this can't simply be a huge fail on his part

A superior method for working with scales it's simply learning the theory behind them.

For instance if you learn that a harmonic minor scale is made of 1 2 3b 4 5 6b 7 you can find the notes of that scale in any key very quickly, for instance Bb harmonic minor would be Bb C Db Eb F Gb A

However this requires that you understand what are 1, 2, 3b 4, 4#, etc, and have enough practice in translating it to notes to do it quickly.

Also if you learn this, then finding the chords that can be derived from any scale becomes super easy.

Now I understand that this a hustle for many people because of the initial effort that requires before is actually usable, and it's more easy to use tools such as the one presented, I just wanted you to know that there is something better albeit harder.

>we find stepping through a program less productive than thinking harder and adding output statements and self-checking code at critical places.

This ignores the typical scenario where you are working in a business application that you've never seen most of the code, only the relevant parts of whatever tasks you have done in that program, and all of the sudden you are asked to solve a bug or make a change in some place that you didn't know even existed, the original developer is long gone, is not documented, and chances are that there are many great coding horrors. A debugger can be really helpful to uncover how that code works.

Also it assumes that the only possible use of a debugger is set a breakpoint and then follow every next step until the end, but this is actually not the case. A debugger allows you set conditional breakpoints, skip whole sections of code, evaluate code using the actual context that the application had when it was stopped, make changes to variables while the program is being executed, it is a great tool to explore code and behavior.

I respect that some people may not like them and don't want to use them, but I find pretty dumb the idea that not using them is superior and you are a worse programmer if you do.

In Madrid city it may snow one or two times a year, but not all years, also most of the time the snow goes away the same day it falls. A few years the snow remains in the city for a couple of days, but is not that common and is usually seen as a joyful event.

But this time, the whole city was completely covered in snow, all of it. Cars abandoned in the middle of the street, people skying in the main avenues, it was crazy, no one I know has ever seen this here so if it has ever happened, it must been at least 80 years ago.

It's also been declared in Spain (state of alarm, the mildest of the three options available under Spanish law), nationwide measures are not known yet

Regions are declaring they own measures in the meantime, in Madrid, schools and universities classes have stopped, all shops must stay closed, only pharmacies and supermarkets are allowed to be open, also most business where people gather, such as gyms, stay closed.

In Catalonia no one can enter or exit.

Last Sunday it was 8th of March, International Women's Day, and the current spanish government has appropriated it to the point that women from other political parties are not welcomed in the protests that happen that day.

When gatherings of people started to be canceled all around the world, the government kept going ahead with the plans because this is a key event for their agenda.

The very next day, they acknowledged that the virus is out of control in several regions in Spain, started to take very aggressive measures that are only increasing each day.

Today, it has been announced that Irene Montero, head of the women rights ministry, that lead the main protest that day, has tested positive for coronavirus.

Stupidity at its finest

I worked on amp for a leading newspaper, and everyone who says that amp is about "making the web faster on mobile" is either very naive or doing marketing for google.

For publishers, amp is about trying to top the results on google search and capture traffic, it's their only motivation to publish their content using amp, and the only metric they look in order to evaluate the results.

Once they have their amp content, they will look how to load it with ads and tracking, which very conveniently is supported on amp, just as they do in their regular sites.

So the "fast" part, besides using their CDN, actually comes from limiting what you can do on almost every other part of the site, you can only do the stuff that is packed in the amp components controlled by google, which in practice means that google controls the web behavior.

I don't have perfect pitch so I can speak by experience, but there is this video on youtube where the parent of a kid with perfect pitch detunes the keyboard without telling him, and then asks him to identify pitches.

The kid really doesn't care, he notices that the notes are detuned but is not a problem to him, at some point he says that the note he is hearing is a mix between two notes and he is ok with that

Sorry for not linking the actual video, but I can't remember which one is, is the channel of Rick Beato if you want to try to find it