skysight-inc/HackerNews huggingface dataset:
Yeah we use nestjs decoratos as well, but there's limitations, since the decorators run at runtime.

For example, we wanted to create a Query DTO for our API. It would be a generic class that allowed you to specify the fields you wanted to return in a query, like:

{
include: ["Field", "Foo", "Bar"]
}

You can construct this in typescript like:

class Foo {
bar: number | undefined;
foo: string | undefined;
};

class Query<T> {
includes: Array<keyof T> | undefined;
};

And use the query like:

let q = new Query<Foo>;
q.includes = ["foo", "baz"]; // fail: "baz" isn't in `keyof Foo`;

But since types are erased at runtime, and typescript classes don't work like ES6 classes (which would actually make a hack to support this kind of runtime validation available), you can't validate through an enum on the field, like:

class Query<T> {
@ApiProperty({
enum: keyof T // meaningless at runtime, won't compile
});
includes: Array<keyof T> | undefined;
}

And since Object.keys doesn't work, you can't validate the keys for the object at runtime unless you ditch the generic and just write out the same boilerplate code over and over again with different values for every type you want to be able to query.

Typescript was obviously designed to run in a browser, where it originates data, and not on the backend where it receives data, since input validation is such a chore on the backend.

I don't even want a runtime call for `keyof T` like `typeof`; I just want typescript to compile `keyof T` into an expanded array of strings. I would even settle for a C/C++ style preprocessor macro support. There have been times when I wish I could just log the filename of a function in an error using a preprocessor like in C/C++:

cout << "Error in file: " << __FILE__ << endl;
TLB misses? They are just a detail of particular CPU implementation, and the architectures change. Also, aren't they per core and not per process? What would that solve then to switch to MT?
Drowning the Conscience (1890)
Do you agree with the existence of the FDA at all then? Their entire job is to tell you what you can or cannot put in your body.
> Windows forks processes about 100x slower than Linux...

I work with a Windows-based COTS webapp that uses Postgres w/o any connection pooling. It's nearly excruciating to use because it spins-up new Postgres processes for each page load. If not for the fact that the Postgres install is "turnkey" with the app I'd just move Postgres over to a Linux machine.
These arguments can be also applied to promise and await. And they almost ultimately won these days. Sure, you need to implement the then function or whatever properly or it won't play nicely with code other wrote. But once enough people adopted it, it's almost no way to go back.

