skysight-inc/HackerNews huggingface dataset:
fetch(
accountId,
true, // include disabled,
true, // fetch history,
true, // fetch details
);

typescript saves the day again

fetch(accountId: AccountId, options: {includeDisabled?: boolean, history?: boolean, details?: boolean})
Got it.

use_boolean = false;
What if they don't have Taco Bell where they are from? Do you have to eat out at bespoke mom and pop restaurants for every single meal just because you're a tourist? Sometimes you might just want to grab something fast on the way because you don't want to spend your entire vacation sitting in restaurants.
I like that UEFI means I don't have to worry about bootloaders clobbering each other when multiple operating systems are installed on the same drive. They can all register into UEFI, rather than competing for the MBR.
But unlike stock buying, shorting can cause huge damage more the the starting value.

If you short a stock at 100, and it reaches 10, you pay back at 10 and get to keep the remaining 90.

If, however, that stock reaches 300, you have to pay the extra 200 from your pocket.

So shorting is much bigger risk than investing directly in stocks.
Yes, 100%. Although you end up with some super gnarly types sometimes, so much better than marking a bunch of properties as optional but not handling certain combinations of them being passed in correctly.

Lord knows I still do that most of the time though...
You can get a 480-core x86 server with 32TB of RAM right now if you want, but I have a hard time seeing the utility of such a thing. Having one giant thing that costs $500k and fails as one unit never seemed terribly convenient to me.
This is almost the same. We both do compression. The compression layer it transparent to the application via VFS.

I have tried this trick with Wikipedia too. It don’t have the numbers. I’ll push up the code when I can.
Some Florida cities are living off red light cameras
A free option for tracing is:

https://www.visioncortex.org/vtracer/
That doesn't fix readability (is the invoice being raised not a tax invoice? Or are we not taxing the invoice being raised?).

That doesn't fix the possibility of adding a third possibility either (what if we separate non-tax invoices into two types of invoices?).

RaiseInvoice(InvoiceType::Tax, Notifications::Email);
Do you shoot RAW? If you're not seeing them (AFAIK Lightroom uses them too) then you're either not shooting RAW, or you're probably not loading/postprocessing your camera's RAW files (CR2, ARW, etc.) directly -- perhaps you're converting them to DNGs first. The XMP files hold all the postprocessing information for those files, since Photoshop/Lightroom don't alter RAW files in-place.

Note: Even if Photoshop/Lightroom did embed these in the RAW files, the problem of actually loading the embedded information would still be there for Affinity. So the point here isn't the file separation; the point is Affinity doesn't understand the postprocessing Photoshop has already done on the photo.

The feature has been requested a lot; see for example https://forum.affinity.serif.com/index.php?/topic/113871-use... and https://forum.affinity.serif.com/index.php?/topic/45772-can-...
that sounds horrific. every time you tried to go to the end of the line you'd get interrupted by launching an editor!
Yes, just short real estate investment trusts for commercial property, write puts (options) against these shares (warning make sure they're covered and not naked), or throw money at many of the ivnerse ETFs out there.
"companies are looking to relocate to higher quality space in more desirable parts of the city, because prices have come down and employers need to be near restaurants and shops to get staffers to come back"

This is a correction that makes sense: occupancy is shifting to benefit the small businesses that provide amenities like restaurants and shops.

SF's attempt to make office park-like experiences in transit deserts made a lot of money for real estate developers but these properties need to be massively written down.
Well, I get the point you're trying to make but it seems a bit reductionist to compare discrimination against a legally protected status to whether or not "nice" people are using public resources. One instance is actually illegal, the other is not.
If we could reboot all of computer science, I'd want one unified cross platform package manager with the same market takeover level as Git, and all languages designed to be aware of it.

No file system overlay stacking or anything, no file system hierarchy of different folders for different types of resources, just python style search paths and virtual environments, and no global environment allowed, ever.

But Python development is pretty nice at the moment so I can't complain.
On Sonoma I get:

The invoked shell does not support interactive features
Clapperboards are for syncing video and audio for a single camera. They don't always use the audio recorded by the video camera itself, so means to synchronize the two is/was needed.
Yeah, hindsight is 20/20. As my blog post mentions at the end, I had no trouble forging a gold ring. Though instead of using solder, I melted the ends together as I wanted the entire ring to remain pure gold.

Had I wanted a faceted hammered look from the start, I probably would have skipped the casting step entirely.
I think this shows that the best option should be to be able to choose.

Use it all the time and want all the latest updates? Buy it as a subscription.

Casual user who doesn't need all the latest updates or support? One-time purchase.
Oh gawd yes they do!
Why is defining an enum "unrealistic"? It's at most 4 lines of very simple code to define an enum that replaces a boolean.
The reason is very simple, you only get to call ExitBootServices() once (absent hacks that hook the function).

If you want to be able to do anything prior to calling ExitBootServices(), such as choose what EFI application you want to use and options you want to pass it, you need a service built to provide you that interface which itself does not call ExitBootServices().

The name of that service is the bootloader.
Having someone close who is obstinate makes the article very relatable (my father, talking him into something is like to talking to a stone, no matter how convincing you are and even if he seems to budge, it will take just a single moment to spring back).

For me this line "The persistent are attached to the goal. The obstinate are attached to their ideas about how to reach it." explained what's going on but the article doesn't seem to provide a solution (I know that's not the point). Now you say it's related to insecurity and it makes sense in my case and looks like a probable root cause. Something that can be worked on. But that's one sample, now I want to know if all stubborn / obstinate people like that are insecure.
Named parameters are easy enough to mimic in JS using objects and the spread operation

function foo({bar, baz}) { ... }

foo({bar: 1, baz: false})
If you don't have named parameters, you can fall back to variables

var taxInvoice = false
var sendEmail = true
RaiseInvoice(taxInvoice, sendEmail)

It's obvious, but people tend not to do it.
I watched the video. They have two different configurations, one where there’s only one kernel, one where there are indeed two separate kernels with one kexec’ing to the other.
wouldn't `pip freeze > requirements.txt` solve your problem? It will list everything currently installed, including transitive dependencies at currently installed and working versions
You can actually set up VSCode and probably other editors to show the parameter names inline with the values.
The nasty neighbor effect in humans
So dope, I have this problem all the time where I’m just like UGH can’t you take a friggen’ photo?? One without my LEGS!? Honestly I started carrying a tripod (Manfrotto carbon fiber) just so I don’t have to say thanks and later regret saying thanks because their photos this would be a killer app I would get the best shots by using them to get the best shots of me
Since I commented my post seems to have received the HN "second chance", so the timestamp has been updated but the comment timestamp remains unchanged: https://news.ycombinator.com/item?id=26998308
For those like me who don't know this space, ROS seems to be https://www.ros.org/
I got it in 6 years and seven months and got filthy rich on PhD coin. Bear in mind, I think not being a PhD actually made the game MUCH easier for me because I had no empathy for the character and approached it as semi-predictable inputs and outputs.
This is the most insightful post in the thread -- there's definitely a false dichotomy here. It's not "have to use a terminal" vs "everything works without a need for a terminal ever" -- it's "able to use a terminal to accomplish some goal or recover from Really Bad Thing" vs "Can't Do That Thing / have to factory restore to recover".

Like the way Apple Maps on my iPhone can't save the person to notify when I navigate to Home. I can save a person to be notified to any arbitrary location besides Home. With Home though, the setting simply doesn't save. I'm sure if I had a terminal I could inspect the data involved and manually fix what's wrong, but the 'Apple' or GUI-only approach simply makes that out of the question. Even better, when the corrupted data is cloud-resident I think the answer is often just that it's broken permanently unless you want to create a brand new account.

There are millions of computers out there that just don't work right, or where people can't accomplish some goal they wish they could. That's the flip side of the 'terminal or not' coin. Neither is a good experience for users who aren't technical though. For nerds though the Terminal provides a great deal.
Either AI doesn't work, and there's little demand for office space for people working at AI firms, or it does work, and there's little demand for office space for people working at AI firms.
Be respectful to your uncle, dear niece.
You can google it, but it's putting EXIF data modifications and additions into an external XML file. It's a way to avoid modifying the master file directly.
A little of both. Everyone know about Linus' refusal to touch CDDL code, but grub isn't the kernel.

There have been several attempts to add features to the grub zfs code over the years, but there are several maintainers of grub who happen to be employees of Oracle, and typically the attempts go nowhere.

I personally can't recommend using grub anymore. The whole "just make 2 pools" solution is unacceptable, and until Oracle stops gatekeeping, their code becomes more obsolete in my eyes.
JS/TS has a pretty widespread convention for "named parameters":

function foo({x, y, z=1}) { ... }

It eschews positional parameters though, but makes passing aptly-named variables as arguments easy:

const x = 1; // Usually a complex computation instead.
const y = 2 * x;
return foo({x, y});
I sincerely doubt the big HFT firms use anything of Fowler’s. Their optimizations are down to making their own hardware. LL is very context dependent and Amdahl’s law applies here.
Temperature is indeed related to entropy and energy. Entropy is a measure of information, and at a microscopic level is defined similarly in physics and in information theory. (And can be converted from SI units to bits.)
When I tap and hold on your blog link and tap Search on mobile, the top result ("My Opinion on LLM-based Mutation Testing") has a malformed URL where "mutatino" is used instead of "mutation" and 404s. When corrected, the page loads.
In my experience, once you know the problem really well, yes you're right.

If you are building a complex prototype from scratch, you'll usually spend more time fighting the Rust compiler than trying out alternate design decisions.
An EFI stub that sets up multi-boot, kernel and initrd then jumps into it is pretty simple.

I don't know why people really need to keep putting huge intermediate loaders in every default boot path.

If you want to boot more than one OS, yes you need one of these, but if you don't then there's no need for yet another OS instance in the boot path. The mid-stage should be extremely small and simple.

There's been so much crying over the size of UEFI, well now there's an arbitrarily versioned and maintained entire Linux in there too? Mostly just to avoid some ugly UEFI APIs and a slightly different programming environment? Yuck.
I got tremendously sad when I watched Guy Steele's talk growing a language:

https://www.youtube.com/watch?v=_ahvzDzKdB0

It's one of the best programming talks I've come across. For 1998, all his points on growing a new programming language are spot on.

And then Java became the opposite of a lot of the goals he enumerated.
$0.01 per sq ft. Final offer.
Lemme be an absolute pedant and say that's destructuring, not spreading.

And correct me if I'm wrong, nothing worse than an incorrect pedant.
Can you explain what's the big appeal of other terminal apps? I have been using Terminal for 21 years without any issue -- but I'm open to trying something else.

Actually I've only this year switched to an "AI enabled" terminal app called Warp.
One of the things that's often not considered with these kind of interfaces, is whether or not they're actually possible. For instance, arg3 might only be true if arg1 is also true. Or arg3 may not be false if both arg1 and arg2 are also false.

Using object arguments is a great start, and I think using enums can also be powerful (if you're using string literal types). But often times I reach for explicit interfaces in these situations. IE:

type FooScenario = { arg1: true; arg2: true; arg3: true };

type BarScenario = { arg1: false; arg2: true; arg3: false; }

type Scenario = FooScenario | BarScenario;

...etc

This provides semantic benefits in that it'll limit the input to the function (forcing callers to validate their input), and it also provides a scaffold to build useful, complete test cases.
I actually would love something like `pip generate-reqs` where pip goes through every .py file in my app and looks at whats being imported and writes these libraries to requirements.txt, together with all transitive dependencies from the currently installed `pip list`
However you want, but you can’t prevent it being copied or made “ununique” in any “real” way. Or somehow have control over the means by which it is consumed or produced.

Many places make money off of digital assets, but there’s no pretext of it somehow being scarce.
Same for JetBrains IDEs.
if you have a problem with gnu/linux (as opposed to android) you can usually find the solution on stack overflow, server fault, or superuser, but the solution you find there is going to be a textual command line, not a gui. gpt-4 can tell you how to solve the problem, but only using a textual command line, not a gui. text is the most powerful, useful, effective communication technology ever, period. always bet on text: https://graydon2.dreamwidth.org/193447.html

https://news.ycombinator.com/item?id=40909185 documents that this is actually also true for microsoft windows

on the other hand, 'always bet on text' doesn't mean 'always bet on editing your command line with inconsistent control-character commands in a mode where clicking with the mouse doesn't do anything'
In most languages with strong types, the IDE will handle imports for you pretty easily. Selecting an import with a hotkey isn't as hard as debugging a mysterious boolean.

Not being able to use logical operations on them is a feature, not a bug: logical operations on unnamed values here are going to be even less readable than passing them into functions.
The city (and it's defendants) refuse to acknowledge or address the problems that prevent people coming to the city:

1. Unreliable and expensive public transportation
2. Expensive tolls and parking
3. High number of car break ins
4. Just a general ugliness to the city: trash, feces, homeless encampments, open drug use, graffiti and boarded up storefronts, crime, and mental illness on full display

Make it easier for people to come in and make them want to come in. With a budget of billions of dollars for such a small city, you'd think these issues would be addressed quickly.
My friend, I'd love to give you a tour of our codebase.
Should have been 2*64.
that's its own kind of horrible though. now either all your functions just take single object parameters or you have to remember which ones. and I get javascript is light on checking what was passed is actually what was expected but this seems to somehow make that situation even worse still
It usually starts with one boolean.

Then people avoid touching it when expending a bit, so they just add another boolean for the corner case they're dealing with (potentially as an optional last param). And so on, until someone refactors the whole function bearing the burden to retouch all its legacy that accumulated up to that point.
Having named parameters is such a revelation. And what do we get instead? Added features that make the language more complicated.
The best choice usually comes down to:

1) References: you may want to prioritize working with freelancers or a dev shop you have worked with before, and has resulted in a good experience, or you have recommendation from someone you really trust.

2) Cost: can you afford the option you trust the most? If not, you might need to go with the next one.

3) Commitment: in the case of an extended engagement, will your choice be available, and will the terms remain the same? If not, same as above, go with the next in your list.
How did you deal with the molten silver dissolving oxygen from the atmosphere? Even if you keep it under a reducing flame, you'll have to take the flame off eventually and some O2 will get in, which will cause defects as the metal solidifies.
Well, ICANN explicitly forbid using just the TLD, so https://google/ was forbidden and you need at least https://blog.google/
The beauty of booleans is the clarity and simplicity.
I have an extremely hard time believing that editing and whatnot means that it's reasonable for the author to only get 15% of each sale. This is especially the case for ebooks where the marginal cost of each copy is practically zero.
That doesn't really solve any but the first problem mentioned in the article.
No, Berkeley feels far.

Harvard, MIT, NYU, UW, UPenn, ETH Zurich, ICL, UCL...all are in the center of their respective cities. Even Cornell-Tech went out of its way to find a little island (literally) right by mid-town NYC.

Berkeley is situated similar to Stevens or Wellesley. They are close enough, but no one is going to go for an evening seminar to these locations on a weekday. NYU or MIT on the other hand, feel effortless to add to a commute back gome.
I'm not sure, but I think homicide might be worse than an incorrect pedant.
> Joe Biden’s climate agenda is all about new-EV sales.

The unstated bit is American new-EV sales.

> Electric vehicles made up about 8 percent of new car sales in the United States last year, compared with more than a quarter in China, where new EVs can go for about $10,000 or less.

Except, we've also made those unaffordable by

> Biden has quadrupled tariffs on electric vehicles from China — from 25% to an eye-watering 100% — in a move designed to bolster U.S. jobs and manufacturing.[1]

If it was all about new-EV sales, we could set the EV tariff to 0%. A $10k vehicle would indeed increase sales in a way that's congruent to a climate agenda that's all about new-EV sales.

The real story is that agendas are a function of politics, but we kind of already know that. The difference in outcomes ie: the differential gain in EVs being driven between these two scenarios is traded away in return for votes.

1. https://www.npr.org/2024/05/14/1251096758/biden-china-tariff...
I don’t care about the social features so I just made my own that I use myself. But that way I get to make it work exactly how I want :)
the top three default readline keybindings that would improve people's lives if they knew about them:

- control-w, which julia mentions in the post, to delete the last word

- control-o: when you're recalling a line from history, edited or no, runs the line and recalls the following line from history. so you can run a sequence of five commands from history by navigating to the first one and hitting control-o five times

- control-r: search backwards in time through your history as you type a search string. control-r again jumps to the previous hit, control-s goes back forward in time. hitting enter or control-o executes it
Or the sorta annoying, un-ergonomic builder pattern: https://www.baeldung.com/java-builder-pattern
What are the "more desirable parts of the city" with "restaurants and shops?" Union Square? No. SOMA? Not any more. Mission Bay? Boring, plus ballpark traffic. Dogpatch? The cheap warehouses are taken. Financial district? Old skyscrapers.
Mid-market, near Twitter and City Hall? You've got to be kidding.
That's hard to trace if using monero however
> 4K HDMI -> USB capture devices are so cheap these days.

FWIW: Most of these cheaper devices will actually be ~720p max upscaled.

https://www.naut.ca/blog/2020/07/09/cheap-hdmi-capture-card-...
My meta-takeaway is that it behooves* the industry to further standardize on the interfaces between components. That will increase repairability over time when coupled with the correct legislation.

*Based on the current OEM/supplier relationship, network of repair shops, etc. All of the post sales businesses built up to support the initial sale.
> please inform me of these tried and true methods that allow you to take a mobile device that is not a dedicated camera and make it part of a multicam shoot.

