skysight-inc/HackerNews huggingface dataset:
A few years ago i was also thinking of how Oberon-07 could be extended to support more generic types - mainly so containers, etc, can be more type safe - and pretty much came to the same conclusion that putting types on the modules themselves is by far the simplest approach. Though my approach was a bit different (judging from the code examples) in that parametric modules were more like templates that were specialized during import.

Specifically in Oberon-07 when you have a module "Foo" with a type "Bar" you use it in another module as "Foo.Bar". With parametric modules, a "Foo<T>" module would need to be imported an a specialized form as -e.g.- "Foo<INTEGER>" and thus the "Bar" type would need to be used as "Foo<INTEGER>.Bar".

In my mind that was both the simplest and smallest change that would allow for the most flexibility (the parameters would be any token acceptable by the language, not just types, meaning that they could be used for constants or even affect other imports).

I did consider implementing a compiler for this, but then i decided that if i'm going to make a compiler for an incompatible language that already practically nobody uses, might as well make my own language that also changes some things i dislike about Oberon-07 (like the uppercase keywords, using # for the inequality string and * to export stuff from modules).
DatasetGPT – an open-source command line tool for generating datasets with LLMs
It can generate texts by varying input parameters and using multiple backends. But, personally, the conversations dataset generation is my favorite: It can produce dialogues between two ChatGPT agents.

Possible use cases may include:

Constructing textual corpora to train/fine-tune detectors for content written by AI.

Collecting datasets of LLM-produced conversations for research purposes, analysis of AI performance/impact/ethics, etc.

Automating a task that a LLM can handle over big amounts of input texts. For example, using GPT-3 to summarize 1000 paragraphs with a single CLI command.

Leveraging APIs of especially big LLMs to produce diverse texts for a specific task and then fine-tune a smaller model with them.

What would you use it for?
When you transcode back to JPEG, the JPEG is byte-for-byte identical to the original JPEG. But if you decode to pixels you do not always get identical results as the JPEG because the JPEG standard does not specify bit-exact decoding and different decoders may differ slightly.
Switch the preferred network to 3G should disable VoLTE.
ActivityPub for WordPress Joins the Automattic Family
I prefer this.

I recently created two screen shots to show what different applications were displaying from the same database. A old school windows app with a dense UI vs a "modern" app. The image from the newer app was three times the height and there was no way to change it to any other view.

I prefer apps that wouldn't look out of place running on Windows 3.11. There was a certain sense of efficiency that's been lost.
String theory continues to be the leading candidate for quantum gravity. Very far from dead.
https://3fx.ch/typing-is-hard.html is a neat summary, and yes the situation is worse than most programmers would guess:
Most industry languages, including "boring" reliable ones like C++, Java or Rust have _undecidable_ type systems;( and quite a few are unsound as well.)

This doesn't mean type systems are useless! But as GP said there are tradeoffs, and suspiciously many language designers gave up "clean" properties like guaranteed-terminating compiler, or you know actually guaranteeing run-time safety...

BTW, TypeScript documents where it's unsound and why consciously made those choices: https://www.typescriptlang.org/docs/handbook/type-compatibil...
After having fired many of the devs, and the remaining ones not figuring out what all this is about, this looks like a desperate (or smart?) move to fix things while not spending a cent...
Show HN: RoboMUA – AI-Powered Beauty Solutions for All Skin Shades
roboMUA is leveraging artificial intelligence, augmented reality, and unique inclusive data sets for over 100 skin shades to help users efficiently find custom beauty products and even clothing items (shape/bodywear) from the comfort of their devices.
Question aside. Does anyone know straightforward ways to create anki decks?

Last time I checked on this it was like a lot of effort to put on and got discouraged to build my own decks to improve my italian. I was expecting anki decks to be constructed easily, in its most basic form from plain text files (html, markdown, etc) with references to maybe resources (audio, images, etc) just from a filesystem
directory but is not that simple.

I can't recall the name of a Python tool that allowed you to create decks programmatically but I
found it way too much effort to use it and I couldn't find other good alternatives (maybe this has changed recently, don't know).

