skysight-inc/HackerNews huggingface dataset:
Show HN: Streaming DataFrames–a Pandas-like syntax for real-time data
Hey all! We’ve built a Pandas-like interface to make it easy to work with streaming data using what we call ‘Streaming DataFrames’.

For example, suppose that you want to convert speed measurement units from meters per second to kilometers per hour

With static data in Pandas, you’d do this:

df["speed_km_h"] = df["speed_m_s"] * 3.6

With Streaming DataFrames, it’s pretty much the same thing…

sdf["speed_km_h"] = sdf["speed_m_s"] * 3.6

…except it’s being done continuously and the updated records can be sent to an output topic in Kafka with almost no delay after they’ve been processed.

You can also do a stateful tumbling window like this:

sdf = sdf.apply(lambda row: row["speed_km_h"]).tumbling_window(timedelta(seconds=3O), grace_ms=timedelta(seconds=1).mean().final()

I know some peeps might be thinking “eeeeww Pandas”, but we wanted to make it more user-friendly for data and ML folks who are interested in moving batch to real-time or near real-time processing. Of course there’s Flink and Spark which are great stream processing tools… but if you need the specialised talent to operate them. We think there’s a need for something that's easier for generalists to learn, which is why it’s strictly Python only.

It doesn’t wrap any other technology so you don’t need to do any cross language debugging or include SQL statements in your Python code.

If you want to learn more about how it works, check out our launch blog: https://quix.io/blog/introducing-streaming-dataframes
Github repo is here: https://github.com/quixio/quix-streams
While true for clear one way connections, usbc is bi-directional or symmetrical.

1 Either side may provide power.

2 usbc power delivery requires a fancy communication and management chip, and there is no power until after a handshake has been negotiated.

So in that case a lightning style cable could be ok. (besides, even with plain usb2, lightening already existed for years without a problem)

But while lightning-style may be good, F lightening specifically. The design was good for the reasons stated. Put the weak points in the more disposable part of the system. But for standards purposes I am not interested in any good design that anyone owns.

All in all, lightning is not good. If it's good but you can't use it, then it's not good.
Being fully in the know of the consequences makes a very big difference - both ethically, and legally.
I second the Linux recommendation. KDE has a desktop lockdown mode, and if that is not enough there is also a kiosk mode. It's better than foolproof - it is absolutely designed to enable secure, limited access to specific applications.
I think if you look past the last few news cycles and back into the 70s and especially the 90s, you'll better understand what our strategy with China has been.

>I think the hopes were that China, once prospering in the global marketplace as a big player, would turn democratic. Over the last decade or two, we've come to realize the opposite has happened and the Western powers are adjusting.

Which part of that do you disagree with?
Employee 'rights' are often much stronger outside the USA and so whilst you potentially pay more, you can 'downscale' much quicker as well. Look where most of the tech layoffs happen.
No, it's simply a faster way to operate a computer. Imagine if you didn't have to scroll and click using a mouse - that alone is a killer.
A really nice feature here is that if you view the demos in a browser that doesn't support this (i.e. all current stable browser releases without special flags enabled) because they're building directly on grid layouts, they still appear in a pretty reasonable fixed-row format: https://webkit.org/demos/grid3/.

In each case it'd look much nicer with a proper masonry layout but it's still very usable otherwise (and of course you could feature detect to provide a better fallback if you're not happy with that anyway).
I have no idea what @pjmlp is saying, but I myself would caution against using the past as too strong a guide to the future — we don't have pre-existing examples of tools that can out-think their owners.

(The closest historical examples to this description are feudal serfs and slaves, the latter is a much broader category than just the USA's example, and these are also bad examples from which to imagine the future for a variety of different reasons).

The early usage of the term "singularity" with regards to computers and automation was about the unpredictability of the future; even now, I cannot say with any confidence if we'll get a future more like that of The Terminator or more like that of The Culture, let alone smaller-scale and less dramatic dystopias and utopias.

https://en.wikipedia.org/wiki/The_Culture
If one wants to do a "Masonry" layout, what's wrong with calculating it via JavaScript?
Nope. This is an article by two authors including Bruce Schneier (who is not exactly nobody), explaining the risks of LLMs for the Internet. It does make the point that people are getting more and more used to conclude stuff without reading the actual articles, though :-).

I'm expecting that the essay will be published on his blog in a few days, with free access.
Thank goodness then that socialists got a jump on building libraries back in the day: https://en.wikipedia.org/wiki/Carnegie_library
> Yep, that's right.

That's another reason to introduce the maximal and minimal: those def'ns would still go through even with an Aquinas-style god.

(and they yield an irreligious 1=3 trinitarian argument: if C takes a god to its maximal creation, and G takes a creation to its minimal god, then CG and GC are not necessarily the identity, but we do necessarily have C = CGC and G = GCG)
So Meta is aiming to be for VR what Microsoft is for PCs and Google is for smartphones (Apple being Apple for PCs, smartphones and VR)?
Some of that 8 hrs of sleep includes fine tuning on recent experiences and simulation (dreams).
> but Trump finally forced the public recognition of the issue in his characteristic camera grabbing way

Not really, and I was there when all this happened in the Obama admin and am still friends with people who worked on this.

The reality is after the OPM hack there was bipartisan support at the policymaker level to tamp down on the Chinese government for major transgressions. Chinese officials began getting sanctioned and most of the policies Trump boasted about were written and passed before his time.

Presidents don't really do much regarding these topics - it's always career bureaucrats and policymakers who are actually setting the gears in motion for these kinds of changes.
I don’t know if you have ever been to a public library, but basically all of them are prominently adorned with the names of their largest donors.
No one is excited about a new Apple TV.

At least there’s a few geeks like me who’d be excited about a new Home Assistant update.

But literally no one cares about Apple TV, a product so uninteresting that Apple couldn’t even give it a unique name.
Three.js is really good and Babylon.js looks good too. But when I was evaluating 3D engines recently I was surprised to find that neither one is properly tree-shakable -- you need to import almost the whole core engine even if you’re only using a tiny part of it.

Other engines are either lacking features, or also aren’t tree-shakable, or both. (For example, I think OGL is shakable but it’s much more low-level, just a very thin wrapper around WebGL.)

I guess it’s no big deal as both big engines minify down to around 500KB, IIRC. Just a shame they can’t get smaller than that if you just want to make a tiny little 3D widget.
I am wondering whether it makes sense to keep adding more "layout" options to CSS, given that we have the legacy floats and then the modern flexbox and grid layout. If there are still cases that are not covered, perhaps a better solution to to have one final constraints-based system that covers all layout cases, even if it comes at the cost of complexity. The CSS frameworks and utility libraries will then be built on top of it to provide the next generation of "masonry" grid, etc.
Such an influential device. So much that the Serbian word for the electronic calculator is digitron.
I’d rather have browser vendors responsible for a correct implementation. This seems like a rather nuanced feature.
If you were serious about making anything this would be the way to go.
This an example of the worst possible UX imo. There is literally zero affordances or discoverability for those gestures.

Smartphones in general tend to completely ignore the fundaments of human interface design.
I wasn't expecting it to use Web Components, I guess that's what happens when you give something a generic name. Similarly if some company named a code editor Code.
If my math is correct, we would already need to build a spaceship that can travel at 1/10th the speed of light to reach Voyager 1 within one week. It will be quite an engineering challenge for the future.
Or done serious coding but on an entirely different codebase. Unless they've been doing code reviews, they likely won't get it.

Our hack for this was just to make the most experienced engineer on a platform do all the performance review stuff that the manager would otherwise do. It puts them out of action for a while, but it's better than the alternative.
I repeat myself when I say the future is dynamic and exciting. To underline this, I extensively reviewed research papers, corporate and startup strategies, as well as discussions with other experts to list some expected milestones in AI.
This is only the tip of the iceberg.
Same thing happened to me with Mac Keeper malware. Some bogus software I downloaded automatically checked a download Mac Keeper checkbox and it was down the rabbit hole for a few days.

I think I ended up doing a clean install on a days old back up to rid my self of it. It was years ago on an Intel Mac.
> This kind of spam is an annoyance

The problem is that LLMs are a whole new level of spam, orders of magnitude more powerful than anything we know. Before LLMs, you could not generate millions of comments for e.g. TripAdvisor without the users realizing that those were generated. With LLMs, users cannot say anymore if a review was written by a human or not. You just cannot trust any anonymous review you find online anymore.

If Google cannot automatically discriminate between spam and genuine content, then Google is broken. And one fundamental promise of LLMs is that it is (or will be) powerful enough to reach that point, and therefore to break Google.
" But name one Fortune 50 tech company making great profits giving high salaries to EU devs and R&D folks that isnt relying on Government Funding from EU except SAP & ASML. " You are aware that big corp from Silicon Valley have big offices in Europe ? E. g. Apple in Munich?

" even India a significantly poorer country, [..] And YET they do better than Europe when it comes to Tech ? Why " citation needed

" GDPR just allows non-EU companies to grow big in their domestic markets " Local business in Germany complain about bureaucratic laws. But no one ever about GDPR. Its just a non-issue outside of AdTech.

" Consumer will definitely win from CRA, just like they did with GDPR, USB-C just in the short term. It’ll just continue forcing EU pioneers to move to America to start their business. " Currently according to State of European Tech 2023 more people move from the US to Europe than vice versa.
> Electron 30.0.0 has been released! It includes upgrades to Chromium 124.0.6367.49

Chromium 124 broke support for Wayland. I've had to downgrade to 123 to get it working again.

Does it mean all apps upgrading to Electron 30 will also break?

https://issues.chromium.org/issues/329678163
A comparison of maker and entrepreneurial characteristics (2017)
Atleast it’s better / less futile than extrapolating universal expansion back in time to the Big Bang. but maybe not too much.

Computers are already great peripherals for brains. Maybe brains will become peripherals for computers or become completely replaced.
The Reasons I Prefer Passing Struct Pointers Around
show me what I can't do in pgvector that I can do in your vector database. That's all I need to see. If you're only answer is, "it doesn't scale", I'll need you to be specific about "scale".
ACEZero: A new learning-based approach to SfM
I can't wait for the day games like "PowerWash Simulator" or "Supermarket Simulator" come to VR. Imagine, you could wash stuff or work at a supermarket, while also exercising your body!

(/s, but I'm sure it will happen at some point.)
Catholics didn't have any issue with Gutenberg. In fact it was exactly the opposite. Please check a letter from Enea Silvio Piccolomini (future Pope Pius II) where he expressed his feelings on how great Gutenberg invention was, how clean was the print, etc. - https://www.bavarikon.de/object/bav:BSB-CMS-0000000000004546...
I think you have answered your own question: If turning on the setting is scary for you in a very localized project at your company, imagine how scary it would be to turn on by default for everybody :-P
The EU is doing this right.

The rail infrastructure is publicly owned. But the rail infrastructure is open access that private companies can pay for. As far as I understand you can even have a public carrier but it must bid for access like its private counterparts do.

This has already led to an explosion of high quality high speed rail service in countries like Italy and Spain.
ta! that's a deep cut; I'd not gone much past her collaborative Gesamtkunstwerk: https://www.youtube.com/watch?v=Nx-x_1lIXh4 (arrived at via https://www.youtube.com/watch?v=gcrQvoCzs80 )

> the eructation of pigs

I had not realised Ignatius J. Reilly was not the only rotund creature to suffer from misfunction of the pyloric valve.

When the pigs start to quote Boethius we'll have to start counting legs on our medievalists to tell the difference.
Nope, completely internal and part of how we offer essentially the same product on multiple platforms with minimal integration work. And existing C# → anything compilers are typically too focused on compiling a whole application instead of offering a library with a stable and usable API on the other end, so we had to roll our own.
And this is why I stopped chasing newest, flagship phones.
I mostly use phone for Whatsapp, email, and social media. My good old Pocophone F1 and Pixel 3 still handle my needs.

If I want a good camera, well I prefer something from Sony/Fuji, for example.
> low-income people with gambling addictions

Not to mention the fact that they're now outright _creating_ gambling addicts that wouldn't have been addicts before the legalization of online betting.
Show HN: Affiliate Programs
Finding the right affiliate programs can be tough. It eats up time you could spend creating. TapRefer.com simplifies this. We've built a directory where you can find niche-specific affiliate programs in seconds.
For more background, and some detailed discussion of the opposite argument ("display: masonry" over "display:grid"+"grid-template-rows: masonry") see https://github.com/w3c/csswg-drafts/issues/9041
AFAIK it's designed for non-automatic number plate reading in Germany.
It may sound weird, but there is not a link between lending from libraries and book sales. Some children’s books sell well, but if you go to the sections of them in book stores you’ll rarely find more than a handful of Danish authors represented. The ones which the bookstores know will sell well.

Our Libraries have to make all Danish published material available. Some of this is indeed not bought, but because children’s books are often on the high end of popularity at libraries they generally by every children’s book which gets published buy one of our major publishers. Also, publishers often lobby the municipality politicians who set the overall guidelines for their local libraries to make sure their books are represented.
It’s less smooth, uses more power, requires more bandwidth, etc.
> But the very first ideas that got in my mind where I learned about LLMs were black hat oriented. I actually needed to make an effort to see the potential benefits of LLMs (other than translators), but I immediately had many ideas of how that could go wrong (probably all of them being mentioned in the featured article).

I'm pleasantly surprised to learn this.

My experiences here since ChatGPT was launched have generally involved witnessing many of the louder people opining that LLMs "cannot" cause harm and that any example of harm anyone gives is "only" free speech. (The latter is something I find inherently weird as a talking point, given how important speech is).

I hope you're working in some kind of AI safety role; myself, I could only recognise the flaws when others showed them to me, I was not able to figure out these problems in advance.
The EU's approach is the result of the industry not advancing enough to self-regulate. Legislation is required to outline the lines we can no longer afford to cross, and we can't turn normal people into tiny cash cows to make the already rich even richer.

Both GDPR, DSA, DMA and related policy have been a win for consumers and normal people using electronic services (which is practically everyone). I expect the CRA to bring much needed awareness regarding security and that it's no longer OK to just put together something with spit and chewing gum and let people submit their personal data into it!
Adobe's new Firefly model makes it easier to use Photoshop's AI tools
Incredible how similar Maoism and these palatial politics are identical.
My examples were more like every employee getting to decide (cynically, individually) what's best for them.

Your examples are where every employee figures out (altruistically, collectively) what is best for the CEO.

Breaking the symmetry, CEO in both cases decides what's best for the CEO (officially "best for everyone", but in fact you are only counted as "everyone" if you are an employee who is contributing to what's best for the CEO).

I admit that your proposition could very well work fine. Many people do love to get into the shoes of higher-ups.
My only fear is that every vendor will now have to implement secure boot and other mechanisms in order to make sure that only signed software runs on their devices, while providing no way for the customer to take ownership of the device back, so that they can run their own software.

I really hope that we eventually get a mandate so that every device, that requires an internet connection for any and all features, will also have to allow the customer to overwrite and use their own software in case they have to make any software/security repairs themselves.
I used team viewer in the past, for trouble shooting. I had it all setup so I could join in one click. But then they updated team viewer and everyone need accounts etc, so the solution became part of the problem and I ditched it.

Nowadays, windows has "quick assist", which works flawlessly to help one windows user as another.

Seeing your elders, who used to be fine with desktop computing, slowly struggling more and more because UX "developers" are a fucking joke is infuriating.
An ASIC will always have better performance than an FPGA, but it will have an acceptable cost only if it is produced in a large enough number. You will always want an ASIC, but only seldom you will able to afford it.

So the decision of ASIC vs. FPGA is trivial, it is always based on the estimated price of the ASIC, based on the number of ASICs that would be needed.

The decision between off-the-shelf components, i.e. GPUs and FPGAs, is done based on performance per dollar and performance per W and it depends very strongly on the intended application. If the application must compute many operations with bigger numbers, e.g. FP32 or FP16, then it is unlikely that an FPGA can compete with a GPU. When arithmetic computations do not form the bulk of an algorithm, then an FPGA may be competitive, but a detailed analysis must be made for any specific application.
Thanks for the nerd snipe! I'd strongly recommend against it.

1) They've incorrectly documented most of their plural rules, it's like they didn't bother to read the spec (and it's an easy spec to read).