If you are a big library author and you don't bother to, probably other will just write a wrapper(request-promise for example) or make a clone with that buildin(there are so many and it's pointless to count). It's FOSS anyway.
When English people in the 13th century spoke the word hotel they might be code switching between English and Old French (but that's debatable because it seems this word ultimately has a Latin root)

However this word is part of the English lexicon today and require no knowledge of French, and as such isn't an example of code switching
Nobody remembers the famous story of William Tell shooting the Macbook Air with a bow and arrow? It has been Apple Computer all along.
I think you'd get a lot of cycles in this, so the rating won't be very stable.
He has decided to move beyond a simple leader in science, into a life of public influence. That comes with responsibilities.
Tourist submarine visiting Titanic goes missing, prompting Coast Guard search
I switched from Gnome to Plasma a little over a year ago after using Gnome for over a decade and it's better in every way. Reading your comment feels like I'm reading about the original KDE 4 release in 2008, not today.

>The Plasma versions seemed to embody change-for-change's sake, and were flaky in non-reproducible ways

I haven't noticed any major changes in the last year? Certainly nothing that was forced on me, whereas Gnome was always removing features I used, and the plugins would break with every update.

>I just want something simple, not as fugly as TWM, that lets me use focus-follows-mouse and several "weird" personal muscle memory shortcuts around mouse buttons and meta keys for window management actions

KDE does still let you do focus-follow-mouse and you can certainly add shortcuts, as you can in any other DE, in fact the dialogs to configure it are the same ones that are used in Gnome!

>Things like the compositor crashing, startup scripts not running in a reproducible way, weird behavior around multiple monitors and the dock sticking to the wrong edges etc.

Are you reporting these bugs? I cannot say that I have experienced these problems on any of my KDE machines and my friends that use KDE haven't complained about these problems either

>At first, I thought it was just me. Then I thought it was just FreeBSD, but every problem I've googled for (sddm most recently) has people from many different linux distros complaining about the same issues.

I mean, I just run Ubuntu. Maybe it -is- you? Even if it was SDDM, it's not like you have to use SDDM to use KDE -- I don't.

IDK this post just seems like a lot of FUD to me.
Someone should do it just for people, they could call it Facemash or something
It is better if you just imagine that we’re ranking things in order of similarity to ELO (electric light orchestra).
>not-for-profit health insurance

Aren't there millions upon millions of people covered by non-profit Blue Cross/Blue Shield plans? BC/BS of Michigan is the largest insurer in the state with over five million covered.
I'm just wondering how the hell the couple are going to exit the Discojet vehicle?

Just thinking about the sheer amount of energy required to lift two adults, especially when that Discojet was rotary-engine powered. I came unstuck as a small child in the early 80s trying to make a drone after watching Runaway (1984). I quickly realized I could never generate enough thrust with the parts I had to lift the vehicle AND its power source and had to settle for a very disappointing tethered craft.
This hurts my eyeballs.
https://archive.is/Z67uH
Now a good soul just needs to do the opposite.
This should be the solution. If they’re trials for an unproven solution, why should they pay anything at all. I’m any case, it should be the other way around; it’s the companies who should pay the person for subjecting them to something very likely to be dangerous and painful.

In any case, I agree with the sentiment here. People should have the right to choose.
I think that the "star trek" use case of a live translation is super exciting. I think that this also will force people to have pass phrases that they use to authenticate phone calls with. I normally downplay when people bring up everyone signing everything with a public/private key (impractical for normal users) but clearly there will be a need for authentication protocols as AI proliferates
Bit of an understatement.

ELF (Extremely low frequency) requires finding a section of earth's crust with very low conductivity that can be repurposed as an antenna. These antennas are very large, the US had one that was 45km long, the Soviet antenna is 60km long.

The resulting signal has a wavelength of 3500-4500 KM, about a quarter of the earth's diameter.

Because of this huge wavelength, the bandwidth is extremely low. The US system took 15 minutes to transmit a single 3 letter message. The system was only really useful for transmitting pre-agreed signals (which were usually along the lines of "surface and contact us for the actual orders").

But they also acted as a dead-mans switch, they continually transmitted an idle signal. If they stopped transmitting (which would still take several minutes to notice) subs would establish communication to check if a nuclear war had started.
It's marking that the disposal itself, when it comes time, needs to be awaited.

Keep in mind, await may need to be in both sides:

await using connection = await getConnection()

If it was `using await` that might give some confusion if it was awaiting the left or right side or the future disposal.

Similarly, it gets fun combined with AsyncIterable:

for await (await using connection of getAllConnections()) { }
Whoa, ever since learning about this, I randomly tell people about this. Noone ever seems to understand my fascination with this distributed grid of spinny things interacting.

I'm glad there's at least two of us ;)
Because they "will eventually be replaced by better and more robust algorithms"; let's hope so.
That last parenthetical does a lot of heavy lifting; most cagers (if they're honest) have a few near misses in the last year that could have been entirely deadly if they had been on a motorbike. Mine was slipping on ice during a turn and bouncing off the center median.

I suspect that your third group becomes better drivers in all vehicles because they learn more things to pay attention to, which permeates everything you do.
You might want to check Cutter[1][2] also. Our release builds come with decompiler included.

[1] https://cutter.re

[2] https://github.com/rizinorg/cutter
Yes...but those are places where where the dead received "proper" burials. (Excepting Pompeii, and maybe some battlefields. Pompeii tends to get a pass because "ancient", "technically buried", and "A-listed Roman cultural site".)

And generally, visiting ~none of those other places is a brag-worthy way to show off being one of the modern 0.1%. (Which, these days, gets very little sympathy in many quarters. Even without the "vultures draped in diamonds" aspect here.)
That's capitalism for you. I also don't like the brutality of it, but it seems to the most efficient system at creating wealth
The linked tender is mostly not about marketing. They tendered basically a pretty large travel agency. Eurail is surely not just a intermediary here. They are in the business of selling train passes and operate lots of the services tendered for decades (e.g. an online train booking platform)
For programming topics there is this one that is growing:

https://programming.dev/
> I had a feeling this was OtterTune's product through a reading of the abstract before I noticed the names.

No, this project is separate from OtterTune. I keep our CMU research strictly firewalled from OtterTune for legal reasons.

The Database Gym project rose up from the ashes of the NoisePage self-driving DBMS project. See my comment from last week about why it failed:

https://news.ycombinator.com/item?id=36355963
I'm not exactly sure what you mean. NixOS doesn't have, like, a profile switcher to let you switch between work mode and play mode on the same PC. At least not out of the box.

But if you mean distinct computers, then that's just three distinct configs. And it's easy to factor out common bits and use it in all three configs, since you configure things using Nix-the-language.

And if you mean all three at the same time on one PC, that's exactly what I do with my home server.
Is Meta just operating in hope and AI moonshots now ?

Everyone one of their products is just garbage to me and becoming less relevant by the day. When do they actually starting building something useful again ?

Honestly Apple seems to be using “AI” much more successfully and actually seamlessly integrating it into their existing products to improve them.

My theory is Mark is hoping the meta verse will pop out if Yan’s bottom at some stage. Maybe he is right? I just can’t for the life of my understand why the current products are just so so neglected?
See also Tom Scott's video "1,204,986 Votes Decided: What Is The Best Thing?" https://youtu.be/ALy6e7GbDRQ

In it he mentions that he kept the site up for only a short amount of time, in part to prevent anyone from writing a bot which could game it. Unfortunately, that has not been the case with Elo Everything, which has a clearly gamed leader board.
You mean "scums up" the waters, no?
You could introduce a back to back HVDC link [1] on one of the two incoming legs, allowing you to alter frequency and phase freely.

[1] https://en.wikipedia.org/wiki/High-voltage_direct_current#Ba...
A podcast host with one of the biggest followings in the world and a presidential candidate is a far cry from someone that posts basic youtube videos. Why are you so eager to discredit over listening to or participating in discussion?
School is ‘upskill’. You can work while you go to school if you want to, no need to interrupt school. Just get it over with.
If you do it right, it shouldn't cause significant wear to the punched cards. You'd want to move the cards with the pins up, and then drop the pins (read head) after moving them. Each pin wouldn't need to exert much force on the paper, nor should the pins be dragged in and out of the paper hole. From everything I've read, the card sets were used many times -- at least one mention on the wikipedia article of a set of cards being used over 100 times.

Oh, and wikipedia has a nice figure from, I believe, Jacquard's patent.

https://en.wikipedia.org/wiki/Jacquard_machine#/media/File:T...
"Their entire job is to tell you what you can or cannot put in your body."

Isn't their job to tell businesses what they can or cannot sell to you to put in your body? Sorta different...
Ask HN: How do you maintain multiple SDKs?
Our product is open source and has several SDKs available in different languages. The commonly used ones are maintained by us, but we also have several that are maintained by the community.

The problem of feature parity is becoming increasingly obvious. We tend to release new features for the few important SDKs that we are more familiar with, while the remaining trail behind.

Also, there are concerns like bundle size and bug prevention that we consider important for our users yet we have no control over when it comes to community SDKs.

Has anyone faced this issue before? Any existing solutions out there?
Tenstorrent has an implementation that promise to have about the same projected performance per watt as Apple's A16.

We will have to wait and see if that is true. Although the architect of that chip is also the architect of Apple's M1 aka A15.
There's a lot of high-frequency stuff going on, but the line length is so much that most of it irradiates away. You don't go adding more line to compensate anything, but you do add filters at some places.
I hope Apple loses and is forced to change their logo i to something like a bitten iPhone. The other company make actual apples and for longer than Apple, so they should have the right of way.
And this is one of the problems with having a purely capitalist system. It kind of works, but to a certain degree. If you let the corporations grow uncontrollably, in the end they become so powerful that they control governments (and not the other way around as it should be). This is already happening, but we either don't know or don't care. Also, the patent system is broken. There are many examples of absurd patents and so called patent wars. It looks like the system is not well designed and is open to various exploits.
There are tourist submarines?
any evidence human remains ie posed to ocean water and 12k of pressure i believe is long gone
I think our cohort bought into boats younger than previous generations - they got the house and then the boat; we never got the house, but the boat was comparatively cheap.
I wish California would consider this for PGE
6 minutes later -- my leaderboard shows oxygen at the top, and hitler is not in the top 100.
Talking over other people and being throttled down is not censorship. Being talked over, is censorship.

Trolls don't have to be right, just louder. Their goal (from my perspective) is to pollute the information space. With large enough volume and noise, this seeks to invalidate all information. "If you can't be right, at least the other person won't be heard"
> Clients not being experts at the job they are getting somebody else to do is not a new pattern

In fact, a whole lot of the time, the entire reason someone hires a professional is precisely because they themselves aren't experts.
Show HN: ChatGPT built entire web app in <1 month for Founder who couldn’t code
I built https://outlier.care/ using ChatGPT in less than a month, and didn't know how to code 6 weeks ago. Outlier.Care is “Levels.fyi for Healthcare.”

- Project: https://outlier.care/
- Announcement: https://twitter.com/JoshSabol/status/1669052035751108621
- Blog post (w/ prompts): https://sabol.io/outlier_care
„But like the car, people convince themselves they don’t want it”

If you live in Europe, you often seriously don’t want or need a car. I didn’t have a car for 8 years - even though I could afford it easilt, and it took pandemic and a shutdown of my favourite car sharing company to finally get my own car.
Aside from winters, a mix of Lime scooters, trams and Ubers works very well in Poland - and it’s way healthier.
> Is anyone familiar with US laws related to Reddit admins using their position to try to harm me in an act of revenge?

As long as they're not defaming you or hiring assassins, they've pretty wide leway. You say "seem to be using their power & platform to harm me, my community, and our organization, by allowing a highly disreputable group, and other general trolls, to blatantly violate Reddit's rules against us"; that's generally entirely legal. They make the rules, they pick how they're enforced, and they can change the rules.
People are drawn like moths to a flame to anything that is poorly specified and are repelled by the well-defined. A visit to the ontologist is feared somewhere between a visit to the oncologist and the orthodontist.

To be fair, GraphQL has a real specification now but it didn’t back when it was taking off like wildfire.
i believe the ocean has long dissolved any human remains
IIRC it did, though the cynic in me would suggest that by “this kind of corruption” what it prevents is the kind of corruption that government officials don't benefit from.

I trust the Chinese government less than I trust my own with regard to doing the right thing (just because it is the right thing or indeed at all), and that is a pretty low bar…
Stage 3 is "implement it and provide feedback based on real implementations" so in some respect Typescript is adding it at the same time as browsers (and is one of the parallel implementations expected to provide feedback ahead of Stage 4).
The common thread between homophobia and transphobia is a dislike of gender non-conformity. Since the days of Ernst Rohm [0] there has been an element of the gay community convinced that gender non-conforming gays - femmes - were the real problem. There are plenty of straight conservatives who are willing to play along with this for a time too since a masculine man isn't hard to accept as long as you don't think about what he does in his bedroom.

What you call "gender ideology" - a dogwhistle similar to Trans Identified Male and Trans Identified Female, acronyms specifically chosen to aggravate trans people by spelling out stereotypically female and male names - is, in some ways, everything that conservative gays and conservative straights disliked about stereotypical homosexuals distilled into its purest form. It violates the taboo of males being overly feminine (queens) and females being overly masculine (d*kes). It's also why drag queens, who are not transgender, are being swept up into the current moral panic.

It's strange to watch anti-trans activists make a big fuss about trans people changing their physical appearance, then go out and support things like drag bans which are also being used to prevent trans people from appearing in public [1]. Those bans are 100% about forcing people to wear certain clothing. I feel like legislating people's wardrobes according to the sex they were assigned at birth really gives away what's really going on here.

Even if all trans people stopped getting any hormones or surgeries tomorrow and even if they stopped using the pronouns that they feel fit them, and even if they stopped using the restrooms that fit them they would still be hated and attacked. They would be attacked for the same reason that feminine gay men and masculine gay women have always taken the brunt of homophobia.

Because what people hate is gender non-conformity. They want males to be reasonably masculine and wear clothing that is considered stereotypically male, and vice versa for females. The talk about scary medical procedures and men and women being erased and even fairness in sports is just a way of making that impulse sound reasonable and justified.

[0] https://daily.jstor.org/ernst-rohm-the-highest-ranking-gay-n...

[1] https://abcnews.go.com/US/wireStory/library-cancels-trans-sp...
I wonder if the order was actually with the airline or with a leasing company (or finance arm of the airline)? Large orders like that usually come from aircraft leasing companies (many airlines don't own all their own aircraft)
:D Yes, you are. :)

The bare simplest genomes are viral genomes about 1000 bases long. These can only operate in environments created by more complex genomes. But even taking them, the theoretical diversity in a genome 1000 bases long, using the 4 canonical nucleic acids, is 4^1000. The number of atoms in the entire universe is around 10^80 (https://educationblog.oup.com/secondary/maths/numbers-of-ato... ).

There's a lot of complexity here: other life may use other nucleotides; those atoms and bases are constantly being rearranged; many base changes are relatively silent - they don't materially matter; etcetera.

I don't know how to calculate all of the rest of these factors, but I think the odds are more than astronomical.
I agree it’s not a good UI font, but it’s absolutely not a version of Arial. Arial is a knock-off of Helvetica.

Noto is a variant of Open Sans with a much wider symbol set.

A font specifically designed for UI like Inter would be better choice as it’s a bit more compact and better for information density.
A bit like Marx in that regard.
I am absolutely not. There are lines I didn't draw for the sake of time. Re: think about how you could translate my hypotheticals into how nature could do that on its own (obviously over a much longer course of time and fortuitous conditions).
There are some very strange areas on that map. Check out the large swathe of the East China Sea near China, the Koreas, and Taiwan, the responsibility of Russian search and rescue in Vladivostok.

https://sarcontacts.info/srrs/ru_pac/
Use pgbouncer
Yes normally there is a letter of intent which is simply agreement on price and terms and expiry date, which the media interprets as firm orders. There will still be a bunch of negotiation happening afterwards and and eventually a purchase agreement. There's still more after that but LOI is considered a starting point to say "I'm serious"
this is basically exactly what it does.

It looks through the folder (i.e. year/month/date.md) and try to find whether today's diary exist. If it does exist it just opens it, otherwise it creates it.

The script actually accept other terminal editors if you edit a single line in the package. I imagine it will be easy to change to use sublime as well.
Eslint will probably have a rule about it. As `call a function return promise without using the result` have a relevant rule today.

Probably it will block the pattern that `call a function that returns disposable object without using using keyword`...etc.
Just go ahead and add the same poor design as in C#. Using statements is probably the one single construction in C# that caused most bugs. I worked with that crap for nearly 20 years. I even had a bug in production today that most likely has to do with these "hidden" scopes.

Why on earth does someone think it is a good idea to finish some work at some arbitrary time instead of what is expected when reading the code top down. Puzzling.