skysight-inc/HackerNews huggingface dataset:
> But the result is beautiful.

Ugly as hell, ouch! Really?

GNU C++ had something called signatures years ago, which was removed. It was far more elegant.

You could declare a signature which was a class-like thing: function declarations in curly braces.

Having that signature declared, you could lift a pointer of that type to any object which had those functions (without any relationship to the signature having to be declared by that object).

Found a nice document on it:

https://csc.lsu.edu/~gb/Signatures/index.html

So, here is how the code would look:

class Bar { // nothing to inherit here
public:
void doSomething() { }
};

signature Do {
void doSomething();
};

void foo(Do &doer)
{
doer.doSomething();
}

int main()
{
Bar bar;
foo(bar);
}

When foo is called with bar, a Do & signature reference is taken to bar. This is allowed because the type Bar has all the functions declared in the signature type Do, making it compatible.

Sure, the implementation has to bend over backwards. But signatures are more declarative, so the implementation has a clearer idea of your intent. It can do whatever magic is required.

It seems clear to me that there is a static way to bind the Do signature reference to the Bar type. You probably have to construct some vtable like object which does the right sort of indirection.

The translation unit could emit some hidden __Do__Bar_table item which does exactly that: it's a vtable-like table made in the shape of Do, which is filled with pointers (perhaps fat pointers with offsets and whatever is necessary) to the matching functions in Bar.

If that can be set up at compile time, then maybe the Do &doer argument just has to be some sort of fat reference consisting of the pointer to bar, and to the __Do_Bar_table which translates the Do calls into Bar calls.

It seems cheaper than the convolution presented in this article.

Signatures didn't make it into ISO C++, but since that time, a lot of cruft has which is worse.

Looks like this 1999 commit may be what removed signatures:

https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=6eabb2412f6c4c...

It doesn't point to any information about the removal. We probably have to dig into mailing lists. At least it gives a date, thanks to which we can find this posting. Unfortunately, the one from which it quotes is missing for some reason:

https://gcc.gnu.org/pipermail/gcc/1999-August/035433.html

"This patch removes support for `signature', a g++ extension that is little-used and which Jason and I agreed should go. The reduction in complexity elsewhere in the front-end will be a big win."

OMG, you would absolutely not see this today in C++ development. "Jason and I" decided that some C++ gadget is too little used and we will remove it.

How naive that seems; these people had no idea about the deluge of garbage that was coming down the pipe into standard C++ over the following two decades, that they would have to implement.

They removed a good thing on a whim.
The linked AOC criticism seems less about privacy concerns and more about spending. She only refers to them as "robotic surveillance ground drones" because that's literally what they are.
You live in the ivory tower of civilization. Do you really think you're that different from your ancestors? It's society that has evolved, not the component human parts of it.
Try talking while they are also talking. You'll see the problem.

It's easy to have conversations with friends on discord where 3-4 people are talking at once all with headphones. However this has never worked on a zoom or hangout with less techy family members or work colleagues using ext. speakers.
It's not a single scenario; that seems to minimise the complexity.
I have heard debit-only cards in the US referred to as "ATM cards" occasionally, but that was a few years ago. I think if an account belongs to a minor child, it may not be possible to get a regular debit card (that also works with the credit card network), but an ATM card may be possible? That's the only reason I'm aware of to get one.
This. Im waiting for someone to change my mind. I used vscode for a year and got fedup with the slugishness of it, went to vim and never came back.
Miners decide which transactions are "pollution" and which are not. Not you, and not the parent.

Seriously, who are you to tell anyone what data is "pollution" and what data isn't? Like, do you go around to people on their laptops in cafes and tell them to delete their files off the Internet because you think they're wastes of space?

EDIT: Having a bespoke data field (OP_RETURN) in a Bitcoin transaction is an improvement on this front, because it provides a cheaper alternative to people storing the same data encoded as potentially-spendable UTXOs.
> Granted, neither do a significant percentage of the currently serving congress if current policy is anything to go by.