> one: This category is used for languages that have grammar specialized specifically for one item. Many languages, but not all, use this plural category. (Many popular Asian languages, such as Chinese and Japanese, do not use this category.)

https://formatjs.io/docs/core-concepts/icu-syntax#plural-for...

> These categories are only mnemonics -- the names don't necessarily imply the exact contents of the category.

> This is worth emphasizing: A common mistake is to think that "one" is only for only the number 1. Instead, "one" is a category for any number that behaves like 1. So in some languages, for example, one → numbers that end in "1" (like 1, 21, 151) but that don't end in 11 (like "11, 111, 10311).

https://cldr.unicode.org/index/cldr-spec/plural-rules#h.ukir...

2) That example is trivial. They've only bothered with 8 languages and most are uninteresting.

3) Using currency as the standard numerical example is correct, but questionable.
There's something bittersweet about doing something well, and then eventually having something else take over from it. You had that feeling of doing it really well and being successful, but you don't need to keep pouring energy into it now and can work on other things with a clear head.
You're asking "why render it correctly when we can render it wrong and then fix it afterwards".
> A subscription works great for music because I can listen to so many songs. Books not so much, and I consider myself a reader.

It can work for books too, kinda. You can check "J-Novel Club" for an existing example. Chapters are translated in parts, and each part is released ASAP to subscribers, before the whole thing is translated (though they're clear that it's still a WIP).

