skysight-inc/HackerNews huggingface dataset:
Presumably, a train fan wanted to play with announcement audio. Is that not reason enough?

I'd try it myself, but local train station announcement systems are commercial software that's licenced by the central rail authority, so I suppose it wouldn't work.
Anyone know if there’s a blog post which adds more discussion and context for understanding the bash script and how all the commands fit together?
Does it need to do anything novel?

I always ask my tech cohort people this. They get alot of peer clout from pursuing “original”, when often times their vertical just needs “additional”.

Like an additional grocery store in the area. It doesnt need to innovate.
I explicitly said "I don’t think Google misrepresented anything" so not terribly sure what your point is here.
> Probably 15 times, people lectured me under the guise of a question "Why did you rent a car? Why not just take trains?", and maybe 10 times "That's so American".

As a European (Italian) myself I find that odd, as for all but trips that are either to a single city, or very specific limited area with superb train/public transport access, I'll definitively use a car, as do most people I know.

But that may also come from the fact that I did not grew up in a big(ger) city, and while I took the bus and train for going into school, a car was still quite the requirement for a lot of other things anyway.

Definitively agree, when I went camping with a few friends in tents around Sweden in 2017 we met some wondeful people in quite remote areas, and it just wouldn't work with trains or the like, that was only OK when staying in Göteborg for a few days.

Same in Madeira, we rented a car there and without that we'd have been confined to basically the main city Funchal only, but with the car we could explore the whole island nicely, basically spending a day or two in each corner.

> You know what I'm not going to remember? Standing in a mob waiting for a train in Cinque Terre.

Well, it seems it left an impression ;-P

That said, I went to Cinque Terre in 2020 by car, parked in Monterosso and was fine using the train between the five towns, but then most US/UK tourists did not visit that year, so it may have been quite a different experience. I really do not think that traveling between the towns using a car would be better than the train, as Monterosso is the single one that is _somewhat_ car accessible, at least for smaller ones.
If not for heads down work and not for meeting.m what else would it be for?
Sorry it didn't get traction. Maybe try a repost later.

I'm interested in what performance is like for private packages outside of NPM registries, i.e using git+ssh... NPM is almost unusably slow to resolve these, yarn is a factor or two faster, and combined with it's behaviour of not re-resolving stuff in the package-lock this makes it just about usable for me - but even with yarn the overall experience of using many git+ssh repos is not great, it's even worse if dependencies are nested.

I'm not sure where the performance limitation lies with resolving git+ssh based revisions, but I'm pretty sure the existing package managers are not near the limit of what git remotes could provide - I've written some scripts relying on remote git tags with CLI plumbing commands and even that is not particularly slow.
> their virtue signaling propensity

What does this mean?
A very similar tool for macOS, inherently more native, called Scoot [1]

[1] https://github.com/mjrusso/scoot
you should note that Trump had no problem getting FDA approval for his own COVID treatments.

I guess FDA only understands the urgency only if you have money and power.
If you make the trip, you get 1 point. You can drive back to get another point. And then go on for more points. People have competed for high scores at this game.
> Yes. The Biden admin is creating a two-front war with Russia and China.

It’s important to be clear here that this administration isn’t creating a two-front “war” or conflict with Russia and China but responding to egregious activities by both parties.

It should also be noted that all of these moves have wide bipartisan support. Something like 99-1 senate votes and the like. Trump, a Republican, campaigned on being tough on China after the Obama administration and enacted punitive trade tariffs and the like. Republicans and Democrats campaign in states like Ohio where manufacturing was hollowed out that they’ll “be tough on China”.

Western countries (Germany - Russia, U.S. - China) spent decades trying to open markets and provided peaceful dialog between countries while managing sore spots without conflict. Russia chose to invade Ukraine and disrupt emergent markets. China chose to become a dictatorship and engage in hard-line international policies.

