skysight-inc/HackerNews huggingface dataset:
The first attempt appears to try and transfer ownership of the allocated memory from the Vec to C, so my first question is, why not allocate the returned memory using libc::malloc?

But I do recognize that the code in the post was a simplified example, and it's possible that the flexibility of `Vec` is actually used; perhaps elements are pushed into the `Vec` dynamically or something, and it would be inconvenient to simulate that with `libc::malloc` et al. But even then, in an environment that's not inherently memory starved, a viable approach might be to build up the data in a `Vec`, and then allocate a properly-sized region using `libc::malloc` and copy the data into it.

Another option might be to maintain something like a BTreeMap indexed by pointer on the Rust side, keeping track of the capacity there so it can be recovered on free.
but that doesn’t answer the question? are these test files?
It feels like GIMP was designed with user-hostility in mind. There’s no Paint.net for Linux, so I have to use GIMP from time to time for my gui server job needs. And gosh, I hate the damn thing. Every simple step in it is as hard as you can’t bear.

(No I can’t use Krita for specific reasons and it isn’t much easier anyway)
Transferwise makes sense to me. They used to be just about transferring money abroad. By now, they offer full bank accounts including card payments. I guess they dropped the transfer to make people aware that they’re a proper bank now.
No, because he went on to elaborate: "I wish the first time it was done correctly."

Indicating his clear, unequivocal support.
I thought a chroot was not considered a real security boundary?
Binaries != code. A security professional cannot evaluate a remote service by inspecting the binary that (supposedly) runs on a remote system. Even under ideal conditions it's a move that proves you still have something to hide by not just showing people the code that your architectures running on. It's as if Apple will do anything to prove their innocence except removing all doubt.
Ah, so my side projects in a nutshell.
That, and finally getting rid of keeping a lock on the file handle of the opened files. Sooo many times I needed explain someone that their directory could not get deleted or their apps failed to uninstall simply because they were still reading its readme.txt
I'm curious how much better the printers are these days as I'd love to get another one.

I had a Wanhao Duplicator i3 in 2015 and found it required a lot of tinkering and calibration every time I wanted to use it. I ended up selling it as it was so time consuming to get everything correctly set up that it just killed any interest I had in it.
I hear you. This is actually a foundational idea for Codebuff. I made it to work within the large-ish codebase of my previous startup, Manifold Markets.

I want the demos to be of real work, but somehow they never seem as cool unless it's a neat front end toy example.

Here is the demo video I sent in my application to YC, which shows it doing real stuff: https://www.loom.com/share/fd4bced4eff94095a09c6a19b7f7f45c?...
I mean, I figured it out from HN but still.
Under $100:

- Ember mug

- Why: lets me drink tea because I hate cold tea. Bleck.

Under $1000:

- 49" ultra-wide monitor to replace my dual monitor

- Why: I use i3-wm. It works fantastically on it.

- 5.1 Soundbar for computer

- Why: I don't have to wear headphones constantly and also sound quality is so much better

- Mount 50" TV above my desk

- Why: Allows others to hang out in my office with me while I work / play games. Additionally, it allows me to turn something on without interrupting my monitor space.

---

Breaking the rules:

Over $1000:

- EightSleep

- Why: Huge huge huge change in sleep quality plus it's really nice to be able to choose whether to get into a crisp, cold bed or a warm, toasty bed. The Autopilot stuff is interesting and does seem to work to keep you asleep but sometimes it can cause you to wake up especially in the transitional periods of the year (spring and fall).
A bi-weekly house cleaner. Saved my marriage!
Finally bought a rice cooker 6 months ago. No idea why I hadn’t done it sooner. Perfect rice every single time. I believe that qualifies.

Edit: I also bought an emergency jumpstart battery for my car. Saved me twice when my battery suddenly started having issues. Went from feeling “stuck” to back on the road in under 2 minutes.
if we were still allowed to have a vertical taksbar we could have enough tabs indeed
TSA pre-check. Best $85 spent to date.
DNA from Pompeii Victims Reveals Surprising Relationships Amidst the Chaos
> Imagine a worst case scenario for an RCE in a torrent program, and then what is your best case scenario for pledge and unveil being able to confine an attacker?

