Hacker Newsnew | past | comments | ask | show | jobs | submit | enriquto's commentslogin

> there's still something mystical and unintuitive for me about the area under an entire curve being related to the derivative

the discrete version is much clearer to me. Suppose you have a function f(n) defined at integer positions n. Its "derivative" is just the difference of consecutive values

     f'(n) = f(n+1) - f(n)
Then the fundamental theorem is just a telescopic sum:

     f(b) - f(a) = \sum_a^b f'(n)

Very. Very nice

This is cool, but my problem is the opposite: I have a modern laptop screen with tiny pixels. What I need is then a huge bitmap font... does anybody have any?

Here are a few made by upscaling and then manually cleaning up classic fonts: https://github.com/B2HDPI/B2HDPI

The glyph coverage is enough for most programming languages; missing glyphs just fall back to a pixelized look.

Lode 1.5x works really well at 110 ppi displays, which seems to be the uncanny valley for antialiasing.


Why a bitmap font if you have tiny pixels? Just use a sharp font like Iosevka or similar.

i want all occurrences of the same glyph to be identical. This is essentially impossible to obtain with blurry "antialiased" fonts.

Conspicuously missing to this list is uwe's ttyp0 [0].

One of the few bitmap fonts (with terminus) having somewhat complete unicode support and going to very large pixel sizes, so that they are visible on modern screens with tiny pixels.

[0] https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/


The greybeard font says it's ttyp0 with some hacks for windows.


I'm probably your twin, separated at birth... may you share your bitmap font?

> I don't believe in anti-aliasing for a coding font, not even on a retina display

This is a very good point. As resolution increases, antialiased fonts become less ugly, but also less necessary. Thus at no resolution they make any sense; but they look ridiculous for different reasons.


> whoa there, pardner!

cannot even read this thing. Guess I'm not human enough...


> the city announced that the land is now paid parking to the city

what a strange way to put it... why didn't they just say that they are not using any more taxpayer money to finance your parking space? Land in a city is not "for free".

> It's very easy to call another group entitled if you're not one of them

yeah, well: my point, exactly!


I'll be totally honest in that I don't know what the arrangement was before, but that free parking was previously enforced by permits so it's a reasonable assumption that it was not at the tax payers expense


You miss the larger point not mentioned: all those motorists will be mad and looking to vote for someone next election that will undo it all.


Your job in any political office is not to leave everything as-is and to cement yourself into that position, but to make marginal improvements, even if doing so costs you the next elections or inconveniences people (hopefully only temporarily).

Most of those marginal improvements can only be seen as something positive in retrospective, not while they're being made. While they're being made, they'll always be unpopular, as the voter base is usually not keen on defending the people that are currently in charge. That doesn't mean they won't show up in the next elections, just that they are quieter in the meantime.


in the ideal world maybe - but we don't live in the ideal world: most are trying to get re-elected, or elected to a higher office now that they have experience.

and even in the ideal world a great leader can do more in the next term if they get relected.


> Paris can be cold and rainy

I cycle in Paris every week, and the only annoying experience climate-wise is the extreme heat you can get some days in july and august. If it's cold or wet, you can just wear appropriate clothes and be comfortable. But if it's sunny and 35°C, you are going to be drenched in sweat no matter what! Of course, being in the metro those days is even worse...


> why fortran?

why not? the language is straightforward and loops are fast. It is portable and your code will work unchanged for the next 50 years. It may be a bit verbose, but that's not a big deal with today's tooling.


Fortran will survive the cockroaches even, when the world 404s


Yea na, Fortran is pretty compiler dependent and there are a lot of compilers. Already old Fortran code used all sorts of now-dead proprietary compilers and can take a huge effort to get it to compile on modern compilers or even modern computers. Modern code might use Gfortran which sometimes makes breaking changes so that's not an option. Perhaps if everyone uses the latest shiny new Flang or whatever, then it'll finally last 50 years? Not likely, given the history.


For a standardized language, Fortran isn’t very portable across compilers. GNU Fortran has done a great job supporting legacy features, and I hope that our work in flang-new has made it easy to port to, as well. I basically ignored the zealots who wanted flang-new to be a strict compiler by default. The hobbyist project LFortran is quite the opposite, and will yell at you by default for perfectly conforming variations in keyword spelling. For those who like that sort of thing, that’s exactly the sort of thing that they like.


Your code will work unchanged until you try to change compilers or your compiler adopts a J3 breaking change to the language.


> your compiler adopts a J3 breaking change to the language

Like all the 3 of them they added in the last 30 years, and that compiler vendors are not enforcing anyway because they don’t want to annoy their users?

Windows’ backward compatibility is a joke compared to Fortran.


We're definitely enforcing some of them. But the latest one from F'2023 isn't going to be.


Great, can we see some benchmarks?


Cobolsky holds the record for most surprised looks per line of code :)

Fortransky benchmarks pending

the feed scorer will have real numbers worth reporting

Whenever time allows in future: Fortran vs Go vs Python


> I always found it odd that scaling down an image now and then scaling it back to its original size 2 seconds later with the same tool resulted in a loss of quality

I'm honestly baffled at your surprise... say, if you crop an image, and 2 seconds later you enlarge it to its original size; do you expect to get the inital image back? Or a uniform color padding around your crop?

Scaling is just cropping in the frequency domain. Behaviour should be the same.