It’s important to remember this less as the US and western allies decoupling and more so responding to a decoupling that already occurred lead by both Putin and Jinping. You can know that this is the case because both leaders tell you that this is the case in their “rejection of the international order” or “American lead order” or similar rhetoric.
Thanks, that sounds great! As long as the compiler and CLI are open source, I'd be happy to try out the web app at some point too!
How are you supposed to learn concepts like higher-order functions if you only know C, for example?
Update: I did some playing around with the renderer settings and other settings in the options in regards to the filters. I found the problem.

It was FFDshow raw video filter the entire time...

I didn't even think about it until I saw that it was enabled but Avisynth was disabled. I put everything back to the way it used to be before this post today, and the problem came back. I took off EVR and used VMR9 renderless instead, and the problem went away. But that made me curious, so I checked further into the tweaks like I just mentioned and saw the stuff with FFDshow and Avisynth. So I put everything back the way it was (again) and disabled FFDshow. No artifacting, but now SVP4 wasn't working.

Okay, I thought to myself, let's see what happens with Avisynth.

So I put Avisynth back on, and voila. SVP4 works, and no artifacting.

So, FFDshow is FFDshit I guess. At least as far as EVR is concerned, especially with using bicubic resizing. Using bilinear fixes it for VMR9 renderless though, so if anyone has this same issue I have had to deal with; there you go. That's the fix. Either use bilinear resizing if you really must use FFDshow raw video filter, or just AviSynth filter with whatever you please, cause it actually works by comparison.

Perhaps there is more behind the scenes that I don't know about that could make FFDshow work with bicubic without issue, but quite frankly, this basically just gave me every reason I need to never use it again except maybe in certain edge use-case scenarios.
There are no domain specific nuances. Please feel free to read it, it's very short: https://diabetesjournals.org/care/article/17/2/152/17985/A-M... (PDF link at the bottom)
How does it work?

What does this mean:

let hmm:t5034175 = ([] == {});
let mmh:t5034194 = ({} == []);
var r:string = null;
if (hmm) {
r = hmm;
} else {
r = mmh;
}

r = hmm + mmh;

:(possible candidates all failed:
) -> possible candidates all failed:
function f (t) { return t + t; }

:possible candidates all failed:
var rrr = f(r);

?
> Being white and not self-loathing is practically a hate-crime these days.

...in the USA. In other parts of the world, not so much. Unfortunately, the USA has enormous influence on the culture in other countries: through business culture, tech giants and so on. So many of these alien concepts transpire to societies where they make little sense.
> it has been shown that natural forests are better at sequestrating CO2 than commercial forests

I'd be interested to get more info on this. Specifically, the two claims made by the parent seem plausible enough:

- that old growth forests are carbon neutral

- that growing and harvesting trees is carbon negative

Or is it a time scale issue?
Yeah and those open minded people might really be on to something there.

I didn't particularly like the premise of the article, which seems to be that the goal is to change the other's mind. But think about it, what could be more beneficial to me than having an argument that changes my mind? If I convince someone of my opinion (whether by "weapon" or by "gift") then they learned something (ideally...) but if I change my mind thanks to the conversation, then I just learned something, I got to make that improvement to myself.

A day where nobody changed your mind is a day of stagnation.
And god forbid if you want to learn things outside CS, too. Like you know, most people.
The other reply (I think by the creator of HTMX) is right, HTMX is not a DSL for DOM template manipulation, but I want to address your main point about DSLs for DOM templating.

I completely see the appeal of a "it's just JS" approach that JSX and React take. But there is a massive advantage that a DSL has, the compiler can statically analyse the template and compile it in such a way that it has an understanding of what will change, what won't. This allows the compiler to make massive optimisations that JSX templates cannot do (easily). To achieve, in general, the same level of optimisation with JSX you have to code them in yourself.

Whether you go for an Angular/Vue style attribute based DSL or a Handlebars-esq DSL such as with Svelt, I don't really mind, they both have advantages and disadvantages. But what they allow you to do over JSX is enormously misunderstood by the majority of React devs.