Preventing exfiltration of any data outside of the downloads dir. Preventing execution of new programs. Preventing inspection, tracing, and signaling of existing ones. Preventing mmap of writable executable memory for shell code. And preventing pivoting exploits using system interfaces like vulnerable sysctls, large subsystems like drm, and so on.

This much can be done without touching the program code, or even binary, at all, using unveil and exec pledges.

If you're willing to refactor the code a bit, you can also prevent new sockets from being opened and new addresses from being listened on if the code doing networking is isolated from the code doing disk I/O.
What priviledges are those?
Cloud vs. On-Prem: Comparing Long-Term Costs
https://archive.ph/nm9B2
Are you suggesting that chatgpt is as popular as it is because it's propped up by google in the serps?
As a counterpoint, I'm on macOS where their latest AI writing tools are now implemented system wide. I also use TextEdit (approximately equivalent to Windows Notepad) and the Stickies app for similar text dumping ground behavior and yet, having the AI writing tools available on those two apps is incredibly useful. I often don't use it at all, but there are things I want to run through it and not having to move the text yet again to another app is nice.

It's _also_ useful in my apps dedicated to writing and even the text areas of browsers. I think it's all about implementation though, Apple's writing tools are quietly buried in the context menu for most text inputs. Microsoft has a tendency to be pushy and in your face about their latest AI offerings like shoving it into the Start Menu, or making it a prominent and visible element of their UI (Copilot in VSCode, even when you're not a subscriber) and the Verge's screenshot isn't enough for me to judge this by.
I got a sound system for TV watching that supports Dolby Atmos to watch movies and TV shows at home. It's been great. I rarely go to the movies any more and this makes watching movies great.

It also made me realize how bad certain streaming services are - Youtube, which don't support Atmos and multi-channel audio.
Absolutely! Imaging setting a bunch of css styles through a long winded AI conversation, when you could have an IDE to do it in a few seconds. I don't need that.

The long tail of niche engineering problems is the time consuming bit now. That's not being solved at all, IMHO.
I was excited to see "free", and even more excited to read "like things used to be", but after reading more closely I see it's merely free-as-in-gratis, as opposed to the more interesting definitions.
IPv6 at least sensibly has a different delimiter for when you are eliding zeros.
As far as I understand, Codspeed is a tool to perform continuous benchmarking. k6 is a specific implementation of http benchmarking
That about the odds to be killed in a year for a Russian volunteer signing up to go to Ukraine. They do it for just $3k/month - for many Russians it is a great money and thus they risk their lives. Giving the limited options, it may as well be that many gladiators were happy to fight in the arena instead of dying from hunger and exhaustion in say quarry.
Shouldn't believe that people are looking at the web site?
One can certainly shock onesself with a battery-powered car starter jump pack, particularly if one is a conductor to the ground or the circuit connects through the heart (which it sounds like anterior-posterior helps with).

Potential Energy charge in a battery wants to return to the ground just the same.
I believe they finally abandoned that 'pretends to understand doc' wordpad some time ago.
Oh, it was a tool call I originally implemented so that Codebuff could look up the probabilities of markets to help it answer user questions.

I thought it would be fun if you asked it about the chance of the election or maybe something about AI capabilities, it could back up the answer by citing a prediction market.
Which 49" do you have? I am looking to improve my setup and wouldn't mind some suggestions.
That's awesome! It's decent, yes. The starter image comes with a graphical app launcher you can check out. I'll poke the team about releasing the source for that launcher soon (I think they wanted to clean it up so it's a good sample).
> The majority of Americans are overweight, as far as the science shows artificial sweeteners are the best choice for them vs full calorie.

This is a false choice and has nothing to do with the above commenter's preferences.

Many people just desperately long for convenient foods/drinks that aren't so sweet in the first place and feel frustrated that the largest brands don't want to bother with them.
I’ve loved/hated it taking over IDEs. The refactor lightbulb icon popover slowly losing features to “fix with copilot” has been draining
It's pretty good for complex projects imo because codebuff can understand the structure of your codebase and which files to change to implement changes. It still struggles when there isn't good documentation, but it has helped me finish a number of projects
What areas has the US annexed in the last 100 years?
Dissatisfied by marketing something as nebulous as "software", investment firms begin their pivot to Poverty-as-a-Service.
Parsing "Magic: The German" made my brain glitch
Did that a decade ago and it saved my marriage as well :D

I'd lived alone before marrying and I did all my chores, but my tolerance for messy stuff until I got to action was way more than my wife's.
That’s only the case if you spend all day rerunning deployments. If your task is more frequently to transition the cluster config from A -> B then the distinction blurs and you go from a 10:1 delta ratio of the different classes of state to maybe 3:2, at which point it feels like splitting hairs.

Especially if the locals vary between prod and pre-prod, and worse if dev sandboxes end up with per-user instances, which for us was mercifully only needed for people working on the TF scripts, so we could run our tests locally.
Mysubmission
Moving data between systems is problematic. Where this product is actually needed (multi-TB databases under load) is where logical replication won't be able to sync your tables in time. Conversely, small databases where this will work don't really need columnar storage optimizations.
I used to use a soundbar for my computer but the only way to control volume was 1. With the Bose remote that came with it 2. Bluetooth.
https://www.monoprice.com/product?p_id=43305

I guess _technically_ it's right at $1000 but you'll really struggle to find any big monitor for under $1000.
I’d like to be contrarian here and suggest that if you happen to be possessed of a sudden impulse to buy something, but you can’t identify any particular thing that you need, consider putting that amount of money into an investment or retirement account instead of searching for a trinket to buy. That way you are scratching the itch and you’ll be better off later on.

In other words, you can have your cake and eat it too.
I got an Ember mug and use it every day and love it. It keeps my coffee at a set temperature (controllable via my phone over Bluetooth) so it doesn't get cold right away, and I can take my time drinking it. I've bought a couple more as gifts since, and the people I gave them to say they like them a lot. The impact on my life isn't anything to get excited about, but it's been positive nonetheless. I don't feel rushed when I drink my coffee anymore, and I'm able to concentrate on my work without that nagging "my coffee is getting cold" feeling.
Apple's AI Writing Tools is available in TextEdit.
Not this time! =). But today's floppy equivalent is a micro-SD card.. Right? Right?
So would you go opentofu or pulumi or Sir Not Appearing in This Film?
This is an engineering problem not a scientific one. We can wait for better analytic methods or we can use a technique that is mathematically proven to be able to approximate the exact solution if you throw enough compute at it to learn the functions
I dont think it's as simple as that, after all there are book written about task management.

When "something" comes up, it's not always clear to me whether it's urgent or not, important or not. Getting it out into a list frees my mental capacity.

For example, I got a reminder to renew my passport yesterday. Not urgent, but important. Goes onto a list. I'll eventually prioritize and schedule it in my weekly review.

The key (for me) it aggressively devote attention to pruning these lists.
There are zero polls which show this.
> Ubuntu isn't connected to a multi-billion dollar corporation

Technically correct but misleading. It's connected to Canonical, a multi-billion dollar private company limited by shares.
> It still struggles when there isn't good documentation

@Codebuff team, does it make sense to provide a documentation.md with exposition on the systems?
For sure US companies do it too. But from a _national security perspective_ the US/Canada don’t care about local companies as much as foreign companies _controlled by a foreign (and in this case hostile) government_.
Yes! Especially if you have kids -- minors go through TSA pre-check lines with parents with pre-check, even if the kids don't have pre-check on their own.
It would be too coarse-grained to say I'm categorically dismissive of paper-based systems. My views are more nuanced.

Right, I'm aware of Luhmann and Zettelkasten and ZK-inspired systems. I'm glad it works for him and many others.

Still, if one goes down the rabbit holes of ZK and knowledge management systems, you will sooner or later find some videos that leave the realms of productivity and venture into the farcical.

This is important to recognize: "There is a common mistake people [make] when [using] PARA, Zettelkasten, GTD, Bullet Journals [...]. / They assume each system is universal. / These systems were [NOT] built for mass consumption." - 2022 blog post by Zain Rizvi titled "PARA vs. Zettelkasten: The false binary" https://www.zainrizvi.io/blog/para-vs-zettelkasten-the-false...
Under $100 - Ember mug. No more reheating coffee a few times/day or trying to drink cold coffee. I was surprised at how much I enjoy it. A nice napkin holder that is easy to pull napkins from. Vertical magazine/tablet organizer. Whiteboard next to my desk. Anything simple that makes a frequent chore or task 50% easier.

Under $1000 - Twice/week 'house helper' who does dishes and laundry. My wife travels a few weeks/month and we have 2 kids. Having someone do all the dishes and laundry saves me at least 5hrs/week.
Same here, we got weekly and its done on a Friday. forces you to tidy so cleaning can be done properly and then your house is clean and tidy for the weekend.
It acts as an ID in most cases.
Ditto Nexus. Best $50 and has paid for itself many times over crossing the Mexico-US border.
Yep, that's the sketch I'm thinking of.
I used to be utilitarian and had the minimal amount of everything around the house but I caved in and started buying duplicates. 1/2 cup measuring cup for pet food? I no longer use the same one as baking, I just bought another and now it lives in the container/bag of food. Measuring spoon for supplement powder? Same thing, it lives in the jar now. For under $100 you could buy every duplicate you'll need around your house. Never look for that "thingy" again, never think about what you last used it for or if it's dirty or in the wash again. It's small but it's worth it.

Along the same lines, Spotify. Could I torrent all the music I want, manage a library and set up streaming around the house, sync the files with my phone, etc? Yes. I used to do it too but now I just don't want to even think about it. $15/mo and it's solved. Forever.
Looks like react query builder: https://react-querybuilder.js.org/
Nowadays spending 500-1000 USD on a machine gets you something that can print almost anything (within size limitations) out of the box with no calibration. The BambuLab printers are nothing short of extraordinary for quite reasonable prices (the A1 mini is only like 300 bucks, but it's small). And their software stack is good enough that 3D printing is roughly as easy as 2D printing (with the same caveats that occasionally your machine will jam and you'll want to chuck it out a window).
The pieces did NOT exist in the 1970s. Fast microcontrollers, stepper motors, precision miniaturized manufacturing, reliable and cheap miniaturized DC electronics, and far far more technology was non-existent at any kind of affordable price point. Look at kitchen appliances or metal/wood shop machinery from this era, still heavily analog, mostly made from sheet steel, mostly non-computerized. The 80s would bring better microprocessors but even the simple Nintendo was an inflation adjusted $450. For comparison the first RepRaps used a full power PC as their host machine and their materials cost roughly $1000 in today USD and needed parts from a commercial stratasys machine.

Some of the greatest and most under appreciated technological achievements in the last 40 years have been in materials science and miniaturization.
OpenAI was the anonymous buyer: https://x.com/dharmesh/status/1854307883304792294

Copy & paste for those who can't visit Twitter:

> BREAKING NEWS: Secret acquirer of $15+ million domain chat .com revealed and it's exactly who you'd think.

> For those of you that have been following me for a while, you may recall that I announced earlier this year that I had acquired the domain chat .com for an "8 figure sum" (which was later reported as being $15.5M).

> I also shared that I had sold the domain to an undisclosed buyer.

> I was not at liberty to share who the acquirer was (I was going to leave that to them, when they were ready).

> Well, in a 8 character tweet (talk about brevity), Sam Altman, the CEO of OpenAI revealed that they were the buyer. If you visit the website now, it goes to ChatGPT.
Under $100:
Electric toothbrush:
Always hated having to brush my teeth and this makes it so much less tedious, also supposedly better for your teeth, from 1-2 times per day to 3 times every day.

Under $1000:
Nespresso machine, was using a mocha pot before but the coffee is much easier to make, no cleanup, and tastes better.
Large-scale, targeted psychological manipulations of the crowd into liking tyranny, hating democracy and/or each other and so on?
Underemployment drives active github profiles.
This is great feedback, thanks! I absolutely want to find ways to provide some support -- a bug portal is a fantastic idea. For now we're accepting issue reports though gitlab.com/qnx.
But that’s not why they banned it. They banned it because FB refused to submit to the CPC’s censorship.
WSL runs GUIs too. And so did things like vmware and virtualbox for many years before it.
This is a good blog post idea. I'll get it on our backlog.
How much of this is bullshit hyperbole? Let's ask those who were going to leave last time? Less than 0.0001% actually followed through?
Yes, he's the lead Manifold eng. Please discount appropriately.
I maje my own electrolyte drink with water, spoonful of sugar and spoonful of "low sodium" salt: they add potassium to those, which completes the electrolyte menu.

