skysight-inc/HackerNews huggingface dataset:
If you do streaming-type operations on long arrays, yes. If your data sizes are small, however, four smaller units might be more flexible. As a naive example, let's take the popular SIMD acceleration of hash tables. Since the key is likely to be found close to its optimal location, long SIMD will waste compute. With small SIMD however you could do multiple lookups in parallel courtesy of OoO.

This is why I like the ARM/Apple design with "regular SIMD" and "streaming SIMD". The regular SIMD is latency-optimized and offers versatile functionality for more flexible data swizzling, while the streaming SIMD uses long vectors and is optimized for throughput.
LuaX – Lua interpreter, REPL, and useful packages
Right, the diagram is generated from the IaC of the project itself, so it contains all AWS resources involved.

You could use the Lambda function to verify Access Tokens etc. before returning the tile data if that is a concern.

CloudFront as CDN will enable Edge caching, meaning that recurrent requests will serve much faster, as S3 is always region-based.
No, but it would work fine for me if it was a month instead of 48 hours.

My biggest problem with social media is deleting history I do not want retained.
Show HN: [Seek] bringing spotlight search to Linux
Spotlight search is one of my favorite features in MacOS. As such, I couldn't find a great alternative in linux and accordingly I decided to build 'seek'. Currently, it supports app search and execution. The keybind to display seek is "ctrl+enter", and the deb+rpm builds can be found here: https://github.com/kashyab12/seek/releases/tag/v0.1

I am looking to see whether other people would be interested in this as well. I have a bunch of feature ideas included in the todo section of the readme, and would love to hear more! Thanks for the time :)
I guess a lot of people only need a dumbphone most of the time but a smartphone becomes a lifesaver a small fraction of the time. Like to hire a cab once in a while, get information online or buy museum tickets on a decent browser while travelling, have access to public transport app in an unknown city, navigation in a vehicle, etc.

So there is a case of having the capabilities of the smartphone but not wanting the distraction that are part of the ecosystem. In my own experience, I don't have any social media accounts anymore except one one the fediverse but I only access it from the browser and don't get distracted by notifications.