There is a good overview of this in the Vue docs here: https://vuejs.org/guide/extras/rendering-mechanism.html#comp...
Maybe there isn’t a train available. Maybe it takes much longer time taking the train. Maybe you don’t like sitting close to other people for several hours each week.

I can think of many reasons why train wouldn’t be an option.
I tried using it as a Go code generator (I only needed structs and marshaler / unmarshaler helpers), but it ended up being way too difficult to use and I couldn't get it to work properly. After a bit of searching, I bumped into Deepmap's implementation https://github.com/deepmap/oapi-codegen which works great. They even added support for oneOf, anyOf and allOf which makes things a lot easier.
I'm still excited about new versions of Windows.

...only that now it's more of a panic attack.
Can anyone explain how htmx (or similar) would work for an electron app?
Are we still on day 1 of self driving?
Is this effectively the end of Fuschia?
Alrighty folks. I found the fix. The real fix this time. I might make a new post about this, with some proper documentation. Anyone curious can look at my 2nd reply to navjack27, but long story short is that FFDshow is the culprit, not EVR. At least, not precisely EVR. It had to do with the resizer filter setting bicubic, and FFDshow I guess not getting along or something. But VMR9 Renderless has less issues while using FFDshow, and AviSynth filter being used instead of FFDshow filter basically negates the problem entirely.

So I guess FFDshow was the problem the whole time...
If mathematicans did it, then why we, computer people wouldnt?
Literally everything that is available via FOI should just be posted online proactively.
I'm trying to figure out what (if any) relation this has to Kata Conatiners (https://katacontainers.io/) - it can't be a coincidence.
What about Fuchsia?
Doesn't match my experience here on HN. As far as I can tell educated outsider guesses are generally welcome and - to me personally - sometimes even enlightening.
Link to buy a T-shirt is broken. Which is a shame because I want one.
Typescript nicer than Python? Bc of speed? Python has typing module + mypy to be warned about typing mistakes.
Some of the gory details of that upgrade here: https://paperstack.com/ender_extended/
Concepts can often be simulated in many languages, but only clumsily, and the lack of ergonomic affordances in syntax, control flow and type systems can lead one to believe that a different paradigm doesn't work very well - it can be hard to see the wood for the trees.

It's hard to write a declarative querying library in C. SQL is not an ideal language, but as a way of expressing intent rather than a physical query plan, it's a long way away from C.

It's hard to appreciate the power of interactive debugger REPLs like binding.pry or JS's debugger without experiencing them. A C++ debugger, even a Java debugger, is a pale imitation, and it's not easy to simulate the experience without building a dynamic language inside the static language.

If all you've ever known is statically typed languages, you can suffer from a myopic parochialism with respect to dynamic typing. IMO the most popular statically typed languages only work well because they have runtime polymorphism holes in their type systems. More powerful statically typed programming languages tend to grow ever more esoteric typing constructs to enable static types to follow dynamic control and data flow - there's an inherent tension there and if language complexity isn't carefully managed, it becomes harder to express intent and error messages get more vague and cryptic.

Algebraic data types and pattern matching tends to be under-appreciated if one is schooled in object-oriented languages. Object orientation has a big hammer for switching control flow based on data values, dynamic dispatch, and architectures tend to leverage dynamic dispatch where they would be much better off with switch statements. If the set of variants is known up front, you're probably much better off with sum types and pattern matching than with interfaces, abstract classes and virtual methods.
Here’s some material for you to look at:

https://web.archive.org/web/20120729114743/http://news.cnet....
“Apple, which ended its third quarter with $1.2 billion in cash, will use the additional $150 million to invest in its core markets of education and creative content, Anderson said.”

https://web.archive.org/web/20160821150114/http://www.roughl...

http://time.com/3781557/in-a-private-light-diana-walkers-pho... (Picture #10 in slide show)

https://arstechnica.com/information-technology/2010/05/apple...

