skysight-inc/HackerNews huggingface dataset:
Does anyone have a good "how to parser combinator" introduction? I've been looking at C# to dismantle various binary formats and this may be a good approach.
> Even before BLM and defund the police movements, on average US police departments only had 60% of the officers needed to effectively maintain order.

Yeah, no surprise there when almost all issues of society get offloaded onto police, and a barely trained one at that.

All that police is is a band-aid on existing, far-reaching issues in society - poverty and lack of access to mental health care being the worst contributors.
See also

- "you have a niche web browser which breaks our js fingerprinting so screw you"

- "you had a dispute on your airbnb account and we don't have time to figure out whether you or the host are wrong so we'll just kick you both off"

If that sounds shitty, we also have:

- Another company had marked you as risky, and since we trade risk profiles with each other, we just don't want to deal with you.

Except in most cases you won't ever learn the reason, much less have a fair appeals process.

I have a feeling we have a LOT more of this than people think already, but companies aren't talking about it and it's not regulated except for a few sectors. In the future though, it'll be a lot more. With the expansion of tracking, we're gonna get a LOT more persona non grata/shadowbanning and social credit systems.
I never said I make it SFINAE-friendly! I just said I use enable_if. Sometimes I use enable_if because it's handier for me than an alternative like static_assert, that's all. I actually don't recall if I've ever needed this in an SFINAE context before.

That said, here's one possible place where it might make sense with SFINAE. Note that I haven't fully thought this through, I'm just doing this off the top of my head right now, so it's possible I'll miss something:

#include <iterator>
#include <type_traits>

namespace stdext { template<class> class checked_array_iterator; } // Forward-declare MSVC-specific type

namespace bar {
namespace {

template<class T>
std::enable_if_t<(std::is_same_v<stdext::checked_array_iterator<typename std::iterator_traits<typename T::foo_iterator>::value_type *>, typename T::foo_iterator> && ((void)sizeof(typename T::foo_iterator), true))> debug_verify(const T &obj, ...) {
// extra sanity checks against obj.get_foo_iterator()
}

template<class T>
std::enable_if_t<!(std::is_same_v<stdext::checked_array_iterator<typename std::iterator_traits<typename T::foo_iterator>::value_type *>, typename T::foo_iterator> && ((void)sizeof(typename T::foo_iterator), true))> debug_verify(const T &) {
// nothing to do
}
}

class S {
auto foo() {
bar::debug_verify(this->field1);
bar::debug_verify(this->field2);
}

// ...
};
}

Note that I'm by no means claiming this is the only way to do this.

(Edit: Removed a final comment about turning it into a is_checked_array_iterator trait - messed up that part.)
Nature is trialling transparent peer review – the early results are encouraging
I have no idea, except that money is not spared on missile troops, and they are kept well fed at all times to ensure their loyalty. If you seen videos of Soviet missile submarines with Jacuzzi, this is about that.

So far one thing is universally confirmed, launch officers get autonomy when "Contact is lost, and Moscow is confirmed destroyed." How much destroyed is counted as destroyed? Nobody knows, probably because officers themselves don't know, and don't delve into such scenario.
The advantages of large, long-running pull requests – by DHH
It's interesting to see a high profile like DHH defending pull requests, let alone long-running pull requests. It seems that these days everybody likes to hate pull requests for all the (huge) downsides, but rarely we see devs praising the (even huger) benefits of pull requests. I think the problem is that these huge benefits only shine when pull requests are used properly.
For how good it is, the game does a terrible job teaching you how to play it properly. To win consistently you need to know the enemy patterns, what your next big challenges can counter, what the ? rooms are likely to be and when rare cards are likely to drop. Contrary to what beginners tend to do, it is more important to focus on overcoming your immediate upcoming challenges than focus on your synergies too early (for example you need damages fast at the beginning). Then the game looks easy at ascension level 1.

Part of that is obscure knowledge can be acquired losing repeated, part is more obscure and you will only gain reading the wiki or watching streamers.

