skysight-inc/HackerNews huggingface dataset:
The combination of DB permissions, DB constraints, and simple (SQL, not procedural language) triggers gets you a lot, including the ability to enforce rules like the one you mention.
Going by the top post on the front-page at the moment, Google
Internet mostly creates confusion. The first phase of brainwashing. Once the mind is confused and looking for answers, you need peer pressure and social reinforcement to create a sense of certainty around the radical new ideas you want to implant.
There's one type for which I will almost always use a C-style cast rather than a C++ cast:

void foo(int unused) {
(void)unused;
}

or alternatively, in situations like:

template<class T>
typename std::enable_if<((void)sizeof(T), true)>::type foo(T &&);

Edit:

Also note that static_cast isn't quite like a function call, because it does something a function call does not, which is to extend the lifetime of the temporary it's operating on.

To see the difference, try replacing static_cast here with static_cast_:

#include <stdio.h>

struct B { };
struct S : B {
~S() { printf("~S(): %p\n", static_cast<void *>(this)); }
S() { printf("S(): %p\n", static_cast<void *>(this)); }
S(const S &) { printf("S(const S &): %p\n", static_cast<void *>(this)); }
S &operator =(const S &) { printf("S &operator =(const S &): %p\n", static_cast<void *>(this)); return *this; }
};

static S foo() { return S(); }

template<class To, class From>
To static_cast_(const From &v) { return static_cast<To>(v); }

int main(int argc, char *argv[]) {
(void)argc;
(void)argv;
const B &b = static_cast<const B &>(foo());
printf("Middle: %p\n", static_cast<const void *>(&b));
(void)b;
}

The compiler "sees through" the cast to extend the lifetime of the object returned by foo(), which produces different output.
Wow, who could have thought that people from the other part of the world could have a different perspective!
How was that supposed to work?
But it's not a very good rhetorical question. Money can be made in something that costs zero dollars by harvesting user data and utilizing it correctly, for example to sell ad space, or sell directly to other interested parties. It is literally the strategy of some of the biggest tech companies in the world.
>anywhere near

RU sanctions are being compared to Iranian sanctions because they're very comparable, with similar evasion routes - turning east.

> Europe somewhat ignored

And prior to Trump/JCPOA they didn't. Iran experienced several shocks of ramping sanctions for around a decade including by EU that was extremely comprehensive. As in SWIFT tier in practice. RU at least has strategic partner in PRC interested in propping it long term. There's also lots of other large neutral markets that hasn't signalled willingness to ditch RU resources and potentially UKR resources under RU. And again, this is assuming RU sanctions will last during negotiations to end the war, not to mention RU hasn't retaliated meaningfully - it's conceivable RU economy the size of Spain gets crushed to size of Turkey (half) but RU can afflict disproportionate damage in other way, i.e. cyber disruptions that cause economic disruptions which will cause the EU/US to loose in aggregate more than RU.
I think you should let these athletes boycott the games in that case. Make them pay instead of demanding it from others. Would lead to a statement I could believe. It isn't particularly brave on their part and not what sports should stand for.

Doping would change this of course. It is an even more egregious violation of what sports should be.
This conflict is not about restoring USSR, It is about Ukraine joining NATO. No Russian leader is going to allow Ukraine to join NATO, because it is a serious danger to their own country.
Crossing open water is tricky to do on short notice; they were hosting the Olympics; they have all the time in the world; the U.S. isn’t actively fighting in any war; they have domestic financial problems to focus on and a lot of room for domestic growth, which would improve their position even more; their biggest risk is regime collapse, and invading Taiwan worsens that risk.
Their proof assumed you always had energy to play all your strikes, so cursed key does nothing for their proof
There's no shortage of great community colleges, though; the problem is that elite institutions in particular are being made artificially scarce for certain groups of people (Asian-Americans in this case) by government fiat, as well as the fact that prestigious institutions are valued because of their scarcity and exclusivity. If they managed to increase their admissions by a factor of ten, then the value of their degrees in the eyes of society would decrease because amongst other things this would mean that they would have to be less selective about who they accepted.
Emerging evidence that mindfulness can sometimes increase selfish tendencies
> Because every single transaction in USD must result in a credit and debit to an account at the US Federal Reserve