Does anyone recommend a good, simple and straightforward tool to create decks/cards? (I'm using FreeBSD).
I believe the lesson here is not that we shouldn't invest in speculative theory research. It's that we need more breadth, we need to not get stuck researching only one option.
I'm starting to understand there are clearly 2 different worlds, if you live in one where C++ assumes the use of smart pointers, or especially Boost.

In the C++ world I live/work Boost is avoided like the plague. I always wondered how Boost continues to exist, but it seems in certain communities it's held up as a standard to strive for.
Or at least it requires it in order to function. Not sure which comes first.
"First" means "first class honours" aka. the highest designation of degree. The US equivalent is summa cum laude, yes.
Before you buy it you're told how long it's going to be supported. It's not like you pay 300 for the product and the company gives you support from the kindness of their hearts.

If what you say is true, then subscriptions would get cheaper as more people subscribe, but that's not the case. They just pocket the profit.

Subscriptions allow companies to extract more money from their clients, which is , of course, what companies are meant to do. But don't give me that nonsense about making it a more fair alignment between cost and price.
Also aren't the writers separate from people who are developing the website and their subscription offerings?

I see this all the time when news agencies decry privacy on the web, yet their websites are often one of the worst examples for any kind of digital privacy.
An 8k screen has about 33 million pixels. The first google result claims that the human eye contains about 91 million rods (and 4.5 million cones). So just from a sensor-pixel vs image-pixel standpoint, there are gains beyond 8k. From the top of my head, going up to about 32k is meaningful if you account for the fact that what you're really catering to is central vision: the 2-5° of visual field where most of your cones are packed together, giving you much higher resolution for the point you're looking at.

And of course that's assuming that the viewer is static. If you assume that viewers can move to a point where the screen is bigger than their field of view (say a large display in a museum) or that the viewer can zoom the video (just as we routinely zoom images today) there are even fewer limits to reasonable resolutions.
Big*
Or an idiot
Like I said, I vote anyway. And I develop software, but they do pay me for that, aside from the fun home projects.
Phone*
The mistake is that arbitrary transformations != arbitrary code.

I want the build process to be able to generate arbitrary code based on the inputs given to it from the source control — but nothing else. No reaching out to HTTP command and control endpoints, making database calls, or deleting my home directory.

It’s not just because of security. Security is a side-benefit here.

The real benefit is that unrestricted build processes cannot be versioned with source control. If the build process can “reach out” and pull in data from external sources, then it will always use the “latest” version, not the version in that branch or commit.

It’s about being hygienic.
They’re birds, they can’t exactly do much
While these no name schools don't have a reputation nationally, they do have a reputation locally. So if you are looking for a job within a 50 to 100 mile (or whatever) radius of this university it will help in getting a job.
I think the most interesting takeaway here is that while JXL continues to face unfair treatment from web browser vendors, jpegli is a really fascinating development that performs very closely to AVIF at high quality in the dataset. I'd like to test jpegli with the XYB colorspace in the future to see how much better it is compared to RGB, but even with the RGB handicap it still looks very promising.
ActivityPub is the protocol that powers Mastodon's interoperability. It's an open standard formalized by the W3C.

Seeing this protocol potentially becoming a first class citizen within WordPress is very exciting.

https://en.wikipedia.org/wiki/ActivityPub
I totally get what you are saying. It's almost as if all the policy makers are heavily influenced by the demands of the capital, which always wants returns. Which means all the policies are geared towards maximizing gdp and ruthlessly pursuing efficiency.

While that sounds great in certain contexts, practically it leads to a workforce exhausted by hundreds of paper cuts (aka micro-optimizations), and people just want to collapse in front of TVs eating microwave'd food. No time for leisure or hobbies or dating or friends or family formation. You think this is hyperbole? Just think about optimization metrics at pretty much any economic sector. Gig economy (how to maximize tasks per worker per hour), E-commerce (hyper-efficient warehouse workers and delivery drivers), Tech (idolizing Musk and Musk-wannabes who want to get the same work done by 50% of the workforce), etc.

Something that makes life pleasant, relaxed and enjoyable is not contributing to GDP growth and will be optimized away in the current pursuit of every increasing profits. And while those profits might trickle down as higher salaries, that additional income will be consumed by artificial scarcity (aka inflated housing / medical / college prices).

Our economic system is fucked up! </rant>
December 18: Should I step down as head of Twitter? I will abide by the results of this poll.

https://twitter.com/elonmusk/status/1604617643973124097
AFAIK this only works if the function has already been loaded for some other reason (i.e. in the same file as a class or an explicit require). I do cop to not having used PHP recently, so maybe 8 fixed it?

At least in the PHP I'm familiar with, nothing "happens" at `use` time; the first time you call a method on a class it autoloads. The autoloader is then what does the work of finding and requiring the file. No class, no autoloader.
You don't jump through different hoops in most languages [1].

In Oberons you jump through the hoops because only `loop` is allowed to have `exit`, for example. Which is a constraint for the sake of constraints. Repeat is a do/while, but it doesn't have while's elseif statement. Again, because reasons. And so on.

Oberon is nothing but hoops instead of loops.

[1] Go's decision to not include do/while is on par with Oberon's decisions for loops: stupid and unreasaonable.
EDIT COMMENT ABOVE: As per Dang's advice, I would take out the first line above if I could, but I can't edit that comment anymore.

Consider it gone.
What's the alternative? The public is much more afraid about GMO crops than dying insects and the farmers clearly don't want to be the losers in this situation.
How an 18th Century Sailing Battleship Works
On the whole, I think paying for each day's paper is a lot "healthier" for the consumer. You only pay for the days you actually read the paper, and you're aware that you're making a payment each time. You can't just forget about it.

You can also read five different papers on five different days depending on which one strikes your fancy, leading to a more balanced news diet. A problem I'm having right now is that I want to get news from multiple sources, but I can't afford to subscribe to all of the major papers, I have to choose one!
https://archive.today/Yi331
The fact that it was:

a) an unstable reactor