From 2019: https://www.engadget.com/2019-09-11-roland-ios-app-creates-m...

And the pro version, Roland AeroCaster: https://www.roland.com/global/products/aerocaster/

Also Filmic's DoubleTake has been out for years: https://www.filmicpro.com/products/doubletake/

Let's not pretend Apple is releasing some kind of breakthrough thing here that lets people do something they've never been able to do before.
It usually starts with "is_car", a simple, clear, yes or no. and then at some point someone needs to also check if it's a sedan and instead of turning it into an enum called vehicle_type an "is_sedan" is added, etc.
If you check the ID you'll see that this was posted first. The timestamp has since been changed due to HN "Second Chance Pool" https://news.ycombinator.com/item?id=26998308
Ditch grub and use Linux to boot Linux on ZFS - https://docs.zfsbootmenu.org/en/v2.3.x/ .
Show HN: OnlyTasks – Pay yourself for completing your tasks
Hi HN,

I’m excited to share a simple yet effective tool I’ve been working on: OnlyTasks. It’s a to-do list app with a small motivational twist—assign a monetary value to each task to help stay motivated. The idea is that you pay yourself for completing tasks, using the money for things you enjoy to keep the motivation going.

Key Features:
Monetary Value for Tasks: Add a dollar amount to each task for extra motivation.
Local Storage: Use the app without registration and save your data locally.
Upcoming Premium Features: Sync Across Multiple Devices, Task Prioritization, Task Labeling, Multiple Task Lists, Team Collaboration Tools, Integration with Calendar Apps, Cloud Storage, Automatic Backups, ...etc.

Why OnlyTasks?
I created Only Tasks to address my own struggle with staying motivated on daily tasks. By assigning a monetary value, I found it easier to prioritize and complete tasks, knowing that I could use the money to treat myself to something I enjoy, keeping the motivation cycle going.

Seeking Feedback:
I’m eager to hear your thoughts on OnlyTasks. What features would you like to see? How can we improve the user experience? Your feedback will be invaluable as we continue to develop and enhance the app.

Join Us:
Check out OnlyTasks and join our waiting list to be the first to access new premium features when they launch. Your insights and support are greatly appreciated!

https://onlytasks.space/

Thank you for your time and feedback!