Are you sure about that? How about USD accounts outside America, commonly known as Eurodollars? Ultimately those dollars originally came from the Fed but they are effectively outside their control.
I have a kumar surname. Can you get me a Scheduled Caste/Tribe certificate? I am ready to pay a million rupees if you get it done.
The messaging system is orthogonal to the trust relationship between banks in different countries. In the old days, this trust came from family bonds, e.g. the various arms of the Fuggers or the Rothschilds. Nowadays, it's... more complicated. The US government spent billions on making foreign banks like BNP Paribas whole on contracts they had with AIG because it could not bail Goldman Sachs without also bailing them out, at least not without destroying the basis of trust in the international financial system. That's the part where compliance, risk management and AML-KYC intervenes, along with government employees installed directly inside the key banks to monitor it.
I have 5 or 6 original production Model Ms – I'm typing on one now – and it remains the best PC keyboard ever made, IMHO.

I've used them consistently in every office job I've had in the last 8 years, too. Two (2) colleagues ever have complained, out of hundreds. OTOH I worked in two Linux vendors, so there were lots of folks with mechanical keyboards. :-)
Laravel Origins
Do you `enable_if` on completeness of a type? I would recommend against it, it's prone to ODR violations.
Worked for a much lesser international company and it was exactly the same minus the politeness. I had to find a quiet corner to get some work done.
The problem is simple, except that Data Scientists seem to resist good software engineering practices and storm ahead to the model development part which leaves a lot of mess for engineers to pick up. MLOps then looks like a 'difficult' problem because of this mess.
I've been using noip.com for my projects, works quite well except that you have to confirm you still want your noip domain reserved every once in a while. I'll try Duck Dns in my next project. Thanks for the share.
The fees for buying and selling it are on the order of 0.075-0.5% with most exchanges.
I'd go so far to say that wfh is (generally) great in the short term, and awful in the long term.

Like, when an existing team goes WFH (e.g. when lockdown first kicked in), everyone already knows each other. You have your banter channels, you know who knows what about what, and for those conversations you'd prefer not to have on Slack you have non-company backchannels (e.g. WhatsApp).

But in the long term, after new people join the company and others leave, this degrades. It takes far longer for newbies to get to know people, social ties weaken, and trust falters. Doubly so for early-career joiners, who likely haven't worked an office job before.
Yep, it's really easy to get a job if you know how to speak the language.
Longevity is relative. The M I'm typing on turns 31 in 17 days from now.
Location: Switzerland (GMT+1)
Remote: Yes
Willing to relocate: No
Technologies: JavaScript (Angular, React, vanilla, TypeScript...), Ruby, Golang, Linux/Unix
Résumé/CV: Upon request, select open source code at https://64b.it/showcase.
Email: c+hn at 64b [.] it

Software developer for 10 years with a focus on web technologies (backend and frontend). I'm most interested in helping companies and dev team improve on software quality, delivery, and remediating legacy code. Some of my code: https://64b.it/showcase
I imagine if someone is considering revoking their citizenship just to avoid tax, they make a lot more than $112,000

I wouldn't call it a tax break; the US is the only country that double taxes its citizens on foreign-earned income.
Many articles for many topics are ignorant or plain wrong.

That doesn't detract from the technology itself, which is great.
When people refer to themselves as TamBram, they are just referring to their heritage.

If you are offend by them carrying their tradition or culture that they have inherited for 100s of generation.

How would you then think of Indians named John or Mohamed? You know that, these political religions spread almost exclusively through violence and colonisation.

India is a strange country where it is ok to engage in hate against indigenous people/culture, yet political incorrect to even speak of the violent history of Christianity or Islam.