It's also extremely common for... uh... "gray-zone indie translators" to translate web novels from Japanese into English, and release the translations first to Patreon supporters, and a week later to everyone else.

Granted, everything I'm saying is very specific to the niche of JP novels.
They'd get deallocated
Your insurance analogy is proving the exact opposite. More apt analogy would be turning your cars wheels square because it might be stolen. I'd rather have the wheels roll though.
> why technologists don't think about the consequences of what they do before they do it?

Imagine if they had opinions held so strongly they'd be willing to camp out in the CEOs office in protest. I'm sure that the executives would re-examine their positions on the subject and work with the technologists to address their concerns.
Oh yes please. Masonry is definitely the missing piece right now. And I run into cases where designers give it to me pretty regularly-- I don't want to crush their dreams but without a JS-free masonry solution, the dreams are getting crushed.

OK, having read a lot more, here's my thoughts.

I love the possibilities that can be raised here when masonry is built into grid, but you can target specific rows and columns for specific elements in grid. This is a useful thing for some layouts, but when the rows are truly non-existent (unlike the related auto fill/fit stuff we've had until this point) I feel like the abstraction begins breaking down. As much as I love that we have Apple pushing to get this done, I do think it is probably better to go with a net new masonry display type :-/
she doesn't have an iPhone or a MacBook because I do think they're expensive. I buy my phones used on eBay and cringe if they cost more than £50
Secure Distributed Network Time Synchronization
At this stage there's only a few websites where I'd like reader mode off, really. It removes a lot of advertising, bypasses cookie modals, doesn't execute a lot of javascript, etc etc.

I wonder how long before we get browsers that run in readability mode first and foremost? O:-)