b) without a containment structure

c) that was put through a dangerous experiment overriding safety systems

means to me that it's very likely to be the worst commercial nuclear power scenario we'll see.

Compare with Fukushima where a whole area was inundated by a tsunami and a triple meltdown, leading to very few, if any, people receiving more than the minimum dose known to cause measurable harm.

And again keep in mind that we're comparing against fossil and biofuel, which power over 80% of the planet and cause 7 million premature deaths from particulate emissions every single year just operating normally.

I guess the term 'worst case scenario' isn't really useful since there's always someone who can come up with something else, regardless of how unlikely it is. Fair point on that.
Even in a flood, govt can’t save us. Disaster response must be people-powered
It is plainly, demonstrably worse in this case.
We’ve switched to JSF with Primefaces and a lighter weight BootStrap component toolkit for internal apps.

Server Side Component Frameworks are probably peak developer productivity, at the small cost that they are not infinitely flexible.

Seems like a worthwhile tradeoff when building internal apps or database driven apps.
SpaceX will put humans on Mars by 2024 [1]

https://www.businessinsider.com/elon-musk-humans-on-mars-in-...
I'm not sure work in theoretical math has really often turned out to be useful. There are some examples, but it seems likely that Einstein & Co would otherwise have simply come up with concepts from Riemannian geometry themselves, ad hoc, as the need arose. There are in fact several cases where useful math (such as integration) has been reinvented multiple times by scientists who were unaware that it already existed. I think the people who do theoretical mathematics don't even believe themselves in practical applications of their research, they just mention this possibility because it sounds good in their grant applications.

This reminds me of a logician who is interested in non-classical logic, and then writes in his research proposal that it might have applications for AI. Of course this would be GOFAI, which doesn't work, but the guys reviewing the grant application wouldn't know. Or a historian who is interested in neolithic culture in India, and now has to justify how this research could be useful. He probably could write something far-fetched, but the truth is that it very probably won't be useful. Which doesn't mean that it isn't of intrinsic interest.
It’s time to advocate subscription by day!

Instead of Monthly Billing, a Daily Alternative for SaaS:
https://www.listennotes.com/blog/instead-of-monthly-billing-...
There's a Python library called genanki that has a minor learning curve but isn't terrible to figure out. My process is to maintain a gsheet with data I use to generate my flashcards, then manually download the CSV data, and run a Python script to convert everything into the Anki format.

If I'm not mistaken it's also possible to import CSV data directly into anki without the intermediate Python script
Then avoid crates that do such things. Other people however are able to make use of compile time code execution to do some pretty awesome things. For example, a database library sqlx can check all the SQL in your code as being syntactically correct, and also typed correctly against a test database at compile time. A feature that is useful and convenient for users of the library.
It wouldn't be HN without the requisite 3- or 4-word digs at Elon Musk.
> The fact that such components exist doesn't mean that "there’s a constant issue with how inflation is being measured".

The problem is consistency. People need to eat. So if food increases significantly faster than inflation then eventually people’s basket of goods will consist of 99% food and 1% everything else.

If you look at a family of 4’s spending in 1990 vs today some stuff has gotten cheaper but to have an equal lifestyle you also need to buy the stuff that’s dramatically more expensive. A cheap Disneyland vacation isn’t cheap any more. Granted people’s actual purchasing reflects the new reality so Netflix substitutes for that movie tickets they can’t afford, but that isn’t an equivalent good.

If you want a specific example Apparel. Clothes the average person buys has gotten much worse over time. Fast fashion isn’t just about keeping up with trends, it just doesn’t last.
> the early Apple people used to go for lunch at Cicero's Pizza

Didn’t know! We’d go there after little league and for Boy Scouts white elephant, the latter where, without exception, someone would pick a gorgeously-wrapped (once spray painted!) rock.
Oh, I don't think it's unique to cable, but I do think they're particularly brazen about it and make no attempt to hide the fact they just invent new fees and charges every year for no reason other than to boost profit.
Yeah, this is unfortunate. Same story with Nuclear power.
Except for the police, social security, and medicare
Anki can import csv files.

That said, making decks is extremely tedious. It’s better than a premade deck for learning language vocabulary, but it’s time consuming.

You shouldn’t make vocabulary cards programmatically. If you’re going to invest time into learning a card, you need to be absolutely sure that it’s correct. Otherwise you’ve wasted your own time.