I think they understand just fine, most of the time, but are more interested in enriching themselves and their cronies than looking out for their constituents or the health of the system as a whole.
The other way around. For most problems you don't need a DB. Only for the subset of those that do you need a dedicated process/container/machine.

We have learnt to use full-fledged RDBMSs as a default because they proved really flexible and powerful over the last 30+ years. But they do have limitations and cost.
Funny because when I saw the headline it reminded me of the same crisis in the 80’s that never came to pass.

I sometimes wonder if these crisis stories are just written by journalists he need to meet their clickbate quota for the week in this Google Adsense driven industry… naaaaa
1. Any piece of code that the program has to provide, rather than the implementation, is by definition in front of the curtain.

2. The run time semantics is ugly. Let's see:

"Now if we pass our Bar1 to foo it will first implicitly construct a Bar object with a pointer to BarWrapper<Bar1> when bar.doSomething() is called inside foo, it will trigger vtable lookup and find BarWrapper<Bar1>::doSomething which then calls Bar1::doSomething which is exactly what we want."

Which reads to me like:

"Now if we pass our Bar1 to foo it will first wastefully construct an overhead object, with a pointer to overhead, when bar.doSomething() is called inside foo, it will trigger overhead lookup to find some overhead wrapper which then finally calls the piece of code which is exactly what we want."

By the time you've done all this, a dynamic language function call starts to look good.
I love road cycling but also weight lifting and other stuff. You can perfectly use Zwift just as an indoor fitness trainer. Yes you need a trainer and a used bike that is comfortable for you but a peloton isn’t cheap either and I can stow away my Zwift setup except for the bike of course.
Wanted: Hackers Interested in Saving the Planet
They certainly would not have run out of IPv4 addresses.
Don't take the idea to increase prices seriously, it is sometimes illogical: people talk about increasing prices and helping people to afford services in the same sentence. Keeping the prices constant and increasing the userbase may be a good way to increase your startup value, but extracting more money from the current users is not right.

Anecdotal evidence: if I perceive something as good value long term I am paying yearly for 2 reasons, one is the discount for doing it and second for the convenience of not having to care about monthly payment. I had Netflix suspended because they messed up the payment (they took the money, 3 times) and I had no solution at 1AM when I had the time to watch a movie, a yearly payment is a lot safer for such cases. Maybe some of your clients are like me.
I’m just saying that I’m in meetings probably 4-5 hours a day with usually between 3 and 15 people and the proportion of people wearing headphones is probably 20%. We don’t seem to have echo issues, though with previous conferencing software this was sometimes an issue. I used to use headphones but they don’t seem necessary any more. Maybe Teams is just good at this?
I meant big-endian, as the G5 processor I have can use Rust.
I'm guessing it's a sample run and the company realized there was a bug in the silicon and told the fab to destroy the rest of the samples. Instead someone at the fab set them aside for the future when they need some raw material to scam people with.

I find it strange that whoever decided to do this kept the correct datecode on the packaging. Presumably they didn't label them as ATMega 328s until the order came in, it would have been trivial to change the datecode to something reasonable for that chip.
I ran an OpenBSD router on an ALIX board for about 10 years and it was rock solid. Only stopped using it after switching to municipal fiber (and just using the ISP router, as the uplink was way too fast for the poor old ALIX).

I plan to switch work routers to OpenBSD sooner or later and we'll also get in-kernel WireGuard.

Something I like about pf in general is the tables. You can define a <table> to include a file, such as a list of bad CIDRs provided by the Spamhaus DROP list for example. Besides that, the grammar (inherited from ipf, back in the day) is basically just English.

pass in inet proto tcp from any to any port 443

(You can also write https instead of 443, I just prefer port numbers over protocol names.)

I don't know what the equivalent is in other packet filters, but if you ask 1000 random non-firewall tech-people what the above rule and the iptables equivalent mean, more people will understand the pf grammar. That's really important when you're writing firewall rules.
I love Tether.