From a developer perspective you're obviously correct, but from a user perspective it doesn't make sense that the tool discards information, especially when competing tools don't do that.

Of course as a developer that makes it all the more impressive - kudos to the team for making such big progress, I can't wait to play around with all the new improvements!


Cropping IS a destructive operation. If the program isn't throwing information away, then it doesn't actually do cropping, but some different operation instead.

From a user perspective I wouldn't like it, if I were to crop something and the data would be still there afterwards. That would be a data leak waiting to happen.


I genuinely can't empathize with this objection. To me it's basically the same as arguing against Undo/Redo in a text editor because someone could come along and press Undo on my keyboard after I've deleted sensitive data.

What percentage of users sends around raw project files from which they've cropped out sensitive data to users who shouldn't see that data, vs. what percentage of users ever wants to adjust the crop after applying other filters? The latter is basically everyone, the earlier I'm guessing at most 1%?


but nobody argues against undo/redo in gimp!

going by your text editor analogy, we are arguing against implementing undo/redo as a "non-destructive delete", based on adding backspace control characters within the text file. I want infinitw undo/redo, but i also want that when I delete a character it is really gone, not hidden!


Sorry, but I still don't see it - the text editor analogy is stretched far too thin. If I share a project file, I want the other user to see all this stuff. If I don't want them to see all this stuff, I send them an export.

It would be a true shame if every useful feature was left out due to 1% of use cases becoming slightly different.


> It sounds like Onlyfans is exploiting workers and their own customers.

But this is the basic principle of capitalism. The company exploits workers (in order to obtain a net benefit from their work), and exploits customers (by selling the lowest-quality, most expensive product it can manage to). Companies that don't behave like that get out-competed by companies that do. This dynamic is the root of our economic system, as was very clearly explained by Adam Smith and Karl Marx two centuries ago (in slightly different tones of voice).

The particular case you mention is nothing special. The exact same thing happens for all the products that people buy. This is just the stable state of our (some would say "rotten", some would say "healthy") society.


It’s not exploitation unless the participants in the deal are being coerced. You can’t make a solid case for employees being coerced to work for an exploitative employer outside of company towns or non-functioning labor markets; neither of these apply to the Philippines.

If the chatter thought the job was so bad, they can quit and get a different one. Millions of people make that choice, it is available to them. There is no requirement that they do this work; it is entirely voluntary. The people doing these jobs have determined that it is the best option for them, personally, or they wouldn’t be there.

PS: $2-4/hr is a more than decent wage in the Philippines. Median income there is $2.11/hr, minimum wage is $1.36/hr.


If you don’t work, you die, or at least suffer much worse quality of life, especially in poor countries or countries without a big social safety net.

There is a reason why in many places it’s considered highly unethical to pay people for organ, egg, blood donations, etc (besides just compensating lost wages/travel expenses).


Completely true, but also completely irrelevant to the claim at hand: that sex work specifically is exploiting the sex workers.

The general claim that capitalistic societies exploit workers has famously been made many times before.


> unless the participants in the deal are being coerced.

Here's the nice thing about it: they are! If they don't work (for any of the equally exploitative companies in their country) they die.


Maybe you should take it up with your deity of choice. Capitalism didn't make humans need to eat to survive. Or perhaps you should try to bring back slavery, to make others work so you can eat without doing any work yourself. I admit it's an attractive proposition, but I'm not too fond of the impact on others since I'm a bit of a softie


They are being coerced to participate in the capitalist system, maybe. Not to be a “chatter”.

No argument against protections, though.


And yet lots of people don't work for companies and still manage not to die. I wonder how they do it? A mystery, I guess.


Yes, everyone should become a one-person company!


The requirement is that they not starve, not be made homeless, and not be forced into even less appealing and/or more dangerous work.

The coercion comes from the very limited choices they have to avoid that.


The sex workers aren't legally speaking staff. It's a platform that takes a cut like all the app stores.


Sex workers often work for onlyfans agencies, that organise their content, hire people to chat for them, etc.


"Onlyfans agencies" have no business relationship with Onlyfans. They are social media management agencies that include Onlyfans as one of the platforms they "manage" their "clients" content on; their business relationship is with the creators who are the account owners, not with Onlyfans. Their existence, even if their clients effectively work for them rather than the reverse which is nominally the case, does not make the creators employees of Onlyfans, even functionally.


The problem with Marxian exploitation is that a better system can provide you with more luxuries beyond basic needs.

If you're buying a fancy car and capitalism makes you pay 50% more for the car, calling it exploitation is silly when the communist part of Germany only offers a waiting list for a Trabant. You can't complain about being exploited over luxuries.

This leaves just housing, food, energy, education and healthcare. Other than energy, those things suck in the US, but they are very reasonably priced in Germany.

Marxian exploitation is also incompatible with economic equilibrium, which means that a better solution than communism is to introduce equilibrium into our economies and not just declare equilibrium to be automatic.


Under capitalism, man exploits man. Under communism, it is the reverse.


So what you are saying is that, under communism, women exploit women and men bear the children?

I know Projet de communauté philosophe is utopian, but I don't think that is the story it tells. Maybe something got lost in translation?


Someone upvoted you for tripping on a joke this hard? Weird.


Nobody upvoted me. That goes without saying, no? Why would anyone take time out of their day to press a button that does absolutely nothing?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: