skysight-inc/HackerNews huggingface dataset:
Would ditching lightning really make finding a compatible cable easier. Which alternate cable should they have used? Mini-USB, Micro-USB A, Micro-USB B, USB Mini-b 4pin, USB Mini-b 5pin, UsB 3.0 Micro-B, Micro-USB AB, goodness knows what else.

Lightning was a revelation. Rotationally symmetrical, fast, auto-negotiating, compact. It set the benchmark for what a mobile charging cable should be like.
If macOS, iOS and Android can get away with one-time permission pop-ups when access is first needed, I'm sure the same model can be applied to Linux.

The annoyance doesn't come from the security, it's from un-refined UX.
I would even add that only a handful of companies out of SV did add real societal value and many of them with their dark engagement patterns are even detrimental.
Yes, for me the sandboxing is not the immediate benefit.

The instant value is providing channels for developers to ship apps to their users without either side having to mandate the OS that the other uses. Right now, even well-funded projects like Visual Studio Code have to pick and choose which Linux distributions and versions that they package for.

They don't provide packages to the main repositories for Linux distributions, partly because the release cycles are so wildly different. I don't want Debian stable to ship a completely new base system every few weeks, but the release cycle of my Web browser is a new version every six weeks.

In the ideal Flatpak world, I can run Solus or whatever distribution I choose, and the app developers that I rely on can not care about distribution market share, and just target Flatpak runtimes.

The challenge is going to be to ensure that Flatpak repositories and the Canonical App Store (the server end of snap) enforce good enough legal and security checks once vendors have started using them.
Two main things:

1) Allows godot in schools etc where installing binaries can be problematic.

2) Provides more focus on improving the html5 target.

From what I understand the editor is a "game". Both the desktop editor and web editor are created in the engine, so improving the engine will improve the web editor too. The web editor is the html5 export of the editor "game"
It's important to know that John Read is part of a campaigning group that aims to increase use of psychological therapies and decrease use of psychiatric (ie, medication or ECT) interventions. He's not a credible source of information. This article is a great example, it misrepresents the evidence base. This group does not believe that mental illness exists -- bipolar disorder is just people being irresponsible, autism is simple bad parenting, psychosis is people making stuff up -- which lead the group to create the "power threat meaning framework".

https://www.bps.org.uk/sites/bps.org.uk/files/Policy/Policy%...

A discussion of this document is here: https://www.nationalelfservice.net/mental-health/power-threa...

> One is that homeopathic treatments are still available on the NHS

They're effectively banned. The NHS even went to court to maintain the ban. https://www.england.nhs.uk/2018/06/nhs-england-welcomes-home...

NICE doesn't have guidance for homeopathy, but they do have an evidence search. None if it shows any benefit: https://www.evidence.nhs.uk/search?q=homeopathy

The guidance for ECT has a section about evidence. You're right that some of the evidence is low quality, however you don't get similar evidence of effect with homeopathy trials - https://www.nice.org.uk/Guidance/TA59

> The Assessment Report reviews data from 90 RCTs in individuals with depressive illness, of different grades of clinical severity, who were referred for ECT. Overall, these RCTs provide evidence that real ECT (that is, where an electric current was applied) is more effective than sham ECT (where no electric current was applied) in the short term. The data provide evidence that the stimulus parameters have an important influence on efficacy; at the end of a course of treatment, bilateral ECT was reported to be more effective than unilateral ECT. Raising the electrical stimulus above the individual's seizure threshold was found to increase the efficacy of unilateral ECT at the expense of increased cognitive impairment. In trials comparing ECT with pharmacotherapy, ECT had greater benefit than the use of certain antidepressants but the trials were of variable quality and inadequate doses and durations of drug therapy were frequently used. The combination of ECT with pharmacotherapy was not shown to be superior to ECT alone, although the duration of the RCTs was insufficient to show whether pharmacotherapy was beneficial. Compared with placebo, continuation pharmacotherapy with tricyclic antidepressants and/or lithium reduced the rate of relapses in people who had responded to ECT. Preliminary studies indicate that ECT is more effective than repetitive transcranial magnetic stimulation.
You'll get there, I'm rooting for you. A bit of time, effort and luck, and you'll get there. Focus on the things you can change and not the things you can't.
use-package + eschewing customize makes it easier to manage your Emacs configuration as code, and keep it synced across Emacs installations on different machines.

Otherwise, package-list-packages and customize are awesome. The interface isn't even that clunky, and it's more powerful than equivalent interfaces in other software. Particularly customize, I'm very impressed by how it works.
Some people, like me, never initiate interactions with anyone unless they have to. This isn't because I don't value their friendship. It's because of the high mental load and the many other things that take priority when allocating that capacity. For me, the choice to contact someone is not competing with no-ops like watching TV etc, it's competing with work like keeping my finances in order, fixing stuff in the house and long-term planning. To be friends with me you have to be OK with that. But if you expect me to "pay my way" by initiating things myself, or if you're also like me, then we'll probably never be friends. That's fine, though. We can't be friends with everyone.
I'm in the same position. I've used Emacs intensively for 20 years and I'm the author of Emacs packages that other people use. Nowadays I work on Python, Rust, and Typescript/$JSFramework projects. Here are some of the requirememts:

- Completions need to take the type system into account (even in Python), etc.

- Emacs has to provide intelligent completions, linting, type-checking, compiler error annotations, type information, format-on-save, jump-to-definition, code search, etc

- It has to be easy to set the interpreter path for every one of the executables involved.

- This all must work in a dockerized development environment, including setting breakpoints in 3rd party code that may exist only in a container volume.

Clearly nowadays this has to be done with LSP.

I initially got a bad impression of lsp-mode and tried Eglot. However, (a) Eglot has been under heavy development, and (b) it has a complicated relationship to other core Emacs modules such as eldoc and flycheck/flymake (who can remember which is which) and (c) it threatens to become part of Emacs which means that its development will no longer be done openly with PRs but in an old-school mailing list with a lot of bickering.

So, it now looks like I'm switching to VS Code for programming on real projects, but sticking to Emacs for Magit and everything else.
Sql queries never really adhere to that simple Big O analysis though. Sure, if you had zero indexes so every operation was nested sequential scans, then it’s Cartesian, but that’s never the case. Most often you get really fast index lookups, by design.
Along the same lines, observing how different people react to different psychoactive substances (and talking to them about what they experience) also gives quite valuable insight into the diverse inner lives of people, imo.

I also believe that that might be one of the main reasons of alcohol having established itself as the 'drug of choice' in society, even though there would have been a number of alternatives. Alcohol works great as a social lubricant because in moderate doses, it puts most people in very similar internal states, thus narrowing the gap between their internal worlds and making it easier to relate to others.

With cannabis for example, even at low doses the drug affects people quite differently and makes it more complicated to model other people's inside world.
Access to a shared downloads folder doesn't sound “fully locked down” to me. I can imagine situation where I wouldn’t want one app to see what is downloaded by other apps.

Would be better if each process had its own downloads folder (it’s own file system namespace even).
Code that is obvious is better. That’s also difficult here (You’d for example make a function call of image_that_should_work_offline(..)” that simply returns its argument, but that’s perhaps a bit contrived). So the second best is simply a comment.

// Image inlined because error may be due to dropped connection

You don’t have to have tests to prevent bad refactoring. 100% test coverage isn’t realistic for most code bases (or isn’t even a net positive in many cases).

self-documenting code, or tests, or comments would have saved the situation. You don’t need to design a test in this case. A one line comment that takes five seconds to write is enough.
Spanish porn star charged after man dies in psychedelic ritual
Was going to answer with this as well. I have never met my colleagues and boss, and have never even heard their voice after the job interview, and almost all of my communication with them is asynchronous, without requiring immediate answer, and it has been such a good thing to my mental health.

Unfortunately, most of the western, first-world companies who are offering nice salaries for international remote workers ($60-80k after tax and above) do not trust them and require insane control, with screen recording, constant zoom presence, etc. But just as remote work has finally won over the industry, async communication will too — if for nothing else than what a boost to productivity it is.
>With a permission model that apparently can't keep an image editing application from silently editing .bashrc .

It can, you can cut off all filesystem access or select certain areas. The problem is that programs often need special attention to make sure they work properly using flatpak portals. Currently not many devs are interested in doing this work since flatpak is pretty small right now.

So for now we must assume that Gimp built from the official source, is not a malicious program. Like we have for the last 25 years.
World’s “bluest” sky is in Brazil (2006)
Online tool for analysing AWS ALB access logs
The sky around London seldom gets that blue compared to that in Denmark, it would appear that the sky near Rio is the bluest.

This is more of a puff piece, one off trials on hazy days, and none of the pictures compare to the depth of blue I’ve seen in some skies.

Reverse engineering it I’d think about what increases blue intensity, or decreases and work out where the optimum place might be.
Direct link: https://cloudinary.com/blog/time_for_next_gen_codecs_to_deth...
Matterport Matt! xD

Haven't seen or heard from him in ages!
Even if we give everyone a $1000 laptop, we will create the following pitfalls:

-people don't know how to use them (and I mean even all the people living in the EU know how to use a desktop/laptop - and I don't mean just the old)

-people that are not educated will start clicking left right and center, their computers will be infested/compromised in one day, good luck supporting them. If you don't support them, you just helped create an extra 1bn zombie network