3 Billion printed this week, back then they should've just printed 72 mil USDT.
My understanding after spending a lot of time digging into and discussing this stuff was that playing better and increasing your win rate has a much greater effect than style of play (whether yours or your opponents'). So while your short term swings might be bigger, you'll have a lower chance of a losing month (or a longer slump) and make more overall by eking out every last drop of EV.

It doesn't mean you were a bad player, but it sounds like you might have been avoiding some potentially +EV situations due to lack of comfort with trickier opponents/situations. That's fair enough if it worked for you--it's not at all necessary to play every situation perfectly to have a healthy win rate. Towards the end of my poker career I was playing mostly heads-up, which teaches you to be pretty fearless about exploiting any and every edge, and to get comfortable with aggression. But there was a point in my progression where I'd get thrown off as well. And even after I felt like I was pretty damn good, I knew players who were clearly head and shoulders above me, so it's all relative.
Wow, looks very slick! Surprised I hadn't heard of this one.

Doesn't have the functionality I was asking for, though – filed an issue here: https://github.com/beekeeper-studio/beekeeper-studio/issues/...
Privacy coins can work if you can maintain the property that _every_ transaction could plausibly be spending _any_ historic output. For the most part, that's just Zcash-like coins
Ok.

Leveraged ETFs are very dangerous animals, though.

UDOW lost 17% in 2020 while DIA went up 8%.
US culture is already too self-absorbed focusing more on style than substance. Selling personal tokens to fund one's career trajectory will only create more extreme narcissism akin to unqualified/incompetent people running for office.
You cannot. As long as there are rigged markets and cadres of elites, we can truly do nothing. Sad, really. Not helping the matter is half of the US is below average intelligence and will elect crooks because they say the right things.

If only there were more Ron Wydens and AOCs. But you see red states electing nutjobs who barely have high school degrees (Boeber) because they shout the loudest.
Corruption is still possible, but the real trick to liquid democracy is that every stage is a form of escalation with the potential for correction.

Let's take two scenarios:

1. a vote is being passed "up" and crosses an extremist channel, it'll likely get locked in and come out even more extreme than it started. extremists tend to look up to people who are even more extreme. when this happens, there's a good chance the person who's vote it originally was will be upset with where it ends up

2. a vote is being passed "up" and crosses an intellectual/thoughtful person, it'll likely get locked into the academic/altruist channel and come out with an extreme subject expert. this is the ideal outcome.

Basically, at any point where the vote is being passed up it can hit one of these channels and get locked in. There's massive (and immediate) drawbacks to letting your vote hit an extremist, and massive gains to passing to someone who's more intelligent and thoughtful.

While you're totally right about peoples first vote being super manipulable, each successive pass off has an opportunity for escaping that mind control. And once it does, it'll stay out.
You’re right in the sense that condenser are more sensitive than dynamic (ie better signal to noise ratio) but one isn’t like more directional than the other due to it being condenser vs dynamic.

On the other hand, one that that does matter a lot is that dynamic mics can handle a lot more sound pressure. So, yeah, you often see them recording things like drums and the likes. This on the other hand is actually intrinsic with the mic itself.
I sure didn't expect an Andrew Yang commercial in comments on a Canadian government internet story!
I think the difference is that the bitcoin blockchain might outlive a certain article being accessible on nytimes. The nytiems article can be edited, blockchain data not as much.
I got their wireless one recently and everyone I regularly use it to talk to immediately noticed the quality and commented on it. Can't speak to the wired ones.
They put this content behind a paywall because anyone with a brain (ie. would not give money to a racist propaganda outlet) is not part of their target audience anyways.
>On the yearly subscription, do you charge for the entire year upfront?

Yes. The annual subscription is < $250/year, so I don't believe it's expensive enough to stop people purely because it's a big charge.

>How is the distribution of vintages of your user base?

My startup is fairly new (12-18 months old), so I don't have much insight into such statistics. However, I will note that growth has somewhat stagnated (<4% MRR growth every month). While I'm not looking to grow rapidly and I don't have any external pressure to grow (no VCs :)), perhaps the stagnation is a good motivation to introduce segmentation, higher prices, etc.

>it’s almost always a good idea to do it without disrupting (too much) your existing user base.

Absolutely. I always grandfather existing users and I have a few dozen very early users who are paying peanuts compared to the current pricing. I value their super early feedback a lot in shaping my startup, so I'm happy to grandfather their subscriptions forever. I even get emails every now and then from some early users asking if I could "upgrade" them to the current, higher pricing!
Firstly, the NK situation is terrible. South Koreans are basically living with a sword hanging above their neck 24/7.

I don't think that the middle east, being an unstable region to begin with, would benefit from yet such a major destabilizing factor.

Iran has an ability to inflict much more damage upon the west than NK and Pakistan combined. It is an oil rich country, neighbor to the one of the biggest oil exporters in the world and is located in the center one of the busiest naval traffic routes.
IT companies warn in open letter: EU wants to ban encryption
Third of French wine lost after rare cold snaps devastate vines
No. But I have experienced very noticeable increased difficulty in focusing over the last years. and I am treating it in another way.

Right now what I'm doing is: taking less coffee, sleeping more and cutting down on news, social media and "doomscrolling". Now that I'm already on a different routine I see that my smartphone was the biggest cause of the problems I was having. I thought all that information (especially on Reddit) was adding something to my life, but it took me a long time to realize it was taking away much more than it was adding. I should cut more on Hacker News, I already have the "noprocrast" mode on.

Replacing those old habits with stuff like mindless gaming (games that you enjoy but don't require a lot of your brains) really helped me.

Also, B12 vitamins.

Have you tried any of these?
> can't cancel

That's how you get angry posts on social media. See: Adobe.
Perhaps have a third stage (after the senate) that is the sortition that has to approve a bill.
I must recommend to you Cukor's "The Philadelphia story".
Its like to watch the Earth to be destroyed. Afraid from the coming years.
Give Rimworld a try.

>A sci-fi colony sim driven by an intelligent AI storyteller. Generates stories by simulating psychology, ecology, gunplay, melee combat, climate, biomes, diplomacy, interpersonal relationships, art, medicine, trade, and more.

https://store.steampowered.com/app/294100/RimWorld/
Feels like the actual clean way to resolve this is to not use DNS for discovery of named services.
> (namely, it would be impossible to clean)

So now I have to add an IP65 rating? These requirements would have been better communicated at the start of the project, sigh...
I'd rather use https://lemmy.ml/ - it's implementing federation over ActivityPub.
I don't mean to say that it's OK for Amazon or anyone else to use forced labour just because it's hard to avoid. I am only saying that it doesn't invalidate the good which they have done either. Just like how perhaps you and I wear clothes made with forced labour, because it is hard to avoid, and it doesn't necessarily invalidate the good we have done. I agree it is important to hold businesses accountable for the practices they use.
This comment seems to show a pretty fundamental misunderstand of what CRT is (or isn't), or this article, or both.

The article is a bit fluffy, but some of the problems they are describing are well known in the industry (less agreement on what to do about it) and have been showing up in the medical literature for decades at this point.
Wasn't the dust bowl caused by topsoil degradation?

That seemed like a very substantial crises for wide swaths of the country's population.
Microsoft Edge ‘Kids Mode’ Makes the Web Easier for Parents
This is probably a signal you should raise your prices.
The cliffs of cloud native software defined networking insanity await you:

https://github.com/containernetworking/cni

https://github.com/firecracker-microvm/firecracker-go-sdk

Firecracker, by design, only supports Linux tap devices. The SDK provides facilities to:

Attach a pre-created tap device, optionally with static IP configuration, to the VM. This is referred to as a "static network interface".
Create a tap device via CNI plugins, which will then be attached to the VM automatically by the SDK. This is referred to as a "CNI-configured network interface"
Can't agree more with this. I just can't believe how much time everything takes nowadays. I work in an inherited app which basically is just wizard of 3 steps. I'd say it's CRUD....but it is actually just C.

The amount of spaghetti react, redux, rxjs, custom form libraries etc is crazy. Validations fail everywhere, what we do in the frontend is inconsistent with what we do in the backend. Many screens have no url so you cannot share them. Despite just being forms it is incredibly slow and feels "heavy". Doing any change takes ages despite all the testing we have in place.

I know things can be done right with the SPA approach, but it takes a ton more effort.

I miss using rails/django, specially when the use case screams for it. But people want to have fun and do what facebook and google do, only problem is we have 0.001% of their resources.
A true family.
I guess the issue is how the ads are generated. adds generated on generic search terms are ok with me as long as they are well marked. ads generated on a deep and creepy level of privacy invasion, completely irrelevant to what I'm searching is not ok.

I'm content to live In a search world when I type "how to do xxxxx" an add for a software company that provides xxxxx as a service is the top two or three results. I'm not content with getting cold calls from salesmen 1 to 2 hours after I type in a search for gartner magic quadrant xxxxx. (this happens all the time)

if the ads served are keyword based on the current search, and clearly marked as add, I'm ok with it.

I even click on the ddg ads if the seem relevant on purpose, because I know it generates them revenue. I go out of my way to click on anything I know is a Google ad.
> Regardless of whether one may like the initial selection criteria or not, what you describe is precisely why the country (USA) was supposed to be led by land owning free white men.

> I realize that just saying that may cause some consternation among some, but it is objectively the best selection system one could possibly devise

Combining these two statements suggests that you would advocate for white supremacy. Is that a correct deduction of mine? I would rather ask than just jump to conclusions.
I am in EU and around me people use credit cards only if America requires it for some reason. I don't even own it.
ska: everything in medical literature is fact and in no way fiscally motivated
Under Enhanced Tracking Protection, select the Strict option. Firefox also has native HTTPS-only and ESNI features.
The SEC should be investigating things like this, and do actually bring a lot of enforcement action against various companies and individuals, but I suspect it might be a career-limiting move to target a politician for all but the most gross of abuses.
I knew people who were mining bitcoin and selling it as fast as they mined it. Running ads in Craig's List and meeting people in coffee houses. Sounded sketchy but don't know anyone in the early days that had a problem. I think a lot of university towns had someone doing something similar

Alternatively you could purchase it through Mt. Gox in Tokyo. But if you left it there you ended up losing it all.
It's as if humanity is squeezing the planet like a lemon for every last drop. There's not much left...
Here’s two articles that discuss these points:

https://www.commondreams.org/views/2017/03/26/gates-foundati...

https://wiki.p2pfoundation.net/Vandana_Shiva_on_the_Contempo...
A number of outdoor gear stores like REI and (sorta) LL Bean have discontinued lifetime returns during the past few years. I've known people who used policies as sort of a lifetime subscription to, say, a rain jacket. I'm not sure the reason the policies eventually changed.

I assume it's some combination of degraded quality as most stuff is made in the same Asian factories and an increasingly widespread attitude that it's OK to take anything that isn't nailed down.
I knew Bill Gates was going to microchip us with his vaccines!!1!!11!

In all seriousness though, this is very impressive. I wonder if this same technology could be implemented as an early warning for other illnesses. Or perhaps as a way to monitor some existing condition?

The dialysis machine also looked interesting, although I don't know enough about those to have a comment on that.
“Why so wide”

Maybe because the laptop case can only be so thick, which would limit focal length?

I guess that could be improved by reducing sensor size but then it may affect performance in realistic lighting conditions.
Yup. Also if you’re in a more bureaucratic jurisdiction (like Sweden, where I am) then the bookkeeping of monthly charges can be more expensive than the SaaS.
Would it really help? You can't restrict their complete social circles as well. All it takes is 1 willing friend who will happily accept your stock tips ahead of large announcements and who's willing to give you a share of the profits in return.