“Less than 12 hours before his big announcement, nobody here knows yet about the bombshell to come. In fact, Jobs is still negotiating it here at the Castle--on a cell phone. "Hi, Bill," you hear him say in the echo chamber of the old hall. Then his voice drops, and for nearly an hour he paces the stage, running through last-minute details with Gates. All the while, he leans over his computer, paces, lies down on the stage, paces, lurks in dark corners, paces and talks, paces and talks.

This is the fateful call for the boy titans of the personal-computer revolution, meant to settle the war. At one point, talking about Apple, Jobs says, "There are a lot of good things, happily--and a lot of screwed-up things." Then, to his crew, he yells, "Have we got satellite contact with the other side?" Assured this has been taken care of, he answers a question from Gates about what to wear on the morrow ("I'm just going to wear a white shirt," he assures him), and he finally ends the conversation with a heartfelt "Thank you for your support of this company. I think the world's a better place for it." And so that's how Apple and Microsoft, Steve Jobs and Bill Gates, finally seal it--on a cell-phone call.

The deal is vintage Jobs. Amelio began the process of repairing relations between the two longtime rivals. But once he was out the door at Apple, Jobs contacted Gates to try to get talks started again. Gates dispatched his CFO, Gregory Maffei, who met Jobs at his home. Jobs suggested they go for a walk. Grabbing a couple of bottles of mineral water from the fridge, the two took off for a stroll around Palo Alto. Jobs was barefoot. "It was an interesting scene," Maffei recalls. "It was a pretty radical change for the relations between the two companies." The two walked for nearly an hour, through Palo Alto's green university area, as they pounded out the details of a potential deal. Jobs, Maffei says, was "expansive and charming. He said, 'These are things that we care about and that matter.' And that let us cut down the list. We had spent a lot of time with Amelio, and they had a lot of ideas that were nonstarters. Jobs had a lot more ability. He didn't ask for 23,000 terms. He looked at the whole picture, figured about what he needed. And we figured he had the credibility to bring the Apple people around and sell the deal."”

(From: Steve’s Job: Restart Apple by Cathy Booth in Time Magazine Aug 18, 1997)

http://www.theverge.com/2012/8/13/3239977/apple-and-microsof...

The 1997 cross-license agreement between Microsoft and Apple: http://assets.sbnation.com/assets/1292505/584.pdf
Every piece of software relies to some degree on other software. Similarly, every person relies to some degree on other people. As long as you don't find yourselves in a race to the bottom of the barrel, things should be okay.
> It seems you just picked languages that are very similar

No no, I picked languages that have jobs waiting in industry. 3 Billion devices run on a language that literally requires everything to be an object ;) I haven’t seen too many elm/elixir job postings, but rest assured when they start cropping up with the frequency of say JavaScript or C#, I’ll be dusting off my notes from previous side projects. I’ve also done Prolog, I’ve also done Haskell, I’ve also done Scala. Far more important than being able to write Haskellish code for my
typescript backend is the ability to write idiomatic Typescript code with good patterns. And the whole discussion here is not whether you should check out FP (you should) but whether learning extra languages is more important than learning patterns in software design (ie canonical Martin Fowler, GoF, Uncle Bob). There are absolutely useful models and perspectives to be found in FP, but I haven’t found them to be stuff that I use every day. If every imperative language is shipping with first-class functions (which I personally don’t think is as dazzling a notion as it sounds—even C has shipped with function pointers since the days of old) and all the jobs are in imperative languages, it seems pretty practical to focus on learning patterns before learning FP. Respectfully.
Is the creator thinking of doing another printing? If not can someone recommend a service that will print a high quality card deck given the PDF?
He is quoting the service at $4500 for a month per unit, but it's $110 for a month on their website with a $599 one-time cost. On one hand SpaceX says that they arrived at $4500 because they are providing the highest level of service, on the other hand they say the $4500 refers to the typical fee for a service like theirs.