I think that’s inherent to the nature of deck building game and fans of the genre like it this way. I feel ambivalent about it personally but I also have played two hundred enjoyable hours of Slay the Spire over the years.
Well...they are, for companies that have decided to be primarily office oriented, and have invested a lot in making that work. And similarly, office worker are a burden for remote oriented organisations because they incur costs that were not considered to be necessary.

My point is that "let's invest in great offices for those who want, but let people do what they want regardless" is not really an option, because you are paying the organisational and financial price, and not really getting the benefits of either.

I believe most organisation working in "hybrid" model will impose fixed days at the office - so they can get the full benefits of the "in-office" time. And let other days at home, so that people working better remotely can enjoy that as well. Teams will organise around that, eg by schedule most meetings on "in-office" days.
Baumol's cost disease does not apply if there is oversupply of labor.

See again low-skilled workers. Where are the 'rises in pay' for those working at fast-food, supermarket chains, warehouses, etc.?

Also, labor over-supply will only increase since not only immigration, but also automation will compete with workers.

Automation and immigration can be good things, but only if we provide everyone with a basic income to put them in a position where they actually have a choice to work or not.
Can’t China then also ask Russia to stop the war?
Russia isn't the Soviet Union
Well, that functionality is not included by default, but you can certainly add it yourself. Add a function to your host system (be it a browser, a CLI interpreter, etc) which accepts a wasm module you dynamically create, instantates it, and gives you acces to some function it exports. I don't think any WASM implementations provide such a function by default, but that can be changed easily and is not an insurmountable limitation of WASM.
India & China both have a formal "No First Use" position that has been repeatedly reaffirmed https://en.wikipedia.org/wiki/No_first_use

A grab of a portion of east Indian states via conventional warfare, followed by cease-fire and negotiations is very much in the ambit of China's strategy. Modi is attempting to prevent this by scaling up military infrastructure on the eastern front, but its still way-way behind what China already has in place. (by orders of magnitude)

https://www.newindianexpress.com/thesundaystandard/2021/oct/...
https://www.hindustantimes.com/india-news/new-weapons-deploy...
Types guarantee properties over the full set of possible inputs before you run any code. If you can enforce a property with a type, it is IME far less work than trying to enforce that property with a test.

"Less strict" inevitably means not caring about a bunch of edge cases. It's a bit like "overflow is undefined behavior in C"; nobody wants to care about how "i++" is a statement that's (a) absolutely everywhere and (b) potentially invokes undefined behavior at runtime, so the only way to guarantee that out involves a lot more proof work somewhere.
Yea, I’m general the design is a bit over the place. Large text on mobile, annoying chat bot, etc
No idea how it works now, tbh - but the problem I was trying to solve, in 2019, was "there isn't always a live human at hand, available to solve two-factor challenges." I distinctly recall that we had to go for xoauth, for lack of other hands-off options.
one just don’t write about meditation and riddle the article with ads
> I think that an environment where someone can tap me on the shoulder when they need help leads to overall higher productivity, even if individual productivity suffers temporarily

That's bonkers. When people message you on slack you can prioritize and respond without breaking pace and train of productive thought. In person, if someome is talking to you and I also prefer to chat up, I will delay the conversation indefinetly or book a time wasting meeting that clutters your schedule. If you need someone else to comment and they're on a meeting you might schedule another meeting instead of asking them questions they can answer while listening in on the current meeting.

I could put in a good effort to be lazy and unproductive at home and I would still be more productive overall than in the office. I disliked wfh after covid for a while because I was so busy all the time. No more chatting with extroverts and walking to/from meeting rooms half of the work day (at best!) and I use to leave my pc off or at the office before, now I constantly work before and after shifts, on weekends,etc...

It makes me feel like my job is at risk because I don't have enough time to show desired output/kpi at the office. At least now I overwork and have better assurances of stability. They pay me well enough to where I don't worry about taken advantage of.
> having to enter your foreign name only in kanji and wondering whether it’ll accept katakana, full width letters, or hiragana instead

