skysight-inc/HackerNews huggingface dataset:
Show HN: I made a tool so devs never have to deal with PDF generation again
Hi HN,

After years of frustration with PDF generation, I decided to tackle this problem and create a SaaS product.

My goal was to combine:
-Mailgun for transactional templates
-Tailwind CSS for fast styling
-Google Fonts to allow font family updates in one click
-VS Code for a great development experience
-Chromium for pixel-perfect PDF rendering

Because as developers, our value lies in building great products, not generating PDFs…

Kevin
You are confusing simplicity (it's easy to understand and straightforward to implement safely) with convenience (I have zero understanding of how it works and couldn't implement it securely if my life depended on it, but someone already wrote a library and I'm just going to pretend all risk is taken care of when I use it).
Of course I can't speak for phire, but maybe this is not the right time.
An alphabet is connected to a language. And controlling the language and its writing, especially related to religion is a very powerful tool. How you do communication, what culture is relevant for you, etc.
And that happens even today - just think of the role English plays, and then American cultural artefacts. And compared it to French at the turn of the 20-th century
In addition I'd add that homelessness still exists in Singapore, albeit at a very low level, estimated at about 1,000 people out of a population of 6 million. ChannelNewsAsia did a feature on homelessness here a while ago:

https://www.channelnewsasia.com/watch/homeless-singapore/why...
Show HN: I made a tool that makes stock investment research incredibly easy
Those will still have a ceramic resonator in them, as they’re cheaper than a quartz crystal. Hard to imagine them being audible, but not impossible.
Yes! I immediately thought about APE when I read The 86open Project's FAQ. However, I feel that APE is less related to the blog post so decide not to add the link to the post.
What would you have the world do that's not currently being done which is both economically and politically viable? Spray aerosols in the atmosphere?
Similar idea [1]:

>Engineering mode shuns uncertainty, because uncertainty may involve risk that corresponds to bad surprises. Discovery mode thrives under uncertainty, especially when a rare but beneficial result leads to finding something new, or a reduction of uncertainty in the face of making strategic decisions.

In summary, to understand the distinctions of Discovery and Engineering modes, one needs to have an appreciation for variation and the underlying distribution of outcomes expected while operating in each mode respectively. Without understanding the asymmetry in their outcome distributions, it would be difficult to convey how these work modes are different.

[1] https://jabustyermancom.wordpress.com/tag/discovery-vs-engin...
Higgs boson's most captivating puzzle still remains
They point is the same for Chrome - "should" is a wish, not a description of reality, so if you care about users using old versions, you use a fallback method.

Also don't you have stats by version number, what is extra non-arbitrary about LTS?
I've been using a Chrome extension called Clear Skies for the past few months. It skips ads on youtube.

https://chromewebstore.google.com/detail/clear-skies/jkiagen...

Doesn't seem to be affected by the issue reported here.
Yeah the company making the bands also makes that flashlight: https://pixmob.com/stories/pixmob-portable-transmitter

They call it a portable transmitter.
"Things are being used because they solve problems and do so with least effort possible" in an ideal world sure in the real world there are many factors that influence technical decisions often having nothing to do with actual problem being solved
Not what you were asking, but the Adriatic sea, between Italy and the Balkans, takes the name from the town of Adria, which is now 10+ km from the sea (though that is mostly due to the work of the Po river).
I think this isn't true (at least subjectively, for me). There are plenty of similar objects you can construct.

This wikipedia page has a bunch of examples of Julia sets

https://en.wikipedia.org/wiki/Julia_set#Examples

I'm also partial to Newton fractals, some of which look very cool

https://en.m.wikipedia.org/wiki/Newton_fractal
That exists and it's called Arweave. You even collect imaginary brownie points for maintaining the archive.
>If we're talking about a web session, time-limited randomly-generated session tokens that are stored in a DB still work fine.

How is this better than JWT if we have 30 microservices called from front-end?
iSH is a restricted x86 emulator, so booting to it will never happen. But one can hope…
That doesn’t look so specific to software field though. We, mankind, are making buildings since even before we had writing systems. Are they perfect methodologies to make any building in expected time?

Sure you can maybe make a bit more of rationalization and replicate a house many time with affordable local material. But you will not replicate the same house everywhere, because they don’t have the same material near them and move it from far might be economically prohibitive and not competitive with local material. Also your house design is probably a poor fit for many environments. And people have different cultural expectation in term of architecture due to historical factors, plus each individual comes with its own whims.

Where is the standard scalable (both shrink and expand) omni-environment bridge design, hmm? All bridges have the same basic purpose, and yet I have no doubt building most of them have been a challenging endeavor of its own.
One of my first programming moments when I was a child - I naïvely opened the wp index.php to understand how it works. I remember I couldn't understand a thing except the comment in the top of the file "code is poetry".

Dear op thank you for changing my mentality about code, inspiring me and pushing me into it.
US States with Preserved Lockheed SR-71 Blackbird Aircraft
https://fullsiteediting.com/themes/ has a list, including one or two skeletons.

I am tempted by Anders Norén's Björk, which is also FSE:

https://andersnoren.se/teman/bjork-wordpress-theme/

I think I did most of my learning with Carolina's own Jace theme.

(FWIW I have always thought the roots.io stuff is a mistake, conceptually.)
I just wish WordPress actually adhered to development standards, not actively tried to break them.

Using globals everywhere and encouraging spaghetti code with its classic themes, and with its new themes it evidently learned nothing and is encouraging JSON inside HTML comments which obviously has no editor support, is very prone to errors, besides being just plain stupid (like seriously, some senior engineers I assume decided to have templating inside HTML comments as JSON?). If I had my tinfoil hat on, it's almost as if they actively try to kill the freelancer or digital agency market and push everything to its WYSIWYG site builder on WP.com.
No it doesn't. Stop lying.

Whenever energy is cheap and available Bitcoin will just consume it.

And we see this. We see were energy gets blindly stolen in China, we see were a old gas power plant gets turned ON again in NY. We see that in Texas they paid the Bitcoin miners money to stop mining when they needed the energy

We need taxes. Poor people especially for social services. No one benefits proportional more from taxes than poor. And if a poor person can take advantage of anonymous money, the rich have done it already.

Proof of work is shit and Bitcoin doesn't solve a single issue. You still can get robbed of Bitcoin now just much easier than before, it's still not anonymous because of the ledger and the amount of energy and hardware garbage it produces hurts normal people more than it ever helped.

We have the perfect system which has more features (a lot more) and has grown to what it is. It's our current proof of stake. Bitcoin doesn't solve inflation/Deflation at all. The new Bitcoin amount which gets added to the system is not controlled which is necessary to have the right amount of money in it to be useful.

I can go to a bank and recover my money.

I can exchange my money with other countries.

We have some type of protection for inflation and Deflation .

You really need to learn to understand our current currency system.
> You drink your yerba mate, whether hot or cold, unsweetened

What about adding additional herbs (yuyos) for flavoring? Not fully sure, but I have the impression that it is mostly a Paraguayan thing.
My takeaway from the paper is that you can guide training by adding/switching to a more difficult loss function after you got the basics right. Looks like they never got to overfitting grokking, so maybe there’s more to discover further down the training alley.
The model has some limitations, for example:
- it can only generate 30 seconds of audio
- there's performance differences between music genres

You can read more about the limitations here https://huggingface.co/facebook/musicgen-small
Linkers and Loaders

I have analyzed a few object file formats in another blog post
https://maskray.me/blog/2024-01-14-exploring-object-file-for... (HN discussion: https://news.ycombinator.com/item?id=38998914)

ELF is technically not complicated and simpler than COFF and Mach-O.
I couldn't agree more. I think many of the people who choose to isolate just have more self-awareness and more defining bad experiences that makes them avoid too many social interactions that are not strictly necessary or truly beneficial in an obvious way.
In fact, I believe that the nicer and more honest you are in our modern world the worse it is for you.

At heart I'm a rather social person, I like talking to people and doing stuff with them. Yet, all my life I have been abused both verbally and physically, I got stuff stolen many times (often I was actually trying to help) and I get manipulated/used all the time without getting much in return.
All of this comes from being too different (not weird in a bad way, just different in the way I speak/handle myself) and abusive narcissists parents (one in particular) that destroyed my emotional self, teaching me to avoid all conflit at all cost and not stand-up for myself even though I would be capable.

All this is made worse in our bullshit job world, where every business pretend that they are a family and require you to give a lot of your life (like for example forcing you to eat with coworkers even though it should be a break for yourself) while still not giving any kind of security (you can be fired/discarded regardless of the quality of your work) or a real sense of being part of a larger cohesive group that stick together.
Because at the end of the day, even inside a small business, it's all competition, lies, exploitation, anything is OK to get ahead regardless of consequences on individuals, they are expandable.

That being said, drugs make everything worse in the long term, they are a relief/distraction but if you don't manage to kill yourself with them, they will cause more problems on top of the already existing ones. In a way, you could say that the users of hardcore drugs are somewhat ahead of the curve, because if they manage to OD it is sort of a salvation without having to deal with all the implications of suicide...
For a while in the early 2000s to late 2000s there was a very widespread usage of 4 and 6 replacing the ch and sh sounds. In hindsight, this was more likely to replace the letters 'ч' and 'ш' than Latin letters.

However it died out.
at first, i thought, "if this doesn't use a server, then how..." - then i started typing and watched the url change. amazing!
Chinese firm files plans for 10k-satellite constellation
Show HN: Free Auto Capitalize Sentences Online
> rents can be temporarily lower than costs in the short term. In the long term if that happens, the landlord ceases to be a landlord

In the very long run, yes. In the medium term, as in decades, home-price appreciation has let landlords in several markets run at a loss and rely entirely on capital gains for profits.
Elon Musk's xAI raises $6B to fund its race against ChatGPT
I use it regularly (from the very beginning) and it works great, except that the VS Code instance is a “web” one, and as such quite restricted in terms of what extensions it can run. You also need to install a (free) file system extension for it to actually access any files (local or remote).

The terminal by itself is pretty great, and supports SSH agent forwarding (a key thing for me, that sadly mosh doesn’t handle well).
I wish DBus used a pseudo-filesystem approach with plaintext commands in a Plan9 manner - so you could call DBus object methods just by opening a file and writing/reading from it.

There are probably reasons why DBus is implemented the way it is, but it just doesn't feel elegant at all.
Harry L. "Nick" Tredennick was an American manager, inventor, VLSI design engineer and author who was involved in the development for Motorola's MC68000 and for IBM's Micro/370 microprocessors.
Hi,

I’m Kevin, an indie hacker from Nice. A few months ago, I noticed that I was wasting time on each of my projects setting up PDF generation…

Depending on the language used, we don’t always have a Chromium renderer available to convert HTML/CSS into PDFs. We often end up with a library that does it poorly or requires placing elements pixel by pixel…

So, I created this alternative. I hope it helps you, and I look forward to your feedback on my product!

Kevin
> Some cultures don't even have the word for green

That's news to me. Reference?

BTW, the word "green" just means something different when applied to eyes than when applied to everything else. And green is a continuum so there is some fuzz around the edges. But if the task is to pick out green from a palate of half a dozen canonical colors I can definitely build a machine to do it with >99% accuracy.
Nice!

In llvm-project, obj2yaml pretty prints an object file in YAML and yaml2obj can convert the output back to an object file.

The test cases are a good way to explore the functionality:
https://github.com/llvm/llvm-project/tree/main/llvm/test/too...
https://github.com/llvm/llvm-project/tree/main/llvm/test/too...
…and also one of the ingredients for the hacker-approved Tschunk! https://en.wikipedia.org/wiki/Club-Mate#Tschunk
This is really cool- I'm excited to dig through the code for this one!

A bunch of the comments talk about using in earnest- at the risk of sounding out of touch, if you want private, offline available notes, what's wrong with text files on a file system?

(I think my question looks sarcastic, but I'm genuinely interested!)
Create Magnetic Brands: The Science of Archetypical Marketing
Brand archetypes are universal, deeply-rooted symbols that represent fundamental human desires, motivations, and fears.

In marketing, brands can leverage these archetypes to tap into these universal human emotions, creating a powerful narrative that resonates with their target audience.
California launches pilot to charge drivers by miles, possibly replacing gas tax
Because it'll lead to building more and higher utilization.

The problem with most comments in this post is they don't say how they'll get people to build. It requires incentives.

Has anywhere tried LVT?
I want to point out that spreading the script back then meant spreading it in churches. I don't know for sure, but it might have come with first translations of Bible into local languages.

We nowadays instead perceive the question like whether or not a whole country will 99% literacy should switch writing system.
I m not a doctor or anything in that sort, so stupid question time: is donated blood labelled by male/female? If not, how come we can transfuse male blood tp women patients, there is a whole bunch of male hormones in excess, and a whole bunch of others missing?
It's amazing how much lock-in you get by developing ecommerce sites with WP for clients. Her site was recently down, just didn't load. She paid a few hundred for the agency to take a look, they said they updated plugins and "removed viruses" and all is good again. If you're someone not technical or without a huge sum of money to pay someone to replicate the functionality to migrate off WP you're on the hook for the life of business.

You can migrate hosts but that's about all the freedom you have, paying Shopify 20-30 USD / mo is nothing compared to what you'll have to eventually pay with WP if you build your business around it IMHO.
GP:

> I have worked for multiple startups (Malwarebytes...

Note the "have worked" and the rather long list of places they've worked. If that list is in chronological order (sure didn't look alphabetical), Malwarebytes doesn't have to be a startup now for it to have been one when GP worked there.
Yes, Hyphanet is considerably safer and does not compete with a multi-billion Euro corporation about brand rights.
HarvardX: CS50's Introduction to Artificial Intelligence with Python
Isn't this the same as what was posted yesterday? https://news.ycombinator.com/item?id=40490721
Shameless plug: I developed a similar project that is Web-based (source [1], demo [2]) and supports having multiple connections configured. Both github.com and GitHub Enterprise are supported. Other backends (e.g., GitLab, Azure DevOps) could be added in theory. I started this because at work, we use no less than 2 instances of GitHub Enterprise, in addition to github.com.

It is a client-side application, meaning that it is very simple to host (no backend required).

[1] https://github.com/pvcnt/reviewer

[2] https://reviewer.pages.dev
What is the actual price?
Nice system built with only a couple of C99 macros. That small header also achieves matching for specific C types over the "sum types".

In the context of C99, isn't tagged union the more usual name instead of sum type?
https://www.sco.com/developers/gabi/latest/revision.html specifies

> Second draft published May 3, 1999.
> ...
> New dynamic section tags DT_RUNPATH and DT_FLAGS added. Dynamic section tag DT_RPATH moved to level 2.

In glibc, DT_RPATH and DT_RUNPATH have different semantics regarding precedence related to LD_LIBRARY_PATH. In FreeBSD rtld and musl, DT_RPATH and DT_RUNPATH are equivallent.
Chicken!!!
There are Byzantine Armenian dimensions to this story that I suspect not many people know. Cyrill and Methodius were taught by Leo the Philosopher and Photios, in the University established by Bardas, all Greek-Armenians who clearly knew the transformative effect of having your own writing system (it saved Armenians from assimilation just a few centuries prior to these events). It took Hellenic culture of Byzantine period and Armenian experience to give birth to the first Slavic writing of Moravia and Bulgaria, and later most of Eastern Europe.

Incidentally, the first writing system (Glagolithic) didn't stick nearly as well as the subsequent iteration (Cyrillic) because the latter was so much closer to Greek, and every educated person already knew how to read/write Greek so it was a much easier sell. Regardless, this invention and its promotion was very much a planned and well-understood Byzantine project.

> Thus Bardas founded the Magnaura School with seats for philosophy, grammar, astronomy and mathematics, supported scholars like Leo the Mathematician and promoted the missionary activities of Cyril and Methodius to Greater Moravia.

https://en.wikipedia.org/wiki/Bardas
https://en.wikipedia.org/wiki/Leo_the_Mathematician
https://en.wikipedia.org/wiki/John_VII_of_Constantinople
https://en.wikipedia.org/wiki/Photios_I_of_Constantinople

(these further cite primary sources)
We use Pyodide at https://count.co and think it's pretty amazing! Congrats on the new release. I read about the snapshot support for Cloudflare workers and assumed it was a feature that Cloudflare had developed - the fact it may be coming to all users of Pyodide is great news.
While I agree with you, and also find the evolution = improvement views kind of annoying, I think you're also stating something that's accurate but perhaps misleading. Because when you say "good" or "bad" people are going to mistake that for what they personally think would be good or bad. When in reality good = makes you more likely to successfully reproduce, and bad = makes you less likely to successfully reproduce.

The best example of this is intelligence. In modern times, intelligence has become substantially inversely correlated with fertility. And as intelligence has high heritability, we are actively selecting against intelligence. And in fact we are already seeing generational declines (which had been previously been increasing for as long as IQ has been measured) in intelligence. [1] And this trend will continue until the point that intelligence and fertility once again become positively correlated. Nobody would ever say intelligence is a "bad" trait, but in evolutionary terms it has become one.

[1] - https://www.sciencedirect.com/science/article/pii/S016028962...
Used to work at a coroners office and the activity I saw on the sign out sheets for each persons autopsy file made me change my status from donor to not. The donor organizations (God bless them) just moved way too quick and came off as too thirsty for my taste. Not to mention (not that people would care) you look like a baseball the way you’re stitched after.
Surely there is a plugin for that.
Ok, and just because a few countries did it, in what way implies that Bulgaria will? Your arguments have no basis other than "Country A did it, so Bulgaria is also more likely to do it".
Chapter 11: Prepare to throw one away

Pilot Plants and Scaling Up Chemical engineers learned long ago that a process that works in the laboratory cannot be implemented in a factory in only one step. An intermediate step called the pilot plant is necessary to give experience in scaling quantities up and in operating in nonprotective environments. For example, a laboratory process for desalting water will be tested in a pilot plant of 10,000 gallon/day capacity before being used for a 2,000,000 gallon/day community water system.

Programming system builders have also been exposed to this lesson, but it seems to have not yet been learned. Project after project designs a set of algorithms and then plunges into construction of customer-deliverable software on a schedule that demands delivery of the first thing built.

In most projects, the first system built is barely usable. It may be too slow, too big, awkward to use, or all three. There is no alternative but to start again, smarting but smarter, and build a redesigned version in which these problems are solved. The discard and redesign may be done in one lump, or it may be done piece-by-piece. But all large-system experience shows that it will be done.[ Where a new system concept or new technology is used, one has to build a system to throw away, for even the best planning is not so omniscient as to get it right the first time.

The management question, therefore, is not whether to build a pilot system and throw it away. You will do that. The only question is whether to plan in advance to build a throwaway, or to promise to deliver the throwaway to customers. Seen this way, the answer is much clearer. Delivering that throwaway to customers buys time, but it does so only at the cost of agony for the user, distraction for the builders while they do the redesign, and a bad reputation for the product that the best redesign will find hard to live down.

Hence plan to throw one away; you will, anyhow.

You know the source.
> The average attorney is just like the average person, except he passed a difficult test.

My best friend is a lawyer, so heck knows how difficult that test can be -- he passed it. ;-)
maybe this is better: https://casetext.com/case/thomas-v-cnty-of-humboldt
This is not identical to my experience, but I definitely have the same problem with hobby computing. My lack of time and energy as I get older is frustrating, but also just the fact that I don't want all the hassle. I want a computer to do work in applications, not because I want to meticulously maintain and configure the operating system for a couple hours every week.