skysight-inc/HackerNews huggingface dataset:
ML researcher perspective: Conda is... dog slow, even for relatively simple tasks (clone and run a project). The recommendation nowadays is to use Mamba (iirc), but in my experience (a few years old now) it's been unstable and unable to find package solves which worked on my system / our cluster.

I've settled on just using Poetry for most things, and then using pip in a venv to install the pyproject.toml file from Poetry either in a Dockerfile or directly on a cluster. That's worked fairly well so far, even with torch/cuda (and the mess of CUDA versioning) and from macOS to Linux.

I think uv/rye is a good next step, Poetry can be a bit slow as well at times.
This for example: https://pubmed.ncbi.nlm.nih.gov/21467211/
In a similar vein, I've used VDO.ninja several times to easily stream an iOS device camera into OBS.
it just throws the camera stream onto a webpage, and then I load the page in OBS.
not zero latency but its "good enough" for me to use my phone as a simple extra webcam. works on basically anything that has a web browser + camera.
We use dedicated trailcam-like recorders that drop `.wav` files to a 256GB SD card for a few months on four "C" size batteries. Several sites are very remote (islands separated from mainland by several miles), and recordings are scheduled for only 6 hours per day according to the study's focus.
What's the relationship between uv and uvloop?
I'll give you one tip that covers a large portion of deadlocks I've seen in my career.

A lock should be used to lock a data structure, that's it. Corollary: Never hold a lock while calling a function.

Most common deadlocking scenario is people taking a lock, calling a function, that they don't know takes a different lock. If you can't get by just taking a lock, touching some data structure (lightly), and releasing the lock then you need to look at your data structures.
I don't think it is any different for physical property. What is a pound of gold worth when you are defenseless and someone else has armed men willing to kill you.

Might makes right and owns all property is the default. Every situation that deviates from this is imposed by governments.

A market around physical goods is no different.
Our slow-but-steady concept is down the batteries and storage fork in the road you lay out. Some areas are too remote for infrastructure, so we just revisit and change batteries and cards periodically.
ooh, thanks! is vdo.ninja proprietary? if so, maybe something like mediasoup would enable a self-hosted version?

i like the idea of joining half a dozen cellphones to a jitsi chat or similar, then recording all of the streams and allowing on-the-fly stream selection to change camera angles for the live stream
And make sure you tell everyone about it... ;)
Yes, I was referring to the OP's quote about armed men enforcing the law, not copyright.
How can you generate a universal lock file when some packages will query the running system in arbitrary ways during resolution?
Most diff tools default to not suppressing leading whitespace. Trailing whitespace should be automatically removed and enforced by your code formatting tools, leaving no reason to suppress it.

As someone who has been diffing endless amounts of python through various diff tools, this is totally a non issue.
Seems to be another name for that survival bias picture where the plane is covered in red dots representing bullet holes
>I need the flexibity to boot different OS kernels. AFAIK, UEFI offers no such flexibility.

Yes it does, I use it with two kernels, just have different entry for each stub in UEFI. Whenever I want to boot the non-default kernel I just hit F11 (for BIOS boot menu, on my motherboard) and choose the boot option. You just need to add the boot options in UEFI, pointing to the corresponding EFI files. They also have the kernel command line parameters baked into them and you can set your desired ones (silent boot whatever).
As somebody who tried to pick up Python after hearing there was one way to do everything…the installation and environment management experience was a train wreck.

Glad to hear it’s getting better finally.
> CPU code rendering glyphs instead of a shader rendering SDF's

1) Because SDFs suck badly (and don't cover the whole field) when you want to render sharp text. SDFs are fine when used in a game where everything is mapped to textures and is in motion at weird angles. SDFs are not fine in a static document which is rendered precisely in 2D.

2) Because GPUs handle "conditional" anything like crap. GPUs can apply a zillion computations as long as those computations apply to everything. The moment you want some of those computations to only apply to these things GPUs fall over in a heap. Every "if" statement wipes out half your throughput.