You are perhaps engaging in the same kind of hate the Nazis spread of the jews.
> Are you suggesting that there may be a human being on earth who has the tenacity to enjoy games while creating new accounts, pulling off successful bitcoin heists every 1-2 hours and risking losing their save games?

Most of the “tenacity” parts implied there are automatable, so it's mostly about “can people enjoy the paid-for experience of a game with ephemeral rather than durable accounts”, which, well, really depends on the design of the game.
Being a slave to something is a very common turn of phrase.
Some hardware companies seem to require people on site too. Some jobs I saw last year included a factory robot diagnostics company and a drone company.
Previous HN discussion from the same author "JPEG image of Shakespeare which is also a zip file containing his complete works (2018)" https://news.ycombinator.com/item?id=18342042
so you are the kind the interrupt people train of thought to get your stuff done and let them to work til late

:P
I understand. Thanks.

I think the key here is "trusted". That's the bit that needs work. Vendors need to work on their trust; our industry needs to work on its architectures and business models.
I dislike this comment because it implies remote workers are a burden. As soon as you have one on-site worker, you need a physical office space, security, and sanitation staff. These things are not free. Either type of worker imposes burdens when you objectively consider the fully loaded costs. I would argue adding a remote worker is lower cost because a Zoom call is cheaper than office rent and physical building maintenance.
Not in functions I believe (that was just for illustration), but in other occasions, yes, it's happened - sometimes it's necessary with template metaprogramming.
Looks like an automated attack. I hope GitHub has a way to block these spammers
Just the "intro" splash takes more than 5 seconds, and it's totally unnecessary

Yes, the gif bothered me too :D
Apple Music Cover Art Rules
Then those people should use a browser that lets them make that distinction. There is nothing saying that prefers-color-scheme needs to match the rest of the system or needs to be the same for all websites - but it should reflect what the user wants from that particular website so implemention an override on top of that should make no sense.
But that still forces me to read the article. If they made it "Volcanic eruption affects undersea cables" then I wouldn't have to.
You are effectively limited to the few large banks that can handle the red tape. It wasn't designed to make US persons' life abroad miserable, even if it did succeed handily to the point some US citizens are opting to renounce their citizenship rather than keep enduring the pain. The intent was to make the IRS' compliance processes easier. The level of detail in the FinCEN reporting Americans with financial assets abroad has also dramatically risen in the last 20 years. It used to be you just sent a list of banks along with whether your assets there exceed $10,000 or not, now you have to send a detailed summary with a max account balance (adjusted for exchange rate).
Apple seem to be trying to push app store like restrictions to the whole music industry. How many classic album covers would violate these rules?
Was reading this with an odd sense of deja vu.

Then it hit me: If we ignore the odd choice of 3 & 5 bit fields, this is very similar to ASN.1
Assuming the amount of a given currency does not decrease or leave its country, does this mean that when you “send money internationally” it is just switching owners in the same country?

So the money does not leave, new owners come into the country and control its flow?
Not if you remove the phone number afterwards. It just requires the phone number before enabling the normal otp.
Software developers are not completely subservient slaves. But some of them are certainly obnoxious prima donnas and like throwing tantrums about their oh so terrible working conditions.
> Because people in places like Japan, China, Australia, New Zealand, India, Singapore, Hong Kong, UAE, South Korea, and many others are hibernating.

Nahhh they are all just subsistence living workers and farmers bartering over rocks and other money like objects, unlike us sophistocated folk quaffing Châteauneuf-du-Pape with a side of caviar while we wait for the casino to settle the million dollar wire transfer of our baccarat winnings for the night.
All of these companies from the "Who's Hiring?" thread: https://hnhiring.com/locations/sf
I don’t know what to make of this. It seems like this is an enterprise product meant for companies with procurement and legal teams. Why I say that is because there is a pricing link in the top menu (but surprisingly not in the footer links), but the pricing page shows nothing about the price at all. I have no anchor and no inclination to check out the rest of the website because of this. Either expose the pricing upfront or just put one single “Contact us for pricing” button. There is no need to put two blocks for pricing because there’s no way anyone can figure out what these mean on the costs for them (since, for all we know, each customer could be given largely different price quotes based on their name, size and other factors).
I didn't buy a 3080 for Elden Ring. I play other games too. I bought the game for PS5 because the reviews said the PC version is a bad port and I prefer the PS5 controller. I'm more typically a console gamer because PC games tend to be worse ports now, but if you think that's so suspicious, the reason I bought the 3080 is for Flight Simulator in VR.

I said for me and many others it's one of the buggiest games, but that I haven't played Cyberpunk. I don't know statistically how many people that is but it seems fairly widespread. I haven't even heard of New World.

I'm making generalized statements because what else can I do? If I point out individuals, you just say that's one person. I don't keep stats for reviewers. If you can't see that most post release PC reviews mention performance and stuttering then that's up to you I suppose.

It's like I said - it may be a great game. I just can't play it. I think the graphics suck but that wouldn't stop me playing it. The last buggy at release game I played was Flight Simulator, and I quit it after buying it for a few months as a result, and picked it back up later. Now it's one of my favourite games.

It's strange to me that you appear to be taking criticism of a video game so personally.
> Walking around Tokyo, I often get the feeling of being stuck in a 1980’s vision of the future

Osaka is probably where you'll feel most like you're in an 80s cyberpunk movie.

Try Doutonbori in Osaka or Shin Sekai at night. There is an outdoor from a Blade Runner scene that's still there intact in Doutonbori (Glico). The atmosphere is very Willian Gibson-y.
google is the new early's 2k Microsoft

what happened to Google. now they are hiring almost anyone who applies and have stricter processes and serious meetings.

that ceo is destroying Google for good. he wants to blame other people for putting money in the wrong things.
I always use the appropriate *_cast<> when converting pointers; Unsafe pointer casts are rare and it is good that they stand up. I do like the C cast syntax for scalar casts though as they are often used to silence warnings for conversions that would happen anyway. I wish there was a variant of -Wold-style-cast just for pointer types.
This study suggests that the number of parameters can be significantly reduced using deeper networks, which is a consistent finding in ML research.
So these results could actually help to decrease the amount of computing resources required.
Hello, fellow Tridactyl user :D
>Lombok is too much magic for me

If an object is just data, then @Data is all you need. If an object crunches numbers, then @Service with @RequiredArgsConstructor if you don't prefer to @Autowired things individually.

Any other usage of Lombok is possibly indicative of a questionable application design imo
It’s astonishing how similar all these MLOps platforms are as well. And it always starts with some notebook capability and then end2end / cradle to grave through model serving.

Model serving, real-time/online-inference at scale, has been one of the most complex tasks I’ve worked on. It’s always funny seeing these platforms offer the same solution — some ui wrapper over a kubernetes deployment.
I guess it's just hate and discrimination of Slavs. Wouldn't believe his lies.
not only about commute time but it's cheaper to work from home as petrol and food prices are skyrocketing
Is this a money escrow service or what? How does this charge-back works?
More like modern day blowhards.

Here's what modern day slavery looks like: "Harassed, insulted and raped – that is everyday for thousands of women working in tomato and strawberry fields of Spain, Italy and Morocco. The vegetables and fruits they harvest are sold in German supermarkets and all over Europe".
I'm curious about a valid use case there. If you have a minimal example, or a link to some public code, I would love to see it.

There is a reason to be cautious there, the standard library also tends to static_assert on completeness instead of trying to be SFINAE-friendly.
Before enlightenment, chop wood, carry water. After enlightenment, chop wood, carry water.

One of the points about meditation is about being present, fully experiencing the present moment. By fully experiencing every present moment, you fully experience your life. The opposite would be living perpetually in the future or in the past; not living your life, but continuously preparing to start living it some day.

In your example, the beavers being present and building a dam/collecting fruits are in fact the equivalent of skilled meditators. Dave 'lost in his thoughts' is a person unskilled in meditation, the default situation for a lot of people a lot of the time. Consider how many hours a week people tend to spend distracting themselves, 'lost in their thoughts' - time better spent just sitting and doing nothing, getting bored, and then getting an urge to be creative - like when you were a child.
There is no reason why you'd have to restrict yourself to just three components. Data-science regularly uses "numbers" with more than 1000 components.
Oh, these people never did useful work on-site either. When staring at a screen means work maybe their bosses thought they did. Real contributors do well remote too.
That's a bad way to see it. First of all, proportionally they pay quite a lot of taxes because all their money goes into consumption. Depending on where you live, VAT can be up to 25% for example. Also, they are subjected to payroll taxes and other things, so it's wrong to focus solely on income tax here.

But more importantly, it absolutely makes sense to have the poorest be subsidized by the richest. That's what Europe does, and they are doing great. I would much rather be taxed highly in Europe and know that the money is making sure everyone around me has healthcare and a roof above their head than thinking that my productivity is some God-given ability that supersedes a compassionate and rational way to structure society.
Don't forget quite a few multithreading improvememts!
But Oracle bought Sun (and Java) only in 2009. In the last 3 to 4 years there was not much going on.
Training a Movie Recommender in JavaScript
Literally everyone should practice METTA at this unprecedented times.
I assume it's more out of lazyness / apathy than spite in most cases - e.g. they use custom fonts and then only unhide content using JS once the fonts are loaded. Not really an excuse, just don't think its people being actively malicious.
any developer who is paying taxes in russia pays for agression directly. this seems like real war and war which may avoid nuclear one. so yeah, some apolitical developers will suffer, thoose who has no money in crypto before conflict.

i myself suffered from sanctions like that. i am belarus living in ukrain kyev for half year. and my accounts where blocked on some job seeking site. they did not unblocked after i sent them my ukraine id and my shot of anti lukashenko posts 15 years ago(long before others started to protest).

so it makes me even more crypto/anarchy oriented than before.

ukrain now is very nationalistic, which ok. so it makes life of edge like me dangerous.
They might focus on streamers, they have quite a bit of issues using music. Their recorded streams tend to have large portions of the stream without sound and it definitely needs fixing. The music industry fees are simply too high for them to pay.
Yeah, and as soon as soon as they tried doing that, they found out it was all superficial and the fact that there was HTTP calls inbetween meant everything started falling over and they saw weird behaviour. And instead of learning how to work with state management in general, they learnt how to work with WebForm's state management instead.

I'm working on one of those webforms projects right now, a legacy project that they need some fairly trivial tweaks to and it's an absolute nightmare of bad code. And I've done this before, it's become an accidental skill that I can still fix these awful messes.

One of the (many) reasons why webforms and the new Razor Pages are bad is because the code gets split up according to the UI instead of by function. So it gets scattered all over the place and is incredibly hard to do maintenance work on it.

The page-centric code layout that Webforms/Razor Pages/all the old PHP/Perl/etc. encourage is also extremely conducive in encouraging copy-and-pasta code for programmers trying to get stuff done asap.

So not only is it a nightmare to pick apart the code, you can often fine 2 or 3 copies of the same code that you only discover when one page is working as expected, but the same functionality is used somewhere else but someone just copied the page/control instead of actually splitting the page up into controls and re-using functionality.

I've seen this happen over and over and over. A single developer can avoid these pitfalls, a team cannot.
Sorry poor phrasing, "as much as some think meditation is always beneficial/without risks"
Sadly, they are real people. Many Chinese developers like to use this way to boycott the organization that speaks political statements that they are against.
Last time, the main developer of Go spoke out for Hong kong on Twitter. There were also many Chinese developers who created many trash issues to boycott the Go developer team.
How Plants Turned Predator
I still have nightmares from back then.
Could something like webpack for that?