-most areas don't have adequate infrastructure or even no infrastructure at all, in many locations in EU, you 'feel' it when kids begin online classes. Suddenly the countries' networks get flooded with 1-2-5 million streams. I am not saying to leave areas in the dark forever, but it is a slow progress to expand/include all geographies, it takes time, and the need creates the work. We cannot force-invest to bring fast internet in remote locations just for the sake of bringing it to them.

-tech people make and spend money. Preference is give to 'make'. Making an investment of $100bn with a potential revenue of $1tn sounds good. By why would (e.g.) Lenovo donate $50bn worth of laptops? How will they recover this amount when their software sales are negligible? Will they track (spy) everyone to generate revenue? Will (e.g.) Microsoft sponsor those laptops, that will then 'monetize' (spy) to recover the costs?

so many more points/questions.. I will stop here..
Thats why I said "Almost fully locked down"

Each flatpak app does have its own namespace and dir it can save whatever it wants to. Some packages like the MS teams one have been given access to downloads only so you can share files with people. You can turn off this access if you want.

Flatpak also has a thing called portals which let the program request a privileged filepicker so the user can select any file and the filepicker grants access to it for the program. The problem is not all apps are set up to work properly with this right now.
This page is a great example of why we need to finally stop using PDFs for publishing.

It reflows perfectly on any screen. Searching and copying work well. I can control the font size or use a reader mode.

It's already possible to publish similar documents as a single HTML file with embedded images.

Maybe add a few more CSS rules for printing and a checksum system against manipulation.

But instead, we're dealing with Latex - a language that overcomplicates the most basic features such as fonts, tables and special characters.
Check out 3brown1blue if you haven’t already. The animations are excellent.
I see search results, because Google as well as other web-sites I have mentioned, is a search engine.
Interesting, I guess it depends on your application. :-) You made me go back and double-check this on an actual program I had; here's what it is as a comparison point:

So I have an application in front of me right now that I've already optimized the heck out of (and it's as close to single-pass as can be), and turning off optimizations in release mode makes a basic 0.27-second task take 2.4 seconds... almost an order of magnitude difference.

And when I try to break into the code to see where it stops, it's almost always within traditionally-very-cheap operations like std::vector::emplace_back

1 std::vector::emplace_back
2 std::vector::_Emplace_back_with_unused_capacity
3 std::_Default_allocator_traits::construct
4 T::T
5 U::V::w

and std::lower_bound

1 std::lower_bound
2 std::lower_bound
3 std::_Seek_wrapped
4 std::_Vector_const_iterator::_Seek_to

which have suddenly become incredibly expensive due to lack of optimizations like inlining. And notice this is all in the standard library, not within my own (template-light) code.

Going from 0.27 seconds (near-instantaneous for the user) to 2.4 seconds (a huge lag) is enough to make the program incredibly frustrating. Whether it's still "usable" at that point I guess is a matter of debate (some devs just put up with any amount of lag you throw at them!), but I feel pretty safe in saying the task I'm trying to accomplish simply would not be possible without optimizations.

So I'm guessing your performance targets & constraints are quite different, and that's probably why this isn't such a big deal in your case.
Experiments show distracted pedestrians can slow people behind them
That’s so cool. I had no idea this was a thing and it’s right up my alley.
One's metaphhsical commitments are huge.

My community of faith is/has been the bedrock of life for years.

Watching the world react in ways that make no sense would be a complete downer if one could not look past human folly and call into the core of existence.

Best wishes to all for joy, forgiveness, and healing.
I built a computer 2 years ago to do some database cleanup. Part of the regular process is to restore a database from a compressed backup to a terabyte data file, it works fine on S750 but it always gets in thermal throttling on a Samsung Evo Plus 870, all with heatsinks and good airflow (rackmount case with many chassis fans). Restoring 1TB at 1.7GB/sec takes enough time to get into trouble and this is regular work done almost daily, not a test.

I plan to build a second computer for this work, but this time with PCIe v4 SSDs; this is to expand capacity, not because I think it will have less problems or be faster overall, a throttled disk is painfully slow.
A link to the actual paper "Mutual anticipation can contribute to self-organization in human crowds": https://advances.sciencemag.org/content/7/12/eabe7758
Thanks!

I already have a 3D printer and I’ve seen some projects that made it possible to use the 3D printer as a plotter. So probably I’d try that route first.

I was actually more interested in the software aspect to generate those arts.
IIRC the allies generally used multistage superchargers. AFAIU they were automatically engaged, presumably by some valve that was activated due to the drop in boost pressure as the plane climbed, or such.

The DB 60X engines that powered the German Bf 109 had an ingenious system with an oil filled clutch, where depending on the oil level there was a differing amount of slip. So they got an optimal level of boost pressure at any altitude (up to the limit where the supercharger was full on, of course).
Show HN: Database of Business Strategies
A Changing Gut Microbiome May Predict How Well You Age
There are what, 3 screens sizes in the iPhone lineup?