Never have any problem whatsoever filling full-width romaji (as written on my Zairyu card) in Kanji section and katakana/hiragana in the reading section (depend on what is requested).
I'm not sure about RTL but AFAIK UE4's Slate does have unicode support and also seems to have accessibility support. If the tools built on Slate use that though, i don't know, but that is the same as any toolkit.
This is somewhat true. Definitely at the start of your career you are more gregarious.

I don't think it's a good thing though. Middle aged men especially, I think, generally could do with a wider circle of acquaintances.

I try to keep in touch with a lot of my ex coworkers every 6 months.

Some of them are actually very keen to catch up, years after the job.

I'm friends with people who I was not very friendly with on the job 18 months after I've left the place, after sending them a text message saying "how's it going."
Native Reference Guide
If you haven't seen the AGDQ 2022 run mentioned in the article, it's extremely entertaining, short, and very worth watching just to see how broken the game is.
>I was speaking hypothetically.

There are well established grammatical constructions that indicate hypothetical speaking and you didn't use any of them.
Piercing the Cloud Armor – The 8KB Bypass in Google Cloud Platform WAF
Right.

Going to the office meant a baseline of 7,000 steps a day, plus quite a few flights of stairs. Plus it was easy to go to salsa and gym after work (because I was already out of the house, so it was easier to to talk myself into going).

I struggle to do any of those things when i'm remote. I know perfectly well that I physically can, but that psychological inertia is extremely powerful.
TurboTax has the FEIE worksheet and forms.

If you make enough money that renouncing citizenship looks like a good option the cost of tax preparation and opening a foreign bank account are going to be trivial details someone else will handle for you.

It’s a hassle for Americans to open bank accounts in some countries because of IRS reporting, but if you have a few million dollars to deposit you won’t have any problems.
xapling GmbH (www.xapling.de) | diverse Positionen | Deutschland| Full-time | 100 % Remote

Kontakt: karriere@xapling.de
Web: https://xapling.de/karriere/offene-stellen/

- Agiler Softwaretester als Consultant (M/W/D)

- Cloud DevOps Engineer (M/W/D)

- Frontend Developer (React/Vue/Angular) (M/W/D)

- IT Consultant Versicherungen – BIPRO (M/W/D)

- IT Consultant Versicherungen (M/W/D)

- Senior Java Softwareentwickler als Consultant (M/W/D)

- Senior Softwarearchitekt als Consultant (M/W/D)

- Testautomatisierungsexperte Java/JavaScript als Consultant (M/W/D)

Die xapling GmbH ist ein Startup mit einer großen Vision: Wir wollen durch die Erstellung von Lösungen für konforme Software- und Hardwareentwicklung dafür sorgen, dass Produkte und Dienstleistungen im Sinne der Bedürfnisse der Menschen, ihrer Ernährung und der Erhaltung der Erde und der Natur verwirklicht werden können.

Die Basis, um diesen Traum verantwortungsvoll und zuverlässig erfüllen zu können, bildet ein kollegiales Team mit Hilfsbereitschaft untereinander und mit Gerechtigkeit und Fairness gegenüber Kollegen, Kunden und Lieferanten.
Hence my question, is there a datagrid for any JS framework that does all the hard stuff for me?
Personally, I already find Bootstrap 2 website very dated so there's that.
> It is untenable for Russia to keep any portion of Ukraine

Donbass and Donetsk are not Ukraine since 8 years, in fact Ukraine bombed and harassed them for years, killing civilians and destroying residential areas, without managing to pull them back. Ukraine is permanently split in 2, like it or not. The west can hide their head under the sand for 8 more years, the situation won't change.

> The sanctions on Russia should persist as long as Russia occupies Ukraine. This is what they've previously agreed to.

That's probably what Russia hopes, as the sanctions are going to cause devastating economical damage in Europe. Russia can just turn to China and other Eurasia countries to sell gas and oil, we don't have alternatives. Without Russia's gas, both Germany and Italy will suffer heavy consequences, dragging Europe with them.