Sometimes I add a dash of lime

Veeeey low cost and great. And you can pre-mix it in a zip lock bag to have it always available. And add some orange flavour kool-aid powder if you need flavour.

Commercial Rehydration drinks are overpriced and overhyped IMHO
I guess Google about the US being a net importer of food

And how much we get from Mexico

https://www.ers.usda.gov/amber-waves/2021/november/u-s-fresh...
In case you are wondering: QNX is a commercial Unix-like real-time operating system owned by BlackBerry, aimed primarily at the embedded systems market.

From https://www.sealevel.com/2023/01/02/what-is-qnx
Because people make societal level choices that lead to low birth rate when things are terribly wrong with the society that demands less people for one reason or another
Right after CenturyLink rebranded to Lumen, but before I heard about it, I clicked a buzzword-laden link looking for people involved in "Edge Computing". I had been writing vehicle traffic controller firmware and thought "hey, I guess I'm doing edge computing--out here at the curb--maybe I should check this out."

Turns out, they meant installing modems in people's houses. Edge, it would seem, is a very versatile buzzword.
It's not irrational to assume that someone older is more competent in their job. Most people do not switch careers. At minimum, there is an upper bound on years of experience when you look at someone who appears to be under 25 or even 30.
No notes, this is cool as fuck.
Haha same. Well worth the 80€/clean
Under $100:

The heat gun mosquito things that some tech folks were mentioning on Twitter. Always get quarter sized terribly itchy bumps for each mosquito bites and using it makes them essentially itch-free immediately.

Under $1000:

Weekly house cleaning. Such reduced cognitive load/increased free time to not have to clean all the time, think about cleaning, etc especially with a toddler.
In my experience, it really took off when PLA filament became commonplace.
ABS and UV-cured epoxy emitted noxious fumes which required separate ventilation systems and weren't really suitable to be used at home.

Early home 3D-printers also required more of the user. It took a lot of tweaking to make them produce decent prints.
> And battery-cars powered by coal-oil generated electricity is stupid.

Any particular reason you are talking about coal oil? I don’t see any mention in the article and it’s the first time I’ve ever heard of it https://en.m.wikipedia.org/wiki/Coal_oil

Also, why is it stupid? Just like any power source, if the total carbon emissions are lower then it’s worth it.

Even in countries that use coal for power there is still a benefit

> In general, EVs cut carbon emissions significantly, even if they mainly run on coal- or gas-fired electricity, as the chart below shows. In coal-heavy Poland, an EV would cut lifecycle emissions by two-fifths, Carbon Brief analysis shows, rising to two-thirds in the UK and four-fifths in Norway.

https://www.carbonbrief.org/factcheck-21-misleading-myths-ab...
you can put the information into knowledge.md or [description].knowledge.md, but sometimes I can't find documentation and we're both learning as we go lmao
Echoing this! It has made traveling sooooo much more enjoyable and reduces stress.
Become...?
I don’t know about the party part (many of these date back when Republicans ruled the state), but

- development zoning (restrict development to low density residential),
- slowing development with required surveys (eg. CEQA)
- permit friction
- rejection of mass transport in growing population regions
- mobs at city planning meetings,
- Open Space preserves (private contracts to maintain nature in area where high demand
I had a Makerbot 2X in 2014 and it required constant janitoring every time I wanted to print.

I built a Prusa MK4 this spring; it calibrated itself and printed a great looking piece right from the get-go. The difference is night and day.
2 weeks is not enough. People frequently go away for months.
If by industry you mean exclusively the already giant tech companies.
I bought led panel lights for my shop. 2ft x 2 ft. Bright, cheap, easy to wire.

Proper lighting changes everything. I think the last set I bought were $180 for 6