Is it really that hard to test against them? Android developers would love to have it so easy I’m sure.
thanks for pointing this out - I was unaware
Notepads – An open source, modern and lightweight text editor for Windows
Thats nice for you. Personally I use Apple Pages to compose word documents.

But this isn't about us. The question is whether Microsoft's products add real value to their customers. From your nephew with an xbox, to devs in the C# ecosystem, to office workers who use word and excel to get their work done the answer is obviously yes.
I lived in LA for a few decades, and one of the few things that kept me sane as a software engineer living in a land of space cadets and celebrity worshiping airheads was the grand plethora of technical bookshops and electronics supply stores that were, once, liberally littered across the landscape from Burbank to Culver City to East LA.

I haven't been back to LA in decades, but I sure hope that OpAmp Bookstore is still alive and kicking, and has had its share of bookshop cats since I last scratched that scruffy itch. LA has so many wonderful secret locations hidden in obscure streets, behind strange storefronts .. it was one of those cities where the old maxim "don't judge the food by the entrance" was also true of bookshops ...
going out for a walk daily. usually between 4000 and 12000 steps. Even when it was cold.

I know it’s not great health advice, but smoking a cigar during my walk motivated me to do it. was more enjoyable/interesting given the repetitive walk destinations around. plus it has a bit of a calming or meditative aspect to it for me. The senses, flavours, ritual etc.
Is not that simple. First you would need a flatpack daemon that manages that permission, that the application could ask for a path (e.g. by writing in a control socket) and the daemon asks the user and mounts that paths inside the container, and then inform the application that the operation is successful. But that would require modifying the application, and not in a trivial way, and it's unacceptable (you need to fork basically every application that you package for flatpack, and the filesystem access could be in various places).

A more acceptable solution would be to intercept all the filesystem related system calls, look if a path is accessible, and if not ask for the permission and either try again the system call and return the result or return to the application E_AGAIN (but is not ideal since not a lot of applications handle that correctly). But this approach would probably require a kernel module, or you can do that with eBPF but obviously you would need CAP_SYS_ADMIN capability so not really possible.

The approach of flatpack is create a container with all the paths that you know the application can access and then jump into the container. A simple solution that even doesn't require a daemon and doesn't require modifying the applications.
LED desk lamp that clips onto your monitor
Or it's just one of you is "an organizer" and the other isn't.

In my own friendships, in my current setup, I rarely the one who initiates. That was different decades ago but it's how it is at the moment.

My friends do all the inviting and I just show up (show up online this last year).

Further, some people just act as the magnet everyone follows. No idea why but they are. So for example another group, out of ~12 people it's only 1 or 2 of them that organizes most meetups. Same with another group.

To me this is a skill thing. Some people are skilled at cooking, some people are skilled at programming, some people are skilled at reaching out to others.
Created an account just to reply to this - there is no "proprietary" API for actions like opening files.

Both Flatpak[0] and Snap[1] use the same xdg-desktop-portal spec[2], which covers stuff like opening files, taking screenshots, sharing screen, and sending e-mails, among other things.

The only major difference in the two sandboxing approaches (noted in [1]) is the ability to execute arbitrary code outside the sandbox - Snap requires you to disable the ("modern"?) sandbox and use "classic" confinement, whereas Flatpak has you send a command over D-Bus to `org.freedesktop.portal.Flatpak.Spawn`
while still running the primary application in a sandbox.

This would only be relevant for a small number of programs like IDEs, which are, at the moment, a relatively poor fit for "application"-style sandboxes like Flatpak, or confined Snaps, IMO.

[0]: https://docs.flatpak.org/en/latest/basic-concepts.html#porta...
[1]: https://snapcraft.io/docs/xdg-desktop-portals
[2]: https://flatpak.github.io/xdg-desktop-portal/portal-docs.htm...
> tech will change everything, but once the dust has settled the questions that matter will mostly be retail questions, not tech questions

I'm not disagreeing but how will we know the dust has settled?

I might have thought the dust had settled with music when you could download mp3s. But now streaming services are the thing.
Oh, so sad to hear that its no longer there .. it was a staple in my young engineer life, so many decades ago now, and was definitely a rare gem in the area. I remember one Saturday morning, the herculean effort it took to get past the junkies and into OpAmp for a supply of fresh techdat. Sheesh, so sad to hear its gone.
Hands down, seeing people face to face. I have really discovered how much it means to me. I have been ambivalent about it because of social anxiety and low self esteem, but I have realized that in reality nothing else comes close in terms of raising my mood and giving me good feelings.
From the Abstract of the cited paper: "The identified microbiome pattern of healthy ageing is characterized by a depletion of core genera found across most humans, primarily Bacteroides. Retaining a high Bacteroides dominance into older age, or having a low gut microbiome uniqueness measure, predicts decreased survival in a 4-year follow-up."