We haven't even seen the sanctions Russia will apply on us. We're not going to like it, trust me. And I have NO intention f sacrificing myself because Biden or the european burocrats (who never gave a single fuck about me) ask for it.

I seriously hope this situation will cause a break up between Europe and the USA. It's time for an Eurasia era.
Amongst ignorant people or those who intentionally want to downplay what slavery really was.
LinkedIn has such filter.

It's called flex office by most companies.
If by best card you mean the card which solves your problem right now, you definitely always need to take the best card rather than try to build an archetype. Knowing what is the best card is extremely unobvious for beginner however. Then, sometimes what’s best leads to boring play and you have to chose if you would rather win or actually enjoy your time.
Thanks for your comment.
As I mentioned to others, I followed what other companies are doing and what actual customers (not just Enterprises) asked me to do.

If I just put a "contact us for pricing" button onto the website, would that make you check the rest out and potentially sign up for a trial?

Also, ARGOS is still early and the pricing, to be completely transparent, is still very custom depending on the value a company communicates to me.
It's not meant as a trick, otherwise I wouldn't give out a free trial for 14 days to everybody without even asking for a credit card. It's genuinely a "I don't really know yet how much to charge as a baseline".
Maybe not, if you're young enough to think eight years is a long time.
You file quarterly tax returns and pay the IRS. If you have a full-time job in the US your employer normally deducts and pays those taxes as part of payroll processing.
not to disagree, but imo the main point here is that almost everybody has a smartphone but only a minority has a desktop computer, so it makes sense to care mostly about the phone thingy.
Sure, i do not disagree that wrapping C++ is harder than C, but my point was that the language is widespread and popular enough to actually have tools that assist such wrappings, unlike other languages, so even if all else were equal you are more likely to see a C or C++ library be wrapped than -say- a Free Pascal library (which can create DLL/so/etc that are 100% compatible with C and thus wrappable).
> with practice, I can choose whether to inhabit them, or simply note them with quiet amusement and let them pass by. I can also pick something to concentrate on, and stay mostly focused on that, while those extra little thoughts just flutter in the background.

The next level is when you realize that these choices of how to respond, too, arise and resolve themselves spontaneously.
Yeah it worked well if you were ok with writing code in Java. Guess what? Lots of people don't want to write Java.

WASI lets you use lots of languages included non-GC languages (GC'd languages are a bit of a WIP but it's going to happen).
We Might Be Masking on Planes for a Good Long While
If I get anything bad they refund it no questions asked, but it's exceedingly rare. In ~4-5 years of weekly deliveries the worst damage I've had have been a couple of incidents of things like yoghurt pots etc. with thin film tops that have accidentally gotten pierced. I think if I ordered lots of produce I might consider doing that via one of the specialist delivery options, but it's never been a problem for me.

The biggest "risk" for my use has been that Ocado's predictive pre-filling of my weekly order is just good enough that I've gotten complacent about checking the orders, but it's not quite perfect, so if I miss the deadline, I might occasionally get stuff I didn't need (this is optional functionality - you can just place orders when you need them too and you can tweak what is included to have more control).

Ocado, the company in question is licensing various parts of their tech stack. E.g. in the US they've licensed to Kroger (which also took a 5% stake):
https://www.businessinsider.com/ocado-kroger-amazon-online-g...

Between that, and the option of (more expensive) rapid deliveries from takeaway delivery companies like Deliveroo, or from the multiple different 15-minute grocery delivery companies, grocery stores just seems like a nuisance to me at this point. Of course my judgement is influenced by the fact that I don't have a car so not needing to drag shopping on foot or bus makes the leap in convenience far more significant than for a lot of people.
10k a month won’t be much in 50 years. You forgot to account for inflation.
This is interesting and a positive move. It is by no means a new development though. Academia and established publishers are traditional and conservative actors, paradoxical as it sounds.
I had to "save a bit" on the web designer, sorry. Focus was more on the product.
The chat bot should have already been removed. I will do that asap.
Tinfoil does not block magnetism.
Informative but entertaining video on high power DC transmission from Electroboom. To my recollection it’s generally always better transmission wise except the DC-AC and AC-DC converters are both expensive and physically large.