I just wish there was an easy way to mute everyone but a selected number of contacts (you can sorta do it but you need to go through all your contacts, it doesn't work for unknown numbers or for calls). The only real people I want a phone/message tone is my partner, my daughters and their school numbers[1]. I want everyone else to be silent and when calling being redirected to voicebox immediately.

[1] which doesn't work as usually people from school use their private smartphones.
Well it's a totally different category of thing (in multiple ways) so I can't imagine people getting confused about this.
Yes, it uses OpenStreetMap data, which you then host on your own AWS account
Good luck to that..

For a similar need, I turned to a small, portable device, that runs on battery (but not a laptop) to run 24/7.

I got a couple of ipads, but since I can't install some OS that I want (without jumping a million hoops).

So I got myself a HP Elite X2, second-hand, and it is GREAT. Then I wanted a second one, I couldn't find another HP Elite X2 (at the same price) so I got a Dell Latitude 2-in-1 (basically a Win tablet).

Basically I want something to run 24/5, so even if there is a power disruption (maintenance on building, etc.) my downtime would be the 2-3 minutes until my router/wifi reconnects. (we get some once every couple of weeks and a desktop wouldn't reboot)(and I didn't want a laptop as I don't want any fans/movable/mechanical components).

I've build custom base to keep them upright --> =|=|= so they can 'breathe' well, and stay cool.

I also got a KVM so I got all my devices hooked on it, so when I do need to do some work on them I can do it with my big screen/keyboard/mouse. I only remember to dust them every couple of weeks, and they are golden!
I like to call it people's revolution. You can go to Ukraine and ask the people around what they think about the Euromaidan instead of reading conspiracy theories from Russian propaganda.
>fatal flaw

Enjoy your freedoms: paid for in blood.
What's wrong with calling baking software "baking software"?

The "as-a-service" everything tag is become marketing hype. It is not meaningful analysis.

But at this point we can just agree to disagree. I think adding 'as-a-service' to everything and trying to 'disrupt' everything makes us look bad. You may think it looks good. Matter of opinion.
Is this any different from a heat pump that has a ground loop ?
The thing is he planned an invasion for a long time, and failed quite badly at it - the first weeks there was barely any aid to Ukraine and still Ukrainians managed to push the Russians back.

This is not that much about US or Russia interests, but about Ukrainians and they are currently fighting the Russians for 2 years. Implying they have no choice or they are only manipulated seems more like propaganda (will let the reader decide for whom). Many east Europeans still have memories about what it meant to be under Russian influence and oh boy that was shitty... No need for propaganda there.

US and Russia made aggression wars, but while they imagine they are "world powers" they don't seem to have a great track record unless the population in that country does not firmly oppose (just the most obvious examples: Afghanistan - couple of times each, Vietnam, Ukraine)
Show HN: I built a tool to refactor Terraform's tftate based on source code
This tool generates import blocks, removed blocks, and moved blocks based on differences in the sourcecode and tfstate.

You can refactor the state of resources and modules using the official interface using import/removed/moved blocks.
Provide concise, detailed responses. Always include relevant details in your answers, like how, why and who says it, and be explicit in the explanations. Exercise critical thinking and verify information through reputable sources to navigate potential misinformation, biases, and consider the influence of media interests and national perspectives, especially on complex issues like climate change. Maintain context-awareness to ensure relevant and coherent answers. If you are unsure about a request, state the uncertainties and use the browser tool more often to find accurate information and provide quotes with sources. Even if you think you may know the subject. Always SELECT AT LEAST 4 results, focus on diversity selecting even more sources when they provide different context. When required to research in depth or if the user is not satisfied by the answer do deeper research, repeating the call to search two or more times and selecting more results.
Thanks a lot for your feedback !
>I was at Woodstock '99 and it destroyed my innocence

Isn't that exactly what a rock show was supposed to do?

Though the original would have been much more effective in that, than the over-marketed over-commerciallized '99 version.

>overflowing toilets, flaming buses, and bare breasts

Oh, the humanity!

>My friends and I had run into some other kids from our high school – not exactly upstanding citizens back home, either – who bragged about looting a snack booth, their arms filled with pretzels and soft drinks. The whole scene looked like something from Lord Of The Flies.

Kids looting an (overpriced) snack booth evokes to the author "something from Lord of The Flies" instead of good fun? Oh how far the wild spirit of the 60s/70s has gone...
What's the difference between this, and adding users to the docker group? As long as the docker daemon is running, you should be able to spin up containers without needing root.
not all domains will receive enough representation in training datasets, due to interest and/or access.

in the current landscape, specialized, smaller systems will still be the most efficient way ahead in the near future.
Kaspa solved the trilemma without sharding using DAGs. Nothing else can compete.
They didn't cite any sources and it's a short article that doesn't answer its own question that it poses ("Why isn't this getting fixed?") I don't buy that it's about costs. Look how radically and how quickly the world financial system was changed in response to 9/11.

> Why are HNers so overly dismissive about non-SWEs

I don't even understand what that comment is supposed to mean, is it directed at me, or who? I was not dismissive and I never said they must only cite SWEs. Don't put words in my mouth please. I merely said experts. If you assumed that meant "SWEs", that's your incorrect assumption. Ask questions instead of making assumptions.
very nice man.
I think OP is referring to the "unprivileged user namespaces" [1] feature of Linux, which caused numerous security incidents in the past. AFAIK, this is mainly because with this feature enabled, unprivilged users can create environments/namespaces which allow them to exploit kernel bugs much more easily. Most of them revolve around broken permission checks (read: root inside container but not outside, yet feature X falsely checks for the permissions _inside_). [2] has a nice list of CVEs caused by unprivileged user namespaces.
Given that rootful docker e.g. is also prone to causing security issues, it's ultimately an attacker model / pick-your-poison situation though.

[1] https://www.man7.org/linux/man-pages/man7/user_namespaces.7....

[2] https://security.stackexchange.com/a/209533
Haha, that resonates. When I built my LlamaIndex agent, I did same.
Huh?

Willingness to pay is always a function of utility and budget.
Thanks for this feedback i'll try to fix it asap !
The difference is if this shitty doorman worked at every shop.
An easy to use Chat GPT like interface for finetuning LLM's
Hey guys I was thinking to build a ChatGPT-like interface for fine-tuning large language models (LLMs) which simplifies and streamlines the fine-tuning process, making it accessible to a broader range of users. Instead of requiring users to write and debug complex code, this interface allows them to interact with the model through natural language, specifying adjustments, providing feedback, and setting parameters intuitively. This approach reduces the technical barrier to fine-tuning, enabling domain experts and non-programmers to tailor LLMs to specific tasks or industries efficiently. Moreover, it accelerates the iteration cycle, as users can immediately see the effects of their inputs and make further refinements in real-time, enhancing productivity and precision in customizing models.
> BGP has just about all the same problems for just about all the same reasons.

It took a long time, but ROA is getting some traction (at least around the RIPE region, can’t say anything around ARIN). There is also a large complement of publicly accessible looking glasses that ensures BGP shenanigans don’t stay invisible for long. As far as I know, neither of those applies to SS7.
I checked (for those unfamiliar with western terms, this is 南沙諸島) and it seems like Taiwan also has territory claims there, does it mean Taiwan is also attacking foreign soil right now?
The overwhelming scale of loss in Brazil's floods
I actually went into every single line of the manuals and even discussed the matter on the official Singularity Slack.

In that blog post I wrote that it does not enforce. It is true that you can achieve some level of isolation by setting certain flags and environment variables explicitly, but this is (was?) quite hard to get working, moreover the user mapping inside the container is always host-dependant and there is just no network isolation.

To achieve something close to the behaviour "I wanted", I had to use a combination of the command line flags you mentioned (and in particular -cleanenv, -containall and -pid) together with custom-made, ad-hoc runtime sandboxing for directories which required write access (as /tmp and /home).

However, this is not the default behaviour and it is not how Singularity is used in practice by its users. But yes, I was able to achieve something close to the behaviour I wanted [1].

This said, if I am missing something, or if the project has evolved to allow for a better level of isolation by default, please let me know. That blog post is dated 2022 after all.

[1] https://www.sciencedirect.com/science/article/pii/S221313372...
Air Quality Monitors Compared: AirGradient vs. Airthings
we can call it frediness, but the problem isn't what it's called, the problem is that the profit motive only works when there's competition. if there were several shops nearby and one of them started rejecting 80% of customers based on frediness, they'd go out of business and the others who prefer having a human guard would prosper. if it's the only shop within a 10 mile radius, and it only flags out 1% of innocent people as shoplifters, then the profit motive doesn't provide the balancing force. that's what regulation is for.
>Our tent was trampled. Everyone was filthy. The limp bizkit show caused absolute chaos. There wasnt enough food or water but I barely noticed because I couldnt afford anything. They had minimal security. No cell phones. Friends fully separated. Total and absolute madness.

All of the above sound as intended part of the fun for a rock festival, and would have been seeked and cherished back in the day! I know I and friends did.

Including the: "I dont even remember leaving or getting home." which people who try to achieve on purpose by getting drunk/stoned/high (and even be proud of it, like the saying: "If you can remember Woodstock, you weren't there!").
on the contrary, i have stopped using reddit due to how most communities work there since past few years. i wish every subreddit was full of nuanced, balanced discussions but it is rarely the case from my experience.

ironically the recent ai overviews results are partially referencing sarcastic reddit posts, like cheeze and glue.
This is called theory of mind and I've been experimenting on my first child as he has grown up and he had it much earlier than research would suggest. (I even tried replicating one of the actual experiments used.)

I suspect there's large individual variation as to when it is acquited. My son is relatively socially competent and intetested in letters and numbers but not yet literate at four.

We'll see how my second child fares -- she is even more socially competent but does not yet speak (first child did her age) so we'll see when it can be done.
After our last comparison with the Purple Air monitor got a positive response here on Hacker News, we wrote another review. This time comparing our indoor monitor AirGradient ONE with the popular Airthings View Plus.

Happy to answer any questions.
Dupe: <https://news.ycombinator.com/item?id=40467625>

706 comments, two days ago.
The poor person (whether cultured or uncultured) can't throw sumptuously lavish dinner parties. The pervenitus (Trimalchio, Monsieur Jourdain, James Gatz[0]) can, but usually manages to avoid throwing tastefully lavish dinner parties.

Finally, dinner parties are rivalrous goods: just like you can't dance at two weddings, you can't really attend two dinner parties the same[1] evening (although Trimalchio's guests discuss approaches), making them an excellent way for hosts to keep score. See https://news.ycombinator.com/item?id=40010481

[0] who, tbf, did have ulterior motives for his. Kitschy as it may be, I prefer the plot of Миллион алых роз to the Daisy/Jay dynamic, however: https://en.wikipedia.org/wiki/Million_Roses

Does Majnun ever throw any parties as cover for approaching Layla?

[1] beware of faerie dinner parties: a single evening there may be decades in real time
More comparisons: the power of water cookers, (a single) electric stove top and fan heaters are usually in the order of 2kW (at least in Europe with 230V AC)
You don't get SIMD with this approach though, so it's about a quarter of the speed of using vectorized arithmetic (assuming an AVX vector of doubles).
Show HN: Exploring Apple Health with ClickHouse, Vega-Altair, Llama 3, Quarto
Hey everyone,

a few days ago I wrote a tiny Python script that turns an Apple Health export.xml file (~1 GB in my case, ~10 years of data) into a very simple 5 column .parquet file (~40 MB):

- type (e.g. "CyclingDistance")
- value (e.g. "12.100")

and 3 datetime timestamps:

- start
- end
- created

https://github.com/atlaslib/atlas

Why?

The Apple Health export is huge (!), the export.xml schema is wild and a bit irregular and most of its identifiers are prefixed (`HKQuantityTypeIdentifier`).

Even though the types of observations are a wide range (e.g. DistanceWalkingRunning, DistanceCycling, DistanceSwimming, StepCount, …) I put all of them into 1 simple table to make it easier to explore.

[(!) One tiny disadvantage of this is that I had to make the "value" column a String. Even though most observations are floating point numbers. Some observations (e.g. sleep phases) have categories that are enums (?) and I chose not to map them to numbers for now.

Any ideas what to do about this: very welcome.]

Here are a few example charts I generated using Clickhouse (chDB) and Vega-Altair in a Quarto notebook:

https://github.com/atlaslib/atlas#explore

Here is the notebook with example code:

https://github.com/atlaslib/atlas/blob/main/examples/apple-h...

Another example of how neat it is to have this data easily accessible:

Asking questions in natural language (e.g. "when was my last swimming workout?") and ("what is my total walking distance") translated to SQL by llama 3 works:

https://x.com/__tosh/status/1784714636610187488/video/1

Repo on Github:

https://github.com/atlaslib/atlas

Have a great weekend!
> You can turn it the other way round and the claim would be even more valid: Atheism came later in the Sāṁkhya schools.

No, current scholarship is unanimous in accepting that the Atheistic view came first. Unless some new unknown texts come to light to make us revise the dates that is what we have to live with.

Outside of the classic sutra texts mentioned above, there is only the "Kapilopadesha" from the Bhagavatha Purana and "Kapila-Gita" from the Mahabharatha which seem to espouse proper Samkhya philosophy. All other mentions in the upanishads/vedas/puranas/itihasas seem to be just a mention without any substantial details.

The Historical Development section gives a good overview - https://en.wikipedia.org/wiki/Samkhya#Historical_development
I got my first PC (Pentium 90) in September 1994 with a 1GB hard drive. In summer 1995 I bought another 1GB hard drive for $299

Here is an old PC Magazine from October 1998. If you go way in the back (page 352) to the advertisements you can find 1GB hard drives for $105

https://books.google.com/books?id=TodvBDXmM_oC&printsec=fron...
The trespassing laws for commercial establishments are very problematic. I'm in favor of laws that prohibit refusing service when selling openly offered goods or publicly offered services, with clear exceptions such as aggressive behavior, outrageously bad hygiene, requirements for proper attire etc. Rude behavior, shoplifting and other annoyances fall under separate laws.

This should apply even to past criminals.

Such laws protect against racism and other forms of discrimination, and they help integrate convicts back into society, at the cost of "commercial freedom".

In jurisdictions with these laws (I know at least one), it's impossible to create, for example, bars only for men or only for women or refuse service to people we don't like (also, because they belong to some group, incl. morally reprehensible groups). There are some hacks around this and exceptions, but generally, it works and solves more problems, than it creates. Private gatherings or clubs are likely ok (nondiscrimination laws should still apply).

UK and US are outliers here with their "can refuse service to anyone" approach.
>I'm definitely a digital, logical, bits-type-of-guy.

I think the fundamental takeaway from these stories is that even the digitalest of digital things still ultimately exist in an analog world governed by the analog laws of physics.
By far the most useful thing for governments to do would be to work on proper nuclear power that can be sent on a Starship.

I think the chemical plant and the water gathering is something that SpaceX can build. Even at scale.

Sadly Musk is a believer in solar instead of nuclear power. I simply don't believe solar power is reasonable on Mars.
Price endings were absolutely a thing at circuit city back in the early 2000s. .98 .97 and.95 all had meanings. I can’t remember how they mapped but it was something similar to “vendor discontinued, CC discontinued” and something else maybe ha
I quit Harvard to start my newsletter business
But that's extremely rare, and it's rare enough that I'm not sure if it's stomach or also includes the chest, because if I have felt something like butterflies I think it's actually more in the chest area or full body.
> What if I want to go straight to the channel? This was possible, once. What if I want to highlight and select some of the text from the preview? I can’t. Instead, the entire preview, rather than acting as an integrated combination of graphics, text, and hypertext, is just one big, pretty, stupid, button.

When designing user interfaces, you need to think about all sorts of users. When less precise input methods (touchscreens) are involved, or when your users might have issues with precise use of a mouse (and YouTube targets people of all ages and abilities), making everything lead to the same place is much better than some parts of the row leading elsewhere and potentially confusing users. If you’re searching for a channel by name, it should get its own entry on the list.

> We were shopping for a card for a friend or relative, in the standard Library of Congress-sized card section in the store. Looking at the choices, comprehensively labelled 60th Birthday, 18th Birthday, Sister’s Wedding, Graduation, Bereavement, etc., he commented, Why do they have to define every possible occasion? Can’t they just make a selection of cards and I write that it’s for someone’s 60th birthday?

You can certainly find plain cards. You may need a more generic card if you’re targetting an unusual occasion (say, 31st birthday). But the _wedding_ card has wedding-related imagery and a pre-written cringy text, whereas the _bereavement_ card is less happy and more appropriate for that occasion. I can’t draw, but the card company can hire artists to draw something nice on the card for me.

> This is a list of the processes that the operating system has launched successfully. It runs through it every time you start up. I see more or less the same thing now, running the latest version of the same Linux. It’s a beautiful, ballsy thing, and if it ever changes I will be very sad.

You may be able to see that something went wrong — or not, because it scrolled off the screen too fast. You may be able to tell that it’s still working — but you can’t tell when it will finish. Measuring progress is not always easy. Google probably opted not to, since they expect this to only take a couple of seconds, so instead of inventing a way for the conversion service to report progress to the few users who may care, they just show an indeterminate animation.
I've seen you touting your opinions as "the world waking up" but I hope the downvotes make you realize that they are in fact not representative, no matter how much your TikTok bubble tells you otherwise.