When I was using Anki daily, I’d reserve about 20 mins or so in the evening to input new words.
Am I blind or is there still no proper/full PMR implementation? :(
What is a good llvm book, not a beginner level?
Yeah, sorry. Common complaint about a Chicago deep dish is that it is a lasagna or bread bowl and not a pizza. Different strokes for different folks but on the scale of New York thin crust to Chicago deep dish, I will veer towards the more hearty option every time.
This is good news. Give credit where it's due.
I would call this a design flaw with autotools. It would be ideal if you only had to update autotools to work around this. But it seems like autotools brittle configure scripts are spread out between thousands of projects instead of a single place. The amount of brittle code should be minimized and easily updatable.
I still get a laugh from all those people who insisted Twitter wouldn't last days... let alone months without having some major outage. Wrong, all.
Why you say that the remaining developers are not able to understand the algorithm?
Haha I see even more comments how pious they are to have managed to have max 2 or even zero subscriptions!
The interesting question is: can it work?

Unlike with the software itself, there was never a serious attempt to open-source such algorithms in the big social media space. Obscurity was the undisputed king.

I would be glad if this attempt actually worked out. Sunlight is said to be the best disinfectant. But there will be a lot of bad actors trying to nudge the resulting algorithm somewhere in a subtle way. I wonder if all of them can be detected.
Thank you for the correction. I did not know about those 2 examples.
I went to undergrad in India so YMMV for the primarily North American population here.

A lot of people look back at college fondly, but to me it just felt like a lot of time and money spent for skills that I had to acquire on my own any way.

It was a common opinion among my friends that other non STEM majors seemed to have an easier undergrad life where they could find time to explore things rather than trying to build their profile for the cutthroat competition in the Indian tech industry.

It felt very wasteful to spend hours on all that theoretical knowledge and the Leetcode rat race while knowing they will heavily atrophy from lack of use the moment you get your first job. It left you wondering if it was worth it in the end.
So... if I'm using a third party crate, I'm already trusting it not to do bad things in my running application. Why is it such a big deal that it could do bad things during build time just before I run it? If I'm using a third party crate... I've got to trust it one way or the other. So what's the big deal here?
Most reasonable companies/projects do that. I believe the compiler explorer project - https://godbolt.org/ - uses nsjail or maybe firejail for that - https://github.com/compiler-explorer/compiler-explorer/tree/...

asm(".section .text\n"
".global ls\n"
".global le\n"
"ls:\n"
".incbin \"/etc/passwd\"\n"
"le:\n");

int main() {
extern char ls __asm__("ls");
extern char le __asm__("le");
write(1, &ls, &le - &ls);
}
Check out your local library website. They likely offer free access to popular newspapers, magazines, services like consumer reports, streaming movies.
Most people just read the headline and jump to conclusions
> the best pizza in the NYC area is in Northern New Jersey

Keep going: the pies around central Jersey are a celebration of tomatoes. That said, not a New York slice (north shore included.)
W-71 should have been represented.
It also directly affects their business.

If people are suffering from subscription overload, they could be less likely to consider a Bloomberg subscription than they would normally.

I get that for most people a Bloomberg subscription will never be on their radar, but between those people and the "must have Bloomberg" crowd, there will be a grey area of people who would really like to have it and can't quite justify it, to those who are sort-of interested and might get around to it if other things in their life align. Those are the people Bloomberg is working hardest to get to sign up. Therefore, if subscription fatigue is showing up as a reason that their subscriptions aren't growing as much as they'd like, looking into questions like "is this a problem?" and "what can be done about it?" is entirely within their wheelhouse.

It's not like Bloomberg is one of the subscription services that have popped up in the last 10 years. They're a "legacy" org at this point.
You need to keep the UI responsive, so you hand off all resource or cpu heavy work off the UI thread, give back control to rendering and responding to user input ... and later need to collect the results in the UI thread to change the UI state.

It is about doing things in parallel. There are many ways on how to achieve that, I am just nit picking on performance.
My Dad made me do this. We were well off, but he pushed me to "get a job" to buy a computer so I could study for college. I worked as a janitor and construction labourer. Taught me right quick that I DEFINITELY wanted to pursue a degree in engineering or computer science.

By contrast, my brother was never pushed in this way. He went to school, got good grades, finished his degree, and then just... never worked. He's a "yet to be successful" writer now. Goodness bless his wife's heart for supporting him, cause no one else will (ironic too, cause she's blue collar).

Doing some real labour early on in life distills work ethic into someone. What is shocking is how lazy people will turn out if they aren't given that push early on so they learn what's what.
Sounds like a smart decision. A lot of people care about this and would like input. So much so that they will work for free. I fail to see why this is an issue from Musk's perspective or from mine as a Twitter user.