https://youtu.be/DFQG9kuXSxg
For residential apartments: ensure good heat insulation, you can use portable electric heaters with AC pluggable input or run them on free energy sources.
A diy heating type is to burn candles covered by clay pots, which serve as heat conductors. There are reports on youtube that one small candle with 2 clay pots can heat up to 20< m2 apartment for 4< hours or so (the temp in ~1m radius around the pots is ~70 Celsius after ~30 minutes). The drawback is that it consumes oxygen, but for this more oxygen producing plants can be placed indoors.
Just use your logic. Don't trust the media political circus that is being put up by both sides.
Ask HN: You have 1 week to get as good as possible at Node.js. What do you do?
Also you know JS already.
Some do, but doing something stupid and patting yourself on the back is worse than doing nothing at all. At least someone who intentionally doesn’t do anything knows they aren’t doing something and might vote for real change.
Several of my personal friends are wondering if Putin has a cancer diagnosis or such that the world does not know about, and now he's scrambling to secure his legacy.

I'm trying to imagine if he would be the person to go "the world has never appreciated me, so if I go out, may as well take the world with me". But in now writing that out, I realize that's literally the villain's motivation in the movie Tenet, so probably a bit too one-dimensional of a motivation (although that character is coincidentally a Russian oligarch).
> due to the introduction of new technology

I disagree that this is merely a technological issue. What passes for journalism in this country took a nosedive in 90s, after a handful of corporate conglomerates took over all broadcast news. I am not sure how old you are, but I remember news in 80s. CNN owned by Ted Turner, and the current manifestation are night and day.

p.s. And it wasn't just CNN. ABC's Nightline, for example, was also solid and that only happened because of Turner's CNN. And of course, MacNeil/Lehrer Newshour was outstanding.
> The average US house is 1660 square feet, to my knowledge most middle class families in Europe live in houses under 900 square feet and they still have room for baby rooms and WFH offices.

From my immediate friends and acquaintances: Yes, it works, but badly. 70-80m2 is a typical 3 room apartment in a city and that means you either have a room for the kid or an office. If one partner is working from home, the living room might help, but for both working from home it already really sucks.
I was struck by this scary thought when I saw the news. We won't know the truth until the investigation is over, but I can think of several possible explanations.

- Indeed bad weather: That may explain the coincidence of two aircraft accidents. However,weather map from yesterday doesn't show significant winds in the area. Also the area is a major route for civilian airplanes, even more so as they are now going around Ukraine. No accidents with civilian aircraft have been reported. Maybe it was fog, but it shall not affect a fighter jet so much after the 10-th min of flight, unless it is flying at a very low altitude.

- Malfunction: if it was the fighter jet only, I would easily buy that. For two different aircraft not so much, unless first accident was weather and second malfunction

- Struck by Russian air defense (e.g. from Black Sea): I really hope it is not the case, because if it is, it would be intentional (two aircraft in a row) and may escalate the conflict a lot. I don't think anyone in the nearby countries who is in their right mind would want that.

- Struck by Ukrainian air defence: I don't dare think that this is the case, because it will be a false flag in an attempt to escalate the conflict and involve other countries. It is also not something anyone in the nearby countries would want.

Let's hope it was a bad coincidence of weather and malfunction.
AC cables are just more expensive per km, I think due to skin effects.
If you make more than $100k a year a few hundred dollars a year for professional tax prep shouldn’t be a big deal. And the cost of tax preparation and advice is deductible.

US citizenship has benefits beyond the passport. What that is worth depends on the individual. People from all over the world wait years for US visas and work permits, so there’s some value and demand implied.

I have children and family in the US, so I don’t put a price tag on my passport. Any place desirable enough for me to get citizenship there and renounce my US citizenship is going to tax me too.