3) Because "text rendering" is multiple problems all smashed together. Text rendering is vector graphics--taking outlines and rendering them to a pixmap. Text rendering is shaping--taking text and a font and generating outlines. Text rendering is interactive--taking text and putting a selection or caret on it. None of these things parallelize well except maybe vector rendering.
Can Swift Charts render on a browser?
Even women can inherit DNA from their many semen depositors.

Well, that being said, I would question the quality of the DNA of such skin cream too!
> hypothesii

hypotheses

Are the psych studies really any different from all the "cleverly contrary to mainstream belief" software stories that land here? I assumed they were all HN-flavored clickbait.
You don't need to truly stream a video capture of the app, you can have a scanner on the server side decode the barcode in the web/virtualized Android app and then only stream a couple hundred bytes, having the client regenerate the barcode
Very true, and in between threads and in other areas too, but this isn't scope based ownership, it's completely separate from the scope hierarchy of the program.

Scope based ownership would be a unique_ptr that frees the heap memory when it goes out of scope (if it isn't moved).
i am assuming a very small one can be powered by a battery, slightly bigger ones might need diesel i guess or does it have to be aviation fuel all the time?
This two second number is not found in Part 25 of the Federal Aviation Regulations, what is your source? Is this a non-US definition, or is it specific to a carrier?

Also in Part 25, V2 cannot be less than Vr which cannot be less than V1. They call all be equal, but V2 cannot be less than V1 by definition.

Pilots will wait until at least Vr but not before making sure the airplane is tracking straight down the runway before lifting the nose wheel off the runway. At least that's how my airline teaches it...
As far as I know, there were only 5 PPro computers that could take >4GB:
Axil Northbridge NX801, Data General AV8600, HP NetServer LXr Pro8, NCR Worldmark 4380, or Unisys XR/6

Interestingly, while the Intel 450GX chipset was designed to daisy-chain DRAM controllers (1 controller chip per 4GB of RAM), none of the boards that actually could take >4GB used that, instead building their own solutions. Presumably that meant that there was a bug in the chipset.

Anyway, each of those 5 computers would have run you at least $500k in 1998.

(I've been on-and-off trying to acquire one of those boxes for a few years now.)
Side note: Stop for lunch at one of the restaurants or cafes around Titusville on the way home. Everyone from there has at least one amazing space story. (To be fair, these are people who don't look up from mowing their grass, because that's how used to rocket launches they are)
How I might approach it. Interested in feedback from people closer to the space.

First, split the load in to simple asset-specific data streams with a front-end FPGA for raw speed. Resist the temptation to actually execute here as the friction is too high for iteration, people, supply chain, etc. Input may be a FIX stream or similar, output is a series of asset-specific binary event streams along low-latency buses, split in to asset-specific segments of a scalable cluster of low-end MCUs. Second, get rid of the general purpose operating system assumption on your asset-specific MCU-based execution platform to enable faster turnaround using low-level code you can actually find people to write on hardware you can actually purchase. Third, profit? In such a setup you'd need to monitor the overall state with a general purpose OS based governor which could pause or change strategies by reprogramming the individual elements as required.

Just how low are the latencies involved? At a certain point you're better off paying to get the hardware closer to the core than bothering with engineering, right? I guess that heavily depends on the rules and available DCs / link infrastructure offered by the exchanges or pools in question. I would guess a number of profitable operations probably don't disclose which pools they connect to and make a business of front-running, regulations or terms of service be damned. In such cases, the relative network geographic latency between two points of execution is more powerful than the absolute latency to one.
I also sometimes misindent some temporary debug print statements. However, indenting them right is just a matter of typing == in vim, while the cursor is somewhere on the misindented line.

Moreover, the ] modifier before p or P (paste below or above current line) adjusts the paste to the indentation of that current line. It takes next to no effort to copy and paste some code to the correct indentation.

Backing changes out nowadays is done with "git checkout --patch".
Git-bug – Distributed, offline-first bug tracker embedded in Git
Indian game firms want to distance themselves from fantasy sports
The other fundamental thing is that if you can’t sell something, you don’t really own it.

So wether pairs of people want to buy-and-hold or HFT their assets is really neither here nor there for uninvolved third parties.
It also assumes all reads and writes are volatile. In the real world, threads can witness out-of-order execution in different threads.
I just used the numbers from Wikipedia, which says that gold is 19.283g/cm3 and tungsten is 19.254g/cm3.

1. https://en.wikipedia.org/wiki/Gold

2. https://en.wikipedia.org/wiki/Tungsten
I think it's because the author's native language is Swedish and had a harder time seeing mistakes which use Swedish instead of English.

"There were no adress and the" is another example - the Swedish is "adress" while the English is "address".
I am a DPO. The claims Plausible makes won't hold up to scrutiny.

It's a simple trick: declaring all data collected to technical data, when in fact it is linkable to a data subject.

Thus collection of the data requires consent, because a subject is identified at least for the session.

If you can identify unique visitors you are clearly identifying individuals.
Lenovo brings its virtualization and cloud stack to Loongson's CPU architecture
I’d need to use DBeaver Pro for the work I do - but they don’t offer perpetual licensing - which is a deal-killer for me (EDIT: I originally incorrectly claimed they didn’t support offline-installs, but apparently they do - but only for installs with a 12-month built-in timebomb: https://dbeaver.com/license-types/ )

It says “No monthly subscription” which really just means “Annual subscription” instead: https://dbeaver.com/edition/

It’s not that I don’t think it’s worth $500/yr - I’d actually be happy to pay $1000 or more - but I absolutely need a pain+hassle-free UX that I can drag around air-gapped networks - and install on a legacy Windows 2003 VM running an ancient build of Sybase and then forget about it for 3-5 years, but be able to RDP-in and know that my DB tooling is still going to be there, unchanged, reliable and dependable.

…whereas subscription desktop software with deeply integrated online accounts and activation and mandatory updates every few weeks (and the occasional account system outage, which ruins everything (looking at you, GitKraken) really really does not work well in those kinds (…my kinds) of environment.

——-

SaaS as a business-model for online services is fine; great, even; and I’m not even opposed to it for desktop software provided that it delivers more value and overall UX quality compared to how-we-did-things-before - but SaaS companies don’t have a solution to the problem of ultra-long-life’d, ultra-dependable, server/system administration tooling.

Can you imagine if Bash or Zsh - or phpMyAdmin - or systemd had to phone-home for a new OAuth access-token every month?
Looks like it's no longer in the html source, but it can still be viewed in the javascript source code:

if (status === "inside") {

text.push("i am the only person who can see this website.");

text.push(link);

if (waiting > 1) {

text.push(`${queueLength - 1} people are waiting to get in.`);

}

text.push("want to see it? get in line, sucker.");

} else {

text.push("only one person at a time gets to see this website.");

text.push(link);

text.push("get in line behind me.");

if (waiting > 1) {

text.push(`currently, ${waiting} people are waiting.`);

}

}

text.push("i'm here for me.");
Guide to Cape Canaveral:

- Bring bug spray & hat
- Drive to Playalinda, arriving ~4am
- Pay for a park pass for entry
- Park
- Sleep for a few hours in your car
- Get up and watch a rocket launch

From beach or short walk back up entrance road for a good view across one of the ponds, depending on pad.

Chain of Lakes Park (Titusville) is a nice alternate. Huge park, tons of parking and space to watch. Really good views if you feel like sneaking across the railroad line on the shore. Hint: hide from any white railroad company trucks. Ignore the wooden viewing stand, as it's camped out by tourists and photographers who can be territorial.

Was easy. Early is key to avoiding all the bullshit. Once you're in and parked, you don't have to worry about anything else.

Be prepared for a scrub on any given day though. Florida mornings tend to be more reliable than afternoon / evenings, due to weather (afternoon monsoon).

Seeing two SpaceX Heavy boosters do near-simultaneous boost-back landings was awesome, including the sonic booms as they decelerated coming in.
pip freeze was an overly simplified hyperbolic jest...

fair point, so when this packaging mess happens, can one not strike a balance, and define the dependencies that you need, then, and let the resolver handle the rest?
Poetry supports in-project venvs. You can enable it globally.

https://python-poetry.org/docs/configuration/#virtualenvsin-...
Braces can be formatted in a Lisp-inspired style!

Try it like this:

if (x)
{ if (y)
{ if (z)
{ foo; } } }

The rules are a little different. We have two-space indentation, like what is favored in Lisp, but there is a space after the opening brace. For symmetry, we put spaces between the closing ones. It works best if we don't "cuddle" the opening brace but put it on a new line.

There is a rhyme and reason to it, and consistency.

I've written some C programs that way, though not recently and can't point to any online examples.

However, I also wrote, and maintain, the Yacc grammar file in TXR Lisp in this style (just the actions in the grammar portion). For whatever reason, it works well in grammar files.

https://www.kylheku.com/cgit/txr/tree/parser.y
On Android, the text field gets covered up by the keyboard
> The best model I've seen for patents is increasingly escalating renewal fees for periodic terms. Such as get the first 5 years for very limited fees, every 5 years (up to some max such as 30) require 2-5x to renew or the patent expires. The exponentially increasing fees limit the hoarding of patents without direct economic benefits, but the high cost means you are able to provide offsetting social benefits while still providing incentives for innovation.

So, basically, long-term patents should be a privilege reserved for the rich (people and corporations). Everyone else should GTFO? I'm sure FAANG would still be totally able to massively horde patents with whatever fee structure you propose.

FFS, Amazon developed literally dozens of commercial properties in my area, and then let them sit vacant for literal years because they had some change in strategy. They're perfectly happy to burn money, since they have so much.

So, your idea doesn't solve the problem you're trying to solve, and it would make things worse besides.
Algebra and Other Idle Pursuits
I am fortunate enough to not know why you're wrong (having only ever used Python for my own personal projects); but I've seen enough people claim that (in a corporate setting) you are, to be confident that they're right.
It’s just bad luck and survival instinct. Stubborn genes end up in a position of power and then they cling to it. For a stupid, stubborn king, it’s sometimes easier (more selfish, evolutionary fit) to just kill the intelligent court advisor or jester than to acknowledge mistakes and give up power for the benefit of the state. In a game of thrones, absolute reason gives in to back stabbing. Also beauty and strength sometimes don’t have the patience for intelligence and outsource it or kill it if it gets in the way of self propagation.
The author is actually one of the most prominent and respected people in this space.
I feel like, looking at the complexity of the programs that can be implemented in shaders (eg. https://dev.epicgames.com/documentation/en-us/unreal-engine/...) that it's unreasonable, bordering on disingenuous to suggest that the GPU pipeline is not capable enough to handle those workloads, or produce pixel perfect outputs.

Be really specific.

What exactly is it that you can't do in a shader, that you can do in a CPU based sandbox, better and faster?

(There are things, sure, like IO, networking, shared memory but I'm struggling to see why you would want any of them in this context)

I'll accept the answer, 'well, maybe you want to render fonts on a toaster with no GPU'; sure... but that having a GPU isn't good enough for you, yeah... nah. I'm not buying that).
Most packages don't do that. You can get really far by assuming that all of a package's wheels have the same set of dependencies (maybe using environment markers), and that its sdist always returns the same list of dependencies (also maybe using environment markers). No, it's not perfect, but it's also what Poetry and PDM do as far as I know.
Labor shortage caused by the decades-long capital-manager strike against skilled labor. Invest in educating employees, pay them enough to remain engaged in their job, empower them with some authority, cost of living increases to keep up with inflation plus their own growing value, etc? Nah, keep clipping coins from the productive part of the business so line go up, even though the MBA spreadsheet automatons doing this end up embezzling most of the savings as their own salaries/bonuses.

It's endemic across the whole economy. Workers who are essentially nothing more than flesh peripherals for the computer. Commoditize your complement, where the complement of middle management was competent workers. The consequences are just finally hitting industries with traditionally larger margins. If this were about automobiles I'd guess manufacturers would add two more wheels for redundancy (paying the mechanics a dollar an hour more to get the kind of people who care whether nuts are properly torqued would be capitulating). But you can't really do that with airplanes now, can you?
Convert Liters to Anything
If foo() doesn't need to share ownership now but may need to later,

This doesn't make sense. Why would a function in a more narrow scope need to take or share ownership? The variable passed will persist before and after the function call.

The incorrect assumption that you came to is that we were talking about stack variables.

I don't know what this means here. I said scope, you are saying stack. If lifetime is being dictated purely by scope, you don't need shared_ptr, you can just use a unique_ptr at the correct scope.

But anyways, here's an example that's both scope-based and single threaded: std::vector<std::shared_ptr<bar> > v;

This isn't scope based lifetime, this is lifetime based on some other criteria than going out of scope. I will show you with what you wrote:

and another that duplicates and removes elements according to some ongoing criteria.
Try uv. You will be shocked how much faster it is.
It has nothing to do with shaders? Despite the name, shaping is not the same thing as a shader, shaping selects and places individual glyphs given a collection of code points.

No part of the rasterizer or renderer is configurable here. As mentioned above, the rasterizer is already programmable with up to two different bespoke stack bytecode languages, but that has nothing to do with shaping through wasm.
The email address they have listed there is defunct, and they haven't bothered to update this security.txt page. When you try emailing disclosure@openai.com, you get an auto-reply saying:

Hello and thank you for reaching out to OpenAI. Our vulnerability disclosure program has migrated to OpenAI's bug bounty program, and this mailbox is no longer monitored. Please use the "submit report" functionality available through our bug bounty platform to inform us of security concerns, or reach out to support@openai.com for any non-security-related inquiries.

Thank you for your help in securing OpenAI!

Bug Bounty Program: https://bugcrowd.com/openai
This makes me feel better about wasting the last 2 days debugging a failed unit test that was due to duplicate dependencies (with different versions).

expect(mockDynamoDBClient).toHaveReceivedAnyCommand(); // passes
expect(mockDynamoDBClient).toHaveReceivedCommand(UpdateCommand); // fails

Received number of calls: 2
Expected number of calls: >= 1
Expected command: UpdateCommand

Received commands:
- UpdateCommand
- UpdateCommand

I thought I was taking crazy pills.
You're implying that the data from the app is stored in a different more secure manner than the data from the website? That makes zero sense. The fact that they got hacked and is the only thing that matters, not which mode of input you provided the data they did not protect.
Actually I think this was caused by the HN app I use
> They’re trying to get a task done. They don’t want to maintain or talk with the computer.

Computers are complex things. Sometimes, things broke and you just can't do the task. But for a knowledgeable person, you just "pop the hood", fix the problem, and then get things done. On My iPad when the Files app freeze, there's nothing to be done other than reboot to get it working again. On Linux, I could pkill a software, restart it in debug mode or go find the logs to know what's wrong. Yes, there's a difference of mindset. But I prefer the "hood" to be there instead of having it be an opaque box.

If you want to get a task done, learn the software that can do it, externalize everything else (IT support). But sometimes, that software is the terminal or it's where the software is.
In my experience, most people who work in tourist destinations can't afford to travel for vacation. Do you think the average Costarricense or Resident of Cancun is taking yearly trips abroad on a wage of under $5/hour?
Hello Hacker News!
I'm one of the maintainers of this project.

Thank you for featuring our project here, and we will be releasing a new stable version soon, so stay tuned for the new version! If you have any further comments, suggestions, or questions about the project, please feel free to leave an issue in our repository! Thank you.
I believe that this applies to Photoshop for a lot of people and is what makes the Adobe CC subscription such bad value if PS is all you want/need.

CS2 is perfectly adequate for my needs and it wouldn't be that bad to have to get by with CS1 or even 7.0. Most of the features added since then just make it slower and heavier with little benefit to me as a user which was bad enough with the paid releases, but with the subscription and how one has no choice but to fund further bloat makes it that much worse.