Meanwhile SpaceX receives billions of dollars of subsidy just for Starlink and just from the United States alone, not to mention the regulatory approval for their satellite network.
Racism as something based on skin color only would make Nazi basically not racists in their worst acts. Cause their racism was literally Aryan race against all other races - Slavic, Jews (European Jews where white, the physical features were like somewhat bigger nose), British, French. With Jews on the bottom, as the wort enemy worst then blacks. And they would not care a bit about different kind of Indians either.

If anything, attempts to redefine racism as only American variant where it is all about shades of color is redefinition.

And obviously, ethnicity and geography goes with races.
https://i.imgur.com/HVSmCX4.png
This is bonkers. Why do all the people in this article not just go become independent consultants? They could likely earn just as much money, but not have to keep up the pretense and shaky ethics of holding down multiple jobs.
I value learning new languages, especially as I have yet to find a very good one.
Some are pure and beautiful like Scheme, but if you asked me what single language I would take to a lonely island with me where I was stranded, it would still have to be C.

To those here who would like to have some guidance diving into other languages I can recommend these two books:

Bruce Tate: Seven Languages in Seven Weeks
https://www.amazon.com/Seven-Languages-Weeks-Programming-Pro...

Bruce Tate: Seven More Languages in Seven Weeks
https://www.amazon.com/Seven-More-Languages-Weeks-Shaping/dp...

You can work through them in <4 months, and then we can talk again whether you found it useful (I did).
Why submitting the phoronix post, and not the original google blog post? Or better the GitHub AmbiML org repos, which does have much more information.
One persons trivial is another persons art. FOI exists to liberate information created using taxpayers money, so that information can be used by the public as they wish (after all, they paid for it).

Every request enhances the publics understanding of government, and every request creates the opportunity for the information to be reused in new unforeseen ways. Some may seem trivial (like a random apology generator), others may significantly impact people’s day-to-day lives (better public transit routing apps). But until the FOI happens, and people can play with the data, neither will ever happen. Frequently the people doing impactful things with the data, aren’t the same people requesting it. It’s also likely that many of those impactful projects would never be started if the data wasn’t already free. So every “trivial” request may lead to something far more impactful down the road.

If you’re concerned about the cost involved. Then I would recommend criticising government for not making FOI fulfilment either efficient, or unnecessary. If government agencies just published the data (like TfL does), then there wouldn’t be any need for FOI requests.
Pale Moon is an Open Source, Goanna-based web browser
How does Rust prevent off-by-one errors?
Looks nice, though my guess is it would be more appealing to kids if it used more color, a bigger font size and a more "fun" font family like Comic Sans perhaps.

Nice work though, would definitely consider this for my own kids.
This is a great usecase for diff tracking.

1) Store all actions by a user as as an array of add/remove commands (where a change is remove+add).

2) Whenever you need to re-render take the cached version from the last render and perform the new add/remove commands that happened since the last render.

3) Cache the result for the next render and repeat.
Interesting that Fuchsia isn't mentioned, being capability based and having a microkernel. Seems like there should have been a short explanation of why they didn't use it.
Doesn't look like they're aiming at the same niche.
It sounds like we do similar sorts of things (based on tool list) but each time I poke at an APL like system I back away clear on learning curve and unclear on value.

At core, my job is arithmetic on 3D arrays of approx 10x1000x100,000,000.

The rub is that for every LOC of written manipulating those structures I’ve got 100 LOCs doing IO (broadly defined) and then 1,000-10,000 doing some form of ETL, QC, normalization (I.e. find and validate the correctness of the magic numbers that go in the cells of the big array).

Do you think J/APL would be of any use to me and if so where in your similar projects’ life cycle does it crop up?
Simon Peyton Jones interview
True for so many things, but I don't think that applies here. Many of the npm alternatives are compatible or provide a superset - they have also helped to apply pressure to npm to improve, they are also not competing standards, but more like competing features and performance (implementation).
Curation would become a problem (maybe even to the point of requiring more resources in aggregate than complying with current FOI/FIOA requests).
So it's only "in the USA" but due to cultural influence it transpires everywhere. So it's not just a US problem.

The idea that someone should be hated because of the color of their skin makes sense no where, not even in the US.